Pull request #220 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb+2bd6e5dae59222faf073cfb9822f90f2048c0bba (907688a64a2311d691fb1ace2afde535be5add9b) 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-ssh6453842283088691213.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11650458389951711225.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-220/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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9205642636023976944.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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4273642845536634377.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11597163525993690219.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-220/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-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1732762469030971166.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3332 in /w/workspace/gexfoundry_device-snmp-go_PR-220 [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-220 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb Merge succeeded, producing 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb Checking out Revision 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb (PR-220) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-23T05:02:45.629Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T05:02:45.767Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T05:02:45.839Z] ========================================================= [2023-01-23T05:02:45.839Z] EdgeX Global Pipelines Version Info [2023-01-23T05:02:45.839Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:02:46.549Z] ------------------- [2023-01-23T05:02:46.549Z] stable info: [2023-01-23T05:02:46.549Z] ------------------- [2023-01-23T05:02:46.549Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T05:02:46.549Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T05:02:46.549Z] Message: update stable to v1.0.244 [2023-01-23T05:02:47.120Z] ------------------- [2023-01-23T05:02:47.120Z] experimental info: [2023-01-23T05:02:47.120Z] ------------------- [2023-01-23T05:02:47.120Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T05:02:47.120Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T05:02:47.120Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T05:02:47.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-23T05:02:47.467Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-23T05:02:47.508Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T05:02:47.551Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T05:02:47.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T05:02:47.636Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T05:02:47.683Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T05:02:47.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T05:02:47.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T05:02:47.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T05:02:47.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T05:02:47.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-23T05:02:47.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T05:02:47.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T05:02:48.036Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T05:02:48.079Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T05:02:48.130Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T05:02:48.168Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T05:02:48.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T05:02:48.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T05:02:48.292Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-23T05:02:48.336Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-23T05:02:48.378Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T05:02:48.424Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T05:02:48.504Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T05:02:48.549Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T05:02:48.590Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T05:02:48.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-220 [Pipeline] echo [2023-01-23T05:02:48.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-220 [Pipeline] echo [2023-01-23T05:02:48.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-220 [Pipeline] echo [2023-01-23T05:02:48.757Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [Pipeline] echo [2023-01-23T05:02:48.805Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d79be3 [Pipeline] echo [2023-01-23T05:02:48.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T05:02:48.970Z] provisioning config files... [2023-01-23T05:02:48.992Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/config13673540496705660047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:02:49.330Z] ---> docker-login.sh [2023-01-23T05:02:49.330Z] nexus3.edgexfoundry.org:10001 [2023-01-23T05:02:49.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:02:49.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:02:49.591Z] Configure a credential helper to remove this warning. See [2023-01-23T05:02:49.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:02:49.591Z] [2023-01-23T05:02:49.591Z] Login Succeeded [2023-01-23T05:02:49.591Z] nexus3.edgexfoundry.org:10002 [2023-01-23T05:02:49.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:02:49.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:02:49.851Z] Configure a credential helper to remove this warning. See [2023-01-23T05:02:49.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:02:49.851Z] [2023-01-23T05:02:49.851Z] Login Succeeded [2023-01-23T05:02:49.851Z] nexus3.edgexfoundry.org:10003 [2023-01-23T05:02:49.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:02:49.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:02:49.851Z] Configure a credential helper to remove this warning. See [2023-01-23T05:02:49.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:02:49.851Z] [2023-01-23T05:02:49.851Z] Login Succeeded [2023-01-23T05:02:49.851Z] nexus3.edgexfoundry.org:10004 [2023-01-23T05:02:50.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:02:50.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:02:50.113Z] Configure a credential helper to remove this warning. See [2023-01-23T05:02:50.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:02:50.113Z] [2023-01-23T05:02:50.113Z] Login Succeeded [2023-01-23T05:02:50.113Z] docker.io [2023-01-23T05:02:50.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:02:50.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:02:50.398Z] Configure a credential helper to remove this warning. See [2023-01-23T05:02:50.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:02:50.398Z] [2023-01-23T05:02:50.398Z] Login Succeeded [2023-01-23T05:02:50.398Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T05:02:50.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T05:02:51.031Z] + git rev-list -1 --merges 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb~1..8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [Pipeline] echo [2023-01-23T05:02:51.120Z] -----------> git rev-list -1 --merges 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb~1..8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [false] [Pipeline] sh [2023-01-23T05:02:51.431Z] + git log --format=format:%s -1 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [Pipeline] echo [2023-01-23T05:02:51.472Z] ========================================================= [2023-01-23T05:02:51.472Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T05:02:51.472Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T05:02:51.898Z] + git log --format=format:%s -1 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [Pipeline] echo [2023-01-23T05:02:51.931Z] [semverPrep] GIT_COMMIT: 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-23T05:02:51.960Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T05:02:52.360Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T05:02:52.360Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T05:02:52.360Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T05:02:52.360Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T05:02:52.360Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T05:02:52.360Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T05:02:52.360Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:02:52.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T05:02:52.844Z] [2023-01-23T05:02:52.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:02:53.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T05:02:53.218Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T05:02:53.218Z] b85a868b505f: Pulling fs layer [2023-01-23T05:02:53.218Z] e2be974225ed: Pulling fs layer [2023-01-23T05:02:53.218Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T05:02:53.218Z] 988bab9f4d93: Pulling fs layer [2023-01-23T05:02:53.218Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T05:02:53.218Z] eaf3925da568: Pulling fs layer [2023-01-23T05:02:53.218Z] bab4dde63d76: Pulling fs layer [2023-01-23T05:02:53.218Z] bde34c3a00c8: Pulling fs layer [2023-01-23T05:02:53.218Z] b352a97aabf1: Pulling fs layer [2023-01-23T05:02:53.218Z] 4872d77fe225: Pulling fs layer [2023-01-23T05:02:53.218Z] 5851b861e8e6: Pulling fs layer [2023-01-23T05:02:53.218Z] bde34c3a00c8: Waiting [2023-01-23T05:02:53.218Z] b352a97aabf1: Waiting [2023-01-23T05:02:53.218Z] 4872d77fe225: Waiting [2023-01-23T05:02:53.218Z] 5851b861e8e6: Waiting [2023-01-23T05:02:53.218Z] 988bab9f4d93: Waiting [2023-01-23T05:02:53.218Z] bab4dde63d76: Waiting [2023-01-23T05:02:53.218Z] eaf3925da568: Waiting [2023-01-23T05:02:53.482Z] e2be974225ed: Verifying Checksum [2023-01-23T05:02:53.482Z] e2be974225ed: Download complete [2023-01-23T05:02:53.482Z] 988bab9f4d93: Verifying Checksum [2023-01-23T05:02:53.482Z] 988bab9f4d93: Download complete [2023-01-23T05:02:53.482Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T05:02:53.482Z] 339a4e72a1f5: Download complete [2023-01-23T05:02:53.482Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-01-23T05:02:53.482Z] eaf3925da568: Verifying Checksum [2023-01-23T05:02:53.482Z] eaf3925da568: Download complete [2023-01-23T05:02:53.744Z] b85a868b505f: Verifying Checksum [2023-01-23T05:02:53.744Z] b85a868b505f: Download complete [2023-01-23T05:02:53.744Z] bde34c3a00c8: Verifying Checksum [2023-01-23T05:02:53.744Z] bde34c3a00c8: Download complete [2023-01-23T05:02:53.744Z] b352a97aabf1: Download complete [2023-01-23T05:02:53.744Z] 4872d77fe225: Verifying Checksum [2023-01-23T05:02:53.744Z] 4872d77fe225: Download complete [2023-01-23T05:02:53.744Z] 5851b861e8e6: Verifying Checksum [2023-01-23T05:02:53.744Z] 5851b861e8e6: Download complete [2023-01-23T05:02:54.004Z] bab4dde63d76: Verifying Checksum [2023-01-23T05:02:54.004Z] bab4dde63d76: Download complete [2023-01-23T05:02:54.573Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-01-23T05:02:55.143Z] b85a868b505f: Pull complete [2023-01-23T05:02:55.144Z] e2be974225ed: Pull complete [2023-01-23T05:02:55.713Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-01-23T05:02:55.713Z] 339a4e72a1f5: Pull complete [2023-01-23T05:02:55.713Z] 988bab9f4d93: Pull complete [2023-01-23T05:02:56.652Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-01-23T05:02:57.591Z] 1469e6f7b9e6: Retrying in 1 second [2023-01-23T05:02:58.530Z] 1469e6f7b9e6: Retrying in 10 seconds [2023-01-23T05:02:59.913Z] 1469e6f7b9e6: Retrying in 9 seconds [2023-01-23T05:03:00.482Z] 1469e6f7b9e6: Retrying in 8 seconds [2023-01-23T05:03:01.858Z] 1469e6f7b9e6: Retrying in 7 seconds [2023-01-23T05:03:02.796Z] 1469e6f7b9e6: Retrying in 6 seconds [2023-01-23T05:03:03.733Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-01-23T05:03:04.672Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-01-23T05:03:05.608Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-01-23T05:03:06.546Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-01-23T05:03:07.484Z] 1469e6f7b9e6: Retrying in 1 second [2023-01-23T05:03:08.866Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T05:03:08.866Z] 1469e6f7b9e6: Download complete [2023-01-23T05:03:08.866Z] 1469e6f7b9e6: Pull complete [2023-01-23T05:03:09.126Z] eaf3925da568: Pull complete [2023-01-23T05:03:11.056Z] bab4dde63d76: Pull complete [2023-01-23T05:03:11.056Z] bde34c3a00c8: Pull complete [2023-01-23T05:03:11.056Z] b352a97aabf1: Pull complete [2023-01-23T05:03:11.056Z] 4872d77fe225: Pull complete [2023-01-23T05:03:11.316Z] 5851b861e8e6: Pull complete [2023-01-23T05:03:11.316Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T05:03:11.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T05:03:11.316Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:03:11.550Z] prd-ubuntu20.04-docker-8c-8g-3332 does not seem to be running inside a container [2023-01-23T05:03:11.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-220 -v /w/workspace/gexfoundry_device-snmp-go_PR-220:/w/workspace/gexfoundry_device-snmp-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-23T05:03:12.795Z] $ docker top ab17f0cbd76d01bd7af967f380e67492b0b4105c83bf84bb4d10ae233c386ec7 -eo pid,comm [2023-01-23T05:03:12.848Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-23T05:03:12.848Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T05:03:12.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T05:03:12.978Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T05:03:13.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T05:03:13.099Z] $ docker exec ab17f0cbd76d01bd7af967f380e67492b0b4105c83bf84bb4d10ae233c386ec7 ssh-agent [2023-01-23T05:03:13.238Z] SSH_AUTH_SOCK=/tmp/ssh-1UReuXIPHbvQ/agent.33 [2023-01-23T05:03:13.238Z] SSH_AGENT_PID=39 [2023-01-23T05:03:13.245Z] Running ssh-add (command line suppressed) [2023-01-23T05:03:13.364Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/private_key_4393339527426257256.key (/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/private_key_4393339527426257256.key) [2023-01-23T05:03:13.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T05:03:13.706Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T05:03:13.736Z] $ docker exec --env ******** --env ******** ab17f0cbd76d01bd7af967f380e67492b0b4105c83bf84bb4d10ae233c386ec7 ssh-agent -k [2023-01-23T05:03:13.836Z] unset SSH_AUTH_SOCK; [2023-01-23T05:03:13.837Z] unset SSH_AGENT_PID; [2023-01-23T05:03:13.837Z] echo Agent pid 39 killed; [2023-01-23T05:03:13.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T05:03:13.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T05:03:13.941Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T05:03:14.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T05:03:14.064Z] $ docker exec ab17f0cbd76d01bd7af967f380e67492b0b4105c83bf84bb4d10ae233c386ec7 ssh-agent [2023-01-23T05:03:14.181Z] SSH_AUTH_SOCK=/tmp/ssh-DZNZM1bgRZQO/agent.71 [2023-01-23T05:03:14.181Z] SSH_AGENT_PID=77 [2023-01-23T05:03:14.186Z] Running ssh-add (command line suppressed) [2023-01-23T05:03:14.289Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/private_key_240332156593140107.key (/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/private_key_240332156593140107.key) [2023-01-23T05:03:14.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T05:03:14.634Z] + git semver init [2023-01-23T05:03:14.894Z] 2023-01-23 05:03:14,830 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T05:03:14.894Z] 2023-01-23 05:03:14,831 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-220/.semver [2023-01-23T05:03:14.894Z] 2023-01-23 05:03:14,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-220/.semver [2023-01-23T05:03:14.894Z] 2023-01-23 05:03:14,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-220/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-220, universal_newlines=False, shell=None, istream=None) [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,598 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-220/.git/info/exclude [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,599 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-220/.semver/PR-220 with force:False [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,599 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-220/.semver/PR-220 [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,605 [execute] INFO git cat-file --batch-check [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,611 [execute] INFO git cat-file --batch [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T05:03:15.832Z] 2023-01-23 05:03:15,615 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-220/.semver/PR-220 [2023-01-23T05:03:15.832Z] 0.0.0 [Pipeline] } [2023-01-23T05:03:15.860Z] $ docker exec --env ******** --env ******** ab17f0cbd76d01bd7af967f380e67492b0b4105c83bf84bb4d10ae233c386ec7 ssh-agent -k [2023-01-23T05:03:15.961Z] unset SSH_AUTH_SOCK; [2023-01-23T05:03:15.962Z] unset SSH_AGENT_PID; [2023-01-23T05:03:15.962Z] echo Agent pid 77 killed; [2023-01-23T05:03:15.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T05:03:16.386Z] + git semver [Pipeline] } [2023-01-23T05:03:16.674Z] $ docker stop --time=1 ab17f0cbd76d01bd7af967f380e67492b0b4105c83bf84bb4d10ae233c386ec7 [2023-01-23T05:03:17.990Z] $ docker rm -f --volumes ab17f0cbd76d01bd7af967f380e67492b0b4105c83bf84bb4d10ae233c386ec7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T05:03:18.399Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T05:03:18.668Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T05:03:18.686Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T05:03:19.296Z] provisioning config files... [2023-01-23T05:03:19.306Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/config755659433290299695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:03:19.654Z] ---> docker-login.sh [2023-01-23T05:03:19.654Z] nexus3.edgexfoundry.org:10001 [2023-01-23T05:03:19.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:03:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:03:19.654Z] Configure a credential helper to remove this warning. See [2023-01-23T05:03:19.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:03:19.654Z] [2023-01-23T05:03:19.654Z] Login Succeeded [2023-01-23T05:03:19.654Z] nexus3.edgexfoundry.org:10002 [2023-01-23T05:03:19.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:03:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:03:19.654Z] Configure a credential helper to remove this warning. See [2023-01-23T05:03:19.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:03:19.654Z] [2023-01-23T05:03:19.654Z] Login Succeeded [2023-01-23T05:03:19.913Z] nexus3.edgexfoundry.org:10003 [2023-01-23T05:03:19.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:03:19.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:03:19.913Z] Configure a credential helper to remove this warning. See [2023-01-23T05:03:19.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:03:19.913Z] [2023-01-23T05:03:19.913Z] Login Succeeded [2023-01-23T05:03:19.913Z] nexus3.edgexfoundry.org:10004 [2023-01-23T05:03:19.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:03:19.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:03:19.913Z] Configure a credential helper to remove this warning. See [2023-01-23T05:03:19.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:03:19.913Z] [2023-01-23T05:03:19.913Z] Login Succeeded [2023-01-23T05:03:19.913Z] docker.io [2023-01-23T05:03:20.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:03:20.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:03:20.171Z] Configure a credential helper to remove this warning. See [2023-01-23T05:03:20.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:03:20.171Z] [2023-01-23T05:03:20.171Z] Login Succeeded [2023-01-23T05:03:20.171Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T05:03:20.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T05:03:20.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T05:03:20.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T05:03:20.467Z] ========================================================= [2023-01-23T05:03:20.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T05:03:20.467Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:03:20.921Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T05:03:20.921Z] Sending build context to Docker daemon 5.678MB [2023-01-23T05:03:20.921Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T05:03:20.921Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T05:03:20.921Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T05:03:20.921Z] 213ec9aee27d: Pulling fs layer [2023-01-23T05:03:20.921Z] 4583459ba037: Pulling fs layer [2023-01-23T05:03:20.921Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T05:03:20.921Z] 53926ce57604: Pulling fs layer [2023-01-23T05:03:20.921Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T05:03:20.921Z] 22ff95d597cd: Pulling fs layer [2023-01-23T05:03:20.921Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T05:03:20.921Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T05:03:20.921Z] a7acece74701: Pulling fs layer [2023-01-23T05:03:20.921Z] 53926ce57604: Waiting [2023-01-23T05:03:20.921Z] 21b2b0c7a3f4: Waiting [2023-01-23T05:03:20.921Z] 22ff95d597cd: Waiting [2023-01-23T05:03:20.921Z] 12d6caf4c0d1: Waiting [2023-01-23T05:03:20.921Z] 96b7cbca73a9: Waiting [2023-01-23T05:03:20.921Z] a7acece74701: Waiting [2023-01-23T05:03:20.921Z] 93c1e223e6f2: Verifying Checksum [2023-01-23T05:03:20.921Z] 93c1e223e6f2: Download complete [2023-01-23T05:03:20.921Z] 4583459ba037: Verifying Checksum [2023-01-23T05:03:20.921Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T05:03:20.921Z] 21b2b0c7a3f4: Download complete [2023-01-23T05:03:21.188Z] 22ff95d597cd: Download complete [2023-01-23T05:03:21.188Z] 213ec9aee27d: Download complete [2023-01-23T05:03:21.188Z] 12d6caf4c0d1: Verifying Checksum [2023-01-23T05:03:21.188Z] 12d6caf4c0d1: Download complete [2023-01-23T05:03:21.188Z] 213ec9aee27d: Pull complete [2023-01-23T05:03:21.452Z] 4583459ba037: Pull complete [2023-01-23T05:03:21.452Z] 93c1e223e6f2: Pull complete [2023-01-23T05:03:22.045Z] a7acece74701: Download complete [2023-01-23T05:03:22.305Z] 53926ce57604: Verifying Checksum [2023-01-23T05:03:22.305Z] 53926ce57604: Download complete [2023-01-23T05:03:22.305Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T05:03:22.305Z] 96b7cbca73a9: Download complete [2023-01-23T05:03:26.507Z] 53926ce57604: Pull complete [2023-01-23T05:03:26.507Z] 21b2b0c7a3f4: Pull complete [2023-01-23T05:03:26.507Z] 22ff95d597cd: Pull complete [2023-01-23T05:03:26.765Z] 12d6caf4c0d1: Pull complete [2023-01-23T05:03:29.291Z] 96b7cbca73a9: Pull complete [2023-01-23T05:03:29.549Z] a7acece74701: Pull complete [2023-01-23T05:03:29.809Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T05:03:29.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T05:03:29.809Z] ---> db6d94c90886 [2023-01-23T05:03:29.809Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T05:03:31.186Z] ---> Running in ee135b365fdc [2023-01-23T05:03:31.186Z] Removing intermediate container ee135b365fdc [2023-01-23T05:03:31.186Z] ---> cc04952bb0e5 [2023-01-23T05:03:31.186Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T05:03:31.186Z] ---> Running in 60ee5b2538cf [2023-01-23T05:03:31.444Z] Removing intermediate container 60ee5b2538cf [2023-01-23T05:03:31.444Z] ---> ceaf0b9388b8 [2023-01-23T05:03:31.444Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T05:03:31.444Z] ---> Running in 1ed03fda65a3 [2023-01-23T05:03:31.444Z] Removing intermediate container 1ed03fda65a3 [2023-01-23T05:03:31.444Z] ---> 25dc7a724b94 [2023-01-23T05:03:31.444Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T05:03:31.444Z] ---> Running in dfc7ce809096 [2023-01-23T05:03:31.703Z] Removing intermediate container dfc7ce809096 [2023-01-23T05:03:31.703Z] ---> 63d79a1b341a [2023-01-23T05:03:31.703Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T05:03:31.703Z] ---> Running in 55390eb4f58e [2023-01-23T05:03:31.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T05:03:32.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T05:03:32.480Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T05:03:32.480Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T05:03:32.480Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T05:03:32.480Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T05:03:32.480Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T05:03:32.480Z] OK: 216 MiB in 55 packages [2023-01-23T05:03:33.049Z] Removing intermediate container 55390eb4f58e [2023-01-23T05:03:33.049Z] ---> 46fa7e52b24f [2023-01-23T05:03:33.049Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-23T05:03:33.049Z] ---> Running in 78c359292433 [2023-01-23T05:03:33.049Z] Removing intermediate container 78c359292433 [2023-01-23T05:03:33.049Z] ---> 26a326dd1595 [2023-01-23T05:03:33.049Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-23T05:03:33.049Z] ---> e9c01250ec9b [2023-01-23T05:03:33.049Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T05:03:33.049Z] ---> Running in 0c7c104d5e6a [2023-01-23T05:03:34.108Z] Still waiting to schedule task [2023-01-23T05:03:34.108Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-23T05:04:29.289Z] Removing intermediate container 0c7c104d5e6a [2023-01-23T05:04:29.289Z] ---> 42bacbcdd7a6 [2023-01-23T05:04:29.289Z] Step 11/12 : COPY . . [2023-01-23T05:04:29.289Z] ---> d270b3e550ea [2023-01-23T05:04:29.289Z] Step 12/12 : RUN ${MAKE} [2023-01-23T05:04:29.289Z] ---> Running in 9c76f82ee0a4 [2023-01-23T05:04:29.289Z] noop [2023-01-23T05:04:29.289Z] Removing intermediate container 9c76f82ee0a4 [2023-01-23T05:04:29.289Z] ---> 8a428eaff890 [2023-01-23T05:04:29.289Z] Successfully built 8a428eaff890 [2023-01-23T05:04:29.289Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:04:29.731Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T05:04:29.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:04:29.878Z] prd-ubuntu20.04-docker-8c-8g-3332 does not seem to be running inside a container [2023-01-23T05:04:29.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-220 -v /w/workspace/gexfoundry_device-snmp-go_PR-220:/w/workspace/gexfoundry_device-snmp-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T05:04:30.278Z] $ docker top 58600cca615d963e7cecc3398ca784e7f0e3ab4fb5e61245a04935f32bbf04c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T05:04:30.670Z] + go version [2023-01-23T05:04:30.670Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T05:04:30.701Z] $ docker stop --time=1 58600cca615d963e7cecc3398ca784e7f0e3ab4fb5e61245a04935f32bbf04c8 [2023-01-23T05:04:31.945Z] $ docker rm -f --volumes 58600cca615d963e7cecc3398ca784e7f0e3ab4fb5e61245a04935f32bbf04c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:04:32.655Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T05:04:32.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:04:32.810Z] prd-ubuntu20.04-docker-8c-8g-3332 does not seem to be running inside a container [2023-01-23T05:04:32.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-220 -v /w/workspace/gexfoundry_device-snmp-go_PR-220:/w/workspace/gexfoundry_device-snmp-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T05:04:33.202Z] $ docker top a00a48da0424d24e9b353c56d76331ddd27fdfc052d02ce5a90998f6749312dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T05:04:33.592Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-220 [Pipeline] fileExists [Pipeline] sh [2023-01-23T05:04:33.945Z] + make test [2023-01-23T05:04:33.945Z] go test ./... -coverprofile=coverage.out [2023-01-23T05:04:34.204Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-23T05:04:44.169Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-23T05:04:44.169Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements [2023-01-23T05:04:50.733Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-23T05:04:50.733Z] go vet ./... [2023-01-23T05:04:54.024Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T05:04:54.024Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T05:04:54.024Z] ./bin/test-attribution-txt.sh [2023-01-23T05:04:54.283Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T05:04:54.283Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T05:04:54.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T05:04:54.353Z] $ docker stop --time=1 a00a48da0424d24e9b353c56d76331ddd27fdfc052d02ce5a90998f6749312dd [2023-01-23T05:04:56.244Z] $ docker rm -f --volumes a00a48da0424d24e9b353c56d76331ddd27fdfc052d02ce5a90998f6749312dd [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T05:04:56.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T05:04:56.866Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-23T05:04:57.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T05:04:57.876Z] + ls -al . [2023-01-23T05:04:57.876Z] total 172 [2023-01-23T05:04:57.876Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 05:04 . [2023-01-23T05:04:57.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 05:02 .. [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 23 05:02 .dockerignore [2023-01-23T05:04:57.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 05:04 .git [2023-01-23T05:04:57.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 05:02 .github [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 23 05:02 .gitignore [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 05:02 .golangci.yml [2023-01-23T05:04:57.876Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 05:03 .semver [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 23 05:02 Attribution.txt [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 23 05:02 CHANGELOG.md [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 23 05:02 Dockerfile [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 05:02 GOVERNANCE.md [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 23 05:02 Jenkinsfile [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 05:02 LICENSE [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 23 05:02 Makefile [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 05:02 OWNERS.md [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 23 05:02 README.md [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 05:03 VERSION [2023-01-23T05:04:57.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 05:02 bin [2023-01-23T05:04:57.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 05:02 cmd [2023-01-23T05:04:57.876Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 23 05:04 coverage.out [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 3380 Jan 23 05:02 go.mod [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 34497 Jan 23 05:02 go.sum [2023-01-23T05:04:57.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 05:02 internal [2023-01-23T05:04:57.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 05:02 snap [2023-01-23T05:04:57.876Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 23 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:04:58.276Z] + 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=8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb --label arch=amd64 --label version=0.0.0 . [2023-01-23T05:04:58.276Z] Sending build context to Docker daemon 5.686MB [2023-01-23T05:04:58.276Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T05:04:58.276Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-23T05:04:58.276Z] ---> 8a428eaff890 [2023-01-23T05:04:58.276Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-23T05:04:58.276Z] ---> Running in d2fa156a2232 [2023-01-23T05:04:58.537Z] Removing intermediate container d2fa156a2232 [2023-01-23T05:04:58.537Z] ---> 10296815e4e1 [2023-01-23T05:04:58.537Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T05:04:58.537Z] ---> Running in 9cf2514e7e13 [2023-01-23T05:04:58.537Z] Removing intermediate container 9cf2514e7e13 [2023-01-23T05:04:58.537Z] ---> 09de6b7ba15e [2023-01-23T05:04:58.537Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T05:04:58.537Z] ---> Running in 9cbc340adc75 [2023-01-23T05:04:58.537Z] Removing intermediate container 9cbc340adc75 [2023-01-23T05:04:58.537Z] ---> ab6cc1decbec [2023-01-23T05:04:58.537Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T05:04:58.798Z] ---> Running in 21006c3f388a [2023-01-23T05:04:58.798Z] Removing intermediate container 21006c3f388a [2023-01-23T05:04:58.798Z] ---> a3541db1beeb [2023-01-23T05:04:58.798Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T05:04:58.798Z] ---> Running in 5a8f74871e61 [2023-01-23T05:04:59.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T05:04:59.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T05:04:59.578Z] OK: 216 MiB in 55 packages [2023-01-23T05:04:59.844Z] Removing intermediate container 5a8f74871e61 [2023-01-23T05:04:59.844Z] ---> c59c0bc337a2 [2023-01-23T05:04:59.844Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-23T05:04:59.844Z] ---> Running in 695ad73ae151 [2023-01-23T05:05:00.103Z] Removing intermediate container 695ad73ae151 [2023-01-23T05:05:00.103Z] ---> 8593fbb7fc94 [2023-01-23T05:05:00.103Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-23T05:05:00.103Z] ---> 70b7b73f2170 [2023-01-23T05:05:00.103Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T05:05:00.103Z] ---> Running in 41ecd7823ba3 [2023-01-23T05:05:01.040Z] Removing intermediate container 41ecd7823ba3 [2023-01-23T05:05:01.040Z] ---> 1049eb1a24fb [2023-01-23T05:05:01.040Z] Step 11/24 : COPY . . [2023-01-23T05:05:01.299Z] ---> 278c59023397 [2023-01-23T05:05:01.299Z] Step 12/24 : RUN ${MAKE} [2023-01-23T05:05:01.299Z] ---> Running in 1ea44ad050b0 [2023-01-23T05:05:01.557Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-23T05:05:07.702Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3334 in /w/workspace/gexfoundry_device-snmp-go_PR-220 [Pipeline] { [Pipeline] ws [2023-01-23T05:05:07.765Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-01-23T05:05:07.848Z] Selected Git installation does not exist. Using Default [2023-01-23T05:05:07.848Z] The recommended git tool is: NONE [2023-01-23T05:05:13.074Z] using credential edgex-jenkins-ssh [2023-01-23T05:05:13.093Z] Cloning the remote Git repository [2023-01-23T05:05:13.133Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-23T05:05:13.208Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-01-23T05:05:13.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-23T05:05:13.371Z] > git --version # timeout=10 [2023-01-23T05:05:13.390Z] > git --version # 'git version 2.25.1' [2023-01-23T05:05:13.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T05:05:13.459Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T05:05:14.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-23T05:05:14.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T05:05:15.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-23T05:05:15.888Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [2023-01-23T05:05:16.117Z] Merge succeeded, producing 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [2023-01-23T05:05:16.117Z] Checking out Revision 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb (PR-220) [2023-01-23T05:05:16.591Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-23T05:05:15.357Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-23T05:05:15.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T05:05:15.375Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T05:05:15.907Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T05:05:15.928Z] > git checkout -f 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb # timeout=10 [2023-01-23T05:05:16.013Z] > git remote # timeout=10 [2023-01-23T05:05:16.033Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T05:05:16.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T05:05:16.068Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-01-23T05:05:16.096Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T05:05:16.122Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T05:05:16.139Z] > git checkout -f 8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb # timeout=10 [2023-01-23T05:05:16.640Z] > git --version # timeout=10 [2023-01-23T05:05:16.656Z] > git --version # 'git version 2.25.1' [2023-01-23T05:05:16.670Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T05:05:17.778Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T05:05:17.778Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T05:05:17.778Z] Dload Upload Total Spent Left Speed [2023-01-23T05:05:17.778Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-01-23T05:05:18.415Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T05:05:18.760Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T05:05:18.760Z] + sudo tee /etc/docker/daemon.new [2023-01-23T05:05:18.760Z] { [2023-01-23T05:05:18.760Z] "registry-mirrors": [ [2023-01-23T05:05:18.760Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T05:05:18.760Z] ], [2023-01-23T05:05:18.760Z] "bip": "10.250.0.254/24", [2023-01-23T05:05:18.760Z] "hosts": [ [2023-01-23T05:05:18.760Z] "tcp://0.0.0.0:5555", [2023-01-23T05:05:18.760Z] "unix:///var/run/docker.sock" [2023-01-23T05:05:18.760Z] ], [2023-01-23T05:05:18.760Z] "mtu": 1458, [2023-01-23T05:05:18.760Z] "selinux-enabled": true, [2023-01-23T05:05:18.760Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T05:05:18.760Z] } [Pipeline] sh [2023-01-23T05:05:19.094Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T05:05:19.452Z] + sudo service docker restart [2023-01-23T05:05:23.477Z] Removing intermediate container 1ea44ad050b0 [2023-01-23T05:05:23.477Z] ---> 4cd6afc6102e [2023-01-23T05:05:23.477Z] Step 13/24 : FROM alpine:3.16 [2023-01-23T05:05:23.477Z] 3.16: Pulling from library/alpine [2023-01-23T05:05:23.477Z] ca7dd9ec2225: Pulling fs layer [2023-01-23T05:05:23.477Z] ca7dd9ec2225: Verifying Checksum [2023-01-23T05:05:23.477Z] ca7dd9ec2225: Download complete [2023-01-23T05:05:23.477Z] ca7dd9ec2225: Pull complete [2023-01-23T05:05:23.477Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T05:05:23.477Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T05:05:23.477Z] ---> bfe296a52501 [2023-01-23T05:05:23.477Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-23T05:05:23.477Z] ---> Running in b74967c2ad94 [2023-01-23T05:05:23.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T05:05:23.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T05:05:23.477Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T05:05:23.477Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T05:05:23.477Z] OK: 6 MiB in 15 packages [2023-01-23T05:05:23.736Z] Removing intermediate container b74967c2ad94 [2023-01-23T05:05:23.736Z] ---> 81f7a9b1be37 [2023-01-23T05:05:23.736Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-23T05:05:24.669Z] ---> e739f428f226 [2023-01-23T05:05:24.669Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-23T05:05:24.669Z] ---> 5bb0889a45b4 [2023-01-23T05:05:24.669Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-23T05:05:24.669Z] ---> d557f4dd3445 [2023-01-23T05:05:24.669Z] Step 18/24 : EXPOSE 59993 [2023-01-23T05:05:24.927Z] ---> Running in 86b568743251 [2023-01-23T05:05:24.927Z] Removing intermediate container 86b568743251 [2023-01-23T05:05:24.927Z] ---> 834744e4e1b7 [2023-01-23T05:05:24.928Z] Step 19/24 : EXPOSE 161 [2023-01-23T05:05:24.928Z] ---> Running in df97e7e4b87b [2023-01-23T05:05:24.928Z] Removing intermediate container df97e7e4b87b [2023-01-23T05:05:24.928Z] ---> 02f90ee7880f [2023-01-23T05:05:24.928Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-23T05:05:24.928Z] ---> Running in d4be15161900 [2023-01-23T05:05:25.187Z] Removing intermediate container d4be15161900 [2023-01-23T05:05:25.187Z] ---> e97f8e4decc1 [2023-01-23T05:05:25.187Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-23T05:05:25.187Z] ---> Running in ec2881c117d9 [2023-01-23T05:05:25.187Z] Removing intermediate container ec2881c117d9 [2023-01-23T05:05:25.187Z] ---> 5e42d48b81ee [2023-01-23T05:05:25.187Z] Step 22/24 : LABEL arch=amd64 [2023-01-23T05:05:25.187Z] ---> Running in 12a914e4c7ae [2023-01-23T05:05:25.447Z] Removing intermediate container 12a914e4c7ae [2023-01-23T05:05:25.447Z] ---> 78515f2077a9 [2023-01-23T05:05:25.447Z] Step 23/24 : LABEL git_sha=8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [2023-01-23T05:05:25.447Z] ---> Running in 1bc868ad2107 [2023-01-23T05:05:25.447Z] Removing intermediate container 1bc868ad2107 [2023-01-23T05:05:25.447Z] ---> a33a5c9f633b [2023-01-23T05:05:25.447Z] Step 24/24 : LABEL version=0.0.0 [2023-01-23T05:05:25.447Z] ---> Running in 314416cdac7a [2023-01-23T05:05:25.447Z] Removing intermediate container 314416cdac7a [2023-01-23T05:05:25.447Z] ---> 8e3009bfe79d [2023-01-23T05:05:25.447Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T05:05:25.447Z] Successfully built 8e3009bfe79d [2023-01-23T05:05:25.447Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:05:26.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T05:05:26.469Z] [2023-01-23T05:05:26.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:05:26.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T05:05:26.851Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T05:05:26.851Z] 5eb5b503b376: Pulling fs layer [2023-01-23T05:05:26.851Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T05:05:26.851Z] ec43610c2a17: Pulling fs layer [2023-01-23T05:05:26.851Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T05:05:26.851Z] 33b1e0a273af: Pulling fs layer [2023-01-23T05:05:26.851Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T05:05:26.851Z] 2f39f015ded8: Pulling fs layer [2023-01-23T05:05:26.851Z] 33b1e0a273af: Waiting [2023-01-23T05:05:26.851Z] 5d3b04190fa2: Waiting [2023-01-23T05:05:26.851Z] 2f39f015ded8: Waiting [2023-01-23T05:05:26.851Z] 5c69ac0246d0: Download complete [2023-01-23T05:05:26.851Z] 3a2ae6a8a46f: Download complete [2023-01-23T05:05:27.112Z] 33b1e0a273af: Verifying Checksum [2023-01-23T05:05:27.112Z] 33b1e0a273af: Download complete [2023-01-23T05:05:27.112Z] 5d3b04190fa2: Verifying Checksum [2023-01-23T05:05:27.112Z] 5d3b04190fa2: Download complete [2023-01-23T05:05:27.112Z] ec43610c2a17: Verifying Checksum [2023-01-23T05:05:27.112Z] ec43610c2a17: Download complete [2023-01-23T05:05:27.372Z] 5eb5b503b376: Verifying Checksum [2023-01-23T05:05:27.372Z] 5eb5b503b376: Download complete [2023-01-23T05:05:27.941Z] 2f39f015ded8: Download complete [2023-01-23T05:05:28.615Z] 5eb5b503b376: Pull complete [2023-01-23T05:05:28.615Z] 5c69ac0246d0: Pull complete [2023-01-23T05:05:29.324Z] ec43610c2a17: Pull complete [2023-01-23T05:05:29.324Z] 3a2ae6a8a46f: Pull complete [2023-01-23T05:05:29.894Z] 33b1e0a273af: Pull complete [2023-01-23T05:05:29.894Z] 5d3b04190fa2: Pull complete [2023-01-23T05:05:34.162Z] 2f39f015ded8: Pull complete [2023-01-23T05:05:34.163Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T05:05:34.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T05:05:34.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:05:34.397Z] prd-ubuntu20.04-docker-8c-8g-3332 does not seem to be running inside a container [2023-01-23T05:05:34.432Z] $ 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-220 -v /w/workspace/gexfoundry_device-snmp-go_PR-220:/w/workspace/gexfoundry_device-snmp-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T05:05:36.760Z] $ docker top c81ae263529cf90b27ae38ebd68c9395ab28ee357f6c06375c5bf34b48fd52e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:05:37.243Z] ---> job-cost.sh [2023-01-23T05:05:37.243Z] lf-activate-venv: SKIPPING [2023-01-23T05:05:37.243Z] INFO: No Stack... [2023-01-23T05:05:37.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [2023-01-23T05:05:37.762Z] INFO: Archiving Costs [Pipeline] configFileProvider [2023-01-23T05:05:37.779Z] provisioning config files... [2023-01-23T05:05:37.805Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5332123121595708583tmp [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:05:38.130Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-220/archives/cost.csv [2023-01-23T05:05:38.131Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T05:05:38.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] [2023-01-23T05:05:38.180Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] did not exist. Created. [2023-01-23T05:05:38.180Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-01-23T05:05:38.259Z] ---> docker-login.sh [2023-01-23T05:05:38.259Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2023-01-23T05:05:38.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:05:38.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:05:38.803Z] Configure a credential helper to remove this warning. See [2023-01-23T05:05:38.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:05:38.803Z] [2023-01-23T05:05:38.803Z] Login Succeeded [2023-01-23T05:05:38.803Z] nexus3.edgexfoundry.org:10002 [2023-01-23T05:05:38.993Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T05:05:39.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:05:39.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:05:39.072Z] Configure a credential helper to remove this warning. See [2023-01-23T05:05:39.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:05:39.072Z] [2023-01-23T05:05:39.072Z] Login Succeeded [2023-01-23T05:05:39.072Z] nexus3.edgexfoundry.org:10003 [2023-01-23T05:05:39.256Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T05:05:39.273Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] [Pipeline] // lock [2023-01-23T05:05:39.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [2023-01-23T05:05:39.361Z] $ docker stop --time=1 c81ae263529cf90b27ae38ebd68c9395ab28ee357f6c06375c5bf34b48fd52e3 [2023-01-23T05:05:39.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:05:39.611Z] Configure a credential helper to remove this warning. See [2023-01-23T05:05:39.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:05:39.611Z] [2023-01-23T05:05:39.611Z] Login Succeeded [2023-01-23T05:05:39.611Z] nexus3.edgexfoundry.org:10004 [2023-01-23T05:05:39.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:05:39.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:05:39.883Z] Configure a credential helper to remove this warning. See [2023-01-23T05:05:39.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:05:39.883Z] [2023-01-23T05:05:39.883Z] Login Succeeded [2023-01-23T05:05:39.883Z] docker.io [2023-01-23T05:05:40.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T05:05:40.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T05:05:40.418Z] Configure a credential helper to remove this warning. See [2023-01-23T05:05:40.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T05:05:40.418Z] [2023-01-23T05:05:40.418Z] Login Succeeded [2023-01-23T05:05:40.418Z] ---> docker-login.sh ends [2023-01-23T05:05:40.861Z] $ docker rm -f --volumes c81ae263529cf90b27ae38ebd68c9395ab28ee357f6c06375c5bf34b48fd52e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-01-23T05:05:41.083Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-01-23T05:05:41.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T05:05:41.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T05:05:41.573Z] ========================================================= [2023-01-23T05:05:41.573Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T05:05:41.573Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:05:42.064Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T05:05:42.331Z] Sending build context to Docker daemon 2.938MB [2023-01-23T05:05:42.331Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T05:05:42.331Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T05:05:42.596Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T05:05:42.596Z] 9b18e9b68314: Pulling fs layer [2023-01-23T05:05:42.596Z] 35d82f9e3411: Pulling fs layer [2023-01-23T05:05:42.596Z] e16973657156: Pulling fs layer [2023-01-23T05:05:42.596Z] fc693d55d65f: Pulling fs layer [2023-01-23T05:05:42.596Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T05:05:42.596Z] dda99020689f: Pulling fs layer [2023-01-23T05:05:42.596Z] db1c61fa0a46: Pulling fs layer [2023-01-23T05:05:42.596Z] 891c053d2c06: Pulling fs layer [2023-01-23T05:05:42.596Z] 7e9fc2657dce: Waiting [2023-01-23T05:05:42.597Z] dda99020689f: Waiting [2023-01-23T05:05:42.597Z] db1c61fa0a46: Waiting [2023-01-23T05:05:42.597Z] 891c053d2c06: Waiting [2023-01-23T05:05:42.597Z] fc693d55d65f: Waiting [2023-01-23T05:05:42.597Z] e16973657156: Verifying Checksum [2023-01-23T05:05:42.597Z] e16973657156: Download complete [2023-01-23T05:05:42.597Z] 35d82f9e3411: Verifying Checksum [2023-01-23T05:05:42.597Z] 35d82f9e3411: Download complete [2023-01-23T05:05:42.867Z] 7e9fc2657dce: Verifying Checksum [2023-01-23T05:05:42.867Z] 7e9fc2657dce: Download complete [2023-01-23T05:05:42.867Z] dda99020689f: Verifying Checksum [2023-01-23T05:05:42.867Z] dda99020689f: Download complete [2023-01-23T05:05:42.867Z] 9b18e9b68314: Verifying Checksum [2023-01-23T05:05:42.867Z] 9b18e9b68314: Download complete [2023-01-23T05:05:43.846Z] 9b18e9b68314: Pull complete [2023-01-23T05:05:43.846Z] 891c053d2c06: Verifying Checksum [2023-01-23T05:05:43.846Z] 891c053d2c06: Download complete [2023-01-23T05:05:44.434Z] 35d82f9e3411: Pull complete [2023-01-23T05:05:44.434Z] e16973657156: Pull complete [2023-01-23T05:05:45.020Z] db1c61fa0a46: Verifying Checksum [2023-01-23T05:05:45.020Z] db1c61fa0a46: Download complete [2023-01-23T05:05:45.603Z] fc693d55d65f: Verifying Checksum [2023-01-23T05:05:45.603Z] fc693d55d65f: Download complete [2023-01-23T05:05:55.678Z] fc693d55d65f: Pull complete [2023-01-23T05:05:55.678Z] 7e9fc2657dce: Pull complete [2023-01-23T05:05:55.945Z] dda99020689f: Pull complete [2023-01-23T05:06:01.383Z] db1c61fa0a46: Pull complete [2023-01-23T05:06:03.329Z] 891c053d2c06: Pull complete [2023-01-23T05:06:03.329Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T05:06:03.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T05:06:03.329Z] ---> f96f9c87975a [2023-01-23T05:06:03.329Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T05:06:04.736Z] ---> Running in f60172d8bb87 [2023-01-23T05:06:05.005Z] Removing intermediate container f60172d8bb87 [2023-01-23T05:06:05.005Z] ---> 8e82879f9f4c [2023-01-23T05:06:05.005Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T05:06:05.271Z] ---> Running in dad2dd502201 [2023-01-23T05:06:05.536Z] Removing intermediate container dad2dd502201 [2023-01-23T05:06:05.536Z] ---> 7874966b8ad9 [2023-01-23T05:06:05.536Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T05:06:05.536Z] ---> Running in ed6f48d5df6d [2023-01-23T05:06:05.803Z] Removing intermediate container ed6f48d5df6d [2023-01-23T05:06:05.803Z] ---> a2d82d5507c6 [2023-01-23T05:06:05.803Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T05:06:05.803Z] ---> Running in 4a09d115422c [2023-01-23T05:06:06.070Z] Removing intermediate container 4a09d115422c [2023-01-23T05:06:06.070Z] ---> 1e69c2f4ec00 [2023-01-23T05:06:06.070Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T05:06:06.070Z] ---> Running in babc7da09a2a [2023-01-23T05:06:07.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T05:06:07.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T05:06:08.202Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T05:06:08.474Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T05:06:08.474Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T05:06:08.474Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T05:06:08.474Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T05:06:08.474Z] OK: 226 MiB in 55 packages [2023-01-23T05:06:09.444Z] Removing intermediate container babc7da09a2a [2023-01-23T05:06:09.444Z] ---> 61483972756c [2023-01-23T05:06:09.444Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-23T05:06:09.444Z] ---> Running in ebad424a84c5 [2023-01-23T05:06:09.709Z] Removing intermediate container ebad424a84c5 [2023-01-23T05:06:09.709Z] ---> f4bd23f85184 [2023-01-23T05:06:09.709Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-23T05:06:10.292Z] ---> 698570fd9956 [2023-01-23T05:06:10.292Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T05:06:10.292Z] ---> Running in 734ea4685a4a [2023-01-23T05:07:18.140Z] Removing intermediate container 734ea4685a4a [2023-01-23T05:07:18.140Z] ---> 46af9a22c8ae [2023-01-23T05:07:18.140Z] Step 11/12 : COPY . . [2023-01-23T05:07:18.140Z] ---> 5f4be158dc06 [2023-01-23T05:07:18.140Z] Step 12/12 : RUN ${MAKE} [2023-01-23T05:07:18.140Z] ---> Running in ac3f7c8ed4e8 [2023-01-23T05:07:18.140Z] noop [2023-01-23T05:07:18.140Z] Removing intermediate container ac3f7c8ed4e8 [2023-01-23T05:07:18.140Z] ---> efa93be75537 [2023-01-23T05:07:18.141Z] Successfully built efa93be75537 [2023-01-23T05:07:18.141Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:07:18.599Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T05:07:18.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:07:18.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-3334 does not seem to be running inside a container [2023-01-23T05:07:18.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T05:07:20.020Z] $ docker top ccc9d32ac79f1db1a0c989c9fdfb63516f7f682199e3bc5e7cf88d54ad134246 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T05:07:20.877Z] + go version [2023-01-23T05:07:20.877Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T05:07:20.910Z] $ docker stop --time=1 ccc9d32ac79f1db1a0c989c9fdfb63516f7f682199e3bc5e7cf88d54ad134246 [2023-01-23T05:07:22.484Z] $ docker rm -f --volumes ccc9d32ac79f1db1a0c989c9fdfb63516f7f682199e3bc5e7cf88d54ad134246 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:07:23.287Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T05:07:23.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:07:23.528Z] prd-ubuntu20.04-docker-arm64-4c-16g-3334 does not seem to be running inside a container [2023-01-23T05:07:23.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T05:07:24.643Z] $ docker top 818bc47bea5e934df723f099b61e455354623f76a045f0acb8bd47973c1157cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T05:07:25.168Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T05:07:25.546Z] + make test [2023-01-23T05:07:25.546Z] go test ./... -coverprofile=coverage.out [2023-01-23T05:07:27.486Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-23T05:08:49.109Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-23T05:08:49.109Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2023-01-23T05:08:49.109Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-23T05:08:49.109Z] go vet ./... [2023-01-23T05:09:01.441Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T05:09:01.441Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T05:09:01.441Z] ./bin/test-attribution-txt.sh [2023-01-23T05:09:01.441Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T05:09:01.441Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T05:09:01.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T05:09:01.524Z] $ docker stop --time=1 818bc47bea5e934df723f099b61e455354623f76a045f0acb8bd47973c1157cf [2023-01-23T05:09:03.277Z] $ docker rm -f --volumes 818bc47bea5e934df723f099b61e455354623f76a045f0acb8bd47973c1157cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T05:09:04.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T05:09:04.311Z] Warning: overwriting stash ‘coverage-report’ [2023-01-23T05:09:04.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T05:09:05.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T05:09:05.764Z] + ls -al . [2023-01-23T05:09:05.765Z] total 168 [2023-01-23T05:09:05.765Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 05:07 . [2023-01-23T05:09:05.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 05:05 .. [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 23 05:05 .dockerignore [2023-01-23T05:09:05.765Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 05:05 .git [2023-01-23T05:09:05.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 05:05 .github [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 23 05:05 .gitignore [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 05:05 .golangci.yml [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 23 05:05 Attribution.txt [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 23 05:05 CHANGELOG.md [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 23 05:05 Dockerfile [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 05:05 GOVERNANCE.md [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 23 05:05 Jenkinsfile [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 05:05 LICENSE [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 23 05:05 Makefile [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 05:05 OWNERS.md [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 23 05:05 README.md [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 05:03 VERSION [2023-01-23T05:09:05.765Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 05:05 bin [2023-01-23T05:09:05.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 05:05 cmd [2023-01-23T05:09:05.765Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 23 05:08 coverage.out [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 3380 Jan 23 05:05 go.mod [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 34497 Jan 23 05:05 go.sum [2023-01-23T05:09:05.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 05:05 internal [2023-01-23T05:09:05.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 05:05 snap [2023-01-23T05:09:05.765Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 23 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:09:06.203Z] + 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=8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb --label arch=arm64 --label version=0.0.0 . [2023-01-23T05:09:06.470Z] Sending build context to Docker daemon 2.946MB [2023-01-23T05:09:06.470Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T05:09:06.470Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-23T05:09:06.470Z] ---> efa93be75537 [2023-01-23T05:09:06.470Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-23T05:09:06.470Z] ---> Running in 409babc57135 [2023-01-23T05:09:06.737Z] Removing intermediate container 409babc57135 [2023-01-23T05:09:06.737Z] ---> c9d8a2ebacf7 [2023-01-23T05:09:06.737Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T05:09:07.008Z] ---> Running in efe0b04f5c22 [2023-01-23T05:09:07.276Z] Removing intermediate container efe0b04f5c22 [2023-01-23T05:09:07.276Z] ---> 094831498cb6 [2023-01-23T05:09:07.276Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T05:09:07.276Z] ---> Running in 96e1a84e57a4 [2023-01-23T05:09:07.544Z] Removing intermediate container 96e1a84e57a4 [2023-01-23T05:09:07.544Z] ---> 6e81eeb24f26 [2023-01-23T05:09:07.544Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T05:09:07.544Z] ---> Running in 1e660dca193b [2023-01-23T05:09:07.811Z] Removing intermediate container 1e660dca193b [2023-01-23T05:09:07.811Z] ---> 282cc6953689 [2023-01-23T05:09:07.811Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T05:09:07.811Z] ---> Running in 76a1321a9219 [2023-01-23T05:09:08.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T05:09:09.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T05:09:10.449Z] OK: 226 MiB in 55 packages [2023-01-23T05:09:11.038Z] Removing intermediate container 76a1321a9219 [2023-01-23T05:09:11.038Z] ---> 6056891a8a2e [2023-01-23T05:09:11.038Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-23T05:09:11.038Z] ---> Running in 6ae7fc291738 [2023-01-23T05:09:11.305Z] Removing intermediate container 6ae7fc291738 [2023-01-23T05:09:11.305Z] ---> f567d0742135 [2023-01-23T05:09:11.305Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-23T05:09:11.889Z] ---> ef179f9b263f [2023-01-23T05:09:11.889Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T05:09:11.889Z] ---> Running in a0eaac68fa08 [2023-01-23T05:09:14.476Z] Removing intermediate container a0eaac68fa08 [2023-01-23T05:09:14.476Z] ---> c7865991a2e3 [2023-01-23T05:09:14.476Z] Step 11/24 : COPY . . [2023-01-23T05:09:15.060Z] ---> 9007f7fecf95 [2023-01-23T05:09:15.060Z] Step 12/24 : RUN ${MAKE} [2023-01-23T05:09:15.060Z] ---> Running in 90b6d12b097e [2023-01-23T05:09:16.021Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-23T05:11:37.922Z] Removing intermediate container 90b6d12b097e [2023-01-23T05:11:37.922Z] ---> 21630f0f0115 [2023-01-23T05:11:37.922Z] Step 13/24 : FROM alpine:3.16 [2023-01-23T05:11:37.922Z] 3.16: Pulling from library/alpine [2023-01-23T05:11:37.922Z] 6875df1f5354: Pulling fs layer [2023-01-23T05:11:37.922Z] 6875df1f5354: Verifying Checksum [2023-01-23T05:11:37.922Z] 6875df1f5354: Download complete [2023-01-23T05:11:37.922Z] 6875df1f5354: Pull complete [2023-01-23T05:11:37.922Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T05:11:37.922Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T05:11:37.922Z] ---> 2b4661558fb8 [2023-01-23T05:11:37.922Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-23T05:11:37.922Z] ---> Running in 4724779815b2 [2023-01-23T05:11:37.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T05:11:37.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T05:11:37.922Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T05:11:37.922Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T05:11:37.922Z] OK: 5 MiB in 15 packages [2023-01-23T05:11:37.922Z] Removing intermediate container 4724779815b2 [2023-01-23T05:11:37.922Z] ---> 3843a3651d63 [2023-01-23T05:11:37.922Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-23T05:11:37.922Z] ---> ef4c630c7117 [2023-01-23T05:11:37.922Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-23T05:11:37.922Z] ---> ee38052376a7 [2023-01-23T05:11:37.922Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-23T05:11:37.922Z] ---> 52b4b4892fc2 [2023-01-23T05:11:37.922Z] Step 18/24 : EXPOSE 59993 [2023-01-23T05:11:37.922Z] ---> Running in 717c6465db88 [2023-01-23T05:11:37.922Z] Removing intermediate container 717c6465db88 [2023-01-23T05:11:37.922Z] ---> 286158c5cd9b [2023-01-23T05:11:37.922Z] Step 19/24 : EXPOSE 161 [2023-01-23T05:11:37.922Z] ---> Running in 04e94ad76d1b [2023-01-23T05:11:37.922Z] Removing intermediate container 04e94ad76d1b [2023-01-23T05:11:37.922Z] ---> f2ccb4aaa997 [2023-01-23T05:11:37.922Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-23T05:11:37.922Z] ---> Running in 6375643aa47b [2023-01-23T05:11:39.328Z] Removing intermediate container 6375643aa47b [2023-01-23T05:11:39.328Z] ---> fc18e72e2b6d [2023-01-23T05:11:39.328Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-23T05:11:39.328Z] ---> Running in 1a61e142c099 [2023-01-23T05:11:39.595Z] Removing intermediate container 1a61e142c099 [2023-01-23T05:11:39.595Z] ---> c5367b6dbad3 [2023-01-23T05:11:39.595Z] Step 22/24 : LABEL arch=arm64 [2023-01-23T05:11:39.595Z] ---> Running in 4ff9b960f6be [2023-01-23T05:11:39.862Z] Removing intermediate container 4ff9b960f6be [2023-01-23T05:11:39.862Z] ---> 651eed6d9324 [2023-01-23T05:11:39.862Z] Step 23/24 : LABEL git_sha=8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [2023-01-23T05:11:39.862Z] ---> Running in f54f1b637248 [2023-01-23T05:11:40.132Z] Removing intermediate container f54f1b637248 [2023-01-23T05:11:40.132Z] ---> ad48d642fe4c [2023-01-23T05:11:40.132Z] Step 24/24 : LABEL version=0.0.0 [2023-01-23T05:11:40.399Z] ---> Running in 9771f2ce9e6a [2023-01-23T05:11:40.664Z] Removing intermediate container 9771f2ce9e6a [2023-01-23T05:11:40.664Z] ---> a7fa16ba174a [2023-01-23T05:11:40.664Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T05:11:40.664Z] Successfully built a7fa16ba174a [2023-01-23T05:11:40.664Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:11:41.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T05:11:41.576Z] [2023-01-23T05:11:41.576Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:11:41.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T05:11:41.975Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T05:11:41.975Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T05:11:41.975Z] 04944245beec: Pulling fs layer [2023-01-23T05:11:41.975Z] 699f458cf7ca: Pulling fs layer [2023-01-23T05:11:41.975Z] 765212b225bb: Pulling fs layer [2023-01-23T05:11:41.975Z] f23df028b6ca: Pulling fs layer [2023-01-23T05:11:41.975Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T05:11:41.975Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T05:11:41.975Z] f23df028b6ca: Waiting [2023-01-23T05:11:41.975Z] d65c8cfc05b1: Waiting [2023-01-23T05:11:41.975Z] 765212b225bb: Waiting [2023-01-23T05:11:41.975Z] 2437ff75d9bd: Waiting [2023-01-23T05:11:42.245Z] 04944245beec: Verifying Checksum [2023-01-23T05:11:42.245Z] 04944245beec: Download complete [2023-01-23T05:11:42.245Z] 765212b225bb: Download complete [2023-01-23T05:11:42.245Z] f23df028b6ca: Verifying Checksum [2023-01-23T05:11:42.245Z] f23df028b6ca: Download complete [2023-01-23T05:11:42.245Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T05:11:42.245Z] d65c8cfc05b1: Download complete [2023-01-23T05:11:42.512Z] 699f458cf7ca: Verifying Checksum [2023-01-23T05:11:42.512Z] 699f458cf7ca: Download complete [2023-01-23T05:11:42.778Z] 8998bd30e6a1: Verifying Checksum [2023-01-23T05:11:42.778Z] 8998bd30e6a1: Download complete [2023-01-23T05:11:44.735Z] 2437ff75d9bd: Verifying Checksum [2023-01-23T05:11:44.735Z] 2437ff75d9bd: Download complete [2023-01-23T05:11:46.139Z] 8998bd30e6a1: Pull complete [2023-01-23T05:11:46.717Z] 04944245beec: Pull complete [2023-01-23T05:11:47.686Z] 699f458cf7ca: Pull complete [2023-01-23T05:11:47.953Z] 765212b225bb: Pull complete [2023-01-23T05:11:48.534Z] f23df028b6ca: Pull complete [2023-01-23T05:11:48.799Z] d65c8cfc05b1: Pull complete [2023-01-23T05:12:01.097Z] 2437ff75d9bd: Pull complete [2023-01-23T05:12:01.097Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T05:12:01.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T05:12:01.097Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:12:01.405Z] prd-ubuntu20.04-docker-arm64-4c-16g-3334 does not seem to be running inside a container [2023-01-23T05:12:01.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-23T05:12:03.881Z] $ docker top 2016ac233ef437176bd6494b7725cca95dc7f4f16239c5ba4b8671be9b5da1d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:04.447Z] ---> job-cost.sh [2023-01-23T05:12:04.715Z] lf-activate-venv: SKIPPING [2023-01-23T05:12:04.715Z] INFO: No Stack... [2023-01-23T05:12:04.987Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T05:12:05.957Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T05:12:06.305Z] + cut -d, -f6 [2023-01-23T05:12:06.305Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2023-01-23T05:12:06.385Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] [2023-01-23T05:12:06.389Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] did not exist. Created. [2023-01-23T05:12:06.389Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T05:12:07.108Z] /w/workspace/device-snmp-go/1@tmp/durable-36f2dab5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T05:12:07.457Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T05:12:07.498Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T05:12:07.535Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T05:12:07.550Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-220-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T05:12:07.626Z] $ docker stop --time=1 2016ac233ef437176bd6494b7725cca95dc7f4f16239c5ba4b8671be9b5da1d4 [2023-01-23T05:12:09.095Z] $ docker rm -f --volumes 2016ac233ef437176bd6494b7725cca95dc7f4f16239c5ba4b8671be9b5da1d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-23T05:12:10.076Z] provisioning config files... [2023-01-23T05:12:10.084Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/config6498462343828218149tmp [Pipeline] { [Pipeline] sh [2023-01-23T05:12:10.410Z] + set +x [2023-01-23T05:12:10.410Z] + + curl -s https://codecov.io/bash [2023-01-23T05:12:10.410Z] bash -s -- [2023-01-23T05:12:10.410Z] [2023-01-23T05:12:10.410Z] _____ _ [2023-01-23T05:12:10.410Z] / ____| | | [2023-01-23T05:12:10.410Z] | | ___ __| | ___ ___ _____ __ [2023-01-23T05:12:10.410Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-23T05:12:10.410Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-23T05:12:10.410Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-23T05:12:10.410Z] Bash-1.0.6 [2023-01-23T05:12:10.410Z] [2023-01-23T05:12:10.410Z] [2023-01-23T05:12:10.410Z] ==> git version 2.25.1 found [2023-01-23T05:12:10.410Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-23T05:12:10.410Z] Release-Date: 2020-01-08 [2023-01-23T05:12:10.410Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-23T05:12:10.410Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-23T05:12:10.410Z] ==> Jenkins CI detected. [2023-01-23T05:12:10.410Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-220 [2023-01-23T05:12:10.410Z] project root: . [2023-01-23T05:12:10.410Z] --> token set from env [2023-01-23T05:12:10.410Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-23T05:12:10.410Z] ==> Running gcov in . (disable via -X gcov) [2023-01-23T05:12:10.410Z] ==> Python coveragepy not found [2023-01-23T05:12:10.410Z] ==> Searching for coverage reports in: [2023-01-23T05:12:10.410Z] + . [2023-01-23T05:12:10.670Z] -> Found 1 reports [2023-01-23T05:12:10.670Z] ==> Detecting git/mercurial file structure [2023-01-23T05:12:10.670Z] ==> Reading reports [2023-01-23T05:12:10.670Z] + ./coverage.out bytes=7631 [2023-01-23T05:12:10.670Z] ==> Appending adjustments [2023-01-23T05:12:10.670Z] https://docs.codecov.io/docs/fixing-reports [2023-01-23T05:12:10.670Z] + Found adjustments [2023-01-23T05:12:10.670Z] ==> Gzipping contents [2023-01-23T05:12:10.670Z] 4.0K /tmp/codecov.arbmdk.gz [2023-01-23T05:12:10.670Z] ==> Uploading reports [2023-01-23T05:12:10.670Z] url: https://codecov.io [2023-01-23T05:12:10.670Z] query: branch=PR-220&commit=8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-220%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=220&job=&cmd_args= [2023-01-23T05:12:10.670Z] -> Pinging Codecov [2023-01-23T05:12:10.670Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-220&commit=8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-220%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=220&job=&cmd_args= [2023-01-23T05:12:11.239Z] -> Uploading to [2023-01-23T05:12:11.239Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-23/6C56EA5C29638FB4528AC87E60AF5AE0/8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb/387c1489-50af-4faf-bdf3-261350f41753.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T051210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc6259655b30c78bb5252044fc4c2c88a2d29f5d46e90560c8cadb11bc5503c6 [2023-01-23T05:12:11.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T05:12:11.239Z] Dload Upload Total Spent Left Speed [2023-01-23T05:12:11.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 6015 --:--:-- --:--:-- --:--:-- 6015 [2023-01-23T05:12:11.239Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/8d79be3d07624d2b1a2b9a49c1104d484a9aa9cb [Pipeline] } [2023-01-23T05:12:11.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-23T05:12:13.056Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-220/archives ] [2023-01-23T05:12:13.056Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-220/archives [2023-01-23T05:12:13.056Z] total 16 [2023-01-23T05:12:13.056Z] drwxr-xr-x 3 root root 4096 Jan 23 05:05 . [2023-01-23T05:12:13.056Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 05:05 .. [2023-01-23T05:12:13.056Z] drwxr-xr-x 2 root root 4096 Jan 23 05:05 cost [2023-01-23T05:12:13.056Z] -rw-r--r-- 1 root root 86 Jan 23 05:05 cost.csv [2023-01-23T05:12:13.056Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-220/archives [2023-01-23T05:12:13.056Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-220/archives [2023-01-23T05:12:13.056Z] total 16 [2023-01-23T05:12:13.056Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 05:05 . [2023-01-23T05:12:13.056Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 05:05 .. [2023-01-23T05:12:13.056Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 05:05 cost [2023-01-23T05:12:13.056Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 23 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:13.383Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:14.275Z] ---> package-listing.sh [2023-01-23T05:12:14.275Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T05:12:14.275Z] ++ facter osfamily [2023-01-23T05:12:14.533Z] + OS_FAMILY=debian [2023-01-23T05:12:14.533Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-220 [2023-01-23T05:12:14.533Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T05:12:14.533Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T05:12:14.533Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T05:12:14.533Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T05:12:14.533Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-220 ']' [2023-01-23T05:12:14.533Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T05:12:14.533Z] + case "${OS_FAMILY}" in [2023-01-23T05:12:14.533Z] + dpkg -l [2023-01-23T05:12:14.533Z] + grep '^ii' [2023-01-23T05:12:14.533Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T05:12:14.533Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T05:12:14.533Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T05:12:14.533Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-220 ']' [2023-01-23T05:12:14.533Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-220/archives/ [2023-01-23T05:12:14.533Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-220/archives/ [Pipeline] echo [2023-01-23T05:12:14.566Z] 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-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T05:12:14.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T05:12:15.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T05:12:15.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T05:12:15.629Z] prd-ubuntu20.04-docker-8c-8g-3332 does not seem to be running inside a container [2023-01-23T05:12:15.657Z] $ 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-220/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-220 -v /w/workspace/gexfoundry_device-snmp-go_PR-220:/w/workspace/gexfoundry_device-snmp-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T05:12:15.858Z] $ docker top 0fae202dac5194b9a4dc41692adf8da9c65b84a35fde1a5bb462564ae2e9d29a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T05:12:16.251Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T05:12:16.565Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T05:12:16.878Z] + ls /var/log/sa-host [2023-01-23T05:12:16.878Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T05:12:17.097Z] provisioning config files... [2023-01-23T05:12:17.105Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-220@tmp/config770520221695268448tmp [Pipeline] { [Pipeline] echo [2023-01-23T05:12:17.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:17.463Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T05:12:17.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:17.890Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T05:12:17.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:18.231Z] ---> sudo-logs.sh [2023-01-23T05:12:18.231Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T05:12:18.308Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:18.615Z] ---> job-cost.sh [2023-01-23T05:12:18.615Z] lf-activate-venv: SKIPPING [2023-01-23T05:12:18.615Z] DEBUG: total: 0.2199999988079071 [2023-01-23T05:12:18.615Z] INFO: Retrieving Stack Cost... [2023-01-23T05:12:18.873Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T05:12:19.440Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T05:12:19.475Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T05:12:19.784Z] ---> logs-deploy.sh [2023-01-23T05:12:19.784Z] lf-activate-venv: SKIPPING [2023-01-23T05:12:19.784Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-220/1 [2023-01-23T05:12:19.784Z] INFO: archiving workspace using pattern(s): [2023-01-23T05:12:20.718Z] Archives upload complete. [2023-01-23T05:12:20.718Z] INFO: archiving logs to Nexus