Pull request #241 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b49eec6ee0a73efb0da9900257fec54c1cbd21e0+2bd6e5dae59222faf073cfb9822f90f2048c0bba (9fe3c7dd5f54289e63f5bb4e407df1725320f432) 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-ssh9294198070327868802.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-ssh1972565817329594555.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-241/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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12637695487671190800.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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1922812492989068932.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-ssh10069864613951686030.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-241/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-241/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1168751131168883963.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 ‘prd-ubuntu20.04-docker-8c-8g-6702’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6707 in /w/workspace/gexfoundry_device-snmp-go_PR-241 [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-241 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit b49eec6ee0a73efb0da9900257fec54c1cbd21e0 Merge succeeded, producing b49eec6ee0a73efb0da9900257fec54c1cbd21e0 Checking out Revision b49eec6ee0a73efb0da9900257fec54c1cbd21e0 (PR-241) 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-02-20T05:59:46.280Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T05:59:46.464Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f b49eec6ee0a73efb0da9900257fec54c1cbd21e0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b49eec6ee0a73efb0da9900257fec54c1cbd21e0 # timeout=10 [Pipeline] { [Pipeline] echo [2023-02-20T05:59:46.564Z] ========================================================= [2023-02-20T05:59:46.564Z] EdgeX Global Pipelines Version Info [2023-02-20T05:59:46.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-20T05:59:47.311Z] ------------------- [2023-02-20T05:59:47.311Z] stable info: [2023-02-20T05:59:47.311Z] ------------------- [2023-02-20T05:59:47.311Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T05:59:47.311Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T05:59:47.311Z] Message: update stable to v1.0.244 [2023-02-20T05:59:47.891Z] ------------------- [2023-02-20T05:59:47.891Z] experimental info: [2023-02-20T05:59:47.891Z] ------------------- [2023-02-20T05:59:47.891Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T05:59:47.891Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T05:59:47.891Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T05:59:48.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-20T05:59:48.231Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-20T05:59:48.271Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T05:59:48.308Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T05:59:48.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T05:59:48.384Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T05:59:48.420Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T05:59:48.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-20T05:59:48.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T05:59:48.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T05:59:48.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T05:59:48.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-20T05:59:48.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T05:59:48.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T05:59:48.736Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T05:59:48.784Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T05:59:48.826Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T05:59:48.866Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T05:59:48.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T05:59:48.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T05:59:48.989Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-20T05:59:49.045Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-20T05:59:49.084Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T05:59:49.126Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T05:59:49.169Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T05:59:49.213Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T05:59:49.258Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T05:59:49.300Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-241 [Pipeline] echo [2023-02-20T05:59:49.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-241 [Pipeline] echo [2023-02-20T05:59:49.383Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-241 [Pipeline] echo [2023-02-20T05:59:49.425Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [Pipeline] echo [2023-02-20T05:59:49.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b49eec6 [Pipeline] echo [2023-02-20T05:59:49.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T05:59:49.637Z] provisioning config files... [2023-02-20T05:59:49.649Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/config13221601723159694603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T05:59:50.006Z] ---> docker-login.sh [2023-02-20T05:59:50.006Z] nexus3.edgexfoundry.org:10001 [2023-02-20T05:59:50.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.266Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.266Z] [2023-02-20T05:59:50.266Z] Login Succeeded [2023-02-20T05:59:50.266Z] nexus3.edgexfoundry.org:10002 [2023-02-20T05:59:50.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.526Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.526Z] [2023-02-20T05:59:50.526Z] Login Succeeded [2023-02-20T05:59:50.526Z] nexus3.edgexfoundry.org:10003 [2023-02-20T05:59:50.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.526Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.526Z] [2023-02-20T05:59:50.526Z] Login Succeeded [2023-02-20T05:59:50.526Z] nexus3.edgexfoundry.org:10004 [2023-02-20T05:59:50.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.526Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.526Z] [2023-02-20T05:59:50.526Z] Login Succeeded [2023-02-20T05:59:50.526Z] docker.io [2023-02-20T05:59:50.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.794Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.794Z] [2023-02-20T05:59:50.794Z] Login Succeeded [2023-02-20T05:59:50.794Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T05:59:50.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T05:59:51.471Z] + git rev-list -1 --merges b49eec6ee0a73efb0da9900257fec54c1cbd21e0~1..b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [Pipeline] echo [2023-02-20T05:59:51.593Z] -----------> git rev-list -1 --merges b49eec6ee0a73efb0da9900257fec54c1cbd21e0~1..b49eec6ee0a73efb0da9900257fec54c1cbd21e0 b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [false] [Pipeline] sh [2023-02-20T05:59:51.896Z] + git log --format=format:%s -1 b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [Pipeline] echo [2023-02-20T05:59:51.931Z] ========================================================= [2023-02-20T05:59:51.932Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T05:59:51.932Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T05:59:52.370Z] + git log --format=format:%s -1 b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [Pipeline] echo [2023-02-20T05:59:52.404Z] [semverPrep] GIT_COMMIT: b49eec6ee0a73efb0da9900257fec54c1cbd21e0, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-20T05:59:52.438Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T05:59:52.805Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T05:59:52.805Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T05:59:52.805Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T05:59:52.805Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T05:59:52.805Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-20T05:59:52.805Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-20T05:59:52.805Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T05:59:53.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T05:59:53.227Z] [2023-02-20T05:59:53.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T05:59:53.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T05:59:53.597Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T05:59:53.597Z] b85a868b505f: Pulling fs layer [2023-02-20T05:59:53.597Z] e2be974225ed: Pulling fs layer [2023-02-20T05:59:53.597Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T05:59:53.597Z] 988bab9f4d93: Pulling fs layer [2023-02-20T05:59:53.597Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T05:59:53.597Z] eaf3925da568: Pulling fs layer [2023-02-20T05:59:53.597Z] bab4dde63d76: Pulling fs layer [2023-02-20T05:59:53.597Z] bde34c3a00c8: Pulling fs layer [2023-02-20T05:59:53.597Z] b352a97aabf1: Pulling fs layer [2023-02-20T05:59:53.597Z] 4872d77fe225: Pulling fs layer [2023-02-20T05:59:53.597Z] 5851b861e8e6: Pulling fs layer [2023-02-20T05:59:53.597Z] 4872d77fe225: Waiting [2023-02-20T05:59:53.597Z] 5851b861e8e6: Waiting [2023-02-20T05:59:53.597Z] 988bab9f4d93: Waiting [2023-02-20T05:59:53.597Z] eaf3925da568: Waiting [2023-02-20T05:59:53.597Z] bab4dde63d76: Waiting [2023-02-20T05:59:53.597Z] 1469e6f7b9e6: Waiting [2023-02-20T05:59:53.597Z] b352a97aabf1: Waiting [2023-02-20T05:59:53.597Z] bde34c3a00c8: Waiting [2023-02-20T05:59:53.597Z] e2be974225ed: Download complete [2023-02-20T05:59:53.597Z] 988bab9f4d93: Verifying Checksum [2023-02-20T05:59:53.597Z] 988bab9f4d93: Download complete [2023-02-20T05:59:53.859Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T05:59:53.859Z] 1469e6f7b9e6: Download complete [2023-02-20T05:59:53.859Z] eaf3925da568: Download complete [2023-02-20T05:59:53.859Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T05:59:53.859Z] 339a4e72a1f5: Download complete [2023-02-20T05:59:53.859Z] bde34c3a00c8: Verifying Checksum [2023-02-20T05:59:53.859Z] bde34c3a00c8: Download complete [2023-02-20T05:59:53.859Z] b352a97aabf1: Verifying Checksum [2023-02-20T05:59:53.859Z] b352a97aabf1: Download complete [2023-02-20T05:59:53.859Z] 4872d77fe225: Verifying Checksum [2023-02-20T05:59:53.859Z] 4872d77fe225: Download complete [2023-02-20T05:59:54.120Z] 5851b861e8e6: Verifying Checksum [2023-02-20T05:59:54.120Z] 5851b861e8e6: Download complete [2023-02-20T05:59:54.120Z] b85a868b505f: Verifying Checksum [2023-02-20T05:59:54.120Z] b85a868b505f: Download complete [2023-02-20T05:59:54.380Z] bab4dde63d76: Verifying Checksum [2023-02-20T05:59:54.380Z] bab4dde63d76: Download complete [2023-02-20T05:59:55.316Z] b85a868b505f: Pull complete [2023-02-20T05:59:55.316Z] e2be974225ed: Pull complete [2023-02-20T05:59:55.883Z] 339a4e72a1f5: Pull complete [2023-02-20T05:59:55.883Z] 988bab9f4d93: Pull complete [2023-02-20T05:59:56.453Z] 1469e6f7b9e6: Pull complete [2023-02-20T05:59:56.453Z] eaf3925da568: Pull complete [2023-02-20T05:59:58.358Z] bab4dde63d76: Pull complete [2023-02-20T05:59:58.358Z] bde34c3a00c8: Pull complete [2023-02-20T05:59:58.358Z] b352a97aabf1: Pull complete [2023-02-20T05:59:58.358Z] 4872d77fe225: Pull complete [2023-02-20T05:59:58.358Z] 5851b861e8e6: Pull complete [2023-02-20T05:59:58.358Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T05:59:58.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T05:59:58.622Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T05:59:58.833Z] prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container [2023-02-20T05:59:58.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-241 -v /w/workspace/gexfoundry_device-snmp-go_PR-241:/w/workspace/gexfoundry_device-snmp-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-241@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-241@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-20T06:00:02.507Z] $ docker top c6fac0be2e588b1aa702b05b9590d1f015d82cfd8f32dc951e0480823be8fe61 -eo pid,comm [2023-02-20T06:00:02.566Z] 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-02-20T06:00:02.566Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T06:00:02.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T06:00:02.694Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T06:00:02.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T06:00:02.800Z] $ docker exec c6fac0be2e588b1aa702b05b9590d1f015d82cfd8f32dc951e0480823be8fe61 ssh-agent [2023-02-20T06:00:02.907Z] SSH_AUTH_SOCK=/tmp/ssh-1utzv2EQjlEh/agent.33 [2023-02-20T06:00:02.907Z] SSH_AGENT_PID=39 [2023-02-20T06:00:02.913Z] Running ssh-add (command line suppressed) [2023-02-20T06:00:03.012Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/private_key_11240512246244779837.key (/w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/private_key_11240512246244779837.key) [2023-02-20T06:00:03.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T06:00:03.363Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T06:00:03.383Z] $ docker exec --env ******** --env ******** c6fac0be2e588b1aa702b05b9590d1f015d82cfd8f32dc951e0480823be8fe61 ssh-agent -k [2023-02-20T06:00:03.488Z] unset SSH_AUTH_SOCK; [2023-02-20T06:00:03.488Z] unset SSH_AGENT_PID; [2023-02-20T06:00:03.488Z] echo Agent pid 39 killed; [2023-02-20T06:00:03.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T06:00:03.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T06:00:03.585Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T06:00:03.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T06:00:03.694Z] $ docker exec c6fac0be2e588b1aa702b05b9590d1f015d82cfd8f32dc951e0480823be8fe61 ssh-agent [2023-02-20T06:00:03.816Z] SSH_AUTH_SOCK=/tmp/ssh-93Uu0yQ9ldQJ/agent.71 [2023-02-20T06:00:03.816Z] SSH_AGENT_PID=78 [2023-02-20T06:00:03.821Z] Running ssh-add (command line suppressed) [2023-02-20T06:00:03.926Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/private_key_4271178763812118498.key (/w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/private_key_4271178763812118498.key) [2023-02-20T06:00:03.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T06:00:04.277Z] + git semver init [2023-02-20T06:00:04.537Z] 2023-02-20 06:00:04,450 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T06:00:04.537Z] 2023-02-20 06:00:04,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-241/.semver [2023-02-20T06:00:04.537Z] 2023-02-20 06:00:04,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-241/.semver [2023-02-20T06:00:04.537Z] 2023-02-20 06:00:04,451 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-241/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-241, universal_newlines=False, shell=None, istream=None) [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,395 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-241/.git/info/exclude [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,395 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-241/.semver/PR-241 with force:False [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,395 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-241/.semver/PR-241 [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,399 [execute] INFO git cat-file --batch-check [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,404 [execute] INFO git cat-file --batch [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T06:00:05.474Z] 2023-02-20 06:00:05,408 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-241/.semver/PR-241 [2023-02-20T06:00:05.474Z] 0.0.0 [Pipeline] } [2023-02-20T06:00:05.502Z] $ docker exec --env ******** --env ******** c6fac0be2e588b1aa702b05b9590d1f015d82cfd8f32dc951e0480823be8fe61 ssh-agent -k [2023-02-20T06:00:05.590Z] unset SSH_AUTH_SOCK; [2023-02-20T06:00:05.591Z] unset SSH_AGENT_PID; [2023-02-20T06:00:05.591Z] echo Agent pid 78 killed; [2023-02-20T06:00:05.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T06:00:06.034Z] + git semver [Pipeline] } [2023-02-20T06:00:06.313Z] $ docker stop --time=1 c6fac0be2e588b1aa702b05b9590d1f015d82cfd8f32dc951e0480823be8fe61 [2023-02-20T06:00:07.612Z] $ docker rm -f --volumes c6fac0be2e588b1aa702b05b9590d1f015d82cfd8f32dc951e0480823be8fe61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T06:00:08.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T06:00:08.300Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T06:00:08.317Z] [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-02-20T06:00:08.908Z] provisioning config files... [2023-02-20T06:00:08.919Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/config3765624160160948502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:00:09.266Z] ---> docker-login.sh [2023-02-20T06:00:09.267Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:00:09.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:00:09.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:00:09.267Z] Configure a credential helper to remove this warning. See [2023-02-20T06:00:09.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:00:09.267Z] [2023-02-20T06:00:09.267Z] Login Succeeded [2023-02-20T06:00:09.267Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:00:09.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:00:09.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:00:09.267Z] Configure a credential helper to remove this warning. See [2023-02-20T06:00:09.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:00:09.267Z] [2023-02-20T06:00:09.267Z] Login Succeeded [2023-02-20T06:00:09.267Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:00:09.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:00:09.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:00:09.525Z] Configure a credential helper to remove this warning. See [2023-02-20T06:00:09.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:00:09.525Z] [2023-02-20T06:00:09.525Z] Login Succeeded [2023-02-20T06:00:09.525Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:00:09.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:00:09.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:00:09.525Z] Configure a credential helper to remove this warning. See [2023-02-20T06:00:09.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:00:09.525Z] [2023-02-20T06:00:09.525Z] Login Succeeded [2023-02-20T06:00:09.525Z] docker.io [2023-02-20T06:00:09.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:00:12.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:00:12.333Z] Configure a credential helper to remove this warning. See [2023-02-20T06:00:12.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:00:12.333Z] [2023-02-20T06:00:12.333Z] Login Succeeded [2023-02-20T06:00:12.333Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:00:12.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T06:00:12.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:00:12.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:00:12.621Z] ========================================================= [2023-02-20T06:00:12.621Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T06:00:12.621Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:00:13.086Z] + 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-02-20T06:00:13.086Z] Sending build context to Docker daemon 5.685MB [2023-02-20T06:00:13.086Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:00:13.086Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T06:00:13.086Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T06:00:13.086Z] 213ec9aee27d: Pulling fs layer [2023-02-20T06:00:13.086Z] 4583459ba037: Pulling fs layer [2023-02-20T06:00:13.086Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T06:00:13.086Z] 53926ce57604: Pulling fs layer [2023-02-20T06:00:13.086Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T06:00:13.086Z] 22ff95d597cd: Pulling fs layer [2023-02-20T06:00:13.086Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T06:00:13.086Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T06:00:13.086Z] a7acece74701: Pulling fs layer [2023-02-20T06:00:13.086Z] 21b2b0c7a3f4: Waiting [2023-02-20T06:00:13.086Z] 53926ce57604: Waiting [2023-02-20T06:00:13.086Z] 22ff95d597cd: Waiting [2023-02-20T06:00:13.086Z] 12d6caf4c0d1: Waiting [2023-02-20T06:00:13.086Z] 96b7cbca73a9: Waiting [2023-02-20T06:00:13.086Z] a7acece74701: Waiting [2023-02-20T06:00:13.086Z] 93c1e223e6f2: Verifying Checksum [2023-02-20T06:00:13.086Z] 93c1e223e6f2: Download complete [2023-02-20T06:00:13.086Z] 4583459ba037: Verifying Checksum [2023-02-20T06:00:13.086Z] 4583459ba037: Download complete [2023-02-20T06:00:13.086Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-20T06:00:13.086Z] 21b2b0c7a3f4: Download complete [2023-02-20T06:00:13.349Z] 22ff95d597cd: Verifying Checksum [2023-02-20T06:00:13.349Z] 22ff95d597cd: Download complete [2023-02-20T06:00:13.349Z] 213ec9aee27d: Verifying Checksum [2023-02-20T06:00:13.349Z] 213ec9aee27d: Download complete [2023-02-20T06:00:13.349Z] 12d6caf4c0d1: Download complete [2023-02-20T06:00:13.349Z] 213ec9aee27d: Pull complete [2023-02-20T06:00:13.613Z] 4583459ba037: Pull complete [2023-02-20T06:00:13.614Z] 93c1e223e6f2: Pull complete [2023-02-20T06:00:13.874Z] a7acece74701: Verifying Checksum [2023-02-20T06:00:13.874Z] a7acece74701: Download complete [2023-02-20T06:00:14.133Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T06:00:14.133Z] 96b7cbca73a9: Download complete [2023-02-20T06:00:14.133Z] 53926ce57604: Verifying Checksum [2023-02-20T06:00:14.133Z] 53926ce57604: Download complete [2023-02-20T06:00:18.321Z] 53926ce57604: Pull complete [2023-02-20T06:00:18.321Z] 21b2b0c7a3f4: Pull complete [2023-02-20T06:00:18.321Z] 22ff95d597cd: Pull complete [2023-02-20T06:00:18.321Z] 12d6caf4c0d1: Pull complete [2023-02-20T06:00:20.219Z] 96b7cbca73a9: Pull complete [2023-02-20T06:00:20.480Z] a7acece74701: Pull complete [2023-02-20T06:00:20.480Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T06:00:20.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T06:00:20.480Z] ---> db6d94c90886 [2023-02-20T06:00:20.480Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:00:23.736Z] Still waiting to schedule task [2023-02-20T06:00:23.736Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-20T06:00:27.069Z] ---> Running in ee823c244e87 [2023-02-20T06:00:27.069Z] Removing intermediate container ee823c244e87 [2023-02-20T06:00:27.069Z] ---> 7eb7e1ec9787 [2023-02-20T06:00:27.069Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:00:27.069Z] ---> Running in 1c8061d57b92 [2023-02-20T06:00:27.069Z] Removing intermediate container 1c8061d57b92 [2023-02-20T06:00:27.069Z] ---> cf2bfd615480 [2023-02-20T06:00:27.069Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T06:00:27.069Z] ---> Running in 2a0c14b37059 [2023-02-20T06:00:27.069Z] Removing intermediate container 2a0c14b37059 [2023-02-20T06:00:27.069Z] ---> a627e78c6fae [2023-02-20T06:00:27.069Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T06:00:27.069Z] ---> Running in c429e4ef52bc [2023-02-20T06:00:27.069Z] Removing intermediate container c429e4ef52bc [2023-02-20T06:00:27.069Z] ---> 31b993511472 [2023-02-20T06:00:27.069Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T06:00:27.069Z] ---> Running in c780fcc3ed04 [2023-02-20T06:00:27.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T06:00:27.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T06:00:27.849Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T06:00:27.849Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T06:00:27.849Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T06:00:27.849Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T06:00:27.849Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:00:27.849Z] OK: 216 MiB in 55 packages [2023-02-20T06:00:28.416Z] Removing intermediate container c780fcc3ed04 [2023-02-20T06:00:28.416Z] ---> 7bc2e43a64c5 [2023-02-20T06:00:28.416Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-20T06:00:28.416Z] ---> Running in 56d54403473c [2023-02-20T06:00:28.674Z] Removing intermediate container 56d54403473c [2023-02-20T06:00:28.674Z] ---> cbef04e7bc45 [2023-02-20T06:00:28.674Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T06:00:28.674Z] ---> e25d55417d3b [2023-02-20T06:00:28.674Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:00:28.674Z] ---> Running in 9f08e1a5ef9f [2023-02-20T06:01:00.768Z] Removing intermediate container 9f08e1a5ef9f [2023-02-20T06:01:00.768Z] ---> fcb2e0b804a4 [2023-02-20T06:01:00.768Z] Step 11/12 : COPY . . [2023-02-20T06:01:00.768Z] ---> d130ed28e405 [2023-02-20T06:01:00.768Z] Step 12/12 : RUN ${MAKE} [2023-02-20T06:01:00.768Z] ---> Running in 5d872780c88e [2023-02-20T06:01:00.768Z] noop [2023-02-20T06:01:00.768Z] Removing intermediate container 5d872780c88e [2023-02-20T06:01:00.768Z] ---> 09d4fd806712 [2023-02-20T06:01:00.768Z] Successfully built 09d4fd806712 [2023-02-20T06:01:00.768Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:01:01.218Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T06:01:01.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:01:01.356Z] prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container [2023-02-20T06:01:01.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-241 -v /w/workspace/gexfoundry_device-snmp-go_PR-241:/w/workspace/gexfoundry_device-snmp-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-241@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-241@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-x86_64 cat [2023-02-20T06:01:01.733Z] $ docker top d1c419e68ae7339c250a0d8c78411406d9fcab71e5e833d133277e57c51a2c31 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:01:02.117Z] + go version [2023-02-20T06:01:02.118Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T06:01:02.151Z] $ docker stop --time=1 d1c419e68ae7339c250a0d8c78411406d9fcab71e5e833d133277e57c51a2c31 [2023-02-20T06:01:03.439Z] $ docker rm -f --volumes d1c419e68ae7339c250a0d8c78411406d9fcab71e5e833d133277e57c51a2c31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:01:04.174Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T06:01:04.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:01:04.316Z] prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container [2023-02-20T06:01:04.346Z] $ 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-241 -v /w/workspace/gexfoundry_device-snmp-go_PR-241:/w/workspace/gexfoundry_device-snmp-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-241@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-241@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-x86_64 cat [2023-02-20T06:01:04.782Z] $ docker top 224d90538bccb552a2d732b86d46b5110f7f3e780265a73417b725a4eb359bf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:01:06.572Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-241 [Pipeline] fileExists [Pipeline] sh [2023-02-20T06:01:06.930Z] + make test [2023-02-20T06:01:06.930Z] go test ./... -coverprofile=coverage.out [2023-02-20T06:01:07.186Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-20T06:01:17.537Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-20T06:01:17.537Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements [2023-02-20T06:01:22.815Z] 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-02-20T06:01:22.815Z] go vet ./... [2023-02-20T06:01:25.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T06:01:25.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T06:01:25.356Z] ./bin/test-attribution-txt.sh [2023-02-20T06:01:25.356Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-20T06:01:25.356Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-20T06:01:25.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T06:01:25.430Z] $ docker stop --time=1 224d90538bccb552a2d732b86d46b5110f7f3e780265a73417b725a4eb359bf8 [2023-02-20T06:01:29.463Z] $ docker rm -f --volumes 224d90538bccb552a2d732b86d46b5110f7f3e780265a73417b725a4eb359bf8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T06:01:29.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T06:01:30.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-20T06:01:30.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T06:01:31.082Z] + ls -al . [2023-02-20T06:01:31.082Z] total 172 [2023-02-20T06:01:31.082Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 06:01 . [2023-02-20T06:01:31.082Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 05:59 .. [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 20 05:59 .dockerignore [2023-02-20T06:01:31.082Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 06:01 .git [2023-02-20T06:01:31.082Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 05:59 .github [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 20 05:59 .gitignore [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 05:59 .golangci.yml [2023-02-20T06:01:31.082Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 06:00 .semver [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 20 05:59 Attribution.txt [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 20 05:59 CHANGELOG.md [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 20 05:59 Dockerfile [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 05:59 GOVERNANCE.md [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 20 05:59 Jenkinsfile [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 05:59 LICENSE [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 20 05:59 Makefile [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 05:59 OWNERS.md [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 20 05:59 README.md [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 06:00 VERSION [2023-02-20T06:01:31.082Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 05:59 bin [2023-02-20T06:01:31.082Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 05:59 cmd [2023-02-20T06:01:31.082Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 20 06:01 coverage.out [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 20 05:59 go.mod [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 20 05:59 go.sum [2023-02-20T06:01:31.082Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 05:59 internal [2023-02-20T06:01:31.082Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 05:59 snap [2023-02-20T06:01:31.082Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 20 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:01:31.488Z] + 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=b49eec6ee0a73efb0da9900257fec54c1cbd21e0 --label arch=amd64 --label version=0.0.0 . [2023-02-20T06:01:31.488Z] Sending build context to Docker daemon 5.693MB [2023-02-20T06:01:31.488Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:01:31.488Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-20T06:01:31.488Z] ---> 09d4fd806712 [2023-02-20T06:01:31.488Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:01:31.746Z] ---> Running in f07a0600b6e1 [2023-02-20T06:01:32.314Z] Removing intermediate container f07a0600b6e1 [2023-02-20T06:01:32.314Z] ---> cae38b480d21 [2023-02-20T06:01:32.314Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:01:32.573Z] ---> Running in a7cfe69f22c9 [2023-02-20T06:01:33.143Z] Removing intermediate container a7cfe69f22c9 [2023-02-20T06:01:33.143Z] ---> cce4c78286b3 [2023-02-20T06:01:33.143Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T06:01:33.403Z] ---> Running in cf5d95804155 [2023-02-20T06:01:33.662Z] Removing intermediate container cf5d95804155 [2023-02-20T06:01:33.662Z] ---> 03e6303aa06b [2023-02-20T06:01:33.662Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T06:01:33.921Z] ---> Running in 0c1dd5d78ccc [2023-02-20T06:01:33.921Z] Removing intermediate container 0c1dd5d78ccc [2023-02-20T06:01:33.921Z] ---> fde2567bae19 [2023-02-20T06:01:33.921Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T06:01:33.921Z] ---> Running in e38632edc857 [2023-02-20T06:01:34.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T06:01:34.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T06:01:34.711Z] OK: 216 MiB in 55 packages [2023-02-20T06:01:35.278Z] Removing intermediate container e38632edc857 [2023-02-20T06:01:35.278Z] ---> f739c8eb3e30 [2023-02-20T06:01:35.278Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-20T06:01:35.278Z] ---> Running in b555b63fae30 [2023-02-20T06:01:35.278Z] Removing intermediate container b555b63fae30 [2023-02-20T06:01:35.278Z] ---> 09b95b41d00f [2023-02-20T06:01:35.278Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-20T06:01:35.537Z] ---> 029eed1c3c4c [2023-02-20T06:01:35.537Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:01:35.537Z] ---> Running in 7e20440165cd [2023-02-20T06:01:36.496Z] Removing intermediate container 7e20440165cd [2023-02-20T06:01:36.496Z] ---> 4aee966a8d85 [2023-02-20T06:01:36.496Z] Step 11/24 : COPY . . [2023-02-20T06:01:36.755Z] ---> e2d92802e143 [2023-02-20T06:01:36.755Z] Step 12/24 : RUN ${MAKE} [2023-02-20T06:01:36.755Z] ---> Running in ce889f9d170a [2023-02-20T06:01:37.012Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-20T06:01:56.183Z] Removing intermediate container ce889f9d170a [2023-02-20T06:01:56.183Z] ---> b1daf53da5af [2023-02-20T06:01:56.183Z] Step 13/24 : FROM alpine:3.16 [2023-02-20T06:01:56.752Z] 3.16: Pulling from library/alpine [2023-02-20T06:01:57.013Z] ef5531b6e74e: Pulling fs layer [2023-02-20T06:01:57.013Z] ef5531b6e74e: Verifying Checksum [2023-02-20T06:01:57.013Z] ef5531b6e74e: Download complete [2023-02-20T06:01:57.272Z] ef5531b6e74e: Pull complete [2023-02-20T06:01:57.272Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T06:01:57.272Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T06:01:57.272Z] ---> dfd21b5a31f5 [2023-02-20T06:01:57.272Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-20T06:01:57.272Z] ---> Running in f2d685460bbb [2023-02-20T06:01:57.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T06:01:57.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T06:01:58.049Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T06:01:58.049Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:01:58.049Z] OK: 6 MiB in 15 packages [2023-02-20T06:01:58.309Z] Removing intermediate container f2d685460bbb [2023-02-20T06:01:58.309Z] ---> 9ade2f7a5214 [2023-02-20T06:01:58.309Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-20T06:01:59.395Z] ---> fd34c141ee7b [2023-02-20T06:01:59.395Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-20T06:01:59.395Z] ---> e701c70bc2be [2023-02-20T06:01:59.395Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-20T06:01:59.654Z] ---> 12978863ffd7 [2023-02-20T06:01:59.654Z] Step 18/24 : EXPOSE 59993 [2023-02-20T06:01:59.654Z] ---> Running in 002a920d87b7 [2023-02-20T06:01:59.654Z] Removing intermediate container 002a920d87b7 [2023-02-20T06:01:59.654Z] ---> d5820f2548b9 [2023-02-20T06:01:59.654Z] Step 19/24 : EXPOSE 161 [2023-02-20T06:01:59.654Z] ---> Running in 6a45a5bbb58d [2023-02-20T06:01:59.654Z] Removing intermediate container 6a45a5bbb58d [2023-02-20T06:01:59.654Z] ---> ac831d8b65ba [2023-02-20T06:01:59.655Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-20T06:01:59.913Z] ---> Running in 3a8958d63139 [2023-02-20T06:01:59.913Z] Removing intermediate container 3a8958d63139 [2023-02-20T06:01:59.913Z] ---> 8761f57c0b7d [2023-02-20T06:01:59.913Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-20T06:01:59.913Z] ---> Running in eeaf901787b2 [2023-02-20T06:02:00.171Z] Removing intermediate container eeaf901787b2 [2023-02-20T06:02:00.172Z] ---> 41514aea5992 [2023-02-20T06:02:00.172Z] Step 22/24 : LABEL arch=amd64 [2023-02-20T06:02:00.172Z] ---> Running in a26f2cd88cad [2023-02-20T06:02:00.430Z] Removing intermediate container a26f2cd88cad [2023-02-20T06:02:00.430Z] ---> 31934899523f [2023-02-20T06:02:00.430Z] Step 23/24 : LABEL git_sha=b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [2023-02-20T06:02:00.430Z] ---> Running in f1d3f11c6c7f [2023-02-20T06:02:00.430Z] Removing intermediate container f1d3f11c6c7f [2023-02-20T06:02:00.430Z] ---> 640d6f2f5468 [2023-02-20T06:02:00.430Z] Step 24/24 : LABEL version=0.0.0 [2023-02-20T06:02:00.430Z] ---> Running in b616975d5cf9 [2023-02-20T06:02:00.430Z] Removing intermediate container b616975d5cf9 [2023-02-20T06:02:00.430Z] ---> 4940a2a5f3da [2023-02-20T06:02:00.430Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T06:02:00.430Z] Successfully built 4940a2a5f3da [2023-02-20T06:02:00.430Z] 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-02-20T06:02:01.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:02:01.281Z] [2023-02-20T06:02:01.281Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:02:01.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:02:01.664Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T06:02:01.664Z] 5eb5b503b376: Pulling fs layer [2023-02-20T06:02:01.664Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T06:02:01.664Z] ec43610c2a17: Pulling fs layer [2023-02-20T06:02:01.664Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T06:02:01.664Z] 33b1e0a273af: Pulling fs layer [2023-02-20T06:02:01.664Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T06:02:01.664Z] 2f39f015ded8: Pulling fs layer [2023-02-20T06:02:01.664Z] 3a2ae6a8a46f: Waiting [2023-02-20T06:02:01.664Z] 5d3b04190fa2: Waiting [2023-02-20T06:02:01.664Z] 33b1e0a273af: Waiting [2023-02-20T06:02:01.664Z] 2f39f015ded8: Waiting [2023-02-20T06:02:01.664Z] 5c69ac0246d0: Download complete [2023-02-20T06:02:01.664Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-20T06:02:01.664Z] 3a2ae6a8a46f: Download complete [2023-02-20T06:02:01.925Z] 33b1e0a273af: Verifying Checksum [2023-02-20T06:02:01.925Z] 33b1e0a273af: Download complete [2023-02-20T06:02:01.925Z] 5d3b04190fa2: Download complete [2023-02-20T06:02:01.925Z] ec43610c2a17: Verifying Checksum [2023-02-20T06:02:01.925Z] ec43610c2a17: Download complete [2023-02-20T06:02:01.925Z] 5eb5b503b376: Verifying Checksum [2023-02-20T06:02:01.925Z] 5eb5b503b376: Download complete [2023-02-20T06:02:02.491Z] 2f39f015ded8: Verifying Checksum [2023-02-20T06:02:02.491Z] 2f39f015ded8: Download complete [2023-02-20T06:02:03.059Z] 5eb5b503b376: Pull complete [2023-02-20T06:02:03.059Z] 5c69ac0246d0: Pull complete [2023-02-20T06:02:03.627Z] ec43610c2a17: Pull complete [2023-02-20T06:02:03.627Z] 3a2ae6a8a46f: Pull complete [2023-02-20T06:02:03.886Z] 33b1e0a273af: Pull complete [2023-02-20T06:02:03.886Z] 5d3b04190fa2: Pull complete [2023-02-20T06:02:08.072Z] 2f39f015ded8: Pull complete [2023-02-20T06:02:08.072Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T06:02:08.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:02:08.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:02:08.304Z] prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container [2023-02-20T06:02:08.338Z] $ 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-241 -v /w/workspace/gexfoundry_device-snmp-go_PR-241:/w/workspace/gexfoundry_device-snmp-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-241@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-241@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:latest cat [2023-02-20T06:02:13.660Z] $ docker top 6c0d4a10e32e615c01994d00bd4475b847b16027826c457cb6291e32c5bb4dd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:02:14.094Z] ---> job-cost.sh [2023-02-20T06:02:14.094Z] lf-activate-venv: SKIPPING [2023-02-20T06:02:14.094Z] INFO: No Stack... [2023-02-20T06:02:14.352Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T06:02:14.611Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T06:02:14.924Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-241/archives/cost.csv [2023-02-20T06:02:14.924Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T06:02:14.969Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] [2023-02-20T06:02:14.974Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] did not exist. Created. [2023-02-20T06:02:14.975Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T06:02:15.364Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-20T06:02:15.413Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T06:02:15.438Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T06:02:15.512Z] $ docker stop --time=1 6c0d4a10e32e615c01994d00bd4475b847b16027826c457cb6291e32c5bb4dd9 [2023-02-20T06:02:16.651Z] $ docker rm -f --volumes 6c0d4a10e32e615c01994d00bd4475b847b16027826c457cb6291e32c5bb4dd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T06:03:17.087Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6712 in /w/workspace/gexfoundry_device-snmp-go_PR-241 [Pipeline] { [Pipeline] ws [2023-02-20T06:03:17.147Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-20T06:03:17.234Z] Selected Git installation does not exist. Using Default [2023-02-20T06:03:17.234Z] The recommended git tool is: NONE [2023-02-20T06:03:23.350Z] using credential edgex-jenkins-ssh [2023-02-20T06:03:23.370Z] Cloning the remote Git repository [2023-02-20T06:03:23.416Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-20T06:03:23.502Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-20T06:03:23.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-20T06:03:23.664Z] > git --version # timeout=10 [2023-02-20T06:03:23.686Z] > git --version # 'git version 2.25.1' [2023-02-20T06:03:23.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T06:03:23.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T06:03:24.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-20T06:03:24.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T06:03:25.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-20T06:03:25.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-20T06:03:25.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T06:03:25.940Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-20T06:03:26.519Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [2023-02-20T06:03:26.779Z] Merge succeeded, producing b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [2023-02-20T06:03:26.779Z] Checking out Revision b49eec6ee0a73efb0da9900257fec54c1cbd21e0 (PR-241) [2023-02-20T06:03:27.374Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-20T06:03:27.438Z] > git --version # timeout=10 [2023-02-20T06:03:27.459Z] > git --version # 'git version 2.25.1' [2023-02-20T06:03:27.479Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T06:03:26.541Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T06:03:26.561Z] > git checkout -f b49eec6ee0a73efb0da9900257fec54c1cbd21e0 # timeout=10 [2023-02-20T06:03:26.663Z] > git remote # timeout=10 [2023-02-20T06:03:26.686Z] > git config --get remote.origin.url # timeout=10 [2023-02-20T06:03:26.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T06:03:26.723Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-20T06:03:26.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-20T06:03:26.785Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T06:03:26.802Z] > git checkout -f b49eec6ee0a73efb0da9900257fec54c1cbd21e0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T06:03:28.677Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T06:03:28.677Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T06:03:28.677Z] Dload Upload Total Spent Left Speed [2023-02-20T06:03:28.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-02-20T06:03:29.323Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T06:03:29.675Z] + sudo tee /etc/docker/daemon.new [2023-02-20T06:03:29.675Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T06:03:29.675Z] { [2023-02-20T06:03:29.675Z] "registry-mirrors": [ [2023-02-20T06:03:29.675Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T06:03:29.675Z] ], [2023-02-20T06:03:29.675Z] "bip": "10.250.0.254/24", [2023-02-20T06:03:29.675Z] "hosts": [ [2023-02-20T06:03:29.675Z] "tcp://0.0.0.0:5555", [2023-02-20T06:03:29.675Z] "unix:///var/run/docker.sock" [2023-02-20T06:03:29.675Z] ], [2023-02-20T06:03:29.675Z] "mtu": 1458, [2023-02-20T06:03:29.675Z] "selinux-enabled": true, [2023-02-20T06:03:29.675Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T06:03:29.675Z] } [Pipeline] sh [2023-02-20T06:03:30.031Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T06:03:30.403Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:03:48.756Z] provisioning config files... [2023-02-20T06:03:48.784Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5931966452531866237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:03:49.187Z] ---> docker-login.sh [2023-02-20T06:03:49.187Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:03:49.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:49.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:49.778Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:49.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:49.778Z] [2023-02-20T06:03:49.778Z] Login Succeeded [2023-02-20T06:03:49.778Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:03:50.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:50.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:50.318Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:50.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:50.318Z] [2023-02-20T06:03:50.318Z] Login Succeeded [2023-02-20T06:03:50.318Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:03:50.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:50.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:50.587Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:50.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:50.587Z] [2023-02-20T06:03:50.587Z] Login Succeeded [2023-02-20T06:03:50.587Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:03:50.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:50.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:50.861Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:50.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:50.861Z] [2023-02-20T06:03:50.861Z] Login Succeeded [2023-02-20T06:03:50.861Z] docker.io [2023-02-20T06:03:51.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:51.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:51.402Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:51.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:51.402Z] [2023-02-20T06:03:51.402Z] Login Succeeded [2023-02-20T06:03:51.402Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:03:51.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T06:03:51.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:03:51.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:03:51.998Z] ========================================================= [2023-02-20T06:03:51.998Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T06:03:51.998Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:03:52.686Z] + 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-02-20T06:03:52.958Z] Sending build context to Docker daemon 2.941MB [2023-02-20T06:03:52.958Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:03:52.958Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T06:03:53.227Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T06:03:53.227Z] 9b18e9b68314: Pulling fs layer [2023-02-20T06:03:53.227Z] 35d82f9e3411: Pulling fs layer [2023-02-20T06:03:53.227Z] e16973657156: Pulling fs layer [2023-02-20T06:03:53.227Z] fc693d55d65f: Pulling fs layer [2023-02-20T06:03:53.227Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T06:03:53.227Z] dda99020689f: Pulling fs layer [2023-02-20T06:03:53.227Z] db1c61fa0a46: Pulling fs layer [2023-02-20T06:03:53.227Z] 891c053d2c06: Pulling fs layer [2023-02-20T06:03:53.227Z] 7e9fc2657dce: Waiting [2023-02-20T06:03:53.227Z] dda99020689f: Waiting [2023-02-20T06:03:53.227Z] db1c61fa0a46: Waiting [2023-02-20T06:03:53.227Z] 891c053d2c06: Waiting [2023-02-20T06:03:53.227Z] fc693d55d65f: Waiting [2023-02-20T06:03:53.227Z] e16973657156: Verifying Checksum [2023-02-20T06:03:53.227Z] e16973657156: Download complete [2023-02-20T06:03:53.227Z] 35d82f9e3411: Verifying Checksum [2023-02-20T06:03:53.227Z] 35d82f9e3411: Download complete [2023-02-20T06:03:53.227Z] 7e9fc2657dce: Verifying Checksum [2023-02-20T06:03:53.227Z] 7e9fc2657dce: Download complete [2023-02-20T06:03:53.227Z] dda99020689f: Verifying Checksum [2023-02-20T06:03:53.227Z] dda99020689f: Download complete [2023-02-20T06:03:53.227Z] 9b18e9b68314: Verifying Checksum [2023-02-20T06:03:53.822Z] 9b18e9b68314: Pull complete [2023-02-20T06:03:54.413Z] 35d82f9e3411: Pull complete [2023-02-20T06:03:54.413Z] 891c053d2c06: Verifying Checksum [2023-02-20T06:03:54.413Z] 891c053d2c06: Download complete [2023-02-20T06:03:54.683Z] e16973657156: Pull complete [2023-02-20T06:03:55.650Z] db1c61fa0a46: Verifying Checksum [2023-02-20T06:03:55.650Z] db1c61fa0a46: Download complete [2023-02-20T06:03:56.236Z] fc693d55d65f: Verifying Checksum [2023-02-20T06:03:56.236Z] fc693d55d65f: Download complete [2023-02-20T06:04:08.768Z] fc693d55d65f: Pull complete [2023-02-20T06:04:08.768Z] 7e9fc2657dce: Pull complete [2023-02-20T06:04:08.768Z] dda99020689f: Pull complete [2023-02-20T06:04:14.137Z] db1c61fa0a46: Pull complete [2023-02-20T06:04:17.506Z] 891c053d2c06: Pull complete [2023-02-20T06:04:17.506Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T06:04:17.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T06:04:17.506Z] ---> f96f9c87975a [2023-02-20T06:04:17.506Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:04:18.926Z] ---> Running in b839737637bf [2023-02-20T06:04:19.515Z] Removing intermediate container b839737637bf [2023-02-20T06:04:19.515Z] ---> b0ac7d4e9e21 [2023-02-20T06:04:19.515Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:04:19.515Z] ---> Running in a47a8c8803b0 [2023-02-20T06:04:19.789Z] Removing intermediate container a47a8c8803b0 [2023-02-20T06:04:19.789Z] ---> b59072349f1c [2023-02-20T06:04:19.789Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T06:04:19.789Z] ---> Running in b57bfc6520fd [2023-02-20T06:04:20.379Z] Removing intermediate container b57bfc6520fd [2023-02-20T06:04:20.379Z] ---> 207d52ba7292 [2023-02-20T06:04:20.379Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T06:04:20.379Z] ---> Running in 5e21fe150511 [2023-02-20T06:04:20.648Z] Removing intermediate container 5e21fe150511 [2023-02-20T06:04:20.648Z] ---> 13aaca945d1a [2023-02-20T06:04:20.648Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T06:04:20.648Z] ---> Running in b899c814df2f [2023-02-20T06:04:22.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T06:04:22.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T06:04:23.479Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T06:04:23.479Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T06:04:23.479Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T06:04:23.479Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T06:04:23.479Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:04:23.479Z] OK: 226 MiB in 55 packages [2023-02-20T06:04:24.463Z] Removing intermediate container b899c814df2f [2023-02-20T06:04:24.463Z] ---> 0b8403acb945 [2023-02-20T06:04:24.463Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-20T06:04:24.463Z] ---> Running in 2614adc8156f [2023-02-20T06:04:25.056Z] Removing intermediate container 2614adc8156f [2023-02-20T06:04:25.056Z] ---> 1890c4a7db9c [2023-02-20T06:04:25.056Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T06:04:25.326Z] ---> 29e8aa35bd6b [2023-02-20T06:04:25.326Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:04:25.601Z] ---> Running in 79a2ac35b9e5 [2023-02-20T06:05:33.534Z] Removing intermediate container 79a2ac35b9e5 [2023-02-20T06:05:33.534Z] ---> 8c0dac3ef3c8 [2023-02-20T06:05:33.534Z] Step 11/12 : COPY . . [2023-02-20T06:05:33.534Z] ---> bf5803af626c [2023-02-20T06:05:33.534Z] Step 12/12 : RUN ${MAKE} [2023-02-20T06:05:33.534Z] ---> Running in ab1117622c94 [2023-02-20T06:05:33.534Z] noop [2023-02-20T06:05:33.534Z] Removing intermediate container ab1117622c94 [2023-02-20T06:05:33.534Z] ---> 8fa1850a26e9 [2023-02-20T06:05:33.534Z] Successfully built 8fa1850a26e9 [2023-02-20T06:05:33.534Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:05:34.017Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T06:05:34.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:05:34.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-6712 does not seem to be running inside a container [2023-02-20T06:05:34.400Z] $ 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-02-20T06:05:35.764Z] $ docker top 0d3b6f06306a2e11df7ce5c825f51340fe0428a3e7310afe9cc49e43cfe3a914 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:05:36.692Z] + go version [2023-02-20T06:05:36.692Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T06:05:36.726Z] $ docker stop --time=1 0d3b6f06306a2e11df7ce5c825f51340fe0428a3e7310afe9cc49e43cfe3a914 [2023-02-20T06:05:38.426Z] $ docker rm -f --volumes 0d3b6f06306a2e11df7ce5c825f51340fe0428a3e7310afe9cc49e43cfe3a914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:05:39.307Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T06:05:39.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:05:39.597Z] prd-ubuntu20.04-docker-arm64-4c-16g-6712 does not seem to be running inside a container [2023-02-20T06:05:39.672Z] $ 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-02-20T06:05:41.037Z] $ docker top 7009cd31dcfbb3d6580ae838b9954ab1ece7020d56c739dca84e51ea8c4c8bcf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:05:41.969Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-20T06:05:42.695Z] + make test [2023-02-20T06:05:42.695Z] go test ./... -coverprofile=coverage.out [2023-02-20T06:05:44.654Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-20T06:07:21.376Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-20T06:07:21.376Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements [2023-02-20T06:07:21.376Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-20T06:07:21.376Z] go vet ./... [2023-02-20T06:07:43.478Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T06:07:43.478Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T06:07:43.478Z] ./bin/test-attribution-txt.sh [2023-02-20T06:07:43.478Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-20T06:07:43.478Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-20T06:07:43.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T06:07:43.545Z] $ docker stop --time=1 7009cd31dcfbb3d6580ae838b9954ab1ece7020d56c739dca84e51ea8c4c8bcf [2023-02-20T06:07:45.573Z] $ docker rm -f --volumes 7009cd31dcfbb3d6580ae838b9954ab1ece7020d56c739dca84e51ea8c4c8bcf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T06:07:46.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T06:07:46.778Z] Warning: overwriting stash ‘coverage-report’ [2023-02-20T06:07:47.467Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T06:07:48.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T06:07:48.420Z] + ls -al . [2023-02-20T06:07:48.420Z] total 168 [2023-02-20T06:07:48.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 06:05 . [2023-02-20T06:07:48.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:03 .. [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 20 06:03 .dockerignore [2023-02-20T06:07:48.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 06:03 .git [2023-02-20T06:07:48.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:03 .github [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 20 06:03 .gitignore [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 06:03 .golangci.yml [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 20 06:03 Attribution.txt [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 20 06:03 CHANGELOG.md [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 20 06:03 Dockerfile [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 06:03 GOVERNANCE.md [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 20 06:03 Jenkinsfile [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 06:03 LICENSE [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 20 06:03 Makefile [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 06:03 OWNERS.md [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 20 06:03 README.md [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 06:00 VERSION [2023-02-20T06:07:48.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:03 bin [2023-02-20T06:07:48.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:03 cmd [2023-02-20T06:07:48.420Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 20 06:07 coverage.out [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 20 06:03 go.mod [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 20 06:03 go.sum [2023-02-20T06:07:48.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:03 internal [2023-02-20T06:07:48.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:03 snap [2023-02-20T06:07:48.420Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 20 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:07:48.859Z] + 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=b49eec6ee0a73efb0da9900257fec54c1cbd21e0 --label arch=arm64 --label version=0.0.0 . [2023-02-20T06:07:49.453Z] Sending build context to Docker daemon 2.95MB [2023-02-20T06:07:49.453Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:07:49.453Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-20T06:07:49.453Z] ---> 8fa1850a26e9 [2023-02-20T06:07:49.453Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:07:49.725Z] ---> Running in 5e92b4120dee [2023-02-20T06:07:50.001Z] Removing intermediate container 5e92b4120dee [2023-02-20T06:07:50.001Z] ---> 0dde36bb8369 [2023-02-20T06:07:50.001Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:07:50.270Z] ---> Running in 32459c585408 [2023-02-20T06:07:50.544Z] Removing intermediate container 32459c585408 [2023-02-20T06:07:50.544Z] ---> 386cb4a9ca8e [2023-02-20T06:07:50.544Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T06:07:50.544Z] ---> Running in 5b6fcd7b2f26 [2023-02-20T06:07:51.133Z] Removing intermediate container 5b6fcd7b2f26 [2023-02-20T06:07:51.133Z] ---> 19a85bcf2d4f [2023-02-20T06:07:51.133Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T06:07:51.133Z] ---> Running in 29c8c7176521 [2023-02-20T06:07:51.402Z] Removing intermediate container 29c8c7176521 [2023-02-20T06:07:51.402Z] ---> 5d46a581b781 [2023-02-20T06:07:51.402Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T06:07:51.402Z] ---> Running in 885516f140ac [2023-02-20T06:07:52.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T06:07:53.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T06:07:54.513Z] OK: 226 MiB in 55 packages [2023-02-20T06:07:55.497Z] Removing intermediate container 885516f140ac [2023-02-20T06:07:55.497Z] ---> 58ae01a63775 [2023-02-20T06:07:55.497Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-20T06:07:55.497Z] ---> Running in ff3121864ddd [2023-02-20T06:07:56.096Z] Removing intermediate container ff3121864ddd [2023-02-20T06:07:56.096Z] ---> cde078342b0b [2023-02-20T06:07:56.096Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-20T06:07:56.697Z] ---> 9cdee24eab4d [2023-02-20T06:07:56.697Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:07:56.697Z] ---> Running in 20a453fb4f8f [2023-02-20T06:08:00.050Z] Removing intermediate container 20a453fb4f8f [2023-02-20T06:08:00.050Z] ---> 72faf5aea56f [2023-02-20T06:08:00.050Z] Step 11/24 : COPY . . [2023-02-20T06:08:01.013Z] ---> a1fdc021651a [2023-02-20T06:08:01.013Z] Step 12/24 : RUN ${MAKE} [2023-02-20T06:08:01.013Z] ---> Running in 93ac425dedd9 [2023-02-20T06:08:01.978Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-20T06:10:23.698Z] Removing intermediate container 93ac425dedd9 [2023-02-20T06:10:23.698Z] ---> f808f156e537 [2023-02-20T06:10:23.698Z] Step 13/24 : FROM alpine:3.16 [2023-02-20T06:10:23.698Z] 3.16: Pulling from library/alpine [2023-02-20T06:10:23.698Z] 3760b48202b3: Pulling fs layer [2023-02-20T06:10:23.698Z] 3760b48202b3: Verifying Checksum [2023-02-20T06:10:23.698Z] 3760b48202b3: Download complete [2023-02-20T06:10:23.698Z] 3760b48202b3: Pull complete [2023-02-20T06:10:23.698Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T06:10:23.698Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T06:10:23.698Z] ---> 4c81e5bf8899 [2023-02-20T06:10:23.698Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-20T06:10:23.698Z] ---> Running in 750af9bb2e88 [2023-02-20T06:10:23.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T06:10:23.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T06:10:23.698Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T06:10:23.698Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:10:23.698Z] OK: 5 MiB in 15 packages [2023-02-20T06:10:23.698Z] Removing intermediate container 750af9bb2e88 [2023-02-20T06:10:23.698Z] ---> 8d28ba51dc8c [2023-02-20T06:10:23.698Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-20T06:10:23.698Z] ---> ec6b69078c52 [2023-02-20T06:10:23.698Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-20T06:10:23.698Z] ---> aa8e2a377de5 [2023-02-20T06:10:23.698Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-20T06:10:23.698Z] ---> e5717430d8a1 [2023-02-20T06:10:23.698Z] Step 18/24 : EXPOSE 59993 [2023-02-20T06:10:23.698Z] ---> Running in 923a56d85538 [2023-02-20T06:10:23.698Z] Removing intermediate container 923a56d85538 [2023-02-20T06:10:23.698Z] ---> 0e6ae51355c9 [2023-02-20T06:10:23.698Z] Step 19/24 : EXPOSE 161 [2023-02-20T06:10:23.698Z] ---> Running in 992eab32dffe [2023-02-20T06:10:23.698Z] Removing intermediate container 992eab32dffe [2023-02-20T06:10:23.698Z] ---> 93616332141c [2023-02-20T06:10:23.698Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-20T06:10:23.698Z] ---> Running in a3f01cb07ae7 [2023-02-20T06:10:23.698Z] Removing intermediate container a3f01cb07ae7 [2023-02-20T06:10:23.698Z] ---> 2abb805917c0 [2023-02-20T06:10:23.698Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-20T06:10:23.698Z] ---> Running in 5eafa6203a63 [2023-02-20T06:10:23.698Z] Removing intermediate container 5eafa6203a63 [2023-02-20T06:10:23.698Z] ---> cd066ecbc3f1 [2023-02-20T06:10:23.698Z] Step 22/24 : LABEL arch=arm64 [2023-02-20T06:10:23.698Z] ---> Running in f8c071ba99b3 [2023-02-20T06:10:23.699Z] Removing intermediate container f8c071ba99b3 [2023-02-20T06:10:23.699Z] ---> c83c4fd1001e [2023-02-20T06:10:23.699Z] Step 23/24 : LABEL git_sha=b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [2023-02-20T06:10:23.699Z] ---> Running in 403f0e956c7c [2023-02-20T06:10:23.699Z] Removing intermediate container 403f0e956c7c [2023-02-20T06:10:23.699Z] ---> 24a3af7222bc [2023-02-20T06:10:23.699Z] Step 24/24 : LABEL version=0.0.0 [2023-02-20T06:10:23.699Z] ---> Running in bc05d96fb3b7 [2023-02-20T06:10:23.699Z] Removing intermediate container bc05d96fb3b7 [2023-02-20T06:10:23.699Z] ---> 8e3cfe87015e [2023-02-20T06:10:23.699Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T06:10:23.699Z] Successfully built 8e3cfe87015e [2023-02-20T06:10:23.699Z] 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-02-20T06:10:24.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:10:24.523Z] [2023-02-20T06:10:24.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:10:24.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:10:24.922Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T06:10:24.922Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T06:10:24.922Z] 04944245beec: Pulling fs layer [2023-02-20T06:10:24.922Z] 699f458cf7ca: Pulling fs layer [2023-02-20T06:10:24.922Z] 765212b225bb: Pulling fs layer [2023-02-20T06:10:24.922Z] f23df028b6ca: Pulling fs layer [2023-02-20T06:10:24.923Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T06:10:24.923Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T06:10:24.923Z] f23df028b6ca: Waiting [2023-02-20T06:10:24.923Z] 765212b225bb: Waiting [2023-02-20T06:10:24.923Z] d65c8cfc05b1: Waiting [2023-02-20T06:10:24.923Z] 2437ff75d9bd: Waiting [2023-02-20T06:10:25.191Z] 04944245beec: Verifying Checksum [2023-02-20T06:10:25.191Z] 04944245beec: Download complete [2023-02-20T06:10:25.191Z] 765212b225bb: Verifying Checksum [2023-02-20T06:10:25.191Z] 765212b225bb: Download complete [2023-02-20T06:10:25.191Z] f23df028b6ca: Verifying Checksum [2023-02-20T06:10:25.191Z] f23df028b6ca: Download complete [2023-02-20T06:10:25.191Z] d65c8cfc05b1: Verifying Checksum [2023-02-20T06:10:25.192Z] d65c8cfc05b1: Download complete [2023-02-20T06:10:25.478Z] 699f458cf7ca: Verifying Checksum [2023-02-20T06:10:25.478Z] 699f458cf7ca: Download complete [2023-02-20T06:10:25.748Z] 8998bd30e6a1: Verifying Checksum [2023-02-20T06:10:25.748Z] 8998bd30e6a1: Download complete [2023-02-20T06:10:27.689Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T06:10:27.689Z] 2437ff75d9bd: Download complete [2023-02-20T06:10:29.095Z] 8998bd30e6a1: Pull complete [2023-02-20T06:10:29.676Z] 04944245beec: Pull complete [2023-02-20T06:10:31.087Z] 699f458cf7ca: Pull complete [2023-02-20T06:10:31.087Z] 765212b225bb: Pull complete [2023-02-20T06:10:31.666Z] f23df028b6ca: Pull complete [2023-02-20T06:10:31.937Z] d65c8cfc05b1: Pull complete [2023-02-20T06:10:44.228Z] 2437ff75d9bd: Pull complete [2023-02-20T06:10:44.228Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T06:10:44.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:10:44.228Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:10:44.541Z] prd-ubuntu20.04-docker-arm64-4c-16g-6712 does not seem to be running inside a container [2023-02-20T06:10:44.653Z] $ 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-02-20T06:10:47.072Z] $ docker top 58ee5db90b63af1dd414ac40a8e00f261f2654446c0b0634f01185370636610b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:10:47.657Z] ---> job-cost.sh [2023-02-20T06:10:47.925Z] lf-activate-venv: SKIPPING [2023-02-20T06:10:47.925Z] INFO: No Stack... [2023-02-20T06:10:48.193Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T06:10:49.170Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T06:10:49.524Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-20T06:10:49.524Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T06:10:49.609Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] [2023-02-20T06:10:49.614Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] did not exist. Created. [2023-02-20T06:10:49.614Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T06:10:50.035Z] /w/workspace/device-snmp-go/1@tmp/durable-d68f8180/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T06:10:50.379Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T06:10:50.412Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T06:10:50.452Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T06:10:50.471Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T06:10:50.547Z] $ docker stop --time=1 58ee5db90b63af1dd414ac40a8e00f261f2654446c0b0634f01185370636610b [2023-02-20T06:10:51.999Z] $ docker rm -f --volumes 58ee5db90b63af1dd414ac40a8e00f261f2654446c0b0634f01185370636610b [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-02-20T06:10:52.969Z] provisioning config files... [2023-02-20T06:10:52.978Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/config4780901086907191747tmp [Pipeline] { [Pipeline] sh [2023-02-20T06:10:53.324Z] + set +x [2023-02-20T06:10:53.324Z] + curl -s https://codecov.io/bash [2023-02-20T06:10:53.324Z] + bash -s -- [2023-02-20T06:10:53.324Z] [2023-02-20T06:10:53.324Z] _____ _ [2023-02-20T06:10:53.324Z] / ____| | | [2023-02-20T06:10:53.324Z] | | ___ __| | ___ ___ _____ __ [2023-02-20T06:10:53.324Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-20T06:10:53.324Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-20T06:10:53.324Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-20T06:10:53.324Z] Bash-1.0.6 [2023-02-20T06:10:53.324Z] [2023-02-20T06:10:53.324Z] [2023-02-20T06:10:53.324Z] ==> git version 2.25.1 found [2023-02-20T06:10:53.324Z] ==> 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-02-20T06:10:53.324Z] Release-Date: 2020-01-08 [2023-02-20T06:10:53.324Z] 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-02-20T06:10:53.324Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-20T06:10:53.324Z] ==> Jenkins CI detected. [2023-02-20T06:10:53.324Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-241 [2023-02-20T06:10:53.324Z] project root: . [2023-02-20T06:10:53.324Z] --> token set from env [2023-02-20T06:10:53.324Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-20T06:10:53.324Z] ==> Running gcov in . (disable via -X gcov) [2023-02-20T06:10:53.599Z] ==> Python coveragepy not found [2023-02-20T06:10:53.599Z] ==> Searching for coverage reports in: [2023-02-20T06:10:53.599Z] + . [2023-02-20T06:10:53.599Z] -> Found 1 reports [2023-02-20T06:10:53.599Z] ==> Detecting git/mercurial file structure [2023-02-20T06:10:53.599Z] ==> Reading reports [2023-02-20T06:10:53.599Z] + ./coverage.out bytes=7631 [2023-02-20T06:10:53.599Z] ==> Appending adjustments [2023-02-20T06:10:53.599Z] https://docs.codecov.io/docs/fixing-reports [2023-02-20T06:10:53.599Z] + Found adjustments [2023-02-20T06:10:53.599Z] ==> Gzipping contents [2023-02-20T06:10:53.599Z] 4.0K /tmp/codecov.tbyQWW.gz [2023-02-20T06:10:53.599Z] ==> Uploading reports [2023-02-20T06:10:53.599Z] url: https://codecov.io [2023-02-20T06:10:53.599Z] query: branch=PR-241&commit=b49eec6ee0a73efb0da9900257fec54c1cbd21e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=241&job=&cmd_args= [2023-02-20T06:10:53.599Z] -> Pinging Codecov [2023-02-20T06:10:53.599Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-241&commit=b49eec6ee0a73efb0da9900257fec54c1cbd21e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=241&job=&cmd_args= [2023-02-20T06:10:53.860Z] -> Uploading to [2023-02-20T06:10:53.860Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-20/6C56EA5C29638FB4528AC87E60AF5AE0/b49eec6ee0a73efb0da9900257fec54c1cbd21e0/c4009101-cb32-4f46-91d8-b7b2657627f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T061053Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7681ebd2dda753107029badbfe54094261deeec56c0952e92db73081418eb01a [2023-02-20T06:10:53.860Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T06:10:53.860Z] Dload Upload Total Spent Left Speed [2023-02-20T06:10:54.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5514 --:--:-- --:--:-- --:--:-- 5514 [2023-02-20T06:10:54.119Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/b49eec6ee0a73efb0da9900257fec54c1cbd21e0 [Pipeline] } [2023-02-20T06:10:54.148Z] 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-02-20T06:10:55.829Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-241/archives ] [2023-02-20T06:10:55.829Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-241/archives [2023-02-20T06:10:55.829Z] total 16 [2023-02-20T06:10:55.829Z] drwxr-xr-x 3 root root 4096 Feb 20 06:02 . [2023-02-20T06:10:55.829Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 06:02 .. [2023-02-20T06:10:55.829Z] drwxr-xr-x 2 root root 4096 Feb 20 06:02 cost [2023-02-20T06:10:55.829Z] -rw-r--r-- 1 root root 86 Feb 20 06:02 cost.csv [2023-02-20T06:10:55.829Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-241/archives [2023-02-20T06:10:55.829Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-241/archives [2023-02-20T06:10:55.829Z] total 16 [2023-02-20T06:10:55.829Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 06:02 . [2023-02-20T06:10:55.829Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 06:02 .. [2023-02-20T06:10:55.829Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 06:02 cost [2023-02-20T06:10:55.829Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 20 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:10:56.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:10:57.430Z] ---> package-listing.sh [2023-02-20T06:10:57.430Z] ++ facter osfamily [2023-02-20T06:10:57.430Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T06:10:57.690Z] + OS_FAMILY=debian [2023-02-20T06:10:57.690Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-241 [2023-02-20T06:10:57.690Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T06:10:57.690Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T06:10:57.690Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T06:10:57.690Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T06:10:57.690Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-241 ']' [2023-02-20T06:10:57.690Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T06:10:57.690Z] + case "${OS_FAMILY}" in [2023-02-20T06:10:57.690Z] + dpkg -l [2023-02-20T06:10:57.690Z] + grep '^ii' [2023-02-20T06:10:57.690Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T06:10:57.690Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T06:10:57.690Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T06:10:57.690Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-241 ']' [2023-02-20T06:10:57.690Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-241/archives/ [2023-02-20T06:10:57.690Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-241/archives/ [Pipeline] echo [2023-02-20T06:10:57.725Z] 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-241/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-20T06:10:58.032Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:10:58.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:10:58.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:10:59.137Z] prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container [2023-02-20T06:10:59.185Z] $ 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-241/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-241 -v /w/workspace/gexfoundry_device-snmp-go_PR-241:/w/workspace/gexfoundry_device-snmp-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-241@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-241@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-02-20T06:11:01.811Z] $ docker top b6543dfc734de8715868a454d5b7e92f00ccd8b3f8be9b83f98b2198d4344675 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:11:02.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T06:11:02.520Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T06:11:02.836Z] + ls /var/log/sa-host [2023-02-20T06:11:02.836Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:11:02.966Z] provisioning config files... [2023-02-20T06:11:02.976Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-241@tmp/config15549424754467979690tmp [Pipeline] { [Pipeline] echo [2023-02-20T06:11:03.027Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:11:03.340Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T06:11:03.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:11:03.786Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T06:11:03.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:11:04.140Z] ---> sudo-logs.sh [2023-02-20T06:11:04.140Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T06:11:04.225Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:11:04.542Z] ---> job-cost.sh [2023-02-20T06:11:04.542Z] lf-activate-venv: SKIPPING [2023-02-20T06:11:04.542Z] DEBUG: total: 0.2199999988079071 [2023-02-20T06:11:04.542Z] INFO: Retrieving Stack Cost... [2023-02-20T06:11:05.111Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T06:11:05.371Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T06:11:05.411Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:11:05.735Z] ---> logs-deploy.sh [2023-02-20T06:11:05.735Z] lf-activate-venv: SKIPPING [2023-02-20T06:11:05.735Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-241/1 [2023-02-20T06:11:05.735Z] INFO: archiving workspace using pattern(s): [2023-02-20T06:11:07.136Z] Archives upload complete. [2023-02-20T06:11:07.136Z] INFO: archiving logs to Nexus