Pull request #191 opened 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+1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 (7cb7c2829712e6ac98163be85f937bfed00f08d4) 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-ssh3730636437247821037.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-ssh12163373898343740175.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10349236780092387996.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14180724966607146461.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13163205392440316462.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-191/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-191/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10356721724180130183.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-685 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 Merging remotes/origin/main commit 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 into PR head commit 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 Merge succeeded, producing 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 Checking out Revision 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 (PR-191) > 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 > 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 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T23:47:52.781Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T23:47:52.963Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T23:47:53.072Z] ========================================================= [2022-09-22T23:47:53.072Z] EdgeX Global Pipelines Version Info [2022-09-22T23:47:53.072Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:47:53.806Z] ------------------- [2022-09-22T23:47:53.806Z] stable info: [2022-09-22T23:47:53.806Z] ------------------- [2022-09-22T23:47:53.806Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T23:47:53.806Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T23:47:53.806Z] Message: update stable to v1.0.239 [2022-09-22T23:47:54.375Z] ------------------- [2022-09-22T23:47:54.375Z] experimental info: [2022-09-22T23:47:54.375Z] ------------------- [2022-09-22T23:47:54.376Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T23:47:54.376Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T23:47:54.376Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T23:47:54.676Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-09-22T23:47:54.721Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-09-22T23:47:54.762Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T23:47:54.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T23:47:54.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T23:47:54.892Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T23:47:54.931Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T23:47:54.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T23:47:55.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T23:47:55.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T23:47:55.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T23:47:55.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-09-22T23:47:55.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T23:47:55.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T23:47:55.278Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T23:47:55.321Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T23:47:55.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T23:47:55.407Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T23:47:55.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T23:47:55.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T23:47:55.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T23:47:55.576Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T23:47:55.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T23:47:55.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T23:47:55.701Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T23:47:55.743Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T23:47:55.784Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T23:47:55.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-191 [Pipeline] echo [2022-09-22T23:47:55.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-191 [Pipeline] echo [2022-09-22T23:47:55.914Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-191 [Pipeline] echo [2022-09-22T23:47:55.956Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [Pipeline] echo [2022-09-22T23:47:55.999Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f787c4 [Pipeline] echo [2022-09-22T23:47:56.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:47:56.158Z] provisioning config files... [2022-09-22T23:47:56.174Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config6478349808772679810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:47:56.521Z] ---> docker-login.sh [2022-09-22T23:47:56.522Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:47:56.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:47:57.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:47:57.043Z] Configure a credential helper to remove this warning. See [2022-09-22T23:47:57.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:47:57.043Z] [2022-09-22T23:47:57.043Z] Login Succeeded [2022-09-22T23:47:57.043Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:47:57.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:47:57.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:47:57.043Z] Configure a credential helper to remove this warning. See [2022-09-22T23:47:57.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:47:57.043Z] [2022-09-22T23:47:57.043Z] Login Succeeded [2022-09-22T23:47:57.043Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:47:57.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:47:57.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:47:57.043Z] Configure a credential helper to remove this warning. See [2022-09-22T23:47:57.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:47:57.043Z] [2022-09-22T23:47:57.043Z] Login Succeeded [2022-09-22T23:47:57.043Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:47:57.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:47:57.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:47:57.303Z] Configure a credential helper to remove this warning. See [2022-09-22T23:47:57.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:47:57.303Z] [2022-09-22T23:47:57.303Z] Login Succeeded [2022-09-22T23:47:57.303Z] docker.io [2022-09-22T23:47:57.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:47:57.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:47:57.563Z] Configure a credential helper to remove this warning. See [2022-09-22T23:47:57.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:47:57.563Z] [2022-09-22T23:47:57.563Z] Login Succeeded [2022-09-22T23:47:57.563Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:47:57.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T23:47:58.276Z] + git rev-list -1 --merges 7f787c41a8349bce9f0eff8b0e3b9e9732a82243~1..7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [Pipeline] echo [2022-09-22T23:47:58.320Z] -----------> git rev-list -1 --merges 7f787c41a8349bce9f0eff8b0e3b9e9732a82243~1..7f787c41a8349bce9f0eff8b0e3b9e9732a82243 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [false] [Pipeline] sh [2022-09-22T23:47:58.629Z] + git log --format=format:%s -1 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [Pipeline] echo [2022-09-22T23:47:58.664Z] ========================================================= [2022-09-22T23:47:58.664Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T23:47:58.664Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:47:59.099Z] + git log --format=format:%s -1 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [Pipeline] echo [2022-09-22T23:47:59.135Z] [semverPrep] GIT_COMMIT: 7f787c41a8349bce9f0eff8b0e3b9e9732a82243, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-22T23:47:59.163Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T23:47:59.554Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T23:47:59.554Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T23:47:59.554Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T23:47:59.554Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T23:47:59.554Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T23:47:59.554Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T23:47:59.554Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:48:00.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:48:00.033Z] [2022-09-22T23:48:00.033Z] 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-22T23:48:00.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:48:00.406Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T23:48:00.406Z] b85a868b505f: Pulling fs layer [2022-09-22T23:48:00.406Z] e2be974225ed: Pulling fs layer [2022-09-22T23:48:00.406Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T23:48:00.406Z] 988bab9f4d93: Pulling fs layer [2022-09-22T23:48:00.406Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T23:48:00.406Z] eaf3925da568: Pulling fs layer [2022-09-22T23:48:00.406Z] bab4dde63d76: Pulling fs layer [2022-09-22T23:48:00.406Z] bde34c3a00c8: Pulling fs layer [2022-09-22T23:48:00.406Z] b352a97aabf1: Pulling fs layer [2022-09-22T23:48:00.406Z] 4872d77fe225: Pulling fs layer [2022-09-22T23:48:00.406Z] 5851b861e8e6: Pulling fs layer [2022-09-22T23:48:00.406Z] bde34c3a00c8: Waiting [2022-09-22T23:48:00.406Z] b352a97aabf1: Waiting [2022-09-22T23:48:00.406Z] bab4dde63d76: Waiting [2022-09-22T23:48:00.406Z] eaf3925da568: Waiting [2022-09-22T23:48:00.406Z] 4872d77fe225: Waiting [2022-09-22T23:48:00.406Z] 988bab9f4d93: Waiting [2022-09-22T23:48:00.406Z] 5851b861e8e6: Waiting [2022-09-22T23:48:00.406Z] 1469e6f7b9e6: Waiting [2022-09-22T23:48:00.406Z] e2be974225ed: Verifying Checksum [2022-09-22T23:48:00.406Z] e2be974225ed: Download complete [2022-09-22T23:48:00.406Z] 988bab9f4d93: Verifying Checksum [2022-09-22T23:48:00.406Z] 988bab9f4d93: Download complete [2022-09-22T23:48:00.669Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T23:48:00.669Z] 1469e6f7b9e6: Download complete [2022-09-22T23:48:00.669Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T23:48:00.669Z] 339a4e72a1f5: Download complete [2022-09-22T23:48:00.669Z] eaf3925da568: Download complete [2022-09-22T23:48:00.669Z] bde34c3a00c8: Verifying Checksum [2022-09-22T23:48:00.669Z] bde34c3a00c8: Download complete [2022-09-22T23:48:00.669Z] b352a97aabf1: Verifying Checksum [2022-09-22T23:48:00.669Z] b352a97aabf1: Download complete [2022-09-22T23:48:00.669Z] 4872d77fe225: Download complete [2022-09-22T23:48:00.669Z] 5851b861e8e6: Download complete [2022-09-22T23:48:00.669Z] b85a868b505f: Verifying Checksum [2022-09-22T23:48:00.669Z] b85a868b505f: Download complete [2022-09-22T23:48:00.927Z] bab4dde63d76: Verifying Checksum [2022-09-22T23:48:00.927Z] bab4dde63d76: Download complete [2022-09-22T23:48:01.861Z] b85a868b505f: Pull complete [2022-09-22T23:48:02.120Z] e2be974225ed: Pull complete [2022-09-22T23:48:02.379Z] 339a4e72a1f5: Pull complete [2022-09-22T23:48:02.639Z] 988bab9f4d93: Pull complete [2022-09-22T23:48:02.898Z] 1469e6f7b9e6: Pull complete [2022-09-22T23:48:02.898Z] eaf3925da568: Pull complete [2022-09-22T23:48:04.797Z] bab4dde63d76: Pull complete [2022-09-22T23:48:04.797Z] bde34c3a00c8: Pull complete [2022-09-22T23:48:04.797Z] b352a97aabf1: Pull complete [2022-09-22T23:48:04.797Z] 4872d77fe225: Pull complete [2022-09-22T23:48:05.057Z] 5851b861e8e6: Pull complete [2022-09-22T23:48:05.057Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T23:48:05.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:48:05.057Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:48:05.283Z] prd-ubuntu20.04-docker-8c-8g-685 does not seem to be running inside a container [2022-09-22T23:48:05.326Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T23:48:06.401Z] $ docker top 77f9a4927ce2eb43644e6861c1b9f0a96b3c604bb22176ffa8ab57cfe650def1 -eo pid,comm [2022-09-22T23:48:06.442Z] 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-22T23:48:06.442Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T23:48:06.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T23:48:06.564Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T23:48:06.682Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T23:48:06.698Z] $ docker exec 77f9a4927ce2eb43644e6861c1b9f0a96b3c604bb22176ffa8ab57cfe650def1 ssh-agent [2022-09-22T23:48:06.821Z] SSH_AUTH_SOCK=/tmp/ssh-efe2CuaDwhWu/agent.31 [2022-09-22T23:48:06.821Z] SSH_AGENT_PID=37 [2022-09-22T23:48:06.840Z] Running ssh-add (command line suppressed) [2022-09-22T23:48:06.955Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_11140040065925944970.key (/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_11140040065925944970.key) [2022-09-22T23:48:06.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T23:48:07.292Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T23:48:07.331Z] $ docker exec --env ******** --env ******** 77f9a4927ce2eb43644e6861c1b9f0a96b3c604bb22176ffa8ab57cfe650def1 ssh-agent -k [2022-09-22T23:48:07.432Z] unset SSH_AUTH_SOCK; [2022-09-22T23:48:07.433Z] unset SSH_AGENT_PID; [2022-09-22T23:48:07.433Z] echo Agent pid 37 killed; [2022-09-22T23:48:07.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T23:48:07.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T23:48:07.521Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T23:48:07.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T23:48:07.654Z] $ docker exec 77f9a4927ce2eb43644e6861c1b9f0a96b3c604bb22176ffa8ab57cfe650def1 ssh-agent [2022-09-22T23:48:07.758Z] SSH_AUTH_SOCK=/tmp/ssh-Tgbkoshs9vwA/agent.69 [2022-09-22T23:48:07.758Z] SSH_AGENT_PID=75 [2022-09-22T23:48:07.762Z] Running ssh-add (command line suppressed) [2022-09-22T23:48:07.883Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_4338626697171940419.key (/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/private_key_4338626697171940419.key) [2022-09-22T23:48:07.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T23:48:08.219Z] + git semver init [2022-09-22T23:48:08.479Z] 2022-09-22 23:48:08,396 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T23:48:08.480Z] 2022-09-22 23:48:08,397 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver [2022-09-22T23:48:08.480Z] 2022-09-22 23:48:08,397 [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-22T23:48:08.480Z] 2022-09-22 23:48:08,397 [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-22T23:48:09.419Z] 2022-09-22 23:48:09,263 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-191/.git/info/exclude [2022-09-22T23:48:09.419Z] 2022-09-22 23:48:09,264 [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-22T23:48:09.419Z] 2022-09-22 23:48:09,264 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-191/.semver/PR-191 [2022-09-22T23:48:09.419Z] 2022-09-22 23:48:09,268 [execute] INFO git cat-file --batch-check [2022-09-22T23:48:09.419Z] 2022-09-22 23:48:09,268 [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-22T23:48:09.419Z] 2022-09-22 23:48:09,274 [execute] INFO git cat-file --batch [2022-09-22T23:48:09.419Z] 2022-09-22 23:48:09,275 [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-22T23:48:09.419Z] 2022-09-22 23:48:09,279 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-191/.semver/PR-191 [2022-09-22T23:48:09.419Z] 0.0.0 [Pipeline] } [2022-09-22T23:48:09.461Z] $ docker exec --env ******** --env ******** 77f9a4927ce2eb43644e6861c1b9f0a96b3c604bb22176ffa8ab57cfe650def1 ssh-agent -k [2022-09-22T23:48:09.562Z] unset SSH_AUTH_SOCK; [2022-09-22T23:48:09.563Z] unset SSH_AGENT_PID; [2022-09-22T23:48:09.563Z] echo Agent pid 75 killed; [2022-09-22T23:48:09.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T23:48:09.980Z] + git semver [Pipeline] } [2022-09-22T23:48:10.275Z] $ docker stop --time=1 77f9a4927ce2eb43644e6861c1b9f0a96b3c604bb22176ffa8ab57cfe650def1 [2022-09-22T23:48:11.555Z] $ docker rm -f 77f9a4927ce2eb43644e6861c1b9f0a96b3c604bb22176ffa8ab57cfe650def1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:48:11.942Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T23:48:12.176Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T23:48:12.194Z] [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-22T23:48:12.784Z] provisioning config files... [2022-09-22T23:48:12.795Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config1128559459915458534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:48:13.140Z] ---> docker-login.sh [2022-09-22T23:48:13.140Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:48:13.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:48:13.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:48:13.140Z] Configure a credential helper to remove this warning. See [2022-09-22T23:48:13.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:48:13.140Z] [2022-09-22T23:48:13.140Z] Login Succeeded [2022-09-22T23:48:13.140Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:48:13.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:48:13.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:48:13.140Z] Configure a credential helper to remove this warning. See [2022-09-22T23:48:13.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:48:13.140Z] [2022-09-22T23:48:13.140Z] Login Succeeded [2022-09-22T23:48:13.140Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:48:13.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:48:13.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:48:13.400Z] Configure a credential helper to remove this warning. See [2022-09-22T23:48:13.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:48:13.400Z] [2022-09-22T23:48:13.400Z] Login Succeeded [2022-09-22T23:48:13.400Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:48:13.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:48:13.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:48:13.400Z] Configure a credential helper to remove this warning. See [2022-09-22T23:48:13.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:48:13.400Z] [2022-09-22T23:48:13.400Z] Login Succeeded [2022-09-22T23:48:13.400Z] docker.io [2022-09-22T23:48:13.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:48:13.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:48:13.920Z] Configure a credential helper to remove this warning. See [2022-09-22T23:48:13.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:48:13.920Z] [2022-09-22T23:48:13.920Z] Login Succeeded [2022-09-22T23:48:13.920Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:48:13.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T23:48:14.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:48:14.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:48:14.178Z] ========================================================= [2022-09-22T23:48:14.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T23:48:14.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:48:14.641Z] + 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-22T23:48:14.641Z] Sending build context to Docker daemon 5.516MB [2022-09-22T23:48:14.641Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:48:14.641Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T23:48:14.641Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T23:48:14.641Z] 2408cc74d12b: Pulling fs layer [2022-09-22T23:48:14.641Z] ea60b727a1ce: Pulling fs layer [2022-09-22T23:48:14.641Z] 30c4a7721957: Pulling fs layer [2022-09-22T23:48:14.641Z] 370296b7ddb6: Pulling fs layer [2022-09-22T23:48:14.641Z] 7c6cee850709: Pulling fs layer [2022-09-22T23:48:14.641Z] 370296b7ddb6: Waiting [2022-09-22T23:48:14.641Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T23:48:14.641Z] d94ebbe4e438: Pulling fs layer [2022-09-22T23:48:14.641Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T23:48:14.641Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T23:48:14.641Z] 7c6cee850709: Waiting [2022-09-22T23:48:14.641Z] 39a5fcdaea64: Waiting [2022-09-22T23:48:14.641Z] bcfd1f05c69d: Waiting [2022-09-22T23:48:14.641Z] 30c4a7721957: Verifying Checksum [2022-09-22T23:48:14.641Z] 30c4a7721957: Download complete [2022-09-22T23:48:14.641Z] ea60b727a1ce: Download complete [2022-09-22T23:48:14.641Z] 7c6cee850709: Verifying Checksum [2022-09-22T23:48:14.641Z] 7c6cee850709: Download complete [2022-09-22T23:48:14.641Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T23:48:14.641Z] 39a5fcdaea64: Download complete [2022-09-22T23:48:14.641Z] 2408cc74d12b: Verifying Checksum [2022-09-22T23:48:14.641Z] 2408cc74d12b: Download complete [2022-09-22T23:48:14.901Z] d94ebbe4e438: Download complete [2022-09-22T23:48:14.901Z] 2408cc74d12b: Pull complete [2022-09-22T23:48:15.161Z] ea60b727a1ce: Pull complete [2022-09-22T23:48:15.161Z] 30c4a7721957: Pull complete [2022-09-22T23:48:15.161Z] 59ccb84bbe0f: Download complete [2022-09-22T23:48:15.730Z] 370296b7ddb6: Verifying Checksum [2022-09-22T23:48:15.730Z] 370296b7ddb6: Download complete [2022-09-22T23:48:15.730Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T23:48:15.730Z] bcfd1f05c69d: Download complete [2022-09-22T23:48:19.932Z] 370296b7ddb6: Pull complete [2022-09-22T23:48:19.932Z] 7c6cee850709: Pull complete [2022-09-22T23:48:19.932Z] 39a5fcdaea64: Pull complete [2022-09-22T23:48:19.932Z] d94ebbe4e438: Pull complete [2022-09-22T23:48:21.305Z] bcfd1f05c69d: Pull complete [2022-09-22T23:48:22.245Z] 59ccb84bbe0f: Pull complete [2022-09-22T23:48:22.245Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T23:48:22.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T23:48:22.245Z] ---> a4fb48ad2a94 [2022-09-22T23:48:22.245Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:48:23.184Z] ---> Running in 2dee9597a225 [2022-09-22T23:48:23.447Z] Removing intermediate container 2dee9597a225 [2022-09-22T23:48:23.447Z] ---> bca0738db45b [2022-09-22T23:48:23.447Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:48:23.447Z] ---> Running in dca4984c5a76 [2022-09-22T23:48:23.447Z] Removing intermediate container dca4984c5a76 [2022-09-22T23:48:23.447Z] ---> 9b785311c5c8 [2022-09-22T23:48:23.447Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:48:23.447Z] ---> Running in 39a8ecac66f3 [2022-09-22T23:48:23.447Z] Removing intermediate container 39a8ecac66f3 [2022-09-22T23:48:23.447Z] ---> 11226e4fae43 [2022-09-22T23:48:23.447Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:48:23.447Z] ---> Running in 8524eac0c2d6 [2022-09-22T23:48:23.705Z] Removing intermediate container 8524eac0c2d6 [2022-09-22T23:48:23.705Z] ---> cac6a6173477 [2022-09-22T23:48:23.705Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:48:23.705Z] ---> Running in a68a761f6d4d [2022-09-22T23:48:24.272Z] Removing intermediate container a68a761f6d4d [2022-09-22T23:48:24.272Z] ---> c83aa37d875a [2022-09-22T23:48:24.272Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:48:24.272Z] ---> Running in 01f6aded1841 [2022-09-22T23:48:24.531Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:48:25.469Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:48:25.730Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T23:48:25.730Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T23:48:25.730Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T23:48:25.989Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T23:48:25.989Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T23:48:25.989Z] OK: 216 MiB in 55 packages [2022-09-22T23:48:26.555Z] Removing intermediate container 01f6aded1841 [2022-09-22T23:48:26.555Z] ---> 6199a17b917a [2022-09-22T23:48:26.555Z] Step 9/13 : WORKDIR /device-snmp-go [2022-09-22T23:48:26.555Z] ---> Running in b1852118172c [2022-09-22T23:48:26.555Z] Removing intermediate container b1852118172c [2022-09-22T23:48:26.555Z] ---> af0d04e2bf89 [2022-09-22T23:48:26.555Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T23:48:26.555Z] ---> 06128fa23e90 [2022-09-22T23:48:26.555Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:48:26.815Z] ---> Running in db956ca62898 [2022-09-22T23:48:27.612Z] Still waiting to schedule task [2022-09-22T23:48:27.613Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T23:48:44.906Z] Removing intermediate container db956ca62898 [2022-09-22T23:48:44.906Z] ---> b6bc31028f3e [2022-09-22T23:48:44.906Z] Step 12/13 : COPY . . [2022-09-22T23:48:44.906Z] ---> 43dad494e033 [2022-09-22T23:48:44.906Z] Step 13/13 : RUN ${MAKE} [2022-09-22T23:48:44.906Z] ---> Running in 6871e05df577 [2022-09-22T23:48:44.906Z] noop [2022-09-22T23:48:45.166Z] Removing intermediate container 6871e05df577 [2022-09-22T23:48:45.166Z] ---> bb947052043e [2022-09-22T23:48:45.166Z] Successfully built bb947052043e [2022-09-22T23:48:45.166Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:48:45.614Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T23:48:45.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:48:45.770Z] prd-ubuntu20.04-docker-8c-8g-685 does not seem to be running inside a container [2022-09-22T23:48:45.813Z] $ 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 ******** ci-base-image-x86_64 cat [2022-09-22T23:48:46.162Z] $ docker top bd9ea628b972d0afe8d8c7f7bbf21dab0a70abf5a9da8ea23749bc88db3425fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:48:46.547Z] + go version [2022-09-22T23:48:46.547Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T23:48:46.592Z] $ docker stop --time=1 bd9ea628b972d0afe8d8c7f7bbf21dab0a70abf5a9da8ea23749bc88db3425fb [2022-09-22T23:48:47.878Z] $ docker rm -f bd9ea628b972d0afe8d8c7f7bbf21dab0a70abf5a9da8ea23749bc88db3425fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:48:48.566Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T23:48:48.566Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:48:48.711Z] prd-ubuntu20.04-docker-8c-8g-685 does not seem to be running inside a container [2022-09-22T23:48:48.754Z] $ 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 ******** ci-base-image-x86_64 cat [2022-09-22T23:48:49.097Z] $ docker top 9b992c9c5a0e33807d9e7960f02e3bd5fd38a62badf51648103547dd87ed67a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:48:49.478Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-191 [Pipeline] fileExists [Pipeline] sh [2022-09-22T23:48:49.833Z] + make test [2022-09-22T23:48:49.833Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T23:48:50.400Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-22T23:49:00.376Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-22T23:49:00.376Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-09-22T23:49:06.938Z] 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-22T23:49:06.938Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T23:49:11.126Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T23:49:11.126Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T23:49:11.126Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T23:49:11.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T23:49:11.206Z] $ docker stop --time=1 9b992c9c5a0e33807d9e7960f02e3bd5fd38a62badf51648103547dd87ed67a4 [2022-09-22T23:49:12.754Z] $ docker rm -f 9b992c9c5a0e33807d9e7960f02e3bd5fd38a62badf51648103547dd87ed67a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:49:13.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T23:49:13.306Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T23:49:13.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T23:49:14.270Z] + ls -al . [2022-09-22T23:49:14.270Z] total 172 [2022-09-22T23:49:14.270Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 23:48 . [2022-09-22T23:49:14.270Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:47 .. [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 22 23:47 .dockerignore [2022-09-22T23:49:14.270Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:49 .git [2022-09-22T23:49:14.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:47 .github [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 22 23:47 .gitignore [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:47 .golangci.yml [2022-09-22T23:49:14.270Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:48 .semver [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 8932 Sep 22 23:47 Attribution.txt [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 22 23:47 CHANGELOG.md [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 1575 Sep 22 23:47 Dockerfile [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:47 GOVERNANCE.md [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 22 23:47 Jenkinsfile [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:47 LICENSE [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 2543 Sep 22 23:47 Makefile [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 23:47 OWNERS.md [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 10054 Sep 22 23:47 README.md [2022-09-22T23:49:14.270Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:48 VERSION [2022-09-22T23:49:14.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:47 bin [2022-09-22T23:49:14.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:47 cmd [2022-09-22T23:49:14.270Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 22 23:48 coverage.out [2022-09-22T23:49:14.271Z] -rw-rw-r-- 1 jenkins jenkins 3473 Sep 22 23:47 go.mod [2022-09-22T23:49:14.271Z] -rw-rw-r-- 1 jenkins jenkins 38137 Sep 22 23:47 go.sum [2022-09-22T23:49:14.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:47 internal [2022-09-22T23:49:14.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:47 snap [2022-09-22T23:49:14.271Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 22 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:49:14.663Z] + 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=7f787c41a8349bce9f0eff8b0e3b9e9732a82243 --label arch=amd64 --label version=0.0.0 . [2022-09-22T23:49:14.663Z] Sending build context to Docker daemon 5.524MB [2022-09-22T23:49:14.663Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:49:14.663Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T23:49:14.663Z] ---> bb947052043e [2022-09-22T23:49:14.663Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:49:14.663Z] ---> Running in 293d140ae928 [2022-09-22T23:49:14.663Z] Removing intermediate container 293d140ae928 [2022-09-22T23:49:14.663Z] ---> bfd9e86693a8 [2022-09-22T23:49:14.663Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:49:14.663Z] ---> Running in 2275127517eb [2022-09-22T23:49:14.923Z] Removing intermediate container 2275127517eb [2022-09-22T23:49:14.923Z] ---> 3287bd883484 [2022-09-22T23:49:14.923Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:49:14.923Z] ---> Running in 61de9da8b50d [2022-09-22T23:49:14.923Z] Removing intermediate container 61de9da8b50d [2022-09-22T23:49:14.923Z] ---> e798e8ff7947 [2022-09-22T23:49:14.923Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:49:14.923Z] ---> Running in abfe28bc9787 [2022-09-22T23:49:14.923Z] Removing intermediate container abfe28bc9787 [2022-09-22T23:49:14.923Z] ---> dc7b8d2fc929 [2022-09-22T23:49:14.923Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:49:14.923Z] ---> Running in 7381cb25e923 [2022-09-22T23:49:15.493Z] Removing intermediate container 7381cb25e923 [2022-09-22T23:49:15.493Z] ---> 258693a7d94a [2022-09-22T23:49:15.493Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:49:15.752Z] ---> Running in c66d6dd9066e [2022-09-22T23:49:16.011Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:49:16.580Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:49:17.153Z] OK: 216 MiB in 55 packages [2022-09-22T23:49:17.412Z] Removing intermediate container c66d6dd9066e [2022-09-22T23:49:17.412Z] ---> 85c023cc7ca2 [2022-09-22T23:49:17.412Z] Step 9/25 : WORKDIR /device-snmp-go [2022-09-22T23:49:17.412Z] ---> Running in d59d2bc30b67 [2022-09-22T23:49:17.412Z] Removing intermediate container d59d2bc30b67 [2022-09-22T23:49:17.412Z] ---> 177e7fd8c8c3 [2022-09-22T23:49:17.412Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-22T23:49:17.673Z] ---> c9ea0bcc7f66 [2022-09-22T23:49:17.673Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:49:17.673Z] ---> Running in 2c3e892dcf02 [2022-09-22T23:49:18.244Z] Removing intermediate container 2c3e892dcf02 [2022-09-22T23:49:18.244Z] ---> 26b464c34358 [2022-09-22T23:49:18.244Z] Step 12/25 : COPY . . [2022-09-22T23:49:18.503Z] ---> 7023c3338bde [2022-09-22T23:49:18.503Z] Step 13/25 : RUN ${MAKE} [2022-09-22T23:49:18.503Z] ---> Running in 14eaa58a307e [2022-09-22T23:49:18.764Z] 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-22T23:49:40.721Z] Removing intermediate container 14eaa58a307e [2022-09-22T23:49:40.721Z] ---> 3fc39a51f9cd [2022-09-22T23:49:40.721Z] Step 14/25 : FROM alpine:3.16 [2022-09-22T23:49:40.721Z] 3.16: Pulling from library/alpine [2022-09-22T23:49:40.721Z] 213ec9aee27d: Pulling fs layer [2022-09-22T23:49:40.721Z] 213ec9aee27d: Verifying Checksum [2022-09-22T23:49:40.721Z] 213ec9aee27d: Download complete [2022-09-22T23:49:40.721Z] 213ec9aee27d: Pull complete [2022-09-22T23:49:40.721Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T23:49:40.721Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T23:49:40.721Z] ---> 9c6f07244728 [2022-09-22T23:49:40.721Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:49:40.721Z] ---> Running in 1a83549ee0c7 [2022-09-22T23:49:40.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:49:40.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:49:40.721Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:49:40.721Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T23:49:40.721Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:49:40.721Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T23:49:40.721Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:49:40.721Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:49:40.721Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T23:49:40.721Z] OK: 8 MiB in 20 packages [2022-09-22T23:49:40.721Z] Removing intermediate container 1a83549ee0c7 [2022-09-22T23:49:40.721Z] ---> 3849fc57c5a6 [2022-09-22T23:49:40.721Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-09-22T23:49:40.980Z] ---> e7eade6de7e9 [2022-09-22T23:49:40.980Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-22T23:49:40.980Z] ---> 75e9763a315a [2022-09-22T23:49:40.980Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-22T23:49:41.238Z] ---> 5226f8b56af7 [2022-09-22T23:49:41.238Z] Step 19/25 : EXPOSE 59993 [2022-09-22T23:49:41.238Z] ---> Running in efa1e2ce1dfa [2022-09-22T23:49:41.238Z] Removing intermediate container efa1e2ce1dfa [2022-09-22T23:49:41.238Z] ---> 2f9dcd0508fc [2022-09-22T23:49:41.238Z] Step 20/25 : EXPOSE 161 [2022-09-22T23:49:41.238Z] ---> Running in 4af57fa4849a [2022-09-22T23:49:41.497Z] Removing intermediate container 4af57fa4849a [2022-09-22T23:49:41.497Z] ---> 0c2d22efa27f [2022-09-22T23:49:41.497Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-09-22T23:49:41.497Z] ---> Running in 26859bf694ab [2022-09-22T23:49:41.497Z] Removing intermediate container 26859bf694ab [2022-09-22T23:49:41.497Z] ---> 308a0ab7d314 [2022-09-22T23:49:41.497Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-22T23:49:41.497Z] ---> Running in a6033825f38e [2022-09-22T23:49:41.497Z] Removing intermediate container a6033825f38e [2022-09-22T23:49:41.497Z] ---> 92795c6eab2e [2022-09-22T23:49:41.497Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T23:49:41.497Z] ---> Running in 89c95a76baf3 [2022-09-22T23:49:41.756Z] Removing intermediate container 89c95a76baf3 [2022-09-22T23:49:41.756Z] ---> 8598efe70d72 [2022-09-22T23:49:41.756Z] Step 24/25 : LABEL git_sha=7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [2022-09-22T23:49:41.756Z] ---> Running in a91de86f5017 [2022-09-22T23:49:41.756Z] Removing intermediate container a91de86f5017 [2022-09-22T23:49:41.756Z] ---> 73ce28b313e6 [2022-09-22T23:49:41.756Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T23:49:41.756Z] ---> Running in cbfcffcba835 [2022-09-22T23:49:41.756Z] Removing intermediate container cbfcffcba835 [2022-09-22T23:49:41.756Z] ---> 0d91f21fb580 [2022-09-22T23:49:41.756Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:49:41.756Z] Successfully built 0d91f21fb580 [2022-09-22T23:49:41.756Z] 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-22T23:49:42.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:49:42.588Z] [2022-09-22T23:49:42.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:49:42.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:49:42.959Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T23:49:42.959Z] 5eb5b503b376: Pulling fs layer [2022-09-22T23:49:42.959Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T23:49:42.959Z] ec43610c2a17: Pulling fs layer [2022-09-22T23:49:42.959Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T23:49:42.959Z] 33b1e0a273af: Pulling fs layer [2022-09-22T23:49:42.959Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T23:49:42.959Z] 2f39f015ded8: Pulling fs layer [2022-09-22T23:49:42.959Z] 33b1e0a273af: Waiting [2022-09-22T23:49:42.959Z] 5d3b04190fa2: Waiting [2022-09-22T23:49:42.959Z] 2f39f015ded8: Waiting [2022-09-22T23:49:42.959Z] 3a2ae6a8a46f: Waiting [2022-09-22T23:49:42.959Z] 5c69ac0246d0: Download complete [2022-09-22T23:49:42.959Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T23:49:42.959Z] 3a2ae6a8a46f: Download complete [2022-09-22T23:49:42.959Z] 33b1e0a273af: Verifying Checksum [2022-09-22T23:49:42.959Z] 33b1e0a273af: Download complete [2022-09-22T23:49:43.220Z] 5d3b04190fa2: Download complete [2022-09-22T23:49:43.220Z] ec43610c2a17: Verifying Checksum [2022-09-22T23:49:43.220Z] ec43610c2a17: Download complete [2022-09-22T23:49:43.220Z] 5eb5b503b376: Verifying Checksum [2022-09-22T23:49:43.220Z] 5eb5b503b376: Download complete [2022-09-22T23:49:43.787Z] 2f39f015ded8: Download complete [2022-09-22T23:49:44.353Z] 5eb5b503b376: Pull complete [2022-09-22T23:49:44.692Z] 5c69ac0246d0: Pull complete [2022-09-22T23:49:44.950Z] ec43610c2a17: Pull complete [2022-09-22T23:49:44.950Z] 3a2ae6a8a46f: Pull complete [2022-09-22T23:49:45.208Z] 33b1e0a273af: Pull complete [2022-09-22T23:49:45.208Z] 5d3b04190fa2: Pull complete [2022-09-22T23:49:49.388Z] 2f39f015ded8: Pull complete [2022-09-22T23:49:49.388Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T23:49:49.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:49:49.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:49:49.606Z] prd-ubuntu20.04-docker-8c-8g-685 does not seem to be running inside a container [2022-09-22T23:49:49.647Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T23:49:50.714Z] $ docker top 6073a4eb47ddc8a4302b073d44d8fff0036040c417bfb0e2e08fc296745d7857 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:49:51.156Z] ---> job-cost.sh [2022-09-22T23:49:51.156Z] lf-activate-venv: SKIPPING [2022-09-22T23:49:51.156Z] INFO: No Stack... [2022-09-22T23:49:51.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:49:51.511Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-687 in /w/workspace/gexfoundry_device-snmp-go_PR-191 [Pipeline] { [Pipeline] ws [2022-09-22T23:49:51.555Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-09-22T23:49:51.633Z] Selected Git installation does not exist. Using Default [2022-09-22T23:49:51.633Z] The recommended git tool is: NONE [2022-09-22T23:49:51.985Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:49:52.295Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-191/archives/cost.csv [2022-09-22T23:49:52.295Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T23:49:52.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] [2022-09-22T23:49:52.337Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] did not exist. Created. [2022-09-22T23:49:52.337Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:49:52.725Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T23:49:52.777Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:49:52.802Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:49:52.888Z] $ docker stop --time=1 6073a4eb47ddc8a4302b073d44d8fff0036040c417bfb0e2e08fc296745d7857 [2022-09-22T23:49:54.042Z] $ docker rm -f 6073a4eb47ddc8a4302b073d44d8fff0036040c417bfb0e2e08fc296745d7857 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T23:49:56.763Z] using credential edgex-jenkins-ssh [2022-09-22T23:49:56.781Z] Cloning the remote Git repository [2022-09-22T23:49:56.823Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-09-22T23:49:56.892Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-09-22T23:49:57.029Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-22T23:49:57.030Z] > git --version # timeout=10 [2022-09-22T23:49:57.048Z] > git --version # 'git version 2.25.1' [2022-09-22T23:49:57.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:49:57.096Z] Verifying host key using known hosts file [2022-09-22T23:49:57.285Z] 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-22T23:49:57.298Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T23:49:58.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-22T23:49:58.359Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T23:49:59.841Z] Merging remotes/origin/main commit 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 into PR head commit 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [2022-09-22T23:50:00.076Z] Merge succeeded, producing 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [2022-09-22T23:50:00.076Z] Checking out Revision 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 (PR-191) [2022-09-22T23:49:59.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-22T23:49:59.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-22T23:49:59.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:49:59.222Z] Verifying host key using known hosts file [2022-09-22T23:49:59.229Z] 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-22T23:49:59.240Z] > 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-22T23:49:59.861Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T23:49:59.883Z] > git checkout -f 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 # timeout=10 [2022-09-22T23:49:59.967Z] > git remote # timeout=10 [2022-09-22T23:49:59.985Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T23:50:00.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:50:00.006Z] Verifying host key using known hosts file [2022-09-22T23:50:00.012Z] 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-22T23:50:00.026Z] > git merge 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 [2022-09-22T23:50:00.053Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T23:50:00.084Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T23:50:00.097Z] > git checkout -f 7f787c41a8349bce9f0eff8b0e3b9e9732a82243 # timeout=10 [2022-09-22T23:50:03.545Z] Commit message: "build: Add option to build Service with NATS Capability" [2022-09-22T23:50:03.595Z] > git --version # timeout=10 [2022-09-22T23:50:03.608Z] > git --version # 'git version 2.25.1' [2022-09-22T23:50:03.623Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:50:04.840Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T23:50:04.840Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:50:04.840Z] Dload Upload Total Spent Left Speed [2022-09-22T23:50:04.840Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 68489 0 --:--:-- --:--:-- --:--:-- 68863 [Pipeline] sh [2022-09-22T23:50:05.502Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T23:50:05.844Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T23:50:05.844Z] + sudo tee /etc/docker/daemon.new [2022-09-22T23:50:05.844Z] { [2022-09-22T23:50:05.844Z] "registry-mirrors": [ [2022-09-22T23:50:05.844Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T23:50:05.844Z] ], [2022-09-22T23:50:05.844Z] "bip": "10.250.0.254/24", [2022-09-22T23:50:05.844Z] "hosts": [ [2022-09-22T23:50:05.844Z] "tcp://0.0.0.0:5555", [2022-09-22T23:50:05.844Z] "unix:///var/run/docker.sock" [2022-09-22T23:50:05.844Z] ], [2022-09-22T23:50:05.844Z] "mtu": 1458, [2022-09-22T23:50:05.844Z] "selinux-enabled": true, [2022-09-22T23:50:05.844Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T23:50:05.844Z] } [Pipeline] sh [2022-09-22T23:50:06.183Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T23:50:06.524Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:50:24.824Z] provisioning config files... [2022-09-22T23:50:24.846Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5028897979547760571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:50:25.225Z] ---> docker-login.sh [2022-09-22T23:50:25.225Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:50:25.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:50:25.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:50:25.761Z] Configure a credential helper to remove this warning. See [2022-09-22T23:50:25.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:50:25.761Z] [2022-09-22T23:50:25.761Z] Login Succeeded [2022-09-22T23:50:25.761Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:50:26.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:50:26.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:50:26.030Z] Configure a credential helper to remove this warning. See [2022-09-22T23:50:26.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:50:26.030Z] [2022-09-22T23:50:26.030Z] Login Succeeded [2022-09-22T23:50:26.030Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:50:26.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:50:26.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:50:26.570Z] Configure a credential helper to remove this warning. See [2022-09-22T23:50:26.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:50:26.570Z] [2022-09-22T23:50:26.570Z] Login Succeeded [2022-09-22T23:50:26.570Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:50:26.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:50:26.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:50:26.843Z] Configure a credential helper to remove this warning. See [2022-09-22T23:50:26.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:50:26.843Z] [2022-09-22T23:50:26.843Z] Login Succeeded [2022-09-22T23:50:26.843Z] docker.io [2022-09-22T23:50:27.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:50:27.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:50:27.379Z] Configure a credential helper to remove this warning. See [2022-09-22T23:50:27.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:50:27.379Z] [2022-09-22T23:50:27.379Z] Login Succeeded [2022-09-22T23:50:27.379Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:50:27.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T23:50:27.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:50:27.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:50:27.738Z] ========================================================= [2022-09-22T23:50:27.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T23:50:27.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:50:28.224Z] + 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-22T23:50:28.495Z] Sending build context to Docker daemon 2.861MB [2022-09-22T23:50:28.495Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:50:28.495Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T23:50:28.764Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T23:50:28.764Z] b3c136eddcbf: Pulling fs layer [2022-09-22T23:50:28.764Z] c0a3192eca97: Pulling fs layer [2022-09-22T23:50:28.764Z] a050256f5b6f: Pulling fs layer [2022-09-22T23:50:28.764Z] 656be50a0ddc: Pulling fs layer [2022-09-22T23:50:28.764Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T23:50:28.764Z] 46d945488cbd: Pulling fs layer [2022-09-22T23:50:28.764Z] 8a5474983e97: Pulling fs layer [2022-09-22T23:50:28.764Z] 329c88fbcd65: Pulling fs layer [2022-09-22T23:50:28.764Z] 656be50a0ddc: Waiting [2022-09-22T23:50:28.764Z] 2bbca73fdf42: Waiting [2022-09-22T23:50:28.764Z] 46d945488cbd: Waiting [2022-09-22T23:50:28.764Z] 8a5474983e97: Waiting [2022-09-22T23:50:28.764Z] 329c88fbcd65: Waiting [2022-09-22T23:50:28.764Z] a050256f5b6f: Verifying Checksum [2022-09-22T23:50:28.764Z] a050256f5b6f: Download complete [2022-09-22T23:50:28.764Z] c0a3192eca97: Verifying Checksum [2022-09-22T23:50:28.764Z] c0a3192eca97: Download complete [2022-09-22T23:50:28.764Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T23:50:28.764Z] 2bbca73fdf42: Download complete [2022-09-22T23:50:28.764Z] 46d945488cbd: Verifying Checksum [2022-09-22T23:50:28.764Z] 46d945488cbd: Download complete [2022-09-22T23:50:28.764Z] b3c136eddcbf: Verifying Checksum [2022-09-22T23:50:28.764Z] b3c136eddcbf: Download complete [2022-09-22T23:50:29.735Z] b3c136eddcbf: Pull complete [2022-09-22T23:50:30.010Z] 329c88fbcd65: Verifying Checksum [2022-09-22T23:50:30.010Z] 329c88fbcd65: Download complete [2022-09-22T23:50:30.282Z] c0a3192eca97: Pull complete [2022-09-22T23:50:30.552Z] a050256f5b6f: Pull complete [2022-09-22T23:50:31.136Z] 8a5474983e97: Verifying Checksum [2022-09-22T23:50:31.136Z] 8a5474983e97: Download complete [2022-09-22T23:50:31.720Z] 656be50a0ddc: Verifying Checksum [2022-09-22T23:50:31.720Z] 656be50a0ddc: Download complete [2022-09-22T23:50:44.048Z] 656be50a0ddc: Pull complete [2022-09-22T23:50:44.048Z] 2bbca73fdf42: Pull complete [2022-09-22T23:50:44.048Z] 46d945488cbd: Pull complete [2022-09-22T23:50:50.712Z] 8a5474983e97: Pull complete [2022-09-22T23:50:52.126Z] 329c88fbcd65: Pull complete [2022-09-22T23:50:52.126Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T23:50:52.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T23:50:52.126Z] ---> ff4287adb874 [2022-09-22T23:50:52.126Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:50:53.537Z] ---> Running in 2fddb9d05a5d [2022-09-22T23:50:53.805Z] Removing intermediate container 2fddb9d05a5d [2022-09-22T23:50:53.805Z] ---> b7b9c2f34d71 [2022-09-22T23:50:53.805Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:50:54.079Z] ---> Running in b8341f5b40e1 [2022-09-22T23:50:54.345Z] Removing intermediate container b8341f5b40e1 [2022-09-22T23:50:54.345Z] ---> 423bf5159ae5 [2022-09-22T23:50:54.345Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:50:54.345Z] ---> Running in e3ac0da091ee [2022-09-22T23:50:54.611Z] Removing intermediate container e3ac0da091ee [2022-09-22T23:50:54.611Z] ---> 5ba1135b80a3 [2022-09-22T23:50:54.611Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:50:54.884Z] ---> Running in a29cf9f55675 [2022-09-22T23:50:55.149Z] Removing intermediate container a29cf9f55675 [2022-09-22T23:50:55.149Z] ---> d81ecba9a38a [2022-09-22T23:50:55.149Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:50:55.149Z] ---> Running in c8239ec551c9 [2022-09-22T23:50:57.736Z] Removing intermediate container c8239ec551c9 [2022-09-22T23:50:57.736Z] ---> c6694516f259 [2022-09-22T23:50:57.736Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:50:57.736Z] ---> Running in fa43f6e49246 [2022-09-22T23:50:58.320Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:50:59.278Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:50:59.864Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T23:51:00.132Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T23:51:00.132Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T23:51:00.402Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T23:51:00.402Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T23:51:00.402Z] OK: 226 MiB in 55 packages [2022-09-22T23:51:01.371Z] Removing intermediate container fa43f6e49246 [2022-09-22T23:51:01.371Z] ---> 2b8a28b25809 [2022-09-22T23:51:01.371Z] Step 9/13 : WORKDIR /device-snmp-go [2022-09-22T23:51:01.641Z] ---> Running in 7a9d77229a6c [2022-09-22T23:51:01.909Z] Removing intermediate container 7a9d77229a6c [2022-09-22T23:51:01.909Z] ---> c12da8bac57b [2022-09-22T23:51:01.909Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T23:51:02.175Z] ---> 994dc0d5ea5c [2022-09-22T23:51:02.175Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:51:02.444Z] ---> Running in 76a1ae7a8ddd [2022-09-22T23:51:49.287Z] Removing intermediate container 76a1ae7a8ddd [2022-09-22T23:51:49.287Z] ---> b222e0426f2c [2022-09-22T23:51:49.287Z] Step 12/13 : COPY . . [2022-09-22T23:51:49.287Z] ---> 3177e74ea8e9 [2022-09-22T23:51:49.287Z] Step 13/13 : RUN ${MAKE} [2022-09-22T23:51:49.559Z] ---> Running in 55308a35c735 [2022-09-22T23:51:50.523Z] noop [2022-09-22T23:51:51.109Z] Removing intermediate container 55308a35c735 [2022-09-22T23:51:51.109Z] ---> f565546bd78b [2022-09-22T23:51:51.109Z] Successfully built f565546bd78b [2022-09-22T23:51:51.109Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:51:51.576Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T23:51:51.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:51:51.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-687 does not seem to be running inside a container [2022-09-22T23:51:51.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T23:51:53.067Z] $ docker top 56f47735c454f17b249ef93a2933c8bbead0ad5d7761e94539a081eb3e93e22d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:51:53.953Z] + go version [2022-09-22T23:51:53.953Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T23:51:53.988Z] $ docker stop --time=1 56f47735c454f17b249ef93a2933c8bbead0ad5d7761e94539a081eb3e93e22d [2022-09-22T23:51:55.588Z] $ docker rm -f 56f47735c454f17b249ef93a2933c8bbead0ad5d7761e94539a081eb3e93e22d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:51:56.419Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T23:51:56.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:51:56.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-687 does not seem to be running inside a container [2022-09-22T23:51:56.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T23:51:57.882Z] $ docker top 07ddd4c866328c36ec18a10c16cefec912c20df61e6db15c2b290822ff7b184a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:51:58.750Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-22T23:51:59.137Z] + make test [2022-09-22T23:51:59.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T23:52:01.720Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-22T23:53:23.370Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-22T23:53:23.370Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2022-09-22T23:53:23.370Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T23:53:23.370Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T23:53:38.357Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T23:53:38.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T23:53:38.357Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T23:53:38.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T23:53:38.428Z] $ docker stop --time=1 07ddd4c866328c36ec18a10c16cefec912c20df61e6db15c2b290822ff7b184a [2022-09-22T23:53:40.148Z] $ docker rm -f 07ddd4c866328c36ec18a10c16cefec912c20df61e6db15c2b290822ff7b184a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:53:41.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T23:53:41.124Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T23:53:41.463Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:53:42.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T23:53:42.394Z] + ls -al . [2022-09-22T23:53:42.395Z] total 168 [2022-09-22T23:53:42.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:52 . [2022-09-22T23:53:42.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:49 .. [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 22 23:49 .dockerignore [2022-09-22T23:53:42.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:50 .git [2022-09-22T23:53:42.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:49 .github [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 22 23:49 .gitignore [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:49 .golangci.yml [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 8932 Sep 22 23:49 Attribution.txt [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 22 23:49 CHANGELOG.md [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 1575 Sep 22 23:49 Dockerfile [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:49 GOVERNANCE.md [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 22 23:49 Jenkinsfile [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:49 LICENSE [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 2543 Sep 22 23:49 Makefile [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 23:49 OWNERS.md [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 10054 Sep 22 23:49 README.md [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:48 VERSION [2022-09-22T23:53:42.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:49 bin [2022-09-22T23:53:42.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:49 cmd [2022-09-22T23:53:42.395Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 22 23:53 coverage.out [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 3473 Sep 22 23:49 go.mod [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 38137 Sep 22 23:49 go.sum [2022-09-22T23:53:42.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:49 internal [2022-09-22T23:53:42.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:49 snap [2022-09-22T23:53:42.395Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 22 23:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:53:42.801Z] + 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=7f787c41a8349bce9f0eff8b0e3b9e9732a82243 --label arch=arm64 --label version=0.0.0 . [2022-09-22T23:53:43.067Z] Sending build context to Docker daemon 2.869MB [2022-09-22T23:53:43.067Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:53:43.067Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T23:53:43.067Z] ---> f565546bd78b [2022-09-22T23:53:43.067Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:53:43.067Z] ---> Running in 017cc2acc126 [2022-09-22T23:53:43.333Z] Removing intermediate container 017cc2acc126 [2022-09-22T23:53:43.333Z] ---> 32ed2b79e42a [2022-09-22T23:53:43.333Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:53:43.600Z] ---> Running in cc2b73b41401 [2022-09-22T23:53:43.866Z] Removing intermediate container cc2b73b41401 [2022-09-22T23:53:43.866Z] ---> 73fd4bacecd2 [2022-09-22T23:53:43.866Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:53:43.866Z] ---> Running in 89b572c7c64d [2022-09-22T23:53:44.133Z] Removing intermediate container 89b572c7c64d [2022-09-22T23:53:44.133Z] ---> 0c72a78a63ed [2022-09-22T23:53:44.133Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:53:44.133Z] ---> Running in 31af33ac67be [2022-09-22T23:53:44.398Z] Removing intermediate container 31af33ac67be [2022-09-22T23:53:44.398Z] ---> 894ddb33a9b0 [2022-09-22T23:53:44.398Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:53:44.398Z] ---> Running in a356eddfe686 [2022-09-22T23:53:46.344Z] Removing intermediate container a356eddfe686 [2022-09-22T23:53:46.344Z] ---> 75bc3713d9fe [2022-09-22T23:53:46.344Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:53:46.344Z] ---> Running in 9cde3a12e3f7 [2022-09-22T23:53:46.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:53:47.883Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:53:48.840Z] OK: 226 MiB in 55 packages [2022-09-22T23:53:49.421Z] Removing intermediate container 9cde3a12e3f7 [2022-09-22T23:53:49.421Z] ---> 562a6878a9d1 [2022-09-22T23:53:49.421Z] Step 9/25 : WORKDIR /device-snmp-go [2022-09-22T23:53:49.421Z] ---> Running in ebd01e544c25 [2022-09-22T23:53:49.689Z] Removing intermediate container ebd01e544c25 [2022-09-22T23:53:49.689Z] ---> 7c0e86bb2b16 [2022-09-22T23:53:49.689Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-22T23:53:50.272Z] ---> fb0e05da0185 [2022-09-22T23:53:50.272Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:53:50.272Z] ---> Running in b698fa91fb61 [2022-09-22T23:53:52.225Z] Removing intermediate container b698fa91fb61 [2022-09-22T23:53:52.225Z] ---> b783c48ad1a8 [2022-09-22T23:53:52.225Z] Step 12/25 : COPY . . [2022-09-22T23:53:52.807Z] ---> a9cb18a457bb [2022-09-22T23:53:52.807Z] Step 13/25 : RUN ${MAKE} [2022-09-22T23:53:53.080Z] ---> Running in 8a7f0817a674 [2022-09-22T23:53:54.057Z] 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-22T23:56:31.048Z] Removing intermediate container 8a7f0817a674 [2022-09-22T23:56:31.048Z] ---> f3801a1fcc40 [2022-09-22T23:56:31.048Z] Step 14/25 : FROM alpine:3.16 [2022-09-22T23:56:31.048Z] 3.16: Pulling from library/alpine [2022-09-22T23:56:31.048Z] 9b18e9b68314: Pulling fs layer [2022-09-22T23:56:31.048Z] 9b18e9b68314: Download complete [2022-09-22T23:56:31.048Z] 9b18e9b68314: Pull complete [2022-09-22T23:56:31.048Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T23:56:31.048Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T23:56:31.048Z] ---> a6215f271958 [2022-09-22T23:56:31.048Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:56:31.048Z] ---> Running in f4d6a9c73d33 [2022-09-22T23:56:31.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:56:31.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:56:31.048Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:56:31.048Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T23:56:31.048Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:56:31.048Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T23:56:31.048Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:56:31.048Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:56:31.048Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T23:56:31.048Z] OK: 8 MiB in 20 packages [2022-09-22T23:56:31.048Z] Removing intermediate container f4d6a9c73d33 [2022-09-22T23:56:31.048Z] ---> b46b68403487 [2022-09-22T23:56:31.048Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-09-22T23:56:31.048Z] ---> a1817e55521d [2022-09-22T23:56:31.048Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-22T23:56:31.048Z] ---> 4c7710965b6f [2022-09-22T23:56:31.048Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-22T23:56:31.048Z] ---> 0e4446ed3ffb [2022-09-22T23:56:31.048Z] Step 19/25 : EXPOSE 59993 [2022-09-22T23:56:31.048Z] ---> Running in 6f8d44041818 [2022-09-22T23:56:31.048Z] Removing intermediate container 6f8d44041818 [2022-09-22T23:56:31.048Z] ---> c24217ae28b8 [2022-09-22T23:56:31.048Z] Step 20/25 : EXPOSE 161 [2022-09-22T23:56:31.048Z] ---> Running in 15ceb4e12756 [2022-09-22T23:56:31.048Z] Removing intermediate container 15ceb4e12756 [2022-09-22T23:56:31.048Z] ---> ddc2c51f859e [2022-09-22T23:56:31.048Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-09-22T23:56:31.048Z] ---> Running in 81c46facf3dc [2022-09-22T23:56:31.048Z] Removing intermediate container 81c46facf3dc [2022-09-22T23:56:31.048Z] ---> 83c7b86ef6ea [2022-09-22T23:56:31.048Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-22T23:56:31.048Z] ---> Running in f66c4ad42a9b [2022-09-22T23:56:31.048Z] Removing intermediate container f66c4ad42a9b [2022-09-22T23:56:31.048Z] ---> 8625a41dbd70 [2022-09-22T23:56:31.048Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T23:56:31.048Z] ---> Running in 9cf038cffcd2 [2022-09-22T23:56:31.048Z] Removing intermediate container 9cf038cffcd2 [2022-09-22T23:56:31.048Z] ---> 2fc678f233df [2022-09-22T23:56:31.048Z] Step 24/25 : LABEL git_sha=7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [2022-09-22T23:56:31.048Z] ---> Running in 03a8e7a41661 [2022-09-22T23:56:31.048Z] Removing intermediate container 03a8e7a41661 [2022-09-22T23:56:31.048Z] ---> 5f126a9ca1fd [2022-09-22T23:56:31.048Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T23:56:31.048Z] ---> Running in 2c6f4ae8e7dd [2022-09-22T23:56:31.048Z] Removing intermediate container 2c6f4ae8e7dd [2022-09-22T23:56:31.048Z] ---> ec2b487937a1 [2022-09-22T23:56:31.048Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:56:31.048Z] Successfully built ec2b487937a1 [2022-09-22T23:56:31.048Z] 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-22T23:56:31.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:56:31.858Z] [2022-09-22T23:56:31.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:56:32.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:56:32.272Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T23:56:32.272Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T23:56:32.272Z] 04944245beec: Pulling fs layer [2022-09-22T23:56:32.272Z] 699f458cf7ca: Pulling fs layer [2022-09-22T23:56:32.272Z] 765212b225bb: Pulling fs layer [2022-09-22T23:56:32.272Z] f23df028b6ca: Pulling fs layer [2022-09-22T23:56:32.272Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T23:56:32.272Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T23:56:32.272Z] f23df028b6ca: Waiting [2022-09-22T23:56:32.272Z] d65c8cfc05b1: Waiting [2022-09-22T23:56:32.272Z] 2437ff75d9bd: Waiting [2022-09-22T23:56:32.272Z] 765212b225bb: Waiting [2022-09-22T23:56:32.544Z] 04944245beec: Verifying Checksum [2022-09-22T23:56:32.544Z] 04944245beec: Download complete [2022-09-22T23:56:32.544Z] 765212b225bb: Verifying Checksum [2022-09-22T23:56:32.544Z] 765212b225bb: Download complete [2022-09-22T23:56:32.544Z] f23df028b6ca: Verifying Checksum [2022-09-22T23:56:32.544Z] f23df028b6ca: Download complete [2022-09-22T23:56:32.544Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T23:56:32.544Z] d65c8cfc05b1: Download complete [2022-09-22T23:56:32.544Z] 699f458cf7ca: Verifying Checksum [2022-09-22T23:56:32.544Z] 699f458cf7ca: Download complete [2022-09-22T23:56:33.131Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T23:56:33.131Z] 8998bd30e6a1: Download complete [2022-09-22T23:56:35.720Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T23:56:35.720Z] 2437ff75d9bd: Download complete [2022-09-22T23:56:37.128Z] 8998bd30e6a1: Pull complete [2022-09-22T23:56:37.396Z] 04944245beec: Pull complete [2022-09-22T23:56:38.824Z] 699f458cf7ca: Pull complete [2022-09-22T23:56:39.090Z] 765212b225bb: Pull complete [2022-09-22T23:56:39.674Z] f23df028b6ca: Pull complete [2022-09-22T23:56:39.941Z] d65c8cfc05b1: Pull complete [2022-09-22T23:56:54.933Z] 2437ff75d9bd: Pull complete [2022-09-22T23:56:54.933Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T23:56:54.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:56:54.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:56:55.249Z] prd-ubuntu20.04-docker-arm64-4c-16g-687 does not seem to be running inside a container [2022-09-22T23:56:55.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T23:56:57.859Z] $ docker top 9d6a1de82fab563d6f19ef4e7a845a486e8b82137a5475d0a0c6113d8607cf4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:56:58.768Z] ---> job-cost.sh [2022-09-22T23:56:58.768Z] lf-activate-venv: SKIPPING [2022-09-22T23:56:58.768Z] INFO: No Stack... [2022-09-22T23:56:59.033Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T23:56:59.987Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:57:00.325Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-09-22T23:57:00.325Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T23:57:00.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] [2022-09-22T23:57:00.410Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] did not exist. Created. [2022-09-22T23:57:00.410Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:57:01.141Z] /w/workspace/device-snmp-go/1@tmp/durable-20cc3f6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T23:57:01.488Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T23:57:01.520Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T23:57:01.560Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:57:01.575Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-191-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:57:01.647Z] $ docker stop --time=1 9d6a1de82fab563d6f19ef4e7a845a486e8b82137a5475d0a0c6113d8607cf4d [2022-09-22T23:57:03.099Z] $ docker rm -f 9d6a1de82fab563d6f19ef4e7a845a486e8b82137a5475d0a0c6113d8607cf4d [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-22T23:57:04.082Z] provisioning config files... [2022-09-22T23:57:04.089Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config4658631702957574181tmp [Pipeline] { [Pipeline] sh [2022-09-22T23:57:04.417Z] + set +x [2022-09-22T23:57:04.417Z] + curl -s https://codecov.io/bash [2022-09-22T23:57:04.417Z] + bash -s -- [2022-09-22T23:57:04.417Z] [2022-09-22T23:57:04.417Z] _____ _ [2022-09-22T23:57:04.417Z] / ____| | | [2022-09-22T23:57:04.417Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T23:57:04.417Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T23:57:04.417Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T23:57:04.417Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T23:57:04.417Z] Bash-1.0.6 [2022-09-22T23:57:04.417Z] [2022-09-22T23:57:04.417Z] [2022-09-22T23:57:04.417Z] ==> git version 2.25.1 found [2022-09-22T23:57:04.417Z] ==> 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-22T23:57:04.417Z] Release-Date: 2020-01-08 [2022-09-22T23:57:04.417Z] 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-22T23:57:04.417Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T23:57:04.417Z] ==> Jenkins CI detected. [2022-09-22T23:57:04.417Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-191 [2022-09-22T23:57:04.417Z] project root: . [2022-09-22T23:57:04.417Z] --> token set from env [2022-09-22T23:57:04.417Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T23:57:04.417Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T23:57:04.417Z] ==> Python coveragepy not found [2022-09-22T23:57:04.417Z] ==> Searching for coverage reports in: [2022-09-22T23:57:04.417Z] + . [2022-09-22T23:57:04.417Z] -> Found 1 reports [2022-09-22T23:57:04.417Z] ==> Detecting git/mercurial file structure [2022-09-22T23:57:04.677Z] ==> Reading reports [2022-09-22T23:57:04.677Z] + ./coverage.out bytes=7631 [2022-09-22T23:57:04.677Z] ==> Appending adjustments [2022-09-22T23:57:04.677Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T23:57:04.677Z] + Found adjustments [2022-09-22T23:57:04.677Z] ==> Gzipping contents [2022-09-22T23:57:04.677Z] 4.0K /tmp/codecov.Ncg1Mf.gz [2022-09-22T23:57:04.677Z] ==> Uploading reports [2022-09-22T23:57:04.677Z] url: https://codecov.io [2022-09-22T23:57:04.677Z] query: branch=PR-191&commit=7f787c41a8349bce9f0eff8b0e3b9e9732a82243&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-191%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2022-09-22T23:57:04.677Z] -> Pinging Codecov [2022-09-22T23:57:04.677Z] 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=7f787c41a8349bce9f0eff8b0e3b9e9732a82243&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-191%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2022-09-22T23:57:04.937Z] -> Uploading to [2022-09-22T23:57:04.937Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/6C56EA5C29638FB4528AC87E60AF5AE0/7f787c41a8349bce9f0eff8b0e3b9e9732a82243/881307ba-2570-4774-a445-8dcd1f88a24d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T235704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=056c87690f66490bdf71ee1babee7830965ac66de4017a9021f69f526e404946 [2022-09-22T23:57:04.937Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:57:04.937Z] Dload Upload Total Spent Left Speed [2022-09-22T23:57:05.197Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6027 --:--:-- --:--:-- --:--:-- 6027 [2022-09-22T23:57:05.197Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/7f787c41a8349bce9f0eff8b0e3b9e9732a82243 [Pipeline] } [2022-09-22T23:57:05.229Z] 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-22T23:57:06.975Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-191/archives ] [2022-09-22T23:57:06.975Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-191/archives [2022-09-22T23:57:06.975Z] total 16 [2022-09-22T23:57:06.975Z] drwxr-xr-x 3 root root 4096 Sep 22 23:49 . [2022-09-22T23:57:06.975Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:49 .. [2022-09-22T23:57:06.975Z] drwxr-xr-x 2 root root 4096 Sep 22 23:49 cost [2022-09-22T23:57:06.975Z] -rw-r--r-- 1 root root 87 Sep 22 23:49 cost.csv [2022-09-22T23:57:06.975Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-191/archives [2022-09-22T23:57:06.975Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-191/archives [2022-09-22T23:57:06.975Z] total 16 [2022-09-22T23:57:06.975Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:49 . [2022-09-22T23:57:06.975Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:49 .. [2022-09-22T23:57:06.975Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 23:49 cost [2022-09-22T23:57:06.975Z] -rw-r--r-- 1 jenkins jenkins 87 Sep 22 23:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:57:07.298Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:57:08.186Z] ---> package-listing.sh [2022-09-22T23:57:08.186Z] ++ facter osfamily [2022-09-22T23:57:08.186Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T23:57:08.445Z] + OS_FAMILY=debian [2022-09-22T23:57:08.445Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-191 [2022-09-22T23:57:08.445Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T23:57:08.445Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T23:57:08.445Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T23:57:08.445Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T23:57:08.445Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-191 ']' [2022-09-22T23:57:08.445Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T23:57:08.445Z] + case "${OS_FAMILY}" in [2022-09-22T23:57:08.445Z] + dpkg -l [2022-09-22T23:57:08.445Z] + grep '^ii' [2022-09-22T23:57:08.445Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T23:57:08.445Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T23:57:08.445Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T23:57:08.445Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-191 ']' [2022-09-22T23:57:08.445Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-191/archives/ [2022-09-22T23:57:08.445Z] + 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-22T23:57:08.481Z] 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-22T23:57:08.775Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:57:09.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:57:09.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:57:09.542Z] prd-ubuntu20.04-docker-8c-8g-685 does not seem to be running inside a container [2022-09-22T23:57:09.584Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T23:57:09.776Z] $ docker top cc20ea13455f8dfcad91f415f719f38b5e647050d78de4a03e0b9411880ab785 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:57:10.158Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T23:57:10.473Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T23:57:10.783Z] + ls /var/log/sa-host [2022-09-22T23:57:10.783Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:57:11.006Z] provisioning config files... [2022-09-22T23:57:11.013Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-191@tmp/config10417119373414391903tmp [Pipeline] { [Pipeline] echo [2022-09-22T23:57:11.071Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:57:11.424Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T23:57:11.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:57:11.862Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T23:57:11.894Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:57:12.206Z] ---> sudo-logs.sh [2022-09-22T23:57:12.206Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T23:57:12.289Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:57:12.599Z] ---> job-cost.sh [2022-09-22T23:57:12.600Z] lf-activate-venv: SKIPPING [2022-09-22T23:57:12.600Z] DEBUG: total: 0.2199999988079071 [2022-09-22T23:57:12.600Z] INFO: Retrieving Stack Cost... [2022-09-22T23:57:12.858Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:57:13.425Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T23:57:13.466Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:57:13.784Z] ---> logs-deploy.sh [2022-09-22T23:57:13.784Z] lf-activate-venv: SKIPPING [2022-09-22T23:57:13.784Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-191/1 [2022-09-22T23:57:13.784Z] INFO: archiving workspace using pattern(s):