Pull request #263 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed+82433e1744898ef8ca7a6a52854ffd2316e26b0f (f5bc64a7eedefa7ed32255469f13d4e39f37fa6d) 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-ssh11527435271853700835.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-ssh2399954490724552890.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-263/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-263/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6293333941378955204.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-263/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13136699658600924811.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-ssh14339595707244642653.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-263/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-263/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9572382196030063110.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 Running on prd-ubuntu20.04-docker-8c-8g-282 in /w/workspace/gexfoundry_device-snmp-go_PR-263 [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-263 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 82433e1744898ef8ca7a6a52854ffd2316e26b0f into PR head commit 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed > 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/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed # timeout=10 Merge succeeded, producing 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed Checking out Revision 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed (PR-263) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 82433e1744898ef8ca7a6a52854ffd2316e26b0f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" 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-14T23:26:31.558Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T23:26:31.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T23:26:31.814Z] ========================================================= [2023-03-14T23:26:31.814Z] EdgeX Global Pipelines Version Info [2023-03-14T23:26:31.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:26:32.567Z] ------------------- [2023-03-14T23:26:32.568Z] stable info: [2023-03-14T23:26:32.568Z] ------------------- [2023-03-14T23:26:32.568Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T23:26:32.568Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T23:26:32.568Z] Message: update stable to v1.0.245 [2023-03-14T23:26:33.141Z] ------------------- [2023-03-14T23:26:33.141Z] experimental info: [2023-03-14T23:26:33.141Z] ------------------- [2023-03-14T23:26:33.141Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T23:26:33.141Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-14T23:26:33.141Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T23:26:33.448Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-14T23:26:33.490Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-14T23:26:33.529Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T23:26:33.562Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T23:26:33.602Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T23:26:33.638Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T23:26:33.675Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T23:26:33.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T23:26:33.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T23:26:33.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T23:26:33.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T23:26:33.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-14T23:26:33.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T23:26:33.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T23:26:33.997Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T23:26:34.036Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T23:26:34.076Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T23:26:34.114Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T23:26:34.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T23:26:34.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T23:26:34.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T23:26:34.291Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T23:26:34.328Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T23:26:34.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T23:26:34.405Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T23:26:34.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T23:26:34.483Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T23:26:34.519Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-263 [Pipeline] echo [2023-03-14T23:26:34.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-263 [Pipeline] echo [2023-03-14T23:26:34.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-263 [Pipeline] echo [2023-03-14T23:26:34.635Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [Pipeline] echo [2023-03-14T23:26:34.670Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06818cd [Pipeline] echo [2023-03-14T23:26:34.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:26:34.822Z] provisioning config files... [2023-03-14T23:26:34.836Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/config541930669445327724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:26:35.179Z] ---> docker-login.sh [2023-03-14T23:26:35.179Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:26:35.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:35.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:35.439Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:35.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:35.439Z] [2023-03-14T23:26:35.439Z] Login Succeeded [2023-03-14T23:26:35.439Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:26:35.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:35.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:35.439Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:35.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:35.439Z] [2023-03-14T23:26:35.439Z] Login Succeeded [2023-03-14T23:26:35.439Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:26:35.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:35.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:35.702Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:35.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:35.702Z] [2023-03-14T23:26:35.702Z] Login Succeeded [2023-03-14T23:26:35.702Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:26:35.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:35.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:35.702Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:35.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:35.702Z] [2023-03-14T23:26:35.702Z] Login Succeeded [2023-03-14T23:26:35.702Z] docker.io [2023-03-14T23:26:35.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:35.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:35.962Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:35.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:35.962Z] [2023-03-14T23:26:35.962Z] Login Succeeded [2023-03-14T23:26:35.962Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:26:35.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T23:26:36.595Z] + git rev-list -1 --merges 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed~1..06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [Pipeline] echo [2023-03-14T23:26:36.657Z] -----------> git rev-list -1 --merges 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed~1..06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [false] [Pipeline] sh [2023-03-14T23:26:36.961Z] + git log --format=format:%s -1 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [Pipeline] echo [2023-03-14T23:26:36.994Z] ========================================================= [2023-03-14T23:26:36.994Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T23:26:36.994Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:26:37.426Z] + git log --format=format:%s -1 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [Pipeline] echo [2023-03-14T23:26:37.456Z] [semverPrep] GIT_COMMIT: 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T23:26:37.490Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T23:26:37.944Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T23:26:37.944Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T23:26:37.944Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T23:26:37.944Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T23:26:37.944Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T23:26:37.944Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T23:26:37.944Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:26:38.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:26:38.378Z] [2023-03-14T23:26:38.378Z] 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-14T23:26:38.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:26:38.762Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T23:26:38.762Z] b85a868b505f: Pulling fs layer [2023-03-14T23:26:38.762Z] e2be974225ed: Pulling fs layer [2023-03-14T23:26:38.762Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T23:26:38.762Z] 988bab9f4d93: Pulling fs layer [2023-03-14T23:26:38.762Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T23:26:38.762Z] eaf3925da568: Pulling fs layer [2023-03-14T23:26:38.762Z] bab4dde63d76: Pulling fs layer [2023-03-14T23:26:38.762Z] bde34c3a00c8: Pulling fs layer [2023-03-14T23:26:38.762Z] b352a97aabf1: Pulling fs layer [2023-03-14T23:26:38.762Z] 4872d77fe225: Pulling fs layer [2023-03-14T23:26:38.762Z] 5851b861e8e6: Pulling fs layer [2023-03-14T23:26:38.762Z] 988bab9f4d93: Waiting [2023-03-14T23:26:38.762Z] 1469e6f7b9e6: Waiting [2023-03-14T23:26:38.762Z] eaf3925da568: Waiting [2023-03-14T23:26:38.762Z] 4872d77fe225: Waiting [2023-03-14T23:26:38.762Z] bab4dde63d76: Waiting [2023-03-14T23:26:38.762Z] 5851b861e8e6: Waiting [2023-03-14T23:26:38.762Z] bde34c3a00c8: Waiting [2023-03-14T23:26:38.762Z] b352a97aabf1: Waiting [2023-03-14T23:26:38.762Z] e2be974225ed: Verifying Checksum [2023-03-14T23:26:38.762Z] e2be974225ed: Download complete [2023-03-14T23:26:38.762Z] 988bab9f4d93: Verifying Checksum [2023-03-14T23:26:38.762Z] 988bab9f4d93: Download complete [2023-03-14T23:26:39.023Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T23:26:39.023Z] 1469e6f7b9e6: Download complete [2023-03-14T23:26:39.023Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T23:26:39.023Z] 339a4e72a1f5: Download complete [2023-03-14T23:26:39.023Z] eaf3925da568: Verifying Checksum [2023-03-14T23:26:39.023Z] eaf3925da568: Download complete [2023-03-14T23:26:39.023Z] bde34c3a00c8: Verifying Checksum [2023-03-14T23:26:39.023Z] bde34c3a00c8: Download complete [2023-03-14T23:26:39.023Z] b352a97aabf1: Verifying Checksum [2023-03-14T23:26:39.024Z] b352a97aabf1: Download complete [2023-03-14T23:26:39.024Z] 4872d77fe225: Verifying Checksum [2023-03-14T23:26:39.024Z] 4872d77fe225: Download complete [2023-03-14T23:26:39.024Z] b85a868b505f: Verifying Checksum [2023-03-14T23:26:39.024Z] b85a868b505f: Download complete [2023-03-14T23:26:39.024Z] 5851b861e8e6: Verifying Checksum [2023-03-14T23:26:39.024Z] 5851b861e8e6: Download complete [2023-03-14T23:26:39.594Z] bab4dde63d76: Verifying Checksum [2023-03-14T23:26:39.594Z] bab4dde63d76: Download complete [2023-03-14T23:26:40.162Z] b85a868b505f: Pull complete [2023-03-14T23:26:40.439Z] e2be974225ed: Pull complete [2023-03-14T23:26:40.706Z] 339a4e72a1f5: Pull complete [2023-03-14T23:26:40.971Z] 988bab9f4d93: Pull complete [2023-03-14T23:26:41.231Z] 1469e6f7b9e6: Pull complete [2023-03-14T23:26:41.231Z] eaf3925da568: Pull complete [2023-03-14T23:26:42.606Z] bab4dde63d76: Pull complete [2023-03-14T23:26:42.865Z] bde34c3a00c8: Pull complete [2023-03-14T23:26:42.865Z] b352a97aabf1: Pull complete [2023-03-14T23:26:42.865Z] 4872d77fe225: Pull complete [2023-03-14T23:26:43.125Z] 5851b861e8e6: Pull complete [2023-03-14T23:26:43.125Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T23:26:43.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T23:26:43.125Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:26:43.356Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2023-03-14T23:26:43.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-263 -v /w/workspace/gexfoundry_device-snmp-go_PR-263:/w/workspace/gexfoundry_device-snmp-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T23:26:44.766Z] $ docker top 0bec7237da096e4f339b1457a5e30e497e1157ca1fb4925ca2affad699d7a270 -eo pid,comm [2023-03-14T23:26:44.814Z] 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-14T23:26:44.814Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T23:26:44.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T23:26:44.951Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T23:26:45.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T23:26:45.077Z] $ docker exec 0bec7237da096e4f339b1457a5e30e497e1157ca1fb4925ca2affad699d7a270 ssh-agent [2023-03-14T23:26:45.188Z] SSH_AUTH_SOCK=/tmp/ssh-1sVUQeI32sxI/agent.32 [2023-03-14T23:26:45.188Z] SSH_AGENT_PID=38 [2023-03-14T23:26:45.196Z] Running ssh-add (command line suppressed) [2023-03-14T23:26:45.294Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/private_key_12498251486959325369.key (/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/private_key_12498251486959325369.key) [2023-03-14T23:26:45.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T23:26:45.633Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T23:26:45.663Z] $ docker exec --env ******** --env ******** 0bec7237da096e4f339b1457a5e30e497e1157ca1fb4925ca2affad699d7a270 ssh-agent -k [2023-03-14T23:26:45.768Z] unset SSH_AUTH_SOCK; [2023-03-14T23:26:45.768Z] unset SSH_AGENT_PID; [2023-03-14T23:26:45.768Z] echo Agent pid 38 killed; [2023-03-14T23:26:45.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T23:26:45.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T23:26:45.853Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T23:26:45.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T23:26:45.968Z] $ docker exec 0bec7237da096e4f339b1457a5e30e497e1157ca1fb4925ca2affad699d7a270 ssh-agent [2023-03-14T23:26:46.073Z] SSH_AUTH_SOCK=/tmp/ssh-S9V6BfuGbMty/agent.70 [2023-03-14T23:26:46.073Z] SSH_AGENT_PID=77 [2023-03-14T23:26:46.078Z] Running ssh-add (command line suppressed) [2023-03-14T23:26:46.180Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/private_key_1517667261878795724.key (/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/private_key_1517667261878795724.key) [2023-03-14T23:26:46.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T23:26:46.520Z] + git semver init [2023-03-14T23:26:46.779Z] 2023-03-14 23:26:46,692 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T23:26:46.779Z] 2023-03-14 23:26:46,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-263/.semver [2023-03-14T23:26:46.779Z] 2023-03-14 23:26:46,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-263/.semver [2023-03-14T23:26:46.779Z] 2023-03-14 23:26:46,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-263/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-263, universal_newlines=False, shell=None, istream=None) [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,463 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-263/.git/info/exclude [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,463 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-263/.semver/PR-263 with force:False [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,464 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-263/.semver/PR-263 [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,468 [execute] INFO git cat-file --batch-check [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-263/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,475 [execute] INFO git cat-file --batch [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-263/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T23:26:47.716Z] 2023-03-14 23:26:47,480 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-263/.semver/PR-263 [2023-03-14T23:26:47.716Z] 0.0.0 [Pipeline] } [2023-03-14T23:26:47.746Z] $ docker exec --env ******** --env ******** 0bec7237da096e4f339b1457a5e30e497e1157ca1fb4925ca2affad699d7a270 ssh-agent -k [2023-03-14T23:26:47.847Z] unset SSH_AUTH_SOCK; [2023-03-14T23:26:47.848Z] unset SSH_AGENT_PID; [2023-03-14T23:26:47.848Z] echo Agent pid 77 killed; [2023-03-14T23:26:47.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T23:26:48.276Z] + git semver [Pipeline] } [2023-03-14T23:26:48.568Z] $ docker stop --time=1 0bec7237da096e4f339b1457a5e30e497e1157ca1fb4925ca2affad699d7a270 [2023-03-14T23:26:49.906Z] $ docker rm -f --volumes 0bec7237da096e4f339b1457a5e30e497e1157ca1fb4925ca2affad699d7a270 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:26:50.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T23:26:50.576Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T23:26:50.593Z] [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-14T23:26:51.125Z] provisioning config files... [2023-03-14T23:26:51.134Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/config16069721019455409135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:26:51.472Z] ---> docker-login.sh [2023-03-14T23:26:51.472Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:26:51.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:51.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:51.472Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:51.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:51.472Z] [2023-03-14T23:26:51.472Z] Login Succeeded [2023-03-14T23:26:51.472Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:26:51.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:51.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:51.731Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:51.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:51.731Z] [2023-03-14T23:26:51.731Z] Login Succeeded [2023-03-14T23:26:51.731Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:26:51.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:51.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:51.731Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:51.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:51.731Z] [2023-03-14T23:26:51.731Z] Login Succeeded [2023-03-14T23:26:51.731Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:26:51.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:51.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:51.731Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:51.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:51.731Z] [2023-03-14T23:26:51.731Z] Login Succeeded [2023-03-14T23:26:51.731Z] docker.io [2023-03-14T23:26:51.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:26:51.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:26:51.989Z] Configure a credential helper to remove this warning. See [2023-03-14T23:26:51.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:26:51.989Z] [2023-03-14T23:26:51.989Z] Login Succeeded [2023-03-14T23:26:51.989Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:26:52.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T23:26:52.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:26:52.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:26:52.279Z] ========================================================= [2023-03-14T23:26:52.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T23:26:52.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:26:52.740Z] + 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-14T23:26:52.740Z] Sending build context to Docker daemon 5.74MB [2023-03-14T23:26:52.740Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:26:52.740Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T23:26:52.740Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T23:26:52.740Z] 63b65145d645: Pulling fs layer [2023-03-14T23:26:52.740Z] a2d21d5440eb: Pulling fs layer [2023-03-14T23:26:52.740Z] 935e6c44a52c: Pulling fs layer [2023-03-14T23:26:52.740Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T23:26:52.740Z] 30dea6a524f1: Pulling fs layer [2023-03-14T23:26:52.740Z] a2aff8979fd8: Pulling fs layer [2023-03-14T23:26:52.740Z] 6808be2612f2: Pulling fs layer [2023-03-14T23:26:52.740Z] 94cc34f8dd06: Waiting [2023-03-14T23:26:52.740Z] 30dea6a524f1: Waiting [2023-03-14T23:26:52.740Z] a2aff8979fd8: Waiting [2023-03-14T23:26:52.740Z] f25807f1079a: Pulling fs layer [2023-03-14T23:26:52.740Z] 6808be2612f2: Waiting [2023-03-14T23:26:52.740Z] f25807f1079a: Waiting [2023-03-14T23:26:52.740Z] a2d21d5440eb: Verifying Checksum [2023-03-14T23:26:52.740Z] a2d21d5440eb: Download complete [2023-03-14T23:26:52.740Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T23:26:52.740Z] 94cc34f8dd06: Download complete [2023-03-14T23:26:52.740Z] 30dea6a524f1: Verifying Checksum [2023-03-14T23:26:52.740Z] 30dea6a524f1: Download complete [2023-03-14T23:26:53.009Z] 63b65145d645: Verifying Checksum [2023-03-14T23:26:53.009Z] 63b65145d645: Download complete [2023-03-14T23:26:53.009Z] a2aff8979fd8: Verifying Checksum [2023-03-14T23:26:53.009Z] a2aff8979fd8: Download complete [2023-03-14T23:26:53.009Z] 63b65145d645: Pull complete [2023-03-14T23:26:53.290Z] a2d21d5440eb: Pull complete [2023-03-14T23:26:53.898Z] 935e6c44a52c: Verifying Checksum [2023-03-14T23:26:53.898Z] 935e6c44a52c: Download complete [2023-03-14T23:26:53.898Z] f25807f1079a: Verifying Checksum [2023-03-14T23:26:53.898Z] f25807f1079a: Download complete [2023-03-14T23:26:54.156Z] 6808be2612f2: Verifying Checksum [2023-03-14T23:26:54.156Z] 6808be2612f2: Download complete [2023-03-14T23:26:56.689Z] 935e6c44a52c: Pull complete [2023-03-14T23:26:56.689Z] 94cc34f8dd06: Pull complete [2023-03-14T23:26:56.948Z] 30dea6a524f1: Pull complete [2023-03-14T23:26:56.948Z] a2aff8979fd8: Pull complete [2023-03-14T23:26:59.483Z] 6808be2612f2: Pull complete [2023-03-14T23:27:00.048Z] f25807f1079a: Pull complete [2023-03-14T23:27:00.048Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T23:27:00.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T23:27:00.048Z] ---> 3b553350e43f [2023-03-14T23:27:00.048Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:27:01.963Z] ---> Running in 024fffb2fad8 [2023-03-14T23:27:01.963Z] Removing intermediate container 024fffb2fad8 [2023-03-14T23:27:01.963Z] ---> ef9784ebfb15 [2023-03-14T23:27:01.963Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:27:01.963Z] ---> Running in 4118e777a2d3 [2023-03-14T23:27:01.963Z] Removing intermediate container 4118e777a2d3 [2023-03-14T23:27:01.963Z] ---> afb924457d05 [2023-03-14T23:27:01.963Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:27:01.963Z] ---> Running in 28ccff073227 [2023-03-14T23:27:02.221Z] Removing intermediate container 28ccff073227 [2023-03-14T23:27:02.221Z] ---> b406eb6a1dc7 [2023-03-14T23:27:02.221Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:27:02.221Z] ---> Running in 482f198480bc [2023-03-14T23:27:02.221Z] Removing intermediate container 482f198480bc [2023-03-14T23:27:02.221Z] ---> 5b5c6e18313f [2023-03-14T23:27:02.221Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:27:02.221Z] ---> Running in a6c9652f2eb4 [2023-03-14T23:27:02.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:27:02.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:27:02.993Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T23:27:02.994Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T23:27:02.994Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T23:27:02.994Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T23:27:02.994Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:27:02.994Z] OK: 269 MiB in 57 packages [2023-03-14T23:27:03.560Z] Removing intermediate container a6c9652f2eb4 [2023-03-14T23:27:03.560Z] ---> 9e2255b35adf [2023-03-14T23:27:03.560Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-14T23:27:03.560Z] ---> Running in 4e1a9ef9a835 [2023-03-14T23:27:03.560Z] Removing intermediate container 4e1a9ef9a835 [2023-03-14T23:27:03.560Z] ---> 8f7a88388496 [2023-03-14T23:27:03.560Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T23:27:03.818Z] ---> ad33fd0853ca [2023-03-14T23:27:03.818Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:27:03.818Z] ---> Running in c79c1f99e7bc [2023-03-14T23:27:05.973Z] Still waiting to schedule task [2023-03-14T23:27:05.973Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-14T23:27:30.356Z] Removing intermediate container c79c1f99e7bc [2023-03-14T23:27:30.356Z] ---> 3b62daee305e [2023-03-14T23:27:30.356Z] Step 11/12 : COPY . . [2023-03-14T23:27:30.356Z] ---> 4e96e9eddd67 [2023-03-14T23:27:30.356Z] Step 12/12 : RUN ${MAKE} [2023-03-14T23:27:30.356Z] ---> Running in 7f3689a71129 [2023-03-14T23:27:30.356Z] noop [2023-03-14T23:27:30.356Z] Removing intermediate container 7f3689a71129 [2023-03-14T23:27:30.356Z] ---> 7472c9c0cf66 [2023-03-14T23:27:30.356Z] Successfully built 7472c9c0cf66 [2023-03-14T23:27:30.356Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:27:30.789Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T23:27:30.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:27:30.936Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2023-03-14T23:27:30.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-263 -v /w/workspace/gexfoundry_device-snmp-go_PR-263:/w/workspace/gexfoundry_device-snmp-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T23:27:31.328Z] $ docker top f4d2edb43d20520294faf850503e7d4f40b8042f25e79846fb236a23abbe4aa9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:27:31.709Z] + go version [2023-03-14T23:27:31.709Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T23:27:31.741Z] $ docker stop --time=1 f4d2edb43d20520294faf850503e7d4f40b8042f25e79846fb236a23abbe4aa9 [2023-03-14T23:27:33.041Z] $ docker rm -f --volumes f4d2edb43d20520294faf850503e7d4f40b8042f25e79846fb236a23abbe4aa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:27:33.759Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T23:27:33.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:27:33.914Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2023-03-14T23:27:33.943Z] $ 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-263 -v /w/workspace/gexfoundry_device-snmp-go_PR-263:/w/workspace/gexfoundry_device-snmp-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T23:27:34.296Z] $ docker top 972a76976e0a7db266ec1b4ad72b80c4dbe5b2d8e8e5a3f4ddbfcdc7f34e0876 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:27:34.684Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-263 [Pipeline] fileExists [Pipeline] sh [2023-03-14T23:27:35.043Z] + make test [2023-03-14T23:27:35.043Z] go test ./... -coverprofile=coverage.out [2023-03-14T23:27:40.309Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-14T23:27:48.419Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-14T23:27:48.419Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2023-03-14T23:27:53.689Z] go vet ./... [2023-03-14T23:27:56.969Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T23:27:56.969Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T23:27:56.969Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T23:27:57.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T23:27:57.280Z] $ docker stop --time=1 972a76976e0a7db266ec1b4ad72b80c4dbe5b2d8e8e5a3f4ddbfcdc7f34e0876 [2023-03-14T23:27:59.340Z] $ docker rm -f --volumes 972a76976e0a7db266ec1b4ad72b80c4dbe5b2d8e8e5a3f4ddbfcdc7f34e0876 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:27:59.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T23:27:59.904Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T23:28:00.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T23:28:00.925Z] + ls -al . [2023-03-14T23:28:00.925Z] total 172 [2023-03-14T23:28:00.925Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 23:27 . [2023-03-14T23:28:00.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:26 .. [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 14 23:26 .dockerignore [2023-03-14T23:28:00.925Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:26 .git [2023-03-14T23:28:00.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:26 .github [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 14 23:26 .gitignore [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:26 .golangci.yml [2023-03-14T23:28:00.925Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:26 .semver [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 14 23:26 Attribution.txt [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 14 23:26 CHANGELOG.md [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 14 23:26 Dockerfile [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:26 GOVERNANCE.md [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 14 23:26 Jenkinsfile [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:26 LICENSE [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 14 23:26 Makefile [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 23:26 OWNERS.md [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 14 23:26 README.md [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:26 VERSION [2023-03-14T23:28:00.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:26 bin [2023-03-14T23:28:00.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:26 cmd [2023-03-14T23:28:00.925Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 14 23:27 coverage.out [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 14 23:26 go.mod [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 14 23:26 go.sum [2023-03-14T23:28:00.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:26 internal [2023-03-14T23:28:00.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:26 snap [2023-03-14T23:28:00.925Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 14 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:28:01.312Z] + 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=06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed --label arch=amd64 --label version=0.0.0 . [2023-03-14T23:28:01.313Z] Sending build context to Docker daemon 5.748MB [2023-03-14T23:28:01.313Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:28:01.313Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-14T23:28:01.313Z] ---> 7472c9c0cf66 [2023-03-14T23:28:01.313Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:28:01.313Z] ---> Running in a28a3adc3818 [2023-03-14T23:28:01.573Z] Removing intermediate container a28a3adc3818 [2023-03-14T23:28:01.573Z] ---> 6c376fa18c80 [2023-03-14T23:28:01.573Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:28:01.573Z] ---> Running in d0496866ad64 [2023-03-14T23:28:01.573Z] Removing intermediate container d0496866ad64 [2023-03-14T23:28:01.573Z] ---> c2689ace6ac1 [2023-03-14T23:28:01.573Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:28:01.573Z] ---> Running in 8fae2ee79bdd [2023-03-14T23:28:01.831Z] Removing intermediate container 8fae2ee79bdd [2023-03-14T23:28:01.831Z] ---> 89ffb2450fe3 [2023-03-14T23:28:01.831Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:28:01.831Z] ---> Running in 6c2e6f5ce442 [2023-03-14T23:28:01.831Z] Removing intermediate container 6c2e6f5ce442 [2023-03-14T23:28:01.831Z] ---> 2eac4af333c8 [2023-03-14T23:28:01.831Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:28:01.831Z] ---> Running in 90f3609cf3d0 [2023-03-14T23:28:02.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:28:02.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:28:02.349Z] OK: 269 MiB in 57 packages [2023-03-14T23:28:02.916Z] Removing intermediate container 90f3609cf3d0 [2023-03-14T23:28:02.916Z] ---> 875ba3aa5893 [2023-03-14T23:28:02.916Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-14T23:28:02.916Z] ---> Running in 0c0c7bcb321b [2023-03-14T23:28:02.916Z] Removing intermediate container 0c0c7bcb321b [2023-03-14T23:28:02.916Z] ---> 275fea98cd0c [2023-03-14T23:28:02.916Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-14T23:28:03.175Z] ---> b4a965288bb1 [2023-03-14T23:28:03.175Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:28:03.175Z] ---> Running in 1117822b6ef0 [2023-03-14T23:28:04.115Z] Removing intermediate container 1117822b6ef0 [2023-03-14T23:28:04.115Z] ---> 25b40076cd2a [2023-03-14T23:28:04.115Z] Step 11/24 : COPY . . [2023-03-14T23:28:04.115Z] ---> cb51c1df9103 [2023-03-14T23:28:04.115Z] Step 12/24 : RUN ${MAKE} [2023-03-14T23:28:04.373Z] ---> Running in 47736139aae6 [2023-03-14T23:28:04.632Z] 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-14T23:28:22.702Z] Removing intermediate container 47736139aae6 [2023-03-14T23:28:22.702Z] ---> 4cf16f11f1f5 [2023-03-14T23:28:22.702Z] Step 13/24 : FROM alpine:3.17 [2023-03-14T23:28:22.702Z] 3.17: Pulling from library/alpine [2023-03-14T23:28:22.702Z] 63b65145d645: Already exists [2023-03-14T23:28:22.702Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T23:28:22.702Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T23:28:22.702Z] ---> b2aa39c304c2 [2023-03-14T23:28:22.702Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-14T23:28:22.702Z] ---> Running in 7aedc71c86a4 [2023-03-14T23:28:22.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T23:28:22.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T23:28:22.702Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T23:28:22.702Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:28:22.702Z] OK: 7 MiB in 16 packages [2023-03-14T23:28:22.702Z] Removing intermediate container 7aedc71c86a4 [2023-03-14T23:28:22.702Z] ---> 75178e9b892f [2023-03-14T23:28:22.702Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-14T23:28:22.702Z] ---> 49d74dda998a [2023-03-14T23:28:22.702Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-14T23:28:22.960Z] ---> 03b11fddbc8b [2023-03-14T23:28:22.960Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-14T23:28:22.960Z] ---> aa1ee329f3d2 [2023-03-14T23:28:22.960Z] Step 18/24 : EXPOSE 59993 [2023-03-14T23:28:23.218Z] ---> Running in 895ea8bae20a [2023-03-14T23:28:23.218Z] Removing intermediate container 895ea8bae20a [2023-03-14T23:28:23.218Z] ---> 74f824373573 [2023-03-14T23:28:23.218Z] Step 19/24 : EXPOSE 161 [2023-03-14T23:28:23.218Z] ---> Running in e1d0e7fef6b2 [2023-03-14T23:28:23.218Z] Removing intermediate container e1d0e7fef6b2 [2023-03-14T23:28:23.218Z] ---> 0de000da85a3 [2023-03-14T23:28:23.218Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-14T23:28:23.476Z] ---> Running in d95e261f2c2f [2023-03-14T23:28:23.476Z] Removing intermediate container d95e261f2c2f [2023-03-14T23:28:23.476Z] ---> f3fb5853c682 [2023-03-14T23:28:23.476Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T23:28:23.476Z] ---> Running in 5cd3997acbfa [2023-03-14T23:28:23.476Z] Removing intermediate container 5cd3997acbfa [2023-03-14T23:28:23.476Z] ---> 9d2effae45ff [2023-03-14T23:28:23.476Z] Step 22/24 : LABEL arch=amd64 [2023-03-14T23:28:23.734Z] ---> Running in 7618b432fda3 [2023-03-14T23:28:23.734Z] Removing intermediate container 7618b432fda3 [2023-03-14T23:28:23.734Z] ---> 4378993b81ad [2023-03-14T23:28:23.734Z] Step 23/24 : LABEL git_sha=06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [2023-03-14T23:28:23.734Z] ---> Running in 6ee611217401 [2023-03-14T23:28:23.734Z] Removing intermediate container 6ee611217401 [2023-03-14T23:28:23.734Z] ---> 04235c009bb0 [2023-03-14T23:28:23.734Z] Step 24/24 : LABEL version=0.0.0 [2023-03-14T23:28:23.734Z] ---> Running in 626c0e05e413 [2023-03-14T23:28:23.993Z] Removing intermediate container 626c0e05e413 [2023-03-14T23:28:23.993Z] ---> aca4de0fcd9d [2023-03-14T23:28:23.993Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T23:28:23.993Z] Successfully built aca4de0fcd9d [2023-03-14T23:28:23.993Z] 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-14T23:28:24.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:28:24.825Z] [2023-03-14T23:28:24.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:28:25.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:28:25.194Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T23:28:25.194Z] 5eb5b503b376: Pulling fs layer [2023-03-14T23:28:25.194Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T23:28:25.194Z] ec43610c2a17: Pulling fs layer [2023-03-14T23:28:25.194Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T23:28:25.194Z] 33b1e0a273af: Pulling fs layer [2023-03-14T23:28:25.194Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T23:28:25.194Z] 2f39f015ded8: Pulling fs layer [2023-03-14T23:28:25.194Z] 3a2ae6a8a46f: Waiting [2023-03-14T23:28:25.194Z] 33b1e0a273af: Waiting [2023-03-14T23:28:25.194Z] 5d3b04190fa2: Waiting [2023-03-14T23:28:25.194Z] 2f39f015ded8: Waiting [2023-03-14T23:28:25.194Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T23:28:25.194Z] 5c69ac0246d0: Download complete [2023-03-14T23:28:25.194Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T23:28:25.194Z] 3a2ae6a8a46f: Download complete [2023-03-14T23:28:25.452Z] 33b1e0a273af: Verifying Checksum [2023-03-14T23:28:25.452Z] 33b1e0a273af: Download complete [2023-03-14T23:28:25.452Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T23:28:25.452Z] 5d3b04190fa2: Download complete [2023-03-14T23:28:25.452Z] ec43610c2a17: Download complete [2023-03-14T23:28:25.452Z] 5eb5b503b376: Verifying Checksum [2023-03-14T23:28:25.452Z] 5eb5b503b376: Download complete [2023-03-14T23:28:26.017Z] 2f39f015ded8: Verifying Checksum [2023-03-14T23:28:26.017Z] 2f39f015ded8: Download complete [2023-03-14T23:28:26.584Z] 5eb5b503b376: Pull complete [2023-03-14T23:28:26.584Z] 5c69ac0246d0: Pull complete [2023-03-14T23:28:27.150Z] ec43610c2a17: Pull complete [2023-03-14T23:28:27.150Z] 3a2ae6a8a46f: Pull complete [2023-03-14T23:28:27.407Z] 33b1e0a273af: Pull complete [2023-03-14T23:28:27.407Z] 5d3b04190fa2: Pull complete [2023-03-14T23:28:31.589Z] 2f39f015ded8: Pull complete [2023-03-14T23:28:31.589Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T23:28:31.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:28:31.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:28:31.788Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2023-03-14T23:28:31.814Z] $ 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-263 -v /w/workspace/gexfoundry_device-snmp-go_PR-263:/w/workspace/gexfoundry_device-snmp-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T23:28:33.492Z] $ docker top 74d638da7e1f90fb55aea11bcff6349e3c8960e0c4800f7b6d2fe414b4ae52d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:28:33.922Z] ---> job-cost.sh [2023-03-14T23:28:33.922Z] lf-activate-venv: SKIPPING [2023-03-14T23:28:33.922Z] INFO: No Stack... [2023-03-14T23:28:34.181Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T23:28:34.442Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T23:28:34.757Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-263/archives/cost.csv [2023-03-14T23:28:34.757Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T23:28:34.797Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] [2023-03-14T23:28:34.802Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] did not exist. Created. [2023-03-14T23:28:34.802Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T23:28:35.185Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T23:28:35.235Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T23:28:35.265Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T23:28:35.340Z] $ docker stop --time=1 74d638da7e1f90fb55aea11bcff6349e3c8960e0c4800f7b6d2fe414b4ae52d6 [2023-03-14T23:28:36.493Z] $ docker rm -f --volumes 74d638da7e1f90fb55aea11bcff6349e3c8960e0c4800f7b6d2fe414b4ae52d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T23:28:39.549Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-283 in /w/workspace/gexfoundry_device-snmp-go_PR-263 [Pipeline] { [Pipeline] ws [2023-03-14T23:28:39.605Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T23:28:39.687Z] Selected Git installation does not exist. Using Default [2023-03-14T23:28:39.687Z] The recommended git tool is: NONE [2023-03-14T23:28:44.952Z] using credential edgex-jenkins-ssh [2023-03-14T23:28:44.971Z] Cloning the remote Git repository [2023-03-14T23:28:45.015Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-14T23:28:45.106Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-03-14T23:28:45.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-14T23:28:45.254Z] > git --version # timeout=10 [2023-03-14T23:28:45.279Z] > git --version # 'git version 2.25.1' [2023-03-14T23:28:45.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:28:45.448Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T23:28:47.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-14T23:28:47.713Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T23:28:49.212Z] Merging remotes/origin/main commit 82433e1744898ef8ca7a6a52854ffd2316e26b0f into PR head commit 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [2023-03-14T23:28:49.487Z] Merge succeeded, producing 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [2023-03-14T23:28:49.488Z] Checking out Revision 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed (PR-263) [2023-03-14T23:28:48.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-14T23:28:48.631Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-14T23:28:48.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:28:48.648Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T23:28:49.233Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T23:28:49.305Z] > git checkout -f 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed # timeout=10 [2023-03-14T23:28:49.395Z] > git remote # timeout=10 [2023-03-14T23:28:49.413Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T23:28:49.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T23:28:49.449Z] > git merge 82433e1744898ef8ca7a6a52854ffd2316e26b0f # timeout=10 [2023-03-14T23:28:49.475Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T23:28:49.495Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T23:28:49.514Z] > git checkout -f 06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed # timeout=10 [2023-03-14T23:28:53.007Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [2023-03-14T23:28:53.067Z] > git --version # timeout=10 [2023-03-14T23:28:53.078Z] > git --version # 'git version 2.25.1' [2023-03-14T23:28:53.090Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:28:54.227Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T23:28:54.227Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T23:28:54.227Z] Dload Upload Total Spent Left Speed [2023-03-14T23:28:54.227Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-03-14T23:28:54.943Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T23:28:55.289Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T23:28:55.289Z] + sudo tee /etc/docker/daemon.new [2023-03-14T23:28:55.289Z] { [2023-03-14T23:28:55.289Z] "registry-mirrors": [ [2023-03-14T23:28:55.289Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T23:28:55.289Z] ], [2023-03-14T23:28:55.289Z] "bip": "10.250.0.254/24", [2023-03-14T23:28:55.289Z] "hosts": [ [2023-03-14T23:28:55.289Z] "tcp://0.0.0.0:5555", [2023-03-14T23:28:55.289Z] "unix:///var/run/docker.sock" [2023-03-14T23:28:55.289Z] ], [2023-03-14T23:28:55.289Z] "mtu": 1458, [2023-03-14T23:28:55.289Z] "selinux-enabled": true, [2023-03-14T23:28:55.289Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T23:28:55.289Z] } [Pipeline] sh [2023-03-14T23:28:55.633Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T23:28:55.976Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:29:14.311Z] provisioning config files... [2023-03-14T23:29:14.345Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config16727391743133440216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:29:14.737Z] ---> docker-login.sh [2023-03-14T23:29:14.738Z] nexus3.edgexfoundry.org:10001 [2023-03-14T23:29:15.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:29:15.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:29:15.328Z] Configure a credential helper to remove this warning. See [2023-03-14T23:29:15.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:29:15.328Z] [2023-03-14T23:29:15.328Z] Login Succeeded [2023-03-14T23:29:15.328Z] nexus3.edgexfoundry.org:10002 [2023-03-14T23:29:15.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:29:15.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:29:15.600Z] Configure a credential helper to remove this warning. See [2023-03-14T23:29:15.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:29:15.600Z] [2023-03-14T23:29:15.600Z] Login Succeeded [2023-03-14T23:29:15.600Z] nexus3.edgexfoundry.org:10003 [2023-03-14T23:29:15.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:29:16.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:29:16.139Z] Configure a credential helper to remove this warning. See [2023-03-14T23:29:16.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:29:16.139Z] [2023-03-14T23:29:16.139Z] Login Succeeded [2023-03-14T23:29:16.139Z] nexus3.edgexfoundry.org:10004 [2023-03-14T23:29:16.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:29:16.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:29:16.411Z] Configure a credential helper to remove this warning. See [2023-03-14T23:29:16.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:29:16.411Z] [2023-03-14T23:29:16.411Z] Login Succeeded [2023-03-14T23:29:16.411Z] docker.io [2023-03-14T23:29:16.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T23:29:16.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T23:29:16.950Z] Configure a credential helper to remove this warning. See [2023-03-14T23:29:16.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T23:29:16.950Z] [2023-03-14T23:29:16.950Z] Login Succeeded [2023-03-14T23:29:16.950Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T23:29:16.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T23:29:17.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:29:17.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T23:29:17.439Z] ========================================================= [2023-03-14T23:29:17.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T23:29:17.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:29:17.931Z] + 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-14T23:29:18.200Z] Sending build context to Docker daemon 2.986MB [2023-03-14T23:29:18.200Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:29:18.200Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T23:29:18.471Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T23:29:18.471Z] af6eaf76a39c: Pulling fs layer [2023-03-14T23:29:18.471Z] 55522c791124: Pulling fs layer [2023-03-14T23:29:18.471Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T23:29:18.471Z] 169dfbe0d373: Pulling fs layer [2023-03-14T23:29:18.471Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T23:29:18.471Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T23:29:18.471Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T23:29:18.471Z] e1ff8fa3b103: Waiting [2023-03-14T23:29:18.471Z] 52ebb69f0ebf: Waiting [2023-03-14T23:29:18.471Z] 5abe8eddf0d5: Waiting [2023-03-14T23:29:18.471Z] 169dfbe0d373: Waiting [2023-03-14T23:29:18.471Z] 55522c791124: Verifying Checksum [2023-03-14T23:29:18.471Z] 55522c791124: Download complete [2023-03-14T23:29:18.471Z] 169dfbe0d373: Download complete [2023-03-14T23:29:18.471Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T23:29:18.471Z] e1ff8fa3b103: Download complete [2023-03-14T23:29:18.471Z] af6eaf76a39c: Verifying Checksum [2023-03-14T23:29:18.471Z] af6eaf76a39c: Download complete [2023-03-14T23:29:19.463Z] af6eaf76a39c: Pull complete [2023-03-14T23:29:19.463Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T23:29:19.463Z] 5abe8eddf0d5: Download complete [2023-03-14T23:29:20.051Z] 55522c791124: Pull complete [2023-03-14T23:29:21.020Z] ce5c4a1c91eb: Download complete [2023-03-14T23:29:21.020Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T23:29:21.020Z] 52ebb69f0ebf: Download complete [2023-03-14T23:29:33.365Z] ce5c4a1c91eb: Pull complete [2023-03-14T23:29:33.365Z] 169dfbe0d373: Pull complete [2023-03-14T23:29:33.365Z] e1ff8fa3b103: Pull complete [2023-03-14T23:29:40.018Z] 52ebb69f0ebf: Pull complete [2023-03-14T23:29:41.442Z] 5abe8eddf0d5: Pull complete [2023-03-14T23:29:41.442Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T23:29:41.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T23:29:41.442Z] ---> 6cb57ee374ae [2023-03-14T23:29:41.442Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:29:43.391Z] ---> Running in ca636bcb614d [2023-03-14T23:29:43.391Z] Removing intermediate container ca636bcb614d [2023-03-14T23:29:43.391Z] ---> a93798595d1f [2023-03-14T23:29:43.391Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:29:43.391Z] ---> Running in e404ac3e681b [2023-03-14T23:29:43.659Z] Removing intermediate container e404ac3e681b [2023-03-14T23:29:43.659Z] ---> 224feb077e14 [2023-03-14T23:29:43.659Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:29:43.659Z] ---> Running in 88091d09a1fb [2023-03-14T23:29:43.928Z] Removing intermediate container 88091d09a1fb [2023-03-14T23:29:43.928Z] ---> c3b4655b860b [2023-03-14T23:29:43.928Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:29:44.198Z] ---> Running in 81339eb98d90 [2023-03-14T23:29:44.463Z] Removing intermediate container 81339eb98d90 [2023-03-14T23:29:44.463Z] ---> 904fe68afd49 [2023-03-14T23:29:44.463Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:29:44.463Z] ---> Running in c081be4fb882 [2023-03-14T23:29:45.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T23:29:46.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T23:29:46.981Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T23:29:47.249Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T23:29:47.249Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T23:29:47.249Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T23:29:47.249Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:29:47.249Z] OK: 268 MiB in 57 packages [2023-03-14T23:29:48.208Z] Removing intermediate container c081be4fb882 [2023-03-14T23:29:48.208Z] ---> 4b90755e6435 [2023-03-14T23:29:48.208Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-14T23:29:48.475Z] ---> Running in 1f2884129d7e [2023-03-14T23:29:48.743Z] Removing intermediate container 1f2884129d7e [2023-03-14T23:29:48.743Z] ---> 3b6667e32bd9 [2023-03-14T23:29:48.743Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T23:29:49.012Z] ---> 03683b3ba2cd [2023-03-14T23:29:49.012Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:29:49.280Z] ---> Running in ca45823d8956 [2023-03-14T23:30:57.143Z] Removing intermediate container ca45823d8956 [2023-03-14T23:30:57.143Z] ---> fd8ed7fa2363 [2023-03-14T23:30:57.143Z] Step 11/12 : COPY . . [2023-03-14T23:30:57.143Z] ---> e8b4fbb90ca3 [2023-03-14T23:30:57.143Z] Step 12/12 : RUN ${MAKE} [2023-03-14T23:30:57.143Z] ---> Running in 55facec7f1b6 [2023-03-14T23:30:57.143Z] noop [2023-03-14T23:30:57.143Z] Removing intermediate container 55facec7f1b6 [2023-03-14T23:30:57.143Z] ---> 68b49e581898 [2023-03-14T23:30:57.143Z] Successfully built 68b49e581898 [2023-03-14T23:30:57.143Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:30:57.611Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T23:30:57.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:30:57.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container [2023-03-14T23:30:57.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T23:30:59.141Z] $ docker top 254925d55baee0929ee4928722cefff0416542234145857b26c8ca8541f0aba9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:31:00.010Z] + go version [2023-03-14T23:31:00.011Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T23:31:00.049Z] $ docker stop --time=1 254925d55baee0929ee4928722cefff0416542234145857b26c8ca8541f0aba9 [2023-03-14T23:31:01.690Z] $ docker rm -f --volumes 254925d55baee0929ee4928722cefff0416542234145857b26c8ca8541f0aba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:31:02.507Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T23:31:02.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:31:02.754Z] prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container [2023-03-14T23:31:02.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T23:31:03.988Z] $ docker top 46a0568eb35fc5f8f9db57ccaa4449011625c88f83c5616a17b5f6445d0d647d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:31:04.536Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T23:31:05.187Z] + make test [2023-03-14T23:31:05.187Z] go test ./... -coverprofile=coverage.out [2023-03-14T23:31:37.442Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-14T23:33:29.098Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-14T23:33:29.098Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2023-03-14T23:33:29.098Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T23:33:29.098Z] go vet ./... [2023-03-14T23:34:07.993Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T23:34:07.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T23:34:07.993Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T23:34:08.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T23:34:08.062Z] $ docker stop --time=1 46a0568eb35fc5f8f9db57ccaa4449011625c88f83c5616a17b5f6445d0d647d [2023-03-14T23:34:09.910Z] $ docker rm -f --volumes 46a0568eb35fc5f8f9db57ccaa4449011625c88f83c5616a17b5f6445d0d647d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T23:34:11.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T23:34:11.097Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T23:34:11.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T23:34:12.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T23:34:12.445Z] + ls -al . [2023-03-14T23:34:12.445Z] total 168 [2023-03-14T23:34:12.445Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:31 . [2023-03-14T23:34:12.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:28 .. [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 14 23:28 .dockerignore [2023-03-14T23:34:12.445Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:28 .git [2023-03-14T23:34:12.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:28 .github [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 14 23:28 .gitignore [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:28 .golangci.yml [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 14 23:28 Attribution.txt [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 14 23:28 CHANGELOG.md [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 14 23:28 Dockerfile [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:28 GOVERNANCE.md [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 14 23:28 Jenkinsfile [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:28 LICENSE [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 14 23:28 Makefile [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 23:28 OWNERS.md [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 14 23:28 README.md [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:26 VERSION [2023-03-14T23:34:12.445Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:28 bin [2023-03-14T23:34:12.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:28 cmd [2023-03-14T23:34:12.445Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 14 23:33 coverage.out [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 14 23:28 go.mod [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 14 23:28 go.sum [2023-03-14T23:34:12.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:28 internal [2023-03-14T23:34:12.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:28 snap [2023-03-14T23:34:12.445Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 14 23:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:34:12.868Z] + 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=06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed --label arch=arm64 --label version=0.0.0 . [2023-03-14T23:34:13.137Z] Sending build context to Docker daemon 2.995MB [2023-03-14T23:34:13.137Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T23:34:13.137Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-14T23:34:13.137Z] ---> 68b49e581898 [2023-03-14T23:34:13.137Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-14T23:34:14.123Z] ---> Running in c04043ec41d0 [2023-03-14T23:34:14.408Z] Removing intermediate container c04043ec41d0 [2023-03-14T23:34:14.408Z] ---> 841c3afe13f1 [2023-03-14T23:34:14.408Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T23:34:14.685Z] ---> Running in 94cf3093b91c [2023-03-14T23:34:14.955Z] Removing intermediate container 94cf3093b91c [2023-03-14T23:34:14.955Z] ---> 8bb6f6d21fa0 [2023-03-14T23:34:14.955Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T23:34:14.955Z] ---> Running in e4b91f8e30b8 [2023-03-14T23:34:15.223Z] Removing intermediate container e4b91f8e30b8 [2023-03-14T23:34:15.223Z] ---> 5ecdb790828b [2023-03-14T23:34:15.223Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T23:34:15.223Z] ---> Running in 98a76bc20153 [2023-03-14T23:34:15.493Z] Removing intermediate container 98a76bc20153 [2023-03-14T23:34:15.493Z] ---> 8bbc5eeeeb9d [2023-03-14T23:34:15.493Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T23:34:15.771Z] ---> Running in 31e9db834d16 [2023-03-14T23:34:16.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T23:34:17.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T23:34:18.286Z] OK: 268 MiB in 57 packages [2023-03-14T23:34:18.872Z] Removing intermediate container 31e9db834d16 [2023-03-14T23:34:18.872Z] ---> b5e963b9c59d [2023-03-14T23:34:18.872Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-14T23:34:19.140Z] ---> Running in 0c3168087563 [2023-03-14T23:34:19.407Z] Removing intermediate container 0c3168087563 [2023-03-14T23:34:19.407Z] ---> 0b235d67cce0 [2023-03-14T23:34:19.407Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-14T23:34:19.674Z] ---> 730b3576ff8d [2023-03-14T23:34:19.674Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T23:34:19.944Z] ---> Running in ab44771d470c [2023-03-14T23:34:22.532Z] Removing intermediate container ab44771d470c [2023-03-14T23:34:22.532Z] ---> f6802eb41bee [2023-03-14T23:34:22.532Z] Step 11/24 : COPY . . [2023-03-14T23:34:23.118Z] ---> 125653c747e5 [2023-03-14T23:34:23.118Z] Step 12/24 : RUN ${MAKE} [2023-03-14T23:34:23.388Z] ---> Running in 04fcbdaee9c3 [2023-03-14T23:34:24.366Z] 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-14T23:36:46.082Z] Removing intermediate container 04fcbdaee9c3 [2023-03-14T23:36:46.082Z] ---> bbc01aea8e7d [2023-03-14T23:36:46.082Z] Step 13/24 : FROM alpine:3.17 [2023-03-14T23:36:46.082Z] 3.17: Pulling from library/alpine [2023-03-14T23:36:46.082Z] af6eaf76a39c: Already exists [2023-03-14T23:36:46.082Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T23:36:46.082Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T23:36:46.082Z] ---> d74e625d9115 [2023-03-14T23:36:46.082Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-14T23:36:46.082Z] ---> Running in cca99b8e7efc [2023-03-14T23:36:46.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T23:36:46.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T23:36:46.082Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T23:36:46.082Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T23:36:46.082Z] OK: 8 MiB in 16 packages [2023-03-14T23:36:46.082Z] Removing intermediate container cca99b8e7efc [2023-03-14T23:36:46.082Z] ---> 960e2c9a337f [2023-03-14T23:36:46.082Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-14T23:36:46.082Z] ---> c01bc9e02617 [2023-03-14T23:36:46.082Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-14T23:36:46.082Z] ---> e1d3e3019f44 [2023-03-14T23:36:46.082Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-14T23:36:46.082Z] ---> 5e097e6bf143 [2023-03-14T23:36:46.082Z] Step 18/24 : EXPOSE 59993 [2023-03-14T23:36:46.082Z] ---> Running in 865ecbc402ac [2023-03-14T23:36:46.082Z] Removing intermediate container 865ecbc402ac [2023-03-14T23:36:46.082Z] ---> 7cb6c49d09b9 [2023-03-14T23:36:46.082Z] Step 19/24 : EXPOSE 161 [2023-03-14T23:36:46.083Z] ---> Running in 54a96eef2918 [2023-03-14T23:36:46.083Z] Removing intermediate container 54a96eef2918 [2023-03-14T23:36:46.083Z] ---> 2d9dc8728d99 [2023-03-14T23:36:46.083Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-14T23:36:46.083Z] ---> Running in 2e3d9448d271 [2023-03-14T23:36:46.083Z] Removing intermediate container 2e3d9448d271 [2023-03-14T23:36:46.083Z] ---> 85c71364c1ff [2023-03-14T23:36:46.083Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T23:36:46.083Z] ---> Running in f1b219757f39 [2023-03-14T23:36:46.083Z] Removing intermediate container f1b219757f39 [2023-03-14T23:36:46.083Z] ---> 2e5d52c0081d [2023-03-14T23:36:46.083Z] Step 22/24 : LABEL arch=arm64 [2023-03-14T23:36:46.083Z] ---> Running in b7901b9ae78c [2023-03-14T23:36:46.083Z] Removing intermediate container b7901b9ae78c [2023-03-14T23:36:46.083Z] ---> 14cdf47f7330 [2023-03-14T23:36:46.083Z] Step 23/24 : LABEL git_sha=06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed [2023-03-14T23:36:46.083Z] ---> Running in 6fd261bb3ad9 [2023-03-14T23:36:46.083Z] Removing intermediate container 6fd261bb3ad9 [2023-03-14T23:36:46.083Z] ---> e68117209cf1 [2023-03-14T23:36:46.083Z] Step 24/24 : LABEL version=0.0.0 [2023-03-14T23:36:46.083Z] ---> Running in 4ec4122ab12b [2023-03-14T23:36:46.083Z] Removing intermediate container 4ec4122ab12b [2023-03-14T23:36:46.083Z] ---> b3f4fcdddb44 [2023-03-14T23:36:46.083Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T23:36:46.083Z] Successfully built b3f4fcdddb44 [2023-03-14T23:36:46.083Z] 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-14T23:36:46.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T23:36:46.886Z] [2023-03-14T23:36:46.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:36:47.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T23:36:49.873Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T23:36:49.873Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T23:36:49.873Z] 04944245beec: Pulling fs layer [2023-03-14T23:36:49.873Z] 699f458cf7ca: Pulling fs layer [2023-03-14T23:36:49.873Z] 765212b225bb: Pulling fs layer [2023-03-14T23:36:49.873Z] f23df028b6ca: Pulling fs layer [2023-03-14T23:36:49.873Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T23:36:49.873Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T23:36:49.873Z] f23df028b6ca: Waiting [2023-03-14T23:36:49.873Z] d65c8cfc05b1: Waiting [2023-03-14T23:36:49.873Z] 2437ff75d9bd: Waiting [2023-03-14T23:36:49.873Z] 765212b225bb: Waiting [2023-03-14T23:36:49.873Z] 04944245beec: Verifying Checksum [2023-03-14T23:36:49.873Z] 04944245beec: Download complete [2023-03-14T23:36:49.873Z] 765212b225bb: Verifying Checksum [2023-03-14T23:36:49.873Z] 765212b225bb: Download complete [2023-03-14T23:36:50.153Z] f23df028b6ca: Verifying Checksum [2023-03-14T23:36:50.153Z] f23df028b6ca: Download complete [2023-03-14T23:36:50.153Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T23:36:50.153Z] d65c8cfc05b1: Download complete [2023-03-14T23:36:50.153Z] 699f458cf7ca: Verifying Checksum [2023-03-14T23:36:50.153Z] 699f458cf7ca: Download complete [2023-03-14T23:36:50.737Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T23:36:50.737Z] 8998bd30e6a1: Download complete [2023-03-14T23:36:52.685Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T23:36:52.685Z] 2437ff75d9bd: Download complete [2023-03-14T23:36:54.631Z] 8998bd30e6a1: Pull complete [2023-03-14T23:36:54.898Z] 04944245beec: Pull complete [2023-03-14T23:36:56.304Z] 699f458cf7ca: Pull complete [2023-03-14T23:36:56.584Z] 765212b225bb: Pull complete [2023-03-14T23:36:57.168Z] f23df028b6ca: Pull complete [2023-03-14T23:36:57.436Z] d65c8cfc05b1: Pull complete [2023-03-14T23:37:12.449Z] 2437ff75d9bd: Pull complete [2023-03-14T23:37:12.449Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T23:37:12.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T23:37:12.449Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:37:12.748Z] prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container [2023-03-14T23:37:12.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T23:37:15.531Z] $ docker top d55f8bbcb478ac80006ced6d17c2074db6480298e015b5ad3bb42312493a06c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:37:16.425Z] ---> job-cost.sh [2023-03-14T23:37:16.425Z] lf-activate-venv: SKIPPING [2023-03-14T23:37:16.425Z] INFO: No Stack... [2023-03-14T23:37:17.007Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T23:37:17.592Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T23:37:18.251Z] + cut -d, -f6 [2023-03-14T23:37:18.252Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2023-03-14T23:37:18.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] [2023-03-14T23:37:18.339Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] did not exist. Created. [2023-03-14T23:37:18.339Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T23:37:18.747Z] /w/workspace/device-snmp-go/1@tmp/durable-e99200fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T23:37:19.418Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T23:37:19.451Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T23:37:19.497Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T23:37:19.522Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-263-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T23:37:19.603Z] $ docker stop --time=1 d55f8bbcb478ac80006ced6d17c2074db6480298e015b5ad3bb42312493a06c7 [2023-03-14T23:37:21.125Z] $ docker rm -f --volumes d55f8bbcb478ac80006ced6d17c2074db6480298e015b5ad3bb42312493a06c7 [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-14T23:37:22.095Z] provisioning config files... [2023-03-14T23:37:22.102Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/config13719440042912325742tmp [Pipeline] { [Pipeline] sh [2023-03-14T23:37:22.432Z] + set +x [2023-03-14T23:37:22.432Z] + curl -s https://codecov.io/bash [2023-03-14T23:37:22.432Z] + bash -s -- [2023-03-14T23:37:22.432Z] [2023-03-14T23:37:22.432Z] _____ _ [2023-03-14T23:37:22.432Z] / ____| | | [2023-03-14T23:37:22.432Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T23:37:22.432Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T23:37:22.432Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T23:37:22.432Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T23:37:22.432Z] Bash-1.0.6 [2023-03-14T23:37:22.432Z] [2023-03-14T23:37:22.432Z] [2023-03-14T23:37:22.432Z] ==> git version 2.25.1 found [2023-03-14T23:37:22.432Z] ==> 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-14T23:37:22.432Z] Release-Date: 2020-01-08 [2023-03-14T23:37:22.433Z] 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-14T23:37:22.433Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T23:37:22.433Z] ==> Jenkins CI detected. [2023-03-14T23:37:22.433Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-263 [2023-03-14T23:37:22.433Z] project root: . [2023-03-14T23:37:22.433Z] --> token set from env [2023-03-14T23:37:22.433Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T23:37:22.433Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T23:37:22.433Z] ==> Python coveragepy not found [2023-03-14T23:37:22.433Z] ==> Searching for coverage reports in: [2023-03-14T23:37:22.433Z] + . [2023-03-14T23:37:22.433Z] -> Found 1 reports [2023-03-14T23:37:22.433Z] ==> Detecting git/mercurial file structure [2023-03-14T23:37:22.433Z] ==> Reading reports [2023-03-14T23:37:22.433Z] + ./coverage.out bytes=7631 [2023-03-14T23:37:22.433Z] ==> Appending adjustments [2023-03-14T23:37:22.433Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T23:37:22.692Z] + Found adjustments [2023-03-14T23:37:22.692Z] ==> Gzipping contents [2023-03-14T23:37:22.692Z] 4.0K /tmp/codecov.OLdb8r.gz [2023-03-14T23:37:22.692Z] ==> Uploading reports [2023-03-14T23:37:22.692Z] url: https://codecov.io [2023-03-14T23:37:22.692Z] query: branch=PR-263&commit=06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-263%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=263&job=&cmd_args= [2023-03-14T23:37:22.692Z] -> Pinging Codecov [2023-03-14T23:37:22.692Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-263&commit=06818cd3d7f7eb1dd7364e6ed4cfee961f8727ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-263%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=263&job=&cmd_args= [2023-03-14T23:37:34.907Z] upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure [2023-03-14T23:37:34.907Z] 503 [2023-03-14T23:37:34.907Z] ==> Uploading to Codecov [2023-03-14T23:37:34.907Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T23:37:34.907Z] Dload Upload Total Spent Left Speed [2023-03-14T23:37:34.907Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 100 91 100 1507 1654 27400 --:--:-- --:--:-- --:--:-- 29054 [2023-03-14T23:37:34.907Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries [2023-03-14T23:37:34.907Z] Warning: left. [2023-03-14T23:37:38.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 1505 0:00:01 0:00:01 --:--:-- 1505 100 1507 0 0 100 1507 0 753 0:00:02 0:00:02 --:--:-- 753 100 1507 0 0 100 1507 0 501 0:00:03 0:00:03 --:--:-- 501 100 1598 100 91 100 1507 29 496 0:00:03 0:00:03 --:--:-- 526 [2023-03-14T23:37:38.155Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries [2023-03-14T23:37:38.155Z] Warning: left. [2023-03-14T23:37:43.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 1505 0:00:01 0:00:01 --:--:-- 1505 100 1507 0 0 100 1507 0 752 0:00:02 0:00:02 --:--:-- 753 100 1507 0 0 100 1507 0 501 0:00:03 0:00:03 --:--:-- 501 100 1598 100 91 100 1507 29 496 0:00:03 0:00:03 --:--:-- 526 [2023-03-14T23:37:43.119Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries [2023-03-14T23:37:43.119Z] Warning: left. [2023-03-14T23:37:46.215Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 1503 0:00:01 0:00:01 --:--:-- 1503 100 1598 100 91 100 1507 80 1334 0:00:01 0:00:01 --:--:-- 1415 [2023-03-14T23:37:46.215Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries [2023-03-14T23:37:46.215Z] Warning: left. [2023-03-14T23:37:51.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 1505 0:00:01 0:00:01 --:--:-- 1505 100 1507 0 0 100 1507 0 753 0:00:02 0:00:02 --:--:-- 753 100 1507 0 0 100 1507 0 501 0:00:03 0:00:03 --:--:-- 501 100 1598 100 91 100 1507 29 496 0:00:03 0:00:03 --:--:-- 526 [2023-03-14T23:37:51.358Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries [2023-03-14T23:37:51.358Z] Warning: left. [2023-03-14T23:37:56.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 1505 0:00:01 0:00:01 --:--:-- 1505 100 1507 0 0 100 1507 0 753 0:00:02 0:00:02 --:--:-- 753 100 1507 0 0 100 1507 0 501 0:00:03 0:00:03 --:--:-- 501 100 1598 100 91 100 1507 30 497 0:00:03 0:00:03 --:--:-- 527 [2023-03-14T23:37:56.327Z] upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure [Pipeline] } [2023-03-14T23:37:56.355Z] 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-14T23:37:58.071Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-263/archives ] [2023-03-14T23:37:58.071Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-263/archives [2023-03-14T23:37:58.071Z] total 16 [2023-03-14T23:37:58.071Z] drwxr-xr-x 3 root root 4096 Mar 14 23:28 . [2023-03-14T23:37:58.071Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:28 .. [2023-03-14T23:37:58.071Z] drwxr-xr-x 2 root root 4096 Mar 14 23:28 cost [2023-03-14T23:37:58.071Z] -rw-r--r-- 1 root root 86 Mar 14 23:28 cost.csv [2023-03-14T23:37:58.071Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-263/archives [2023-03-14T23:37:58.071Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-263/archives [2023-03-14T23:37:58.071Z] total 16 [2023-03-14T23:37:58.071Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:28 . [2023-03-14T23:37:58.071Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:28 .. [2023-03-14T23:37:58.071Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 23:28 cost [2023-03-14T23:37:58.071Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 23:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:37:58.401Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:37:59.293Z] ---> package-listing.sh [2023-03-14T23:37:59.293Z] ++ facter osfamily [2023-03-14T23:37:59.293Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T23:37:59.551Z] + OS_FAMILY=debian [2023-03-14T23:37:59.551Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-263 [2023-03-14T23:37:59.551Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T23:37:59.551Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T23:37:59.551Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T23:37:59.551Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T23:37:59.551Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-263 ']' [2023-03-14T23:37:59.551Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T23:37:59.551Z] + case "${OS_FAMILY}" in [2023-03-14T23:37:59.551Z] + dpkg -l [2023-03-14T23:37:59.551Z] + grep '^ii' [2023-03-14T23:37:59.551Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T23:37:59.551Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T23:37:59.551Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T23:37:59.551Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-263 ']' [2023-03-14T23:37:59.551Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-263/archives/ [2023-03-14T23:37:59.551Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-263/archives/ [Pipeline] echo [2023-03-14T23:37:59.586Z] 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-263/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T23:37:59.873Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T23:38:00.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T23:38:00.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T23:38:00.627Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2023-03-14T23:38:00.654Z] $ 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-263/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-263 -v /w/workspace/gexfoundry_device-snmp-go_PR-263:/w/workspace/gexfoundry_device-snmp-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-263@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-263@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-14T23:38:00.858Z] $ docker top 67b59da722bc29a6f1c5c8dba5fd60263411dc44590d375fa58c0c822938863d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T23:38:01.241Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T23:38:01.544Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T23:38:01.847Z] + ls /var/log/sa-host [2023-03-14T23:38:01.847Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T23:38:01.970Z] provisioning config files... [2023-03-14T23:38:01.978Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-263@tmp/config9608414339145221607tmp [Pipeline] { [Pipeline] echo [2023-03-14T23:38:02.021Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:38:02.329Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T23:38:02.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:38:02.754Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T23:38:02.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:38:03.097Z] ---> sudo-logs.sh [2023-03-14T23:38:03.097Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T23:38:03.189Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:38:03.499Z] ---> job-cost.sh [2023-03-14T23:38:03.499Z] lf-activate-venv: SKIPPING [2023-03-14T23:38:03.499Z] DEBUG: total: 0.2199999988079071 [2023-03-14T23:38:03.499Z] INFO: Retrieving Stack Cost... [2023-03-14T23:38:03.758Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T23:38:04.325Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T23:38:04.357Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T23:38:04.665Z] ---> logs-deploy.sh [2023-03-14T23:38:04.666Z] lf-activate-venv: SKIPPING [2023-03-14T23:38:04.666Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-263/1 [2023-03-14T23:38:04.666Z] INFO: archiving workspace using pattern(s): [2023-03-14T23:38:05.602Z] Archives upload complete. [2023-03-14T23:38:05.602Z] INFO: archiving logs to Nexus