Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84aa847cf3dcf870ecca60d2b8a6e81643f8d572+d0a0e99d902e45b7e17db09c4331e4d14954addb (4012e369cf551891457ac2171f5d1ef42cd5318d) 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-ssh8334933382550898317.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh7584391073720115285.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-183/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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12932563334593361424.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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6736852105880394792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh9432743445290791662.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-183/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-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6771394287596306338.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-19778’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19780 in /w/workspace/gexfoundry_device-snmp-go_PR-183 [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-183 # 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 d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 Merge succeeded, producing 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 Checking out Revision 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 (PR-183) > 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/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T22:12:56.209Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T22:12:56.380Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T22:12:56.483Z] ========================================================= [2022-07-12T22:12:56.483Z] EdgeX Global Pipelines Version Info [2022-07-12T22:12:56.483Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:12:57.279Z] ------------------- [2022-07-12T22:12:57.279Z] stable info: [2022-07-12T22:12:57.279Z] ------------------- [2022-07-12T22:12:57.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T22:12:57.279Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T22:12:57.279Z] Message: update stable to v1.0.237 [2022-07-12T22:12:57.854Z] ------------------- [2022-07-12T22:12:57.854Z] experimental info: [2022-07-12T22:12:57.854Z] ------------------- [2022-07-12T22:12:57.854Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T22:12:57.854Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T22:12:57.854Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T22:12:58.255Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-12T22:12:58.296Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-12T22:12:58.335Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T22:12:58.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T22:12:58.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T22:12:58.447Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T22:12:58.480Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T22:12:58.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T22:12:58.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T22:12:58.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T22:12:58.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T22:12:58.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-12T22:12:58.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T22:12:58.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T22:12:58.767Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T22:12:58.807Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T22:12:58.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T22:12:58.886Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T22:12:58.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T22:12:58.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T22:12:59.002Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T22:12:59.039Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T22:12:59.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T22:12:59.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T22:12:59.147Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T22:12:59.187Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T22:12:59.230Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T22:12:59.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo [2022-07-12T22:12:59.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo [2022-07-12T22:12:59.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo [2022-07-12T22:12:59.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo [2022-07-12T22:12:59.411Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84aa847 [Pipeline] echo [2022-07-12T22:12:59.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T22:12:59.546Z] provisioning config files... [2022-07-12T22:12:59.560Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config1592341511007008004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:12:59.915Z] ---> docker-login.sh [2022-07-12T22:12:59.915Z] nexus3.edgexfoundry.org:10001 [2022-07-12T22:13:00.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:00.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:00.177Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:00.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:00.177Z] [2022-07-12T22:13:00.177Z] Login Succeeded [2022-07-12T22:13:00.177Z] nexus3.edgexfoundry.org:10002 [2022-07-12T22:13:00.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:00.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:00.439Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:00.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:00.439Z] [2022-07-12T22:13:00.439Z] Login Succeeded [2022-07-12T22:13:00.439Z] nexus3.edgexfoundry.org:10003 [2022-07-12T22:13:00.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:00.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:00.439Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:00.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:00.439Z] [2022-07-12T22:13:00.439Z] Login Succeeded [2022-07-12T22:13:00.701Z] nexus3.edgexfoundry.org:10004 [2022-07-12T22:13:00.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:00.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:00.701Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:00.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:00.701Z] [2022-07-12T22:13:00.701Z] Login Succeeded [2022-07-12T22:13:00.701Z] docker.io [2022-07-12T22:13:00.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:01.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:01.272Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:01.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:01.272Z] [2022-07-12T22:13:01.272Z] Login Succeeded [2022-07-12T22:13:01.272Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T22:13:01.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T22:13:01.902Z] + git rev-list -1 --merges 84aa847cf3dcf870ecca60d2b8a6e81643f8d572~1..84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo [2022-07-12T22:13:01.957Z] -----------> git rev-list -1 --merges 84aa847cf3dcf870ecca60d2b8a6e81643f8d572~1..84aa847cf3dcf870ecca60d2b8a6e81643f8d572 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [false] [Pipeline] sh [2022-07-12T22:13:02.266Z] + git log --format=format:%s -1 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo [2022-07-12T22:13:02.298Z] ========================================================= [2022-07-12T22:13:02.298Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T22:13:02.298Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T22:13:02.735Z] + git log --format=format:%s -1 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo [2022-07-12T22:13:02.768Z] [semverPrep] GIT_COMMIT: 84aa847cf3dcf870ecca60d2b8a6e81643f8d572, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-12T22:13:02.799Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T22:13:03.174Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T22:13:03.174Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T22:13:03.174Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T22:13:03.174Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T22:13:03.174Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T22:13:03.174Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T22:13:03.174Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:13:03.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T22:13:03.604Z] [2022-07-12T22:13:03.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:13:03.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T22:13:03.980Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T22:13:03.980Z] b85a868b505f: Pulling fs layer [2022-07-12T22:13:03.980Z] e2be974225ed: Pulling fs layer [2022-07-12T22:13:03.980Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T22:13:03.980Z] 988bab9f4d93: Pulling fs layer [2022-07-12T22:13:03.980Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T22:13:03.980Z] eaf3925da568: Pulling fs layer [2022-07-12T22:13:03.980Z] bab4dde63d76: Pulling fs layer [2022-07-12T22:13:03.980Z] bde34c3a00c8: Pulling fs layer [2022-07-12T22:13:03.980Z] b352a97aabf1: Pulling fs layer [2022-07-12T22:13:03.980Z] 4872d77fe225: Pulling fs layer [2022-07-12T22:13:03.980Z] 5851b861e8e6: Pulling fs layer [2022-07-12T22:13:03.980Z] 988bab9f4d93: Waiting [2022-07-12T22:13:03.980Z] 1469e6f7b9e6: Waiting [2022-07-12T22:13:03.980Z] b352a97aabf1: Waiting [2022-07-12T22:13:03.980Z] eaf3925da568: Waiting [2022-07-12T22:13:03.980Z] 4872d77fe225: Waiting [2022-07-12T22:13:03.980Z] bab4dde63d76: Waiting [2022-07-12T22:13:03.980Z] bde34c3a00c8: Waiting [2022-07-12T22:13:03.980Z] e2be974225ed: Verifying Checksum [2022-07-12T22:13:03.980Z] e2be974225ed: Download complete [2022-07-12T22:13:03.980Z] 988bab9f4d93: Verifying Checksum [2022-07-12T22:13:03.980Z] 988bab9f4d93: Download complete [2022-07-12T22:13:03.980Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T22:13:03.980Z] 339a4e72a1f5: Download complete [2022-07-12T22:13:03.980Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T22:13:03.980Z] 1469e6f7b9e6: Download complete [2022-07-12T22:13:04.240Z] eaf3925da568: Download complete [2022-07-12T22:13:04.240Z] bde34c3a00c8: Verifying Checksum [2022-07-12T22:13:04.240Z] bde34c3a00c8: Download complete [2022-07-12T22:13:04.240Z] b352a97aabf1: Verifying Checksum [2022-07-12T22:13:04.240Z] b352a97aabf1: Download complete [2022-07-12T22:13:04.240Z] 4872d77fe225: Verifying Checksum [2022-07-12T22:13:04.240Z] 4872d77fe225: Download complete [2022-07-12T22:13:04.240Z] 5851b861e8e6: Download complete [2022-07-12T22:13:04.240Z] b85a868b505f: Download complete [2022-07-12T22:13:04.500Z] bab4dde63d76: Verifying Checksum [2022-07-12T22:13:04.500Z] bab4dde63d76: Download complete [2022-07-12T22:13:05.887Z] b85a868b505f: Pull complete [2022-07-12T22:13:05.887Z] e2be974225ed: Pull complete [2022-07-12T22:13:06.456Z] 339a4e72a1f5: Pull complete [2022-07-12T22:13:06.456Z] 988bab9f4d93: Pull complete [2022-07-12T22:13:06.716Z] 1469e6f7b9e6: Pull complete [2022-07-12T22:13:06.716Z] eaf3925da568: Pull complete [2022-07-12T22:13:09.263Z] bab4dde63d76: Pull complete [2022-07-12T22:13:09.263Z] bde34c3a00c8: Pull complete [2022-07-12T22:13:09.263Z] b352a97aabf1: Pull complete [2022-07-12T22:13:09.263Z] 4872d77fe225: Pull complete [2022-07-12T22:13:09.263Z] 5851b861e8e6: Pull complete [2022-07-12T22:13:09.263Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T22:13:09.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T22:13:09.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:13:09.488Z] prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container [2022-07-12T22:13:09.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T22:13:10.881Z] $ docker top 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 -eo pid,comm [2022-07-12T22:13:10.957Z] 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). [2022-07-12T22:13:10.957Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T22:13:11.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T22:13:11.073Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T22:13:11.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T22:13:11.226Z] $ docker exec 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent [2022-07-12T22:13:11.358Z] SSH_AUTH_SOCK=/tmp/ssh-JiouQCWdXAlz/agent.33 [2022-07-12T22:13:11.358Z] SSH_AGENT_PID=39 [2022-07-12T22:13:11.365Z] Running ssh-add (command line suppressed) [2022-07-12T22:13:11.484Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_4831359784008818232.key (/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_4831359784008818232.key) [2022-07-12T22:13:11.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T22:13:11.834Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T22:13:11.860Z] $ docker exec --env ******** --env ******** 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent -k [2022-07-12T22:13:11.979Z] unset SSH_AUTH_SOCK; [2022-07-12T22:13:11.980Z] unset SSH_AGENT_PID; [2022-07-12T22:13:11.980Z] echo Agent pid 39 killed; [2022-07-12T22:13:11.992Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T22:13:12.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T22:13:12.083Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T22:13:12.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T22:13:12.220Z] $ docker exec 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent [2022-07-12T22:13:12.343Z] SSH_AUTH_SOCK=/tmp/ssh-rmAFQT7cxvc1/agent.72 [2022-07-12T22:13:12.343Z] SSH_AGENT_PID=79 [2022-07-12T22:13:12.348Z] Running ssh-add (command line suppressed) [2022-07-12T22:13:12.459Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_7001603073544195969.key (/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_7001603073544195969.key) [2022-07-12T22:13:12.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T22:13:12.813Z] + git semver init [2022-07-12T22:13:13.074Z] 2022-07-12 22:13:13,033 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T22:13:13.074Z] 2022-07-12 22:13:13,033 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver [2022-07-12T22:13:13.074Z] 2022-07-12 22:13:13,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-183/.semver [2022-07-12T22:13:13.074Z] 2022-07-12 22:13:13,034 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-183, universal_newlines=False, shell=None, istream=None) [2022-07-12T22:13:14.019Z] 2022-07-12 22:13:13,751 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-183/.git/info/exclude [2022-07-12T22:13:14.019Z] 2022-07-12 22:13:13,751 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver/PR-183 with force:False [2022-07-12T22:13:14.019Z] 2022-07-12 22:13:13,751 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver/PR-183 [2022-07-12T22:13:14.019Z] 2022-07-12 22:13:13,756 [execute] INFO git cat-file --batch-check [2022-07-12T22:13:14.019Z] 2022-07-12 22:13:13,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T22:13:14.019Z] 2022-07-12 22:13:13,764 [execute] INFO git cat-file --batch [2022-07-12T22:13:14.019Z] 2022-07-12 22:13:13,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T22:13:14.020Z] 2022-07-12 22:13:13,770 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-183/.semver/PR-183 [2022-07-12T22:13:14.020Z] 0.0.0 [Pipeline] } [2022-07-12T22:13:14.044Z] $ docker exec --env ******** --env ******** 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent -k [2022-07-12T22:13:14.163Z] unset SSH_AUTH_SOCK; [2022-07-12T22:13:14.164Z] unset SSH_AGENT_PID; [2022-07-12T22:13:14.164Z] echo Agent pid 79 killed; [2022-07-12T22:13:14.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T22:13:14.592Z] + git semver [Pipeline] } [2022-07-12T22:13:14.885Z] $ docker stop --time=1 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 [2022-07-12T22:13:16.212Z] $ docker rm -f 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T22:13:16.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T22:13:16.941Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T22:13:16.958Z] [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 [2022-07-12T22:13:17.532Z] provisioning config files... [2022-07-12T22:13:17.543Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config392576361675460539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:13:17.879Z] ---> docker-login.sh [2022-07-12T22:13:17.879Z] nexus3.edgexfoundry.org:10001 [2022-07-12T22:13:17.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:17.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:17.879Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:17.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:17.879Z] [2022-07-12T22:13:17.879Z] Login Succeeded [2022-07-12T22:13:17.879Z] nexus3.edgexfoundry.org:10002 [2022-07-12T22:13:17.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:18.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:18.139Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:18.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:18.139Z] [2022-07-12T22:13:18.139Z] Login Succeeded [2022-07-12T22:13:18.139Z] nexus3.edgexfoundry.org:10003 [2022-07-12T22:13:18.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:18.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:18.139Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:18.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:18.139Z] [2022-07-12T22:13:18.139Z] Login Succeeded [2022-07-12T22:13:18.139Z] nexus3.edgexfoundry.org:10004 [2022-07-12T22:13:18.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:18.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:18.399Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:18.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:18.399Z] [2022-07-12T22:13:18.399Z] Login Succeeded [2022-07-12T22:13:18.399Z] docker.io [2022-07-12T22:13:18.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:13:18.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:13:18.664Z] Configure a credential helper to remove this warning. See [2022-07-12T22:13:18.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:13:18.664Z] [2022-07-12T22:13:18.664Z] Login Succeeded [2022-07-12T22:13:18.664Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T22:13:18.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T22:13:18.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T22:13:18.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T22:13:18.944Z] ========================================================= [2022-07-12T22:13:18.944Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T22:13:18.944Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:13:19.414Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T22:13:19.414Z] Sending build context to Docker daemon 5.422MB [2022-07-12T22:13:19.414Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T22:13:19.414Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T22:13:19.414Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T22:13:19.414Z] 2408cc74d12b: Pulling fs layer [2022-07-12T22:13:19.414Z] ea60b727a1ce: Pulling fs layer [2022-07-12T22:13:19.414Z] 30c4a7721957: Pulling fs layer [2022-07-12T22:13:19.414Z] 370296b7ddb6: Pulling fs layer [2022-07-12T22:13:19.414Z] 7c6cee850709: Pulling fs layer [2022-07-12T22:13:19.414Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T22:13:19.414Z] d94ebbe4e438: Pulling fs layer [2022-07-12T22:13:19.414Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T22:13:19.414Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T22:13:19.414Z] bcfd1f05c69d: Waiting [2022-07-12T22:13:19.414Z] 59ccb84bbe0f: Waiting [2022-07-12T22:13:19.414Z] 7c6cee850709: Waiting [2022-07-12T22:13:19.414Z] d94ebbe4e438: Waiting [2022-07-12T22:13:19.414Z] 39a5fcdaea64: Waiting [2022-07-12T22:13:19.414Z] 370296b7ddb6: Waiting [2022-07-12T22:13:19.414Z] 30c4a7721957: Verifying Checksum [2022-07-12T22:13:19.414Z] 30c4a7721957: Download complete [2022-07-12T22:13:19.414Z] ea60b727a1ce: Verifying Checksum [2022-07-12T22:13:19.414Z] ea60b727a1ce: Download complete [2022-07-12T22:13:19.414Z] 7c6cee850709: Verifying Checksum [2022-07-12T22:13:19.414Z] 7c6cee850709: Download complete [2022-07-12T22:13:19.674Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T22:13:19.674Z] 39a5fcdaea64: Download complete [2022-07-12T22:13:19.675Z] 2408cc74d12b: Verifying Checksum [2022-07-12T22:13:19.675Z] 2408cc74d12b: Download complete [2022-07-12T22:13:19.675Z] d94ebbe4e438: Verifying Checksum [2022-07-12T22:13:19.675Z] d94ebbe4e438: Download complete [2022-07-12T22:13:19.675Z] 2408cc74d12b: Pull complete [2022-07-12T22:13:19.937Z] ea60b727a1ce: Pull complete [2022-07-12T22:13:19.937Z] 30c4a7721957: Pull complete [2022-07-12T22:13:19.937Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T22:13:19.937Z] 59ccb84bbe0f: Download complete [2022-07-12T22:13:20.197Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T22:13:20.197Z] bcfd1f05c69d: Download complete [2022-07-12T22:13:20.456Z] 370296b7ddb6: Verifying Checksum [2022-07-12T22:13:20.456Z] 370296b7ddb6: Download complete [2022-07-12T22:13:24.650Z] 370296b7ddb6: Pull complete [2022-07-12T22:13:24.650Z] 7c6cee850709: Pull complete [2022-07-12T22:13:24.650Z] 39a5fcdaea64: Pull complete [2022-07-12T22:13:24.909Z] d94ebbe4e438: Pull complete [2022-07-12T22:13:27.446Z] bcfd1f05c69d: Pull complete [2022-07-12T22:13:28.014Z] 59ccb84bbe0f: Pull complete [2022-07-12T22:13:28.014Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T22:13:28.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T22:13:28.014Z] ---> a4fb48ad2a94 [2022-07-12T22:13:28.014Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T22:13:29.395Z] ---> Running in fd81daf3f0db [2022-07-12T22:13:29.659Z] Removing intermediate container fd81daf3f0db [2022-07-12T22:13:29.659Z] ---> dd7e7c93a612 [2022-07-12T22:13:29.659Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T22:13:29.659Z] ---> Running in e9daa8a5850e [2022-07-12T22:13:29.659Z] Removing intermediate container e9daa8a5850e [2022-07-12T22:13:29.659Z] ---> cc1a31ea1b59 [2022-07-12T22:13:29.659Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T22:13:29.659Z] ---> Running in 0fcc7c4de5b9 [2022-07-12T22:13:29.920Z] Removing intermediate container 0fcc7c4de5b9 [2022-07-12T22:13:29.920Z] ---> 12415659b206 [2022-07-12T22:13:29.920Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T22:13:29.920Z] ---> Running in e6b986ca91fa [2022-07-12T22:13:30.490Z] Removing intermediate container e6b986ca91fa [2022-07-12T22:13:30.490Z] ---> 68715a6f30a2 [2022-07-12T22:13:30.490Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T22:13:30.490Z] ---> Running in 81370f915b00 [2022-07-12T22:13:30.751Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T22:13:31.693Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T22:13:31.964Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T22:13:31.964Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T22:13:32.224Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T22:13:32.224Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T22:13:32.224Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T22:13:32.224Z] OK: 216 MiB in 55 packages [2022-07-12T22:13:32.364Z] Still waiting to schedule task [2022-07-12T22:13:32.365Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19779’ [2022-07-12T22:13:32.795Z] Removing intermediate container 81370f915b00 [2022-07-12T22:13:32.795Z] ---> c7f3d6c16fa9 [2022-07-12T22:13:32.795Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-12T22:13:32.795Z] ---> Running in 2343bfadd492 [2022-07-12T22:13:32.795Z] Removing intermediate container 2343bfadd492 [2022-07-12T22:13:32.795Z] ---> 6afbde8e2b58 [2022-07-12T22:13:32.795Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T22:13:33.057Z] ---> 77f4aebac84a [2022-07-12T22:13:33.057Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T22:13:33.057Z] ---> Running in 4effa7dee0c7 [2022-07-12T22:13:47.968Z] Removing intermediate container 4effa7dee0c7 [2022-07-12T22:13:47.968Z] ---> d7b75857ba17 [2022-07-12T22:13:47.968Z] Step 11/12 : COPY . . [2022-07-12T22:13:48.541Z] ---> e596c1206207 [2022-07-12T22:13:48.541Z] Step 12/12 : RUN ${MAKE} [2022-07-12T22:13:48.541Z] ---> Running in 93a2e7139f08 [2022-07-12T22:13:48.801Z] noop [2022-07-12T22:13:49.061Z] Removing intermediate container 93a2e7139f08 [2022-07-12T22:13:49.061Z] ---> 94e04cbf1a3c [2022-07-12T22:13:49.061Z] Successfully built 94e04cbf1a3c [2022-07-12T22:13:49.061Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:13:49.512Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T22:13:49.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:13:49.667Z] prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container [2022-07-12T22:13:49.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 ******** ci-base-image-x86_64 cat [2022-07-12T22:13:50.127Z] $ docker top b4a5e1247cbb4102908a75ca309ae4c41875568761c6945aa0a5bdbeb470349b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T22:13:50.553Z] + go version [2022-07-12T22:13:50.553Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T22:13:50.597Z] $ docker stop --time=1 b4a5e1247cbb4102908a75ca309ae4c41875568761c6945aa0a5bdbeb470349b [2022-07-12T22:13:51.934Z] $ docker rm -f b4a5e1247cbb4102908a75ca309ae4c41875568761c6945aa0a5bdbeb470349b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:13:52.682Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T22:13:52.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:13:52.848Z] prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container [2022-07-12T22:13:52.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 ******** ci-base-image-x86_64 cat [2022-07-12T22:13:53.293Z] $ docker top cbb8563029440a782aee0ef212c88e2968eb844bf2e39989eda428c96c0c1b3f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T22:13:53.710Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-183 [Pipeline] fileExists [Pipeline] sh [2022-07-12T22:13:54.073Z] + make test [2022-07-12T22:13:54.073Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T22:13:54.642Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-12T22:14:04.623Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-12T22:14:04.623Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2022-07-12T22:14:11.201Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-12T22:14:11.201Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T22:14:13.107Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T22:14:13.369Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T22:14:13.369Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T22:14:13.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T22:14:13.432Z] $ docker stop --time=1 cbb8563029440a782aee0ef212c88e2968eb844bf2e39989eda428c96c0c1b3f [2022-07-12T22:14:15.121Z] $ docker rm -f cbb8563029440a782aee0ef212c88e2968eb844bf2e39989eda428c96c0c1b3f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T22:14:15.635Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T22:14:15.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T22:14:16.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T22:14:16.596Z] + ls -al . [2022-07-12T22:14:16.596Z] total 168 [2022-07-12T22:14:16.596Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 22:13 . [2022-07-12T22:14:16.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:12 .. [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 22:12 .dockerignore [2022-07-12T22:14:16.596Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:14 .git [2022-07-12T22:14:16.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 .github [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 22:12 .gitignore [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:12 .golangci.yml [2022-07-12T22:14:16.596Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:13 .semver [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 22:12 Attribution.txt [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 22:12 CHANGELOG.md [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 22:12 Dockerfile [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:12 GOVERNANCE.md [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 22:12 Jenkinsfile [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 22:12 LICENSE [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 22:12 Makefile [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 22:12 OWNERS.md [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 22:12 README.md [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 22:13 VERSION [2022-07-12T22:14:16.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:12 bin [2022-07-12T22:14:16.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 cmd [2022-07-12T22:14:16.596Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 22:14 coverage.out [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 22:12 go.mod [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 22:12 go.sum [2022-07-12T22:14:16.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 internal [2022-07-12T22:14:16.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 snap [2022-07-12T22:14:16.596Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:14:16.993Z] + 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=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 --label arch=amd64 --label version=0.0.0 . [2022-07-12T22:14:16.993Z] Sending build context to Docker daemon 5.43MB [2022-07-12T22:14:16.994Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T22:14:16.994Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T22:14:16.994Z] ---> 94e04cbf1a3c [2022-07-12T22:14:16.994Z] Step 3/24 : ARG MAKE='make build' [2022-07-12T22:14:16.994Z] ---> Running in 721c51e9c01b [2022-07-12T22:14:17.254Z] Removing intermediate container 721c51e9c01b [2022-07-12T22:14:17.254Z] ---> 56ed1147b2d5 [2022-07-12T22:14:17.254Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T22:14:17.254Z] ---> Running in 2428db94ffd4 [2022-07-12T22:14:17.254Z] Removing intermediate container 2428db94ffd4 [2022-07-12T22:14:17.254Z] ---> 5c9d6eb68b2f [2022-07-12T22:14:17.254Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T22:14:17.254Z] ---> Running in f16642e4e078 [2022-07-12T22:14:17.515Z] Removing intermediate container f16642e4e078 [2022-07-12T22:14:17.515Z] ---> b7d2a0f60e57 [2022-07-12T22:14:17.515Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T22:14:17.515Z] ---> Running in 36150a4cccbe [2022-07-12T22:14:18.091Z] Removing intermediate container 36150a4cccbe [2022-07-12T22:14:18.091Z] ---> fa8293ee2f58 [2022-07-12T22:14:18.091Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T22:14:18.091Z] ---> Running in bea8133b794e [2022-07-12T22:14:18.351Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T22:14:19.292Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T22:14:19.553Z] OK: 216 MiB in 55 packages [2022-07-12T22:14:19.812Z] Removing intermediate container bea8133b794e [2022-07-12T22:14:19.812Z] ---> 6c28ee7de886 [2022-07-12T22:14:19.812Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-12T22:14:19.812Z] ---> Running in d2c1c5c00caf [2022-07-12T22:14:20.072Z] Removing intermediate container d2c1c5c00caf [2022-07-12T22:14:20.072Z] ---> 266a9a535873 [2022-07-12T22:14:20.072Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-12T22:14:20.072Z] ---> 42db894913d9 [2022-07-12T22:14:20.072Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T22:14:20.072Z] ---> Running in df539ca89dd4 [2022-07-12T22:14:20.640Z] Removing intermediate container df539ca89dd4 [2022-07-12T22:14:20.640Z] ---> 2c04234459ac [2022-07-12T22:14:20.640Z] Step 11/24 : COPY . . [2022-07-12T22:14:21.210Z] ---> cf8373e86fc3 [2022-07-12T22:14:21.210Z] Step 12/24 : RUN ${MAKE} [2022-07-12T22:14:21.210Z] ---> Running in 6c298e658828 [2022-07-12T22:14:21.470Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-12T22:14:43.417Z] Removing intermediate container 6c298e658828 [2022-07-12T22:14:43.417Z] ---> 9a3e5aeb2dbd [2022-07-12T22:14:43.417Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T22:14:43.418Z] 3.16: Pulling from library/alpine [2022-07-12T22:14:43.418Z] 2408cc74d12b: Already exists [2022-07-12T22:14:43.418Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T22:14:43.418Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T22:14:43.418Z] ---> e66264b98777 [2022-07-12T22:14:43.418Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T22:14:43.418Z] ---> Running in e9df9614e763 [2022-07-12T22:14:43.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T22:14:43.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T22:14:43.418Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T22:14:43.418Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T22:14:43.418Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T22:14:43.418Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T22:14:43.418Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T22:14:43.418Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T22:14:43.418Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T22:14:43.418Z] OK: 8 MiB in 20 packages [2022-07-12T22:14:43.418Z] Removing intermediate container e9df9614e763 [2022-07-12T22:14:43.418Z] ---> acf7a6f59744 [2022-07-12T22:14:43.418Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-12T22:14:43.418Z] ---> 6c80b82a2fca [2022-07-12T22:14:43.418Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-12T22:14:43.418Z] ---> 94c4b1dcfe38 [2022-07-12T22:14:43.418Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-12T22:14:43.418Z] ---> 342a875c8738 [2022-07-12T22:14:43.418Z] Step 18/24 : EXPOSE 59993 [2022-07-12T22:14:43.418Z] ---> Running in e3e73549abed [2022-07-12T22:14:43.418Z] Removing intermediate container e3e73549abed [2022-07-12T22:14:43.418Z] ---> 1681f25b40e1 [2022-07-12T22:14:43.418Z] Step 19/24 : EXPOSE 161 [2022-07-12T22:14:43.418Z] ---> Running in bdb0eb143c0f [2022-07-12T22:14:43.418Z] Removing intermediate container bdb0eb143c0f [2022-07-12T22:14:43.418Z] ---> 07461e877b74 [2022-07-12T22:14:43.418Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-12T22:14:43.418Z] ---> Running in c61fd57d4107 [2022-07-12T22:14:43.418Z] Removing intermediate container c61fd57d4107 [2022-07-12T22:14:43.418Z] ---> 21d8e6123e9b [2022-07-12T22:14:43.418Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T22:14:43.418Z] ---> Running in 9899d9716c94 [2022-07-12T22:14:43.678Z] Removing intermediate container 9899d9716c94 [2022-07-12T22:14:43.678Z] ---> 141e1016de93 [2022-07-12T22:14:43.678Z] Step 22/24 : LABEL arch=amd64 [2022-07-12T22:14:43.678Z] ---> Running in faea21825ff5 [2022-07-12T22:14:43.678Z] Removing intermediate container faea21825ff5 [2022-07-12T22:14:43.678Z] ---> 64d165a8e8b2 [2022-07-12T22:14:43.678Z] Step 23/24 : LABEL git_sha=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [2022-07-12T22:14:43.678Z] ---> Running in 0970942c5861 [2022-07-12T22:14:43.941Z] Removing intermediate container 0970942c5861 [2022-07-12T22:14:43.941Z] ---> 1754a7c9ae03 [2022-07-12T22:14:43.941Z] Step 24/24 : LABEL version=0.0.0 [2022-07-12T22:14:43.941Z] ---> Running in 2fa00486d2c5 [2022-07-12T22:14:43.941Z] Removing intermediate container 2fa00486d2c5 [2022-07-12T22:14:43.941Z] ---> 17ced1056051 [2022-07-12T22:14:43.941Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T22:14:43.941Z] Successfully built 17ced1056051 [2022-07-12T22:14:43.941Z] 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 [2022-07-12T22:14:44.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T22:14:44.749Z] [2022-07-12T22:14:44.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:14:45.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T22:14:45.111Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T22:14:45.111Z] 5eb5b503b376: Pulling fs layer [2022-07-12T22:14:45.111Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T22:14:45.111Z] ec43610c2a17: Pulling fs layer [2022-07-12T22:14:45.111Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T22:14:45.111Z] 33b1e0a273af: Pulling fs layer [2022-07-12T22:14:45.111Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T22:14:45.111Z] 2f39f015ded8: Pulling fs layer [2022-07-12T22:14:45.111Z] 3a2ae6a8a46f: Waiting [2022-07-12T22:14:45.111Z] 33b1e0a273af: Waiting [2022-07-12T22:14:45.111Z] 5d3b04190fa2: Waiting [2022-07-12T22:14:45.111Z] 5c69ac0246d0: Download complete [2022-07-12T22:14:45.111Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T22:14:45.111Z] 3a2ae6a8a46f: Download complete [2022-07-12T22:14:45.111Z] 33b1e0a273af: Verifying Checksum [2022-07-12T22:14:45.111Z] 33b1e0a273af: Download complete [2022-07-12T22:14:45.112Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T22:14:45.112Z] 5d3b04190fa2: Download complete [2022-07-12T22:14:45.112Z] ec43610c2a17: Verifying Checksum [2022-07-12T22:14:45.112Z] ec43610c2a17: Download complete [2022-07-12T22:14:45.371Z] 5eb5b503b376: Verifying Checksum [2022-07-12T22:14:45.371Z] 5eb5b503b376: Download complete [2022-07-12T22:14:45.942Z] 2f39f015ded8: Download complete [2022-07-12T22:14:46.880Z] 5eb5b503b376: Pull complete [2022-07-12T22:14:46.880Z] 5c69ac0246d0: Pull complete [2022-07-12T22:14:47.450Z] ec43610c2a17: Pull complete [2022-07-12T22:14:47.450Z] 3a2ae6a8a46f: Pull complete [2022-07-12T22:14:47.710Z] 33b1e0a273af: Pull complete [2022-07-12T22:14:47.710Z] 5d3b04190fa2: Pull complete [2022-07-12T22:14:52.985Z] 2f39f015ded8: Pull complete [2022-07-12T22:14:52.986Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T22:14:52.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T22:14:52.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:14:53.208Z] prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container [2022-07-12T22:14:53.244Z] $ 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-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T22:14:54.746Z] $ docker top 27bedbc095b321fb969342d030ab546122379ff403fbb05596e7c097bd30e774 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:14:55.200Z] ---> job-cost.sh [2022-07-12T22:14:55.200Z] lf-activate-venv: SKIPPING [2022-07-12T22:14:55.200Z] INFO: No Stack... [2022-07-12T22:14:55.772Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T22:14:56.033Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T22:14:56.352Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-183/archives/cost.csv [2022-07-12T22:14:56.353Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T22:14:56.389Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [2022-07-12T22:14:56.394Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] did not exist. Created. [2022-07-12T22:14:56.394Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T22:14:56.777Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T22:14:56.830Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T22:14:56.858Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T22:14:56.935Z] $ docker stop --time=1 27bedbc095b321fb969342d030ab546122379ff403fbb05596e7c097bd30e774 [2022-07-12T22:14:58.088Z] $ docker rm -f 27bedbc095b321fb969342d030ab546122379ff403fbb05596e7c097bd30e774 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T22:16:35.519Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19781 in /w/workspace/gexfoundry_device-snmp-go_PR-183 [Pipeline] { [Pipeline] ws [2022-07-12T22:16:35.559Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-07-12T22:16:35.642Z] Selected Git installation does not exist. Using Default [2022-07-12T22:16:35.642Z] The recommended git tool is: NONE [2022-07-12T22:16:43.444Z] using credential edgex-jenkins-ssh [2022-07-12T22:16:43.471Z] Cloning the remote Git repository [2022-07-12T22:16:43.593Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-12T22:16:43.700Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-07-12T22:16:43.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-12T22:16:43.823Z] > git --version # timeout=10 [2022-07-12T22:16:43.868Z] > git --version # 'git version 2.25.1' [2022-07-12T22:16:43.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T22:16:43.993Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T22:16:45.700Z] Merging remotes/origin/main commit d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [2022-07-12T22:16:45.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-12T22:16:45.039Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T22:16:45.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-12T22:16:45.153Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-12T22:16:45.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T22:16:45.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T22:16:45.726Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T22:16:45.750Z] > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # timeout=10 [2022-07-12T22:16:45.854Z] > git remote # timeout=10 [2022-07-12T22:16:45.872Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T22:16:45.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T22:16:45.909Z] > git merge d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 [2022-07-12T22:16:45.936Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T22:16:45.955Z] Merge succeeded, producing 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [2022-07-12T22:16:45.955Z] Checking out Revision 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 (PR-183) [2022-07-12T22:16:45.967Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T22:16:45.980Z] > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # timeout=10 [2022-07-12T22:16:50.270Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-07-12T22:16:50.338Z] > git --version # timeout=10 [2022-07-12T22:16:50.351Z] > git --version # 'git version 2.25.1' [2022-07-12T22:16:50.368Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T22:16:51.546Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T22:16:51.546Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T22:16:51.546Z] Dload Upload Total Spent Left Speed [2022-07-12T22:16:51.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-07-12T22:16:52.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T22:16:52.854Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T22:16:52.854Z] + sudo tee /etc/docker/daemon.new [2022-07-12T22:16:52.854Z] { [2022-07-12T22:16:52.854Z] "registry-mirrors": [ [2022-07-12T22:16:52.854Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T22:16:52.854Z] ], [2022-07-12T22:16:52.854Z] "bip": "10.250.0.254/24", [2022-07-12T22:16:52.854Z] "hosts": [ [2022-07-12T22:16:52.854Z] "tcp://0.0.0.0:5555", [2022-07-12T22:16:52.854Z] "unix:///var/run/docker.sock" [2022-07-12T22:16:52.854Z] ], [2022-07-12T22:16:52.854Z] "mtu": 1458, [2022-07-12T22:16:52.854Z] "selinux-enabled": true, [2022-07-12T22:16:52.854Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T22:16:52.854Z] } [Pipeline] sh [2022-07-12T22:16:53.217Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T22:16:53.571Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T22:17:11.994Z] provisioning config files... [2022-07-12T22:17:12.021Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8473264275308770871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:17:12.427Z] ---> docker-login.sh [2022-07-12T22:17:12.427Z] nexus3.edgexfoundry.org:10001 [2022-07-12T22:17:13.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:17:13.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:17:13.627Z] Configure a credential helper to remove this warning. See [2022-07-12T22:17:13.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:17:13.627Z] [2022-07-12T22:17:13.627Z] Login Succeeded [2022-07-12T22:17:13.627Z] nexus3.edgexfoundry.org:10002 [2022-07-12T22:17:13.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:17:13.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:17:13.901Z] Configure a credential helper to remove this warning. See [2022-07-12T22:17:13.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:17:13.901Z] [2022-07-12T22:17:13.901Z] Login Succeeded [2022-07-12T22:17:13.901Z] nexus3.edgexfoundry.org:10003 [2022-07-12T22:17:14.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:17:14.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:17:14.507Z] Configure a credential helper to remove this warning. See [2022-07-12T22:17:14.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:17:14.507Z] [2022-07-12T22:17:14.507Z] Login Succeeded [2022-07-12T22:17:14.507Z] nexus3.edgexfoundry.org:10004 [2022-07-12T22:17:14.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:17:15.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:17:15.057Z] Configure a credential helper to remove this warning. See [2022-07-12T22:17:15.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:17:15.057Z] [2022-07-12T22:17:15.057Z] Login Succeeded [2022-07-12T22:17:15.057Z] docker.io [2022-07-12T22:17:15.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T22:17:15.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T22:17:15.607Z] Configure a credential helper to remove this warning. See [2022-07-12T22:17:15.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T22:17:15.607Z] [2022-07-12T22:17:15.607Z] Login Succeeded [2022-07-12T22:17:15.883Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T22:17:15.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T22:17:16.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T22:17:16.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T22:17:16.440Z] ========================================================= [2022-07-12T22:17:16.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T22:17:16.440Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:17:16.951Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T22:17:17.229Z] Sending build context to Docker daemon 2.796MB [2022-07-12T22:17:17.229Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T22:17:17.229Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T22:17:17.511Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T22:17:17.511Z] b3c136eddcbf: Pulling fs layer [2022-07-12T22:17:17.511Z] c0a3192eca97: Pulling fs layer [2022-07-12T22:17:17.511Z] a050256f5b6f: Pulling fs layer [2022-07-12T22:17:17.511Z] 656be50a0ddc: Pulling fs layer [2022-07-12T22:17:17.511Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T22:17:17.511Z] 46d945488cbd: Pulling fs layer [2022-07-12T22:17:17.511Z] 8a5474983e97: Pulling fs layer [2022-07-12T22:17:17.511Z] 656be50a0ddc: Waiting [2022-07-12T22:17:17.511Z] 2bbca73fdf42: Waiting [2022-07-12T22:17:17.511Z] 46d945488cbd: Waiting [2022-07-12T22:17:17.511Z] 329c88fbcd65: Pulling fs layer [2022-07-12T22:17:17.511Z] 8a5474983e97: Waiting [2022-07-12T22:17:17.511Z] 329c88fbcd65: Waiting [2022-07-12T22:17:17.511Z] a050256f5b6f: Verifying Checksum [2022-07-12T22:17:17.511Z] a050256f5b6f: Download complete [2022-07-12T22:17:17.511Z] c0a3192eca97: Verifying Checksum [2022-07-12T22:17:17.511Z] c0a3192eca97: Download complete [2022-07-12T22:17:17.511Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T22:17:17.511Z] 2bbca73fdf42: Download complete [2022-07-12T22:17:17.511Z] 46d945488cbd: Verifying Checksum [2022-07-12T22:17:17.511Z] 46d945488cbd: Download complete [2022-07-12T22:17:17.511Z] b3c136eddcbf: Verifying Checksum [2022-07-12T22:17:17.511Z] b3c136eddcbf: Download complete [2022-07-12T22:17:18.531Z] b3c136eddcbf: Pull complete [2022-07-12T22:17:18.818Z] 329c88fbcd65: Verifying Checksum [2022-07-12T22:17:18.818Z] 329c88fbcd65: Download complete [2022-07-12T22:17:19.098Z] c0a3192eca97: Pull complete [2022-07-12T22:17:19.707Z] a050256f5b6f: Pull complete [2022-07-12T22:17:19.980Z] 8a5474983e97: Verifying Checksum [2022-07-12T22:17:19.980Z] 8a5474983e97: Download complete [2022-07-12T22:17:20.576Z] 656be50a0ddc: Verifying Checksum [2022-07-12T22:17:20.576Z] 656be50a0ddc: Download complete [2022-07-12T22:17:33.021Z] 656be50a0ddc: Pull complete [2022-07-12T22:17:33.022Z] 2bbca73fdf42: Pull complete [2022-07-12T22:17:33.022Z] 46d945488cbd: Pull complete [2022-07-12T22:17:39.749Z] 8a5474983e97: Pull complete [2022-07-12T22:17:40.743Z] 329c88fbcd65: Pull complete [2022-07-12T22:17:40.743Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T22:17:40.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T22:17:40.743Z] ---> ff4287adb874 [2022-07-12T22:17:40.743Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T22:17:42.182Z] ---> Running in fec931669786 [2022-07-12T22:17:42.457Z] Removing intermediate container fec931669786 [2022-07-12T22:17:42.457Z] ---> dc55726faa7e [2022-07-12T22:17:42.457Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T22:17:42.457Z] ---> Running in cb7052c0a4a6 [2022-07-12T22:17:42.733Z] Removing intermediate container cb7052c0a4a6 [2022-07-12T22:17:42.733Z] ---> 48239a1f11b4 [2022-07-12T22:17:42.733Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T22:17:42.733Z] ---> Running in e451e65c6dca [2022-07-12T22:17:43.016Z] Removing intermediate container e451e65c6dca [2022-07-12T22:17:43.016Z] ---> 132195a53049 [2022-07-12T22:17:43.016Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T22:17:43.299Z] ---> Running in 2a57ed733186 [2022-07-12T22:17:45.308Z] Removing intermediate container 2a57ed733186 [2022-07-12T22:17:45.308Z] ---> 095cbcf9e9f1 [2022-07-12T22:17:45.308Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T22:17:45.308Z] ---> Running in 4913b224c5b9 [2022-07-12T22:17:47.299Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T22:17:47.899Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T22:17:48.890Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T22:17:48.890Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T22:17:49.167Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T22:17:49.167Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T22:17:49.441Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T22:17:49.442Z] OK: 226 MiB in 55 packages [2022-07-12T22:17:50.438Z] Removing intermediate container 4913b224c5b9 [2022-07-12T22:17:50.438Z] ---> 3e43acfc88a1 [2022-07-12T22:17:50.438Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-12T22:17:50.438Z] ---> Running in 53c86eab1e6d [2022-07-12T22:17:51.044Z] Removing intermediate container 53c86eab1e6d [2022-07-12T22:17:51.044Z] ---> 546356cded57 [2022-07-12T22:17:51.044Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T22:17:51.320Z] ---> 89f674ca3d94 [2022-07-12T22:17:51.320Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T22:17:51.601Z] ---> Running in ab579832670d [2022-07-12T22:18:38.620Z] Removing intermediate container ab579832670d [2022-07-12T22:18:38.620Z] ---> 5e62c7738ff0 [2022-07-12T22:18:38.620Z] Step 11/12 : COPY . . [2022-07-12T22:18:38.620Z] ---> bb98cf662651 [2022-07-12T22:18:38.620Z] Step 12/12 : RUN ${MAKE} [2022-07-12T22:18:38.620Z] ---> Running in 323011cadb29 [2022-07-12T22:18:38.620Z] noop [2022-07-12T22:18:38.620Z] Removing intermediate container 323011cadb29 [2022-07-12T22:18:38.620Z] ---> 4693aef9fde1 [2022-07-12T22:18:38.620Z] Successfully built 4693aef9fde1 [2022-07-12T22:18:38.620Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:18:39.122Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T22:18:39.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:18:39.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container [2022-07-12T22:18:39.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T22:18:40.867Z] $ docker top 93ff64e27394dba4599325c74a2e3fbb1a458630932e9630d3cb12188699d58f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T22:18:41.849Z] + go version [2022-07-12T22:18:41.849Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T22:18:41.888Z] $ docker stop --time=1 93ff64e27394dba4599325c74a2e3fbb1a458630932e9630d3cb12188699d58f [2022-07-12T22:18:43.503Z] $ docker rm -f 93ff64e27394dba4599325c74a2e3fbb1a458630932e9630d3cb12188699d58f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:18:44.457Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T22:18:44.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:18:44.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container [2022-07-12T22:18:44.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T22:18:46.140Z] $ docker top ff6987e057f4b8951f6263ead05b30e5d002c371dbe2b2565058f255ba5f275e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T22:18:47.099Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-12T22:18:47.825Z] + make test [2022-07-12T22:18:47.825Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T22:18:49.267Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-12T22:20:11.123Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-12T22:20:11.123Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements [2022-07-12T22:20:11.123Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T22:20:11.123Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T22:20:29.458Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T22:20:29.458Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T22:20:29.458Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T22:20:29.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T22:20:29.541Z] $ docker stop --time=1 ff6987e057f4b8951f6263ead05b30e5d002c371dbe2b2565058f255ba5f275e [2022-07-12T22:20:31.298Z] $ docker rm -f ff6987e057f4b8951f6263ead05b30e5d002c371dbe2b2565058f255ba5f275e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T22:20:32.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T22:20:32.358Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T22:20:32.835Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T22:20:33.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T22:20:33.803Z] + ls -al . [2022-07-12T22:20:33.804Z] total 164 [2022-07-12T22:20:33.804Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:18 . [2022-07-12T22:20:33.804Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:16 .. [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 22:16 .dockerignore [2022-07-12T22:20:33.804Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:16 .git [2022-07-12T22:20:33.804Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 .github [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 22:16 .gitignore [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:16 .golangci.yml [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 22:16 Attribution.txt [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 22:16 CHANGELOG.md [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 22:16 Dockerfile [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:16 GOVERNANCE.md [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 22:16 Jenkinsfile [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 22:16 LICENSE [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 22:16 Makefile [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 22:16 OWNERS.md [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 22:16 README.md [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 22:13 VERSION [2022-07-12T22:20:33.804Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:16 bin [2022-07-12T22:20:33.804Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 cmd [2022-07-12T22:20:33.804Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 22:20 coverage.out [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 22:16 go.mod [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 22:16 go.sum [2022-07-12T22:20:33.804Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 internal [2022-07-12T22:20:33.804Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 snap [2022-07-12T22:20:33.804Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:20:34.247Z] + 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=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 --label arch=arm64 --label version=0.0.0 . [2022-07-12T22:20:34.525Z] Sending build context to Docker daemon 2.804MB [2022-07-12T22:20:34.525Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T22:20:34.525Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T22:20:34.525Z] ---> 4693aef9fde1 [2022-07-12T22:20:34.525Z] Step 3/24 : ARG MAKE='make build' [2022-07-12T22:20:34.801Z] ---> Running in e798957b1f9b [2022-07-12T22:20:35.073Z] Removing intermediate container e798957b1f9b [2022-07-12T22:20:35.073Z] ---> 973f6b8147bb [2022-07-12T22:20:35.073Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T22:20:35.073Z] ---> Running in 7fc6689757fe [2022-07-12T22:20:35.352Z] Removing intermediate container 7fc6689757fe [2022-07-12T22:20:35.352Z] ---> dec7cb35a9d1 [2022-07-12T22:20:35.352Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T22:20:35.352Z] ---> Running in f3ba7e20a61f [2022-07-12T22:20:35.955Z] Removing intermediate container f3ba7e20a61f [2022-07-12T22:20:35.955Z] ---> 3d9d5f91b7fd [2022-07-12T22:20:35.955Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T22:20:35.955Z] ---> Running in d3d7a33c0264 [2022-07-12T22:20:37.409Z] Removing intermediate container d3d7a33c0264 [2022-07-12T22:20:37.409Z] ---> d76cd5beb669 [2022-07-12T22:20:37.409Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T22:20:37.409Z] ---> Running in 9419d3829bd0 [2022-07-12T22:20:38.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T22:20:39.833Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T22:20:40.431Z] OK: 226 MiB in 55 packages [2022-07-12T22:20:41.415Z] Removing intermediate container 9419d3829bd0 [2022-07-12T22:20:41.415Z] ---> cd62f9930ea3 [2022-07-12T22:20:41.415Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-12T22:20:41.415Z] ---> Running in 39c229a66d8b [2022-07-12T22:20:41.690Z] Removing intermediate container 39c229a66d8b [2022-07-12T22:20:41.690Z] ---> 1d2e2608ed90 [2022-07-12T22:20:41.690Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-12T22:20:42.289Z] ---> 0eb14d59a69f [2022-07-12T22:20:42.289Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T22:20:42.289Z] ---> Running in c952e09059c3 [2022-07-12T22:20:44.271Z] Removing intermediate container c952e09059c3 [2022-07-12T22:20:44.271Z] ---> 2d428cdc2a8f [2022-07-12T22:20:44.271Z] Step 11/24 : COPY . . [2022-07-12T22:20:44.872Z] ---> dbcef0746566 [2022-07-12T22:20:44.872Z] Step 12/24 : RUN ${MAKE} [2022-07-12T22:20:44.872Z] ---> Running in 2142b45096be [2022-07-12T22:20:45.856Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-12T22:22:52.758Z] Removing intermediate container 2142b45096be [2022-07-12T22:22:52.758Z] ---> 00fae4cd57b9 [2022-07-12T22:22:52.758Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T22:22:52.758Z] 3.16: Pulling from library/alpine [2022-07-12T22:22:52.758Z] b3c136eddcbf: Already exists [2022-07-12T22:22:52.758Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T22:22:52.758Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T22:22:52.758Z] ---> 6e30ab57aeee [2022-07-12T22:22:52.758Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T22:22:52.758Z] ---> Running in 839446cfe1be [2022-07-12T22:22:52.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T22:22:52.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T22:22:52.758Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T22:22:52.758Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T22:22:52.758Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T22:22:52.758Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T22:22:52.758Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T22:22:52.758Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T22:22:52.758Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T22:22:52.758Z] OK: 8 MiB in 20 packages [2022-07-12T22:22:52.758Z] Removing intermediate container 839446cfe1be [2022-07-12T22:22:52.758Z] ---> 15fcb54abf8f [2022-07-12T22:22:52.758Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-12T22:22:52.758Z] ---> 60d008d0c28b [2022-07-12T22:22:52.758Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-12T22:22:53.356Z] ---> 0ca2350d3557 [2022-07-12T22:22:53.356Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-12T22:22:53.629Z] ---> 9991bcd2a608 [2022-07-12T22:22:53.629Z] Step 18/24 : EXPOSE 59993 [2022-07-12T22:22:53.904Z] ---> Running in 6443662f477c [2022-07-12T22:22:54.179Z] Removing intermediate container 6443662f477c [2022-07-12T22:22:54.179Z] ---> e6d6cdec4750 [2022-07-12T22:22:54.179Z] Step 19/24 : EXPOSE 161 [2022-07-12T22:22:54.179Z] ---> Running in 4930b5dc32e6 [2022-07-12T22:22:54.457Z] Removing intermediate container 4930b5dc32e6 [2022-07-12T22:22:54.457Z] ---> 31f5eb7287f3 [2022-07-12T22:22:54.457Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-12T22:22:54.457Z] ---> Running in f3b8a3d87430 [2022-07-12T22:22:54.742Z] Removing intermediate container f3b8a3d87430 [2022-07-12T22:22:54.742Z] ---> 9471779c933a [2022-07-12T22:22:54.742Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T22:22:55.020Z] ---> Running in cc3812ce17ca [2022-07-12T22:22:55.295Z] Removing intermediate container cc3812ce17ca [2022-07-12T22:22:55.295Z] ---> 16f03ee0cae6 [2022-07-12T22:22:55.295Z] Step 22/24 : LABEL arch=arm64 [2022-07-12T22:22:55.295Z] ---> Running in b161f6e7566e [2022-07-12T22:22:55.570Z] Removing intermediate container b161f6e7566e [2022-07-12T22:22:55.570Z] ---> b2ea3b9a59d4 [2022-07-12T22:22:55.570Z] Step 23/24 : LABEL git_sha=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [2022-07-12T22:22:55.570Z] ---> Running in 8abc3c72ae82 [2022-07-12T22:22:56.169Z] Removing intermediate container 8abc3c72ae82 [2022-07-12T22:22:56.169Z] ---> 3909ef9c8637 [2022-07-12T22:22:56.169Z] Step 24/24 : LABEL version=0.0.0 [2022-07-12T22:22:56.169Z] ---> Running in 25cdbd523d70 [2022-07-12T22:22:56.444Z] Removing intermediate container 25cdbd523d70 [2022-07-12T22:22:56.444Z] ---> 49f61676b4a8 [2022-07-12T22:22:56.444Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T22:22:56.444Z] Successfully built 49f61676b4a8 [2022-07-12T22:22:56.444Z] 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 [2022-07-12T22:22:57.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T22:22:57.287Z] [2022-07-12T22:22:57.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:22:57.711Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T22:22:57.986Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T22:22:57.986Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T22:22:57.986Z] 04944245beec: Pulling fs layer [2022-07-12T22:22:57.986Z] 699f458cf7ca: Pulling fs layer [2022-07-12T22:22:57.986Z] 765212b225bb: Pulling fs layer [2022-07-12T22:22:57.986Z] f23df028b6ca: Pulling fs layer [2022-07-12T22:22:57.986Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T22:22:57.986Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T22:22:57.986Z] d65c8cfc05b1: Waiting [2022-07-12T22:22:57.986Z] 2437ff75d9bd: Waiting [2022-07-12T22:22:57.986Z] 765212b225bb: Waiting [2022-07-12T22:22:57.986Z] f23df028b6ca: Waiting [2022-07-12T22:22:57.986Z] 04944245beec: Verifying Checksum [2022-07-12T22:22:57.986Z] 04944245beec: Download complete [2022-07-12T22:22:57.986Z] 765212b225bb: Download complete [2022-07-12T22:22:57.986Z] f23df028b6ca: Verifying Checksum [2022-07-12T22:22:57.986Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T22:22:57.986Z] d65c8cfc05b1: Download complete [2022-07-12T22:22:58.259Z] 699f458cf7ca: Verifying Checksum [2022-07-12T22:22:58.259Z] 699f458cf7ca: Download complete [2022-07-12T22:22:58.532Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T22:22:58.532Z] 8998bd30e6a1: Download complete [2022-07-12T22:23:01.172Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T22:23:01.172Z] 2437ff75d9bd: Download complete [2022-07-12T22:23:03.157Z] 8998bd30e6a1: Pull complete [2022-07-12T22:23:03.431Z] 04944245beec: Pull complete [2022-07-12T22:23:04.889Z] 699f458cf7ca: Pull complete [2022-07-12T22:23:05.165Z] 765212b225bb: Pull complete [2022-07-12T22:23:06.146Z] f23df028b6ca: Pull complete [2022-07-12T22:23:06.146Z] d65c8cfc05b1: Pull complete [2022-07-12T22:23:21.248Z] 2437ff75d9bd: Pull complete [2022-07-12T22:23:21.248Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T22:23:21.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T22:23:21.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:23:21.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container [2022-07-12T22:23:21.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T22:23:24.268Z] $ docker top ae7f11d6eae3e4b64c8582f45457fb54448c94f28b973edd78a0f498a678d9da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:25.260Z] ---> job-cost.sh [2022-07-12T22:23:25.260Z] lf-activate-venv: SKIPPING [2022-07-12T22:23:25.260Z] INFO: No Stack... [2022-07-12T22:23:25.534Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T22:23:26.512Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T22:23:27.184Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-07-12T22:23:27.184Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T22:23:27.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [2022-07-12T22:23:27.271Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] did not exist. Created. [2022-07-12T22:23:27.271Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T22:23:28.009Z] /w/workspace/device-snmp-go/1@tmp/durable-d4e10689/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T22:23:28.699Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T22:23:28.736Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T22:23:28.778Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T22:23:28.793Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T22:23:28.873Z] $ docker stop --time=1 ae7f11d6eae3e4b64c8582f45457fb54448c94f28b973edd78a0f498a678d9da [2022-07-12T22:23:30.330Z] $ docker rm -f ae7f11d6eae3e4b64c8582f45457fb54448c94f28b973edd78a0f498a678d9da [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 [2022-07-12T22:23:31.318Z] provisioning config files... [2022-07-12T22:23:31.353Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config5889803008743534511tmp [Pipeline] { [Pipeline] sh [2022-07-12T22:23:31.715Z] + set +x [2022-07-12T22:23:31.715Z] + curl -s https://codecov.io/bash [2022-07-12T22:23:31.715Z] + bash -s -- [2022-07-12T22:23:31.715Z] [2022-07-12T22:23:31.715Z] _____ _ [2022-07-12T22:23:31.715Z] / ____| | | [2022-07-12T22:23:31.715Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T22:23:31.715Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T22:23:31.715Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T22:23:31.715Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T22:23:31.715Z] Bash-1.0.6 [2022-07-12T22:23:31.715Z] [2022-07-12T22:23:31.715Z] [2022-07-12T22:23:31.715Z] ==> git version 2.25.1 found [2022-07-12T22:23:31.715Z] ==> 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 [2022-07-12T22:23:31.715Z] Release-Date: 2020-01-08 [2022-07-12T22:23:31.715Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-12T22:23:31.715Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T22:23:31.715Z] ==> Jenkins CI detected. [2022-07-12T22:23:31.715Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-183 [2022-07-12T22:23:31.715Z] project root: . [2022-07-12T22:23:31.715Z] --> token set from env [2022-07-12T22:23:31.715Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T22:23:31.715Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T22:23:31.715Z] ==> Python coveragepy not found [2022-07-12T22:23:31.715Z] ==> Searching for coverage reports in: [2022-07-12T22:23:31.715Z] + . [2022-07-12T22:23:31.715Z] -> Found 1 reports [2022-07-12T22:23:31.715Z] ==> Detecting git/mercurial file structure [2022-07-12T22:23:31.715Z] ==> Reading reports [2022-07-12T22:23:31.715Z] + ./coverage.out bytes=7631 [2022-07-12T22:23:31.715Z] ==> Appending adjustments [2022-07-12T22:23:31.715Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T22:23:31.715Z] + Found adjustments [2022-07-12T22:23:31.715Z] ==> Gzipping contents [2022-07-12T22:23:31.715Z] 4.0K /tmp/codecov.BLGeWI.gz [2022-07-12T22:23:31.715Z] ==> Uploading reports [2022-07-12T22:23:31.715Z] url: https://codecov.io [2022-07-12T22:23:31.715Z] query: branch=PR-183&commit=84aa847cf3dcf870ecca60d2b8a6e81643f8d572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=183&job=&cmd_args= [2022-07-12T22:23:31.715Z] -> Pinging Codecov [2022-07-12T22:23:31.716Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-183&commit=84aa847cf3dcf870ecca60d2b8a6e81643f8d572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=183&job=&cmd_args= [2022-07-12T22:23:32.287Z] -> Uploading to [2022-07-12T22:23:32.287Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/6C56EA5C29638FB4528AC87E60AF5AE0/84aa847cf3dcf870ecca60d2b8a6e81643f8d572/82185499-df24-4e8d-9f4a-4a428bc34037.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T222331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=107ed822033869be46aaf697c098630ea8237fdfa57de012c27c494ba4314655 [2022-07-12T22:23:32.287Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T22:23:32.287Z] Dload Upload Total Spent Left Speed [2022-07-12T22:23:32.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7286 --:--:-- --:--:-- --:--:-- 7253 100 1603 0 0 100 1603 0 5725 --:--:-- --:--:-- --:--:-- 5704 [2022-07-12T22:23:32.548Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] } [2022-07-12T22:23:32.575Z] 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 [2022-07-12T22:23:34.180Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-183/archives ] [2022-07-12T22:23:34.180Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-183/archives [2022-07-12T22:23:34.180Z] total 16 [2022-07-12T22:23:34.180Z] drwxr-xr-x 3 root root 4096 Jul 12 22:14 . [2022-07-12T22:23:34.180Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:14 .. [2022-07-12T22:23:34.180Z] drwxr-xr-x 2 root root 4096 Jul 12 22:14 cost [2022-07-12T22:23:34.180Z] -rw-r--r-- 1 root root 85 Jul 12 22:14 cost.csv [2022-07-12T22:23:34.180Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-183/archives [2022-07-12T22:23:34.180Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-183/archives [2022-07-12T22:23:34.180Z] total 16 [2022-07-12T22:23:34.180Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:14 . [2022-07-12T22:23:34.180Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:14 .. [2022-07-12T22:23:34.180Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 22:14 cost [2022-07-12T22:23:34.180Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 12 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:34.506Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:35.413Z] ---> package-listing.sh [2022-07-12T22:23:35.413Z] ++ facter osfamily [2022-07-12T22:23:35.413Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T22:23:35.674Z] + OS_FAMILY=debian [2022-07-12T22:23:35.674Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-183 [2022-07-12T22:23:35.674Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T22:23:35.674Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T22:23:35.674Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T22:23:35.674Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T22:23:35.674Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-183 ']' [2022-07-12T22:23:35.674Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T22:23:35.674Z] + case "${OS_FAMILY}" in [2022-07-12T22:23:35.674Z] + dpkg -l [2022-07-12T22:23:35.674Z] + grep '^ii' [2022-07-12T22:23:35.674Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T22:23:35.674Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T22:23:35.674Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T22:23:35.674Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-183 ']' [2022-07-12T22:23:35.674Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-183/archives/ [2022-07-12T22:23:35.674Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-183/archives/ [Pipeline] echo [2022-07-12T22:23:35.705Z] 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-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T22:23:36.003Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T22:23:36.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T22:23:36.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T22:23:36.792Z] prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container [2022-07-12T22:23:36.827Z] $ 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-183/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-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T22:23:37.078Z] $ docker top 8ec59d20c6466d6ca61378ff0709bff3816a5218c27558f22f86755413d6eed6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T22:23:37.492Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T22:23:37.805Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T22:23:38.120Z] + ls /var/log/sa-host [2022-07-12T22:23:38.120Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T22:23:38.246Z] provisioning config files... [2022-07-12T22:23:38.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config1154009273614840943tmp [Pipeline] { [Pipeline] echo [2022-07-12T22:23:38.304Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:38.617Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T22:23:38.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:39.051Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T22:23:39.084Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:39.396Z] ---> sudo-logs.sh [2022-07-12T22:23:39.396Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T22:23:39.472Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:39.783Z] ---> job-cost.sh [2022-07-12T22:23:39.783Z] lf-activate-venv: SKIPPING [2022-07-12T22:23:39.783Z] DEBUG: total: 0.2199999988079071 [2022-07-12T22:23:39.783Z] INFO: Retrieving Stack Cost... [2022-07-12T22:23:40.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T22:23:40.622Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T22:23:40.655Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T22:23:40.968Z] ---> logs-deploy.sh [2022-07-12T22:23:40.969Z] lf-activate-venv: SKIPPING [2022-07-12T22:23:40.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-183/1 [2022-07-12T22:23:40.969Z] INFO: archiving workspace using pattern(s): [2022-07-12T22:23:41.911Z] Archives upload complete. [2022-07-12T22:23:41.911Z] INFO: archiving logs to Nexus