Pull request #196 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2a4bb7ea236c3f038cb62183bee10b83f9812c3+d466151200edb95fff3e1a1306a852eb5b109481 (78239a7545d5250746043b4e877855b2500fdd27) 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-ssh2144547880739183995.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-ssh16128904383462109118.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-196/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-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7432186053106444127.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-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6937261838122942518.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-ssh2198607876750223332.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-196/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-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10961495148837075366.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7487 in /w/workspace/gexfoundry_device-snmp-go_PR-196 [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-196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d466151200edb95fff3e1a1306a852eb5b109481 into PR head commit d2a4bb7ea236c3f038cb62183bee10b83f9812c3 Merge succeeded, producing d2a4bb7ea236c3f038cb62183bee10b83f9812c3 Checking out Revision d2a4bb7ea236c3f038cb62183bee10b83f9812c3 (PR-196) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T05:04:20.008Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T05:04:20.179Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T05:04:20.279Z] ========================================================= [2022-10-10T05:04:20.279Z] EdgeX Global Pipelines Version Info [2022-10-10T05:04:20.279Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # 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 d466151200edb95fff3e1a1306a852eb5b109481 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # timeout=10 [2022-10-10T05:04:21.020Z] ------------------- [2022-10-10T05:04:21.020Z] stable info: [2022-10-10T05:04:21.020Z] ------------------- [2022-10-10T05:04:21.020Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T05:04:21.020Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T05:04:21.020Z] Message: update stable to v1.0.239 [2022-10-10T05:04:21.590Z] ------------------- [2022-10-10T05:04:21.590Z] experimental info: [2022-10-10T05:04:21.590Z] ------------------- [2022-10-10T05:04:21.590Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T05:04:21.590Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T05:04:21.590Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T05:04:21.870Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-10T05:04:21.912Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-10T05:04:21.956Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T05:04:21.995Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T05:04:22.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T05:04:22.079Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T05:04:22.120Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T05:04:22.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T05:04:22.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T05:04:22.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T05:04:22.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T05:04:22.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-10T05:04:22.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T05:04:22.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T05:04:22.449Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T05:04:22.488Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T05:04:22.527Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T05:04:22.567Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T05:04:22.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T05:04:22.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T05:04:22.690Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T05:04:22.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T05:04:22.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T05:04:22.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T05:04:22.853Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T05:04:22.891Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T05:04:22.932Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T05:04:22.974Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-196 [Pipeline] echo [2022-10-10T05:04:23.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-196 [Pipeline] echo [2022-10-10T05:04:23.060Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-196 [Pipeline] echo [2022-10-10T05:04:23.102Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo [2022-10-10T05:04:23.139Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2a4bb7 [Pipeline] echo [2022-10-10T05:04:23.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:04:23.288Z] provisioning config files... [2022-10-10T05:04:23.302Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config13357446947712477277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:04:23.637Z] ---> docker-login.sh [2022-10-10T05:04:23.638Z] nexus3.edgexfoundry.org:10001 [2022-10-10T05:04:23.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:23.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:23.898Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:23.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:23.898Z] [2022-10-10T05:04:23.898Z] Login Succeeded [2022-10-10T05:04:23.898Z] nexus3.edgexfoundry.org:10002 [2022-10-10T05:04:23.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:23.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:23.898Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:23.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:23.898Z] [2022-10-10T05:04:23.898Z] Login Succeeded [2022-10-10T05:04:23.898Z] nexus3.edgexfoundry.org:10003 [2022-10-10T05:04:24.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:24.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:24.158Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:24.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:24.158Z] [2022-10-10T05:04:24.158Z] Login Succeeded [2022-10-10T05:04:24.158Z] nexus3.edgexfoundry.org:10004 [2022-10-10T05:04:24.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:24.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:24.158Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:24.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:24.158Z] [2022-10-10T05:04:24.158Z] Login Succeeded [2022-10-10T05:04:24.158Z] docker.io [2022-10-10T05:04:24.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:24.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:24.680Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:24.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:24.680Z] [2022-10-10T05:04:24.680Z] Login Succeeded [2022-10-10T05:04:24.680Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T05:04:24.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T05:04:25.334Z] + git rev-list -1 --merges d2a4bb7ea236c3f038cb62183bee10b83f9812c3~1..d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo [2022-10-10T05:04:25.377Z] -----------> git rev-list -1 --merges d2a4bb7ea236c3f038cb62183bee10b83f9812c3~1..d2a4bb7ea236c3f038cb62183bee10b83f9812c3 d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [false] [Pipeline] sh [2022-10-10T05:04:25.694Z] + git log --format=format:%s -1 d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo [2022-10-10T05:04:25.731Z] ========================================================= [2022-10-10T05:04:25.731Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T05:04:25.731Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T05:04:26.177Z] + git log --format=format:%s -1 d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo [2022-10-10T05:04:26.208Z] [semverPrep] GIT_COMMIT: d2a4bb7ea236c3f038cb62183bee10b83f9812c3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-10T05:04:26.234Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T05:04:26.600Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T05:04:26.600Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T05:04:26.600Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T05:04:26.600Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T05:04:26.600Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T05:04:26.600Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T05:04:26.600Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:04:27.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T05:04:27.039Z] [2022-10-10T05:04:27.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:04:27.414Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T05:04:27.414Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T05:04:27.414Z] b85a868b505f: Pulling fs layer [2022-10-10T05:04:27.414Z] e2be974225ed: Pulling fs layer [2022-10-10T05:04:27.414Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T05:04:27.414Z] 988bab9f4d93: Pulling fs layer [2022-10-10T05:04:27.414Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T05:04:27.414Z] eaf3925da568: Pulling fs layer [2022-10-10T05:04:27.414Z] bab4dde63d76: Pulling fs layer [2022-10-10T05:04:27.414Z] bde34c3a00c8: Pulling fs layer [2022-10-10T05:04:27.414Z] b352a97aabf1: Pulling fs layer [2022-10-10T05:04:27.414Z] 4872d77fe225: Pulling fs layer [2022-10-10T05:04:27.414Z] 5851b861e8e6: Pulling fs layer [2022-10-10T05:04:27.414Z] 988bab9f4d93: Waiting [2022-10-10T05:04:27.414Z] 1469e6f7b9e6: Waiting [2022-10-10T05:04:27.414Z] eaf3925da568: Waiting [2022-10-10T05:04:27.414Z] bab4dde63d76: Waiting [2022-10-10T05:04:27.414Z] bde34c3a00c8: Waiting [2022-10-10T05:04:27.414Z] b352a97aabf1: Waiting [2022-10-10T05:04:27.414Z] 4872d77fe225: Waiting [2022-10-10T05:04:27.414Z] 5851b861e8e6: Waiting [2022-10-10T05:04:27.414Z] e2be974225ed: Verifying Checksum [2022-10-10T05:04:27.414Z] e2be974225ed: Download complete [2022-10-10T05:04:27.414Z] 988bab9f4d93: Download complete [2022-10-10T05:04:27.673Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T05:04:27.673Z] 1469e6f7b9e6: Download complete [2022-10-10T05:04:27.673Z] eaf3925da568: Verifying Checksum [2022-10-10T05:04:27.673Z] eaf3925da568: Download complete [2022-10-10T05:04:27.673Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T05:04:27.674Z] 339a4e72a1f5: Download complete [2022-10-10T05:04:27.674Z] bde34c3a00c8: Verifying Checksum [2022-10-10T05:04:27.674Z] bde34c3a00c8: Download complete [2022-10-10T05:04:27.674Z] b352a97aabf1: Download complete [2022-10-10T05:04:27.674Z] 4872d77fe225: Verifying Checksum [2022-10-10T05:04:27.674Z] 4872d77fe225: Download complete [2022-10-10T05:04:27.674Z] 5851b861e8e6: Verifying Checksum [2022-10-10T05:04:27.674Z] 5851b861e8e6: Download complete [2022-10-10T05:04:27.674Z] b85a868b505f: Verifying Checksum [2022-10-10T05:04:27.674Z] b85a868b505f: Download complete [2022-10-10T05:04:27.932Z] bab4dde63d76: Verifying Checksum [2022-10-10T05:04:27.932Z] bab4dde63d76: Download complete [2022-10-10T05:04:28.867Z] b85a868b505f: Pull complete [2022-10-10T05:04:29.126Z] e2be974225ed: Pull complete [2022-10-10T05:04:29.385Z] 339a4e72a1f5: Pull complete [2022-10-10T05:04:29.644Z] 988bab9f4d93: Pull complete [2022-10-10T05:04:29.644Z] 1469e6f7b9e6: Pull complete [2022-10-10T05:04:29.902Z] eaf3925da568: Pull complete [2022-10-10T05:04:31.807Z] bab4dde63d76: Pull complete [2022-10-10T05:04:31.807Z] bde34c3a00c8: Pull complete [2022-10-10T05:04:31.807Z] b352a97aabf1: Pull complete [2022-10-10T05:04:31.807Z] 4872d77fe225: Pull complete [2022-10-10T05:04:31.807Z] 5851b861e8e6: Pull complete [2022-10-10T05:04:31.807Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T05:04:31.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T05:04:31.807Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:04:32.030Z] prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container [2022-10-10T05:04:32.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T05:04:35.227Z] $ docker top 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 -eo pid,comm [2022-10-10T05:04:35.278Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T05:04:35.278Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T05:04:35.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T05:04:35.400Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T05:04:35.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T05:04:35.512Z] $ docker exec 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent [2022-10-10T05:04:35.620Z] SSH_AUTH_SOCK=/tmp/ssh-VRG0BAkfREqV/agent.32 [2022-10-10T05:04:35.620Z] SSH_AGENT_PID=38 [2022-10-10T05:04:35.626Z] Running ssh-add (command line suppressed) [2022-10-10T05:04:35.730Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5772893736893547453.key (/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5772893736893547453.key) [2022-10-10T05:04:35.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T05:04:36.062Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T05:04:36.090Z] $ docker exec --env ******** --env ******** 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent -k [2022-10-10T05:04:36.189Z] unset SSH_AUTH_SOCK; [2022-10-10T05:04:36.189Z] unset SSH_AGENT_PID; [2022-10-10T05:04:36.189Z] echo Agent pid 38 killed; [2022-10-10T05:04:36.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T05:04:36.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T05:04:36.273Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T05:04:36.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T05:04:36.387Z] $ docker exec 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent [2022-10-10T05:04:36.486Z] SSH_AUTH_SOCK=/tmp/ssh-Q6hDguYzLf9b/agent.70 [2022-10-10T05:04:36.486Z] SSH_AGENT_PID=76 [2022-10-10T05:04:36.490Z] Running ssh-add (command line suppressed) [2022-10-10T05:04:36.600Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5180880781679311021.key (/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5180880781679311021.key) [2022-10-10T05:04:36.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T05:04:36.931Z] + git semver init [2022-10-10T05:04:37.190Z] 2022-10-10 05:04:37,105 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T05:04:37.190Z] 2022-10-10 05:04:37,106 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver [2022-10-10T05:04:37.190Z] 2022-10-10 05:04:37,107 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-196/.semver [2022-10-10T05:04:37.190Z] 2022-10-10 05:04:37,107 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-196, universal_newlines=False, shell=None, istream=None) [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:37,998 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-196/.git/info/exclude [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:37,998 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver/PR-196 with force:False [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:37,998 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver/PR-196 [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:38,002 [execute] INFO git cat-file --batch-check [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:38,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:38,007 [execute] INFO git cat-file --batch [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:38,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T05:04:38.128Z] 2022-10-10 05:04:38,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-196/.semver/PR-196 [2022-10-10T05:04:38.128Z] 0.0.0 [Pipeline] } [2022-10-10T05:04:38.157Z] $ docker exec --env ******** --env ******** 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent -k [2022-10-10T05:04:38.260Z] unset SSH_AUTH_SOCK; [2022-10-10T05:04:38.260Z] unset SSH_AGENT_PID; [2022-10-10T05:04:38.260Z] echo Agent pid 76 killed; [2022-10-10T05:04:38.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T05:04:38.689Z] + git semver [Pipeline] } [2022-10-10T05:04:38.975Z] $ docker stop --time=1 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 [2022-10-10T05:04:40.282Z] $ docker rm -f 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T05:04:40.692Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T05:04:40.929Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T05:04:40.945Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:04:41.507Z] provisioning config files... [2022-10-10T05:04:41.516Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config8199988496948001073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:04:41.853Z] ---> docker-login.sh [2022-10-10T05:04:41.853Z] nexus3.edgexfoundry.org:10001 [2022-10-10T05:04:41.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:41.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:41.853Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:41.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:41.853Z] [2022-10-10T05:04:41.853Z] Login Succeeded [2022-10-10T05:04:41.853Z] nexus3.edgexfoundry.org:10002 [2022-10-10T05:04:41.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:41.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:41.853Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:41.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:41.853Z] [2022-10-10T05:04:41.853Z] Login Succeeded [2022-10-10T05:04:41.853Z] nexus3.edgexfoundry.org:10003 [2022-10-10T05:04:42.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:42.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:42.112Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:42.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:42.112Z] [2022-10-10T05:04:42.112Z] Login Succeeded [2022-10-10T05:04:42.112Z] nexus3.edgexfoundry.org:10004 [2022-10-10T05:04:42.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:42.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:42.112Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:42.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:42.112Z] [2022-10-10T05:04:42.112Z] Login Succeeded [2022-10-10T05:04:42.112Z] docker.io [2022-10-10T05:04:42.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:04:42.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:04:42.631Z] Configure a credential helper to remove this warning. See [2022-10-10T05:04:42.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:04:42.631Z] [2022-10-10T05:04:42.631Z] Login Succeeded [2022-10-10T05:04:42.631Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T05:04:42.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T05:04:42.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:04:42.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:04:42.943Z] ========================================================= [2022-10-10T05:04:42.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T05:04:42.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:04:43.415Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T05:04:43.415Z] Sending build context to Docker daemon 5.516MB [2022-10-10T05:04:43.415Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:04:43.415Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T05:04:43.415Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T05:04:43.415Z] 2408cc74d12b: Pulling fs layer [2022-10-10T05:04:43.415Z] ea60b727a1ce: Pulling fs layer [2022-10-10T05:04:43.415Z] 30c4a7721957: Pulling fs layer [2022-10-10T05:04:43.415Z] 370296b7ddb6: Pulling fs layer [2022-10-10T05:04:43.415Z] 7c6cee850709: Pulling fs layer [2022-10-10T05:04:43.415Z] aa9baa53a306: Pulling fs layer [2022-10-10T05:04:43.415Z] 8b309c321861: Pulling fs layer [2022-10-10T05:04:43.415Z] d8d76fd02f46: Pulling fs layer [2022-10-10T05:04:43.415Z] fa31f396de31: Pulling fs layer [2022-10-10T05:04:43.415Z] 8b309c321861: Waiting [2022-10-10T05:04:43.415Z] 370296b7ddb6: Waiting [2022-10-10T05:04:43.415Z] 7c6cee850709: Waiting [2022-10-10T05:04:43.415Z] aa9baa53a306: Waiting [2022-10-10T05:04:43.415Z] d8d76fd02f46: Waiting [2022-10-10T05:04:43.415Z] fa31f396de31: Waiting [2022-10-10T05:04:43.415Z] 30c4a7721957: Verifying Checksum [2022-10-10T05:04:43.415Z] 30c4a7721957: Download complete [2022-10-10T05:04:43.415Z] ea60b727a1ce: Verifying Checksum [2022-10-10T05:04:43.415Z] ea60b727a1ce: Download complete [2022-10-10T05:04:43.415Z] 7c6cee850709: Download complete [2022-10-10T05:04:43.415Z] aa9baa53a306: Download complete [2022-10-10T05:04:43.677Z] 2408cc74d12b: Verifying Checksum [2022-10-10T05:04:43.677Z] 2408cc74d12b: Download complete [2022-10-10T05:04:43.677Z] 8b309c321861: Download complete [2022-10-10T05:04:43.677Z] 2408cc74d12b: Pull complete [2022-10-10T05:04:43.938Z] ea60b727a1ce: Pull complete [2022-10-10T05:04:43.938Z] 30c4a7721957: Pull complete [2022-10-10T05:04:44.210Z] fa31f396de31: Verifying Checksum [2022-10-10T05:04:44.210Z] fa31f396de31: Download complete [2022-10-10T05:04:44.210Z] d8d76fd02f46: Verifying Checksum [2022-10-10T05:04:44.210Z] d8d76fd02f46: Download complete [2022-10-10T05:04:44.471Z] 370296b7ddb6: Download complete [2022-10-10T05:04:48.656Z] 370296b7ddb6: Pull complete [2022-10-10T05:04:48.656Z] 7c6cee850709: Pull complete [2022-10-10T05:04:48.656Z] aa9baa53a306: Pull complete [2022-10-10T05:04:48.656Z] 8b309c321861: Pull complete [2022-10-10T05:04:50.084Z] d8d76fd02f46: Pull complete [2022-10-10T05:04:51.027Z] fa31f396de31: Pull complete [2022-10-10T05:04:51.027Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T05:04:51.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T05:04:51.027Z] ---> cef68f9685f8 [2022-10-10T05:04:51.027Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:04:56.307Z] ---> Running in 52b89e726c4b [2022-10-10T05:04:56.307Z] Removing intermediate container 52b89e726c4b [2022-10-10T05:04:56.307Z] ---> a9f3ece074cb [2022-10-10T05:04:56.307Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:04:56.307Z] ---> Running in 9f0ebed208eb [2022-10-10T05:04:56.307Z] Removing intermediate container 9f0ebed208eb [2022-10-10T05:04:56.307Z] ---> b39e8d937017 [2022-10-10T05:04:56.307Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T05:04:56.307Z] ---> Running in dcf3af7cd380 [2022-10-10T05:04:56.307Z] Removing intermediate container dcf3af7cd380 [2022-10-10T05:04:56.307Z] ---> e892d18ac24b [2022-10-10T05:04:56.307Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T05:04:56.307Z] ---> Running in 66a01869fc27 [2022-10-10T05:04:56.307Z] Removing intermediate container 66a01869fc27 [2022-10-10T05:04:56.307Z] ---> ff9cc8503564 [2022-10-10T05:04:56.307Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:04:56.307Z] ---> Running in 00a89f9b4a08 [2022-10-10T05:04:56.307Z] Removing intermediate container 00a89f9b4a08 [2022-10-10T05:04:56.307Z] ---> 59b5c9361d29 [2022-10-10T05:04:56.307Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T05:04:56.307Z] ---> Running in 44e82ab2b349 [2022-10-10T05:04:56.333Z] Still waiting to schedule task [2022-10-10T05:04:56.334Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7488’ is offline [2022-10-10T05:04:56.567Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T05:04:57.504Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T05:04:57.763Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T05:04:57.763Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T05:04:58.023Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T05:04:58.023Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T05:04:58.283Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T05:04:58.283Z] OK: 216 MiB in 55 packages [2022-10-10T05:04:58.542Z] Removing intermediate container 44e82ab2b349 [2022-10-10T05:04:58.542Z] ---> 89ed7770ce1e [2022-10-10T05:04:58.542Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-10T05:04:58.800Z] ---> Running in b4c807a50695 [2022-10-10T05:04:58.800Z] Removing intermediate container b4c807a50695 [2022-10-10T05:04:58.800Z] ---> 3813869d74ce [2022-10-10T05:04:58.800Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T05:04:58.800Z] ---> b89ed8ce5adc [2022-10-10T05:04:58.800Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:04:58.800Z] ---> Running in a411b86331ab [2022-10-10T05:05:20.764Z] Removing intermediate container a411b86331ab [2022-10-10T05:05:20.764Z] ---> a27f9dc8998a [2022-10-10T05:05:20.764Z] Step 12/13 : COPY . . [2022-10-10T05:05:20.764Z] ---> cf7bfe843560 [2022-10-10T05:05:20.764Z] Step 13/13 : RUN ${MAKE} [2022-10-10T05:05:20.764Z] ---> Running in ec0340dd8c24 [2022-10-10T05:05:20.764Z] noop [2022-10-10T05:05:20.764Z] Removing intermediate container ec0340dd8c24 [2022-10-10T05:05:20.764Z] ---> 5138690da5f9 [2022-10-10T05:05:20.764Z] Successfully built 5138690da5f9 [2022-10-10T05:05:20.764Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:05:21.211Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T05:05:21.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:05:21.356Z] prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container [2022-10-10T05:05:21.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T05:05:21.726Z] $ docker top ad7b5e80a24f0eeff2add7b322adad584047dfc8a973badbd18904c4fbc7c069 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:05:22.101Z] + go version [2022-10-10T05:05:22.101Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T05:05:22.139Z] $ docker stop --time=1 ad7b5e80a24f0eeff2add7b322adad584047dfc8a973badbd18904c4fbc7c069 [2022-10-10T05:05:23.410Z] $ docker rm -f ad7b5e80a24f0eeff2add7b322adad584047dfc8a973badbd18904c4fbc7c069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:05:24.109Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T05:05:24.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:05:24.254Z] prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container [2022-10-10T05:05:24.291Z] $ 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-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T05:05:24.659Z] $ docker top 7a872d48947a274900722c72bbb1fd8af8c8b9c951624ba7683bb54ca0641595 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:05:25.045Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-196 [Pipeline] fileExists [Pipeline] sh [2022-10-10T05:05:25.397Z] + make test [2022-10-10T05:05:25.397Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T05:05:25.655Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-10T05:05:33.760Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-10T05:05:33.760Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.029s coverage: 0.0% of statements [2022-10-10T05:05:40.317Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T05:05:40.317Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T05:05:43.604Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T05:05:43.604Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T05:05:43.604Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T05:05:43.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T05:05:43.678Z] $ docker stop --time=1 7a872d48947a274900722c72bbb1fd8af8c8b9c951624ba7683bb54ca0641595 [2022-10-10T05:05:46.338Z] $ docker rm -f 7a872d48947a274900722c72bbb1fd8af8c8b9c951624ba7683bb54ca0641595 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T05:05:46.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T05:05:46.919Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T05:05:47.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T05:05:47.913Z] + ls -al . [2022-10-10T05:05:47.913Z] total 172 [2022-10-10T05:05:47.913Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 05:05 . [2022-10-10T05:05:47.913Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:04 .. [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 10 05:04 .dockerignore [2022-10-10T05:05:47.913Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:05 .git [2022-10-10T05:05:47.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:04 .github [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 10 05:04 .gitignore [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:04 .golangci.yml [2022-10-10T05:05:47.913Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:04 .semver [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 10 05:04 Attribution.txt [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 10 05:04 CHANGELOG.md [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 10 05:04 Dockerfile [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:04 GOVERNANCE.md [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 10 05:04 Jenkinsfile [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:04 LICENSE [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 10 05:04 Makefile [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 05:04 OWNERS.md [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 10 05:04 README.md [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:04 VERSION [2022-10-10T05:05:47.913Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:04 bin [2022-10-10T05:05:47.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:04 cmd [2022-10-10T05:05:47.913Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 10 05:05 coverage.out [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 10 05:04 go.mod [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 10 05:04 go.sum [2022-10-10T05:05:47.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:04 internal [2022-10-10T05:05:47.913Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:04 snap [2022-10-10T05:05:47.913Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 10 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:05:48.336Z] + 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=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 --label arch=amd64 --label version=0.0.0 . [2022-10-10T05:05:48.336Z] Sending build context to Docker daemon 5.524MB [2022-10-10T05:05:48.336Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:05:48.336Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T05:05:48.336Z] ---> 5138690da5f9 [2022-10-10T05:05:48.336Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:05:48.336Z] ---> Running in 69ee3e8ed7ea [2022-10-10T05:05:48.593Z] Removing intermediate container 69ee3e8ed7ea [2022-10-10T05:05:48.593Z] ---> fa191edddddd [2022-10-10T05:05:48.593Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:05:48.593Z] ---> Running in bea9700172e5 [2022-10-10T05:05:48.593Z] Removing intermediate container bea9700172e5 [2022-10-10T05:05:48.593Z] ---> 7aed8f226c2c [2022-10-10T05:05:48.593Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T05:05:48.593Z] ---> Running in 18cbaf93bcb8 [2022-10-10T05:05:48.593Z] Removing intermediate container 18cbaf93bcb8 [2022-10-10T05:05:48.593Z] ---> 8a56dcc8a54e [2022-10-10T05:05:48.593Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T05:05:48.593Z] ---> Running in 7d3271ef2428 [2022-10-10T05:05:48.852Z] Removing intermediate container 7d3271ef2428 [2022-10-10T05:05:48.852Z] ---> 1faa52b0423c [2022-10-10T05:05:48.852Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:05:48.852Z] ---> Running in 62bf6e161ad2 [2022-10-10T05:05:49.418Z] Removing intermediate container 62bf6e161ad2 [2022-10-10T05:05:49.418Z] ---> 0d04023a8503 [2022-10-10T05:05:49.418Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T05:05:49.418Z] ---> Running in a2449e499e87 [2022-10-10T05:05:49.418Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T05:05:50.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T05:05:50.612Z] OK: 216 MiB in 55 packages [2022-10-10T05:05:50.872Z] Removing intermediate container a2449e499e87 [2022-10-10T05:05:50.872Z] ---> 6e070db9397f [2022-10-10T05:05:50.872Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-10T05:05:50.872Z] ---> Running in 8bc6400848be [2022-10-10T05:05:51.130Z] Removing intermediate container 8bc6400848be [2022-10-10T05:05:51.130Z] ---> 658a7143ac5c [2022-10-10T05:05:51.130Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T05:05:51.130Z] ---> 9c817892541e [2022-10-10T05:05:51.130Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:05:51.130Z] ---> Running in 23b743785e64 [2022-10-10T05:05:51.697Z] Removing intermediate container 23b743785e64 [2022-10-10T05:05:51.697Z] ---> 26780977c0a4 [2022-10-10T05:05:51.697Z] Step 12/25 : COPY . . [2022-10-10T05:05:52.401Z] ---> b87fa4a43fef [2022-10-10T05:05:52.401Z] Step 13/25 : RUN ${MAKE} [2022-10-10T05:05:52.401Z] ---> Running in 97dbc32a49c0 [2022-10-10T05:05:52.660Z] 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.37 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-10T05:06:14.581Z] Removing intermediate container 97dbc32a49c0 [2022-10-10T05:06:14.581Z] ---> 8b958b48a6b9 [2022-10-10T05:06:14.581Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T05:06:14.840Z] 3.16: Pulling from library/alpine [2022-10-10T05:06:15.099Z] 213ec9aee27d: Pulling fs layer [2022-10-10T05:06:15.099Z] 213ec9aee27d: Download complete [2022-10-10T05:06:15.357Z] 213ec9aee27d: Pull complete [2022-10-10T05:06:15.357Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T05:06:15.357Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T05:06:15.357Z] ---> 9c6f07244728 [2022-10-10T05:06:15.357Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T05:06:15.357Z] ---> Running in 035f41bb3d99 [2022-10-10T05:06:15.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T05:06:15.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T05:06:16.132Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T05:06:16.132Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T05:06:16.132Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T05:06:16.132Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T05:06:16.132Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T05:06:16.132Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T05:06:16.132Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T05:06:16.132Z] OK: 8 MiB in 20 packages [2022-10-10T05:06:16.698Z] Removing intermediate container 035f41bb3d99 [2022-10-10T05:06:16.698Z] ---> 8bd8be3bcb4d [2022-10-10T05:06:16.698Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-10T05:06:17.274Z] ---> d032cbbb2569 [2022-10-10T05:06:17.274Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-10T05:06:17.274Z] ---> 1d4f3e4f3d9b [2022-10-10T05:06:17.274Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-10T05:06:17.531Z] ---> 7ca87703e55c [2022-10-10T05:06:17.531Z] Step 19/25 : EXPOSE 59993 [2022-10-10T05:06:17.531Z] ---> Running in fc7d4c920eed [2022-10-10T05:06:17.531Z] Removing intermediate container fc7d4c920eed [2022-10-10T05:06:17.531Z] ---> a427b3b8d354 [2022-10-10T05:06:17.531Z] Step 20/25 : EXPOSE 161 [2022-10-10T05:06:17.531Z] ---> Running in 5581cfcee1fb [2022-10-10T05:06:17.790Z] Removing intermediate container 5581cfcee1fb [2022-10-10T05:06:17.790Z] ---> 9b3ce83d5a17 [2022-10-10T05:06:17.790Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-10T05:06:17.790Z] ---> Running in 8fe4f4e0985c [2022-10-10T05:06:17.790Z] Removing intermediate container 8fe4f4e0985c [2022-10-10T05:06:17.790Z] ---> 4af96d2258a4 [2022-10-10T05:06:17.790Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-10T05:06:17.790Z] ---> Running in 2d3e5c81f557 [2022-10-10T05:06:17.790Z] Removing intermediate container 2d3e5c81f557 [2022-10-10T05:06:17.790Z] ---> 79fcd4cd4403 [2022-10-10T05:06:17.790Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T05:06:17.790Z] ---> Running in 7577165186c4 [2022-10-10T05:06:17.790Z] Removing intermediate container 7577165186c4 [2022-10-10T05:06:17.790Z] ---> ea7c757d3e67 [2022-10-10T05:06:17.790Z] Step 24/25 : LABEL git_sha=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [2022-10-10T05:06:18.049Z] ---> Running in a9e1bfc6f913 [2022-10-10T05:06:18.049Z] Removing intermediate container a9e1bfc6f913 [2022-10-10T05:06:18.049Z] ---> b938745508f2 [2022-10-10T05:06:18.049Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T05:06:18.049Z] ---> Running in 2eb10bc2819b [2022-10-10T05:06:18.049Z] Removing intermediate container 2eb10bc2819b [2022-10-10T05:06:18.049Z] ---> 57f1b3507aea [2022-10-10T05:06:18.049Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T05:06:18.049Z] Successfully built 57f1b3507aea [2022-10-10T05:06:18.049Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:06:18.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:06:18.905Z] [2022-10-10T05:06:18.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:06:19.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:06:19.275Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T05:06:19.275Z] 5eb5b503b376: Pulling fs layer [2022-10-10T05:06:19.275Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T05:06:19.275Z] ec43610c2a17: Pulling fs layer [2022-10-10T05:06:19.275Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T05:06:19.275Z] 33b1e0a273af: Pulling fs layer [2022-10-10T05:06:19.275Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T05:06:19.275Z] 2f39f015ded8: Pulling fs layer [2022-10-10T05:06:19.275Z] 3a2ae6a8a46f: Waiting [2022-10-10T05:06:19.275Z] 33b1e0a273af: Waiting [2022-10-10T05:06:19.275Z] 2f39f015ded8: Waiting [2022-10-10T05:06:19.275Z] 5d3b04190fa2: Waiting [2022-10-10T05:06:19.275Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T05:06:19.275Z] 5c69ac0246d0: Download complete [2022-10-10T05:06:19.275Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T05:06:19.275Z] 3a2ae6a8a46f: Download complete [2022-10-10T05:06:19.275Z] 33b1e0a273af: Verifying Checksum [2022-10-10T05:06:19.275Z] 33b1e0a273af: Download complete [2022-10-10T05:06:19.275Z] ec43610c2a17: Verifying Checksum [2022-10-10T05:06:19.275Z] ec43610c2a17: Download complete [2022-10-10T05:06:19.534Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T05:06:19.534Z] 5d3b04190fa2: Download complete [2022-10-10T05:06:19.534Z] 5eb5b503b376: Verifying Checksum [2022-10-10T05:06:19.534Z] 5eb5b503b376: Download complete [2022-10-10T05:06:20.100Z] 2f39f015ded8: Download complete [2022-10-10T05:06:20.687Z] 5eb5b503b376: Pull complete [2022-10-10T05:06:20.946Z] 5c69ac0246d0: Pull complete [2022-10-10T05:06:21.205Z] ec43610c2a17: Pull complete [2022-10-10T05:06:21.205Z] 3a2ae6a8a46f: Pull complete [2022-10-10T05:06:21.463Z] 33b1e0a273af: Pull complete [2022-10-10T05:06:21.463Z] 5d3b04190fa2: Pull complete [2022-10-10T05:06:25.651Z] 2f39f015ded8: Pull complete [2022-10-10T05:06:25.651Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T05:06:25.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:06:25.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:06:25.859Z] prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container [2022-10-10T05:06:25.891Z] $ 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-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T05:06:30.067Z] $ docker top dbb39e753754bfbf766372df60936941c80ffef64e10438205c06f3681187eb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:06:30.503Z] ---> job-cost.sh [2022-10-10T05:06:30.503Z] lf-activate-venv: SKIPPING [2022-10-10T05:06:30.503Z] INFO: No Stack... [2022-10-10T05:06:31.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T05:06:31.439Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T05:06:31.749Z] + + cat /w/workspace/gexfoundry_device-snmp-go_PR-196/archives/cost.csv [2022-10-10T05:06:31.749Z] cut -d, -f6 [Pipeline] lock [2022-10-10T05:06:31.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [2022-10-10T05:06:31.793Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] did not exist. Created. [2022-10-10T05:06:31.794Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T05:06:32.195Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T05:06:32.242Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T05:06:32.273Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T05:06:32.350Z] $ docker stop --time=1 dbb39e753754bfbf766372df60936941c80ffef64e10438205c06f3681187eb3 [2022-10-10T05:06:33.513Z] $ docker rm -f dbb39e753754bfbf766372df60936941c80ffef64e10438205c06f3681187eb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T05:07:16.591Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7489 in /w/workspace/gexfoundry_device-snmp-go_PR-196 [Pipeline] { [Pipeline] ws [2022-10-10T05:07:16.630Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-10-10T05:07:16.699Z] Selected Git installation does not exist. Using Default [2022-10-10T05:07:16.699Z] The recommended git tool is: NONE [2022-10-10T05:07:22.339Z] using credential edgex-jenkins-ssh [2022-10-10T05:07:22.353Z] Cloning the remote Git repository [2022-10-10T05:07:22.398Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-10T05:07:22.473Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-10-10T05:07:22.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-10T05:07:22.635Z] > git --version # timeout=10 [2022-10-10T05:07:22.660Z] > git --version # 'git version 2.25.1' [2022-10-10T05:07:22.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T05:07:22.721Z] Verifying host key using known hosts file [2022-10-10T05:07:22.898Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T05:07:22.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T05:07:23.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-10T05:07:24.002Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T05:07:25.379Z] Merging remotes/origin/main commit d466151200edb95fff3e1a1306a852eb5b109481 into PR head commit d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [2022-10-10T05:07:24.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-10T05:07:24.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-10T05:07:24.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T05:07:24.842Z] Verifying host key using known hosts file [2022-10-10T05:07:24.848Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T05:07:24.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T05:07:25.397Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T05:07:25.414Z] > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # timeout=10 [2022-10-10T05:07:25.497Z] > git remote # timeout=10 [2022-10-10T05:07:25.517Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T05:07:25.612Z] Merge succeeded, producing d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [2022-10-10T05:07:25.613Z] Checking out Revision d2a4bb7ea236c3f038cb62183bee10b83f9812c3 (PR-196) [2022-10-10T05:07:26.062Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-10T05:07:26.109Z] > git --version # timeout=10 [2022-10-10T05:07:26.122Z] > git --version # 'git version 2.25.1' [2022-10-10T05:07:26.148Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T05:07:25.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T05:07:25.554Z] Verifying host key using known hosts file [2022-10-10T05:07:25.558Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T05:07:25.567Z] > git merge d466151200edb95fff3e1a1306a852eb5b109481 # timeout=10 [2022-10-10T05:07:25.593Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T05:07:25.616Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T05:07:25.644Z] > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # timeout=10 [2022-10-10T05:07:27.213Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T05:07:27.213Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T05:07:27.213Z] Dload Upload Total Spent Left Speed [2022-10-10T05:07:27.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2022-10-10T05:07:27.783Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T05:07:28.135Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T05:07:28.135Z] + sudo tee /etc/docker/daemon.new [2022-10-10T05:07:28.135Z] { [2022-10-10T05:07:28.135Z] "registry-mirrors": [ [2022-10-10T05:07:28.135Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T05:07:28.135Z] ], [2022-10-10T05:07:28.135Z] "bip": "10.250.0.254/24", [2022-10-10T05:07:28.135Z] "hosts": [ [2022-10-10T05:07:28.135Z] "tcp://0.0.0.0:5555", [2022-10-10T05:07:28.135Z] "unix:///var/run/docker.sock" [2022-10-10T05:07:28.135Z] ], [2022-10-10T05:07:28.135Z] "mtu": 1458, [2022-10-10T05:07:28.135Z] "selinux-enabled": true, [2022-10-10T05:07:28.135Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T05:07:28.135Z] } [Pipeline] sh [2022-10-10T05:07:28.479Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T05:07:28.823Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:07:47.130Z] provisioning config files... [2022-10-10T05:07:47.158Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3070680955824962946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:07:47.537Z] ---> docker-login.sh [2022-10-10T05:07:47.537Z] nexus3.edgexfoundry.org:10001 [2022-10-10T05:07:47.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:07:48.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:07:48.081Z] Configure a credential helper to remove this warning. See [2022-10-10T05:07:48.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:07:48.081Z] [2022-10-10T05:07:48.081Z] Login Succeeded [2022-10-10T05:07:48.081Z] nexus3.edgexfoundry.org:10002 [2022-10-10T05:07:48.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:07:48.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:07:48.351Z] Configure a credential helper to remove this warning. See [2022-10-10T05:07:48.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:07:48.351Z] [2022-10-10T05:07:48.351Z] Login Succeeded [2022-10-10T05:07:48.351Z] nexus3.edgexfoundry.org:10003 [2022-10-10T05:07:48.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:07:48.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:07:48.890Z] Configure a credential helper to remove this warning. See [2022-10-10T05:07:48.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:07:48.891Z] [2022-10-10T05:07:48.891Z] Login Succeeded [2022-10-10T05:07:48.891Z] nexus3.edgexfoundry.org:10004 [2022-10-10T05:07:49.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:07:49.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:07:49.163Z] Configure a credential helper to remove this warning. See [2022-10-10T05:07:49.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:07:49.163Z] [2022-10-10T05:07:49.163Z] Login Succeeded [2022-10-10T05:07:49.163Z] docker.io [2022-10-10T05:07:49.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:07:50.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:07:50.018Z] Configure a credential helper to remove this warning. See [2022-10-10T05:07:50.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:07:50.018Z] [2022-10-10T05:07:50.018Z] Login Succeeded [2022-10-10T05:07:50.018Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T05:07:50.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T05:07:50.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:07:50.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:07:50.433Z] ========================================================= [2022-10-10T05:07:50.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T05:07:50.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:07:50.947Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T05:07:52.367Z] Sending build context to Docker daemon 2.848MB [2022-10-10T05:07:52.367Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:07:52.367Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T05:07:52.367Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T05:07:52.367Z] b3c136eddcbf: Pulling fs layer [2022-10-10T05:07:52.367Z] c0a3192eca97: Pulling fs layer [2022-10-10T05:07:52.367Z] a050256f5b6f: Pulling fs layer [2022-10-10T05:07:52.367Z] 656be50a0ddc: Pulling fs layer [2022-10-10T05:07:52.367Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T05:07:52.367Z] f607e4fc86c3: Pulling fs layer [2022-10-10T05:07:52.367Z] 4d572c569a2c: Pulling fs layer [2022-10-10T05:07:52.367Z] fcf976331f73: Pulling fs layer [2022-10-10T05:07:52.367Z] 2bbca73fdf42: Waiting [2022-10-10T05:07:52.367Z] f607e4fc86c3: Waiting [2022-10-10T05:07:52.367Z] 4d572c569a2c: Waiting [2022-10-10T05:07:52.367Z] fcf976331f73: Waiting [2022-10-10T05:07:52.367Z] 656be50a0ddc: Waiting [2022-10-10T05:07:52.367Z] a050256f5b6f: Verifying Checksum [2022-10-10T05:07:52.367Z] a050256f5b6f: Download complete [2022-10-10T05:07:52.367Z] c0a3192eca97: Verifying Checksum [2022-10-10T05:07:52.367Z] c0a3192eca97: Download complete [2022-10-10T05:07:52.367Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T05:07:52.367Z] 2bbca73fdf42: Download complete [2022-10-10T05:07:52.367Z] f607e4fc86c3: Verifying Checksum [2022-10-10T05:07:52.367Z] f607e4fc86c3: Download complete [2022-10-10T05:07:52.367Z] b3c136eddcbf: Verifying Checksum [2022-10-10T05:07:52.367Z] b3c136eddcbf: Download complete [2022-10-10T05:07:53.341Z] b3c136eddcbf: Pull complete [2022-10-10T05:07:53.613Z] fcf976331f73: Verifying Checksum [2022-10-10T05:07:53.613Z] fcf976331f73: Download complete [2022-10-10T05:07:53.884Z] c0a3192eca97: Pull complete [2022-10-10T05:07:54.157Z] a050256f5b6f: Pull complete [2022-10-10T05:07:54.745Z] 4d572c569a2c: Verifying Checksum [2022-10-10T05:07:54.745Z] 4d572c569a2c: Download complete [2022-10-10T05:07:55.719Z] 656be50a0ddc: Download complete [2022-10-10T05:08:08.060Z] 656be50a0ddc: Pull complete [2022-10-10T05:08:08.060Z] 2bbca73fdf42: Pull complete [2022-10-10T05:08:08.060Z] f607e4fc86c3: Pull complete [2022-10-10T05:08:14.758Z] 4d572c569a2c: Pull complete [2022-10-10T05:08:16.765Z] fcf976331f73: Pull complete [2022-10-10T05:08:16.765Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T05:08:16.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T05:08:16.765Z] ---> 3970a7415f9e [2022-10-10T05:08:16.765Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:08:18.772Z] ---> Running in 180e3353a7da [2022-10-10T05:08:18.772Z] Removing intermediate container 180e3353a7da [2022-10-10T05:08:18.772Z] ---> dd786d58702c [2022-10-10T05:08:18.772Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:08:18.772Z] ---> Running in 655bf2dbe153 [2022-10-10T05:08:19.041Z] Removing intermediate container 655bf2dbe153 [2022-10-10T05:08:19.041Z] ---> 09865553b0ff [2022-10-10T05:08:19.041Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T05:08:19.041Z] ---> Running in da5ade1d3398 [2022-10-10T05:08:19.633Z] Removing intermediate container da5ade1d3398 [2022-10-10T05:08:19.633Z] ---> 6199ca58f1ad [2022-10-10T05:08:19.633Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T05:08:19.633Z] ---> Running in d6dad73a3232 [2022-10-10T05:08:19.908Z] Removing intermediate container d6dad73a3232 [2022-10-10T05:08:19.908Z] ---> 65259409b7fb [2022-10-10T05:08:19.908Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:08:19.908Z] ---> Running in 78ddf197c606 [2022-10-10T05:08:21.866Z] Removing intermediate container 78ddf197c606 [2022-10-10T05:08:21.866Z] ---> 4b05fc4c6d35 [2022-10-10T05:08:21.866Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T05:08:21.866Z] ---> Running in 36fafd62f891 [2022-10-10T05:08:22.851Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T05:08:23.818Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T05:08:24.433Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T05:08:24.705Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T05:08:24.705Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T05:08:24.976Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T05:08:24.976Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T05:08:24.976Z] OK: 226 MiB in 55 packages [2022-10-10T05:08:25.946Z] Removing intermediate container 36fafd62f891 [2022-10-10T05:08:25.946Z] ---> 070b094d0931 [2022-10-10T05:08:25.946Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-10T05:08:26.221Z] ---> Running in c56e43c4dace [2022-10-10T05:08:26.498Z] Removing intermediate container c56e43c4dace [2022-10-10T05:08:26.498Z] ---> 8bac0e99e526 [2022-10-10T05:08:26.498Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T05:08:28.463Z] ---> 0e6e27d26b36 [2022-10-10T05:08:28.463Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:08:28.463Z] ---> Running in b31a4ba05020 [2022-10-10T05:09:24.909Z] Removing intermediate container b31a4ba05020 [2022-10-10T05:09:24.909Z] ---> 0432c43df8f2 [2022-10-10T05:09:24.909Z] Step 12/13 : COPY . . [2022-10-10T05:09:24.909Z] ---> 026c96cb9034 [2022-10-10T05:09:24.909Z] Step 13/13 : RUN ${MAKE} [2022-10-10T05:09:24.909Z] ---> Running in 7948744d55a3 [2022-10-10T05:09:24.909Z] noop [2022-10-10T05:09:24.909Z] Removing intermediate container 7948744d55a3 [2022-10-10T05:09:24.909Z] ---> 690c24d0fcfe [2022-10-10T05:09:24.909Z] Successfully built 690c24d0fcfe [2022-10-10T05:09:24.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:09:25.403Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T05:09:25.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:09:25.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-7489 does not seem to be running inside a container [2022-10-10T05:09:25.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T05:09:26.941Z] $ docker top 830bdbbf272bb12d5a84c96cac44b1ee055d06d7c8d5a5bb67c22124e163cef5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:09:27.815Z] + go version [2022-10-10T05:09:27.815Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T05:09:27.845Z] $ docker stop --time=1 830bdbbf272bb12d5a84c96cac44b1ee055d06d7c8d5a5bb67c22124e163cef5 [2022-10-10T05:09:29.496Z] $ docker rm -f 830bdbbf272bb12d5a84c96cac44b1ee055d06d7c8d5a5bb67c22124e163cef5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:09:30.347Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T05:09:30.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:09:30.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-7489 does not seem to be running inside a container [2022-10-10T05:09:30.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T05:09:31.835Z] $ docker top 6ddc5ae0ab270cf0af2b515969ee0bc8658064e898c7cd59dcf8074e3424f250 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:09:32.731Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T05:09:33.109Z] + make test [2022-10-10T05:09:33.109Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T05:09:35.711Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-10T05:10:57.383Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-10T05:10:57.383Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2022-10-10T05:10:57.383Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T05:10:57.383Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T05:11:19.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T05:11:19.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T05:11:19.456Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T05:11:19.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T05:11:19.528Z] $ docker stop --time=1 6ddc5ae0ab270cf0af2b515969ee0bc8658064e898c7cd59dcf8074e3424f250 [2022-10-10T05:11:21.334Z] $ docker rm -f 6ddc5ae0ab270cf0af2b515969ee0bc8658064e898c7cd59dcf8074e3424f250 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T05:11:22.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T05:11:22.382Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T05:11:22.758Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T05:11:23.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T05:11:23.693Z] + ls -al . [2022-10-10T05:11:23.693Z] total 168 [2022-10-10T05:11:23.693Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:09 . [2022-10-10T05:11:23.693Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:07 .. [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 10 05:07 .dockerignore [2022-10-10T05:11:23.693Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:07 .git [2022-10-10T05:11:23.693Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:07 .github [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 10 05:07 .gitignore [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:07 .golangci.yml [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 10 05:07 Attribution.txt [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 10 05:07 CHANGELOG.md [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 10 05:07 Dockerfile [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:07 GOVERNANCE.md [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 10 05:07 Jenkinsfile [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:07 LICENSE [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 10 05:07 Makefile [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 05:07 OWNERS.md [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 10 05:07 README.md [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:04 VERSION [2022-10-10T05:11:23.693Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:07 bin [2022-10-10T05:11:23.693Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:07 cmd [2022-10-10T05:11:23.693Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 10 05:10 coverage.out [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 10 05:07 go.mod [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 10 05:07 go.sum [2022-10-10T05:11:23.693Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:07 internal [2022-10-10T05:11:23.693Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:07 snap [2022-10-10T05:11:23.693Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 10 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:11:24.117Z] + 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=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 --label arch=arm64 --label version=0.0.0 . [2022-10-10T05:11:24.386Z] Sending build context to Docker daemon 2.856MB [2022-10-10T05:11:24.386Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:11:24.386Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T05:11:24.386Z] ---> 690c24d0fcfe [2022-10-10T05:11:24.386Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:11:24.655Z] ---> Running in 921e4c9ffde6 [2022-10-10T05:11:24.924Z] Removing intermediate container 921e4c9ffde6 [2022-10-10T05:11:24.924Z] ---> 0126db656b32 [2022-10-10T05:11:24.924Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:11:24.924Z] ---> Running in c5e538560a53 [2022-10-10T05:11:25.193Z] Removing intermediate container c5e538560a53 [2022-10-10T05:11:25.193Z] ---> 1355c9b14177 [2022-10-10T05:11:25.193Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T05:11:25.193Z] ---> Running in 5a8eab675420 [2022-10-10T05:11:25.464Z] Removing intermediate container 5a8eab675420 [2022-10-10T05:11:25.464Z] ---> de6a4ba775a8 [2022-10-10T05:11:25.464Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T05:11:25.732Z] ---> Running in 90bdcdc8fb91 [2022-10-10T05:11:26.002Z] Removing intermediate container 90bdcdc8fb91 [2022-10-10T05:11:26.002Z] ---> dd808123500d [2022-10-10T05:11:26.002Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:11:26.002Z] ---> Running in d1873508075b [2022-10-10T05:11:27.952Z] Removing intermediate container d1873508075b [2022-10-10T05:11:27.952Z] ---> 63a46d87748c [2022-10-10T05:11:27.952Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T05:11:27.952Z] ---> Running in f0c620cd0e92 [2022-10-10T05:11:28.912Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T05:11:29.873Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T05:11:30.834Z] OK: 226 MiB in 55 packages [2022-10-10T05:11:31.419Z] Removing intermediate container f0c620cd0e92 [2022-10-10T05:11:31.419Z] ---> a4d94b783ced [2022-10-10T05:11:31.419Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-10T05:11:31.686Z] ---> Running in 2c963d3ef675 [2022-10-10T05:11:31.954Z] Removing intermediate container 2c963d3ef675 [2022-10-10T05:11:31.954Z] ---> 9e8a2696a75c [2022-10-10T05:11:31.954Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T05:11:32.540Z] ---> c6aad72fa62f [2022-10-10T05:11:32.540Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:11:32.540Z] ---> Running in 0d612fc152ec [2022-10-10T05:11:34.494Z] Removing intermediate container 0d612fc152ec [2022-10-10T05:11:34.494Z] ---> 96ea41097c99 [2022-10-10T05:11:34.494Z] Step 12/25 : COPY . . [2022-10-10T05:11:35.477Z] ---> f904f926bfd5 [2022-10-10T05:11:35.477Z] Step 13/25 : RUN ${MAKE} [2022-10-10T05:11:35.477Z] ---> Running in fc5747166f89 [2022-10-10T05:11:36.892Z] 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.37 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-10T05:14:13.669Z] Removing intermediate container fc5747166f89 [2022-10-10T05:14:13.669Z] ---> 405935a0a90a [2022-10-10T05:14:13.669Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T05:14:13.669Z] 3.16: Pulling from library/alpine [2022-10-10T05:14:13.669Z] 9b18e9b68314: Pulling fs layer [2022-10-10T05:14:13.669Z] 9b18e9b68314: Verifying Checksum [2022-10-10T05:14:13.669Z] 9b18e9b68314: Download complete [2022-10-10T05:14:13.669Z] 9b18e9b68314: Pull complete [2022-10-10T05:14:13.669Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T05:14:13.669Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T05:14:13.669Z] ---> a6215f271958 [2022-10-10T05:14:13.669Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T05:14:13.669Z] ---> Running in 52302cbee14a [2022-10-10T05:14:13.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T05:14:13.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T05:14:13.669Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T05:14:13.669Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T05:14:13.669Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T05:14:13.669Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T05:14:13.669Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T05:14:13.669Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T05:14:13.669Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T05:14:13.669Z] OK: 8 MiB in 20 packages [2022-10-10T05:14:13.669Z] Removing intermediate container 52302cbee14a [2022-10-10T05:14:13.669Z] ---> 9ba82e228bc6 [2022-10-10T05:14:13.669Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-10T05:14:13.669Z] ---> ccefdf334b50 [2022-10-10T05:14:13.669Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-10T05:14:13.669Z] ---> 5fd5fd34678d [2022-10-10T05:14:13.669Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-10T05:14:13.669Z] ---> 35f3d4c61dba [2022-10-10T05:14:13.669Z] Step 19/25 : EXPOSE 59993 [2022-10-10T05:14:13.669Z] ---> Running in 26f2ac0d2f9e [2022-10-10T05:14:13.669Z] Removing intermediate container 26f2ac0d2f9e [2022-10-10T05:14:13.669Z] ---> 608b581a85cc [2022-10-10T05:14:13.669Z] Step 20/25 : EXPOSE 161 [2022-10-10T05:14:13.669Z] ---> Running in 7d66a47bca98 [2022-10-10T05:14:13.669Z] Removing intermediate container 7d66a47bca98 [2022-10-10T05:14:13.669Z] ---> b891be25fd41 [2022-10-10T05:14:13.669Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-10T05:14:13.669Z] ---> Running in 2df0aad84bb3 [2022-10-10T05:14:13.936Z] Removing intermediate container 2df0aad84bb3 [2022-10-10T05:14:13.936Z] ---> 1571e5ce4b03 [2022-10-10T05:14:13.936Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-10T05:14:13.936Z] ---> Running in 69c690c1dd14 [2022-10-10T05:14:14.206Z] Removing intermediate container 69c690c1dd14 [2022-10-10T05:14:14.206Z] ---> 05fb2754d22f [2022-10-10T05:14:14.206Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T05:14:14.206Z] ---> Running in 195afc8c97a5 [2022-10-10T05:14:14.472Z] Removing intermediate container 195afc8c97a5 [2022-10-10T05:14:14.472Z] ---> d67702504156 [2022-10-10T05:14:14.472Z] Step 24/25 : LABEL git_sha=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [2022-10-10T05:14:14.739Z] ---> Running in 7c454e1cb897 [2022-10-10T05:14:15.005Z] Removing intermediate container 7c454e1cb897 [2022-10-10T05:14:15.005Z] ---> 6a43fbc04864 [2022-10-10T05:14:15.005Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T05:14:15.005Z] ---> Running in 7f6f933ceeab [2022-10-10T05:14:15.270Z] Removing intermediate container 7f6f933ceeab [2022-10-10T05:14:15.270Z] ---> d8a0a0dbeee0 [2022-10-10T05:14:15.270Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T05:14:15.270Z] Successfully built d8a0a0dbeee0 [2022-10-10T05:14:15.270Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:14:16.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T05:14:16.083Z] [2022-10-10T05:14:16.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:14:16.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T05:14:16.520Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T05:14:16.520Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T05:14:16.520Z] 04944245beec: Pulling fs layer [2022-10-10T05:14:16.520Z] 699f458cf7ca: Pulling fs layer [2022-10-10T05:14:16.520Z] 765212b225bb: Pulling fs layer [2022-10-10T05:14:16.520Z] f23df028b6ca: Pulling fs layer [2022-10-10T05:14:16.520Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T05:14:16.520Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T05:14:16.520Z] f23df028b6ca: Waiting [2022-10-10T05:14:16.520Z] d65c8cfc05b1: Waiting [2022-10-10T05:14:16.520Z] 2437ff75d9bd: Waiting [2022-10-10T05:14:16.520Z] 765212b225bb: Waiting [2022-10-10T05:14:16.788Z] 04944245beec: Verifying Checksum [2022-10-10T05:14:16.788Z] 04944245beec: Download complete [2022-10-10T05:14:16.788Z] 765212b225bb: Verifying Checksum [2022-10-10T05:14:16.788Z] 765212b225bb: Download complete [2022-10-10T05:14:16.788Z] f23df028b6ca: Verifying Checksum [2022-10-10T05:14:16.788Z] f23df028b6ca: Download complete [2022-10-10T05:14:16.788Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T05:14:16.788Z] d65c8cfc05b1: Download complete [2022-10-10T05:14:16.788Z] 699f458cf7ca: Verifying Checksum [2022-10-10T05:14:16.788Z] 699f458cf7ca: Download complete [2022-10-10T05:14:17.372Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T05:14:17.372Z] 8998bd30e6a1: Download complete [2022-10-10T05:14:19.318Z] 2437ff75d9bd: Download complete [2022-10-10T05:14:21.261Z] 8998bd30e6a1: Pull complete [2022-10-10T05:14:21.529Z] 04944245beec: Pull complete [2022-10-10T05:14:22.935Z] 699f458cf7ca: Pull complete [2022-10-10T05:14:22.935Z] 765212b225bb: Pull complete [2022-10-10T05:14:23.522Z] f23df028b6ca: Pull complete [2022-10-10T05:14:23.789Z] d65c8cfc05b1: Pull complete [2022-10-10T05:14:38.788Z] 2437ff75d9bd: Pull complete [2022-10-10T05:14:38.788Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T05:14:38.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T05:14:38.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:14:39.121Z] prd-ubuntu20.04-docker-arm64-4c-16g-7489 does not seem to be running inside a container [2022-10-10T05:14:39.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T05:14:41.618Z] $ docker top e9aecf68e29ec465d4be8d0a481c997b48893bc5826827d1e0f2960d2a402b68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:42.174Z] ---> job-cost.sh [2022-10-10T05:14:42.440Z] lf-activate-venv: SKIPPING [2022-10-10T05:14:42.440Z] INFO: No Stack... [2022-10-10T05:14:43.019Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T05:14:43.972Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T05:14:44.310Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-10-10T05:14:44.310Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T05:14:44.395Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [2022-10-10T05:14:44.401Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] did not exist. Created. [2022-10-10T05:14:44.401Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T05:14:44.814Z] /w/workspace/device-snmp-go/1@tmp/durable-31ab5c27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T05:14:45.160Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T05:14:45.193Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T05:14:45.229Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T05:14:45.243Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T05:14:45.325Z] $ docker stop --time=1 e9aecf68e29ec465d4be8d0a481c997b48893bc5826827d1e0f2960d2a402b68 [2022-10-10T05:14:46.793Z] $ docker rm -f e9aecf68e29ec465d4be8d0a481c997b48893bc5826827d1e0f2960d2a402b68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T05:14:47.750Z] provisioning config files... [2022-10-10T05:14:47.760Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config9889891172626222579tmp [Pipeline] { [Pipeline] sh [2022-10-10T05:14:48.088Z] + set +x [2022-10-10T05:14:48.088Z] + curl -s https://codecov.io/bash [2022-10-10T05:14:48.088Z] + bash -s -- [2022-10-10T05:14:48.088Z] [2022-10-10T05:14:48.088Z] _____ _ [2022-10-10T05:14:48.088Z] / ____| | | [2022-10-10T05:14:48.088Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T05:14:48.088Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T05:14:48.088Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T05:14:48.088Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T05:14:48.088Z] Bash-1.0.6 [2022-10-10T05:14:48.088Z] [2022-10-10T05:14:48.088Z] [2022-10-10T05:14:48.088Z] ==> git version 2.25.1 found [2022-10-10T05:14:48.088Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T05:14:48.088Z] Release-Date: 2020-01-08 [2022-10-10T05:14:48.088Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T05:14:48.088Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T05:14:48.088Z] ==> Jenkins CI detected. [2022-10-10T05:14:48.088Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-196 [2022-10-10T05:14:48.088Z] project root: . [2022-10-10T05:14:48.088Z] --> token set from env [2022-10-10T05:14:48.088Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T05:14:48.088Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T05:14:48.088Z] ==> Python coveragepy not found [2022-10-10T05:14:48.088Z] ==> Searching for coverage reports in: [2022-10-10T05:14:48.088Z] + . [2022-10-10T05:14:48.088Z] -> Found 1 reports [2022-10-10T05:14:48.088Z] ==> Detecting git/mercurial file structure [2022-10-10T05:14:48.088Z] ==> Reading reports [2022-10-10T05:14:48.088Z] + ./coverage.out bytes=7631 [2022-10-10T05:14:48.088Z] ==> Appending adjustments [2022-10-10T05:14:48.088Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T05:14:48.349Z] + Found adjustments [2022-10-10T05:14:48.349Z] ==> Gzipping contents [2022-10-10T05:14:48.349Z] 4.0K /tmp/codecov.GtjGAW.gz [2022-10-10T05:14:48.349Z] ==> Uploading reports [2022-10-10T05:14:48.349Z] url: https://codecov.io [2022-10-10T05:14:48.349Z] query: branch=PR-196&commit=d2a4bb7ea236c3f038cb62183bee10b83f9812c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=196&job=&cmd_args= [2022-10-10T05:14:48.349Z] -> Pinging Codecov [2022-10-10T05:14:48.349Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-196&commit=d2a4bb7ea236c3f038cb62183bee10b83f9812c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=196&job=&cmd_args= [2022-10-10T05:14:48.608Z] -> Uploading to [2022-10-10T05:14:48.608Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/6C56EA5C29638FB4528AC87E60AF5AE0/d2a4bb7ea236c3f038cb62183bee10b83f9812c3/e1df69c2-da96-466d-ac91-ae88971cd37e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T051448Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eaa776d0fda3c4ed02a665daf3c87659712632311e639383f26c1d718b685573 [2022-10-10T05:14:48.608Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T05:14:48.608Z] Dload Upload Total Spent Left Speed [2022-10-10T05:14:48.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6246 --:--:-- --:--:-- --:--:-- 6246 [2022-10-10T05:14:48.868Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] } [2022-10-10T05:14:48.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T05:14:50.594Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-196/archives ] [2022-10-10T05:14:50.594Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-196/archives [2022-10-10T05:14:50.594Z] total 16 [2022-10-10T05:14:50.594Z] drwxr-xr-x 3 root root 4096 Oct 10 05:06 . [2022-10-10T05:14:50.594Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:06 .. [2022-10-10T05:14:50.594Z] drwxr-xr-x 2 root root 4096 Oct 10 05:06 cost [2022-10-10T05:14:50.594Z] -rw-r--r-- 1 root root 86 Oct 10 05:06 cost.csv [2022-10-10T05:14:50.594Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-196/archives [2022-10-10T05:14:50.594Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-196/archives [2022-10-10T05:14:50.594Z] total 16 [2022-10-10T05:14:50.594Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:06 . [2022-10-10T05:14:50.594Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:06 .. [2022-10-10T05:14:50.594Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 05:06 cost [2022-10-10T05:14:50.594Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:50.921Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:51.813Z] ---> package-listing.sh [2022-10-10T05:14:51.813Z] ++ facter osfamily [2022-10-10T05:14:51.813Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T05:14:52.072Z] + OS_FAMILY=debian [2022-10-10T05:14:52.072Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-196 [2022-10-10T05:14:52.072Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T05:14:52.072Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T05:14:52.072Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T05:14:52.072Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T05:14:52.072Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-196 ']' [2022-10-10T05:14:52.072Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T05:14:52.072Z] + case "${OS_FAMILY}" in [2022-10-10T05:14:52.072Z] + dpkg -l [2022-10-10T05:14:52.072Z] + grep '^ii' [2022-10-10T05:14:52.072Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T05:14:52.072Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T05:14:52.072Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T05:14:52.072Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-196 ']' [2022-10-10T05:14:52.072Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-196/archives/ [2022-10-10T05:14:52.072Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-196/archives/ [Pipeline] echo [2022-10-10T05:14:52.107Z] 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-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T05:14:52.399Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:14:53.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:14:53.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:14:53.152Z] prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container [2022-10-10T05:14:53.184Z] $ 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-196/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-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T05:14:53.377Z] $ docker top 7cd905dd63546af4379a56954f4e8447207684d20686d72707522227c32467c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:14:53.766Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T05:14:54.081Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T05:14:54.397Z] + ls /var/log/sa-host [2022-10-10T05:14:54.397Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:14:54.545Z] provisioning config files... [2022-10-10T05:14:54.554Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config6437209281039106432tmp [Pipeline] { [Pipeline] echo [2022-10-10T05:14:54.611Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:54.927Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T05:14:54.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:55.347Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T05:14:55.378Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:55.694Z] ---> sudo-logs.sh [2022-10-10T05:14:55.694Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T05:14:55.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:56.084Z] ---> job-cost.sh [2022-10-10T05:14:56.084Z] lf-activate-venv: SKIPPING [2022-10-10T05:14:56.084Z] DEBUG: total: 0.2199999988079071 [2022-10-10T05:14:56.084Z] INFO: Retrieving Stack Cost... [2022-10-10T05:14:56.653Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T05:14:56.912Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T05:14:56.945Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:14:57.257Z] ---> logs-deploy.sh [2022-10-10T05:14:57.258Z] lf-activate-venv: SKIPPING [2022-10-10T05:14:57.258Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-196/1 [2022-10-10T05:14:57.258Z] INFO: archiving workspace using pattern(s): [2022-10-10T05:14:58.194Z] Archives upload complete. [2022-10-10T05:14:58.194Z] INFO: archiving logs to Nexus