Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 7f787c41a8349bce9f0eff8b0e3b9e9732a82243+3908b4199cdebd231b53d3be0ce1311ed20ae7a2 (f697b17b2eeaea92de42d8bcdfcb600f19f2c455) 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-ssh15808827397440975833.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-ssh13193039059329234561.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7262955568029150834.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 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-ssh4379452117061554896.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-191/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-191/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3769106447602322844.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1291 in /w/workspace/gexfoundry_device-snmp-go_PR-191 [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-191 # 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/191/head:refs/remotes/origin/PR-191 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 into PR head commit 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 Merge succeeded, producing 98912ebdeef750dc663bc852a7f4ea5aa1ff656e Checking out Revision 98912ebdeef750dc663bc852a7f4ea5aa1ff656e (PR-191) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 # 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 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98912ebdeef750dc663bc852a7f4ea5aa1ff656e # timeout=10 Commit message: "Merge commit '3908b4199cdebd231b53d3be0ce1311ed20ae7a2' into HEAD" > git rev-list --no-walk 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T03:27:57.038Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T03:27:57.100Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T03:27:57.114Z] ========================================================= [2022-09-27T03:27:57.114Z] EdgeX Global Pipelines Version Info [2022-09-27T03:27:57.114Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:27:57.814Z] ------------------- [2022-09-27T03:27:57.814Z] stable info: [2022-09-27T03:27:57.814Z] ------------------- [2022-09-27T03:27:57.815Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T03:27:57.815Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T03:27:57.815Z] Message: update stable to v1.0.239 [2022-09-27T03:27:58.386Z] ------------------- [2022-09-27T03:27:58.386Z] experimental info: [2022-09-27T03:27:58.386Z] ------------------- [2022-09-27T03:27:58.386Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T03:27:58.386Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T03:27:58.386Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T03:27:58.587Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-09-27T03:27:58.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-09-27T03:27:58.613Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T03:27:58.622Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T03:27:58.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T03:27:58.639Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T03:27:58.650Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T03:27:58.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T03:27:58.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T03:27:58.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T03:27:58.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T03:27:58.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-09-27T03:27:58.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T03:27:58.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T03:27:58.726Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T03:27:58.734Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T03:27:58.754Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T03:27:58.763Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T03:27:58.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T03:27:58.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T03:27:58.795Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T03:27:58.808Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T03:27:58.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T03:27:58.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T03:27:58.839Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T03:27:58.849Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T03:27:58.861Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T03:27:58.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-191 [Pipeline] echo [2022-09-27T03:27:58.880Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-191 [Pipeline] echo [2022-09-27T03:27:58.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-191 [Pipeline] echo [2022-09-27T03:27:58.902Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98912ebdeef750dc663bc852a7f4ea5aa1ff656e [Pipeline] echo [2022-09-27T03:27:58.919Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98912eb [Pipeline] echo [2022-09-27T03:27:58.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T03:27:58.971Z] provisioning config files... [2022-09-27T03:27:58.985Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config14706146928054929052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:27:59.283Z] ---> docker-login.sh [2022-09-27T03:27:59.283Z] nexus3.edgexfoundry.org:10001 [2022-09-27T03:27:59.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:27:59.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:27:59.802Z] Configure a credential helper to remove this warning. See [2022-09-27T03:27:59.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:27:59.802Z] [2022-09-27T03:27:59.802Z] Login Succeeded [2022-09-27T03:27:59.802Z] nexus3.edgexfoundry.org:10002 [2022-09-27T03:27:59.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:27:59.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:27:59.802Z] Configure a credential helper to remove this warning. See [2022-09-27T03:27:59.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:27:59.802Z] [2022-09-27T03:27:59.802Z] Login Succeeded [2022-09-27T03:27:59.802Z] nexus3.edgexfoundry.org:10003 [2022-09-27T03:28:00.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:00.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:00.061Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:00.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:00.061Z] [2022-09-27T03:28:00.061Z] Login Succeeded [2022-09-27T03:28:00.061Z] nexus3.edgexfoundry.org:10004 [2022-09-27T03:28:00.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:00.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:00.061Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:00.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:00.061Z] [2022-09-27T03:28:00.061Z] Login Succeeded [2022-09-27T03:28:00.061Z] docker.io [2022-09-27T03:28:00.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:00.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:00.630Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:00.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:00.630Z] [2022-09-27T03:28:00.630Z] Login Succeeded [2022-09-27T03:28:00.630Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T03:28:00.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T03:28:01.033Z] + git rev-list -1 --merges 98912ebdeef750dc663bc852a7f4ea5aa1ff656e~1..98912ebdeef750dc663bc852a7f4ea5aa1ff656e [Pipeline] echo [2022-09-27T03:28:01.063Z] -----------> git rev-list -1 --merges 98912ebdeef750dc663bc852a7f4ea5aa1ff656e~1..98912ebdeef750dc663bc852a7f4ea5aa1ff656e 98912ebdeef750dc663bc852a7f4ea5aa1ff656e [2022-09-27T03:28:01.063Z] 98912ebdeef750dc663bc852a7f4ea5aa1ff656e [false] [Pipeline] sh [2022-09-27T03:28:01.355Z] + git log --format=format:%s -1 98912ebdeef750dc663bc852a7f4ea5aa1ff656e [Pipeline] echo [2022-09-27T03:28:01.366Z] ========================================================= [2022-09-27T03:28:01.366Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T03:28:01.366Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T03:28:01.681Z] + git log --format=format:%s -1 98912ebdeef750dc663bc852a7f4ea5aa1ff656e [Pipeline] echo [2022-09-27T03:28:01.695Z] [semverPrep] GIT_COMMIT: 98912ebdeef750dc663bc852a7f4ea5aa1ff656e, Commit Message: Merge commit '3908b4199cdebd231b53d3be0ce1311ed20ae7a2' into HEAD [Pipeline] echo [2022-09-27T03:28:01.704Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T03:28:02.074Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T03:28:02.074Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T03:28:02.074Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T03:28:02.074Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T03:28:02.074Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-09-27T03:28:02.074Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T03:28:02.074Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:28:02.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T03:28:02.484Z] [2022-09-27T03:28:02.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:28:02.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T03:28:02.785Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T03:28:02.785Z] b85a868b505f: Pulling fs layer [2022-09-27T03:28:02.785Z] e2be974225ed: Pulling fs layer [2022-09-27T03:28:02.785Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T03:28:02.785Z] 988bab9f4d93: Pulling fs layer [2022-09-27T03:28:02.785Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T03:28:02.785Z] eaf3925da568: Pulling fs layer [2022-09-27T03:28:02.785Z] bab4dde63d76: Pulling fs layer [2022-09-27T03:28:02.785Z] bde34c3a00c8: Pulling fs layer [2022-09-27T03:28:02.785Z] b352a97aabf1: Pulling fs layer [2022-09-27T03:28:02.785Z] 4872d77fe225: Pulling fs layer [2022-09-27T03:28:02.785Z] 5851b861e8e6: Pulling fs layer [2022-09-27T03:28:02.785Z] eaf3925da568: Waiting [2022-09-27T03:28:02.785Z] 988bab9f4d93: Waiting [2022-09-27T03:28:02.785Z] 1469e6f7b9e6: Waiting [2022-09-27T03:28:02.785Z] bab4dde63d76: Waiting [2022-09-27T03:28:02.785Z] bde34c3a00c8: Waiting [2022-09-27T03:28:02.785Z] b352a97aabf1: Waiting [2022-09-27T03:28:02.785Z] 5851b861e8e6: Waiting [2022-09-27T03:28:02.785Z] e2be974225ed: Verifying Checksum [2022-09-27T03:28:02.785Z] e2be974225ed: Download complete [2022-09-27T03:28:02.785Z] 988bab9f4d93: Download complete [2022-09-27T03:28:03.046Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T03:28:03.046Z] 339a4e72a1f5: Download complete [2022-09-27T03:28:03.046Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T03:28:03.046Z] 1469e6f7b9e6: Download complete [2022-09-27T03:28:03.046Z] eaf3925da568: Verifying Checksum [2022-09-27T03:28:03.046Z] eaf3925da568: Download complete [2022-09-27T03:28:03.046Z] bde34c3a00c8: Download complete [2022-09-27T03:28:03.046Z] b352a97aabf1: Verifying Checksum [2022-09-27T03:28:03.046Z] b352a97aabf1: Download complete [2022-09-27T03:28:03.046Z] 4872d77fe225: Download complete [2022-09-27T03:28:03.046Z] b85a868b505f: Verifying Checksum [2022-09-27T03:28:03.046Z] b85a868b505f: Download complete [2022-09-27T03:28:03.046Z] 5851b861e8e6: Verifying Checksum [2022-09-27T03:28:03.046Z] 5851b861e8e6: Download complete [2022-09-27T03:28:03.305Z] bab4dde63d76: Verifying Checksum [2022-09-27T03:28:03.305Z] bab4dde63d76: Download complete [2022-09-27T03:28:04.305Z] b85a868b505f: Pull complete [2022-09-27T03:28:04.568Z] e2be974225ed: Pull complete [2022-09-27T03:28:04.828Z] 339a4e72a1f5: Pull complete [2022-09-27T03:28:05.087Z] 988bab9f4d93: Pull complete [2022-09-27T03:28:05.346Z] 1469e6f7b9e6: Pull complete [2022-09-27T03:28:05.346Z] eaf3925da568: Pull complete [2022-09-27T03:28:07.261Z] bab4dde63d76: Pull complete [2022-09-27T03:28:07.261Z] bde34c3a00c8: Pull complete [2022-09-27T03:28:07.261Z] b352a97aabf1: Pull complete [2022-09-27T03:28:07.261Z] 4872d77fe225: Pull complete [2022-09-27T03:28:07.261Z] 5851b861e8e6: Pull complete [2022-09-27T03:28:07.261Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T03:28:07.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T03:28:07.520Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:28:07.616Z] prd-ubuntu20.04-docker-8c-8g-1291 does not seem to be running inside a container [2022-09-27T03:28:07.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-191 -v /w/workspace/gexfoundry_device-snmp-go_PR-191:/w/workspace/gexfoundry_device-snmp-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T03:28:10.502Z] $ docker top 4126b64ded24a812c12279df1dd7b0920a5af936ffa62af9e5be3c9cab1c90d0 -eo pid,comm [2022-09-27T03:28:10.551Z] 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-09-27T03:28:10.551Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T03:28:10.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T03:28:10.588Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T03:28:10.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T03:28:10.692Z] $ docker exec 4126b64ded24a812c12279df1dd7b0920a5af936ffa62af9e5be3c9cab1c90d0 ssh-agent [2022-09-27T03:28:10.788Z] SSH_AUTH_SOCK=/tmp/ssh-2CMrcP2lfyox/agent.31 [2022-09-27T03:28:10.788Z] SSH_AGENT_PID=37 [2022-09-27T03:28:10.794Z] Running ssh-add (command line suppressed) [2022-09-27T03:28:10.883Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_10076521723819532650.key (/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_10076521723819532650.key) [2022-09-27T03:28:10.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T03:28:11.179Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T03:28:11.195Z] $ docker exec --env ******** --env ******** 4126b64ded24a812c12279df1dd7b0920a5af936ffa62af9e5be3c9cab1c90d0 ssh-agent -k [2022-09-27T03:28:11.284Z] unset SSH_AUTH_SOCK; [2022-09-27T03:28:11.284Z] unset SSH_AGENT_PID; [2022-09-27T03:28:11.284Z] echo Agent pid 37 killed; [2022-09-27T03:28:11.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T03:28:11.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T03:28:11.315Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T03:28:11.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T03:28:11.425Z] $ docker exec 4126b64ded24a812c12279df1dd7b0920a5af936ffa62af9e5be3c9cab1c90d0 ssh-agent [2022-09-27T03:28:11.518Z] SSH_AUTH_SOCK=/tmp/ssh-gb7CeVqrX9i4/agent.69 [2022-09-27T03:28:11.518Z] SSH_AGENT_PID=75 [2022-09-27T03:28:11.522Z] Running ssh-add (command line suppressed) [2022-09-27T03:28:11.626Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_3983886432168179095.key (/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_3983886432168179095.key) [2022-09-27T03:28:11.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T03:28:11.919Z] + git semver init [2022-09-27T03:28:12.178Z] 2022-09-27 03:28:12,091 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T03:28:12.178Z] 2022-09-27 03:28:12,092 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver [2022-09-27T03:28:12.179Z] 2022-09-27 03:28:12,092 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-191/.semver [2022-09-27T03:28:12.179Z] 2022-09-27 03:28:12,092 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-191, universal_newlines=False, shell=None, istream=None) [2022-09-27T03:28:13.117Z] 2022-09-27 03:28:13,022 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-191/.git/info/exclude [2022-09-27T03:28:13.118Z] 2022-09-27 03:28:13,023 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver/PR-191 with force:False [2022-09-27T03:28:13.118Z] 2022-09-27 03:28:13,023 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver/PR-191 [2022-09-27T03:28:13.118Z] 2022-09-27 03:28:13,027 [execute] INFO git cat-file --batch-check [2022-09-27T03:28:13.118Z] 2022-09-27 03:28:13,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T03:28:13.118Z] 2022-09-27 03:28:13,033 [execute] INFO git cat-file --batch [2022-09-27T03:28:13.118Z] 2022-09-27 03:28:13,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T03:28:13.118Z] 2022-09-27 03:28:13,040 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-191/.semver/PR-191 [2022-09-27T03:28:13.118Z] 0.0.0 [Pipeline] } [2022-09-27T03:28:13.129Z] $ docker exec --env ******** --env ******** 4126b64ded24a812c12279df1dd7b0920a5af936ffa62af9e5be3c9cab1c90d0 ssh-agent -k [2022-09-27T03:28:13.225Z] unset SSH_AUTH_SOCK; [2022-09-27T03:28:13.226Z] unset SSH_AGENT_PID; [2022-09-27T03:28:13.226Z] echo Agent pid 75 killed; [2022-09-27T03:28:13.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T03:28:13.537Z] + git semver [Pipeline] } [2022-09-27T03:28:13.811Z] $ docker stop --time=1 4126b64ded24a812c12279df1dd7b0920a5af936ffa62af9e5be3c9cab1c90d0 [2022-09-27T03:28:15.129Z] $ docker rm -f 4126b64ded24a812c12279df1dd7b0920a5af936ffa62af9e5be3c9cab1c90d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T03:28:15.467Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T03:28:15.652Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T03:28:15.657Z] [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-09-27T03:28:15.789Z] provisioning config files... [2022-09-27T03:28:15.799Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config11313386782090859425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:28:16.095Z] ---> docker-login.sh [2022-09-27T03:28:16.095Z] nexus3.edgexfoundry.org:10001 [2022-09-27T03:28:16.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:16.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:16.095Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:16.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:16.095Z] [2022-09-27T03:28:16.095Z] Login Succeeded [2022-09-27T03:28:16.095Z] nexus3.edgexfoundry.org:10002 [2022-09-27T03:28:16.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:16.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:16.095Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:16.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:16.095Z] [2022-09-27T03:28:16.095Z] Login Succeeded [2022-09-27T03:28:16.095Z] nexus3.edgexfoundry.org:10003 [2022-09-27T03:28:16.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:16.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:16.354Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:16.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:16.354Z] [2022-09-27T03:28:16.354Z] Login Succeeded [2022-09-27T03:28:16.354Z] nexus3.edgexfoundry.org:10004 [2022-09-27T03:28:16.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:16.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:16.354Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:16.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:16.354Z] [2022-09-27T03:28:16.354Z] Login Succeeded [2022-09-27T03:28:16.354Z] docker.io [2022-09-27T03:28:16.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:28:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:28:16.874Z] Configure a credential helper to remove this warning. See [2022-09-27T03:28:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:28:16.874Z] [2022-09-27T03:28:16.874Z] Login Succeeded [2022-09-27T03:28:16.874Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T03:28:16.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T03:28:16.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T03:28:16.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T03:28:16.959Z] ========================================================= [2022-09-27T03:28:16.959Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T03:28:16.959Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:28:17.260Z] + 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-09-27T03:28:17.260Z] Sending build context to Docker daemon 5.5MB [2022-09-27T03:28:17.260Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T03:28:17.260Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T03:28:17.260Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T03:28:17.260Z] 2408cc74d12b: Pulling fs layer [2022-09-27T03:28:17.260Z] ea60b727a1ce: Pulling fs layer [2022-09-27T03:28:17.260Z] 30c4a7721957: Pulling fs layer [2022-09-27T03:28:17.260Z] 370296b7ddb6: Pulling fs layer [2022-09-27T03:28:17.260Z] 7c6cee850709: Pulling fs layer [2022-09-27T03:28:17.260Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T03:28:17.260Z] d94ebbe4e438: Pulling fs layer [2022-09-27T03:28:17.260Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T03:28:17.260Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T03:28:17.260Z] d94ebbe4e438: Waiting [2022-09-27T03:28:17.260Z] bcfd1f05c69d: Waiting [2022-09-27T03:28:17.260Z] 370296b7ddb6: Waiting [2022-09-27T03:28:17.260Z] 59ccb84bbe0f: Waiting [2022-09-27T03:28:17.260Z] 7c6cee850709: Waiting [2022-09-27T03:28:17.260Z] 39a5fcdaea64: Waiting [2022-09-27T03:28:17.522Z] 30c4a7721957: Verifying Checksum [2022-09-27T03:28:17.522Z] 30c4a7721957: Download complete [2022-09-27T03:28:17.522Z] ea60b727a1ce: Verifying Checksum [2022-09-27T03:28:17.522Z] ea60b727a1ce: Download complete [2022-09-27T03:28:17.522Z] 7c6cee850709: Verifying Checksum [2022-09-27T03:28:17.522Z] 7c6cee850709: Download complete [2022-09-27T03:28:17.522Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T03:28:17.522Z] 39a5fcdaea64: Download complete [2022-09-27T03:28:17.522Z] 2408cc74d12b: Verifying Checksum [2022-09-27T03:28:17.522Z] 2408cc74d12b: Download complete [2022-09-27T03:28:17.522Z] d94ebbe4e438: Download complete [2022-09-27T03:28:17.522Z] 2408cc74d12b: Pull complete [2022-09-27T03:28:17.781Z] ea60b727a1ce: Pull complete [2022-09-27T03:28:17.781Z] 30c4a7721957: Pull complete [2022-09-27T03:28:18.039Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T03:28:18.039Z] 59ccb84bbe0f: Download complete [2022-09-27T03:28:18.039Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T03:28:18.297Z] 370296b7ddb6: Verifying Checksum [2022-09-27T03:28:18.297Z] 370296b7ddb6: Download complete [2022-09-27T03:28:22.496Z] 370296b7ddb6: Pull complete [2022-09-27T03:28:22.496Z] 7c6cee850709: Pull complete [2022-09-27T03:28:22.496Z] 39a5fcdaea64: Pull complete [2022-09-27T03:28:22.496Z] d94ebbe4e438: Pull complete [2022-09-27T03:28:24.398Z] bcfd1f05c69d: Pull complete [2022-09-27T03:28:24.965Z] 59ccb84bbe0f: Pull complete [2022-09-27T03:28:24.965Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T03:28:24.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T03:28:24.965Z] ---> a4fb48ad2a94 [2022-09-27T03:28:24.965Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T03:28:29.172Z] ---> Running in 4a756e86bb5c [2022-09-27T03:28:29.430Z] Removing intermediate container 4a756e86bb5c [2022-09-27T03:28:29.430Z] ---> b60d71e7bab8 [2022-09-27T03:28:29.430Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T03:28:29.430Z] ---> Running in 3359d6b45e14 [2022-09-27T03:28:29.430Z] Removing intermediate container 3359d6b45e14 [2022-09-27T03:28:29.430Z] ---> ef192cacfe6a [2022-09-27T03:28:29.430Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T03:28:29.430Z] ---> Running in e395d6bc1755 [2022-09-27T03:28:29.689Z] Removing intermediate container e395d6bc1755 [2022-09-27T03:28:29.689Z] ---> 9e252c99465c [2022-09-27T03:28:29.689Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T03:28:29.689Z] ---> Running in 63af41346319 [2022-09-27T03:28:29.689Z] Removing intermediate container 63af41346319 [2022-09-27T03:28:29.689Z] ---> f1cef8dab60c [2022-09-27T03:28:29.689Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T03:28:29.689Z] ---> Running in 29e68107bd0a [2022-09-27T03:28:30.259Z] Removing intermediate container 29e68107bd0a [2022-09-27T03:28:30.259Z] ---> 8ffefcd6b31a [2022-09-27T03:28:30.259Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T03:28:30.259Z] ---> Running in 36bf809bd071 [2022-09-27T03:28:30.517Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T03:28:30.763Z] Still waiting to schedule task [2022-09-27T03:28:30.763Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1290’ [2022-09-27T03:28:31.453Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T03:28:32.398Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T03:28:32.656Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T03:28:32.656Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T03:28:32.923Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T03:28:33.185Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T03:28:33.185Z] OK: 216 MiB in 55 packages [2022-09-27T03:28:33.443Z] Removing intermediate container 36bf809bd071 [2022-09-27T03:28:33.443Z] ---> af1c3f3afcf7 [2022-09-27T03:28:33.443Z] Step 9/13 : WORKDIR /device-snmp-go [2022-09-27T03:28:33.702Z] ---> Running in 42f94474e553 [2022-09-27T03:28:33.702Z] Removing intermediate container 42f94474e553 [2022-09-27T03:28:33.702Z] ---> 800e0564517b [2022-09-27T03:28:33.702Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T03:28:33.702Z] ---> 55535b93a656 [2022-09-27T03:28:33.702Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T03:28:33.961Z] ---> Running in 11b94e980afe [2022-09-27T03:28:55.896Z] Removing intermediate container 11b94e980afe [2022-09-27T03:28:55.896Z] ---> fd08c7cc9a4f [2022-09-27T03:28:55.896Z] Step 12/13 : COPY . . [2022-09-27T03:28:55.896Z] ---> 48b5e51b2f91 [2022-09-27T03:28:55.896Z] Step 13/13 : RUN ${MAKE} [2022-09-27T03:28:55.896Z] ---> Running in c7cdf2bd1b46 [2022-09-27T03:28:56.156Z] noop [2022-09-27T03:28:56.416Z] Removing intermediate container c7cdf2bd1b46 [2022-09-27T03:28:56.416Z] ---> 3313347e44fa [2022-09-27T03:28:56.416Z] Successfully built 3313347e44fa [2022-09-27T03:28:56.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:28:56.992Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T03:28:56.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:28:57.056Z] prd-ubuntu20.04-docker-8c-8g-1291 does not seem to be running inside a container [2022-09-27T03:28:57.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-191 -v /w/workspace/gexfoundry_device-snmp-go_PR-191:/w/workspace/gexfoundry_device-snmp-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T03:28:57.431Z] $ docker top 005d2e7021503315f6a7214757bde0a25faffc0fbca49880ec0a4ec123256a4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T03:28:57.763Z] + go version [2022-09-27T03:28:57.763Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T03:28:57.774Z] $ docker stop --time=1 005d2e7021503315f6a7214757bde0a25faffc0fbca49880ec0a4ec123256a4c [2022-09-27T03:28:59.026Z] $ docker rm -f 005d2e7021503315f6a7214757bde0a25faffc0fbca49880ec0a4ec123256a4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:28:59.430Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T03:28:59.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:28:59.500Z] prd-ubuntu20.04-docker-8c-8g-1291 does not seem to be running inside a container [2022-09-27T03:28:59.528Z] $ 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-191 -v /w/workspace/gexfoundry_device-snmp-go_PR-191:/w/workspace/gexfoundry_device-snmp-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T03:28:59.851Z] $ docker top 30c81119f0b361e9b8ef493dbf35e12fd12171142cebe19ca21c3af49d7c6cf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T03:29:00.199Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-191 [Pipeline] fileExists [Pipeline] sh [2022-09-27T03:29:00.496Z] + make test [2022-09-27T03:29:00.496Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T03:29:00.755Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-27T03:29:10.732Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-27T03:29:10.732Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements [2022-09-27T03:29:15.999Z] 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-09-27T03:29:15.999Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T03:29:19.281Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T03:29:19.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T03:29:19.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T03:29:19.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T03:29:19.306Z] $ docker stop --time=1 30c81119f0b361e9b8ef493dbf35e12fd12171142cebe19ca21c3af49d7c6cf7 [2022-09-27T03:29:21.537Z] $ docker rm -f 30c81119f0b361e9b8ef493dbf35e12fd12171142cebe19ca21c3af49d7c6cf7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T03:29:21.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T03:29:22.014Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T03:29:22.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T03:29:22.796Z] + ls -al . [2022-09-27T03:29:22.796Z] total 172 [2022-09-27T03:29:22.796Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 03:29 . [2022-09-27T03:29:22.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:27 .. [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 27 03:27 .dockerignore [2022-09-27T03:29:22.796Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 03:29 .git [2022-09-27T03:29:22.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:27 .github [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 27 03:27 .gitignore [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 03:27 .golangci.yml [2022-09-27T03:29:22.796Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 03:28 .semver [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 8932 Sep 27 03:27 Attribution.txt [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 27 03:27 CHANGELOG.md [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 1575 Sep 27 03:27 Dockerfile [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 03:27 GOVERNANCE.md [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 27 03:27 Jenkinsfile [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 03:27 LICENSE [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 2543 Sep 27 03:27 Makefile [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 03:27 OWNERS.md [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 10054 Sep 27 03:27 README.md [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 03:28 VERSION [2022-09-27T03:29:22.796Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 03:27 bin [2022-09-27T03:29:22.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:27 cmd [2022-09-27T03:29:22.796Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 27 03:29 coverage.out [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 3473 Sep 27 03:27 go.mod [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 38137 Sep 27 03:27 go.sum [2022-09-27T03:29:22.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:27 internal [2022-09-27T03:29:22.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:27 snap [2022-09-27T03:29:22.796Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 27 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:29:23.100Z] + 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=98912ebdeef750dc663bc852a7f4ea5aa1ff656e --label arch=amd64 --label version=0.0.0 . [2022-09-27T03:29:23.100Z] Sending build context to Docker daemon 5.508MB [2022-09-27T03:29:23.100Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T03:29:23.100Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T03:29:23.100Z] ---> 3313347e44fa [2022-09-27T03:29:23.100Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-27T03:29:23.100Z] ---> Running in 3a5c59f410c9 [2022-09-27T03:29:23.359Z] Removing intermediate container 3a5c59f410c9 [2022-09-27T03:29:23.359Z] ---> 3f28232b1588 [2022-09-27T03:29:23.359Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T03:29:23.359Z] ---> Running in 064a879b0eb2 [2022-09-27T03:29:23.359Z] Removing intermediate container 064a879b0eb2 [2022-09-27T03:29:23.359Z] ---> 571d337283a7 [2022-09-27T03:29:23.359Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T03:29:23.359Z] ---> Running in 43ece639dbc2 [2022-09-27T03:29:23.359Z] Removing intermediate container 43ece639dbc2 [2022-09-27T03:29:23.359Z] ---> 1f85e575ef80 [2022-09-27T03:29:23.359Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T03:29:23.618Z] ---> Running in 9b9b43e25507 [2022-09-27T03:29:23.618Z] Removing intermediate container 9b9b43e25507 [2022-09-27T03:29:23.618Z] ---> a043360263bd [2022-09-27T03:29:23.618Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T03:29:23.618Z] ---> Running in cd271c97401f [2022-09-27T03:29:24.187Z] Removing intermediate container cd271c97401f [2022-09-27T03:29:24.187Z] ---> d83686bd9924 [2022-09-27T03:29:24.187Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T03:29:24.187Z] ---> Running in e93c571153c8 [2022-09-27T03:29:24.445Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T03:29:25.381Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T03:29:25.640Z] OK: 216 MiB in 55 packages [2022-09-27T03:29:25.898Z] Removing intermediate container e93c571153c8 [2022-09-27T03:29:25.898Z] ---> a8730c7d70c7 [2022-09-27T03:29:25.898Z] Step 9/25 : WORKDIR /device-snmp-go [2022-09-27T03:29:25.898Z] ---> Running in 7d57214889f7 [2022-09-27T03:29:25.898Z] Removing intermediate container 7d57214889f7 [2022-09-27T03:29:25.898Z] ---> cb0b1ddaf24f [2022-09-27T03:29:25.898Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-27T03:29:26.157Z] ---> 38539ac4c386 [2022-09-27T03:29:26.157Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T03:29:26.157Z] ---> Running in b71667a4ab47 [2022-09-27T03:29:26.724Z] Removing intermediate container b71667a4ab47 [2022-09-27T03:29:26.724Z] ---> 55803109e974 [2022-09-27T03:29:26.724Z] Step 12/25 : COPY . . [2022-09-27T03:29:26.981Z] ---> 84d1b7c3d4c2 [2022-09-27T03:29:26.981Z] Step 13/25 : RUN ${MAKE} [2022-09-27T03:29:26.981Z] ---> Running in b1ba8f0681ea [2022-09-27T03:29:27.239Z] 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.26 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-27T03:29:49.180Z] Removing intermediate container b1ba8f0681ea [2022-09-27T03:29:49.180Z] ---> 05d6442ca532 [2022-09-27T03:29:49.180Z] Step 14/25 : FROM alpine:3.16 [2022-09-27T03:29:49.747Z] 3.16: Pulling from library/alpine [2022-09-27T03:29:50.005Z] 213ec9aee27d: Pulling fs layer [2022-09-27T03:29:50.005Z] 213ec9aee27d: Verifying Checksum [2022-09-27T03:29:50.005Z] 213ec9aee27d: Download complete [2022-09-27T03:29:50.264Z] 213ec9aee27d: Pull complete [2022-09-27T03:29:50.264Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T03:29:50.264Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T03:29:50.264Z] ---> 9c6f07244728 [2022-09-27T03:29:50.264Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T03:29:50.524Z] ---> Running in b1e49c7bacc3 [2022-09-27T03:29:50.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T03:29:50.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T03:29:51.042Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T03:29:51.042Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T03:29:51.042Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T03:29:51.042Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T03:29:51.042Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T03:29:51.042Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T03:29:51.042Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T03:29:51.042Z] OK: 8 MiB in 20 packages [2022-09-27T03:29:51.610Z] Removing intermediate container b1e49c7bacc3 [2022-09-27T03:29:51.610Z] ---> f6a3154393da [2022-09-27T03:29:51.610Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-09-27T03:29:52.567Z] ---> a7c846bae0b0 [2022-09-27T03:29:52.567Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-27T03:29:52.567Z] ---> cd5e32e48f57 [2022-09-27T03:29:52.567Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-27T03:29:52.567Z] ---> 93accd9045d9 [2022-09-27T03:29:52.567Z] Step 19/25 : EXPOSE 59993 [2022-09-27T03:29:52.567Z] ---> Running in 69ce25896d7f [2022-09-27T03:29:52.826Z] Removing intermediate container 69ce25896d7f [2022-09-27T03:29:52.826Z] ---> be28602df814 [2022-09-27T03:29:52.826Z] Step 20/25 : EXPOSE 161 [2022-09-27T03:29:52.826Z] ---> Running in fd6e4cae9b7d [2022-09-27T03:29:52.826Z] Removing intermediate container fd6e4cae9b7d [2022-09-27T03:29:52.826Z] ---> 48a4ce895981 [2022-09-27T03:29:52.826Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-09-27T03:29:52.826Z] ---> Running in e22db0b21a06 [2022-09-27T03:29:52.826Z] Removing intermediate container e22db0b21a06 [2022-09-27T03:29:52.826Z] ---> 8b485511eeae [2022-09-27T03:29:52.826Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-27T03:29:52.826Z] ---> Running in 16cad5ca36bd [2022-09-27T03:29:53.085Z] Removing intermediate container 16cad5ca36bd [2022-09-27T03:29:53.085Z] ---> cab692d33b2e [2022-09-27T03:29:53.085Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T03:29:53.085Z] ---> Running in 81728acfec23 [2022-09-27T03:29:53.085Z] Removing intermediate container 81728acfec23 [2022-09-27T03:29:53.085Z] ---> ad07be1acd7b [2022-09-27T03:29:53.085Z] Step 24/25 : LABEL git_sha=98912ebdeef750dc663bc852a7f4ea5aa1ff656e [2022-09-27T03:29:53.085Z] ---> Running in 43673ff19003 [2022-09-27T03:29:53.344Z] Removing intermediate container 43673ff19003 [2022-09-27T03:29:53.344Z] ---> e2fc1f9ab2c9 [2022-09-27T03:29:53.344Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T03:29:53.604Z] ---> Running in c56a760d8bb6 [2022-09-27T03:29:53.604Z] Removing intermediate container c56a760d8bb6 [2022-09-27T03:29:53.604Z] ---> 5dad58bc6e13 [2022-09-27T03:29:53.604Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T03:29:53.604Z] Successfully built 5dad58bc6e13 [2022-09-27T03:29:53.604Z] 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-09-27T03:29:54.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T03:29:54.065Z] [2022-09-27T03:29:54.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:29:54.366Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T03:29:54.366Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T03:29:54.366Z] 5eb5b503b376: Pulling fs layer [2022-09-27T03:29:54.366Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T03:29:54.366Z] ec43610c2a17: Pulling fs layer [2022-09-27T03:29:54.366Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T03:29:54.366Z] 33b1e0a273af: Pulling fs layer [2022-09-27T03:29:54.366Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T03:29:54.366Z] 2f39f015ded8: Pulling fs layer [2022-09-27T03:29:54.366Z] 3a2ae6a8a46f: Waiting [2022-09-27T03:29:54.366Z] 2f39f015ded8: Waiting [2022-09-27T03:29:54.366Z] 5d3b04190fa2: Waiting [2022-09-27T03:29:54.366Z] 5c69ac0246d0: Download complete [2022-09-27T03:29:54.366Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T03:29:54.366Z] 3a2ae6a8a46f: Download complete [2022-09-27T03:29:54.366Z] 33b1e0a273af: Verifying Checksum [2022-09-27T03:29:54.366Z] 33b1e0a273af: Download complete [2022-09-27T03:29:54.625Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T03:29:54.625Z] 5d3b04190fa2: Download complete [2022-09-27T03:29:54.625Z] ec43610c2a17: Verifying Checksum [2022-09-27T03:29:54.625Z] ec43610c2a17: Download complete [2022-09-27T03:29:54.625Z] 5eb5b503b376: Verifying Checksum [2022-09-27T03:29:54.625Z] 5eb5b503b376: Download complete [2022-09-27T03:29:55.193Z] 2f39f015ded8: Verifying Checksum [2022-09-27T03:29:55.193Z] 2f39f015ded8: Download complete [2022-09-27T03:29:55.760Z] 5eb5b503b376: Pull complete [2022-09-27T03:29:56.019Z] 5c69ac0246d0: Pull complete [2022-09-27T03:29:56.278Z] ec43610c2a17: Pull complete [2022-09-27T03:29:56.538Z] 3a2ae6a8a46f: Pull complete [2022-09-27T03:29:56.797Z] 33b1e0a273af: Pull complete [2022-09-27T03:29:56.797Z] 5d3b04190fa2: Pull complete [2022-09-27T03:30:00.984Z] 2f39f015ded8: Pull complete [2022-09-27T03:30:00.984Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T03:30:00.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T03:30:00.984Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:30:01.069Z] prd-ubuntu20.04-docker-8c-8g-1291 does not seem to be running inside a container [2022-09-27T03:30:01.102Z] $ 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-191 -v /w/workspace/gexfoundry_device-snmp-go_PR-191:/w/workspace/gexfoundry_device-snmp-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T03:30:04.968Z] $ docker top 1e129a80bf5bc21bcaec302cd018effa045560a56ebcc68b5e6989ee0679bf52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:30:05.356Z] ---> job-cost.sh [2022-09-27T03:30:05.356Z] lf-activate-venv: SKIPPING [2022-09-27T03:30:05.356Z] INFO: No Stack... [2022-09-27T03:30:05.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T03:30:06.183Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T03:30:06.470Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-191/archives/cost.csv [2022-09-27T03:30:06.470Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T03:30:06.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] [2022-09-27T03:30:06.489Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] did not exist. Created. [2022-09-27T03:30:06.489Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T03:30:06.785Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T03:30:06.813Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T03:30:06.819Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T03:30:06.833Z] $ docker stop --time=1 1e129a80bf5bc21bcaec302cd018effa045560a56ebcc68b5e6989ee0679bf52 [2022-09-27T03:30:07.983Z] $ docker rm -f 1e129a80bf5bc21bcaec302cd018effa045560a56ebcc68b5e6989ee0679bf52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T03:32:04.988Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1292 in /w/workspace/gexfoundry_device-snmp-go_PR-191 [Pipeline] { [Pipeline] ws [2022-09-27T03:32:05.000Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2022-09-27T03:32:05.036Z] Selected Git installation does not exist. Using Default [2022-09-27T03:32:05.036Z] The recommended git tool is: NONE [2022-09-27T03:32:10.531Z] using credential edgex-jenkins-ssh [2022-09-27T03:32:10.547Z] Cloning the remote Git repository [2022-09-27T03:32:10.598Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-09-27T03:32:10.677Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2022-09-27T03:32:10.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-27T03:32:10.841Z] > git --version # timeout=10 [2022-09-27T03:32:10.869Z] > git --version # 'git version 2.25.1' [2022-09-27T03:32:10.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T03:32:10.923Z] Verifying host key using known hosts file [2022-09-27T03:32:11.111Z] 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-09-27T03:32:11.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T03:32:12.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-27T03:32:12.248Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T03:32:13.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-27T03:32:13.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-27T03:32:13.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T03:32:13.232Z] Verifying host key using known hosts file [2022-09-27T03:32:13.240Z] 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-09-27T03:32:13.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/191/head:refs/remotes/origin/PR-191 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T03:32:13.848Z] Merging remotes/origin/main commit 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 into PR head commit 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [2022-09-27T03:32:14.087Z] Merge succeeded, producing 9c4b4d01df0fd837e186860dfbe1160d9fc1cc31 [2022-09-27T03:32:14.088Z] Checking out Revision 9c4b4d01df0fd837e186860dfbe1160d9fc1cc31 (PR-191) [2022-09-27T03:32:13.865Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T03:32:13.888Z] > git checkout -f 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 # timeout=10 [2022-09-27T03:32:13.966Z] > git remote # timeout=10 [2022-09-27T03:32:13.981Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T03:32:14.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T03:32:14.007Z] Verifying host key using known hosts file [2022-09-27T03:32:14.011Z] 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-09-27T03:32:14.020Z] > git merge 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 # timeout=10 [2022-09-27T03:32:14.069Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T03:32:14.096Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T03:32:14.111Z] > git checkout -f 9c4b4d01df0fd837e186860dfbe1160d9fc1cc31 # timeout=10 [2022-09-27T03:32:17.583Z] Commit message: "Merge commit '3908b4199cdebd231b53d3be0ce1311ed20ae7a2' into HEAD" [2022-09-27T03:32:17.592Z] > git rev-list --no-walk 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T03:32:18.498Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T03:32:18.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T03:32:18.498Z] Dload Upload Total Spent Left Speed [2022-09-27T03:32:18.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh [2022-09-27T03:32:19.136Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T03:32:19.461Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T03:32:19.461Z] + sudo tee /etc/docker/daemon.new [2022-09-27T03:32:19.461Z] { [2022-09-27T03:32:19.461Z] "registry-mirrors": [ [2022-09-27T03:32:19.461Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T03:32:19.461Z] ], [2022-09-27T03:32:19.461Z] "bip": "10.250.0.254/24", [2022-09-27T03:32:19.461Z] "hosts": [ [2022-09-27T03:32:19.461Z] "tcp://0.0.0.0:5555", [2022-09-27T03:32:19.461Z] "unix:///var/run/docker.sock" [2022-09-27T03:32:19.461Z] ], [2022-09-27T03:32:19.461Z] "mtu": 1458, [2022-09-27T03:32:19.461Z] "selinux-enabled": true, [2022-09-27T03:32:19.461Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T03:32:19.461Z] } [Pipeline] sh [2022-09-27T03:32:19.789Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T03:32:20.120Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T03:32:38.365Z] provisioning config files... [2022-09-27T03:32:38.391Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config10010527365304951866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:32:38.735Z] ---> docker-login.sh [2022-09-27T03:32:38.736Z] nexus3.edgexfoundry.org:10001 [2022-09-27T03:32:39.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:32:39.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:32:39.278Z] Configure a credential helper to remove this warning. See [2022-09-27T03:32:39.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:32:39.278Z] [2022-09-27T03:32:39.278Z] Login Succeeded [2022-09-27T03:32:39.278Z] nexus3.edgexfoundry.org:10002 [2022-09-27T03:32:39.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:32:39.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:32:39.547Z] Configure a credential helper to remove this warning. See [2022-09-27T03:32:39.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:32:39.547Z] [2022-09-27T03:32:39.547Z] Login Succeeded [2022-09-27T03:32:39.547Z] nexus3.edgexfoundry.org:10003 [2022-09-27T03:32:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:32:39.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:32:39.814Z] Configure a credential helper to remove this warning. See [2022-09-27T03:32:39.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:32:39.814Z] [2022-09-27T03:32:39.814Z] Login Succeeded [2022-09-27T03:32:39.814Z] nexus3.edgexfoundry.org:10004 [2022-09-27T03:32:40.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:32:40.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:32:40.350Z] Configure a credential helper to remove this warning. See [2022-09-27T03:32:40.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:32:40.350Z] [2022-09-27T03:32:40.350Z] Login Succeeded [2022-09-27T03:32:40.350Z] docker.io [2022-09-27T03:32:40.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T03:32:40.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T03:32:40.884Z] Configure a credential helper to remove this warning. See [2022-09-27T03:32:40.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T03:32:40.884Z] [2022-09-27T03:32:40.884Z] Login Succeeded [2022-09-27T03:32:40.884Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T03:32:40.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T03:32:41.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T03:32:41.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T03:32:41.059Z] ========================================================= [2022-09-27T03:32:41.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T03:32:41.059Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:32:41.385Z] + 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-09-27T03:32:41.652Z] Sending build context to Docker daemon 2.847MB [2022-09-27T03:32:41.652Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T03:32:41.652Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T03:32:41.920Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T03:32:41.920Z] b3c136eddcbf: Pulling fs layer [2022-09-27T03:32:41.920Z] c0a3192eca97: Pulling fs layer [2022-09-27T03:32:41.920Z] a050256f5b6f: Pulling fs layer [2022-09-27T03:32:41.920Z] 656be50a0ddc: Pulling fs layer [2022-09-27T03:32:41.920Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T03:32:41.920Z] 46d945488cbd: Pulling fs layer [2022-09-27T03:32:41.920Z] 8a5474983e97: Pulling fs layer [2022-09-27T03:32:41.920Z] 329c88fbcd65: Pulling fs layer [2022-09-27T03:32:41.920Z] 656be50a0ddc: Waiting [2022-09-27T03:32:41.920Z] 2bbca73fdf42: Waiting [2022-09-27T03:32:41.920Z] 46d945488cbd: Waiting [2022-09-27T03:32:41.920Z] 8a5474983e97: Waiting [2022-09-27T03:32:41.920Z] 329c88fbcd65: Waiting [2022-09-27T03:32:41.920Z] a050256f5b6f: Verifying Checksum [2022-09-27T03:32:41.920Z] a050256f5b6f: Download complete [2022-09-27T03:32:41.920Z] c0a3192eca97: Verifying Checksum [2022-09-27T03:32:41.920Z] c0a3192eca97: Download complete [2022-09-27T03:32:41.920Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T03:32:41.920Z] 2bbca73fdf42: Download complete [2022-09-27T03:32:41.920Z] 46d945488cbd: Download complete [2022-09-27T03:32:41.920Z] b3c136eddcbf: Verifying Checksum [2022-09-27T03:32:41.920Z] b3c136eddcbf: Download complete [2022-09-27T03:32:42.889Z] b3c136eddcbf: Pull complete [2022-09-27T03:32:42.889Z] 329c88fbcd65: Verifying Checksum [2022-09-27T03:32:42.889Z] 329c88fbcd65: Download complete [2022-09-27T03:32:43.490Z] c0a3192eca97: Pull complete [2022-09-27T03:32:43.490Z] a050256f5b6f: Pull complete [2022-09-27T03:32:44.078Z] 8a5474983e97: Verifying Checksum [2022-09-27T03:32:44.078Z] 8a5474983e97: Download complete [2022-09-27T03:32:44.668Z] 656be50a0ddc: Verifying Checksum [2022-09-27T03:32:44.668Z] 656be50a0ddc: Download complete [2022-09-27T03:32:57.008Z] 656be50a0ddc: Pull complete [2022-09-27T03:32:57.008Z] 2bbca73fdf42: Pull complete [2022-09-27T03:32:57.008Z] 46d945488cbd: Pull complete [2022-09-27T03:33:02.370Z] 8a5474983e97: Pull complete [2022-09-27T03:33:04.965Z] 329c88fbcd65: Pull complete [2022-09-27T03:33:04.965Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T03:33:04.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T03:33:04.965Z] ---> ff4287adb874 [2022-09-27T03:33:04.965Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T03:33:05.586Z] ---> Running in 7eb22265247d [2022-09-27T03:33:05.858Z] Removing intermediate container 7eb22265247d [2022-09-27T03:33:05.858Z] ---> 535a1c5ef830 [2022-09-27T03:33:05.858Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T03:33:05.858Z] ---> Running in 177b60433b3d [2022-09-27T03:33:06.128Z] Removing intermediate container 177b60433b3d [2022-09-27T03:33:06.128Z] ---> d56e929e8a27 [2022-09-27T03:33:06.128Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T03:33:06.397Z] ---> Running in 54aae3752eb8 [2022-09-27T03:33:06.664Z] Removing intermediate container 54aae3752eb8 [2022-09-27T03:33:06.664Z] ---> 3a381ff88040 [2022-09-27T03:33:06.664Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T03:33:06.664Z] ---> Running in ac37b2a525a2 [2022-09-27T03:33:06.933Z] Removing intermediate container ac37b2a525a2 [2022-09-27T03:33:06.933Z] ---> 9bd026f5351a [2022-09-27T03:33:06.933Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T03:33:06.933Z] ---> Running in 3a61dda97794 [2022-09-27T03:33:08.893Z] Removing intermediate container 3a61dda97794 [2022-09-27T03:33:08.893Z] ---> 96402e15bd71 [2022-09-27T03:33:08.893Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T03:33:08.893Z] ---> Running in 18666e096f41 [2022-09-27T03:33:09.856Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T03:33:10.814Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T03:33:11.407Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T03:33:11.676Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T03:33:11.676Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T03:33:11.950Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T03:33:11.950Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T03:33:11.950Z] OK: 226 MiB in 55 packages [2022-09-27T03:33:13.378Z] Removing intermediate container 18666e096f41 [2022-09-27T03:33:13.378Z] ---> 21b9350cf94a [2022-09-27T03:33:13.378Z] Step 9/13 : WORKDIR /device-snmp-go [2022-09-27T03:33:13.378Z] ---> Running in 08eae2aa68fe [2022-09-27T03:33:13.648Z] Removing intermediate container 08eae2aa68fe [2022-09-27T03:33:13.648Z] ---> cd6906dfd59f [2022-09-27T03:33:13.648Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T03:33:14.237Z] ---> b546dfc61a3d [2022-09-27T03:33:14.237Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T03:33:14.237Z] ---> Running in e005789bbe57 [2022-09-27T03:34:10.681Z] Removing intermediate container e005789bbe57 [2022-09-27T03:34:10.681Z] ---> 1a44f47b91b1 [2022-09-27T03:34:10.681Z] Step 12/13 : COPY . . [2022-09-27T03:34:10.681Z] ---> c813be91df4e [2022-09-27T03:34:10.681Z] Step 13/13 : RUN ${MAKE} [2022-09-27T03:34:10.681Z] ---> Running in 5297309175f8 [2022-09-27T03:34:10.681Z] noop [2022-09-27T03:34:10.681Z] Removing intermediate container 5297309175f8 [2022-09-27T03:34:10.681Z] ---> effcf802679e [2022-09-27T03:34:10.681Z] Successfully built effcf802679e [2022-09-27T03:34:10.681Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:34:11.029Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T03:34:11.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:34:11.229Z] prd-ubuntu20.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container [2022-09-27T03:34:11.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T03:34:12.441Z] $ docker top 5c7cb0eb3ef659f79b648e1c692afdec9d92ce5b91743d1393f83a43c3406bc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T03:34:13.268Z] + go version [2022-09-27T03:34:13.269Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T03:34:13.290Z] $ docker stop --time=1 5c7cb0eb3ef659f79b648e1c692afdec9d92ce5b91743d1393f83a43c3406bc3 [2022-09-27T03:34:14.934Z] $ docker rm -f 5c7cb0eb3ef659f79b648e1c692afdec9d92ce5b91743d1393f83a43c3406bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:34:15.493Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T03:34:15.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:34:15.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container [2022-09-27T03:34:15.749Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T03:34:16.967Z] $ docker top 2a386929e674c52e08edbd89fec38b8ff32f4b699b9788e7f2488044604bd88d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T03:34:17.807Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-27T03:34:18.146Z] + make test [2022-09-27T03:34:18.420Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T03:34:19.833Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-27T03:35:56.478Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-27T03:35:56.478Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2022-09-27T03:35:56.478Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T03:35:56.478Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T03:36:04.697Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T03:36:04.697Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T03:36:04.697Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T03:36:04.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T03:36:04.999Z] $ docker stop --time=1 2a386929e674c52e08edbd89fec38b8ff32f4b699b9788e7f2488044604bd88d [2022-09-27T03:36:06.766Z] $ docker rm -f 2a386929e674c52e08edbd89fec38b8ff32f4b699b9788e7f2488044604bd88d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T03:36:07.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T03:36:07.664Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T03:36:08.005Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T03:36:08.369Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T03:36:08.680Z] + ls -al . [2022-09-27T03:36:08.680Z] total 168 [2022-09-27T03:36:08.680Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 03:34 . [2022-09-27T03:36:08.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:32 .. [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 27 03:32 .dockerignore [2022-09-27T03:36:08.680Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 03:32 .git [2022-09-27T03:36:08.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:32 .github [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 27 03:32 .gitignore [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 03:32 .golangci.yml [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 8932 Sep 27 03:32 Attribution.txt [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 27 03:32 CHANGELOG.md [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 1575 Sep 27 03:32 Dockerfile [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 03:32 GOVERNANCE.md [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 27 03:32 Jenkinsfile [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 03:32 LICENSE [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 2543 Sep 27 03:32 Makefile [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 03:32 OWNERS.md [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 10054 Sep 27 03:32 README.md [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 03:28 VERSION [2022-09-27T03:36:08.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 03:32 bin [2022-09-27T03:36:08.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:32 cmd [2022-09-27T03:36:08.680Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 27 03:35 coverage.out [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 3473 Sep 27 03:32 go.mod [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 38137 Sep 27 03:32 go.sum [2022-09-27T03:36:08.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:32 internal [2022-09-27T03:36:08.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:32 snap [2022-09-27T03:36:08.680Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 27 03:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:36:09.019Z] + 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=9c4b4d01df0fd837e186860dfbe1160d9fc1cc31 --label arch=arm64 --label version=0.0.0 . [2022-09-27T03:36:09.287Z] Sending build context to Docker daemon 2.855MB [2022-09-27T03:36:09.287Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T03:36:09.287Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T03:36:09.287Z] ---> effcf802679e [2022-09-27T03:36:09.288Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-27T03:36:09.288Z] ---> Running in bf1acce6d2fb [2022-09-27T03:36:09.877Z] Removing intermediate container bf1acce6d2fb [2022-09-27T03:36:09.877Z] ---> 3641ffac1a8c [2022-09-27T03:36:09.877Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T03:36:09.877Z] ---> Running in d7b31c696a83 [2022-09-27T03:36:10.145Z] Removing intermediate container d7b31c696a83 [2022-09-27T03:36:10.145Z] ---> ae9d9cfed169 [2022-09-27T03:36:10.145Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T03:36:10.145Z] ---> Running in f4f2b80c031c [2022-09-27T03:36:10.416Z] Removing intermediate container f4f2b80c031c [2022-09-27T03:36:10.416Z] ---> d65250cb9304 [2022-09-27T03:36:10.416Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T03:36:10.416Z] ---> Running in 2e65a95f34a3 [2022-09-27T03:36:10.683Z] Removing intermediate container 2e65a95f34a3 [2022-09-27T03:36:10.683Z] ---> 90c4a3151068 [2022-09-27T03:36:10.683Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T03:36:10.683Z] ---> Running in fbc362dde36e [2022-09-27T03:36:12.642Z] Removing intermediate container fbc362dde36e [2022-09-27T03:36:12.642Z] ---> 1d4988874487 [2022-09-27T03:36:12.642Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T03:36:12.642Z] ---> Running in c8494de86238 [2022-09-27T03:36:13.600Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T03:36:14.608Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T03:36:15.201Z] OK: 226 MiB in 55 packages [2022-09-27T03:36:16.192Z] Removing intermediate container c8494de86238 [2022-09-27T03:36:16.192Z] ---> 108ae066141a [2022-09-27T03:36:16.192Z] Step 9/25 : WORKDIR /device-snmp-go [2022-09-27T03:36:16.192Z] ---> Running in cd42dff0b97e [2022-09-27T03:36:16.470Z] Removing intermediate container cd42dff0b97e [2022-09-27T03:36:16.470Z] ---> ec20de57f207 [2022-09-27T03:36:16.470Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-27T03:36:17.072Z] ---> da7466bdf205 [2022-09-27T03:36:17.072Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T03:36:17.072Z] ---> Running in cb0cb642f49d [2022-09-27T03:36:19.656Z] Removing intermediate container cb0cb642f49d [2022-09-27T03:36:19.656Z] ---> ca8cc0100c81 [2022-09-27T03:36:19.656Z] Step 12/25 : COPY . . [2022-09-27T03:36:20.248Z] ---> edac80b9dc78 [2022-09-27T03:36:20.248Z] Step 13/25 : RUN ${MAKE} [2022-09-27T03:36:20.248Z] ---> Running in 98a4f3711496 [2022-09-27T03:36:21.207Z] 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.26 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-27T03:38:57.988Z] Removing intermediate container 98a4f3711496 [2022-09-27T03:38:57.988Z] ---> 8b52fe069119 [2022-09-27T03:38:57.988Z] Step 14/25 : FROM alpine:3.16 [2022-09-27T03:38:57.988Z] 3.16: Pulling from library/alpine [2022-09-27T03:38:57.988Z] 9b18e9b68314: Pulling fs layer [2022-09-27T03:38:57.988Z] 9b18e9b68314: Verifying Checksum [2022-09-27T03:38:57.988Z] 9b18e9b68314: Download complete [2022-09-27T03:38:57.988Z] 9b18e9b68314: Pull complete [2022-09-27T03:38:57.988Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T03:38:57.988Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T03:38:57.988Z] ---> a6215f271958 [2022-09-27T03:38:57.988Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T03:38:57.988Z] ---> Running in 2dfc6225fcc7 [2022-09-27T03:38:57.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T03:38:57.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T03:38:57.988Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T03:38:57.988Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T03:38:57.988Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T03:38:57.988Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T03:38:57.988Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T03:38:57.988Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T03:38:57.988Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T03:38:57.988Z] OK: 8 MiB in 20 packages [2022-09-27T03:38:58.571Z] Removing intermediate container 2dfc6225fcc7 [2022-09-27T03:38:58.571Z] ---> 85dd0032fdf7 [2022-09-27T03:38:58.571Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-09-27T03:38:59.992Z] ---> b6262ed29a7d [2022-09-27T03:38:59.992Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-27T03:39:00.582Z] ---> 3e818a2707c5 [2022-09-27T03:39:00.582Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-27T03:39:01.171Z] ---> 1d0143cb20a4 [2022-09-27T03:39:01.171Z] Step 19/25 : EXPOSE 59993 [2022-09-27T03:39:01.171Z] ---> Running in e7e42b06c2fc [2022-09-27T03:39:01.441Z] Removing intermediate container e7e42b06c2fc [2022-09-27T03:39:01.441Z] ---> 497e5694977d [2022-09-27T03:39:01.441Z] Step 20/25 : EXPOSE 161 [2022-09-27T03:39:01.710Z] ---> Running in 8e103f0f8dd3 [2022-09-27T03:39:01.978Z] Removing intermediate container 8e103f0f8dd3 [2022-09-27T03:39:01.978Z] ---> ec833307f840 [2022-09-27T03:39:01.978Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-09-27T03:39:01.978Z] ---> Running in cc7339841747 [2022-09-27T03:39:02.246Z] Removing intermediate container cc7339841747 [2022-09-27T03:39:02.246Z] ---> abf5fe66ec0a [2022-09-27T03:39:02.246Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-27T03:39:02.246Z] ---> Running in 032cf6c9b19a [2022-09-27T03:39:02.516Z] Removing intermediate container 032cf6c9b19a [2022-09-27T03:39:02.516Z] ---> 8349b4d01cc4 [2022-09-27T03:39:02.516Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T03:39:02.785Z] ---> Running in 173a108b1712 [2022-09-27T03:39:03.052Z] Removing intermediate container 173a108b1712 [2022-09-27T03:39:03.052Z] ---> f8cb38cfbd13 [2022-09-27T03:39:03.052Z] Step 24/25 : LABEL git_sha=9c4b4d01df0fd837e186860dfbe1160d9fc1cc31 [2022-09-27T03:39:03.052Z] ---> Running in 79406769a5e1 [2022-09-27T03:39:03.320Z] Removing intermediate container 79406769a5e1 [2022-09-27T03:39:03.320Z] ---> 4089c73af83a [2022-09-27T03:39:03.320Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T03:39:03.320Z] ---> Running in b193bed1ec13 [2022-09-27T03:39:03.586Z] Removing intermediate container b193bed1ec13 [2022-09-27T03:39:03.586Z] ---> a542767e695f [2022-09-27T03:39:03.586Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T03:39:03.586Z] Successfully built a542767e695f [2022-09-27T03:39:03.860Z] 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-09-27T03:39:04.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T03:39:04.295Z] [2022-09-27T03:39:04.295Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:39:04.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T03:39:04.632Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T03:39:04.632Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T03:39:04.632Z] 04944245beec: Pulling fs layer [2022-09-27T03:39:04.632Z] 699f458cf7ca: Pulling fs layer [2022-09-27T03:39:04.632Z] 765212b225bb: Pulling fs layer [2022-09-27T03:39:04.632Z] f23df028b6ca: Pulling fs layer [2022-09-27T03:39:04.632Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T03:39:04.632Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T03:39:04.632Z] f23df028b6ca: Waiting [2022-09-27T03:39:04.632Z] 765212b225bb: Waiting [2022-09-27T03:39:04.632Z] 2437ff75d9bd: Waiting [2022-09-27T03:39:04.632Z] d65c8cfc05b1: Waiting [2022-09-27T03:39:04.900Z] 04944245beec: Verifying Checksum [2022-09-27T03:39:04.900Z] 04944245beec: Download complete [2022-09-27T03:39:04.900Z] 765212b225bb: Download complete [2022-09-27T03:39:04.900Z] f23df028b6ca: Verifying Checksum [2022-09-27T03:39:04.900Z] f23df028b6ca: Download complete [2022-09-27T03:39:05.171Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T03:39:05.171Z] d65c8cfc05b1: Download complete [2022-09-27T03:39:05.171Z] 699f458cf7ca: Verifying Checksum [2022-09-27T03:39:05.171Z] 699f458cf7ca: Download complete [2022-09-27T03:39:05.438Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T03:39:05.438Z] 8998bd30e6a1: Download complete [2022-09-27T03:39:08.023Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T03:39:08.023Z] 2437ff75d9bd: Download complete [2022-09-27T03:39:09.433Z] 8998bd30e6a1: Pull complete [2022-09-27T03:39:10.018Z] 04944245beec: Pull complete [2022-09-27T03:39:11.427Z] 699f458cf7ca: Pull complete [2022-09-27T03:39:11.695Z] 765212b225bb: Pull complete [2022-09-27T03:39:12.287Z] f23df028b6ca: Pull complete [2022-09-27T03:39:12.554Z] d65c8cfc05b1: Pull complete [2022-09-27T03:39:27.559Z] 2437ff75d9bd: Pull complete [2022-09-27T03:39:27.559Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T03:39:27.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T03:39:27.559Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:39:27.737Z] prd-ubuntu20.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container [2022-09-27T03:39:27.800Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T03:39:30.519Z] $ docker top 4d0eaa67b2b6c5f7741086a6ad9b35f5688426565ffa731b19f2a9c1115e3a21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:31.040Z] ---> job-cost.sh [2022-09-27T03:39:31.305Z] lf-activate-venv: SKIPPING [2022-09-27T03:39:31.305Z] INFO: No Stack... [2022-09-27T03:39:31.572Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T03:39:32.528Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T03:39:32.849Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2022-09-27T03:39:32.849Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T03:39:32.911Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] [2022-09-27T03:39:32.917Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] did not exist. Created. [2022-09-27T03:39:32.918Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T03:39:33.250Z] /w/workspace/device-snmp-go/2@tmp/durable-ee389eee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T03:39:33.590Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T03:39:33.613Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T03:39:33.654Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T03:39:33.664Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-191-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T03:39:33.682Z] $ docker stop --time=1 4d0eaa67b2b6c5f7741086a6ad9b35f5688426565ffa731b19f2a9c1115e3a21 [2022-09-27T03:39:35.110Z] $ docker rm -f 4d0eaa67b2b6c5f7741086a6ad9b35f5688426565ffa731b19f2a9c1115e3a21 [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-09-27T03:39:35.524Z] provisioning config files... [2022-09-27T03:39:35.532Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config8882596392077420234tmp [Pipeline] { [Pipeline] sh [2022-09-27T03:39:35.821Z] + set +x [2022-09-27T03:39:35.821Z] + curl -s https://codecov.io/bash [2022-09-27T03:39:35.821Z] + bash -s -- [2022-09-27T03:39:35.821Z] [2022-09-27T03:39:35.821Z] _____ _ [2022-09-27T03:39:35.821Z] / ____| | | [2022-09-27T03:39:35.821Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T03:39:35.821Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T03:39:35.821Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T03:39:35.821Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T03:39:35.821Z] Bash-1.0.6 [2022-09-27T03:39:35.821Z] [2022-09-27T03:39:35.821Z] [2022-09-27T03:39:35.821Z] ==> git version 2.25.1 found [2022-09-27T03:39:35.821Z] ==> 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-09-27T03:39:35.821Z] Release-Date: 2020-01-08 [2022-09-27T03:39:35.821Z] 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-09-27T03:39:35.821Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T03:39:35.821Z] ==> Jenkins CI detected. [2022-09-27T03:39:35.821Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-191 [2022-09-27T03:39:35.821Z] project root: . [2022-09-27T03:39:35.821Z] --> token set from env [2022-09-27T03:39:35.821Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T03:39:35.821Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T03:39:35.821Z] ==> Python coveragepy not found [2022-09-27T03:39:35.821Z] ==> Searching for coverage reports in: [2022-09-27T03:39:35.821Z] + . [2022-09-27T03:39:35.821Z] -> Found 1 reports [2022-09-27T03:39:35.821Z] ==> Detecting git/mercurial file structure [2022-09-27T03:39:36.081Z] ==> Reading reports [2022-09-27T03:39:36.081Z] + ./coverage.out bytes=7631 [2022-09-27T03:39:36.081Z] ==> Appending adjustments [2022-09-27T03:39:36.081Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T03:39:36.081Z] + Found adjustments [2022-09-27T03:39:36.081Z] ==> Gzipping contents [2022-09-27T03:39:36.081Z] 4.0K /tmp/codecov.sQBTBs.gz [2022-09-27T03:39:36.081Z] ==> Uploading reports [2022-09-27T03:39:36.081Z] url: https://codecov.io [2022-09-27T03:39:36.081Z] query: branch=PR-191&commit=98912ebdeef750dc663bc852a7f4ea5aa1ff656e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-191%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2022-09-27T03:39:36.081Z] -> Pinging Codecov [2022-09-27T03:39:36.081Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-191&commit=98912ebdeef750dc663bc852a7f4ea5aa1ff656e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-191%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2022-09-27T03:39:36.340Z] -> Uploading to [2022-09-27T03:39:36.340Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/6C56EA5C29638FB4528AC87E60AF5AE0/98912ebdeef750dc663bc852a7f4ea5aa1ff656e/12d1bff0-fe01-4b4e-b42e-de9f06e8c211.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T033936Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3840f925828ceddbfaf91597927e5b5c978a9e2b258ddb0665d029729c63b83a [2022-09-27T03:39:36.340Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T03:39:36.340Z] Dload Upload Total Spent Left Speed [2022-09-27T03:39:36.599Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1537 0 0 100 1537 0 6197 --:--:-- --:--:-- --:--:-- 6197 [2022-09-27T03:39:36.599Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/98912ebdeef750dc663bc852a7f4ea5aa1ff656e [Pipeline] } [2022-09-27T03:39:36.606Z] 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-09-27T03:39:37.294Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-191/archives ] [2022-09-27T03:39:37.295Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-191/archives [2022-09-27T03:39:37.295Z] total 16 [2022-09-27T03:39:37.295Z] drwxr-xr-x 3 root root 4096 Sep 27 03:30 . [2022-09-27T03:39:37.295Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 03:30 .. [2022-09-27T03:39:37.295Z] drwxr-xr-x 2 root root 4096 Sep 27 03:30 cost [2022-09-27T03:39:37.295Z] -rw-r--r-- 1 root root 86 Sep 27 03:30 cost.csv [2022-09-27T03:39:37.295Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-191/archives [2022-09-27T03:39:37.295Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-191/archives [2022-09-27T03:39:37.295Z] total 16 [2022-09-27T03:39:37.295Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 03:30 . [2022-09-27T03:39:37.295Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 03:30 .. [2022-09-27T03:39:37.295Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 03:30 cost [2022-09-27T03:39:37.295Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 03:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:37.583Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:38.439Z] ---> package-listing.sh [2022-09-27T03:39:38.439Z] ++ facter osfamily [2022-09-27T03:39:38.439Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T03:39:38.699Z] + OS_FAMILY=debian [2022-09-27T03:39:38.699Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-191 [2022-09-27T03:39:38.699Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T03:39:38.699Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T03:39:38.699Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T03:39:38.699Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T03:39:38.699Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-191 ']' [2022-09-27T03:39:38.699Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T03:39:38.699Z] + case "${OS_FAMILY}" in [2022-09-27T03:39:38.699Z] + dpkg -l [2022-09-27T03:39:38.699Z] + grep '^ii' [2022-09-27T03:39:38.699Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T03:39:38.699Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T03:39:38.699Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T03:39:38.699Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-191 ']' [2022-09-27T03:39:38.699Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-191/archives/ [2022-09-27T03:39:38.699Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-191/archives/ [Pipeline] echo [2022-09-27T03:39:38.708Z] 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-191/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T03:39:38.982Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T03:39:39.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T03:39:39.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T03:39:39.600Z] prd-ubuntu20.04-docker-8c-8g-1291 does not seem to be running inside a container [2022-09-27T03:39:39.626Z] $ 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-191/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-191 -v /w/workspace/gexfoundry_device-snmp-go_PR-191:/w/workspace/gexfoundry_device-snmp-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T03:39:39.801Z] $ docker top 24ba1d32f0b47968d0cf5872c2c0b29385170deb68930728269193ee2707efac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T03:39:40.145Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T03:39:40.436Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T03:39:40.720Z] + ls /var/log/sa-host [2022-09-27T03:39:40.720Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T03:39:40.862Z] provisioning config files... [2022-09-27T03:39:40.870Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config7083408039544249984tmp [Pipeline] { [Pipeline] echo [2022-09-27T03:39:40.880Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:41.159Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T03:39:41.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:41.483Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T03:39:41.491Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:41.775Z] ---> sudo-logs.sh [2022-09-27T03:39:41.775Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T03:39:41.802Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:42.084Z] ---> job-cost.sh [2022-09-27T03:39:42.084Z] lf-activate-venv: SKIPPING [2022-09-27T03:39:42.084Z] DEBUG: total: 0.2199999988079071 [2022-09-27T03:39:42.084Z] INFO: Retrieving Stack Cost... [2022-09-27T03:39:42.655Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T03:39:43.223Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T03:39:43.235Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T03:39:43.518Z] ---> logs-deploy.sh [2022-09-27T03:39:43.518Z] lf-activate-venv: SKIPPING [2022-09-27T03:39:43.518Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-191/2 [2022-09-27T03:39:43.518Z] INFO: archiving workspace using pattern(s): [2022-09-27T03:39:44.458Z] Archives upload complete. [2022-09-27T03:39:44.458Z] INFO: archiving logs to Nexus