Pull request #182 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 75a539137cdac34c8e9fed51e683cb109540fad4+2a50195080db95dc897f07c56d427b58d1c43a7f (3fe48d3842b6243f400e3d536b5368a6f09cc45b) 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-ssh15631368712695356967.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-ssh5202192338039158926.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-182/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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5856805965122624071.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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1115211312864616767.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-ssh17636316377771924918.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-182/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-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5708692547767134993.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19771 in /w/workspace/gexfoundry_device-snmp-go_PR-182 [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-182 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit 2a50195080db95dc897f07c56d427b58d1c43a7f into PR head commit 75a539137cdac34c8e9fed51e683cb109540fad4 Merge succeeded, producing 75a539137cdac34c8e9fed51e683cb109540fad4 Checking out Revision 75a539137cdac34c8e9fed51e683cb109540fad4 (PR-182) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75a539137cdac34c8e9fed51e683cb109540fad4 # 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 2a50195080db95dc897f07c56d427b58d1c43a7f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75a539137cdac34c8e9fed51e683cb109540fad4 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and optimize attribution script" 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-12T21:41:16.156Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T21:41:16.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T21:41:16.411Z] ========================================================= [2022-07-12T21:41:16.411Z] EdgeX Global Pipelines Version Info [2022-07-12T21:41:16.411Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:41:17.218Z] ------------------- [2022-07-12T21:41:17.218Z] stable info: [2022-07-12T21:41:17.218Z] ------------------- [2022-07-12T21:41:17.218Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T21:41:17.218Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T21:41:17.218Z] Message: update stable to v1.0.237 [2022-07-12T21:41:17.793Z] ------------------- [2022-07-12T21:41:17.793Z] experimental info: [2022-07-12T21:41:17.793Z] ------------------- [2022-07-12T21:41:17.793Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T21:41:17.793Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T21:41:17.793Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T21:41:18.111Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-12T21:41:18.148Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-12T21:41:18.190Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T21:41:18.235Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T21:41:18.282Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T21:41:18.321Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T21:41:18.357Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T21:41:18.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T21:41:18.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T21:41:18.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T21:41:18.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T21:41:18.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-12T21:41:18.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T21:41:18.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T21:41:18.680Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T21:41:18.719Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T21:41:18.764Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T21:41:18.800Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T21:41:18.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T21:41:18.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T21:41:18.915Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T21:41:18.952Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T21:41:18.991Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T21:41:19.037Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T21:41:19.076Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T21:41:19.122Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T21:41:19.163Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T21:41:19.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-07-12T21:41:19.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-07-12T21:41:19.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-07-12T21:41:19.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75a539137cdac34c8e9fed51e683cb109540fad4 [Pipeline] echo [2022-07-12T21:41:19.380Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75a5391 [Pipeline] echo [2022-07-12T21:41:19.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:41:19.543Z] provisioning config files... [2022-07-12T21:41:19.558Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/config8083420113866078115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:41:19.926Z] ---> docker-login.sh [2022-07-12T21:41:19.926Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:41:20.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:20.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:20.187Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:20.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:20.187Z] [2022-07-12T21:41:20.187Z] Login Succeeded [2022-07-12T21:41:20.187Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:41:20.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:20.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:20.450Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:20.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:20.450Z] [2022-07-12T21:41:20.450Z] Login Succeeded [2022-07-12T21:41:20.450Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:41:20.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:20.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:20.450Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:20.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:20.450Z] [2022-07-12T21:41:20.450Z] Login Succeeded [2022-07-12T21:41:20.450Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:41:20.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:20.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:20.712Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:20.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:20.712Z] [2022-07-12T21:41:20.712Z] Login Succeeded [2022-07-12T21:41:20.712Z] docker.io [2022-07-12T21:41:20.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:20.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:20.973Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:20.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:20.973Z] [2022-07-12T21:41:20.973Z] Login Succeeded [2022-07-12T21:41:20.973Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:41:21.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T21:41:21.661Z] + git rev-list -1 --merges 75a539137cdac34c8e9fed51e683cb109540fad4~1..75a539137cdac34c8e9fed51e683cb109540fad4 [Pipeline] echo [2022-07-12T21:41:21.711Z] -----------> git rev-list -1 --merges 75a539137cdac34c8e9fed51e683cb109540fad4~1..75a539137cdac34c8e9fed51e683cb109540fad4 75a539137cdac34c8e9fed51e683cb109540fad4 [false] [Pipeline] sh [2022-07-12T21:41:22.025Z] + git log --format=format:%s -1 75a539137cdac34c8e9fed51e683cb109540fad4 [Pipeline] echo [2022-07-12T21:41:22.056Z] ========================================================= [2022-07-12T21:41:22.056Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T21:41:22.056Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:41:22.493Z] + git log --format=format:%s -1 75a539137cdac34c8e9fed51e683cb109540fad4 [Pipeline] echo [2022-07-12T21:41:22.525Z] [semverPrep] GIT_COMMIT: 75a539137cdac34c8e9fed51e683cb109540fad4, Commit Message: build: Upgrade to Go 1.18 and optimize attribution script [Pipeline] echo [2022-07-12T21:41:22.553Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T21:41:22.928Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:41:22.928Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T21:41:22.928Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T21:41:22.928Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T21:41:22.928Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T21:41:22.928Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T21:41:22.928Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:23.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:41:23.375Z] [2022-07-12T21:41:23.375Z] 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-12T21:41:23.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:41:23.756Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T21:41:23.756Z] b85a868b505f: Pulling fs layer [2022-07-12T21:41:23.756Z] e2be974225ed: Pulling fs layer [2022-07-12T21:41:23.756Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T21:41:23.756Z] 988bab9f4d93: Pulling fs layer [2022-07-12T21:41:23.756Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T21:41:23.756Z] eaf3925da568: Pulling fs layer [2022-07-12T21:41:23.756Z] bab4dde63d76: Pulling fs layer [2022-07-12T21:41:23.756Z] bde34c3a00c8: Pulling fs layer [2022-07-12T21:41:23.756Z] b352a97aabf1: Pulling fs layer [2022-07-12T21:41:23.756Z] 4872d77fe225: Pulling fs layer [2022-07-12T21:41:23.756Z] 5851b861e8e6: Pulling fs layer [2022-07-12T21:41:23.756Z] 1469e6f7b9e6: Waiting [2022-07-12T21:41:23.756Z] eaf3925da568: Waiting [2022-07-12T21:41:23.756Z] bab4dde63d76: Waiting [2022-07-12T21:41:23.756Z] bde34c3a00c8: Waiting [2022-07-12T21:41:23.756Z] b352a97aabf1: Waiting [2022-07-12T21:41:23.756Z] 4872d77fe225: Waiting [2022-07-12T21:41:23.756Z] 5851b861e8e6: Waiting [2022-07-12T21:41:23.756Z] 988bab9f4d93: Waiting [2022-07-12T21:41:23.756Z] e2be974225ed: Download complete [2022-07-12T21:41:23.756Z] 988bab9f4d93: Verifying Checksum [2022-07-12T21:41:23.756Z] 988bab9f4d93: Download complete [2022-07-12T21:41:24.018Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T21:41:24.018Z] 1469e6f7b9e6: Download complete [2022-07-12T21:41:24.018Z] eaf3925da568: Download complete [2022-07-12T21:41:24.018Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T21:41:24.018Z] 339a4e72a1f5: Download complete [2022-07-12T21:41:24.018Z] bde34c3a00c8: Verifying Checksum [2022-07-12T21:41:24.018Z] bde34c3a00c8: Download complete [2022-07-12T21:41:24.018Z] b352a97aabf1: Verifying Checksum [2022-07-12T21:41:24.018Z] b352a97aabf1: Download complete [2022-07-12T21:41:24.018Z] 4872d77fe225: Download complete [2022-07-12T21:41:24.018Z] 5851b861e8e6: Download complete [2022-07-12T21:41:24.018Z] b85a868b505f: Verifying Checksum [2022-07-12T21:41:24.018Z] b85a868b505f: Download complete [2022-07-12T21:41:24.278Z] bab4dde63d76: Verifying Checksum [2022-07-12T21:41:24.278Z] bab4dde63d76: Download complete [2022-07-12T21:41:25.659Z] b85a868b505f: Pull complete [2022-07-12T21:41:25.659Z] e2be974225ed: Pull complete [2022-07-12T21:41:26.230Z] 339a4e72a1f5: Pull complete [2022-07-12T21:41:26.230Z] 988bab9f4d93: Pull complete [2022-07-12T21:41:26.492Z] 1469e6f7b9e6: Pull complete [2022-07-12T21:41:26.492Z] eaf3925da568: Pull complete [2022-07-12T21:41:28.403Z] bab4dde63d76: Pull complete [2022-07-12T21:41:28.666Z] bde34c3a00c8: Pull complete [2022-07-12T21:41:28.666Z] b352a97aabf1: Pull complete [2022-07-12T21:41:28.666Z] 4872d77fe225: Pull complete [2022-07-12T21:41:28.930Z] 5851b861e8e6: Pull complete [2022-07-12T21:41:28.930Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T21:41:28.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:41:28.930Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:41:29.181Z] prd-ubuntu20.04-docker-8c-8g-19771 does not seem to be running inside a container [2022-07-12T21:41:29.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-182 -v /w/workspace/gexfoundry_device-snmp-go_PR-182:/w/workspace/gexfoundry_device-snmp-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T21:41:30.653Z] $ docker top c781e196f90fe58ed8b38fdd1c738a828f3220e0ac32a273fa27293e4bf69b22 -eo pid,comm [2022-07-12T21:41:30.720Z] 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-12T21:41:30.720Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:41:30.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:41:30.838Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:41:30.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:41:30.979Z] $ docker exec c781e196f90fe58ed8b38fdd1c738a828f3220e0ac32a273fa27293e4bf69b22 ssh-agent [2022-07-12T21:41:31.097Z] SSH_AUTH_SOCK=/tmp/ssh-ERQ4R6ilvIlN/agent.35 [2022-07-12T21:41:31.097Z] SSH_AGENT_PID=41 [2022-07-12T21:41:31.103Z] Running ssh-add (command line suppressed) [2022-07-12T21:41:31.238Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/private_key_4229494562381531153.key (/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/private_key_4229494562381531153.key) [2022-07-12T21:41:31.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:41:31.579Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T21:41:31.606Z] $ docker exec --env ******** --env ******** c781e196f90fe58ed8b38fdd1c738a828f3220e0ac32a273fa27293e4bf69b22 ssh-agent -k [2022-07-12T21:41:31.724Z] unset SSH_AUTH_SOCK; [2022-07-12T21:41:31.725Z] unset SSH_AGENT_PID; [2022-07-12T21:41:31.725Z] echo Agent pid 41 killed; [2022-07-12T21:41:31.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T21:41:31.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:41:31.806Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:41:31.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:41:31.947Z] $ docker exec c781e196f90fe58ed8b38fdd1c738a828f3220e0ac32a273fa27293e4bf69b22 ssh-agent [2022-07-12T21:41:32.072Z] SSH_AUTH_SOCK=/tmp/ssh-kYmJwhBDSPHm/agent.75 [2022-07-12T21:41:32.072Z] SSH_AGENT_PID=82 [2022-07-12T21:41:32.078Z] Running ssh-add (command line suppressed) [2022-07-12T21:41:32.202Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/private_key_3348755056556709619.key (/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/private_key_3348755056556709619.key) [2022-07-12T21:41:32.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:41:32.550Z] + git semver init [2022-07-12T21:41:32.810Z] 2022-07-12 21:41:32,768 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T21:41:32.811Z] 2022-07-12 21:41:32,768 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-182/.semver [2022-07-12T21:41:32.811Z] 2022-07-12 21:41:32,769 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-182/.semver [2022-07-12T21:41:32.811Z] 2022-07-12 21:41:32,769 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-182/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-182, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,477 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-182/.git/info/exclude [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,478 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-182/.semver/PR-182 with force:False [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,478 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-182/.semver/PR-182 [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,481 [execute] INFO git cat-file --batch-check [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,488 [execute] INFO git cat-file --batch [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:41:33.761Z] 2022-07-12 21:41:33,494 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-182/.semver/PR-182 [2022-07-12T21:41:33.761Z] 0.0.0 [Pipeline] } [2022-07-12T21:41:33.784Z] $ docker exec --env ******** --env ******** c781e196f90fe58ed8b38fdd1c738a828f3220e0ac32a273fa27293e4bf69b22 ssh-agent -k [2022-07-12T21:41:33.881Z] unset SSH_AUTH_SOCK; [2022-07-12T21:41:33.881Z] unset SSH_AGENT_PID; [2022-07-12T21:41:33.881Z] echo Agent pid 82 killed; [2022-07-12T21:41:33.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:41:34.303Z] + git semver [Pipeline] } [2022-07-12T21:41:34.597Z] $ docker stop --time=1 c781e196f90fe58ed8b38fdd1c738a828f3220e0ac32a273fa27293e4bf69b22 [2022-07-12T21:41:35.929Z] $ docker rm -f c781e196f90fe58ed8b38fdd1c738a828f3220e0ac32a273fa27293e4bf69b22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:41:36.334Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T21:41:36.648Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T21:41:36.666Z] [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-12T21:41:37.233Z] provisioning config files... [2022-07-12T21:41:37.244Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/config1671617451301454917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:41:37.598Z] ---> docker-login.sh [2022-07-12T21:41:37.598Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:41:37.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:37.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:37.598Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:37.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:37.598Z] [2022-07-12T21:41:37.598Z] Login Succeeded [2022-07-12T21:41:37.598Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:41:37.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:37.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:37.860Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:37.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:37.860Z] [2022-07-12T21:41:37.860Z] Login Succeeded [2022-07-12T21:41:37.860Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:41:37.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:37.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:37.860Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:37.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:37.860Z] [2022-07-12T21:41:37.860Z] Login Succeeded [2022-07-12T21:41:37.860Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:41:38.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:38.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:38.121Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:38.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:38.121Z] [2022-07-12T21:41:38.121Z] Login Succeeded [2022-07-12T21:41:38.121Z] docker.io [2022-07-12T21:41:38.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:41:38.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:41:38.383Z] Configure a credential helper to remove this warning. See [2022-07-12T21:41:38.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:41:38.383Z] [2022-07-12T21:41:38.383Z] Login Succeeded [2022-07-12T21:41:38.383Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:41:38.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T21:41:38.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:41:38.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:41:38.649Z] ========================================================= [2022-07-12T21:41:38.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T21:41:38.649Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:41:39.116Z] + 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-12T21:41:39.116Z] Sending build context to Docker daemon 5.446MB [2022-07-12T21:41:39.116Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:41:39.116Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T21:41:39.116Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T21:41:39.116Z] 2408cc74d12b: Pulling fs layer [2022-07-12T21:41:39.116Z] ea60b727a1ce: Pulling fs layer [2022-07-12T21:41:39.116Z] 30c4a7721957: Pulling fs layer [2022-07-12T21:41:39.116Z] 370296b7ddb6: Pulling fs layer [2022-07-12T21:41:39.116Z] 7c6cee850709: Pulling fs layer [2022-07-12T21:41:39.116Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T21:41:39.116Z] d94ebbe4e438: Pulling fs layer [2022-07-12T21:41:39.116Z] 7c6cee850709: Waiting [2022-07-12T21:41:39.116Z] 39a5fcdaea64: Waiting [2022-07-12T21:41:39.116Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T21:41:39.116Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T21:41:39.116Z] d94ebbe4e438: Waiting [2022-07-12T21:41:39.116Z] bcfd1f05c69d: Waiting [2022-07-12T21:41:39.116Z] 59ccb84bbe0f: Waiting [2022-07-12T21:41:39.116Z] 30c4a7721957: Verifying Checksum [2022-07-12T21:41:39.116Z] 30c4a7721957: Download complete [2022-07-12T21:41:39.379Z] ea60b727a1ce: Verifying Checksum [2022-07-12T21:41:39.379Z] ea60b727a1ce: Download complete [2022-07-12T21:41:39.379Z] 7c6cee850709: Verifying Checksum [2022-07-12T21:41:39.379Z] 7c6cee850709: Download complete [2022-07-12T21:41:39.379Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T21:41:39.379Z] 39a5fcdaea64: Download complete [2022-07-12T21:41:39.379Z] 2408cc74d12b: Verifying Checksum [2022-07-12T21:41:39.379Z] 2408cc74d12b: Download complete [2022-07-12T21:41:39.379Z] d94ebbe4e438: Verifying Checksum [2022-07-12T21:41:39.379Z] d94ebbe4e438: Download complete [2022-07-12T21:41:39.379Z] 2408cc74d12b: Pull complete [2022-07-12T21:41:39.641Z] ea60b727a1ce: Pull complete [2022-07-12T21:41:39.641Z] 30c4a7721957: Pull complete [2022-07-12T21:41:39.641Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T21:41:39.641Z] 59ccb84bbe0f: Download complete [2022-07-12T21:41:39.903Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T21:41:39.903Z] bcfd1f05c69d: Download complete [2022-07-12T21:41:40.167Z] 370296b7ddb6: Verifying Checksum [2022-07-12T21:41:40.167Z] 370296b7ddb6: Download complete [2022-07-12T21:41:44.369Z] 370296b7ddb6: Pull complete [2022-07-12T21:41:44.369Z] 7c6cee850709: Pull complete [2022-07-12T21:41:44.369Z] 39a5fcdaea64: Pull complete [2022-07-12T21:41:44.369Z] d94ebbe4e438: Pull complete [2022-07-12T21:41:46.277Z] bcfd1f05c69d: Pull complete [2022-07-12T21:41:46.845Z] 59ccb84bbe0f: Pull complete [2022-07-12T21:41:46.845Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T21:41:46.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T21:41:46.845Z] ---> a4fb48ad2a94 [2022-07-12T21:41:46.845Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T21:41:48.766Z] ---> Running in 50af565fe8c9 [2022-07-12T21:41:48.766Z] Removing intermediate container 50af565fe8c9 [2022-07-12T21:41:48.766Z] ---> be11285e9d6e [2022-07-12T21:41:48.766Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T21:41:48.766Z] ---> Running in 379245772ccc [2022-07-12T21:41:48.766Z] Removing intermediate container 379245772ccc [2022-07-12T21:41:48.766Z] ---> b348a91943b8 [2022-07-12T21:41:48.766Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T21:41:48.766Z] ---> Running in 8eb305e39cdb [2022-07-12T21:41:49.024Z] Removing intermediate container 8eb305e39cdb [2022-07-12T21:41:49.024Z] ---> 32b30d0f064f [2022-07-12T21:41:49.024Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:41:49.024Z] ---> Running in 68d420744826 [2022-07-12T21:41:49.594Z] Removing intermediate container 68d420744826 [2022-07-12T21:41:49.594Z] ---> 7c034e2047c3 [2022-07-12T21:41:49.594Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T21:41:49.594Z] ---> Running in 9ab10487579c [2022-07-12T21:41:49.853Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:41:50.794Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:41:51.054Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T21:41:51.054Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T21:41:51.315Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T21:41:51.315Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T21:41:51.315Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:41:51.315Z] OK: 216 MiB in 55 packages [2022-07-12T21:41:51.887Z] Removing intermediate container 9ab10487579c [2022-07-12T21:41:51.887Z] ---> 2b1e29dd4c5d [2022-07-12T21:41:51.887Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-12T21:41:51.887Z] ---> Running in de84378671ce [2022-07-12T21:41:51.887Z] Removing intermediate container de84378671ce [2022-07-12T21:41:51.887Z] ---> 8308768538fd [2022-07-12T21:41:51.887Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T21:41:52.068Z] Still waiting to schedule task [2022-07-12T21:41:52.068Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-12T21:41:52.149Z] ---> 96f78f198c7e [2022-07-12T21:41:52.149Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:41:52.149Z] ---> Running in c3e6260dbb05 [2022-07-12T21:42:07.069Z] Removing intermediate container c3e6260dbb05 [2022-07-12T21:42:07.069Z] ---> b632f812406f [2022-07-12T21:42:07.069Z] Step 11/12 : COPY . . [2022-07-12T21:42:07.069Z] ---> 5baa89cf2198 [2022-07-12T21:42:07.069Z] Step 12/12 : RUN ${MAKE} [2022-07-12T21:42:07.069Z] ---> Running in 3100781fef67 [2022-07-12T21:42:07.069Z] noop [2022-07-12T21:42:07.069Z] Removing intermediate container 3100781fef67 [2022-07-12T21:42:07.069Z] ---> 365cb8859740 [2022-07-12T21:42:07.069Z] Successfully built 365cb8859740 [2022-07-12T21:42:07.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:42:07.507Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:42:07.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:42:07.665Z] prd-ubuntu20.04-docker-8c-8g-19771 does not seem to be running inside a container [2022-07-12T21:42:07.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-182 -v /w/workspace/gexfoundry_device-snmp-go_PR-182:/w/workspace/gexfoundry_device-snmp-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T21:42:08.093Z] $ docker top e85e77b8798ef01058fb17d3814a156edbc499bd88a0294a5a2c233b5962b0db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:42:08.496Z] + go version [2022-07-12T21:42:08.496Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T21:42:08.532Z] $ docker stop --time=1 e85e77b8798ef01058fb17d3814a156edbc499bd88a0294a5a2c233b5962b0db [2022-07-12T21:42:09.842Z] $ docker rm -f e85e77b8798ef01058fb17d3814a156edbc499bd88a0294a5a2c233b5962b0db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:42:10.526Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:42:10.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:42:10.692Z] prd-ubuntu20.04-docker-8c-8g-19771 does not seem to be running inside a container [2022-07-12T21:42:10.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-182 -v /w/workspace/gexfoundry_device-snmp-go_PR-182:/w/workspace/gexfoundry_device-snmp-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T21:42:11.210Z] $ docker top 5b083d803b338754efef554180c724818dff2d8d84d36c41e577b0f78f2dc34a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:42:11.609Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-182 [Pipeline] fileExists [Pipeline] sh [2022-07-12T21:42:11.975Z] + make test [2022-07-12T21:42:11.975Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T21:42:12.237Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-12T21:42:20.561Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-12T21:42:20.561Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2022-07-12T21:42:25.853Z] 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-12T21:42:25.853Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:42:29.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:42:29.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:42:29.149Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:42:29.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:42:29.225Z] $ docker stop --time=1 5b083d803b338754efef554180c724818dff2d8d84d36c41e577b0f78f2dc34a [2022-07-12T21:42:30.953Z] $ docker rm -f 5b083d803b338754efef554180c724818dff2d8d84d36c41e577b0f78f2dc34a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:42:31.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:42:31.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T21:42:32.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:42:32.419Z] + ls -al . [2022-07-12T21:42:32.419Z] total 168 [2022-07-12T21:42:32.419Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 21:42 . [2022-07-12T21:42:32.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:41 .. [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 21:41 .dockerignore [2022-07-12T21:42:32.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:42 .git [2022-07-12T21:42:32.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:41 .github [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 21:41 .gitignore [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:41 .golangci.yml [2022-07-12T21:42:32.419Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:41 .semver [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 21:41 Attribution.txt [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 21:41 CHANGELOG.md [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 21:41 Dockerfile [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:41 GOVERNANCE.md [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 21:41 Jenkinsfile [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:41 LICENSE [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 21:41 Makefile [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 21:41 OWNERS.md [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 21:41 README.md [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:41 VERSION [2022-07-12T21:42:32.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:41 bin [2022-07-12T21:42:32.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:41 cmd [2022-07-12T21:42:32.419Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 21:42 coverage.out [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 21:41 go.mod [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 21:41 go.sum [2022-07-12T21:42:32.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:41 internal [2022-07-12T21:42:32.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:41 snap [2022-07-12T21:42:32.419Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 21:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:42:32.817Z] + 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=75a539137cdac34c8e9fed51e683cb109540fad4 --label arch=amd64 --label version=0.0.0 . [2022-07-12T21:42:32.817Z] Sending build context to Docker daemon 5.454MB [2022-07-12T21:42:32.817Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:42:32.817Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T21:42:32.817Z] ---> 365cb8859740 [2022-07-12T21:42:32.817Z] Step 3/24 : ARG MAKE='make build' [2022-07-12T21:42:32.817Z] ---> Running in 83e4d4cfbb3c [2022-07-12T21:42:33.078Z] Removing intermediate container 83e4d4cfbb3c [2022-07-12T21:42:33.078Z] ---> 0635fb4dd5d5 [2022-07-12T21:42:33.078Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T21:42:33.078Z] ---> Running in 46e5ee3d77d4 [2022-07-12T21:42:33.078Z] Removing intermediate container 46e5ee3d77d4 [2022-07-12T21:42:33.078Z] ---> 634eec665365 [2022-07-12T21:42:33.078Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T21:42:33.078Z] ---> Running in da77c8a0ee8a [2022-07-12T21:42:33.338Z] Removing intermediate container da77c8a0ee8a [2022-07-12T21:42:33.338Z] ---> 2d9912022412 [2022-07-12T21:42:33.338Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:42:33.338Z] ---> Running in ed431a943604 [2022-07-12T21:42:33.910Z] Removing intermediate container ed431a943604 [2022-07-12T21:42:33.910Z] ---> e7fc5bf06924 [2022-07-12T21:42:33.910Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T21:42:33.910Z] ---> Running in bab6041d2cac [2022-07-12T21:42:34.171Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:42:35.116Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:42:35.377Z] OK: 216 MiB in 55 packages [2022-07-12T21:42:35.641Z] Removing intermediate container bab6041d2cac [2022-07-12T21:42:35.641Z] ---> 5ebaf3e21049 [2022-07-12T21:42:35.641Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-12T21:42:35.641Z] ---> Running in 971118b12dcc [2022-07-12T21:42:35.900Z] Removing intermediate container 971118b12dcc [2022-07-12T21:42:35.900Z] ---> 0ce34da34ed6 [2022-07-12T21:42:35.900Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-12T21:42:35.900Z] ---> 8a6d4a434a2f [2022-07-12T21:42:35.900Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:42:36.161Z] ---> Running in fff415dc073c [2022-07-12T21:42:36.737Z] Removing intermediate container fff415dc073c [2022-07-12T21:42:36.737Z] ---> feadbc8aab8b [2022-07-12T21:42:36.737Z] Step 11/24 : COPY . . [2022-07-12T21:42:36.997Z] ---> d590e869166b [2022-07-12T21:42:36.997Z] Step 12/24 : RUN ${MAKE} [2022-07-12T21:42:36.997Z] ---> Running in 9c92308cc641 [2022-07-12T21:42:37.258Z] 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.11 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-12T21:42:59.214Z] Removing intermediate container 9c92308cc641 [2022-07-12T21:42:59.214Z] ---> 960d3c4f5252 [2022-07-12T21:42:59.214Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T21:42:59.214Z] 3.16: Pulling from library/alpine [2022-07-12T21:42:59.214Z] 2408cc74d12b: Already exists [2022-07-12T21:42:59.214Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T21:42:59.214Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T21:42:59.214Z] ---> e66264b98777 [2022-07-12T21:42:59.214Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:42:59.214Z] ---> Running in d5f27835cc95 [2022-07-12T21:42:59.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:42:59.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:42:59.214Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:42:59.214Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T21:42:59.214Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:42:59.214Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T21:42:59.214Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:42:59.214Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:42:59.214Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:42:59.214Z] OK: 8 MiB in 20 packages [2022-07-12T21:42:59.785Z] Removing intermediate container d5f27835cc95 [2022-07-12T21:42:59.785Z] ---> 3984739267cc [2022-07-12T21:42:59.785Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-12T21:43:00.361Z] ---> b88c8510f771 [2022-07-12T21:43:00.361Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-12T21:43:00.361Z] ---> b29b7a7df9e0 [2022-07-12T21:43:00.361Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-12T21:43:00.624Z] ---> ed83b2676493 [2022-07-12T21:43:00.624Z] Step 18/24 : EXPOSE 59993 [2022-07-12T21:43:00.624Z] ---> Running in 259395cae769 [2022-07-12T21:43:00.624Z] Removing intermediate container 259395cae769 [2022-07-12T21:43:00.624Z] ---> d6cfc7608689 [2022-07-12T21:43:00.624Z] Step 19/24 : EXPOSE 161 [2022-07-12T21:43:00.886Z] ---> Running in baa60a7be546 [2022-07-12T21:43:00.886Z] Removing intermediate container baa60a7be546 [2022-07-12T21:43:00.886Z] ---> 4c4ac3d071ca [2022-07-12T21:43:00.886Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-12T21:43:00.886Z] ---> Running in 81cfabb65146 [2022-07-12T21:43:00.886Z] Removing intermediate container 81cfabb65146 [2022-07-12T21:43:00.886Z] ---> 7cc37b30af7e [2022-07-12T21:43:00.886Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T21:43:01.150Z] ---> Running in 3d368180a8ff [2022-07-12T21:43:01.150Z] Removing intermediate container 3d368180a8ff [2022-07-12T21:43:01.150Z] ---> 6b7e175d771a [2022-07-12T21:43:01.150Z] Step 22/24 : LABEL arch=amd64 [2022-07-12T21:43:01.150Z] ---> Running in c9c8af95aa54 [2022-07-12T21:43:01.150Z] Removing intermediate container c9c8af95aa54 [2022-07-12T21:43:01.150Z] ---> 3fded2fd1a45 [2022-07-12T21:43:01.150Z] Step 23/24 : LABEL git_sha=75a539137cdac34c8e9fed51e683cb109540fad4 [2022-07-12T21:43:01.416Z] ---> Running in 950f1b1904bb [2022-07-12T21:43:01.416Z] Removing intermediate container 950f1b1904bb [2022-07-12T21:43:01.416Z] ---> 9a6da66711ca [2022-07-12T21:43:01.416Z] Step 24/24 : LABEL version=0.0.0 [2022-07-12T21:43:01.416Z] ---> Running in c01b025c0ef5 [2022-07-12T21:43:01.416Z] Removing intermediate container c01b025c0ef5 [2022-07-12T21:43:01.416Z] ---> 4675040173c8 [2022-07-12T21:43:01.416Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:43:01.416Z] Successfully built 4675040173c8 [2022-07-12T21:43:01.416Z] 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-12T21:43:02.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:43:02.322Z] [2022-07-12T21:43:02.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:43:02.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:43:02.699Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T21:43:02.699Z] 5eb5b503b376: Pulling fs layer [2022-07-12T21:43:02.699Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T21:43:02.699Z] ec43610c2a17: Pulling fs layer [2022-07-12T21:43:02.699Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T21:43:02.699Z] 33b1e0a273af: Pulling fs layer [2022-07-12T21:43:02.699Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T21:43:02.699Z] 2f39f015ded8: Pulling fs layer [2022-07-12T21:43:02.699Z] 5d3b04190fa2: Waiting [2022-07-12T21:43:02.699Z] 33b1e0a273af: Waiting [2022-07-12T21:43:02.699Z] 3a2ae6a8a46f: Waiting [2022-07-12T21:43:02.699Z] 2f39f015ded8: Waiting [2022-07-12T21:43:02.699Z] 5c69ac0246d0: Download complete [2022-07-12T21:43:02.699Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T21:43:02.699Z] 3a2ae6a8a46f: Download complete [2022-07-12T21:43:02.699Z] 33b1e0a273af: Verifying Checksum [2022-07-12T21:43:02.699Z] 33b1e0a273af: Download complete [2022-07-12T21:43:02.699Z] ec43610c2a17: Verifying Checksum [2022-07-12T21:43:02.699Z] ec43610c2a17: Download complete [2022-07-12T21:43:02.699Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T21:43:02.699Z] 5d3b04190fa2: Download complete [2022-07-12T21:43:02.958Z] 5eb5b503b376: Verifying Checksum [2022-07-12T21:43:02.958Z] 5eb5b503b376: Download complete [2022-07-12T21:43:03.528Z] 2f39f015ded8: Download complete [2022-07-12T21:43:04.098Z] 5eb5b503b376: Pull complete [2022-07-12T21:43:04.357Z] 5c69ac0246d0: Pull complete [2022-07-12T21:43:04.927Z] ec43610c2a17: Pull complete [2022-07-12T21:43:04.927Z] 3a2ae6a8a46f: Pull complete [2022-07-12T21:43:05.187Z] 33b1e0a273af: Pull complete [2022-07-12T21:43:05.187Z] 5d3b04190fa2: Pull complete [2022-07-12T21:43:09.391Z] 2f39f015ded8: Pull complete [2022-07-12T21:43:09.391Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T21:43:09.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:43:09.391Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:43:09.623Z] prd-ubuntu20.04-docker-8c-8g-19771 does not seem to be running inside a container [2022-07-12T21:43:09.666Z] $ 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-182 -v /w/workspace/gexfoundry_device-snmp-go_PR-182:/w/workspace/gexfoundry_device-snmp-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T21:43:11.448Z] $ docker top 185f597764c8402eeabebb2fcb0bf024757c877196b6f162db2f7bd57ef529b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:43:11.908Z] ---> job-cost.sh [2022-07-12T21:43:11.908Z] lf-activate-venv: SKIPPING [2022-07-12T21:43:11.908Z] INFO: No Stack... [2022-07-12T21:43:12.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:43:12.742Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:43:13.059Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-182/archives/cost.csv [2022-07-12T21:43:13.059Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T21:43:13.098Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] [2022-07-12T21:43:13.103Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] did not exist. Created. [2022-07-12T21:43:13.103Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:43:13.485Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T21:43:13.537Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:43:13.564Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:43:13.646Z] $ docker stop --time=1 185f597764c8402eeabebb2fcb0bf024757c877196b6f162db2f7bd57ef529b2 [2022-07-12T21:43:14.821Z] $ docker rm -f 185f597764c8402eeabebb2fcb0bf024757c877196b6f162db2f7bd57ef529b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T21:44:06.666Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19773 in /w/workspace/gexfoundry_device-snmp-go_PR-182 [Pipeline] { [Pipeline] ws [2022-07-12T21:44:06.710Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-07-12T21:44:06.817Z] Selected Git installation does not exist. Using Default [2022-07-12T21:44:06.817Z] The recommended git tool is: NONE [2022-07-12T21:44:14.390Z] using credential edgex-jenkins-ssh [2022-07-12T21:44:14.410Z] Cloning the remote Git repository [2022-07-12T21:44:14.475Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-12T21:44:14.560Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-07-12T21:44:14.654Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-12T21:44:14.656Z] > git --version # timeout=10 [2022-07-12T21:44:14.675Z] > git --version # 'git version 2.25.1' [2022-07-12T21:44:14.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T21:44:14.740Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T21:44:15.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-12T21:44:15.773Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T21:44:15.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-12T21:44:15.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-12T21:44:15.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T21:44:15.871Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T21:44:16.364Z] Merging remotes/origin/main commit 2a50195080db95dc897f07c56d427b58d1c43a7f into PR head commit 75a539137cdac34c8e9fed51e683cb109540fad4 [2022-07-12T21:44:16.573Z] Merge succeeded, producing 75a539137cdac34c8e9fed51e683cb109540fad4 [2022-07-12T21:44:16.573Z] Checking out Revision 75a539137cdac34c8e9fed51e683cb109540fad4 (PR-182) [2022-07-12T21:44:16.388Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T21:44:16.405Z] > git checkout -f 75a539137cdac34c8e9fed51e683cb109540fad4 # timeout=10 [2022-07-12T21:44:16.491Z] > git remote # timeout=10 [2022-07-12T21:44:16.508Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T21:44:16.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T21:44:16.534Z] > git merge 2a50195080db95dc897f07c56d427b58d1c43a7f # timeout=10 [2022-07-12T21:44:16.560Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T21:44:16.584Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T21:44:16.601Z] > git checkout -f 75a539137cdac34c8e9fed51e683cb109540fad4 # timeout=10 [2022-07-12T21:44:20.857Z] Commit message: "build: Upgrade to Go 1.18 and optimize attribution script" [2022-07-12T21:44:20.922Z] > git --version # timeout=10 [2022-07-12T21:44:20.946Z] > git --version # 'git version 2.25.1' [2022-07-12T21:44:20.958Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:44:22.114Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T21:44:22.114Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T21:44:22.114Z] Dload Upload Total Spent Left Speed [2022-07-12T21:44:22.114Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 203k 0 --:--:-- --:--:-- --:--:-- 203k [Pipeline] sh [2022-07-12T21:44:22.866Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T21:44:23.232Z] + sudo tee /etc/docker/daemon.new+ [2022-07-12T21:44:23.233Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T21:44:23.233Z] { [2022-07-12T21:44:23.233Z] "registry-mirrors": [ [2022-07-12T21:44:23.233Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T21:44:23.233Z] ], [2022-07-12T21:44:23.233Z] "bip": "10.250.0.254/24", [2022-07-12T21:44:23.233Z] "hosts": [ [2022-07-12T21:44:23.233Z] "tcp://0.0.0.0:5555", [2022-07-12T21:44:23.233Z] "unix:///var/run/docker.sock" [2022-07-12T21:44:23.233Z] ], [2022-07-12T21:44:23.233Z] "mtu": 1458, [2022-07-12T21:44:23.233Z] "selinux-enabled": true, [2022-07-12T21:44:23.233Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T21:44:23.233Z] } [Pipeline] sh [2022-07-12T21:44:23.601Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T21:44:23.965Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:44:42.558Z] provisioning config files... [2022-07-12T21:44:42.585Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8002988405749718367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:44:42.991Z] ---> docker-login.sh [2022-07-12T21:44:42.991Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:44:43.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:44:43.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:44:43.858Z] Configure a credential helper to remove this warning. See [2022-07-12T21:44:43.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:44:43.858Z] [2022-07-12T21:44:43.858Z] Login Succeeded [2022-07-12T21:44:43.858Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:44:44.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:44:44.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:44:44.403Z] Configure a credential helper to remove this warning. See [2022-07-12T21:44:44.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:44:44.403Z] [2022-07-12T21:44:44.403Z] Login Succeeded [2022-07-12T21:44:44.403Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:44:44.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:44:44.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:44:44.954Z] Configure a credential helper to remove this warning. See [2022-07-12T21:44:44.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:44:44.954Z] [2022-07-12T21:44:44.954Z] Login Succeeded [2022-07-12T21:44:44.954Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:44:45.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:44:45.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:44:45.231Z] Configure a credential helper to remove this warning. See [2022-07-12T21:44:45.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:44:45.231Z] [2022-07-12T21:44:45.231Z] Login Succeeded [2022-07-12T21:44:45.231Z] docker.io [2022-07-12T21:44:45.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:44:46.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:44:46.102Z] Configure a credential helper to remove this warning. See [2022-07-12T21:44:46.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:44:46.102Z] [2022-07-12T21:44:46.102Z] Login Succeeded [2022-07-12T21:44:46.102Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:44:46.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T21:44:46.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:44:46.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:44:46.627Z] ========================================================= [2022-07-12T21:44:46.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T21:44:46.627Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:44:47.126Z] + 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-12T21:44:47.405Z] Sending build context to Docker daemon 2.824MB [2022-07-12T21:44:47.405Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:44:47.405Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T21:44:47.685Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T21:44:47.685Z] b3c136eddcbf: Pulling fs layer [2022-07-12T21:44:47.685Z] c0a3192eca97: Pulling fs layer [2022-07-12T21:44:47.685Z] a050256f5b6f: Pulling fs layer [2022-07-12T21:44:47.685Z] 656be50a0ddc: Pulling fs layer [2022-07-12T21:44:47.685Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T21:44:47.685Z] 46d945488cbd: Pulling fs layer [2022-07-12T21:44:47.685Z] 8a5474983e97: Pulling fs layer [2022-07-12T21:44:47.685Z] 329c88fbcd65: Pulling fs layer [2022-07-12T21:44:47.685Z] 656be50a0ddc: Waiting [2022-07-12T21:44:47.685Z] 2bbca73fdf42: Waiting [2022-07-12T21:44:47.685Z] 46d945488cbd: Waiting [2022-07-12T21:44:47.685Z] 8a5474983e97: Waiting [2022-07-12T21:44:47.685Z] 329c88fbcd65: Waiting [2022-07-12T21:44:47.685Z] a050256f5b6f: Verifying Checksum [2022-07-12T21:44:47.685Z] a050256f5b6f: Download complete [2022-07-12T21:44:47.685Z] c0a3192eca97: Verifying Checksum [2022-07-12T21:44:47.685Z] c0a3192eca97: Download complete [2022-07-12T21:44:47.685Z] 2bbca73fdf42: Download complete [2022-07-12T21:44:47.685Z] b3c136eddcbf: Verifying Checksum [2022-07-12T21:44:47.685Z] b3c136eddcbf: Download complete [2022-07-12T21:44:47.685Z] 46d945488cbd: Verifying Checksum [2022-07-12T21:44:47.685Z] 46d945488cbd: Download complete [2022-07-12T21:44:48.678Z] b3c136eddcbf: Pull complete [2022-07-12T21:44:48.678Z] 329c88fbcd65: Download complete [2022-07-12T21:44:49.684Z] c0a3192eca97: Pull complete [2022-07-12T21:44:49.684Z] a050256f5b6f: Pull complete [2022-07-12T21:44:49.958Z] 8a5474983e97: Verifying Checksum [2022-07-12T21:44:49.958Z] 8a5474983e97: Download complete [2022-07-12T21:44:50.556Z] 656be50a0ddc: Verifying Checksum [2022-07-12T21:44:50.556Z] 656be50a0ddc: Download complete [2022-07-12T21:45:02.957Z] 656be50a0ddc: Pull complete [2022-07-12T21:45:02.957Z] 2bbca73fdf42: Pull complete [2022-07-12T21:45:03.232Z] 46d945488cbd: Pull complete [2022-07-12T21:45:09.963Z] 8a5474983e97: Pull complete [2022-07-12T21:45:11.415Z] 329c88fbcd65: Pull complete [2022-07-12T21:45:11.415Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T21:45:11.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T21:45:11.415Z] ---> ff4287adb874 [2022-07-12T21:45:11.415Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T21:45:13.402Z] ---> Running in 3f56e0133c4f [2022-07-12T21:45:14.003Z] Removing intermediate container 3f56e0133c4f [2022-07-12T21:45:14.003Z] ---> b6f975d7614d [2022-07-12T21:45:14.003Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T21:45:14.003Z] ---> Running in 7a716f507700 [2022-07-12T21:45:14.317Z] Removing intermediate container 7a716f507700 [2022-07-12T21:45:14.317Z] ---> c67b573b9cf9 [2022-07-12T21:45:14.317Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T21:45:14.603Z] ---> Running in a3b40dcea914 [2022-07-12T21:45:16.041Z] Removing intermediate container a3b40dcea914 [2022-07-12T21:45:16.041Z] ---> 92eac1d1e5f3 [2022-07-12T21:45:16.041Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:45:16.041Z] ---> Running in 8af6599b810c [2022-07-12T21:45:18.027Z] Removing intermediate container 8af6599b810c [2022-07-12T21:45:18.027Z] ---> e0cc39861470 [2022-07-12T21:45:18.027Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T21:45:18.027Z] ---> Running in db7465679fdf [2022-07-12T21:45:19.018Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:45:20.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:45:20.983Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T21:45:21.259Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T21:45:21.260Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T21:45:21.540Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T21:45:21.540Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:45:21.540Z] OK: 226 MiB in 55 packages [2022-07-12T21:45:22.530Z] Removing intermediate container db7465679fdf [2022-07-12T21:45:22.530Z] ---> fa0b117bd733 [2022-07-12T21:45:22.530Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-12T21:45:22.810Z] ---> Running in fff79ed5a81b [2022-07-12T21:45:23.087Z] Removing intermediate container fff79ed5a81b [2022-07-12T21:45:23.087Z] ---> 5c40589e61c5 [2022-07-12T21:45:23.087Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T21:45:23.689Z] ---> 1d064e8f6e75 [2022-07-12T21:45:23.690Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:45:23.690Z] ---> Running in 4bf729b010fb [2022-07-12T21:46:10.698Z] Removing intermediate container 4bf729b010fb [2022-07-12T21:46:10.698Z] ---> ff4e1278eab6 [2022-07-12T21:46:10.698Z] Step 11/12 : COPY . . [2022-07-12T21:46:10.698Z] ---> 688151cb9f64 [2022-07-12T21:46:10.698Z] Step 12/12 : RUN ${MAKE} [2022-07-12T21:46:10.698Z] ---> Running in 89eecae98b2a [2022-07-12T21:46:10.698Z] noop [2022-07-12T21:46:10.698Z] Removing intermediate container 89eecae98b2a [2022-07-12T21:46:10.698Z] ---> 91e7c6a243fb [2022-07-12T21:46:10.698Z] Successfully built 91e7c6a243fb [2022-07-12T21:46:10.698Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:46:11.179Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:46:11.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:46:11.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-19773 does not seem to be running inside a container [2022-07-12T21:46:11.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T21:46:12.855Z] $ docker top 46e2ab4dcd62590a196e6cf4fb679ac5c7a6b94e9ead9d3c3d872901af7489d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:46:13.822Z] + go version [2022-07-12T21:46:13.822Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T21:46:13.866Z] $ docker stop --time=1 46e2ab4dcd62590a196e6cf4fb679ac5c7a6b94e9ead9d3c3d872901af7489d0 [2022-07-12T21:46:15.526Z] $ docker rm -f 46e2ab4dcd62590a196e6cf4fb679ac5c7a6b94e9ead9d3c3d872901af7489d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:46:16.434Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:46:16.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:46:16.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-19773 does not seem to be running inside a container [2022-07-12T21:46:16.847Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T21:46:18.147Z] $ docker top c1f061c7de0f429479adbf202455f92f4e3241b136e609bb9a7649e19f7788ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:46:19.135Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-12T21:46:19.866Z] + make test [2022-07-12T21:46:19.866Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T21:46:21.304Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-12T21:47:58.232Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-12T21:47:58.232Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.055s coverage: 0.0% of statements [2022-07-12T21:47:58.232Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T21:47:58.232Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:48:08.453Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:48:08.453Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:48:08.453Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:48:08.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:48:08.527Z] $ docker stop --time=1 c1f061c7de0f429479adbf202455f92f4e3241b136e609bb9a7649e19f7788ce [2022-07-12T21:48:10.382Z] $ docker rm -f c1f061c7de0f429479adbf202455f92f4e3241b136e609bb9a7649e19f7788ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:48:11.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:48:11.525Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T21:48:12.061Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:48:12.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:48:13.037Z] + ls -al . [2022-07-12T21:48:13.037Z] total 164 [2022-07-12T21:48:13.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:46 . [2022-07-12T21:48:13.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:44 .. [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 21:44 .dockerignore [2022-07-12T21:48:13.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:44 .git [2022-07-12T21:48:13.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:44 .github [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 21:44 .gitignore [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:44 .golangci.yml [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 21:44 Attribution.txt [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 21:44 CHANGELOG.md [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 21:44 Dockerfile [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:44 GOVERNANCE.md [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 21:44 Jenkinsfile [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:44 LICENSE [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 21:44 Makefile [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 21:44 OWNERS.md [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 21:44 README.md [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:41 VERSION [2022-07-12T21:48:13.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:44 bin [2022-07-12T21:48:13.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:44 cmd [2022-07-12T21:48:13.037Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 21:47 coverage.out [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 21:44 go.mod [2022-07-12T21:48:13.037Z] -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 21:44 go.sum [2022-07-12T21:48:13.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:44 internal [2022-07-12T21:48:13.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:44 snap [2022-07-12T21:48:13.038Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 21:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:48:13.477Z] + 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=75a539137cdac34c8e9fed51e683cb109540fad4 --label arch=arm64 --label version=0.0.0 . [2022-07-12T21:48:13.753Z] Sending build context to Docker daemon 2.832MB [2022-07-12T21:48:13.753Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:48:13.753Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T21:48:13.753Z] ---> 91e7c6a243fb [2022-07-12T21:48:13.753Z] Step 3/24 : ARG MAKE='make build' [2022-07-12T21:48:14.033Z] ---> Running in 3d20c2bee24f [2022-07-12T21:48:14.310Z] Removing intermediate container 3d20c2bee24f [2022-07-12T21:48:14.310Z] ---> b966234b734a [2022-07-12T21:48:14.310Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T21:48:14.592Z] ---> Running in 3be845df8c53 [2022-07-12T21:48:14.870Z] Removing intermediate container 3be845df8c53 [2022-07-12T21:48:14.870Z] ---> 58dac9adcbe0 [2022-07-12T21:48:14.870Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T21:48:14.870Z] ---> Running in 51329f2710be [2022-07-12T21:48:15.144Z] Removing intermediate container 51329f2710be [2022-07-12T21:48:15.144Z] ---> 2f6659e59f61 [2022-07-12T21:48:15.144Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:48:15.418Z] ---> Running in d50a74246343 [2022-07-12T21:48:17.413Z] Removing intermediate container d50a74246343 [2022-07-12T21:48:17.413Z] ---> ce528d9d8b19 [2022-07-12T21:48:17.413Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T21:48:17.413Z] ---> Running in cd6376f7ed38 [2022-07-12T21:48:18.395Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:48:18.991Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:48:19.977Z] OK: 226 MiB in 55 packages [2022-07-12T21:48:20.968Z] Removing intermediate container cd6376f7ed38 [2022-07-12T21:48:20.968Z] ---> 3e2d47a5c7b2 [2022-07-12T21:48:20.968Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-12T21:48:20.968Z] ---> Running in 736ce8196e95 [2022-07-12T21:48:21.242Z] Removing intermediate container 736ce8196e95 [2022-07-12T21:48:21.242Z] ---> 826c3133ac94 [2022-07-12T21:48:21.242Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-12T21:48:21.847Z] ---> 905bf3fa8687 [2022-07-12T21:48:21.847Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:48:21.847Z] ---> Running in 1f686c14038d [2022-07-12T21:48:23.957Z] Removing intermediate container 1f686c14038d [2022-07-12T21:48:23.957Z] ---> 4f8d99cb8878 [2022-07-12T21:48:23.957Z] Step 11/24 : COPY . . [2022-07-12T21:48:24.942Z] ---> 3a89b18d1aeb [2022-07-12T21:48:24.942Z] Step 12/24 : RUN ${MAKE} [2022-07-12T21:48:24.942Z] ---> Running in 7751a7db81b2 [2022-07-12T21:48:26.393Z] 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.11 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-12T21:50:48.484Z] Removing intermediate container 7751a7db81b2 [2022-07-12T21:50:48.484Z] ---> c05701bf8840 [2022-07-12T21:50:48.484Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T21:50:48.484Z] 3.16: Pulling from library/alpine [2022-07-12T21:50:48.484Z] b3c136eddcbf: Already exists [2022-07-12T21:50:48.484Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T21:50:48.484Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T21:50:48.484Z] ---> 6e30ab57aeee [2022-07-12T21:50:48.484Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:50:48.484Z] ---> Running in 7b9f9d33e2c6 [2022-07-12T21:50:48.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:50:48.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:50:48.484Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:50:48.484Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T21:50:48.484Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:50:48.484Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T21:50:48.484Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:50:48.484Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:50:48.484Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:50:48.484Z] OK: 8 MiB in 20 packages [2022-07-12T21:50:48.484Z] Removing intermediate container 7b9f9d33e2c6 [2022-07-12T21:50:48.484Z] ---> 1da90120a510 [2022-07-12T21:50:48.484Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-12T21:50:48.484Z] ---> 9023a4f9ef24 [2022-07-12T21:50:48.484Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-12T21:50:48.484Z] ---> e4b523d8902d [2022-07-12T21:50:48.484Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-12T21:50:48.484Z] ---> c11b1ce989df [2022-07-12T21:50:48.484Z] Step 18/24 : EXPOSE 59993 [2022-07-12T21:50:48.484Z] ---> Running in b9465c48f230 [2022-07-12T21:50:48.484Z] Removing intermediate container b9465c48f230 [2022-07-12T21:50:48.484Z] ---> c84b9760b6f7 [2022-07-12T21:50:48.484Z] Step 19/24 : EXPOSE 161 [2022-07-12T21:50:48.484Z] ---> Running in 4c27c254baf2 [2022-07-12T21:50:48.484Z] Removing intermediate container 4c27c254baf2 [2022-07-12T21:50:48.484Z] ---> c61be126cc7d [2022-07-12T21:50:48.484Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-12T21:50:48.484Z] ---> Running in 5e4569c7be30 [2022-07-12T21:50:48.484Z] Removing intermediate container 5e4569c7be30 [2022-07-12T21:50:48.484Z] ---> 8cde136e5ad7 [2022-07-12T21:50:48.484Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T21:50:48.485Z] ---> Running in bb6874d99aad [2022-07-12T21:50:48.485Z] Removing intermediate container bb6874d99aad [2022-07-12T21:50:48.485Z] ---> ff910ef4dcea [2022-07-12T21:50:48.485Z] Step 22/24 : LABEL arch=arm64 [2022-07-12T21:50:48.485Z] ---> Running in d2e27643e0fe [2022-07-12T21:50:48.766Z] Removing intermediate container d2e27643e0fe [2022-07-12T21:50:48.766Z] ---> 4a23c3019860 [2022-07-12T21:50:48.766Z] Step 23/24 : LABEL git_sha=75a539137cdac34c8e9fed51e683cb109540fad4 [2022-07-12T21:50:49.042Z] ---> Running in a3404e9ad670 [2022-07-12T21:50:49.317Z] Removing intermediate container a3404e9ad670 [2022-07-12T21:50:49.317Z] ---> 47af928f19ee [2022-07-12T21:50:49.317Z] Step 24/24 : LABEL version=0.0.0 [2022-07-12T21:50:49.317Z] ---> Running in 741c01f885eb [2022-07-12T21:50:49.592Z] Removing intermediate container 741c01f885eb [2022-07-12T21:50:49.592Z] ---> 4a9e42179146 [2022-07-12T21:50:49.592Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:50:49.592Z] Successfully built 4a9e42179146 [2022-07-12T21:50:49.592Z] 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-12T21:50:50.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:50:50.370Z] [2022-07-12T21:50:50.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:50:50.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:50:51.076Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T21:50:51.076Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T21:50:51.076Z] 04944245beec: Pulling fs layer [2022-07-12T21:50:51.076Z] 699f458cf7ca: Pulling fs layer [2022-07-12T21:50:51.076Z] 765212b225bb: Pulling fs layer [2022-07-12T21:50:51.076Z] f23df028b6ca: Pulling fs layer [2022-07-12T21:50:51.076Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T21:50:51.076Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T21:50:51.076Z] f23df028b6ca: Waiting [2022-07-12T21:50:51.076Z] d65c8cfc05b1: Waiting [2022-07-12T21:50:51.076Z] 2437ff75d9bd: Waiting [2022-07-12T21:50:51.076Z] 04944245beec: Verifying Checksum [2022-07-12T21:50:51.076Z] 04944245beec: Download complete [2022-07-12T21:50:51.076Z] 765212b225bb: Verifying Checksum [2022-07-12T21:50:51.076Z] 765212b225bb: Download complete [2022-07-12T21:50:51.076Z] f23df028b6ca: Verifying Checksum [2022-07-12T21:50:51.076Z] f23df028b6ca: Download complete [2022-07-12T21:50:51.076Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T21:50:51.076Z] d65c8cfc05b1: Download complete [2022-07-12T21:50:51.353Z] 699f458cf7ca: Verifying Checksum [2022-07-12T21:50:51.353Z] 699f458cf7ca: Download complete [2022-07-12T21:50:51.630Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T21:50:51.630Z] 8998bd30e6a1: Download complete [2022-07-12T21:50:54.276Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T21:50:54.276Z] 2437ff75d9bd: Download complete [2022-07-12T21:50:56.270Z] 8998bd30e6a1: Pull complete [2022-07-12T21:50:56.554Z] 04944245beec: Pull complete [2022-07-12T21:50:58.002Z] 699f458cf7ca: Pull complete [2022-07-12T21:50:58.278Z] 765212b225bb: Pull complete [2022-07-12T21:50:59.264Z] f23df028b6ca: Pull complete [2022-07-12T21:50:59.264Z] d65c8cfc05b1: Pull complete [2022-07-12T21:51:14.380Z] 2437ff75d9bd: Pull complete [2022-07-12T21:51:14.380Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T21:51:14.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:51:14.380Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:51:14.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-19773 does not seem to be running inside a container [2022-07-12T21:51:14.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T21:51:17.685Z] $ docker top ab517da2df3cb61e61e3d07c960d2f61a2ed5f87c7f98677d366db61fec5843e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:18.696Z] ---> job-cost.sh [2022-07-12T21:51:18.696Z] lf-activate-venv: SKIPPING [2022-07-12T21:51:18.696Z] INFO: No Stack... [2022-07-12T21:51:19.295Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T21:51:20.277Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:51:20.976Z] + cat+ /w/workspace/device-snmp-go/1/archives/cost.csv [2022-07-12T21:51:20.977Z] cut -d, -f6 [Pipeline] lock [2022-07-12T21:51:21.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] [2022-07-12T21:51:21.058Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] did not exist. Created. [2022-07-12T21:51:21.058Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:51:21.829Z] /w/workspace/device-snmp-go/1@tmp/durable-3cb0e683/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T21:51:22.542Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T21:51:22.580Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T21:51:22.633Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:51:22.646Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:51:22.728Z] $ docker stop --time=1 ab517da2df3cb61e61e3d07c960d2f61a2ed5f87c7f98677d366db61fec5843e [2022-07-12T21:51:24.267Z] $ docker rm -f ab517da2df3cb61e61e3d07c960d2f61a2ed5f87c7f98677d366db61fec5843e [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-12T21:51:25.330Z] provisioning config files... [2022-07-12T21:51:25.339Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/config9009900649403294136tmp [Pipeline] { [Pipeline] sh [2022-07-12T21:51:25.674Z] + set +x [2022-07-12T21:51:25.674Z] + curl -s https://codecov.io/bash [2022-07-12T21:51:25.674Z] + bash -s -- [2022-07-12T21:51:25.674Z] [2022-07-12T21:51:25.674Z] _____ _ [2022-07-12T21:51:25.674Z] / ____| | | [2022-07-12T21:51:25.674Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T21:51:25.674Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T21:51:25.674Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T21:51:25.674Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T21:51:25.674Z] Bash-1.0.6 [2022-07-12T21:51:25.674Z] [2022-07-12T21:51:25.674Z] [2022-07-12T21:51:25.674Z] ==> git version 2.25.1 found [2022-07-12T21:51:25.674Z] ==> 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-12T21:51:25.674Z] Release-Date: 2020-01-08 [2022-07-12T21:51:25.674Z] 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-12T21:51:25.674Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T21:51:25.674Z] ==> Jenkins CI detected. [2022-07-12T21:51:25.674Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-182 [2022-07-12T21:51:25.674Z] project root: . [2022-07-12T21:51:25.674Z] --> token set from env [2022-07-12T21:51:25.674Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T21:51:25.674Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T21:51:25.674Z] ==> Python coveragepy not found [2022-07-12T21:51:25.674Z] ==> Searching for coverage reports in: [2022-07-12T21:51:25.674Z] + . [2022-07-12T21:51:25.674Z] -> Found 1 reports [2022-07-12T21:51:25.674Z] ==> Detecting git/mercurial file structure [2022-07-12T21:51:25.674Z] ==> Reading reports [2022-07-12T21:51:25.674Z] + ./coverage.out bytes=7631 [2022-07-12T21:51:25.674Z] ==> Appending adjustments [2022-07-12T21:51:25.674Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T21:51:25.674Z] + Found adjustments [2022-07-12T21:51:25.935Z] ==> Gzipping contents [2022-07-12T21:51:25.935Z] 4.0K /tmp/codecov.dSu8ut.gz [2022-07-12T21:51:25.935Z] ==> Uploading reports [2022-07-12T21:51:25.935Z] url: https://codecov.io [2022-07-12T21:51:25.935Z] query: branch=PR-182&commit=75a539137cdac34c8e9fed51e683cb109540fad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-07-12T21:51:25.935Z] -> Pinging Codecov [2022-07-12T21:51:25.935Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-182&commit=75a539137cdac34c8e9fed51e683cb109540fad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-07-12T21:51:25.935Z] -> Uploading to [2022-07-12T21:51:25.935Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/6C56EA5C29638FB4528AC87E60AF5AE0/75a539137cdac34c8e9fed51e683cb109540fad4/72e369b0-a3a8-46a7-8ce3-899ede72e2b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T215125Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b402932e9ef42fb83a4b9534efec2c293cda7996877d246b35ee11cd17f7073a [2022-07-12T21:51:25.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T21:51:25.935Z] Dload Upload Total Spent Left Speed [2022-07-12T21:51:26.197Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7896 --:--:-- --:--:-- --:--:-- 7857 100 1603 0 0 100 1603 0 7188 --:--:-- --:--:-- --:--:-- 7156 [2022-07-12T21:51:26.197Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/75a539137cdac34c8e9fed51e683cb109540fad4 [Pipeline] } [2022-07-12T21:51:26.228Z] 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-12T21:51:27.989Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-182/archives ] [2022-07-12T21:51:27.989Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-182/archives [2022-07-12T21:51:27.989Z] total 16 [2022-07-12T21:51:27.989Z] drwxr-xr-x 3 root root 4096 Jul 12 21:43 . [2022-07-12T21:51:27.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 21:43 .. [2022-07-12T21:51:27.989Z] drwxr-xr-x 2 root root 4096 Jul 12 21:43 cost [2022-07-12T21:51:27.989Z] -rw-r--r-- 1 root root 85 Jul 12 21:43 cost.csv [2022-07-12T21:51:27.989Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-182/archives [2022-07-12T21:51:27.989Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-182/archives [2022-07-12T21:51:27.989Z] total 16 [2022-07-12T21:51:27.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:43 . [2022-07-12T21:51:27.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 21:43 .. [2022-07-12T21:51:27.989Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 21:43 cost [2022-07-12T21:51:27.989Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 12 21:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:28.316Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:29.212Z] ---> package-listing.sh [2022-07-12T21:51:29.212Z] ++ facter osfamily [2022-07-12T21:51:29.212Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T21:51:29.475Z] + OS_FAMILY=debian [2022-07-12T21:51:29.475Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-182 [2022-07-12T21:51:29.475Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T21:51:29.475Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T21:51:29.475Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T21:51:29.475Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T21:51:29.475Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-182 ']' [2022-07-12T21:51:29.475Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T21:51:29.475Z] + case "${OS_FAMILY}" in [2022-07-12T21:51:29.475Z] + dpkg -l [2022-07-12T21:51:29.475Z] + grep '^ii' [2022-07-12T21:51:29.475Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T21:51:29.475Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T21:51:29.475Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T21:51:29.475Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-182 ']' [2022-07-12T21:51:29.475Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-182/archives/ [2022-07-12T21:51:29.475Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-182/archives/ [Pipeline] echo [2022-07-12T21:51:29.505Z] 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T21:51:29.796Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:51:30.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:51:30.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:51:30.585Z] prd-ubuntu20.04-docker-8c-8g-19771 does not seem to be running inside a container [2022-07-12T21:51:30.622Z] $ 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-182/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-182 -v /w/workspace/gexfoundry_device-snmp-go_PR-182:/w/workspace/gexfoundry_device-snmp-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T21:51:30.868Z] $ docker top ff9f32da3db9d1b6c3a6726bf2ac975fa51bfc5ba57e002315577751d214b40a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:51:31.277Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T21:51:31.591Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T21:51:31.901Z] + ls /var/log/sa-host [2022-07-12T21:51:31.901Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:51:32.032Z] provisioning config files... [2022-07-12T21:51:32.045Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-182@tmp/config5240589377207707152tmp [Pipeline] { [Pipeline] echo [2022-07-12T21:51:32.087Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:32.406Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T21:51:32.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:32.850Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T21:51:32.880Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:33.198Z] ---> sudo-logs.sh [2022-07-12T21:51:33.198Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T21:51:33.279Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:33.589Z] ---> job-cost.sh [2022-07-12T21:51:33.589Z] lf-activate-venv: SKIPPING [2022-07-12T21:51:33.589Z] DEBUG: total: 0.2199999988079071 [2022-07-12T21:51:33.589Z] INFO: Retrieving Stack Cost... [2022-07-12T21:51:34.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:51:34.740Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T21:51:34.774Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:51:35.085Z] ---> logs-deploy.sh [2022-07-12T21:51:35.085Z] lf-activate-venv: SKIPPING [2022-07-12T21:51:35.085Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-182/1 [2022-07-12T21:51:35.085Z] INFO: archiving workspace using pattern(s): [2022-07-12T21:51:36.025Z] Archives upload complete. [2022-07-12T21:51:36.025Z] INFO: archiving logs to Nexus