Pull request #208 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6654394e6ba142b73a52eaee0ac78d1be32d5441+d1c7c2ea98aab23790d51b6eaeef7bb46474233e (d63a92fbcc2d93371c4d52b9f682a2a127907824) 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-ssh5769485434158640902.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-ssh11348751028354707365.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-208/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-208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14458801547755199363.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-208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5616361596801769039.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-ssh3885216747407567025.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-208/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-208/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1795499067991835613.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-1538 in /w/workspace/gexfoundry_device-snmp-go_PR-208 [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-208 # 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 d1c7c2ea98aab23790d51b6eaeef7bb46474233e into PR head commit 6654394e6ba142b73a52eaee0ac78d1be32d5441 Merge succeeded, producing 6654394e6ba142b73a52eaee0ac78d1be32d5441 Checking out Revision 6654394e6ba142b73a52eaee0ac78d1be32d5441 (PR-208) > 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/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6654394e6ba142b73a52eaee0ac78d1be32d5441 # 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 d1c7c2ea98aab23790d51b6eaeef7bb46474233e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6654394e6ba142b73a52eaee0ac78d1be32d5441 # 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-10T05:03:17.258Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T05:03:17.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T05:03:17.552Z] ========================================================= [2023-01-10T05:03:17.552Z] EdgeX Global Pipelines Version Info [2023-01-10T05:03:17.552Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:03:18.282Z] ------------------- [2023-01-10T05:03:18.282Z] stable info: [2023-01-10T05:03:18.282Z] ------------------- [2023-01-10T05:03:18.282Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T05:03:18.282Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T05:03:18.282Z] Message: update stable to v1.0.244 [2023-01-10T05:03:18.854Z] ------------------- [2023-01-10T05:03:18.854Z] experimental info: [2023-01-10T05:03:18.854Z] ------------------- [2023-01-10T05:03:18.854Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T05:03:18.854Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T05:03:18.854Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T05:03:19.125Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-10T05:03:19.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-10T05:03:19.206Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T05:03:19.249Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T05:03:19.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T05:03:19.336Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T05:03:19.376Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T05:03:19.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T05:03:19.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T05:03:19.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T05:03:19.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T05:03:19.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-10T05:03:19.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T05:03:19.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T05:03:19.698Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T05:03:19.735Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T05:03:19.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T05:03:19.812Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T05:03:19.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T05:03:19.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T05:03:19.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T05:03:19.965Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T05:03:20.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T05:03:20.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T05:03:20.084Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T05:03:20.120Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T05:03:20.160Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T05:03:20.201Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo [2023-01-10T05:03:20.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo [2023-01-10T05:03:20.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo [2023-01-10T05:03:20.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6654394e6ba142b73a52eaee0ac78d1be32d5441 [Pipeline] echo [2023-01-10T05:03:20.360Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6654394 [Pipeline] echo [2023-01-10T05:03:20.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T05:03:20.511Z] provisioning config files... [2023-01-10T05:03:20.524Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config14206191254165216358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:03:20.864Z] ---> docker-login.sh [2023-01-10T05:03:20.864Z] nexus3.edgexfoundry.org:10001 [2023-01-10T05:03:21.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:21.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:21.125Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:21.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:21.125Z] [2023-01-10T05:03:21.125Z] Login Succeeded [2023-01-10T05:03:21.125Z] nexus3.edgexfoundry.org:10002 [2023-01-10T05:03:21.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:21.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:21.125Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:21.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:21.125Z] [2023-01-10T05:03:21.125Z] Login Succeeded [2023-01-10T05:03:21.125Z] nexus3.edgexfoundry.org:10003 [2023-01-10T05:03:21.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:21.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:21.386Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:21.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:21.386Z] [2023-01-10T05:03:21.386Z] Login Succeeded [2023-01-10T05:03:21.386Z] nexus3.edgexfoundry.org:10004 [2023-01-10T05:03:21.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:21.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:21.386Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:21.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:21.386Z] [2023-01-10T05:03:21.386Z] Login Succeeded [2023-01-10T05:03:21.386Z] docker.io [2023-01-10T05:03:21.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:21.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:21.646Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:21.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:21.646Z] [2023-01-10T05:03:21.646Z] Login Succeeded [2023-01-10T05:03:21.646Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T05:03:21.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T05:03:22.290Z] + git rev-list -1 --merges 6654394e6ba142b73a52eaee0ac78d1be32d5441~1..6654394e6ba142b73a52eaee0ac78d1be32d5441 [Pipeline] echo [2023-01-10T05:03:22.357Z] -----------> git rev-list -1 --merges 6654394e6ba142b73a52eaee0ac78d1be32d5441~1..6654394e6ba142b73a52eaee0ac78d1be32d5441 6654394e6ba142b73a52eaee0ac78d1be32d5441 [false] [Pipeline] sh [2023-01-10T05:03:22.666Z] + git log --format=format:%s -1 6654394e6ba142b73a52eaee0ac78d1be32d5441 [Pipeline] echo [2023-01-10T05:03:22.700Z] ========================================================= [2023-01-10T05:03:22.700Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T05:03:22.700Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T05:03:23.157Z] + git log --format=format:%s -1 6654394e6ba142b73a52eaee0ac78d1be32d5441 [Pipeline] echo [2023-01-10T05:03:23.191Z] [semverPrep] GIT_COMMIT: 6654394e6ba142b73a52eaee0ac78d1be32d5441, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-10T05:03:23.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T05:03:23.595Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T05:03:23.595Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T05:03:23.595Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T05:03:23.595Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T05:03:23.595Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T05:03:23.595Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T05:03:23.595Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:03:24.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T05:03:24.008Z] [2023-01-10T05:03:24.008Z] 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-10T05:03:24.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T05:03:24.382Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T05:03:24.382Z] b85a868b505f: Pulling fs layer [2023-01-10T05:03:24.382Z] e2be974225ed: Pulling fs layer [2023-01-10T05:03:24.382Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T05:03:24.382Z] 988bab9f4d93: Pulling fs layer [2023-01-10T05:03:24.382Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T05:03:24.382Z] eaf3925da568: Pulling fs layer [2023-01-10T05:03:24.382Z] bab4dde63d76: Pulling fs layer [2023-01-10T05:03:24.382Z] bde34c3a00c8: Pulling fs layer [2023-01-10T05:03:24.382Z] b352a97aabf1: Pulling fs layer [2023-01-10T05:03:24.382Z] 4872d77fe225: Pulling fs layer [2023-01-10T05:03:24.382Z] 5851b861e8e6: Pulling fs layer [2023-01-10T05:03:24.382Z] 1469e6f7b9e6: Waiting [2023-01-10T05:03:24.382Z] 988bab9f4d93: Waiting [2023-01-10T05:03:24.382Z] b352a97aabf1: Waiting [2023-01-10T05:03:24.382Z] bde34c3a00c8: Waiting [2023-01-10T05:03:24.382Z] 4872d77fe225: Waiting [2023-01-10T05:03:24.383Z] eaf3925da568: Waiting [2023-01-10T05:03:24.383Z] 5851b861e8e6: Waiting [2023-01-10T05:03:24.383Z] bab4dde63d76: Waiting [2023-01-10T05:03:24.383Z] e2be974225ed: Verifying Checksum [2023-01-10T05:03:24.383Z] 988bab9f4d93: Verifying Checksum [2023-01-10T05:03:24.383Z] 988bab9f4d93: Download complete [2023-01-10T05:03:24.642Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T05:03:24.642Z] 1469e6f7b9e6: Download complete [2023-01-10T05:03:24.642Z] eaf3925da568: Verifying Checksum [2023-01-10T05:03:24.642Z] eaf3925da568: Download complete [2023-01-10T05:03:24.642Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T05:03:24.642Z] 339a4e72a1f5: Download complete [2023-01-10T05:03:24.642Z] bde34c3a00c8: Verifying Checksum [2023-01-10T05:03:24.642Z] bde34c3a00c8: Download complete [2023-01-10T05:03:24.642Z] b352a97aabf1: Verifying Checksum [2023-01-10T05:03:24.642Z] b352a97aabf1: Download complete [2023-01-10T05:03:24.642Z] 4872d77fe225: Verifying Checksum [2023-01-10T05:03:24.642Z] 4872d77fe225: Download complete [2023-01-10T05:03:24.642Z] 5851b861e8e6: Download complete [2023-01-10T05:03:24.642Z] b85a868b505f: Verifying Checksum [2023-01-10T05:03:24.642Z] b85a868b505f: Download complete [2023-01-10T05:03:24.901Z] bab4dde63d76: Download complete [2023-01-10T05:03:25.836Z] b85a868b505f: Pull complete [2023-01-10T05:03:25.836Z] e2be974225ed: Pull complete [2023-01-10T05:03:26.402Z] 339a4e72a1f5: Pull complete [2023-01-10T05:03:26.402Z] 988bab9f4d93: Pull complete [2023-01-10T05:03:26.661Z] 1469e6f7b9e6: Pull complete [2023-01-10T05:03:26.661Z] eaf3925da568: Pull complete [2023-01-10T05:03:28.566Z] bab4dde63d76: Pull complete [2023-01-10T05:03:28.566Z] bde34c3a00c8: Pull complete [2023-01-10T05:03:28.566Z] b352a97aabf1: Pull complete [2023-01-10T05:03:28.566Z] 4872d77fe225: Pull complete [2023-01-10T05:03:28.566Z] 5851b861e8e6: Pull complete [2023-01-10T05:03:28.566Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T05:03:28.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T05:03:28.566Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:03:28.789Z] prd-ubuntu20.04-docker-8c-8g-1538 does not seem to be running inside a container [2023-01-10T05:03:28.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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-10T05:03:31.067Z] $ docker top 4a6a8acdf7266d033ff5ebe05e863aa739d5421d7345733f1b1f859f61c7abc0 -eo pid,comm [2023-01-10T05:03:31.127Z] 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-10T05:03:31.127Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T05:03:31.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T05:03:31.262Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T05:03:31.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T05:03:31.358Z] $ docker exec 4a6a8acdf7266d033ff5ebe05e863aa739d5421d7345733f1b1f859f61c7abc0 ssh-agent [2023-01-10T05:03:31.478Z] SSH_AUTH_SOCK=/tmp/ssh-J5diWEbHNXoN/agent.33 [2023-01-10T05:03:31.478Z] SSH_AGENT_PID=39 [2023-01-10T05:03:31.485Z] Running ssh-add (command line suppressed) [2023-01-10T05:03:31.576Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_15619941738872879833.key (/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_15619941738872879833.key) [2023-01-10T05:03:31.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T05:03:31.931Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T05:03:31.948Z] $ docker exec --env ******** --env ******** 4a6a8acdf7266d033ff5ebe05e863aa739d5421d7345733f1b1f859f61c7abc0 ssh-agent -k [2023-01-10T05:03:32.050Z] unset SSH_AUTH_SOCK; [2023-01-10T05:03:32.051Z] unset SSH_AGENT_PID; [2023-01-10T05:03:32.051Z] echo Agent pid 39 killed; [2023-01-10T05:03:32.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T05:03:32.167Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T05:03:32.167Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T05:03:32.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T05:03:32.262Z] $ docker exec 4a6a8acdf7266d033ff5ebe05e863aa739d5421d7345733f1b1f859f61c7abc0 ssh-agent [2023-01-10T05:03:32.373Z] SSH_AUTH_SOCK=/tmp/ssh-dykhfaQt3kep/agent.71 [2023-01-10T05:03:32.373Z] SSH_AGENT_PID=77 [2023-01-10T05:03:32.378Z] Running ssh-add (command line suppressed) [2023-01-10T05:03:32.462Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_18130869382832844130.key (/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_18130869382832844130.key) [2023-01-10T05:03:32.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T05:03:32.815Z] + git semver init [2023-01-10T05:03:33.076Z] 2023-01-10 05:03:32,969 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T05:03:33.076Z] 2023-01-10 05:03:32,970 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver [2023-01-10T05:03:33.076Z] 2023-01-10 05:03:32,971 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-208/.semver [2023-01-10T05:03:33.076Z] 2023-01-10 05:03:32,971 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-208, universal_newlines=False, shell=None, istream=None) [2023-01-10T05:03:34.015Z] 2023-01-10 05:03:33,998 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-208/.git/info/exclude [2023-01-10T05:03:34.015Z] 2023-01-10 05:03:33,999 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver/PR-208 with force:False [2023-01-10T05:03:34.015Z] 2023-01-10 05:03:33,999 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver/PR-208 [2023-01-10T05:03:34.015Z] 2023-01-10 05:03:34,003 [execute] INFO git cat-file --batch-check [2023-01-10T05:03:34.015Z] 2023-01-10 05:03:34,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T05:03:34.275Z] 2023-01-10 05:03:34,010 [execute] INFO git cat-file --batch [2023-01-10T05:03:34.275Z] 2023-01-10 05:03:34,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T05:03:34.275Z] 2023-01-10 05:03:34,015 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-208/.semver/PR-208 [2023-01-10T05:03:34.275Z] 0.0.0 [Pipeline] } [2023-01-10T05:03:34.291Z] $ docker exec --env ******** --env ******** 4a6a8acdf7266d033ff5ebe05e863aa739d5421d7345733f1b1f859f61c7abc0 ssh-agent -k [2023-01-10T05:03:34.400Z] unset SSH_AUTH_SOCK; [2023-01-10T05:03:34.400Z] unset SSH_AGENT_PID; [2023-01-10T05:03:34.401Z] echo Agent pid 77 killed; [2023-01-10T05:03:34.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T05:03:34.852Z] + git semver [Pipeline] } [2023-01-10T05:03:35.130Z] $ docker stop --time=1 4a6a8acdf7266d033ff5ebe05e863aa739d5421d7345733f1b1f859f61c7abc0 [2023-01-10T05:03:36.414Z] $ docker rm -f --volumes 4a6a8acdf7266d033ff5ebe05e863aa739d5421d7345733f1b1f859f61c7abc0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T05:03:36.832Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T05:03:37.108Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T05:03:37.125Z] [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-10T05:03:37.757Z] provisioning config files... [2023-01-10T05:03:37.766Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config16320381191693102996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:03:38.112Z] ---> docker-login.sh [2023-01-10T05:03:38.112Z] nexus3.edgexfoundry.org:10001 [2023-01-10T05:03:38.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:38.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:38.112Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:38.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:38.112Z] [2023-01-10T05:03:38.112Z] Login Succeeded [2023-01-10T05:03:38.112Z] nexus3.edgexfoundry.org:10002 [2023-01-10T05:03:38.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:38.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:38.112Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:38.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:38.112Z] [2023-01-10T05:03:38.112Z] Login Succeeded [2023-01-10T05:03:38.112Z] nexus3.edgexfoundry.org:10003 [2023-01-10T05:03:38.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:38.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:38.371Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:38.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:38.371Z] [2023-01-10T05:03:38.371Z] Login Succeeded [2023-01-10T05:03:38.371Z] nexus3.edgexfoundry.org:10004 [2023-01-10T05:03:38.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:38.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:38.371Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:38.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:38.371Z] [2023-01-10T05:03:38.371Z] Login Succeeded [2023-01-10T05:03:38.371Z] docker.io [2023-01-10T05:03:38.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:03:38.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:03:38.629Z] Configure a credential helper to remove this warning. See [2023-01-10T05:03:38.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:03:38.629Z] [2023-01-10T05:03:38.629Z] Login Succeeded [2023-01-10T05:03:38.629Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T05:03:38.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T05:03:38.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T05:03:38.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T05:03:38.939Z] ========================================================= [2023-01-10T05:03:38.939Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T05:03:38.939Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:03:39.381Z] + 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-10T05:03:39.382Z] Sending build context to Docker daemon 5.624MB [2023-01-10T05:03:39.382Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T05:03:39.382Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T05:03:39.382Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T05:03:39.382Z] 213ec9aee27d: Pulling fs layer [2023-01-10T05:03:39.382Z] 4583459ba037: Pulling fs layer [2023-01-10T05:03:39.382Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T05:03:39.382Z] 53926ce57604: Pulling fs layer [2023-01-10T05:03:39.382Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T05:03:39.382Z] 22ff95d597cd: Pulling fs layer [2023-01-10T05:03:39.382Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T05:03:39.382Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T05:03:39.382Z] a7acece74701: Pulling fs layer [2023-01-10T05:03:39.382Z] 22ff95d597cd: Waiting [2023-01-10T05:03:39.382Z] 96b7cbca73a9: Waiting [2023-01-10T05:03:39.382Z] 12d6caf4c0d1: Waiting [2023-01-10T05:03:39.382Z] a7acece74701: Waiting [2023-01-10T05:03:39.382Z] 53926ce57604: Waiting [2023-01-10T05:03:39.382Z] 21b2b0c7a3f4: Waiting [2023-01-10T05:03:39.382Z] 93c1e223e6f2: Download complete [2023-01-10T05:03:39.382Z] 4583459ba037: Download complete [2023-01-10T05:03:39.382Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T05:03:39.382Z] 21b2b0c7a3f4: Download complete [2023-01-10T05:03:39.645Z] 22ff95d597cd: Download complete [2023-01-10T05:03:39.645Z] 213ec9aee27d: Verifying Checksum [2023-01-10T05:03:39.645Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T05:03:39.645Z] 12d6caf4c0d1: Download complete [2023-01-10T05:03:39.645Z] 213ec9aee27d: Pull complete [2023-01-10T05:03:39.909Z] 4583459ba037: Pull complete [2023-01-10T05:03:39.909Z] 93c1e223e6f2: Pull complete [2023-01-10T05:03:40.169Z] a7acece74701: Verifying Checksum [2023-01-10T05:03:40.169Z] a7acece74701: Download complete [2023-01-10T05:03:40.169Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T05:03:40.169Z] 96b7cbca73a9: Download complete [2023-01-10T05:03:40.429Z] 53926ce57604: Download complete [2023-01-10T05:03:44.613Z] 53926ce57604: Pull complete [2023-01-10T05:03:44.613Z] 21b2b0c7a3f4: Pull complete [2023-01-10T05:03:44.613Z] 22ff95d597cd: Pull complete [2023-01-10T05:03:44.613Z] 12d6caf4c0d1: Pull complete [2023-01-10T05:03:45.987Z] 96b7cbca73a9: Pull complete [2023-01-10T05:03:46.921Z] a7acece74701: Pull complete [2023-01-10T05:03:46.921Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T05:03:46.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T05:03:46.921Z] ---> db6d94c90886 [2023-01-10T05:03:46.921Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T05:03:50.212Z] ---> Running in b1391152e6d0 [2023-01-10T05:03:50.212Z] Removing intermediate container b1391152e6d0 [2023-01-10T05:03:50.212Z] ---> cccbc335d8f7 [2023-01-10T05:03:50.212Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T05:03:50.212Z] ---> Running in 8e113858bf0b [2023-01-10T05:03:50.212Z] Removing intermediate container 8e113858bf0b [2023-01-10T05:03:50.212Z] ---> 0673e21beda0 [2023-01-10T05:03:50.212Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T05:03:50.472Z] ---> Running in b99c0f796177 [2023-01-10T05:03:50.472Z] Removing intermediate container b99c0f796177 [2023-01-10T05:03:50.472Z] ---> ab3b4fe386d7 [2023-01-10T05:03:50.472Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T05:03:50.472Z] ---> Running in 241520e9c4ac [2023-01-10T05:03:50.472Z] Removing intermediate container 241520e9c4ac [2023-01-10T05:03:50.472Z] ---> 9b928d7a080f [2023-01-10T05:03:50.472Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T05:03:50.472Z] ---> Running in ec6e5a3cf370 [2023-01-10T05:03:50.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T05:03:50.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T05:03:51.249Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T05:03:51.249Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T05:03:51.249Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T05:03:51.249Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T05:03:51.249Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T05:03:51.249Z] OK: 216 MiB in 55 packages [2023-01-10T05:03:51.818Z] Removing intermediate container ec6e5a3cf370 [2023-01-10T05:03:51.818Z] ---> 1fa77c2108b3 [2023-01-10T05:03:51.818Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-10T05:03:51.818Z] ---> Running in a310342d4ddd [2023-01-10T05:03:51.818Z] Removing intermediate container a310342d4ddd [2023-01-10T05:03:51.818Z] ---> 324f6fcbb55a [2023-01-10T05:03:51.818Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T05:03:52.082Z] ---> b07e2f6b9852 [2023-01-10T05:03:52.082Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T05:03:52.082Z] ---> Running in 2e1b7ab36b79 [2023-01-10T05:03:52.572Z] Still waiting to schedule task [2023-01-10T05:03:52.573Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1539’ is offline [2023-01-10T05:04:14.056Z] Removing intermediate container 2e1b7ab36b79 [2023-01-10T05:04:14.056Z] ---> db6fa3444248 [2023-01-10T05:04:14.056Z] Step 11/12 : COPY . . [2023-01-10T05:04:14.056Z] ---> c25dac2a1cb4 [2023-01-10T05:04:14.056Z] Step 12/12 : RUN ${MAKE} [2023-01-10T05:04:14.056Z] ---> Running in 7da4fba678fe [2023-01-10T05:04:14.056Z] noop [2023-01-10T05:04:14.056Z] Removing intermediate container 7da4fba678fe [2023-01-10T05:04:14.056Z] ---> 3e9ae5792894 [2023-01-10T05:04:14.056Z] Successfully built 3e9ae5792894 [2023-01-10T05:04:14.056Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:04:14.500Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T05:04:14.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:04:14.656Z] prd-ubuntu20.04-docker-8c-8g-1538 does not seem to be running inside a container [2023-01-10T05:04:14.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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-10T05:04:15.039Z] $ docker top 646251816d159295124b136aa8e8f332c8390a94b7ce6225410e8eafdb674ea9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T05:04:15.423Z] + go version [2023-01-10T05:04:15.423Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T05:04:15.467Z] $ docker stop --time=1 646251816d159295124b136aa8e8f332c8390a94b7ce6225410e8eafdb674ea9 [2023-01-10T05:04:16.723Z] $ docker rm -f --volumes 646251816d159295124b136aa8e8f332c8390a94b7ce6225410e8eafdb674ea9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:04:17.489Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T05:04:17.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:04:17.646Z] prd-ubuntu20.04-docker-8c-8g-1538 does not seem to be running inside a container [2023-01-10T05:04:17.688Z] $ 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-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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-10T05:04:17.979Z] $ docker top 564511ea6cb614b83e6db8dcfa96098a3b6463fc7c6a567db3d01e30e599a7fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T05:04:18.355Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-208 [Pipeline] fileExists [Pipeline] sh [2023-01-10T05:04:18.720Z] + make test [2023-01-10T05:04:18.720Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-10T05:04:18.978Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-10T05:04:27.088Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-10T05:04:27.088Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2023-01-10T05:04:33.641Z] 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-10T05:04:33.641Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T05:04:36.923Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T05:04:36.923Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T05:04:36.923Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T05:04:36.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T05:04:37.008Z] $ docker stop --time=1 564511ea6cb614b83e6db8dcfa96098a3b6463fc7c6a567db3d01e30e599a7fd [2023-01-10T05:04:39.111Z] $ docker rm -f --volumes 564511ea6cb614b83e6db8dcfa96098a3b6463fc7c6a567db3d01e30e599a7fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T05:04:39.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T05:04:39.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T05:04:40.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T05:04:40.734Z] + ls -al . [2023-01-10T05:04:40.734Z] total 180 [2023-01-10T05:04:40.734Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 05:04 . [2023-01-10T05:04:40.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 05:03 .. [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 05:03 .dockerignore [2023-01-10T05:04:40.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 05:04 .git [2023-01-10T05:04:40.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 05:03 .github [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 05:03 .gitignore [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 05:03 .golangci.yml [2023-01-10T05:04:40.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 05:03 .semver [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 8932 Jan 10 05:03 Attribution.txt [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 05:03 CHANGELOG.md [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 1486 Jan 10 05:03 Dockerfile [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 05:03 GOVERNANCE.md [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 05:03 Jenkinsfile [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 05:03 LICENSE [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 2543 Jan 10 05:03 Makefile [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 05:03 OWNERS.md [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 05:03 README.md [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 05:03 VERSION [2023-01-10T05:04:40.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 05:03 bin [2023-01-10T05:04:40.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 05:03 cmd [2023-01-10T05:04:40.734Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 05:04 coverage.out [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 05:03 go.mod [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 05:03 go.sum [2023-01-10T05:04:40.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 05:03 internal [2023-01-10T05:04:40.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 05:03 snap [2023-01-10T05:04:40.734Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:04:41.172Z] + 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=6654394e6ba142b73a52eaee0ac78d1be32d5441 --label arch=amd64 --label version=0.0.0 . [2023-01-10T05:04:41.172Z] Sending build context to Docker daemon 5.632MB [2023-01-10T05:04:41.172Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T05:04:41.172Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T05:04:41.172Z] ---> 3e9ae5792894 [2023-01-10T05:04:41.172Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T05:04:41.172Z] ---> Running in 6c96161702e3 [2023-01-10T05:04:41.431Z] Removing intermediate container 6c96161702e3 [2023-01-10T05:04:41.431Z] ---> 2c2eff154bd5 [2023-01-10T05:04:41.431Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T05:04:41.431Z] ---> Running in eee518948d70 [2023-01-10T05:04:41.431Z] Removing intermediate container eee518948d70 [2023-01-10T05:04:41.431Z] ---> b6d8dc0b0521 [2023-01-10T05:04:41.431Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T05:04:41.431Z] ---> Running in 2146de6a3297 [2023-01-10T05:04:41.431Z] Removing intermediate container 2146de6a3297 [2023-01-10T05:04:41.431Z] ---> 46c670a3369e [2023-01-10T05:04:41.431Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T05:04:41.431Z] ---> Running in dbb43655a71c [2023-01-10T05:04:41.690Z] Removing intermediate container dbb43655a71c [2023-01-10T05:04:41.690Z] ---> 3f47221637f6 [2023-01-10T05:04:41.690Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T05:04:41.690Z] ---> Running in 5c4bd7d58e6d [2023-01-10T05:04:41.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T05:04:42.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T05:04:42.467Z] OK: 216 MiB in 55 packages [2023-01-10T05:04:42.726Z] Removing intermediate container 5c4bd7d58e6d [2023-01-10T05:04:42.726Z] ---> 838bbc7588de [2023-01-10T05:04:42.726Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-10T05:04:42.726Z] ---> Running in f364a98506ca [2023-01-10T05:04:42.726Z] Removing intermediate container f364a98506ca [2023-01-10T05:04:42.726Z] ---> abef161daa35 [2023-01-10T05:04:42.726Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T05:04:42.726Z] ---> 21b9802bc427 [2023-01-10T05:04:42.726Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T05:04:42.985Z] ---> Running in bf980a040886 [2023-01-10T05:04:43.550Z] Removing intermediate container bf980a040886 [2023-01-10T05:04:43.550Z] ---> f499a0c6d09b [2023-01-10T05:04:43.550Z] Step 11/24 : COPY . . [2023-01-10T05:04:43.810Z] ---> d5c188e32594 [2023-01-10T05:04:43.810Z] Step 12/24 : RUN ${MAKE} [2023-01-10T05:04:43.810Z] ---> Running in e3751767aed7 [2023-01-10T05:04:44.068Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.7 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2023-01-10T05:05:06.000Z] Removing intermediate container e3751767aed7 [2023-01-10T05:05:06.000Z] ---> fd44dea8eb68 [2023-01-10T05:05:06.000Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T05:05:06.000Z] 3.16: Pulling from library/alpine [2023-01-10T05:05:06.000Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T05:05:06.000Z] ca7dd9ec2225: Download complete [2023-01-10T05:05:06.000Z] ca7dd9ec2225: Pull complete [2023-01-10T05:05:06.000Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T05:05:06.000Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T05:05:06.000Z] ---> bfe296a52501 [2023-01-10T05:05:06.000Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T05:05:06.000Z] ---> Running in f2338f491995 [2023-01-10T05:05:06.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T05:05:06.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T05:05:06.000Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T05:05:06.000Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T05:05:06.000Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T05:05:06.000Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T05:05:06.000Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T05:05:06.000Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T05:05:06.000Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T05:05:06.000Z] OK: 8 MiB in 20 packages [2023-01-10T05:05:06.000Z] Removing intermediate container f2338f491995 [2023-01-10T05:05:06.000Z] ---> 40ac053b2e7d [2023-01-10T05:05:06.000Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-10T05:05:06.000Z] ---> 0c2fdd36d1c8 [2023-01-10T05:05:06.000Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-10T05:05:06.000Z] ---> 919c649d457d [2023-01-10T05:05:06.000Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-10T05:05:06.000Z] ---> 16d78bf84524 [2023-01-10T05:05:06.000Z] Step 18/24 : EXPOSE 59993 [2023-01-10T05:05:06.000Z] ---> Running in ac374250fbce [2023-01-10T05:05:06.000Z] Removing intermediate container ac374250fbce [2023-01-10T05:05:06.000Z] ---> 28817f86f2f8 [2023-01-10T05:05:06.000Z] Step 19/24 : EXPOSE 161 [2023-01-10T05:05:06.000Z] ---> Running in 95952550a16a [2023-01-10T05:05:06.000Z] Removing intermediate container 95952550a16a [2023-01-10T05:05:06.000Z] ---> 152fa9c9bd30 [2023-01-10T05:05:06.000Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-10T05:05:06.000Z] ---> Running in 6eec6aca3242 [2023-01-10T05:05:06.000Z] Removing intermediate container 6eec6aca3242 [2023-01-10T05:05:06.000Z] ---> 577767f3cfe4 [2023-01-10T05:05:06.000Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2023-01-10T05:05:06.000Z] ---> Running in 405bccd4adaf [2023-01-10T05:05:06.001Z] Removing intermediate container 405bccd4adaf [2023-01-10T05:05:06.001Z] ---> c839d25188e7 [2023-01-10T05:05:06.001Z] Step 22/24 : LABEL arch=amd64 [2023-01-10T05:05:06.001Z] ---> Running in 57c7d9aca076 [2023-01-10T05:05:06.272Z] Removing intermediate container 57c7d9aca076 [2023-01-10T05:05:06.272Z] ---> ac4cc23827d6 [2023-01-10T05:05:06.272Z] Step 23/24 : LABEL git_sha=6654394e6ba142b73a52eaee0ac78d1be32d5441 [2023-01-10T05:05:06.272Z] ---> Running in c28ef3df8ad2 [2023-01-10T05:05:06.272Z] Removing intermediate container c28ef3df8ad2 [2023-01-10T05:05:06.272Z] ---> 9cc505005267 [2023-01-10T05:05:06.272Z] Step 24/24 : LABEL version=0.0.0 [2023-01-10T05:05:06.272Z] ---> Running in e6bda23ae71e [2023-01-10T05:05:06.272Z] Removing intermediate container e6bda23ae71e [2023-01-10T05:05:06.272Z] ---> 9f33b5f7d050 [2023-01-10T05:05:06.272Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T05:05:06.272Z] Successfully built 9f33b5f7d050 [2023-01-10T05:05:06.272Z] 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-10T05:05:07.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T05:05:07.134Z] [2023-01-10T05:05:07.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:05:07.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T05:05:07.521Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T05:05:07.521Z] 5eb5b503b376: Pulling fs layer [2023-01-10T05:05:07.521Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T05:05:07.521Z] ec43610c2a17: Pulling fs layer [2023-01-10T05:05:07.521Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T05:05:07.521Z] 33b1e0a273af: Pulling fs layer [2023-01-10T05:05:07.521Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T05:05:07.521Z] 2f39f015ded8: Pulling fs layer [2023-01-10T05:05:07.521Z] 3a2ae6a8a46f: Waiting [2023-01-10T05:05:07.521Z] 33b1e0a273af: Waiting [2023-01-10T05:05:07.521Z] 5d3b04190fa2: Waiting [2023-01-10T05:05:07.521Z] 2f39f015ded8: Waiting [2023-01-10T05:05:07.521Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T05:05:07.521Z] 5c69ac0246d0: Download complete [2023-01-10T05:05:07.521Z] 3a2ae6a8a46f: Download complete [2023-01-10T05:05:07.796Z] 33b1e0a273af: Verifying Checksum [2023-01-10T05:05:07.796Z] 33b1e0a273af: Download complete [2023-01-10T05:05:07.796Z] ec43610c2a17: Verifying Checksum [2023-01-10T05:05:07.796Z] ec43610c2a17: Download complete [2023-01-10T05:05:07.796Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T05:05:07.796Z] 5d3b04190fa2: Download complete [2023-01-10T05:05:07.796Z] 5eb5b503b376: Verifying Checksum [2023-01-10T05:05:07.796Z] 5eb5b503b376: Download complete [2023-01-10T05:05:08.366Z] 2f39f015ded8: Download complete [2023-01-10T05:05:08.932Z] 5eb5b503b376: Pull complete [2023-01-10T05:05:09.191Z] 5c69ac0246d0: Pull complete [2023-01-10T05:05:09.760Z] ec43610c2a17: Pull complete [2023-01-10T05:05:09.760Z] 3a2ae6a8a46f: Pull complete [2023-01-10T05:05:10.019Z] 33b1e0a273af: Pull complete [2023-01-10T05:05:10.019Z] 5d3b04190fa2: Pull complete [2023-01-10T05:05:14.205Z] 2f39f015ded8: Pull complete [2023-01-10T05:05:14.205Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T05:05:14.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T05:05:14.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:05:14.410Z] prd-ubuntu20.04-docker-8c-8g-1538 does not seem to be running inside a container [2023-01-10T05:05:14.448Z] $ 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-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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-10T05:05:16.974Z] $ docker top b97c3bf071e4d76a49e6b1d1040c7f55fdda1254ed255980c06a7587c20bd314 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:05:17.404Z] ---> job-cost.sh [2023-01-10T05:05:17.404Z] lf-activate-venv: SKIPPING [2023-01-10T05:05:17.404Z] INFO: No Stack... [2023-01-10T05:05:17.662Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T05:05:18.228Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T05:05:18.547Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-208/archives/cost.csv [2023-01-10T05:05:18.547Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T05:05:18.592Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] [2023-01-10T05:05:18.597Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] did not exist. Created. [2023-01-10T05:05:18.598Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T05:05:18.989Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T05:05:19.042Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T05:05:19.069Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T05:05:19.200Z] $ docker stop --time=1 b97c3bf071e4d76a49e6b1d1040c7f55fdda1254ed255980c06a7587c20bd314 [2023-01-10T05:05:20.358Z] $ docker rm -f --volumes b97c3bf071e4d76a49e6b1d1040c7f55fdda1254ed255980c06a7587c20bd314 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T05:06:16.217Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1541 in /w/workspace/gexfoundry_device-snmp-go_PR-208 [Pipeline] { [Pipeline] ws [2023-01-10T05:06:16.277Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T05:06:16.361Z] Selected Git installation does not exist. Using Default [2023-01-10T05:06:16.361Z] The recommended git tool is: NONE [2023-01-10T05:06:21.652Z] using credential edgex-jenkins-ssh [2023-01-10T05:06:21.672Z] Cloning the remote Git repository [2023-01-10T05:06:21.709Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-10T05:06:21.786Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-01-10T05:06:21.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-10T05:06:21.948Z] > git --version # timeout=10 [2023-01-10T05:06:21.972Z] > git --version # 'git version 2.25.1' [2023-01-10T05:06:21.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T05:06:22.033Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T05:06:23.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-10T05:06:23.106Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T05:06:24.559Z] Merging remotes/origin/main commit d1c7c2ea98aab23790d51b6eaeef7bb46474233e into PR head commit 6654394e6ba142b73a52eaee0ac78d1be32d5441 [2023-01-10T05:06:24.810Z] Merge succeeded, producing 6654394e6ba142b73a52eaee0ac78d1be32d5441 [2023-01-10T05:06:24.811Z] Checking out Revision 6654394e6ba142b73a52eaee0ac78d1be32d5441 (PR-208) [2023-01-10T05:06:23.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-10T05:06:24.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-10T05:06:24.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T05:06:24.034Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T05:06:24.571Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T05:06:24.593Z] > git checkout -f 6654394e6ba142b73a52eaee0ac78d1be32d5441 # timeout=10 [2023-01-10T05:06:24.692Z] > git remote # timeout=10 [2023-01-10T05:06:24.712Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T05:06:24.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T05:06:24.757Z] > git merge d1c7c2ea98aab23790d51b6eaeef7bb46474233e # timeout=10 [2023-01-10T05:06:24.786Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T05:06:24.815Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T05:06:24.833Z] > git checkout -f 6654394e6ba142b73a52eaee0ac78d1be32d5441 # timeout=10 [2023-01-10T05:06:25.323Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-10T05:06:25.376Z] > git --version # timeout=10 [2023-01-10T05:06:25.388Z] > git --version # 'git version 2.25.1' [2023-01-10T05:06:25.404Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T05:06:26.559Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T05:06:26.559Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T05:06:26.559Z] Dload Upload Total Spent Left Speed [2023-01-10T05:06:26.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-01-10T05:06:27.260Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T05:06:27.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T05:06:27.612Z] + sudo tee /etc/docker/daemon.new [2023-01-10T05:06:27.612Z] { [2023-01-10T05:06:27.612Z] "registry-mirrors": [ [2023-01-10T05:06:27.612Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T05:06:27.612Z] ], [2023-01-10T05:06:27.612Z] "bip": "10.250.0.254/24", [2023-01-10T05:06:27.612Z] "hosts": [ [2023-01-10T05:06:27.612Z] "tcp://0.0.0.0:5555", [2023-01-10T05:06:27.612Z] "unix:///var/run/docker.sock" [2023-01-10T05:06:27.612Z] ], [2023-01-10T05:06:27.612Z] "mtu": 1458, [2023-01-10T05:06:27.612Z] "selinux-enabled": true, [2023-01-10T05:06:27.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T05:06:27.612Z] } [Pipeline] sh [2023-01-10T05:06:27.965Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T05:06:28.319Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T05:06:46.665Z] provisioning config files... [2023-01-10T05:06:46.692Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8450618375590800166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:06:47.090Z] ---> docker-login.sh [2023-01-10T05:06:47.090Z] nexus3.edgexfoundry.org:10001 [2023-01-10T05:06:47.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:06:47.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:06:47.687Z] Configure a credential helper to remove this warning. See [2023-01-10T05:06:47.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:06:47.687Z] [2023-01-10T05:06:47.687Z] Login Succeeded [2023-01-10T05:06:47.687Z] nexus3.edgexfoundry.org:10002 [2023-01-10T05:06:47.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:06:48.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:06:48.229Z] Configure a credential helper to remove this warning. See [2023-01-10T05:06:48.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:06:48.229Z] [2023-01-10T05:06:48.229Z] Login Succeeded [2023-01-10T05:06:48.229Z] nexus3.edgexfoundry.org:10003 [2023-01-10T05:06:48.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:06:48.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:06:48.505Z] Configure a credential helper to remove this warning. See [2023-01-10T05:06:48.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:06:48.505Z] [2023-01-10T05:06:48.505Z] Login Succeeded [2023-01-10T05:06:48.505Z] nexus3.edgexfoundry.org:10004 [2023-01-10T05:06:48.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:06:48.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:06:48.779Z] Configure a credential helper to remove this warning. See [2023-01-10T05:06:48.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:06:48.779Z] [2023-01-10T05:06:48.779Z] Login Succeeded [2023-01-10T05:06:48.779Z] docker.io [2023-01-10T05:06:49.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T05:06:49.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T05:06:49.322Z] Configure a credential helper to remove this warning. See [2023-01-10T05:06:49.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T05:06:49.322Z] [2023-01-10T05:06:49.322Z] Login Succeeded [2023-01-10T05:06:49.322Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T05:06:49.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T05:06:49.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T05:06:49.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T05:06:49.850Z] ========================================================= [2023-01-10T05:06:49.850Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T05:06:49.850Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:06:50.377Z] + 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-10T05:06:50.647Z] Sending build context to Docker daemon 2.908MB [2023-01-10T05:06:50.647Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T05:06:50.647Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T05:06:50.919Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T05:06:50.919Z] 9b18e9b68314: Pulling fs layer [2023-01-10T05:06:50.919Z] 35d82f9e3411: Pulling fs layer [2023-01-10T05:06:50.919Z] e16973657156: Pulling fs layer [2023-01-10T05:06:50.919Z] fc693d55d65f: Pulling fs layer [2023-01-10T05:06:50.919Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T05:06:50.919Z] 7e9fc2657dce: Waiting [2023-01-10T05:06:50.919Z] dda99020689f: Pulling fs layer [2023-01-10T05:06:50.919Z] db1c61fa0a46: Pulling fs layer [2023-01-10T05:06:50.919Z] 891c053d2c06: Pulling fs layer [2023-01-10T05:06:50.919Z] db1c61fa0a46: Waiting [2023-01-10T05:06:50.919Z] 891c053d2c06: Waiting [2023-01-10T05:06:50.919Z] dda99020689f: Waiting [2023-01-10T05:06:50.919Z] e16973657156: Verifying Checksum [2023-01-10T05:06:50.919Z] e16973657156: Download complete [2023-01-10T05:06:50.919Z] 35d82f9e3411: Verifying Checksum [2023-01-10T05:06:50.919Z] 35d82f9e3411: Download complete [2023-01-10T05:06:50.919Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T05:06:50.919Z] 7e9fc2657dce: Download complete [2023-01-10T05:06:50.919Z] dda99020689f: Download complete [2023-01-10T05:06:50.919Z] 9b18e9b68314: Verifying Checksum [2023-01-10T05:06:50.919Z] 9b18e9b68314: Download complete [2023-01-10T05:06:51.920Z] 9b18e9b68314: Pull complete [2023-01-10T05:06:52.197Z] 891c053d2c06: Verifying Checksum [2023-01-10T05:06:52.197Z] 891c053d2c06: Download complete [2023-01-10T05:06:52.470Z] 35d82f9e3411: Pull complete [2023-01-10T05:06:52.740Z] e16973657156: Pull complete [2023-01-10T05:06:53.331Z] db1c61fa0a46: Verifying Checksum [2023-01-10T05:06:53.332Z] db1c61fa0a46: Download complete [2023-01-10T05:06:53.919Z] fc693d55d65f: Download complete [2023-01-10T05:07:06.277Z] fc693d55d65f: Pull complete [2023-01-10T05:07:06.277Z] 7e9fc2657dce: Pull complete [2023-01-10T05:07:06.546Z] dda99020689f: Pull complete [2023-01-10T05:07:13.235Z] db1c61fa0a46: Pull complete [2023-01-10T05:07:15.369Z] 891c053d2c06: Pull complete [2023-01-10T05:07:15.369Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T05:07:15.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T05:07:15.369Z] ---> f96f9c87975a [2023-01-10T05:07:15.369Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T05:07:17.351Z] ---> Running in 11486c613ee2 [2023-01-10T05:07:17.351Z] Removing intermediate container 11486c613ee2 [2023-01-10T05:07:17.351Z] ---> f82de3fe5eb5 [2023-01-10T05:07:17.351Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T05:07:17.351Z] ---> Running in 2b5bf5661228 [2023-01-10T05:07:17.623Z] Removing intermediate container 2b5bf5661228 [2023-01-10T05:07:17.623Z] ---> 21bd26239de8 [2023-01-10T05:07:17.623Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T05:07:17.893Z] ---> Running in f82291fae651 [2023-01-10T05:07:18.162Z] Removing intermediate container f82291fae651 [2023-01-10T05:07:18.162Z] ---> b79502cf90c4 [2023-01-10T05:07:18.162Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T05:07:18.162Z] ---> Running in 89666b1b05ce [2023-01-10T05:07:18.430Z] Removing intermediate container 89666b1b05ce [2023-01-10T05:07:18.430Z] ---> ae1d0abd6c78 [2023-01-10T05:07:18.430Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T05:07:18.701Z] ---> Running in 69fd3fb57a8d [2023-01-10T05:07:19.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T05:07:19.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T05:07:20.919Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T05:07:20.919Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T05:07:20.919Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T05:07:21.186Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T05:07:21.187Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T05:07:21.187Z] OK: 226 MiB in 55 packages [2023-01-10T05:07:23.776Z] Removing intermediate container 69fd3fb57a8d [2023-01-10T05:07:23.776Z] ---> 35e7ea350a1b [2023-01-10T05:07:23.776Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-10T05:07:23.776Z] ---> Running in 2a8ce74fe5a3 [2023-01-10T05:07:24.051Z] Removing intermediate container 2a8ce74fe5a3 [2023-01-10T05:07:24.051Z] ---> ef698692defc [2023-01-10T05:07:24.051Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T05:07:24.644Z] ---> 0e3fbc9a05a9 [2023-01-10T05:07:24.644Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T05:07:24.644Z] ---> Running in 0178d9d82544 [2023-01-10T05:08:21.088Z] Removing intermediate container 0178d9d82544 [2023-01-10T05:08:21.088Z] ---> 8c63429aa98d [2023-01-10T05:08:21.088Z] Step 11/12 : COPY . . [2023-01-10T05:08:21.088Z] ---> 9c18816d703f [2023-01-10T05:08:21.088Z] Step 12/12 : RUN ${MAKE} [2023-01-10T05:08:21.088Z] ---> Running in 45e5c0be5807 [2023-01-10T05:08:21.088Z] noop [2023-01-10T05:08:21.088Z] Removing intermediate container 45e5c0be5807 [2023-01-10T05:08:21.088Z] ---> 4692c2e4329f [2023-01-10T05:08:21.088Z] Successfully built 4692c2e4329f [2023-01-10T05:08:21.088Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:08:21.621Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T05:08:21.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:08:21.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-1541 does not seem to be running inside a container [2023-01-10T05:08:22.047Z] $ 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-10T05:08:23.348Z] $ docker top 0ddf45f5e102ee0a1fa18cd49f5564ad4003c13a03ca9e5c69d3a4b365b8da27 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T05:08:24.237Z] + go version [2023-01-10T05:08:24.237Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T05:08:24.280Z] $ docker stop --time=1 0ddf45f5e102ee0a1fa18cd49f5564ad4003c13a03ca9e5c69d3a4b365b8da27 [2023-01-10T05:08:25.893Z] $ docker rm -f --volumes 0ddf45f5e102ee0a1fa18cd49f5564ad4003c13a03ca9e5c69d3a4b365b8da27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:08:26.799Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T05:08:26.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:08:27.069Z] prd-ubuntu20.04-docker-arm64-4c-16g-1541 does not seem to be running inside a container [2023-01-10T05:08:27.144Z] $ 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-10T05:08:28.344Z] $ docker top 0db63603425aed1defcdeb84c033ed4c4d38ac3b77802597d7403cacb150e7ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T05:08:29.255Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T05:08:29.682Z] + make test [2023-01-10T05:08:29.953Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-10T05:08:31.369Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-10T05:09:53.029Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-10T05:09:53.029Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2023-01-10T05:09:53.029Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T05:09:53.029Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T05:10:08.043Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T05:10:08.043Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T05:10:08.043Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T05:10:08.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T05:10:08.131Z] $ docker stop --time=1 0db63603425aed1defcdeb84c033ed4c4d38ac3b77802597d7403cacb150e7ed [2023-01-10T05:10:09.915Z] $ docker rm -f --volumes 0db63603425aed1defcdeb84c033ed4c4d38ac3b77802597d7403cacb150e7ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T05:10:10.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T05:10:10.906Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T05:10:11.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T05:10:11.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T05:10:12.313Z] + ls -al . [2023-01-10T05:10:12.313Z] total 176 [2023-01-10T05:10:12.313Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 05:08 . [2023-01-10T05:10:12.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 05:06 .. [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 05:06 .dockerignore [2023-01-10T05:10:12.313Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 05:06 .git [2023-01-10T05:10:12.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 05:06 .github [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 05:06 .gitignore [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 05:06 .golangci.yml [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 8932 Jan 10 05:06 Attribution.txt [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 05:06 CHANGELOG.md [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 1486 Jan 10 05:06 Dockerfile [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 05:06 GOVERNANCE.md [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 05:06 Jenkinsfile [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 05:06 LICENSE [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 2543 Jan 10 05:06 Makefile [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 05:06 OWNERS.md [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 05:06 README.md [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 05:03 VERSION [2023-01-10T05:10:12.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 05:06 bin [2023-01-10T05:10:12.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 05:06 cmd [2023-01-10T05:10:12.313Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 05:09 coverage.out [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 05:06 go.mod [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 05:06 go.sum [2023-01-10T05:10:12.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 05:06 internal [2023-01-10T05:10:12.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 05:06 snap [2023-01-10T05:10:12.313Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:10:12.724Z] + 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=6654394e6ba142b73a52eaee0ac78d1be32d5441 --label arch=arm64 --label version=0.0.0 . [2023-01-10T05:10:12.989Z] Sending build context to Docker daemon 2.916MB [2023-01-10T05:10:12.989Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T05:10:12.989Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T05:10:12.989Z] ---> 4692c2e4329f [2023-01-10T05:10:12.990Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T05:10:12.990Z] ---> Running in 379a14f7344a [2023-01-10T05:10:13.257Z] Removing intermediate container 379a14f7344a [2023-01-10T05:10:13.257Z] ---> bf6d5a18a644 [2023-01-10T05:10:13.257Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T05:10:13.257Z] ---> Running in 99553ac1cb7e [2023-01-10T05:10:13.530Z] Removing intermediate container 99553ac1cb7e [2023-01-10T05:10:13.530Z] ---> 5b057c86a2e4 [2023-01-10T05:10:13.530Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T05:10:13.806Z] ---> Running in 2e1bb0bfaa48 [2023-01-10T05:10:14.071Z] Removing intermediate container 2e1bb0bfaa48 [2023-01-10T05:10:14.071Z] ---> 8710a61a6cc4 [2023-01-10T05:10:14.071Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T05:10:14.071Z] ---> Running in 5268f2d40803 [2023-01-10T05:10:14.337Z] Removing intermediate container 5268f2d40803 [2023-01-10T05:10:14.337Z] ---> fabd5d59e02d [2023-01-10T05:10:14.337Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T05:10:14.337Z] ---> Running in 73c5df30da6a [2023-01-10T05:10:15.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T05:10:15.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T05:10:16.518Z] OK: 226 MiB in 55 packages [2023-01-10T05:10:18.452Z] Removing intermediate container 73c5df30da6a [2023-01-10T05:10:18.452Z] ---> eac8fae34073 [2023-01-10T05:10:18.452Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-10T05:10:18.720Z] ---> Running in 1c7d3991b547 [2023-01-10T05:10:18.986Z] Removing intermediate container 1c7d3991b547 [2023-01-10T05:10:18.986Z] ---> c7b9f9fe0225 [2023-01-10T05:10:18.986Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T05:10:19.255Z] ---> 9605a7b6ad00 [2023-01-10T05:10:19.255Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T05:10:19.255Z] ---> Running in 2eaa8a4afb0f [2023-01-10T05:10:21.194Z] Removing intermediate container 2eaa8a4afb0f [2023-01-10T05:10:21.194Z] ---> 20f3373fb8e6 [2023-01-10T05:10:21.194Z] Step 11/24 : COPY . . [2023-01-10T05:10:21.775Z] ---> 3976a3edf161 [2023-01-10T05:10:21.775Z] Step 12/24 : RUN ${MAKE} [2023-01-10T05:10:21.775Z] ---> Running in 88c3fcb16306 [2023-01-10T05:10:22.740Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.7 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2023-01-10T05:12:44.464Z] Removing intermediate container 88c3fcb16306 [2023-01-10T05:12:44.464Z] ---> 9851ffa210c1 [2023-01-10T05:12:44.464Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T05:12:44.464Z] 3.16: Pulling from library/alpine [2023-01-10T05:12:44.464Z] 6875df1f5354: Pulling fs layer [2023-01-10T05:12:44.464Z] 6875df1f5354: Verifying Checksum [2023-01-10T05:12:44.464Z] 6875df1f5354: Pull complete [2023-01-10T05:12:44.464Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T05:12:44.464Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T05:12:44.464Z] ---> 2b4661558fb8 [2023-01-10T05:12:44.464Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T05:12:44.464Z] ---> Running in 9aea0c7875ad [2023-01-10T05:12:44.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T05:12:44.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T05:12:45.694Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T05:12:45.694Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T05:12:45.694Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T05:12:45.694Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T05:12:45.694Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T05:12:45.694Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T05:12:45.694Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T05:12:45.694Z] OK: 8 MiB in 20 packages [2023-01-10T05:12:46.655Z] Removing intermediate container 9aea0c7875ad [2023-01-10T05:12:46.655Z] ---> 54eee2095157 [2023-01-10T05:12:46.655Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-10T05:12:48.599Z] ---> e71c3292626e [2023-01-10T05:12:48.599Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-10T05:12:48.866Z] ---> 2bded6875752 [2023-01-10T05:12:48.866Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-10T05:12:50.833Z] ---> 462e7b1714c0 [2023-01-10T05:12:50.833Z] Step 18/24 : EXPOSE 59993 [2023-01-10T05:12:50.833Z] ---> Running in c06ddd89f8f0 [2023-01-10T05:12:51.100Z] Removing intermediate container c06ddd89f8f0 [2023-01-10T05:12:51.100Z] ---> 715df7644f75 [2023-01-10T05:12:51.100Z] Step 19/24 : EXPOSE 161 [2023-01-10T05:12:51.100Z] ---> Running in 60e92b3da99a [2023-01-10T05:12:51.366Z] Removing intermediate container 60e92b3da99a [2023-01-10T05:12:51.366Z] ---> 87e752acf786 [2023-01-10T05:12:51.366Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-10T05:12:51.366Z] ---> Running in f46dca0d123a [2023-01-10T05:12:51.631Z] Removing intermediate container f46dca0d123a [2023-01-10T05:12:51.631Z] ---> b95fcacfa3b0 [2023-01-10T05:12:51.631Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2023-01-10T05:12:51.631Z] ---> Running in 141906c9b1da [2023-01-10T05:12:51.899Z] Removing intermediate container 141906c9b1da [2023-01-10T05:12:51.899Z] ---> 4d09d4df3aae [2023-01-10T05:12:51.899Z] Step 22/24 : LABEL arch=arm64 [2023-01-10T05:12:51.899Z] ---> Running in 7ac513949441 [2023-01-10T05:12:52.176Z] Removing intermediate container 7ac513949441 [2023-01-10T05:12:52.176Z] ---> 83d508b33719 [2023-01-10T05:12:52.176Z] Step 23/24 : LABEL git_sha=6654394e6ba142b73a52eaee0ac78d1be32d5441 [2023-01-10T05:12:52.444Z] ---> Running in b888bc696348 [2023-01-10T05:12:52.444Z] Removing intermediate container b888bc696348 [2023-01-10T05:12:52.444Z] ---> c6f3efa5f246 [2023-01-10T05:12:52.444Z] Step 24/24 : LABEL version=0.0.0 [2023-01-10T05:12:52.711Z] ---> Running in e858160aca1a [2023-01-10T05:12:52.976Z] Removing intermediate container e858160aca1a [2023-01-10T05:12:52.976Z] ---> 6b64cdc6a491 [2023-01-10T05:12:52.976Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T05:12:52.976Z] Successfully built 6b64cdc6a491 [2023-01-10T05:12:52.976Z] 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-10T05:12:53.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T05:12:53.740Z] [2023-01-10T05:12:53.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:12:54.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T05:12:54.130Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T05:12:54.130Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T05:12:54.130Z] 04944245beec: Pulling fs layer [2023-01-10T05:12:54.130Z] 699f458cf7ca: Pulling fs layer [2023-01-10T05:12:54.130Z] 765212b225bb: Pulling fs layer [2023-01-10T05:12:54.130Z] f23df028b6ca: Pulling fs layer [2023-01-10T05:12:54.130Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T05:12:54.130Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T05:12:54.130Z] 765212b225bb: Waiting [2023-01-10T05:12:54.130Z] f23df028b6ca: Waiting [2023-01-10T05:12:54.130Z] d65c8cfc05b1: Waiting [2023-01-10T05:12:54.130Z] 2437ff75d9bd: Waiting [2023-01-10T05:12:54.397Z] 04944245beec: Verifying Checksum [2023-01-10T05:12:54.397Z] 04944245beec: Download complete [2023-01-10T05:12:54.397Z] 765212b225bb: Download complete [2023-01-10T05:12:54.397Z] f23df028b6ca: Download complete [2023-01-10T05:12:54.397Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T05:12:54.397Z] d65c8cfc05b1: Download complete [2023-01-10T05:12:54.666Z] 699f458cf7ca: Verifying Checksum [2023-01-10T05:12:54.666Z] 699f458cf7ca: Download complete [2023-01-10T05:12:54.933Z] 8998bd30e6a1: Download complete [2023-01-10T05:12:57.517Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T05:12:57.517Z] 2437ff75d9bd: Download complete [2023-01-10T05:12:58.924Z] 8998bd30e6a1: Pull complete [2023-01-10T05:12:59.191Z] 04944245beec: Pull complete [2023-01-10T05:13:01.762Z] 699f458cf7ca: Pull complete [2023-01-10T05:13:02.028Z] 765212b225bb: Pull complete [2023-01-10T05:13:02.613Z] f23df028b6ca: Pull complete [2023-01-10T05:13:02.878Z] d65c8cfc05b1: Pull complete [2023-01-10T05:13:17.892Z] 2437ff75d9bd: Pull complete [2023-01-10T05:13:17.892Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T05:13:17.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T05:13:17.892Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:13:18.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-1541 does not seem to be running inside a container [2023-01-10T05:13:18.266Z] $ 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-10T05:13:20.742Z] $ docker top c573a5647a25da7b6e1ac604818c7e095390a0cdcd2c6c1944df36c888793810 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:21.330Z] ---> job-cost.sh [2023-01-10T05:13:21.600Z] lf-activate-venv: SKIPPING [2023-01-10T05:13:21.600Z] INFO: No Stack... [2023-01-10T05:13:21.870Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T05:13:22.834Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T05:13:23.179Z] + + cutcat -d, /w/workspace/device-snmp-go/1/archives/cost.csv -f6 [2023-01-10T05:13:23.179Z] [Pipeline] lock [2023-01-10T05:13:23.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] [2023-01-10T05:13:23.261Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] did not exist. Created. [2023-01-10T05:13:23.261Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T05:13:23.669Z] /w/workspace/device-snmp-go/1@tmp/durable-a9d4cbd8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T05:13:24.031Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T05:13:24.332Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T05:13:24.379Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T05:13:24.392Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T05:13:24.473Z] $ docker stop --time=1 c573a5647a25da7b6e1ac604818c7e095390a0cdcd2c6c1944df36c888793810 [2023-01-10T05:13:25.941Z] $ docker rm -f --volumes c573a5647a25da7b6e1ac604818c7e095390a0cdcd2c6c1944df36c888793810 [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-10T05:13:26.869Z] provisioning config files... [2023-01-10T05:13:26.876Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config1486275934787869764tmp [Pipeline] { [Pipeline] sh [2023-01-10T05:13:27.212Z] + set +x [2023-01-10T05:13:27.212Z] + curl -s https://codecov.io/bash [2023-01-10T05:13:27.212Z] + bash -s -- [2023-01-10T05:13:27.212Z] [2023-01-10T05:13:27.212Z] _____ _ [2023-01-10T05:13:27.212Z] / ____| | | [2023-01-10T05:13:27.212Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T05:13:27.212Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T05:13:27.212Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T05:13:27.212Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T05:13:27.212Z] Bash-1.0.6 [2023-01-10T05:13:27.212Z] [2023-01-10T05:13:27.212Z] [2023-01-10T05:13:27.212Z] ==> git version 2.25.1 found [2023-01-10T05:13:27.212Z] ==> 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-10T05:13:27.212Z] Release-Date: 2020-01-08 [2023-01-10T05:13:27.212Z] 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-10T05:13:27.212Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T05:13:27.212Z] ==> Jenkins CI detected. [2023-01-10T05:13:27.212Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-208 [2023-01-10T05:13:27.212Z] project root: . [2023-01-10T05:13:27.212Z] --> token set from env [2023-01-10T05:13:27.212Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T05:13:27.212Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T05:13:27.212Z] ==> Python coveragepy not found [2023-01-10T05:13:27.212Z] ==> Searching for coverage reports in: [2023-01-10T05:13:27.212Z] + . [2023-01-10T05:13:27.212Z] -> Found 1 reports [2023-01-10T05:13:27.212Z] ==> Detecting git/mercurial file structure [2023-01-10T05:13:27.212Z] ==> Reading reports [2023-01-10T05:13:27.212Z] + ./coverage.out bytes=7631 [2023-01-10T05:13:27.212Z] ==> Appending adjustments [2023-01-10T05:13:27.212Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T05:13:27.212Z] + Found adjustments [2023-01-10T05:13:27.474Z] ==> Gzipping contents [2023-01-10T05:13:27.474Z] 4.0K /tmp/codecov.7yNjso.gz [2023-01-10T05:13:27.474Z] ==> Uploading reports [2023-01-10T05:13:27.474Z] url: https://codecov.io [2023-01-10T05:13:27.474Z] query: branch=PR-208&commit=6654394e6ba142b73a52eaee0ac78d1be32d5441&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=208&job=&cmd_args= [2023-01-10T05:13:27.474Z] -> Pinging Codecov [2023-01-10T05:13:27.474Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-208&commit=6654394e6ba142b73a52eaee0ac78d1be32d5441&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=208&job=&cmd_args= [2023-01-10T05:13:27.735Z] -> Uploading to [2023-01-10T05:13:27.735Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/6C56EA5C29638FB4528AC87E60AF5AE0/6654394e6ba142b73a52eaee0ac78d1be32d5441/060a53cc-a303-4ba0-8fce-c4dbb49dd2c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T051327Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1b9ef829991f3269d13dc51baba58135c9ed51830af6f4d2f27b7f56f6c1e17 [2023-01-10T05:13:27.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T05:13:27.735Z] Dload Upload Total Spent Left Speed [2023-01-10T05:13:27.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6003 --:--:-- --:--:-- --:--:-- 6003 [2023-01-10T05:13:27.995Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/6654394e6ba142b73a52eaee0ac78d1be32d5441 [Pipeline] } [2023-01-10T05:13:28.026Z] 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-10T05:13:29.706Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-208/archives ] [2023-01-10T05:13:29.706Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-208/archives [2023-01-10T05:13:29.706Z] total 16 [2023-01-10T05:13:29.706Z] drwxr-xr-x 3 root root 4096 Jan 10 05:05 . [2023-01-10T05:13:29.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 05:05 .. [2023-01-10T05:13:29.706Z] drwxr-xr-x 2 root root 4096 Jan 10 05:05 cost [2023-01-10T05:13:29.706Z] -rw-r--r-- 1 root root 86 Jan 10 05:05 cost.csv [2023-01-10T05:13:29.706Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-208/archives [2023-01-10T05:13:29.706Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-208/archives [2023-01-10T05:13:29.706Z] total 16 [2023-01-10T05:13:29.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 05:05 . [2023-01-10T05:13:29.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 05:05 .. [2023-01-10T05:13:29.706Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 05:05 cost [2023-01-10T05:13:29.706Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:30.033Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:30.925Z] ---> package-listing.sh [2023-01-10T05:13:30.925Z] ++ facter osfamily [2023-01-10T05:13:30.925Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T05:13:31.184Z] + OS_FAMILY=debian [2023-01-10T05:13:31.184Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-208 [2023-01-10T05:13:31.184Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T05:13:31.184Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T05:13:31.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T05:13:31.184Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T05:13:31.184Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-208 ']' [2023-01-10T05:13:31.184Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T05:13:31.184Z] + case "${OS_FAMILY}" in [2023-01-10T05:13:31.184Z] + dpkg -l [2023-01-10T05:13:31.184Z] + grep '^ii' [2023-01-10T05:13:31.184Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T05:13:31.184Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T05:13:31.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T05:13:31.184Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-208 ']' [2023-01-10T05:13:31.184Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-208/archives/ [2023-01-10T05:13:31.184Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-208/archives/ [Pipeline] echo [2023-01-10T05:13:31.220Z] 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-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T05:13:31.513Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T05:13:32.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T05:13:32.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T05:13:32.290Z] prd-ubuntu20.04-docker-8c-8g-1538 does not seem to be running inside a container [2023-01-10T05:13:32.334Z] $ 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-208/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-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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-10T05:13:32.506Z] $ docker top a1de43d5a037bebc337d2e226da3a9af9274aba73a297c9ffdebc24892f98609 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T05:13:32.875Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T05:13:33.185Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T05:13:33.495Z] + ls /var/log/sa-host [2023-01-10T05:13:33.495Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T05:13:33.621Z] provisioning config files... [2023-01-10T05:13:33.630Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config10940708041300739775tmp [Pipeline] { [Pipeline] echo [2023-01-10T05:13:33.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:33.985Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T05:13:34.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:34.410Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T05:13:34.444Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:34.755Z] ---> sudo-logs.sh [2023-01-10T05:13:34.755Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T05:13:34.843Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:35.152Z] ---> job-cost.sh [2023-01-10T05:13:35.152Z] lf-activate-venv: SKIPPING [2023-01-10T05:13:35.152Z] DEBUG: total: 0.2199999988079071 [2023-01-10T05:13:35.152Z] INFO: Retrieving Stack Cost... [2023-01-10T05:13:35.412Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T05:13:35.980Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T05:13:36.015Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T05:13:36.331Z] ---> logs-deploy.sh [2023-01-10T05:13:36.331Z] lf-activate-venv: SKIPPING [2023-01-10T05:13:36.331Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-208/1 [2023-01-10T05:13:36.331Z] INFO: archiving workspace using pattern(s): [2023-01-10T05:13:37.267Z] Archives upload complete. [2023-01-10T05:13:37.267Z] INFO: archiving logs to Nexus