Pull request #198 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd8bf5961164675082481f4db5aa3215ec2f843f+86e265f4693997e38d18c21fe32d96af1ec8218a (25496a3f5263b98ef5eeb978ea8d528faf0b54c2) 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-ssh909407716715544720.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4141433066056513007.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-198/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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10369278200937609115.key Verifying host key using known hosts file > 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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15129946932709802002.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh2807659327225687856.key Verifying host key using known hosts file > 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-198/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-198/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13227207775249279476.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8023 in /w/workspace/gexfoundry_device-snmp-go_PR-198 [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-198 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 86e265f4693997e38d18c21fe32d96af1ec8218a into PR head commit cd8bf5961164675082481f4db5aa3215ec2f843f Merge succeeded, producing cd8bf5961164675082481f4db5aa3215ec2f843f Checking out Revision cd8bf5961164675082481f4db5aa3215ec2f843f (PR-198) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T05:04:42.862Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T05:04:43.041Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T05:04:43.144Z] ========================================================= [2022-10-17T05:04:43.145Z] EdgeX Global Pipelines Version Info [2022-10-17T05:04:43.145Z] ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f cd8bf5961164675082481f4db5aa3215ec2f843f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 86e265f4693997e38d18c21fe32d96af1ec8218a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd8bf5961164675082481f4db5aa3215ec2f843f # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:04:43.888Z] ------------------- [2022-10-17T05:04:43.888Z] stable info: [2022-10-17T05:04:43.888Z] ------------------- [2022-10-17T05:04:43.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T05:04:43.888Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T05:04:43.888Z] Message: update stable to v1.0.239 [2022-10-17T05:04:44.459Z] ------------------- [2022-10-17T05:04:44.459Z] experimental info: [2022-10-17T05:04:44.459Z] ------------------- [2022-10-17T05:04:44.459Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T05:04:44.459Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T05:04:44.459Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T05:04:44.769Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-17T05:04:44.810Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-17T05:04:44.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T05:04:44.894Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T05:04:44.930Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T05:04:44.968Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T05:04:45.008Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T05:04:45.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T05:04:45.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T05:04:45.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T05:04:45.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T05:04:45.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-17T05:04:45.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T05:04:45.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T05:04:45.303Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T05:04:45.340Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T05:04:45.382Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T05:04:45.424Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T05:04:45.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T05:04:45.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T05:04:45.540Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T05:04:45.580Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T05:04:45.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T05:04:45.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T05:04:45.703Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T05:04:45.744Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T05:04:45.787Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T05:04:45.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2022-10-17T05:04:45.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2022-10-17T05:04:45.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2022-10-17T05:04:45.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd8bf5961164675082481f4db5aa3215ec2f843f [Pipeline] echo [2022-10-17T05:04:45.996Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd8bf59 [Pipeline] echo [2022-10-17T05:04:46.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T05:04:46.146Z] provisioning config files... [2022-10-17T05:04:46.158Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/config9385754017259016395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:04:46.500Z] ---> docker-login.sh [2022-10-17T05:04:46.501Z] nexus3.edgexfoundry.org:10001 [2022-10-17T05:04:46.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:04:46.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:04:46.762Z] Configure a credential helper to remove this warning. See [2022-10-17T05:04:46.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:04:46.762Z] [2022-10-17T05:04:46.762Z] Login Succeeded [2022-10-17T05:04:46.762Z] nexus3.edgexfoundry.org:10002 [2022-10-17T05:04:46.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:04:46.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:04:46.762Z] Configure a credential helper to remove this warning. See [2022-10-17T05:04:46.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:04:46.762Z] [2022-10-17T05:04:46.762Z] Login Succeeded [2022-10-17T05:04:46.762Z] nexus3.edgexfoundry.org:10003 [2022-10-17T05:04:47.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:04:47.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:04:47.022Z] Configure a credential helper to remove this warning. See [2022-10-17T05:04:47.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:04:47.022Z] [2022-10-17T05:04:47.022Z] Login Succeeded [2022-10-17T05:04:47.022Z] nexus3.edgexfoundry.org:10004 [2022-10-17T05:04:47.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:04:47.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:04:47.022Z] Configure a credential helper to remove this warning. See [2022-10-17T05:04:47.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:04:47.022Z] [2022-10-17T05:04:47.022Z] Login Succeeded [2022-10-17T05:04:47.022Z] docker.io [2022-10-17T05:04:47.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:04:47.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:04:47.543Z] Configure a credential helper to remove this warning. See [2022-10-17T05:04:47.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:04:47.543Z] [2022-10-17T05:04:47.543Z] Login Succeeded [2022-10-17T05:04:47.543Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T05:04:47.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T05:04:48.173Z] + git rev-list -1 --merges cd8bf5961164675082481f4db5aa3215ec2f843f~1..cd8bf5961164675082481f4db5aa3215ec2f843f [Pipeline] echo [2022-10-17T05:04:48.224Z] -----------> git rev-list -1 --merges cd8bf5961164675082481f4db5aa3215ec2f843f~1..cd8bf5961164675082481f4db5aa3215ec2f843f cd8bf5961164675082481f4db5aa3215ec2f843f [false] [Pipeline] sh [2022-10-17T05:04:48.534Z] + git log --format=format:%s -1 cd8bf5961164675082481f4db5aa3215ec2f843f [Pipeline] echo [2022-10-17T05:04:48.564Z] ========================================================= [2022-10-17T05:04:48.564Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T05:04:48.564Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T05:04:48.984Z] + git log --format=format:%s -1 cd8bf5961164675082481f4db5aa3215ec2f843f [Pipeline] echo [2022-10-17T05:04:49.017Z] [semverPrep] GIT_COMMIT: cd8bf5961164675082481f4db5aa3215ec2f843f, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-17T05:04:49.044Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T05:04:49.412Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T05:04:49.412Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T05:04:49.412Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T05:04:49.412Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T05:04:49.412Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T05:04:49.412Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T05:04:49.412Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:04:49.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T05:04:49.831Z] [2022-10-17T05:04:49.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:04:50.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T05:04:50.206Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T05:04:50.206Z] b85a868b505f: Pulling fs layer [2022-10-17T05:04:50.206Z] e2be974225ed: Pulling fs layer [2022-10-17T05:04:50.206Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T05:04:50.206Z] 988bab9f4d93: Pulling fs layer [2022-10-17T05:04:50.206Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T05:04:50.206Z] eaf3925da568: Pulling fs layer [2022-10-17T05:04:50.206Z] bab4dde63d76: Pulling fs layer [2022-10-17T05:04:50.206Z] bde34c3a00c8: Pulling fs layer [2022-10-17T05:04:50.206Z] b352a97aabf1: Pulling fs layer [2022-10-17T05:04:50.206Z] 4872d77fe225: Pulling fs layer [2022-10-17T05:04:50.206Z] 5851b861e8e6: Pulling fs layer [2022-10-17T05:04:50.206Z] eaf3925da568: Waiting [2022-10-17T05:04:50.206Z] bab4dde63d76: Waiting [2022-10-17T05:04:50.206Z] 4872d77fe225: Waiting [2022-10-17T05:04:50.206Z] b352a97aabf1: Waiting [2022-10-17T05:04:50.206Z] 5851b861e8e6: Waiting [2022-10-17T05:04:50.206Z] 988bab9f4d93: Waiting [2022-10-17T05:04:50.206Z] 1469e6f7b9e6: Waiting [2022-10-17T05:04:50.206Z] bde34c3a00c8: Waiting [2022-10-17T05:04:50.206Z] e2be974225ed: Verifying Checksum [2022-10-17T05:04:50.206Z] e2be974225ed: Download complete [2022-10-17T05:04:50.206Z] 988bab9f4d93: Download complete [2022-10-17T05:04:50.467Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T05:04:50.467Z] 1469e6f7b9e6: Download complete [2022-10-17T05:04:50.467Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T05:04:50.467Z] 339a4e72a1f5: Download complete [2022-10-17T05:04:50.467Z] eaf3925da568: Verifying Checksum [2022-10-17T05:04:50.467Z] eaf3925da568: Download complete [2022-10-17T05:04:50.467Z] bde34c3a00c8: Verifying Checksum [2022-10-17T05:04:50.467Z] bde34c3a00c8: Download complete [2022-10-17T05:04:50.467Z] b352a97aabf1: Verifying Checksum [2022-10-17T05:04:50.467Z] b352a97aabf1: Download complete [2022-10-17T05:04:50.467Z] 4872d77fe225: Verifying Checksum [2022-10-17T05:04:50.467Z] 4872d77fe225: Download complete [2022-10-17T05:04:50.467Z] 5851b861e8e6: Verifying Checksum [2022-10-17T05:04:50.467Z] 5851b861e8e6: Download complete [2022-10-17T05:04:50.467Z] b85a868b505f: Verifying Checksum [2022-10-17T05:04:50.467Z] b85a868b505f: Download complete [2022-10-17T05:04:50.725Z] bab4dde63d76: Verifying Checksum [2022-10-17T05:04:50.725Z] bab4dde63d76: Download complete [2022-10-17T05:04:51.662Z] b85a868b505f: Pull complete [2022-10-17T05:04:51.662Z] e2be974225ed: Pull complete [2022-10-17T05:04:52.228Z] 339a4e72a1f5: Pull complete [2022-10-17T05:04:52.228Z] 988bab9f4d93: Pull complete [2022-10-17T05:04:52.488Z] 1469e6f7b9e6: Pull complete [2022-10-17T05:04:52.488Z] eaf3925da568: Pull complete [2022-10-17T05:04:54.389Z] bab4dde63d76: Pull complete [2022-10-17T05:04:54.389Z] bde34c3a00c8: Pull complete [2022-10-17T05:04:54.648Z] b352a97aabf1: Pull complete [2022-10-17T05:04:54.648Z] 4872d77fe225: Pull complete [2022-10-17T05:04:54.648Z] 5851b861e8e6: Pull complete [2022-10-17T05:04:54.648Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T05:04:54.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T05:04:54.648Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:04:54.883Z] prd-ubuntu20.04-docker-8c-8g-8023 does not seem to be running inside a container [2022-10-17T05:04:54.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-198 -v /w/workspace/gexfoundry_device-snmp-go_PR-198:/w/workspace/gexfoundry_device-snmp-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T05:04:56.138Z] $ docker top 5d2ddeaed4359d560184ed646461e47821fea725283c80f5f93b2553f5a691c1 -eo pid,comm [2022-10-17T05:04:56.198Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-17T05:04:56.198Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T05:04:56.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T05:04:56.324Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T05:04:56.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T05:04:56.450Z] $ docker exec 5d2ddeaed4359d560184ed646461e47821fea725283c80f5f93b2553f5a691c1 ssh-agent [2022-10-17T05:04:56.551Z] SSH_AUTH_SOCK=/tmp/ssh-ab8DsTOzo9qf/agent.32 [2022-10-17T05:04:56.551Z] SSH_AGENT_PID=38 [2022-10-17T05:04:56.557Z] Running ssh-add (command line suppressed) [2022-10-17T05:04:56.659Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/private_key_4653901241236868684.key (/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/private_key_4653901241236868684.key) [2022-10-17T05:04:56.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T05:04:56.995Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T05:04:57.025Z] $ docker exec --env ******** --env ******** 5d2ddeaed4359d560184ed646461e47821fea725283c80f5f93b2553f5a691c1 ssh-agent -k [2022-10-17T05:04:57.125Z] unset SSH_AUTH_SOCK; [2022-10-17T05:04:57.125Z] unset SSH_AGENT_PID; [2022-10-17T05:04:57.126Z] echo Agent pid 38 killed; [2022-10-17T05:04:57.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T05:04:57.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T05:04:57.225Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T05:04:57.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T05:04:57.356Z] $ docker exec 5d2ddeaed4359d560184ed646461e47821fea725283c80f5f93b2553f5a691c1 ssh-agent [2022-10-17T05:04:57.468Z] SSH_AUTH_SOCK=/tmp/ssh-PrpqsFZdwoPv/agent.70 [2022-10-17T05:04:57.468Z] SSH_AGENT_PID=76 [2022-10-17T05:04:57.474Z] Running ssh-add (command line suppressed) [2022-10-17T05:04:57.586Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/private_key_4563656702706038196.key (/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/private_key_4563656702706038196.key) [2022-10-17T05:04:57.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T05:04:57.927Z] + git semver init [2022-10-17T05:04:58.186Z] 2022-10-17 05:04:58,132 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T05:04:58.187Z] 2022-10-17 05:04:58,133 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-198/.semver [2022-10-17T05:04:58.187Z] 2022-10-17 05:04:58,133 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-198/.semver [2022-10-17T05:04:58.187Z] 2022-10-17 05:04:58,134 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-198/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-198, universal_newlines=False, shell=None, istream=None) [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:58,980 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-198/.git/info/exclude [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:58,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-198/.semver/PR-198 with force:False [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:58,981 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-198/.semver/PR-198 [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:58,985 [execute] INFO git cat-file --batch-check [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:58,986 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-198/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:58,994 [execute] INFO git cat-file --batch [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:58,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-198/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T05:04:59.132Z] 2022-10-17 05:04:59,000 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-198/.semver/PR-198 [2022-10-17T05:04:59.132Z] 0.0.0 [Pipeline] } [2022-10-17T05:04:59.162Z] $ docker exec --env ******** --env ******** 5d2ddeaed4359d560184ed646461e47821fea725283c80f5f93b2553f5a691c1 ssh-agent -k [2022-10-17T05:04:59.275Z] unset SSH_AUTH_SOCK; [2022-10-17T05:04:59.275Z] unset SSH_AGENT_PID; [2022-10-17T05:04:59.275Z] echo Agent pid 76 killed; [2022-10-17T05:04:59.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T05:04:59.704Z] + git semver [Pipeline] } [2022-10-17T05:04:59.989Z] $ docker stop --time=1 5d2ddeaed4359d560184ed646461e47821fea725283c80f5f93b2553f5a691c1 [2022-10-17T05:05:01.311Z] $ docker rm -f 5d2ddeaed4359d560184ed646461e47821fea725283c80f5f93b2553f5a691c1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T05:05:01.715Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T05:05:01.995Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T05:05:02.014Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T05:05:02.638Z] provisioning config files... [2022-10-17T05:05:02.651Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/config5366418670802543495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:05:03.003Z] ---> docker-login.sh [2022-10-17T05:05:03.003Z] nexus3.edgexfoundry.org:10001 [2022-10-17T05:05:03.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:03.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:03.003Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:03.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:03.003Z] [2022-10-17T05:05:03.003Z] Login Succeeded [2022-10-17T05:05:03.003Z] nexus3.edgexfoundry.org:10002 [2022-10-17T05:05:03.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:03.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:03.003Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:03.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:03.003Z] [2022-10-17T05:05:03.003Z] Login Succeeded [2022-10-17T05:05:03.003Z] nexus3.edgexfoundry.org:10003 [2022-10-17T05:05:03.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:03.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:03.263Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:03.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:03.263Z] [2022-10-17T05:05:03.263Z] Login Succeeded [2022-10-17T05:05:03.263Z] nexus3.edgexfoundry.org:10004 [2022-10-17T05:05:03.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:03.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:03.263Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:03.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:03.263Z] [2022-10-17T05:05:03.263Z] Login Succeeded [2022-10-17T05:05:03.263Z] docker.io [2022-10-17T05:05:03.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:03.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:03.783Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:03.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:03.783Z] [2022-10-17T05:05:03.783Z] Login Succeeded [2022-10-17T05:05:03.783Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T05:05:03.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T05:05:04.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:05:04.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:05:04.094Z] ========================================================= [2022-10-17T05:05:04.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T05:05:04.094Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:05:04.556Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T05:05:04.556Z] Sending build context to Docker daemon 5.521MB [2022-10-17T05:05:04.556Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:05:04.556Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T05:05:04.556Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T05:05:04.556Z] 213ec9aee27d: Pulling fs layer [2022-10-17T05:05:04.556Z] 4583459ba037: Pulling fs layer [2022-10-17T05:05:04.556Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T05:05:04.556Z] 53926ce57604: Pulling fs layer [2022-10-17T05:05:04.556Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T05:05:04.556Z] 30f14e443154: Pulling fs layer [2022-10-17T05:05:04.556Z] 801331c1e519: Pulling fs layer [2022-10-17T05:05:04.556Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T05:05:04.556Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T05:05:04.556Z] 21b2b0c7a3f4: Waiting [2022-10-17T05:05:04.556Z] 99cc6dd402b0: Waiting [2022-10-17T05:05:04.556Z] 7d9ed39f4882: Waiting [2022-10-17T05:05:04.556Z] 53926ce57604: Waiting [2022-10-17T05:05:04.556Z] 801331c1e519: Waiting [2022-10-17T05:05:04.556Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T05:05:04.556Z] 93c1e223e6f2: Download complete [2022-10-17T05:05:04.556Z] 4583459ba037: Verifying Checksum [2022-10-17T05:05:04.556Z] 4583459ba037: Download complete [2022-10-17T05:05:04.556Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T05:05:04.556Z] 21b2b0c7a3f4: Download complete [2022-10-17T05:05:04.556Z] 30f14e443154: Verifying Checksum [2022-10-17T05:05:04.556Z] 30f14e443154: Download complete [2022-10-17T05:05:04.820Z] 213ec9aee27d: Verifying Checksum [2022-10-17T05:05:04.820Z] 213ec9aee27d: Download complete [2022-10-17T05:05:04.820Z] 801331c1e519: Verifying Checksum [2022-10-17T05:05:04.820Z] 801331c1e519: Download complete [2022-10-17T05:05:04.820Z] 213ec9aee27d: Pull complete [2022-10-17T05:05:05.082Z] 4583459ba037: Pull complete [2022-10-17T05:05:05.082Z] 93c1e223e6f2: Pull complete [2022-10-17T05:05:05.342Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T05:05:05.342Z] 99cc6dd402b0: Download complete [2022-10-17T05:05:05.602Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T05:05:05.602Z] 7d9ed39f4882: Download complete [2022-10-17T05:05:05.602Z] 53926ce57604: Verifying Checksum [2022-10-17T05:05:05.602Z] 53926ce57604: Download complete [2022-10-17T05:05:09.786Z] 53926ce57604: Pull complete [2022-10-17T05:05:09.786Z] 21b2b0c7a3f4: Pull complete [2022-10-17T05:05:09.786Z] 30f14e443154: Pull complete [2022-10-17T05:05:09.786Z] 801331c1e519: Pull complete [2022-10-17T05:05:11.691Z] 99cc6dd402b0: Pull complete [2022-10-17T05:05:12.627Z] 7d9ed39f4882: Pull complete [2022-10-17T05:05:12.627Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T05:05:12.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T05:05:12.627Z] ---> 1dedd983c030 [2022-10-17T05:05:12.627Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:05:14.011Z] ---> Running in 8f26eb2dafaa [2022-10-17T05:05:14.011Z] Removing intermediate container 8f26eb2dafaa [2022-10-17T05:05:14.011Z] ---> 00cba4e35848 [2022-10-17T05:05:14.011Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:05:14.270Z] ---> Running in a92d5e0877e3 [2022-10-17T05:05:14.270Z] Removing intermediate container a92d5e0877e3 [2022-10-17T05:05:14.270Z] ---> 3e2f081e5add [2022-10-17T05:05:14.270Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T05:05:14.270Z] ---> Running in 2cae3a2b560c [2022-10-17T05:05:14.529Z] Removing intermediate container 2cae3a2b560c [2022-10-17T05:05:14.529Z] ---> 1b2780041a94 [2022-10-17T05:05:14.529Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T05:05:14.529Z] ---> Running in 688c74619f2a [2022-10-17T05:05:14.529Z] Removing intermediate container 688c74619f2a [2022-10-17T05:05:14.529Z] ---> 732b298f58d7 [2022-10-17T05:05:14.529Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:05:14.529Z] ---> Running in c034b0052352 [2022-10-17T05:05:15.094Z] Removing intermediate container c034b0052352 [2022-10-17T05:05:15.094Z] ---> 59c7fe162cf4 [2022-10-17T05:05:15.094Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T05:05:15.094Z] ---> Running in 7a49f17c8076 [2022-10-17T05:05:15.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T05:05:16.289Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T05:05:16.548Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T05:05:16.809Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T05:05:16.809Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T05:05:16.809Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T05:05:17.069Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T05:05:17.069Z] OK: 216 MiB in 55 packages [2022-10-17T05:05:17.329Z] Removing intermediate container 7a49f17c8076 [2022-10-17T05:05:17.329Z] ---> c85308beaab6 [2022-10-17T05:05:17.329Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-17T05:05:17.329Z] ---> Running in 46190193b301 [2022-10-17T05:05:17.455Z] Still waiting to schedule task [2022-10-17T05:05:17.455Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8024’ [2022-10-17T05:05:17.589Z] Removing intermediate container 46190193b301 [2022-10-17T05:05:17.589Z] ---> 7a522d30dd40 [2022-10-17T05:05:17.589Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T05:05:17.589Z] ---> 1ddedb613e23 [2022-10-17T05:05:17.589Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:05:17.589Z] ---> Running in 9dfa7f66c0d9 [2022-10-17T05:05:32.478Z] Removing intermediate container 9dfa7f66c0d9 [2022-10-17T05:05:32.478Z] ---> d384d3a492f8 [2022-10-17T05:05:32.478Z] Step 12/13 : COPY . . [2022-10-17T05:05:32.478Z] ---> 57b29ddcd985 [2022-10-17T05:05:32.478Z] Step 13/13 : RUN ${MAKE} [2022-10-17T05:05:32.478Z] ---> Running in d50d5dee5509 [2022-10-17T05:05:32.736Z] noop [2022-10-17T05:05:33.302Z] Removing intermediate container d50d5dee5509 [2022-10-17T05:05:33.302Z] ---> e9e5e7349821 [2022-10-17T05:05:33.302Z] Successfully built e9e5e7349821 [2022-10-17T05:05:33.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:05:33.760Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T05:05:33.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:05:33.908Z] prd-ubuntu20.04-docker-8c-8g-8023 does not seem to be running inside a container [2022-10-17T05:05:33.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-198 -v /w/workspace/gexfoundry_device-snmp-go_PR-198:/w/workspace/gexfoundry_device-snmp-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T05:05:34.360Z] $ docker top 5b9d22992ff75b9ca6c32c6233a67bc0953e225a233caf55aa5e9689c66d90b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:05:34.757Z] + go version [2022-10-17T05:05:34.757Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T05:05:34.792Z] $ docker stop --time=1 5b9d22992ff75b9ca6c32c6233a67bc0953e225a233caf55aa5e9689c66d90b3 [2022-10-17T05:05:36.088Z] $ docker rm -f 5b9d22992ff75b9ca6c32c6233a67bc0953e225a233caf55aa5e9689c66d90b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:05:36.787Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T05:05:36.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:05:36.936Z] prd-ubuntu20.04-docker-8c-8g-8023 does not seem to be running inside a container [2022-10-17T05:05:36.967Z] $ 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-198 -v /w/workspace/gexfoundry_device-snmp-go_PR-198:/w/workspace/gexfoundry_device-snmp-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T05:05:37.340Z] $ docker top fc046e704b7d550f2fda93236ec782a2c3e36a5259b75da62f4973963f20f072 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:05:37.739Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-198 [Pipeline] fileExists [Pipeline] sh [2022-10-17T05:05:38.091Z] + make test [2022-10-17T05:05:38.091Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T05:05:38.351Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-17T05:05:48.333Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-17T05:05:48.333Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-10-17T05:05:53.598Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T05:05:53.598Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T05:05:56.123Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T05:05:56.123Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T05:05:56.123Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T05:05:56.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T05:05:56.440Z] $ docker stop --time=1 fc046e704b7d550f2fda93236ec782a2c3e36a5259b75da62f4973963f20f072 [2022-10-17T05:05:58.074Z] $ docker rm -f fc046e704b7d550f2fda93236ec782a2c3e36a5259b75da62f4973963f20f072 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T05:05:58.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T05:05:58.741Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T05:05:59.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T05:05:59.635Z] + ls -al . [2022-10-17T05:05:59.635Z] total 172 [2022-10-17T05:05:59.635Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 05:05 . [2022-10-17T05:05:59.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:04 .. [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 05:04 .dockerignore [2022-10-17T05:05:59.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:05 .git [2022-10-17T05:05:59.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:04 .github [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 05:04 .gitignore [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:04 .golangci.yml [2022-10-17T05:05:59.635Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:04 .semver [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 05:04 Attribution.txt [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 05:04 CHANGELOG.md [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 05:04 Dockerfile [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:04 GOVERNANCE.md [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 05:04 Jenkinsfile [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:04 LICENSE [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 05:04 Makefile [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 05:04 OWNERS.md [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 05:04 README.md [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 05:05 VERSION [2022-10-17T05:05:59.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:04 bin [2022-10-17T05:05:59.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:04 cmd [2022-10-17T05:05:59.635Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 05:05 coverage.out [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 05:04 go.mod [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 05:04 go.sum [2022-10-17T05:05:59.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:04 internal [2022-10-17T05:05:59.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:04 snap [2022-10-17T05:05:59.635Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:06:00.031Z] + 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=cd8bf5961164675082481f4db5aa3215ec2f843f --label arch=amd64 --label version=0.0.0 . [2022-10-17T05:06:00.031Z] Sending build context to Docker daemon 5.529MB [2022-10-17T05:06:00.031Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:06:00.031Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T05:06:00.031Z] ---> e9e5e7349821 [2022-10-17T05:06:00.031Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:06:00.031Z] ---> Running in 146265611ec2 [2022-10-17T05:06:00.031Z] Removing intermediate container 146265611ec2 [2022-10-17T05:06:00.031Z] ---> 075c2c8060b0 [2022-10-17T05:06:00.031Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:06:00.289Z] ---> Running in 031eb891f90e [2022-10-17T05:06:00.289Z] Removing intermediate container 031eb891f90e [2022-10-17T05:06:00.289Z] ---> 6a2fa49e57fc [2022-10-17T05:06:00.289Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T05:06:00.289Z] ---> Running in 8b152942e25f [2022-10-17T05:06:00.289Z] Removing intermediate container 8b152942e25f [2022-10-17T05:06:00.289Z] ---> 358c5b9cf06d [2022-10-17T05:06:00.289Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T05:06:00.289Z] ---> Running in ff6e5ab8aad9 [2022-10-17T05:06:00.548Z] Removing intermediate container ff6e5ab8aad9 [2022-10-17T05:06:00.548Z] ---> 31cf99d563af [2022-10-17T05:06:00.548Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:06:00.548Z] ---> Running in 566fee97367d [2022-10-17T05:06:01.117Z] Removing intermediate container 566fee97367d [2022-10-17T05:06:01.117Z] ---> 4f97f3c1f9f9 [2022-10-17T05:06:01.117Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T05:06:01.117Z] ---> Running in 5778193befde [2022-10-17T05:06:01.376Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T05:06:02.313Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T05:06:02.572Z] OK: 216 MiB in 55 packages [2022-10-17T05:06:02.830Z] Removing intermediate container 5778193befde [2022-10-17T05:06:02.830Z] ---> 61434a4e120b [2022-10-17T05:06:02.830Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-17T05:06:02.830Z] ---> Running in 8e73ad2f5e40 [2022-10-17T05:06:03.092Z] Removing intermediate container 8e73ad2f5e40 [2022-10-17T05:06:03.092Z] ---> 80788f3eb11b [2022-10-17T05:06:03.092Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-17T05:06:03.092Z] ---> e22e18923bc8 [2022-10-17T05:06:03.092Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:06:03.092Z] ---> Running in 8e2dbcf9df73 [2022-10-17T05:06:04.027Z] Removing intermediate container 8e2dbcf9df73 [2022-10-17T05:06:04.027Z] ---> de9ba2a1ac3b [2022-10-17T05:06:04.027Z] Step 12/25 : COPY . . [2022-10-17T05:06:04.027Z] ---> 10eab7c8a342 [2022-10-17T05:06:04.027Z] Step 13/25 : RUN ${MAKE} [2022-10-17T05:06:04.027Z] ---> Running in 84a642382eb8 [2022-10-17T05:06:04.288Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.40 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-17T05:06:22.370Z] Removing intermediate container 84a642382eb8 [2022-10-17T05:06:22.370Z] ---> b152a7a8b2ea [2022-10-17T05:06:22.370Z] Step 14/25 : FROM alpine:3.16 [2022-10-17T05:06:22.937Z] 3.16: Pulling from library/alpine [2022-10-17T05:06:23.196Z] 213ec9aee27d: Already exists [2022-10-17T05:06:23.455Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T05:06:23.455Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T05:06:23.455Z] ---> 9c6f07244728 [2022-10-17T05:06:23.455Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T05:06:23.455Z] ---> Running in 641933c1f3b8 [2022-10-17T05:06:23.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T05:06:23.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T05:06:23.974Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T05:06:23.974Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T05:06:23.974Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T05:06:23.974Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T05:06:23.974Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T05:06:23.974Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T05:06:23.974Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T05:06:23.974Z] OK: 8 MiB in 20 packages [2022-10-17T05:06:24.540Z] Removing intermediate container 641933c1f3b8 [2022-10-17T05:06:24.540Z] ---> d7ada87ca59f [2022-10-17T05:06:24.540Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-17T05:06:25.107Z] ---> abc470ae8973 [2022-10-17T05:06:25.107Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-17T05:06:25.107Z] ---> aaa50ca76649 [2022-10-17T05:06:25.107Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-17T05:06:25.107Z] ---> 8617ceab6f8e [2022-10-17T05:06:25.107Z] Step 19/25 : EXPOSE 59993 [2022-10-17T05:06:25.365Z] ---> Running in 5df231e1c12a [2022-10-17T05:06:25.365Z] Removing intermediate container 5df231e1c12a [2022-10-17T05:06:25.365Z] ---> 555bb9849291 [2022-10-17T05:06:25.365Z] Step 20/25 : EXPOSE 161 [2022-10-17T05:06:25.365Z] ---> Running in 0bd8dcf62dfa [2022-10-17T05:06:25.365Z] Removing intermediate container 0bd8dcf62dfa [2022-10-17T05:06:25.365Z] ---> 00e1ffe71a87 [2022-10-17T05:06:25.365Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-17T05:06:25.365Z] ---> Running in df5001f45aba [2022-10-17T05:06:25.623Z] Removing intermediate container df5001f45aba [2022-10-17T05:06:25.623Z] ---> 54bb767317d8 [2022-10-17T05:06:25.623Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-17T05:06:25.623Z] ---> Running in 3a1f1511a4f4 [2022-10-17T05:06:25.623Z] Removing intermediate container 3a1f1511a4f4 [2022-10-17T05:06:25.623Z] ---> 9266537358a9 [2022-10-17T05:06:25.623Z] Step 23/25 : LABEL arch=amd64 [2022-10-17T05:06:25.623Z] ---> Running in 6d736e042c3a [2022-10-17T05:06:25.882Z] Removing intermediate container 6d736e042c3a [2022-10-17T05:06:25.882Z] ---> 984894f92cc0 [2022-10-17T05:06:25.882Z] Step 24/25 : LABEL git_sha=cd8bf5961164675082481f4db5aa3215ec2f843f [2022-10-17T05:06:25.882Z] ---> Running in ad7bf95d7a77 [2022-10-17T05:06:25.882Z] Removing intermediate container ad7bf95d7a77 [2022-10-17T05:06:25.882Z] ---> bdeee4b94d92 [2022-10-17T05:06:25.882Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T05:06:25.882Z] ---> Running in 8a73246343b0 [2022-10-17T05:06:26.142Z] Removing intermediate container 8a73246343b0 [2022-10-17T05:06:26.142Z] ---> 6dc1de69e80b [2022-10-17T05:06:26.142Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T05:06:26.142Z] Successfully built 6dc1de69e80b [2022-10-17T05:06:26.142Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:06:26.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:06:26.985Z] [2022-10-17T05:06:26.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:06:27.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:06:27.353Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T05:06:27.353Z] 5eb5b503b376: Pulling fs layer [2022-10-17T05:06:27.353Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T05:06:27.353Z] ec43610c2a17: Pulling fs layer [2022-10-17T05:06:27.353Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T05:06:27.353Z] 33b1e0a273af: Pulling fs layer [2022-10-17T05:06:27.353Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T05:06:27.353Z] 2f39f015ded8: Pulling fs layer [2022-10-17T05:06:27.353Z] 3a2ae6a8a46f: Waiting [2022-10-17T05:06:27.353Z] 33b1e0a273af: Waiting [2022-10-17T05:06:27.353Z] 2f39f015ded8: Waiting [2022-10-17T05:06:27.353Z] 5d3b04190fa2: Waiting [2022-10-17T05:06:27.353Z] 5c69ac0246d0: Download complete [2022-10-17T05:06:27.353Z] 3a2ae6a8a46f: Download complete [2022-10-17T05:06:27.353Z] 33b1e0a273af: Verifying Checksum [2022-10-17T05:06:27.353Z] 33b1e0a273af: Download complete [2022-10-17T05:06:27.610Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T05:06:27.610Z] 5d3b04190fa2: Download complete [2022-10-17T05:06:27.610Z] ec43610c2a17: Verifying Checksum [2022-10-17T05:06:27.610Z] ec43610c2a17: Download complete [2022-10-17T05:06:27.610Z] 5eb5b503b376: Verifying Checksum [2022-10-17T05:06:27.610Z] 5eb5b503b376: Download complete [2022-10-17T05:06:28.177Z] 2f39f015ded8: Download complete [2022-10-17T05:06:28.743Z] 5eb5b503b376: Pull complete [2022-10-17T05:06:29.001Z] 5c69ac0246d0: Pull complete [2022-10-17T05:06:29.262Z] ec43610c2a17: Pull complete [2022-10-17T05:06:29.262Z] 3a2ae6a8a46f: Pull complete [2022-10-17T05:06:29.519Z] 33b1e0a273af: Pull complete [2022-10-17T05:06:29.519Z] 5d3b04190fa2: Pull complete [2022-10-17T05:06:33.704Z] 2f39f015ded8: Pull complete [2022-10-17T05:06:33.704Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T05:06:33.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:06:33.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:06:33.910Z] prd-ubuntu20.04-docker-8c-8g-8023 does not seem to be running inside a container [2022-10-17T05:06:33.942Z] $ 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-198 -v /w/workspace/gexfoundry_device-snmp-go_PR-198:/w/workspace/gexfoundry_device-snmp-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T05:06:35.289Z] $ docker top adba042f785c81fbcca8a59bc5488bdb9a5b792decc88420e90558c0b217598a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:06:35.733Z] ---> job-cost.sh [2022-10-17T05:06:35.733Z] lf-activate-venv: SKIPPING [2022-10-17T05:06:35.733Z] INFO: No Stack... [2022-10-17T05:06:35.993Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T05:06:36.561Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T05:06:36.875Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-198/archives/cost.csv [2022-10-17T05:06:36.875Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T05:06:36.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] [2022-10-17T05:06:36.920Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] did not exist. Created. [2022-10-17T05:06:36.920Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T05:06:37.305Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T05:06:37.356Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T05:06:37.382Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T05:06:37.461Z] $ docker stop --time=1 adba042f785c81fbcca8a59bc5488bdb9a5b792decc88420e90558c0b217598a [2022-10-17T05:06:38.646Z] $ docker rm -f adba042f785c81fbcca8a59bc5488bdb9a5b792decc88420e90558c0b217598a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T05:07:59.566Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8025 in /w/workspace/gexfoundry_device-snmp-go_PR-198 [Pipeline] { [Pipeline] ws [2022-10-17T05:07:59.605Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-10-17T05:07:59.683Z] Selected Git installation does not exist. Using Default [2022-10-17T05:07:59.683Z] The recommended git tool is: NONE [2022-10-17T05:08:05.028Z] using credential edgex-jenkins-ssh [2022-10-17T05:08:05.049Z] Cloning the remote Git repository [2022-10-17T05:08:05.095Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-17T05:08:05.180Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-10-17T05:08:05.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-17T05:08:05.338Z] > git --version # timeout=10 [2022-10-17T05:08:05.359Z] > git --version # 'git version 2.25.1' [2022-10-17T05:08:05.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T05:08:05.418Z] Verifying host key using known hosts file [2022-10-17T05:08:05.618Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T05:08:05.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T05:08:06.714Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-17T05:08:06.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T05:08:08.273Z] Merging remotes/origin/main commit 86e265f4693997e38d18c21fe32d96af1ec8218a into PR head commit cd8bf5961164675082481f4db5aa3215ec2f843f [2022-10-17T05:08:07.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-17T05:08:07.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-17T05:08:07.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T05:08:07.683Z] Verifying host key using known hosts file [2022-10-17T05:08:07.690Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T05:08:07.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T05:08:08.296Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T05:08:08.319Z] > git checkout -f cd8bf5961164675082481f4db5aa3215ec2f843f # timeout=10 [2022-10-17T05:08:08.404Z] > git remote # timeout=10 [2022-10-17T05:08:08.425Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T05:08:08.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T05:08:08.452Z] Verifying host key using known hosts file [2022-10-17T05:08:08.456Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T05:08:08.466Z] > git merge 86e265f4693997e38d18c21fe32d96af1ec8218a # timeout=10 [2022-10-17T05:08:08.496Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T05:08:08.514Z] Merge succeeded, producing cd8bf5961164675082481f4db5aa3215ec2f843f [2022-10-17T05:08:08.514Z] Checking out Revision cd8bf5961164675082481f4db5aa3215ec2f843f (PR-198) [2022-10-17T05:08:09.033Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-17T05:08:09.092Z] > git --version # timeout=10 [2022-10-17T05:08:09.102Z] > git --version # 'git version 2.25.1' [2022-10-17T05:08:09.117Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T05:08:08.523Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T05:08:08.540Z] > git checkout -f cd8bf5961164675082481f4db5aa3215ec2f843f # timeout=10 [2022-10-17T05:08:10.297Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T05:08:10.297Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T05:08:10.297Z] Dload Upload Total Spent Left Speed [2022-10-17T05:08:10.297Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-10-17T05:08:10.873Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T05:08:11.219Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T05:08:11.219Z] + sudo tee /etc/docker/daemon.new [2022-10-17T05:08:11.219Z] { [2022-10-17T05:08:11.219Z] "registry-mirrors": [ [2022-10-17T05:08:11.219Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T05:08:11.219Z] ], [2022-10-17T05:08:11.219Z] "bip": "10.250.0.254/24", [2022-10-17T05:08:11.219Z] "hosts": [ [2022-10-17T05:08:11.219Z] "tcp://0.0.0.0:5555", [2022-10-17T05:08:11.219Z] "unix:///var/run/docker.sock" [2022-10-17T05:08:11.219Z] ], [2022-10-17T05:08:11.219Z] "mtu": 1458, [2022-10-17T05:08:11.219Z] "selinux-enabled": true, [2022-10-17T05:08:11.219Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T05:08:11.219Z] } [Pipeline] sh [2022-10-17T05:08:11.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T05:08:11.916Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T05:08:30.265Z] provisioning config files... [2022-10-17T05:08:30.293Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7922515101843011140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:08:30.684Z] ---> docker-login.sh [2022-10-17T05:08:30.684Z] nexus3.edgexfoundry.org:10001 [2022-10-17T05:08:31.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:08:31.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:08:31.280Z] Configure a credential helper to remove this warning. See [2022-10-17T05:08:31.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:08:31.280Z] [2022-10-17T05:08:31.280Z] Login Succeeded [2022-10-17T05:08:31.280Z] nexus3.edgexfoundry.org:10002 [2022-10-17T05:08:31.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:08:31.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:08:31.837Z] Configure a credential helper to remove this warning. See [2022-10-17T05:08:31.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:08:31.837Z] [2022-10-17T05:08:31.837Z] Login Succeeded [2022-10-17T05:08:31.837Z] nexus3.edgexfoundry.org:10003 [2022-10-17T05:08:32.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:08:32.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:08:32.110Z] Configure a credential helper to remove this warning. See [2022-10-17T05:08:32.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:08:32.110Z] [2022-10-17T05:08:32.110Z] Login Succeeded [2022-10-17T05:08:32.110Z] nexus3.edgexfoundry.org:10004 [2022-10-17T05:08:32.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:08:32.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:08:32.385Z] Configure a credential helper to remove this warning. See [2022-10-17T05:08:32.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:08:32.385Z] [2022-10-17T05:08:32.385Z] Login Succeeded [2022-10-17T05:08:32.385Z] docker.io [2022-10-17T05:08:32.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:08:33.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:08:33.250Z] Configure a credential helper to remove this warning. See [2022-10-17T05:08:33.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:08:33.250Z] [2022-10-17T05:08:33.250Z] Login Succeeded [2022-10-17T05:08:33.250Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T05:08:33.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T05:08:33.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:08:33.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:08:33.617Z] ========================================================= [2022-10-17T05:08:33.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T05:08:33.617Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:08:34.125Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T05:08:34.394Z] Sending build context to Docker daemon 2.851MB [2022-10-17T05:08:34.394Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:08:34.394Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T05:08:34.674Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T05:08:34.674Z] 9b18e9b68314: Pulling fs layer [2022-10-17T05:08:34.674Z] d32db5db7311: Pulling fs layer [2022-10-17T05:08:34.674Z] d0c4b47475fc: Pulling fs layer [2022-10-17T05:08:34.674Z] 5831b945b038: Pulling fs layer [2022-10-17T05:08:34.674Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T05:08:34.674Z] e10730c5d714: Pulling fs layer [2022-10-17T05:08:34.674Z] 5dd5c2283517: Pulling fs layer [2022-10-17T05:08:34.674Z] d5ac0230b979: Pulling fs layer [2022-10-17T05:08:34.674Z] e10730c5d714: Waiting [2022-10-17T05:08:34.674Z] 5dd5c2283517: Waiting [2022-10-17T05:08:34.674Z] d5ac0230b979: Waiting [2022-10-17T05:08:34.674Z] 5831b945b038: Waiting [2022-10-17T05:08:34.674Z] 86bbec2aaacd: Waiting [2022-10-17T05:08:34.674Z] d0c4b47475fc: Verifying Checksum [2022-10-17T05:08:34.674Z] d0c4b47475fc: Download complete [2022-10-17T05:08:34.674Z] d32db5db7311: Download complete [2022-10-17T05:08:34.674Z] 86bbec2aaacd: Download complete [2022-10-17T05:08:34.674Z] e10730c5d714: Verifying Checksum [2022-10-17T05:08:34.674Z] e10730c5d714: Download complete [2022-10-17T05:08:34.674Z] 9b18e9b68314: Verifying Checksum [2022-10-17T05:08:34.674Z] 9b18e9b68314: Download complete [2022-10-17T05:08:35.650Z] 9b18e9b68314: Pull complete [2022-10-17T05:08:35.921Z] d5ac0230b979: Verifying Checksum [2022-10-17T05:08:35.922Z] d5ac0230b979: Download complete [2022-10-17T05:08:36.191Z] d32db5db7311: Pull complete [2022-10-17T05:08:36.471Z] d0c4b47475fc: Pull complete [2022-10-17T05:08:38.064Z] 5dd5c2283517: Verifying Checksum [2022-10-17T05:08:38.064Z] 5dd5c2283517: Download complete [2022-10-17T05:08:39.041Z] 5831b945b038: Verifying Checksum [2022-10-17T05:08:39.041Z] 5831b945b038: Download complete [2022-10-17T05:08:51.577Z] 5831b945b038: Pull complete [2022-10-17T05:08:51.577Z] 86bbec2aaacd: Pull complete [2022-10-17T05:08:51.577Z] e10730c5d714: Pull complete [2022-10-17T05:08:58.255Z] 5dd5c2283517: Pull complete [2022-10-17T05:08:59.676Z] d5ac0230b979: Pull complete [2022-10-17T05:08:59.676Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T05:08:59.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T05:08:59.676Z] ---> 59b3b1a385d4 [2022-10-17T05:08:59.676Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:09:00.648Z] ---> Running in 1a1a3d373a99 [2022-10-17T05:09:00.919Z] Removing intermediate container 1a1a3d373a99 [2022-10-17T05:09:00.919Z] ---> 89c59d6aa96a [2022-10-17T05:09:00.919Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:09:01.187Z] ---> Running in 432bf8b35c56 [2022-10-17T05:09:01.460Z] Removing intermediate container 432bf8b35c56 [2022-10-17T05:09:01.460Z] ---> 7dcc4ac22374 [2022-10-17T05:09:01.460Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T05:09:01.460Z] ---> Running in 5d825704bbe0 [2022-10-17T05:09:01.729Z] Removing intermediate container 5d825704bbe0 [2022-10-17T05:09:01.729Z] ---> 7e496bfcb9c0 [2022-10-17T05:09:01.729Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T05:09:01.996Z] ---> Running in ea7b5db44e0f [2022-10-17T05:09:02.265Z] Removing intermediate container ea7b5db44e0f [2022-10-17T05:09:02.265Z] ---> 379ab18e65a2 [2022-10-17T05:09:02.265Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:09:02.265Z] ---> Running in c40ca3f5f2f5 [2022-10-17T05:09:04.208Z] Removing intermediate container c40ca3f5f2f5 [2022-10-17T05:09:04.208Z] ---> 498544d72525 [2022-10-17T05:09:04.208Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T05:09:04.208Z] ---> Running in 6ef717846388 [2022-10-17T05:09:05.170Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T05:09:05.754Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T05:09:06.718Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T05:09:06.987Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T05:09:06.987Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T05:09:07.257Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T05:09:07.257Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T05:09:07.257Z] OK: 226 MiB in 55 packages [2022-10-17T05:09:08.217Z] Removing intermediate container 6ef717846388 [2022-10-17T05:09:08.217Z] ---> efbe34593fb6 [2022-10-17T05:09:08.217Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-17T05:09:08.488Z] ---> Running in 93d0df9c5a62 [2022-10-17T05:09:08.757Z] Removing intermediate container 93d0df9c5a62 [2022-10-17T05:09:08.757Z] ---> 85da14250ae4 [2022-10-17T05:09:08.757Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T05:09:09.028Z] ---> 11993e76d330 [2022-10-17T05:09:09.028Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:09:09.297Z] ---> Running in e26be53a81e4 [2022-10-17T05:09:56.182Z] Removing intermediate container e26be53a81e4 [2022-10-17T05:09:56.182Z] ---> cfab2b1866ba [2022-10-17T05:09:56.182Z] Step 12/13 : COPY . . [2022-10-17T05:09:57.148Z] ---> b3f9a2090447 [2022-10-17T05:09:57.148Z] Step 13/13 : RUN ${MAKE} [2022-10-17T05:09:57.148Z] ---> Running in 295767c39b15 [2022-10-17T05:09:58.122Z] noop [2022-10-17T05:09:58.709Z] Removing intermediate container 295767c39b15 [2022-10-17T05:09:58.709Z] ---> 437cc1021b75 [2022-10-17T05:09:58.709Z] Successfully built 437cc1021b75 [2022-10-17T05:09:58.710Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:09:59.188Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T05:09:59.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:09:59.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-8025 does not seem to be running inside a container [2022-10-17T05:09:59.527Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-17T05:10:02.433Z] $ docker top 1aaf406160c473453df55f8abc9eec552ce99a1a855d25ba23fd06785212ffc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:10:03.318Z] + go version [2022-10-17T05:10:03.318Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T05:10:03.356Z] $ docker stop --time=1 1aaf406160c473453df55f8abc9eec552ce99a1a855d25ba23fd06785212ffc6 [2022-10-17T05:10:05.008Z] $ docker rm -f 1aaf406160c473453df55f8abc9eec552ce99a1a855d25ba23fd06785212ffc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:10:05.848Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T05:10:05.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:10:06.110Z] prd-ubuntu20.04-docker-arm64-4c-16g-8025 does not seem to be running inside a container [2022-10-17T05:10:06.183Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-17T05:10:07.357Z] $ docker top 05f13a92dd58ecaedb41c7443b7db1a46d001b3f6d8ba826ad3abb27c0b6ae89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:10:08.247Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T05:10:08.617Z] + make test [2022-10-17T05:10:08.617Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T05:10:10.566Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-17T05:11:32.210Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-17T05:11:32.210Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements [2022-10-17T05:11:32.210Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T05:11:32.210Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T05:11:54.296Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T05:11:54.296Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T05:11:54.296Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T05:11:54.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T05:11:54.369Z] $ docker stop --time=1 05f13a92dd58ecaedb41c7443b7db1a46d001b3f6d8ba826ad3abb27c0b6ae89 [2022-10-17T05:11:56.109Z] $ docker rm -f 05f13a92dd58ecaedb41c7443b7db1a46d001b3f6d8ba826ad3abb27c0b6ae89 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T05:11:57.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T05:11:57.109Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T05:11:57.494Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T05:11:58.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T05:11:58.397Z] + ls -al . [2022-10-17T05:11:58.397Z] total 168 [2022-10-17T05:11:58.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:10 . [2022-10-17T05:11:58.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:08 .. [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 05:08 .dockerignore [2022-10-17T05:11:58.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:08 .git [2022-10-17T05:11:58.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:08 .github [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 05:08 .gitignore [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:08 .golangci.yml [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 05:08 Attribution.txt [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 05:08 CHANGELOG.md [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 05:08 Dockerfile [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:08 GOVERNANCE.md [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 05:08 Jenkinsfile [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:08 LICENSE [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 05:08 Makefile [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 05:08 OWNERS.md [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 05:08 README.md [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 05:05 VERSION [2022-10-17T05:11:58.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:08 bin [2022-10-17T05:11:58.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:08 cmd [2022-10-17T05:11:58.397Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 05:11 coverage.out [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 05:08 go.mod [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 05:08 go.sum [2022-10-17T05:11:58.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:08 internal [2022-10-17T05:11:58.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:08 snap [2022-10-17T05:11:58.397Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:11:58.810Z] + 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=cd8bf5961164675082481f4db5aa3215ec2f843f --label arch=arm64 --label version=0.0.0 . [2022-10-17T05:11:59.076Z] Sending build context to Docker daemon 2.86MB [2022-10-17T05:11:59.076Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:11:59.076Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T05:11:59.076Z] ---> 437cc1021b75 [2022-10-17T05:11:59.076Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:11:59.076Z] ---> Running in 357ee43c7daa [2022-10-17T05:11:59.343Z] Removing intermediate container 357ee43c7daa [2022-10-17T05:11:59.343Z] ---> 9af340f5531a [2022-10-17T05:11:59.343Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:11:59.609Z] ---> Running in 1e2f00d413d8 [2022-10-17T05:11:59.875Z] Removing intermediate container 1e2f00d413d8 [2022-10-17T05:11:59.875Z] ---> f50ee1742c8c [2022-10-17T05:11:59.875Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T05:11:59.875Z] ---> Running in 2fe73d9dc785 [2022-10-17T05:12:00.141Z] Removing intermediate container 2fe73d9dc785 [2022-10-17T05:12:00.141Z] ---> bd1419390412 [2022-10-17T05:12:00.141Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T05:12:00.141Z] ---> Running in dc4bc9050a69 [2022-10-17T05:12:00.407Z] Removing intermediate container dc4bc9050a69 [2022-10-17T05:12:00.407Z] ---> ff8b698e15ce [2022-10-17T05:12:00.407Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:12:00.407Z] ---> Running in 637deecb10b1 [2022-10-17T05:12:02.357Z] Removing intermediate container 637deecb10b1 [2022-10-17T05:12:02.357Z] ---> 8d640bfb99e7 [2022-10-17T05:12:02.357Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T05:12:02.357Z] ---> Running in 8b573d1c8b3b [2022-10-17T05:12:02.941Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T05:12:03.900Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T05:12:04.866Z] OK: 226 MiB in 55 packages [2022-10-17T05:12:05.451Z] Removing intermediate container 8b573d1c8b3b [2022-10-17T05:12:05.451Z] ---> d4568fc1843d [2022-10-17T05:12:05.451Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-17T05:12:05.716Z] ---> Running in aff293d88113 [2022-10-17T05:12:05.982Z] Removing intermediate container aff293d88113 [2022-10-17T05:12:05.982Z] ---> 13e4de665d45 [2022-10-17T05:12:05.982Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-17T05:12:06.248Z] ---> c9b5c4f9fcb7 [2022-10-17T05:12:06.248Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:12:06.515Z] ---> Running in a41e18bd2540 [2022-10-17T05:12:08.452Z] Removing intermediate container a41e18bd2540 [2022-10-17T05:12:08.452Z] ---> e56977cfe3e5 [2022-10-17T05:12:08.452Z] Step 12/25 : COPY . . [2022-10-17T05:12:09.033Z] ---> 3d245596cee7 [2022-10-17T05:12:09.033Z] Step 13/25 : RUN ${MAKE} [2022-10-17T05:12:09.033Z] ---> Running in 683f8d5c6ff4 [2022-10-17T05:12:09.996Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.40 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-17T05:14:46.743Z] Removing intermediate container 683f8d5c6ff4 [2022-10-17T05:14:46.743Z] ---> 2b54c1a10fd5 [2022-10-17T05:14:46.743Z] Step 14/25 : FROM alpine:3.16 [2022-10-17T05:14:46.743Z] 3.16: Pulling from library/alpine [2022-10-17T05:14:46.743Z] 9b18e9b68314: Already exists [2022-10-17T05:14:46.743Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T05:14:46.743Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T05:14:46.743Z] ---> a6215f271958 [2022-10-17T05:14:46.743Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T05:14:46.743Z] ---> Running in f7d019d4ecc5 [2022-10-17T05:14:46.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T05:14:46.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T05:14:46.743Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T05:14:46.743Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T05:14:46.743Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T05:14:46.743Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T05:14:46.743Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T05:14:46.743Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T05:14:46.743Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T05:14:46.743Z] OK: 8 MiB in 20 packages [2022-10-17T05:14:46.743Z] Removing intermediate container f7d019d4ecc5 [2022-10-17T05:14:46.743Z] ---> d46d8244cdca [2022-10-17T05:14:46.743Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-17T05:14:46.743Z] ---> 564f5f1a22dd [2022-10-17T05:14:46.743Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-17T05:14:46.743Z] ---> d96ac47d3b9c [2022-10-17T05:14:46.743Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-17T05:14:46.743Z] ---> 5546e6a49782 [2022-10-17T05:14:46.743Z] Step 19/25 : EXPOSE 59993 [2022-10-17T05:14:46.743Z] ---> Running in a5224347610f [2022-10-17T05:14:46.743Z] Removing intermediate container a5224347610f [2022-10-17T05:14:46.743Z] ---> 51fe211ecb7b [2022-10-17T05:14:46.743Z] Step 20/25 : EXPOSE 161 [2022-10-17T05:14:46.743Z] ---> Running in 1d4b94d93bf4 [2022-10-17T05:14:46.743Z] Removing intermediate container 1d4b94d93bf4 [2022-10-17T05:14:46.743Z] ---> 0550eae206ca [2022-10-17T05:14:46.743Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-17T05:14:46.743Z] ---> Running in 0b414148f5cf [2022-10-17T05:14:46.743Z] Removing intermediate container 0b414148f5cf [2022-10-17T05:14:46.743Z] ---> c1dd3b988b00 [2022-10-17T05:14:46.743Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-17T05:14:46.743Z] ---> Running in 8abbc361df26 [2022-10-17T05:14:46.743Z] Removing intermediate container 8abbc361df26 [2022-10-17T05:14:46.743Z] ---> 8b963e6c5d81 [2022-10-17T05:14:46.743Z] Step 23/25 : LABEL arch=arm64 [2022-10-17T05:14:46.743Z] ---> Running in 2b37e2529d0a [2022-10-17T05:14:46.743Z] Removing intermediate container 2b37e2529d0a [2022-10-17T05:14:46.743Z] ---> 94755eda98d4 [2022-10-17T05:14:46.743Z] Step 24/25 : LABEL git_sha=cd8bf5961164675082481f4db5aa3215ec2f843f [2022-10-17T05:14:46.743Z] ---> Running in 5d4b13c0a15c [2022-10-17T05:14:46.743Z] Removing intermediate container 5d4b13c0a15c [2022-10-17T05:14:46.743Z] ---> d529b90088c3 [2022-10-17T05:14:46.743Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T05:14:46.743Z] ---> Running in aba504b64675 [2022-10-17T05:14:46.743Z] Removing intermediate container aba504b64675 [2022-10-17T05:14:46.743Z] ---> 28fab15e24da [2022-10-17T05:14:46.743Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T05:14:46.743Z] Successfully built 28fab15e24da [2022-10-17T05:14:46.743Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:14:47.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T05:14:47.541Z] [2022-10-17T05:14:47.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:14:47.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T05:14:47.945Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T05:14:47.945Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T05:14:47.945Z] 04944245beec: Pulling fs layer [2022-10-17T05:14:47.945Z] 699f458cf7ca: Pulling fs layer [2022-10-17T05:14:47.945Z] 765212b225bb: Pulling fs layer [2022-10-17T05:14:47.945Z] f23df028b6ca: Pulling fs layer [2022-10-17T05:14:47.945Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T05:14:47.945Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T05:14:47.945Z] 765212b225bb: Waiting [2022-10-17T05:14:47.945Z] f23df028b6ca: Waiting [2022-10-17T05:14:47.945Z] d65c8cfc05b1: Waiting [2022-10-17T05:14:47.945Z] 2437ff75d9bd: Waiting [2022-10-17T05:14:48.214Z] 04944245beec: Verifying Checksum [2022-10-17T05:14:48.214Z] 04944245beec: Download complete [2022-10-17T05:14:48.214Z] 765212b225bb: Verifying Checksum [2022-10-17T05:14:48.214Z] 765212b225bb: Download complete [2022-10-17T05:14:48.214Z] f23df028b6ca: Verifying Checksum [2022-10-17T05:14:48.214Z] f23df028b6ca: Download complete [2022-10-17T05:14:48.214Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T05:14:48.214Z] d65c8cfc05b1: Download complete [2022-10-17T05:14:48.482Z] 699f458cf7ca: Verifying Checksum [2022-10-17T05:14:48.482Z] 699f458cf7ca: Download complete [2022-10-17T05:14:48.749Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T05:14:48.749Z] 8998bd30e6a1: Download complete [2022-10-17T05:14:51.331Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T05:14:51.331Z] 2437ff75d9bd: Download complete [2022-10-17T05:14:52.733Z] 8998bd30e6a1: Pull complete [2022-10-17T05:14:53.001Z] 04944245beec: Pull complete [2022-10-17T05:14:54.404Z] 699f458cf7ca: Pull complete [2022-10-17T05:14:54.671Z] 765212b225bb: Pull complete [2022-10-17T05:14:55.251Z] f23df028b6ca: Pull complete [2022-10-17T05:14:55.517Z] d65c8cfc05b1: Pull complete [2022-10-17T05:15:10.509Z] 2437ff75d9bd: Pull complete [2022-10-17T05:15:10.509Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T05:15:10.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T05:15:10.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:15:10.826Z] prd-ubuntu20.04-docker-arm64-4c-16g-8025 does not seem to be running inside a container [2022-10-17T05:15:10.885Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T05:15:13.532Z] $ docker top 4af8a2a6b99e27f9f0072bbdc74a5420a95dbe511d5329b575a6f78f1dacb115 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:14.181Z] ---> job-cost.sh [2022-10-17T05:15:14.459Z] lf-activate-venv: SKIPPING [2022-10-17T05:15:14.459Z] INFO: No Stack... [2022-10-17T05:15:14.730Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T05:15:15.703Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T05:15:16.365Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-10-17T05:15:16.366Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T05:15:16.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] [2022-10-17T05:15:16.445Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] did not exist. Created. [2022-10-17T05:15:16.446Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T05:15:16.858Z] /w/workspace/device-snmp-go/1@tmp/durable-5743533e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T05:15:17.539Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T05:15:17.574Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T05:15:17.613Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T05:15:17.630Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T05:15:17.715Z] $ docker stop --time=1 4af8a2a6b99e27f9f0072bbdc74a5420a95dbe511d5329b575a6f78f1dacb115 [2022-10-17T05:15:19.237Z] $ docker rm -f 4af8a2a6b99e27f9f0072bbdc74a5420a95dbe511d5329b575a6f78f1dacb115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-17T05:15:20.178Z] provisioning config files... [2022-10-17T05:15:20.185Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/config10021110607568790268tmp [Pipeline] { [Pipeline] sh [2022-10-17T05:15:20.518Z] + set +x [2022-10-17T05:15:20.518Z] + bash -s -- [2022-10-17T05:15:20.518Z] + curl -s https://codecov.io/bash [2022-10-17T05:15:20.518Z] [2022-10-17T05:15:20.518Z] _____ _ [2022-10-17T05:15:20.518Z] / ____| | | [2022-10-17T05:15:20.518Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T05:15:20.518Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T05:15:20.518Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T05:15:20.518Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T05:15:20.518Z] Bash-1.0.6 [2022-10-17T05:15:20.518Z] [2022-10-17T05:15:20.518Z] [2022-10-17T05:15:20.518Z] ==> git version 2.25.1 found [2022-10-17T05:15:20.518Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-17T05:15:20.518Z] Release-Date: 2020-01-08 [2022-10-17T05:15:20.518Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T05:15:20.518Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T05:15:20.518Z] ==> Jenkins CI detected. [2022-10-17T05:15:20.518Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-198 [2022-10-17T05:15:20.518Z] project root: . [2022-10-17T05:15:20.518Z] --> token set from env [2022-10-17T05:15:20.518Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T05:15:20.518Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T05:15:20.518Z] ==> Python coveragepy not found [2022-10-17T05:15:20.518Z] ==> Searching for coverage reports in: [2022-10-17T05:15:20.518Z] + . [2022-10-17T05:15:20.518Z] -> Found 1 reports [2022-10-17T05:15:20.518Z] ==> Detecting git/mercurial file structure [2022-10-17T05:15:20.518Z] ==> Reading reports [2022-10-17T05:15:20.518Z] + ./coverage.out bytes=7631 [2022-10-17T05:15:20.518Z] ==> Appending adjustments [2022-10-17T05:15:20.518Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T05:15:20.518Z] + Found adjustments [2022-10-17T05:15:20.777Z] ==> Gzipping contents [2022-10-17T05:15:20.777Z] 4.0K /tmp/codecov.KGh18h.gz [2022-10-17T05:15:20.777Z] ==> Uploading reports [2022-10-17T05:15:20.777Z] url: https://codecov.io [2022-10-17T05:15:20.777Z] query: branch=PR-198&commit=cd8bf5961164675082481f4db5aa3215ec2f843f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=198&job=&cmd_args= [2022-10-17T05:15:20.777Z] -> Pinging Codecov [2022-10-17T05:15:20.777Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-198&commit=cd8bf5961164675082481f4db5aa3215ec2f843f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=198&job=&cmd_args= [2022-10-17T05:15:21.036Z] -> Uploading to [2022-10-17T05:15:21.036Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/6C56EA5C29638FB4528AC87E60AF5AE0/cd8bf5961164675082481f4db5aa3215ec2f843f/dc262359-5181-46fe-94e2-f5ea75f456c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T051520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7f29b7dfd99f3754c04767c907612c6da45469d3eef368b0f8b87c80cd330cb [2022-10-17T05:15:21.036Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T05:15:21.036Z] Dload Upload Total Spent Left Speed [2022-10-17T05:15:21.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6376 --:--:-- --:--:-- --:--:-- 6376 [2022-10-17T05:15:21.295Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/cd8bf5961164675082481f4db5aa3215ec2f843f [Pipeline] } [2022-10-17T05:15:21.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-17T05:15:23.057Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-198/archives ] [2022-10-17T05:15:23.057Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-198/archives [2022-10-17T05:15:23.057Z] total 16 [2022-10-17T05:15:23.057Z] drwxr-xr-x 3 root root 4096 Oct 17 05:06 . [2022-10-17T05:15:23.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:06 .. [2022-10-17T05:15:23.057Z] drwxr-xr-x 2 root root 4096 Oct 17 05:06 cost [2022-10-17T05:15:23.057Z] -rw-r--r-- 1 root root 86 Oct 17 05:06 cost.csv [2022-10-17T05:15:23.057Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-198/archives [2022-10-17T05:15:23.057Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-198/archives [2022-10-17T05:15:23.057Z] total 16 [2022-10-17T05:15:23.057Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:06 . [2022-10-17T05:15:23.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:06 .. [2022-10-17T05:15:23.057Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 05:06 cost [2022-10-17T05:15:23.057Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 17 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:23.384Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:24.271Z] ---> package-listing.sh [2022-10-17T05:15:24.271Z] ++ facter osfamily [2022-10-17T05:15:24.271Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T05:15:24.529Z] + OS_FAMILY=debian [2022-10-17T05:15:24.529Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-198 [2022-10-17T05:15:24.529Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T05:15:24.529Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T05:15:24.529Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T05:15:24.529Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T05:15:24.529Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-198 ']' [2022-10-17T05:15:24.529Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T05:15:24.529Z] + case "${OS_FAMILY}" in [2022-10-17T05:15:24.529Z] + dpkg -l [2022-10-17T05:15:24.529Z] + grep '^ii' [2022-10-17T05:15:24.529Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T05:15:24.529Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T05:15:24.529Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T05:15:24.529Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-198 ']' [2022-10-17T05:15:24.530Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-198/archives/ [2022-10-17T05:15:24.530Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-198/archives/ [Pipeline] echo [2022-10-17T05:15:24.579Z] 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-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T05:15:24.871Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:15:25.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:15:25.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:15:25.627Z] prd-ubuntu20.04-docker-8c-8g-8023 does not seem to be running inside a container [2022-10-17T05:15:25.659Z] $ 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-198/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-198 -v /w/workspace/gexfoundry_device-snmp-go_PR-198:/w/workspace/gexfoundry_device-snmp-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T05:15:25.873Z] $ docker top 832765175e8deb4a0f5e5b3fbd8113b8a2ed253a671c29ac00a98f48568f620f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:15:26.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T05:15:26.575Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T05:15:26.883Z] + ls /var/log/sa-host [2022-10-17T05:15:26.883Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T05:15:27.022Z] provisioning config files... [2022-10-17T05:15:27.032Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-198@tmp/config1020025953461311331tmp [Pipeline] { [Pipeline] echo [2022-10-17T05:15:27.093Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:27.402Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T05:15:27.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:27.830Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T05:15:27.859Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:28.167Z] ---> sudo-logs.sh [2022-10-17T05:15:28.167Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T05:15:28.252Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:28.558Z] ---> job-cost.sh [2022-10-17T05:15:28.558Z] lf-activate-venv: SKIPPING [2022-10-17T05:15:28.558Z] DEBUG: total: 0.2199999988079071 [2022-10-17T05:15:28.558Z] INFO: Retrieving Stack Cost... [2022-10-17T05:15:28.817Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T05:15:29.387Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T05:15:29.421Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:15:29.735Z] ---> logs-deploy.sh [2022-10-17T05:15:29.736Z] lf-activate-venv: SKIPPING [2022-10-17T05:15:29.736Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-198/1 [2022-10-17T05:15:29.736Z] INFO: archiving workspace using pattern(s): [2022-10-17T05:15:30.673Z] Archives upload complete. [2022-10-17T05:15:30.673Z] INFO: archiving logs to Nexus