Pull request #270 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168+965f04e6862849b37eeb3a58b1f16c31f2ab2615 (ae44ceafc92f26bc3a060229b0139f7f2a13b277) 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-ssh2075510195258674022.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6656035202821333097.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4342071448457366658.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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4857640550810555696.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh3458012669501815965.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15919665221477978984.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4819’ Running on prd-ubuntu20.04-docker-8c-8g-4821 in /w/workspace/gexfoundry_device-snmp-go_PR-270 [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-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 Merge succeeded, producing 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 Checking out Revision 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T10:48:50.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T10:48:50.566Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T10:48:50.669Z] ========================================================= [2023-03-21T10:48:50.669Z] EdgeX Global Pipelines Version Info [2023-03-21T10:48:50.669Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:48:51.421Z] ------------------- [2023-03-21T10:48:51.421Z] stable info: [2023-03-21T10:48:51.421Z] ------------------- [2023-03-21T10:48:51.421Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T10:48:51.421Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T10:48:51.421Z] Message: update stable to v1.0.245 [2023-03-21T10:48:51.991Z] ------------------- [2023-03-21T10:48:51.991Z] experimental info: [2023-03-21T10:48:51.991Z] ------------------- [2023-03-21T10:48:51.991Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T10:48:51.991Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T10:48:51.991Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T10:48:52.249Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-21T10:48:52.285Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-21T10:48:52.321Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T10:48:52.362Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T10:48:52.405Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T10:48:52.441Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T10:48:52.483Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T10:48:52.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T10:48:52.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T10:48:52.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T10:48:52.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T10:48:52.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-21T10:48:52.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T10:48:52.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T10:48:52.807Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T10:48:52.842Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T10:48:52.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T10:48:52.929Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T10:48:52.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T10:48:53.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T10:48:53.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T10:48:53.083Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T10:48:53.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T10:48:53.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T10:48:53.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T10:48:53.304Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T10:48:53.344Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T10:48:53.383Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo [2023-03-21T10:48:53.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo [2023-03-21T10:48:53.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo [2023-03-21T10:48:53.498Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo [2023-03-21T10:48:53.538Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bd5f8a [Pipeline] echo [2023-03-21T10:48:53.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T10:48:53.682Z] provisioning config files... [2023-03-21T10:48:53.695Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config4688185496947070761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:48:54.032Z] ---> docker-login.sh [2023-03-21T10:48:54.032Z] nexus3.edgexfoundry.org:10001 [2023-03-21T10:48:54.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:48:54.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:48:54.292Z] Configure a credential helper to remove this warning. See [2023-03-21T10:48:54.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:48:54.292Z] [2023-03-21T10:48:54.292Z] Login Succeeded [2023-03-21T10:48:54.292Z] nexus3.edgexfoundry.org:10002 [2023-03-21T10:48:54.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:48:54.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:48:54.551Z] Configure a credential helper to remove this warning. See [2023-03-21T10:48:54.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:48:54.551Z] [2023-03-21T10:48:54.551Z] Login Succeeded [2023-03-21T10:48:54.551Z] nexus3.edgexfoundry.org:10003 [2023-03-21T10:48:54.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:48:54.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:48:54.551Z] Configure a credential helper to remove this warning. See [2023-03-21T10:48:54.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:48:54.551Z] [2023-03-21T10:48:54.551Z] Login Succeeded [2023-03-21T10:48:54.551Z] nexus3.edgexfoundry.org:10004 [2023-03-21T10:48:54.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:48:54.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:48:54.813Z] Configure a credential helper to remove this warning. See [2023-03-21T10:48:54.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:48:54.813Z] [2023-03-21T10:48:54.813Z] Login Succeeded [2023-03-21T10:48:54.813Z] docker.io [2023-03-21T10:48:54.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:48:55.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:48:55.072Z] Configure a credential helper to remove this warning. See [2023-03-21T10:48:55.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:48:55.072Z] [2023-03-21T10:48:55.073Z] Login Succeeded [2023-03-21T10:48:55.073Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T10:48:55.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T10:48:55.714Z] + git rev-list -1 --merges 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168~1..5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo [2023-03-21T10:48:55.777Z] -----------> git rev-list -1 --merges 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168~1..5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [false] [Pipeline] sh [2023-03-21T10:48:56.085Z] + git log --format=format:%s -1 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo [2023-03-21T10:48:56.120Z] ========================================================= [2023-03-21T10:48:56.120Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T10:48:56.120Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T10:48:56.562Z] + git log --format=format:%s -1 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo [2023-03-21T10:48:56.598Z] [semverPrep] GIT_COMMIT: 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo [2023-03-21T10:48:56.628Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T10:48:56.997Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T10:48:56.997Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T10:48:56.997Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T10:48:56.997Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T10:48:56.997Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T10:48:56.997Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T10:48:56.997Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:48:57.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T10:48:57.426Z] [2023-03-21T10:48:57.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:48:57.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T10:48:57.818Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T10:48:57.818Z] b85a868b505f: Pulling fs layer [2023-03-21T10:48:57.818Z] e2be974225ed: Pulling fs layer [2023-03-21T10:48:57.818Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T10:48:57.818Z] 988bab9f4d93: Pulling fs layer [2023-03-21T10:48:57.818Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T10:48:57.818Z] eaf3925da568: Pulling fs layer [2023-03-21T10:48:57.818Z] bab4dde63d76: Pulling fs layer [2023-03-21T10:48:57.818Z] bde34c3a00c8: Pulling fs layer [2023-03-21T10:48:57.818Z] b352a97aabf1: Pulling fs layer [2023-03-21T10:48:57.818Z] 4872d77fe225: Pulling fs layer [2023-03-21T10:48:57.818Z] eaf3925da568: Waiting [2023-03-21T10:48:57.818Z] bde34c3a00c8: Waiting [2023-03-21T10:48:57.818Z] bab4dde63d76: Waiting [2023-03-21T10:48:57.818Z] 988bab9f4d93: Waiting [2023-03-21T10:48:57.818Z] 1469e6f7b9e6: Waiting [2023-03-21T10:48:57.818Z] b352a97aabf1: Waiting [2023-03-21T10:48:57.818Z] 5851b861e8e6: Pulling fs layer [2023-03-21T10:48:57.818Z] 4872d77fe225: Waiting [2023-03-21T10:48:57.818Z] 5851b861e8e6: Waiting [2023-03-21T10:48:57.818Z] e2be974225ed: Download complete [2023-03-21T10:48:57.818Z] 988bab9f4d93: Verifying Checksum [2023-03-21T10:48:57.818Z] 988bab9f4d93: Download complete [2023-03-21T10:48:58.080Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T10:48:58.080Z] 1469e6f7b9e6: Download complete [2023-03-21T10:48:58.080Z] eaf3925da568: Verifying Checksum [2023-03-21T10:48:58.080Z] eaf3925da568: Download complete [2023-03-21T10:48:58.080Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T10:48:58.080Z] 339a4e72a1f5: Download complete [2023-03-21T10:48:58.080Z] bde34c3a00c8: Verifying Checksum [2023-03-21T10:48:58.080Z] bde34c3a00c8: Download complete [2023-03-21T10:48:58.080Z] b352a97aabf1: Download complete [2023-03-21T10:48:58.080Z] 4872d77fe225: Verifying Checksum [2023-03-21T10:48:58.080Z] 4872d77fe225: Download complete [2023-03-21T10:48:58.080Z] 5851b861e8e6: Verifying Checksum [2023-03-21T10:48:58.080Z] 5851b861e8e6: Download complete [2023-03-21T10:48:58.346Z] b85a868b505f: Verifying Checksum [2023-03-21T10:48:58.346Z] b85a868b505f: Download complete [2023-03-21T10:48:58.605Z] bab4dde63d76: Verifying Checksum [2023-03-21T10:48:58.605Z] bab4dde63d76: Download complete [2023-03-21T10:48:59.541Z] b85a868b505f: Pull complete [2023-03-21T10:48:59.541Z] e2be974225ed: Pull complete [2023-03-21T10:49:00.109Z] 339a4e72a1f5: Pull complete [2023-03-21T10:49:00.109Z] 988bab9f4d93: Pull complete [2023-03-21T10:49:00.676Z] 1469e6f7b9e6: Pull complete [2023-03-21T10:49:00.676Z] eaf3925da568: Pull complete [2023-03-21T10:49:02.579Z] bab4dde63d76: Pull complete [2023-03-21T10:49:02.579Z] bde34c3a00c8: Pull complete [2023-03-21T10:49:02.579Z] b352a97aabf1: Pull complete [2023-03-21T10:49:02.579Z] 4872d77fe225: Pull complete [2023-03-21T10:49:02.579Z] 5851b861e8e6: Pull complete [2023-03-21T10:49:02.579Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T10:49:02.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T10:49:02.840Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:49:03.068Z] prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container [2023-03-21T10:49:03.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T10:49:06.021Z] $ docker top c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 -eo pid,comm [2023-03-21T10:49:06.082Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-21T10:49:06.082Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T10:49:06.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T10:49:06.210Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T10:49:06.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T10:49:06.340Z] $ docker exec c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent [2023-03-21T10:49:06.456Z] SSH_AUTH_SOCK=/tmp/ssh-zsX836V9WDUr/agent.32 [2023-03-21T10:49:06.456Z] SSH_AGENT_PID=38 [2023-03-21T10:49:06.463Z] Running ssh-add (command line suppressed) [2023-03-21T10:49:06.571Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_11058217169058850745.key (/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_11058217169058850745.key) [2023-03-21T10:49:06.581Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T10:49:06.908Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T10:49:06.934Z] $ docker exec --env ******** --env ******** c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent -k [2023-03-21T10:49:07.032Z] unset SSH_AUTH_SOCK; [2023-03-21T10:49:07.032Z] unset SSH_AGENT_PID; [2023-03-21T10:49:07.032Z] echo Agent pid 38 killed; [2023-03-21T10:49:07.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T10:49:07.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T10:49:07.130Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T10:49:07.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T10:49:07.255Z] $ docker exec c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent [2023-03-21T10:49:07.352Z] SSH_AUTH_SOCK=/tmp/ssh-Zbrygj2G3rPa/agent.70 [2023-03-21T10:49:07.352Z] SSH_AGENT_PID=76 [2023-03-21T10:49:07.356Z] Running ssh-add (command line suppressed) [2023-03-21T10:49:07.464Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_18424812293207709191.key (/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_18424812293207709191.key) [2023-03-21T10:49:07.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T10:49:07.802Z] + git semver init [2023-03-21T10:49:08.062Z] 2023-03-21 10:49:07,978 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T10:49:08.062Z] 2023-03-21 10:49:07,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver [2023-03-21T10:49:08.062Z] 2023-03-21 10:49:07,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-270/.semver [2023-03-21T10:49:08.062Z] 2023-03-21 10:49:07,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-270, universal_newlines=False, shell=None, istream=None) [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,814 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-270/.git/info/exclude [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver/PR-270 with force:False [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,814 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver/PR-270 [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,817 [execute] INFO git cat-file --batch-check [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,824 [execute] INFO git cat-file --batch [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T10:49:09.004Z] 2023-03-21 10:49:08,829 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-270/.semver/PR-270 [2023-03-21T10:49:09.004Z] 0.0.0 [Pipeline] } [2023-03-21T10:49:09.035Z] $ docker exec --env ******** --env ******** c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent -k [2023-03-21T10:49:09.133Z] unset SSH_AUTH_SOCK; [2023-03-21T10:49:09.133Z] unset SSH_AGENT_PID; [2023-03-21T10:49:09.134Z] echo Agent pid 76 killed; [2023-03-21T10:49:09.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T10:49:09.554Z] + git semver [Pipeline] } [2023-03-21T10:49:09.839Z] $ docker stop --time=1 c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 [2023-03-21T10:49:11.158Z] $ docker rm -f --volumes c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T10:49:11.557Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T10:49:11.843Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T10:49:11.860Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T10:49:12.434Z] provisioning config files... [2023-03-21T10:49:12.445Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config4800254082353093096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:49:12.797Z] ---> docker-login.sh [2023-03-21T10:49:12.798Z] nexus3.edgexfoundry.org:10001 [2023-03-21T10:49:12.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:49:12.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:49:12.798Z] Configure a credential helper to remove this warning. See [2023-03-21T10:49:12.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:49:12.798Z] [2023-03-21T10:49:12.798Z] Login Succeeded [2023-03-21T10:49:12.798Z] nexus3.edgexfoundry.org:10002 [2023-03-21T10:49:12.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:49:13.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:49:13.057Z] Configure a credential helper to remove this warning. See [2023-03-21T10:49:13.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:49:13.057Z] [2023-03-21T10:49:13.057Z] Login Succeeded [2023-03-21T10:49:13.057Z] nexus3.edgexfoundry.org:10003 [2023-03-21T10:49:13.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:49:13.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:49:13.057Z] Configure a credential helper to remove this warning. See [2023-03-21T10:49:13.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:49:13.057Z] [2023-03-21T10:49:13.057Z] Login Succeeded [2023-03-21T10:49:13.057Z] nexus3.edgexfoundry.org:10004 [2023-03-21T10:49:13.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:49:13.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:49:13.317Z] Configure a credential helper to remove this warning. See [2023-03-21T10:49:13.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:49:13.317Z] [2023-03-21T10:49:13.317Z] Login Succeeded [2023-03-21T10:49:13.317Z] docker.io [2023-03-21T10:49:13.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:49:13.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:49:13.577Z] Configure a credential helper to remove this warning. See [2023-03-21T10:49:13.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:49:13.577Z] [2023-03-21T10:49:13.577Z] Login Succeeded [2023-03-21T10:49:13.577Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T10:49:13.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T10:49:13.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:49:13.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:49:13.860Z] ========================================================= [2023-03-21T10:49:13.860Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T10:49:13.860Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:49:14.339Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T10:49:14.339Z] Sending build context to Docker daemon 5.745MB [2023-03-21T10:49:14.339Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:49:14.339Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T10:49:14.339Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T10:49:14.339Z] 63b65145d645: Pulling fs layer [2023-03-21T10:49:14.339Z] a2d21d5440eb: Pulling fs layer [2023-03-21T10:49:14.339Z] 935e6c44a52c: Pulling fs layer [2023-03-21T10:49:14.339Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T10:49:14.339Z] 30dea6a524f1: Pulling fs layer [2023-03-21T10:49:14.339Z] a2aff8979fd8: Pulling fs layer [2023-03-21T10:49:14.339Z] 6808be2612f2: Pulling fs layer [2023-03-21T10:49:14.339Z] f25807f1079a: Pulling fs layer [2023-03-21T10:49:14.339Z] 94cc34f8dd06: Waiting [2023-03-21T10:49:14.339Z] 30dea6a524f1: Waiting [2023-03-21T10:49:14.339Z] a2aff8979fd8: Waiting [2023-03-21T10:49:14.339Z] 6808be2612f2: Waiting [2023-03-21T10:49:14.339Z] f25807f1079a: Waiting [2023-03-21T10:49:14.339Z] a2d21d5440eb: Download complete [2023-03-21T10:49:14.603Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T10:49:14.603Z] 63b65145d645: Download complete [2023-03-21T10:49:14.603Z] a2aff8979fd8: Verifying Checksum [2023-03-21T10:49:14.603Z] a2aff8979fd8: Download complete [2023-03-21T10:49:14.603Z] 63b65145d645: Pull complete [2023-03-21T10:49:14.872Z] a2d21d5440eb: Pull complete [2023-03-21T10:49:15.132Z] f25807f1079a: Download complete [2023-03-21T10:49:15.132Z] 935e6c44a52c: Verifying Checksum [2023-03-21T10:49:15.132Z] 935e6c44a52c: Download complete [2023-03-21T10:49:15.392Z] 6808be2612f2: Verifying Checksum [2023-03-21T10:49:15.392Z] 6808be2612f2: Download complete [2023-03-21T10:49:18.677Z] 935e6c44a52c: Pull complete [2023-03-21T10:49:18.938Z] 94cc34f8dd06: Pull complete [2023-03-21T10:49:18.938Z] 30dea6a524f1: Pull complete [2023-03-21T10:49:18.938Z] a2aff8979fd8: Pull complete [2023-03-21T10:49:21.466Z] 6808be2612f2: Pull complete [2023-03-21T10:49:22.404Z] f25807f1079a: Pull complete [2023-03-21T10:49:22.404Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T10:49:22.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T10:49:22.404Z] ---> 3b553350e43f [2023-03-21T10:49:22.404Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:49:26.607Z] ---> Running in f02dec23d4cb [2023-03-21T10:49:26.607Z] Removing intermediate container f02dec23d4cb [2023-03-21T10:49:26.607Z] ---> 30fee54b9b0d [2023-03-21T10:49:26.607Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:49:26.607Z] ---> Running in 1af63774fdee [2023-03-21T10:49:26.607Z] Removing intermediate container 1af63774fdee [2023-03-21T10:49:26.607Z] ---> dac6ed3c324f [2023-03-21T10:49:26.607Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T10:49:26.607Z] ---> Running in e971596608ba [2023-03-21T10:49:26.607Z] Removing intermediate container e971596608ba [2023-03-21T10:49:26.607Z] ---> 1b020b037903 [2023-03-21T10:49:26.607Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T10:49:26.607Z] ---> Running in 6e489ae89845 [2023-03-21T10:49:26.607Z] Removing intermediate container 6e489ae89845 [2023-03-21T10:49:26.607Z] ---> 0d6fbc96e95a [2023-03-21T10:49:26.607Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T10:49:26.866Z] ---> Running in 3d2365ff85c9 [2023-03-21T10:49:27.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T10:49:27.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T10:49:27.258Z] Still waiting to schedule task [2023-03-21T10:49:27.258Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4820’ [2023-03-21T10:49:27.384Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T10:49:27.384Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T10:49:27.384Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T10:49:27.384Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T10:49:27.384Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T10:49:27.384Z] OK: 269 MiB in 57 packages [2023-03-21T10:49:27.951Z] Removing intermediate container 3d2365ff85c9 [2023-03-21T10:49:27.951Z] ---> df18add20678 [2023-03-21T10:49:27.951Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-21T10:49:27.951Z] ---> Running in 505f1972fff0 [2023-03-21T10:49:27.951Z] Removing intermediate container 505f1972fff0 [2023-03-21T10:49:27.951Z] ---> 65f2adbc3cf9 [2023-03-21T10:49:27.951Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T10:49:27.951Z] ---> 290b3696396c [2023-03-21T10:49:27.951Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:49:27.951Z] ---> Running in 7f59a807a989 [2023-03-21T10:50:14.747Z] Removing intermediate container 7f59a807a989 [2023-03-21T10:50:14.747Z] ---> da16d3965f0a [2023-03-21T10:50:14.747Z] Step 11/12 : COPY . . [2023-03-21T10:50:14.747Z] ---> bd727443ef95 [2023-03-21T10:50:14.747Z] Step 12/12 : RUN ${MAKE} [2023-03-21T10:50:14.747Z] ---> Running in 4e3f8a99ccb5 [2023-03-21T10:50:14.747Z] noop [2023-03-21T10:50:14.747Z] Removing intermediate container 4e3f8a99ccb5 [2023-03-21T10:50:14.747Z] ---> 34ee6e3402b1 [2023-03-21T10:50:14.747Z] Successfully built 34ee6e3402b1 [2023-03-21T10:50:14.747Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:50:15.182Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T10:50:15.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:50:15.330Z] prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container [2023-03-21T10:50:15.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T10:50:15.725Z] $ docker top b66c3dac340da4a043420a532ad54984f5941fb19a623311174b7dbc2b33c738 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:50:16.104Z] + go version [2023-03-21T10:50:16.104Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T10:50:16.145Z] $ docker stop --time=1 b66c3dac340da4a043420a532ad54984f5941fb19a623311174b7dbc2b33c738 [2023-03-21T10:50:17.456Z] $ docker rm -f --volumes b66c3dac340da4a043420a532ad54984f5941fb19a623311174b7dbc2b33c738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:50:18.179Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T10:50:18.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:50:18.336Z] prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container [2023-03-21T10:50:18.369Z] $ 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-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T10:50:18.727Z] $ docker top e327343f4e10b509417092cc31028ef59f5acc8e853a917ad3dbbf53ec8bd102 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:50:19.111Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-270 [Pipeline] fileExists [Pipeline] sh [2023-03-21T10:50:19.480Z] + make test [2023-03-21T10:50:19.480Z] go test ./... -coverprofile=coverage.out [2023-03-21T10:50:24.750Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-21T10:50:34.738Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-21T10:50:34.738Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2023-03-21T10:50:41.318Z] go vet ./... [2023-03-21T10:50:45.505Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T10:50:45.505Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T10:50:45.505Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T10:50:45.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T10:50:45.580Z] $ docker stop --time=1 e327343f4e10b509417092cc31028ef59f5acc8e853a917ad3dbbf53ec8bd102 [2023-03-21T10:50:48.900Z] $ docker rm -f --volumes e327343f4e10b509417092cc31028ef59f5acc8e853a917ad3dbbf53ec8bd102 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T10:50:49.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T10:50:49.490Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T10:50:50.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T10:50:50.385Z] + ls -al . [2023-03-21T10:50:50.385Z] total 172 [2023-03-21T10:50:50.385Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 10:50 . [2023-03-21T10:50:50.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:48 .. [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 10:48 .dockerignore [2023-03-21T10:50:50.385Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:49 .git [2023-03-21T10:50:50.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:48 .github [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 21 10:48 .gitignore [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:48 .golangci.yml [2023-03-21T10:50:50.385Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:49 .semver [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 21 10:48 Attribution.txt [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 21 10:48 CHANGELOG.md [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 21 10:48 Dockerfile [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:48 GOVERNANCE.md [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 10:48 Jenkinsfile [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:48 LICENSE [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 21 10:48 Makefile [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 10:48 OWNERS.md [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 21 10:48 README.md [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:49 VERSION [2023-03-21T10:50:50.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:48 bin [2023-03-21T10:50:50.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:48 cmd [2023-03-21T10:50:50.385Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 21 10:50 coverage.out [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 21 10:48 go.mod [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 21 10:48 go.sum [2023-03-21T10:50:50.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:48 internal [2023-03-21T10:50:50.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:48 snap [2023-03-21T10:50:50.385Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 10:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:50:50.779Z] + 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=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 --label arch=amd64 --label version=0.0.0 . [2023-03-21T10:50:50.779Z] Sending build context to Docker daemon 5.753MB [2023-03-21T10:50:50.779Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:50:50.779Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-21T10:50:50.779Z] ---> 34ee6e3402b1 [2023-03-21T10:50:50.779Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:50:50.779Z] ---> Running in 877485ca89d6 [2023-03-21T10:50:51.038Z] Removing intermediate container 877485ca89d6 [2023-03-21T10:50:51.038Z] ---> 7bec228c2fd6 [2023-03-21T10:50:51.038Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:50:51.038Z] ---> Running in f41516b67d79 [2023-03-21T10:50:51.038Z] Removing intermediate container f41516b67d79 [2023-03-21T10:50:51.038Z] ---> 5ee34099e355 [2023-03-21T10:50:51.038Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T10:50:51.038Z] ---> Running in be3f255b7a6c [2023-03-21T10:50:51.297Z] Removing intermediate container be3f255b7a6c [2023-03-21T10:50:51.297Z] ---> 96932d1162da [2023-03-21T10:50:51.297Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T10:50:51.297Z] ---> Running in 0e350b6491be [2023-03-21T10:50:51.297Z] Removing intermediate container 0e350b6491be [2023-03-21T10:50:51.297Z] ---> 467ab56e7743 [2023-03-21T10:50:51.297Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T10:50:51.297Z] ---> Running in f30969a52f96 [2023-03-21T10:50:51.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T10:50:51.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T10:50:51.817Z] OK: 269 MiB in 57 packages [2023-03-21T10:50:52.385Z] Removing intermediate container f30969a52f96 [2023-03-21T10:50:52.385Z] ---> b2c1ecc77bcb [2023-03-21T10:50:52.385Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-21T10:50:52.385Z] ---> Running in 90e81c062675 [2023-03-21T10:50:52.385Z] Removing intermediate container 90e81c062675 [2023-03-21T10:50:52.385Z] ---> 39b5ad86ac08 [2023-03-21T10:50:52.385Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-21T10:50:52.385Z] ---> 49ea5c1787f5 [2023-03-21T10:50:52.385Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:50:52.385Z] ---> Running in d5495187c346 [2023-03-21T10:50:53.326Z] Removing intermediate container d5495187c346 [2023-03-21T10:50:53.326Z] ---> e5ce64dbe0c4 [2023-03-21T10:50:53.326Z] Step 11/24 : COPY . . [2023-03-21T10:50:53.893Z] ---> 4869c5feac07 [2023-03-21T10:50:53.893Z] Step 12/24 : RUN ${MAKE} [2023-03-21T10:50:53.893Z] ---> Running in 97bdd7d7996d [2023-03-21T10:50:54.151Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-21T10:51:16.084Z] Removing intermediate container 97bdd7d7996d [2023-03-21T10:51:16.084Z] ---> 3ac19de063b2 [2023-03-21T10:51:16.084Z] Step 13/24 : FROM alpine:3.17 [2023-03-21T10:51:16.084Z] 3.17: Pulling from library/alpine [2023-03-21T10:51:16.084Z] 63b65145d645: Already exists [2023-03-21T10:51:16.084Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T10:51:16.084Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T10:51:16.084Z] ---> b2aa39c304c2 [2023-03-21T10:51:16.084Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-21T10:51:16.084Z] ---> Running in 0047e177c709 [2023-03-21T10:51:16.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T10:51:16.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T10:51:16.084Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T10:51:16.084Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T10:51:16.084Z] OK: 7 MiB in 16 packages [2023-03-21T10:51:16.084Z] Removing intermediate container 0047e177c709 [2023-03-21T10:51:16.084Z] ---> 14b7e7f147ba [2023-03-21T10:51:16.084Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-21T10:51:16.084Z] ---> a6016a6e35fa [2023-03-21T10:51:16.084Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-21T10:51:16.084Z] ---> efdd8f7ba30c [2023-03-21T10:51:16.084Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-21T10:51:16.084Z] ---> 7b870f4333cc [2023-03-21T10:51:16.084Z] Step 18/24 : EXPOSE 59993 [2023-03-21T10:51:16.084Z] ---> Running in 303ddf12bdca [2023-03-21T10:51:16.084Z] Removing intermediate container 303ddf12bdca [2023-03-21T10:51:16.084Z] ---> 31eeb184d0de [2023-03-21T10:51:16.084Z] Step 19/24 : EXPOSE 161 [2023-03-21T10:51:16.084Z] ---> Running in b8aad3a80ed7 [2023-03-21T10:51:16.084Z] Removing intermediate container b8aad3a80ed7 [2023-03-21T10:51:16.084Z] ---> 5b81fb2e60f9 [2023-03-21T10:51:16.084Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-21T10:51:16.084Z] ---> Running in e1cf25fcf95c [2023-03-21T10:51:16.343Z] Removing intermediate container e1cf25fcf95c [2023-03-21T10:51:16.343Z] ---> 56dfb2f70907 [2023-03-21T10:51:16.343Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T10:51:16.343Z] ---> Running in 2396508f5788 [2023-03-21T10:51:16.343Z] Removing intermediate container 2396508f5788 [2023-03-21T10:51:16.343Z] ---> 10b5156dd710 [2023-03-21T10:51:16.343Z] Step 22/24 : LABEL arch=amd64 [2023-03-21T10:51:16.343Z] ---> Running in 51b07a1c9823 [2023-03-21T10:51:16.343Z] Removing intermediate container 51b07a1c9823 [2023-03-21T10:51:16.343Z] ---> 7ba48acf1e48 [2023-03-21T10:51:16.343Z] Step 23/24 : LABEL git_sha=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [2023-03-21T10:51:16.343Z] ---> Running in 9e0259f14eda [2023-03-21T10:51:16.603Z] Removing intermediate container 9e0259f14eda [2023-03-21T10:51:16.603Z] ---> b24c92e17f30 [2023-03-21T10:51:16.603Z] Step 24/24 : LABEL version=0.0.0 [2023-03-21T10:51:16.603Z] ---> Running in c71bf1d04fbc [2023-03-21T10:51:16.603Z] Removing intermediate container c71bf1d04fbc [2023-03-21T10:51:16.603Z] ---> 1a2adae25f68 [2023-03-21T10:51:16.603Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T10:51:16.603Z] Successfully built 1a2adae25f68 [2023-03-21T10:51:16.603Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:51:17.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T10:51:17.515Z] [2023-03-21T10:51:17.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:51:17.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T10:51:17.898Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T10:51:17.898Z] 5eb5b503b376: Pulling fs layer [2023-03-21T10:51:17.898Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T10:51:17.898Z] ec43610c2a17: Pulling fs layer [2023-03-21T10:51:17.898Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T10:51:17.898Z] 33b1e0a273af: Pulling fs layer [2023-03-21T10:51:17.898Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T10:51:17.898Z] 2f39f015ded8: Pulling fs layer [2023-03-21T10:51:17.898Z] 5d3b04190fa2: Waiting [2023-03-21T10:51:17.898Z] 2f39f015ded8: Waiting [2023-03-21T10:51:17.898Z] 3a2ae6a8a46f: Waiting [2023-03-21T10:51:17.898Z] 33b1e0a273af: Waiting [2023-03-21T10:51:17.898Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T10:51:17.898Z] 5c69ac0246d0: Download complete [2023-03-21T10:51:17.898Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T10:51:17.898Z] 3a2ae6a8a46f: Download complete [2023-03-21T10:51:18.158Z] 33b1e0a273af: Verifying Checksum [2023-03-21T10:51:18.158Z] 33b1e0a273af: Download complete [2023-03-21T10:51:18.158Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T10:51:18.158Z] 5d3b04190fa2: Download complete [2023-03-21T10:51:18.158Z] ec43610c2a17: Verifying Checksum [2023-03-21T10:51:18.158Z] ec43610c2a17: Download complete [2023-03-21T10:51:18.158Z] 5eb5b503b376: Verifying Checksum [2023-03-21T10:51:18.158Z] 5eb5b503b376: Download complete [2023-03-21T10:51:18.728Z] 2f39f015ded8: Verifying Checksum [2023-03-21T10:51:18.728Z] 2f39f015ded8: Download complete [2023-03-21T10:51:19.676Z] 5eb5b503b376: Pull complete [2023-03-21T10:51:19.676Z] 5c69ac0246d0: Pull complete [2023-03-21T10:51:19.936Z] ec43610c2a17: Pull complete [2023-03-21T10:51:20.195Z] 3a2ae6a8a46f: Pull complete [2023-03-21T10:51:20.453Z] 33b1e0a273af: Pull complete [2023-03-21T10:51:20.453Z] 5d3b04190fa2: Pull complete [2023-03-21T10:51:24.635Z] 2f39f015ded8: Pull complete [2023-03-21T10:51:24.635Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T10:51:24.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T10:51:24.635Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:51:24.856Z] prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container [2023-03-21T10:51:24.899Z] $ 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-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T10:51:28.377Z] $ docker top 1771af900d3f945e06f00e510770030596741662c5c3570762019e2ff3475d43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:51:28.800Z] ---> job-cost.sh [2023-03-21T10:51:28.800Z] lf-activate-venv: SKIPPING [2023-03-21T10:51:28.800Z] INFO: No Stack... [2023-03-21T10:51:29.059Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T10:51:29.627Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T10:51:29.945Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-270/archives/cost.csv [2023-03-21T10:51:29.945Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T10:51:29.985Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [2023-03-21T10:51:29.990Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] did not exist. Created. [2023-03-21T10:51:29.991Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T10:51:30.378Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T10:51:30.457Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T10:51:30.495Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T10:51:30.581Z] $ docker stop --time=1 1771af900d3f945e06f00e510770030596741662c5c3570762019e2ff3475d43 [2023-03-21T10:51:31.738Z] $ docker rm -f --volumes 1771af900d3f945e06f00e510770030596741662c5c3570762019e2ff3475d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T10:52:53.064Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4822 in /w/workspace/gexfoundry_device-snmp-go_PR-270 [Pipeline] { [Pipeline] ws [2023-03-21T10:52:53.126Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T10:52:53.225Z] Selected Git installation does not exist. Using Default [2023-03-21T10:52:53.225Z] The recommended git tool is: NONE [2023-03-21T10:52:59.049Z] using credential edgex-jenkins-ssh [2023-03-21T10:52:59.075Z] Cloning the remote Git repository [2023-03-21T10:52:59.136Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-21T10:52:59.248Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-03-21T10:52:59.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-21T10:52:59.426Z] > git --version # timeout=10 [2023-03-21T10:52:59.458Z] > git --version # 'git version 2.25.1' [2023-03-21T10:52:59.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T10:52:59.626Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T10:53:01.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-21T10:53:01.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T10:53:02.706Z] Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [2023-03-21T10:53:03.010Z] Merge succeeded, producing 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [2023-03-21T10:53:03.010Z] Checking out Revision 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 (PR-270) [2023-03-21T10:53:02.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-21T10:53:02.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-21T10:53:02.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T10:53:02.123Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T10:53:02.727Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T10:53:02.815Z] > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # timeout=10 [2023-03-21T10:53:02.904Z] > git remote # timeout=10 [2023-03-21T10:53:02.927Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T10:53:02.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T10:53:02.967Z] > git merge 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 [2023-03-21T10:53:02.992Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T10:53:03.018Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T10:53:03.032Z] > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # timeout=10 [2023-03-21T10:53:06.541Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [2023-03-21T10:53:06.597Z] > git --version # timeout=10 [2023-03-21T10:53:06.608Z] > git --version # 'git version 2.25.1' [2023-03-21T10:53:06.621Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T10:53:07.788Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T10:53:07.788Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T10:53:07.788Z] Dload Upload Total Spent Left Speed [2023-03-21T10:53:07.788Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-03-21T10:53:08.549Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T10:53:08.903Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T10:53:08.903Z] + sudo tee /etc/docker/daemon.new [2023-03-21T10:53:08.903Z] { [2023-03-21T10:53:08.903Z] "registry-mirrors": [ [2023-03-21T10:53:08.903Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T10:53:08.903Z] ], [2023-03-21T10:53:08.903Z] "bip": "10.250.0.254/24", [2023-03-21T10:53:08.903Z] "hosts": [ [2023-03-21T10:53:08.903Z] "tcp://0.0.0.0:5555", [2023-03-21T10:53:08.903Z] "unix:///var/run/docker.sock" [2023-03-21T10:53:08.903Z] ], [2023-03-21T10:53:08.903Z] "mtu": 1458, [2023-03-21T10:53:08.903Z] "selinux-enabled": true, [2023-03-21T10:53:08.903Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T10:53:08.903Z] } [Pipeline] sh [2023-03-21T10:53:09.248Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T10:53:09.597Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T10:53:27.930Z] provisioning config files... [2023-03-21T10:53:27.955Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config13224241094590179552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:53:28.338Z] ---> docker-login.sh [2023-03-21T10:53:28.338Z] nexus3.edgexfoundry.org:10001 [2023-03-21T10:53:28.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:53:28.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:53:28.878Z] Configure a credential helper to remove this warning. See [2023-03-21T10:53:28.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:53:28.878Z] [2023-03-21T10:53:28.878Z] Login Succeeded [2023-03-21T10:53:28.878Z] nexus3.edgexfoundry.org:10002 [2023-03-21T10:53:29.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:53:29.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:53:29.148Z] Configure a credential helper to remove this warning. See [2023-03-21T10:53:29.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:53:29.148Z] [2023-03-21T10:53:29.149Z] Login Succeeded [2023-03-21T10:53:29.149Z] nexus3.edgexfoundry.org:10003 [2023-03-21T10:53:29.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:53:29.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:53:29.687Z] Configure a credential helper to remove this warning. See [2023-03-21T10:53:29.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:53:29.687Z] [2023-03-21T10:53:29.687Z] Login Succeeded [2023-03-21T10:53:29.687Z] nexus3.edgexfoundry.org:10004 [2023-03-21T10:53:29.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:53:29.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:53:29.959Z] Configure a credential helper to remove this warning. See [2023-03-21T10:53:29.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:53:29.959Z] [2023-03-21T10:53:29.959Z] Login Succeeded [2023-03-21T10:53:29.959Z] docker.io [2023-03-21T10:53:30.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:53:30.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:53:30.498Z] Configure a credential helper to remove this warning. See [2023-03-21T10:53:30.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:53:30.498Z] [2023-03-21T10:53:30.498Z] Login Succeeded [2023-03-21T10:53:30.498Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T10:53:30.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T10:53:30.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:53:30.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:53:30.946Z] ========================================================= [2023-03-21T10:53:30.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T10:53:30.946Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:53:31.436Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T10:53:31.708Z] Sending build context to Docker daemon 2.981MB [2023-03-21T10:53:31.708Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:53:31.708Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T10:53:31.978Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T10:53:31.978Z] af6eaf76a39c: Pulling fs layer [2023-03-21T10:53:31.978Z] 55522c791124: Pulling fs layer [2023-03-21T10:53:31.978Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T10:53:31.978Z] 169dfbe0d373: Pulling fs layer [2023-03-21T10:53:31.978Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T10:53:31.978Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T10:53:31.978Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T10:53:31.978Z] e1ff8fa3b103: Waiting [2023-03-21T10:53:31.978Z] 52ebb69f0ebf: Waiting [2023-03-21T10:53:31.978Z] 5abe8eddf0d5: Waiting [2023-03-21T10:53:31.978Z] 169dfbe0d373: Waiting [2023-03-21T10:53:31.978Z] 55522c791124: Verifying Checksum [2023-03-21T10:53:31.978Z] 55522c791124: Download complete [2023-03-21T10:53:31.978Z] 169dfbe0d373: Verifying Checksum [2023-03-21T10:53:31.978Z] 169dfbe0d373: Download complete [2023-03-21T10:53:31.978Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T10:53:31.978Z] e1ff8fa3b103: Download complete [2023-03-21T10:53:31.978Z] af6eaf76a39c: Verifying Checksum [2023-03-21T10:53:31.978Z] af6eaf76a39c: Download complete [2023-03-21T10:53:32.983Z] af6eaf76a39c: Pull complete [2023-03-21T10:53:33.256Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T10:53:33.256Z] 5abe8eddf0d5: Download complete [2023-03-21T10:53:33.528Z] 55522c791124: Pull complete [2023-03-21T10:53:34.495Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T10:53:34.495Z] ce5c4a1c91eb: Download complete [2023-03-21T10:53:34.766Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T10:53:34.766Z] 52ebb69f0ebf: Download complete [2023-03-21T10:53:44.879Z] ce5c4a1c91eb: Pull complete [2023-03-21T10:53:45.149Z] 169dfbe0d373: Pull complete [2023-03-21T10:53:45.418Z] e1ff8fa3b103: Pull complete [2023-03-21T10:53:52.087Z] 52ebb69f0ebf: Pull complete [2023-03-21T10:53:54.047Z] 5abe8eddf0d5: Pull complete [2023-03-21T10:53:54.047Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T10:53:54.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T10:53:54.047Z] ---> 6cb57ee374ae [2023-03-21T10:53:54.047Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:53:56.002Z] ---> Running in d39b9d665622 [2023-03-21T10:53:56.002Z] Removing intermediate container d39b9d665622 [2023-03-21T10:53:56.002Z] ---> c46db506c3e9 [2023-03-21T10:53:56.002Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:53:56.274Z] ---> Running in 0f2408d0d17f [2023-03-21T10:53:56.543Z] Removing intermediate container 0f2408d0d17f [2023-03-21T10:53:56.543Z] ---> bcac8050eb73 [2023-03-21T10:53:56.543Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T10:53:56.543Z] ---> Running in a779e53f829a [2023-03-21T10:53:57.134Z] Removing intermediate container a779e53f829a [2023-03-21T10:53:57.134Z] ---> 5a6a868fb87f [2023-03-21T10:53:57.134Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T10:53:57.134Z] ---> Running in 77dc5b228dea [2023-03-21T10:53:57.402Z] Removing intermediate container 77dc5b228dea [2023-03-21T10:53:57.402Z] ---> f2a983079a8b [2023-03-21T10:53:57.402Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T10:53:57.402Z] ---> Running in a3267cebf735 [2023-03-21T10:53:58.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T10:53:59.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T10:54:00.366Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T10:54:00.366Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T10:54:00.366Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T10:54:00.366Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T10:54:00.366Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T10:54:00.633Z] OK: 268 MiB in 57 packages [2023-03-21T10:54:01.601Z] Removing intermediate container a3267cebf735 [2023-03-21T10:54:01.601Z] ---> e6dff43ef4c1 [2023-03-21T10:54:01.601Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-21T10:54:01.601Z] ---> Running in 3c9cd19603d7 [2023-03-21T10:54:02.191Z] Removing intermediate container 3c9cd19603d7 [2023-03-21T10:54:02.191Z] ---> c4cebb1cf73c [2023-03-21T10:54:02.191Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T10:54:02.460Z] ---> 68764a5c7932 [2023-03-21T10:54:02.460Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:54:02.730Z] ---> Running in 4daf839dc6f7 [2023-03-21T10:55:24.367Z] Removing intermediate container 4daf839dc6f7 [2023-03-21T10:55:24.367Z] ---> 1dc8973d3fda [2023-03-21T10:55:24.367Z] Step 11/12 : COPY . . [2023-03-21T10:55:24.367Z] ---> f6216b93416d [2023-03-21T10:55:24.367Z] Step 12/12 : RUN ${MAKE} [2023-03-21T10:55:24.367Z] ---> Running in 8059c258b724 [2023-03-21T10:55:24.367Z] noop [2023-03-21T10:55:24.367Z] Removing intermediate container 8059c258b724 [2023-03-21T10:55:24.367Z] ---> 33b3154f9418 [2023-03-21T10:55:24.367Z] Successfully built 33b3154f9418 [2023-03-21T10:55:24.367Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:55:24.840Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T10:55:24.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:55:25.117Z] prd-ubuntu20.04-docker-arm64-4c-16g-4822 does not seem to be running inside a container [2023-03-21T10:55:25.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T10:55:26.330Z] $ docker top e76e9b7cd84ee5227ef01c7b8018755d5f61c563374b53716d6f120dc8764129 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:55:27.173Z] + go version [2023-03-21T10:55:27.173Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T10:55:27.214Z] $ docker stop --time=1 e76e9b7cd84ee5227ef01c7b8018755d5f61c563374b53716d6f120dc8764129 [2023-03-21T10:55:28.780Z] $ docker rm -f --volumes e76e9b7cd84ee5227ef01c7b8018755d5f61c563374b53716d6f120dc8764129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:55:29.625Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T10:55:29.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:55:29.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-4822 does not seem to be running inside a container [2023-03-21T10:55:29.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T10:55:30.986Z] $ docker top 3cc2a43638dd375a40d93c90051ee32df9517bd36bfffe13badb7e5f2fde491a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:55:31.506Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T10:55:31.889Z] + make test [2023-03-21T10:55:31.889Z] go test ./... -coverprofile=coverage.out [2023-03-21T10:56:04.097Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-21T10:57:55.769Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-21T10:57:55.769Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2023-03-21T10:57:55.769Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T10:57:55.769Z] go vet ./... [2023-03-21T10:58:22.460Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T10:58:22.460Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T10:58:22.460Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T10:58:23.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T10:58:23.116Z] $ docker stop --time=1 3cc2a43638dd375a40d93c90051ee32df9517bd36bfffe13badb7e5f2fde491a [2023-03-21T10:58:26.031Z] $ docker rm -f --volumes 3cc2a43638dd375a40d93c90051ee32df9517bd36bfffe13badb7e5f2fde491a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T10:58:27.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T10:58:27.177Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T10:58:27.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T10:58:28.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T10:58:28.479Z] + ls -al . [2023-03-21T10:58:28.479Z] total 168 [2023-03-21T10:58:28.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:55 . [2023-03-21T10:58:28.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:52 .. [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 10:53 .dockerignore [2023-03-21T10:58:28.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:53 .git [2023-03-21T10:58:28.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:53 .github [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 21 10:53 .gitignore [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:53 .golangci.yml [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 21 10:53 Attribution.txt [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 21 10:53 CHANGELOG.md [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 21 10:53 Dockerfile [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:53 GOVERNANCE.md [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 10:53 Jenkinsfile [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:53 LICENSE [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 21 10:53 Makefile [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 10:53 OWNERS.md [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 21 10:53 README.md [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:49 VERSION [2023-03-21T10:58:28.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:53 bin [2023-03-21T10:58:28.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:53 cmd [2023-03-21T10:58:28.479Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 21 10:57 coverage.out [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 21 10:53 go.mod [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 21 10:53 go.sum [2023-03-21T10:58:28.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:53 internal [2023-03-21T10:58:28.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:53 snap [2023-03-21T10:58:28.479Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 10:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:58:28.892Z] + 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=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 --label arch=arm64 --label version=0.0.0 . [2023-03-21T10:58:29.161Z] Sending build context to Docker daemon 2.989MB [2023-03-21T10:58:29.161Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:58:29.161Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-21T10:58:29.161Z] ---> 33b3154f9418 [2023-03-21T10:58:29.161Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:58:29.161Z] ---> Running in acbdb7a9a8cf [2023-03-21T10:58:29.741Z] Removing intermediate container acbdb7a9a8cf [2023-03-21T10:58:29.741Z] ---> e0d3c099c59e [2023-03-21T10:58:29.741Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:58:29.741Z] ---> Running in 0fbc293d2213 [2023-03-21T10:58:30.006Z] Removing intermediate container 0fbc293d2213 [2023-03-21T10:58:30.006Z] ---> 628c84f84d43 [2023-03-21T10:58:30.006Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T10:58:30.006Z] ---> Running in 5603fa8b9837 [2023-03-21T10:58:30.339Z] Removing intermediate container 5603fa8b9837 [2023-03-21T10:58:30.339Z] ---> 1fe3182e8909 [2023-03-21T10:58:30.339Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T10:58:30.339Z] ---> Running in 97cf9f204c95 [2023-03-21T10:58:30.643Z] Removing intermediate container 97cf9f204c95 [2023-03-21T10:58:30.643Z] ---> f1a4893b46db [2023-03-21T10:58:30.643Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T10:58:30.643Z] ---> Running in 212a7f75078e [2023-03-21T10:58:31.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T10:58:32.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T10:58:33.194Z] OK: 268 MiB in 57 packages [2023-03-21T10:58:33.775Z] Removing intermediate container 212a7f75078e [2023-03-21T10:58:33.776Z] ---> efdd1ccb98fd [2023-03-21T10:58:33.776Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-21T10:58:34.040Z] ---> Running in 0228b61c8568 [2023-03-21T10:58:34.307Z] Removing intermediate container 0228b61c8568 [2023-03-21T10:58:34.307Z] ---> eaa7c1c9f3f9 [2023-03-21T10:58:34.307Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-21T10:58:34.572Z] ---> 1d25096cfa5c [2023-03-21T10:58:34.572Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:58:34.841Z] ---> Running in 3b3819854807 [2023-03-21T10:58:40.197Z] Removing intermediate container 3b3819854807 [2023-03-21T10:58:40.197Z] ---> 53843bcfd384 [2023-03-21T10:58:40.197Z] Step 11/24 : COPY . . [2023-03-21T10:58:40.783Z] ---> e9223ced17ed [2023-03-21T10:58:40.783Z] Step 12/24 : RUN ${MAKE} [2023-03-21T10:58:41.054Z] ---> Running in a93bcdde72e0 [2023-03-21T10:58:42.019Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-21T11:01:03.757Z] Removing intermediate container a93bcdde72e0 [2023-03-21T11:01:03.757Z] ---> 0419ea63b81e [2023-03-21T11:01:03.757Z] Step 13/24 : FROM alpine:3.17 [2023-03-21T11:01:03.757Z] 3.17: Pulling from library/alpine [2023-03-21T11:01:03.757Z] af6eaf76a39c: Already exists [2023-03-21T11:01:03.757Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T11:01:03.757Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T11:01:03.757Z] ---> d74e625d9115 [2023-03-21T11:01:03.757Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-21T11:01:03.757Z] ---> Running in 5d6bb50e314d [2023-03-21T11:01:03.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T11:01:03.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T11:01:03.757Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T11:01:03.757Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T11:01:03.757Z] OK: 8 MiB in 16 packages [2023-03-21T11:01:03.757Z] Removing intermediate container 5d6bb50e314d [2023-03-21T11:01:03.757Z] ---> c14a607d6915 [2023-03-21T11:01:03.757Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-21T11:01:03.757Z] ---> 5baa8c3b6b4c [2023-03-21T11:01:03.757Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-21T11:01:03.757Z] ---> 6470d8d3c318 [2023-03-21T11:01:03.757Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-21T11:01:03.757Z] ---> 58370122be93 [2023-03-21T11:01:03.757Z] Step 18/24 : EXPOSE 59993 [2023-03-21T11:01:03.757Z] ---> Running in 5fa01af43654 [2023-03-21T11:01:03.757Z] Removing intermediate container 5fa01af43654 [2023-03-21T11:01:03.757Z] ---> af8f7305c4ad [2023-03-21T11:01:03.757Z] Step 19/24 : EXPOSE 161 [2023-03-21T11:01:03.757Z] ---> Running in 4cfff5b4d5d1 [2023-03-21T11:01:03.757Z] Removing intermediate container 4cfff5b4d5d1 [2023-03-21T11:01:03.757Z] ---> 024b59af8d00 [2023-03-21T11:01:03.757Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-21T11:01:03.757Z] ---> Running in bb66f966b66b [2023-03-21T11:01:03.757Z] Removing intermediate container bb66f966b66b [2023-03-21T11:01:03.757Z] ---> 6cd15d5ef226 [2023-03-21T11:01:03.757Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T11:01:03.757Z] ---> Running in a46c998f81e9 [2023-03-21T11:01:03.757Z] Removing intermediate container a46c998f81e9 [2023-03-21T11:01:03.757Z] ---> 9b853d53659b [2023-03-21T11:01:03.757Z] Step 22/24 : LABEL arch=arm64 [2023-03-21T11:01:03.757Z] ---> Running in 309200044e7d [2023-03-21T11:01:03.757Z] Removing intermediate container 309200044e7d [2023-03-21T11:01:03.757Z] ---> a86ff72e656d [2023-03-21T11:01:03.757Z] Step 23/24 : LABEL git_sha=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [2023-03-21T11:01:03.757Z] ---> Running in ab4b841eb49a [2023-03-21T11:01:03.757Z] Removing intermediate container ab4b841eb49a [2023-03-21T11:01:03.757Z] ---> 354dad408bf3 [2023-03-21T11:01:03.757Z] Step 24/24 : LABEL version=0.0.0 [2023-03-21T11:01:03.757Z] ---> Running in ec1118c941e4 [2023-03-21T11:01:03.757Z] Removing intermediate container ec1118c941e4 [2023-03-21T11:01:03.757Z] ---> 64b61edc3287 [2023-03-21T11:01:03.757Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T11:01:03.757Z] Successfully built 64b61edc3287 [2023-03-21T11:01:03.757Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T11:01:04.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T11:01:04.577Z] [2023-03-21T11:01:04.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T11:01:04.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T11:01:06.398Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T11:01:06.398Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T11:01:06.398Z] 04944245beec: Pulling fs layer [2023-03-21T11:01:06.398Z] 699f458cf7ca: Pulling fs layer [2023-03-21T11:01:06.398Z] 765212b225bb: Pulling fs layer [2023-03-21T11:01:06.398Z] f23df028b6ca: Pulling fs layer [2023-03-21T11:01:06.398Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T11:01:06.398Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T11:01:06.398Z] 765212b225bb: Waiting [2023-03-21T11:01:06.398Z] f23df028b6ca: Waiting [2023-03-21T11:01:06.398Z] d65c8cfc05b1: Waiting [2023-03-21T11:01:06.398Z] 2437ff75d9bd: Waiting [2023-03-21T11:01:06.398Z] 04944245beec: Verifying Checksum [2023-03-21T11:01:06.398Z] 04944245beec: Download complete [2023-03-21T11:01:06.398Z] 765212b225bb: Verifying Checksum [2023-03-21T11:01:06.398Z] 765212b225bb: Download complete [2023-03-21T11:01:06.398Z] f23df028b6ca: Verifying Checksum [2023-03-21T11:01:06.398Z] f23df028b6ca: Download complete [2023-03-21T11:01:06.398Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T11:01:06.398Z] d65c8cfc05b1: Download complete [2023-03-21T11:01:06.398Z] 699f458cf7ca: Verifying Checksum [2023-03-21T11:01:06.398Z] 699f458cf7ca: Download complete [2023-03-21T11:01:06.980Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T11:01:06.980Z] 8998bd30e6a1: Download complete [2023-03-21T11:01:08.921Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T11:01:08.921Z] 2437ff75d9bd: Download complete [2023-03-21T11:01:10.864Z] 8998bd30e6a1: Pull complete [2023-03-21T11:01:11.453Z] 04944245beec: Pull complete [2023-03-21T11:01:12.861Z] 699f458cf7ca: Pull complete [2023-03-21T11:01:12.861Z] 765212b225bb: Pull complete [2023-03-21T11:01:13.823Z] f23df028b6ca: Pull complete [2023-03-21T11:01:13.823Z] d65c8cfc05b1: Pull complete [2023-03-21T11:01:28.807Z] 2437ff75d9bd: Pull complete [2023-03-21T11:01:28.807Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T11:01:28.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T11:01:28.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T11:01:29.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-4822 does not seem to be running inside a container [2023-03-21T11:01:29.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T11:01:31.739Z] $ docker top 7dbd34ea9efd32b4c4fb1956fd0b98d27a45505f36798e266450b8f51d2d0a9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:32.631Z] ---> job-cost.sh [2023-03-21T11:01:32.631Z] lf-activate-venv: SKIPPING [2023-03-21T11:01:32.631Z] INFO: No Stack... [2023-03-21T11:01:32.898Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T11:01:33.857Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T11:01:34.197Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-03-21T11:01:34.197Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T11:01:34.274Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [2023-03-21T11:01:34.279Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] did not exist. Created. [2023-03-21T11:01:34.280Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T11:01:34.683Z] /w/workspace/device-snmp-go/1@tmp/durable-5dcd5c7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T11:01:35.032Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T11:01:35.067Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T11:01:35.107Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T11:01:35.128Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T11:01:35.215Z] $ docker stop --time=1 7dbd34ea9efd32b4c4fb1956fd0b98d27a45505f36798e266450b8f51d2d0a9c [2023-03-21T11:01:36.677Z] $ docker rm -f --volumes 7dbd34ea9efd32b4c4fb1956fd0b98d27a45505f36798e266450b8f51d2d0a9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-21T11:01:37.629Z] provisioning config files... [2023-03-21T11:01:37.638Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config4212641838008827368tmp [Pipeline] { [Pipeline] sh [2023-03-21T11:01:37.978Z] + set +x [2023-03-21T11:01:37.978Z] + bash -s --+ [2023-03-21T11:01:37.978Z] curl -s https://codecov.io/bash [2023-03-21T11:01:37.978Z] [2023-03-21T11:01:37.978Z] _____ _ [2023-03-21T11:01:37.978Z] / ____| | | [2023-03-21T11:01:37.978Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T11:01:37.978Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T11:01:37.978Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T11:01:37.978Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T11:01:37.978Z] Bash-1.0.6 [2023-03-21T11:01:37.978Z] [2023-03-21T11:01:37.978Z] [2023-03-21T11:01:37.978Z] ==> git version 2.25.1 found [2023-03-21T11:01:37.978Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-21T11:01:37.978Z] Release-Date: 2020-01-08 [2023-03-21T11:01:37.978Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T11:01:37.978Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T11:01:37.978Z] ==> Jenkins CI detected. [2023-03-21T11:01:37.978Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-270 [2023-03-21T11:01:37.978Z] project root: . [2023-03-21T11:01:37.978Z] --> token set from env [2023-03-21T11:01:37.978Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T11:01:37.978Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T11:01:37.978Z] ==> Python coveragepy not found [2023-03-21T11:01:37.978Z] ==> Searching for coverage reports in: [2023-03-21T11:01:37.978Z] + . [2023-03-21T11:01:37.978Z] -> Found 1 reports [2023-03-21T11:01:37.978Z] ==> Detecting git/mercurial file structure [2023-03-21T11:01:38.238Z] ==> Reading reports [2023-03-21T11:01:38.238Z] + ./coverage.out bytes=7631 [2023-03-21T11:01:38.238Z] ==> Appending adjustments [2023-03-21T11:01:38.238Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T11:01:38.238Z] + Found adjustments [2023-03-21T11:01:38.238Z] ==> Gzipping contents [2023-03-21T11:01:38.238Z] 4.0K /tmp/codecov.8DCIYx.gz [2023-03-21T11:01:38.238Z] ==> Uploading reports [2023-03-21T11:01:38.238Z] url: https://codecov.io [2023-03-21T11:01:38.238Z] query: branch=PR-270&commit=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-03-21T11:01:38.238Z] -> Pinging Codecov [2023-03-21T11:01:38.238Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-270&commit=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=270&job=&cmd_args= [2023-03-21T11:01:38.498Z] -> Uploading to [2023-03-21T11:01:38.498Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/6C56EA5C29638FB4528AC87E60AF5AE0/5bd5f8a26436e932ee7d10d7dfb4eef8686ff168/fd348712-07cc-47fe-ab83-a4f992c9a55a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T110138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72ccd8df275072cc5769fa9d7dba4ee599ec2d059a3c7beea0bdaa3d430b6522 [2023-03-21T11:01:38.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T11:01:38.498Z] Dload Upload Total Spent Left Speed [2023-03-21T11:01:38.758Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 5143 --:--:-- --:--:-- --:--:-- 5143 [2023-03-21T11:01:38.758Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] } [2023-03-21T11:01:38.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-21T11:01:40.547Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-270/archives ] [2023-03-21T11:01:40.547Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-270/archives [2023-03-21T11:01:40.547Z] total 16 [2023-03-21T11:01:40.547Z] drwxr-xr-x 3 root root 4096 Mar 21 10:51 . [2023-03-21T11:01:40.547Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 10:51 .. [2023-03-21T11:01:40.547Z] drwxr-xr-x 2 root root 4096 Mar 21 10:51 cost [2023-03-21T11:01:40.547Z] -rw-r--r-- 1 root root 86 Mar 21 10:51 cost.csv [2023-03-21T11:01:40.547Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-270/archives [2023-03-21T11:01:40.547Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-270/archives [2023-03-21T11:01:40.547Z] total 16 [2023-03-21T11:01:40.547Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:51 . [2023-03-21T11:01:40.547Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 10:51 .. [2023-03-21T11:01:40.547Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 10:51 cost [2023-03-21T11:01:40.547Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 10:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:40.870Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:41.754Z] ---> package-listing.sh [2023-03-21T11:01:41.754Z] ++ facter osfamily [2023-03-21T11:01:41.754Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T11:01:42.013Z] + OS_FAMILY=debian [2023-03-21T11:01:42.013Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-270 [2023-03-21T11:01:42.013Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T11:01:42.013Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T11:01:42.013Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T11:01:42.013Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T11:01:42.013Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-270 ']' [2023-03-21T11:01:42.013Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T11:01:42.013Z] + case "${OS_FAMILY}" in [2023-03-21T11:01:42.013Z] + dpkg -l [2023-03-21T11:01:42.013Z] + grep '^ii' [2023-03-21T11:01:42.013Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T11:01:42.013Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T11:01:42.013Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T11:01:42.013Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-270 ']' [2023-03-21T11:01:42.013Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-270/archives/ [2023-03-21T11:01:42.013Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-270/archives/ [Pipeline] echo [2023-03-21T11:01:42.048Z] 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T11:01:42.337Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T11:01:42.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T11:01:42.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T11:01:43.102Z] prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container [2023-03-21T11:01:43.142Z] $ 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-270/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-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T11:01:43.338Z] $ docker top 384ba529436ab97dff2cffa9b29daf9e4f62b3377f3e0f4452b37569587223d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T11:01:43.715Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T11:01:44.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T11:01:44.338Z] + ls /var/log/sa-host [2023-03-21T11:01:44.338Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T11:01:44.495Z] provisioning config files... [2023-03-21T11:01:44.504Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config14269304719745647956tmp [Pipeline] { [Pipeline] echo [2023-03-21T11:01:44.556Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:44.867Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T11:01:44.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:45.294Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T11:01:45.327Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:45.643Z] ---> sudo-logs.sh [2023-03-21T11:01:45.643Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T11:01:45.729Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:46.043Z] ---> job-cost.sh [2023-03-21T11:01:46.044Z] lf-activate-venv: SKIPPING [2023-03-21T11:01:46.044Z] DEBUG: total: 0.2199999988079071 [2023-03-21T11:01:46.044Z] INFO: Retrieving Stack Cost... [2023-03-21T11:01:46.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T11:01:46.869Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T11:01:46.900Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T11:01:47.222Z] ---> logs-deploy.sh [2023-03-21T11:01:47.222Z] lf-activate-venv: SKIPPING [2023-03-21T11:01:47.222Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-270/1 [2023-03-21T11:01:47.222Z] INFO: archiving workspace using pattern(s): [2023-03-21T11:01:48.160Z] Archives upload complete. [2023-03-21T11:01:48.160Z] INFO: archiving logs to Nexus