Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f0193f04b1afaa80afcfe95e70accdfed74906a+6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (a2d566d9e7caf1f00c97b9d53a664e3db9d73533) 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-ssh4908452046331043493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh1618386468378580617.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-154/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-154/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14358060759541337879.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh15119265297536827872.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-154/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-154/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4811328040845178412.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20867 in /w/workspace/gexfoundry_device-snmp-go_PR-154 [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-154 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 4f0193f04b1afaa80afcfe95e70accdfed74906a Merge succeeded, producing 776898b944b5eab850aad03158dd26eb50358c7e Checking out Revision 776898b944b5eab850aad03158dd26eb50358c7e (PR-154) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f0193f04b1afaa80afcfe95e70accdfed74906a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 776898b944b5eab850aad03158dd26eb50358c7e # timeout=10 Commit message: "Merge commit '6b046bf6cda952c0c380e7585d2cf1a0cfc64fec' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T23:26:11.657Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T23:26:11.714Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T23:26:11.736Z] ========================================================= [2022-04-13T23:26:11.736Z] EdgeX Global Pipelines Version Info [2022-04-13T23:26:11.736Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f41dcabbe483421db7cd914ef92c4dc9fa9a4d49 # timeout=10 [2022-04-13T23:26:12.498Z] ------------------- [2022-04-13T23:26:12.498Z] stable info: [2022-04-13T23:26:12.498Z] ------------------- [2022-04-13T23:26:12.498Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T23:26:12.498Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T23:26:12.498Z] Message: update stable to v1.0.221 [2022-04-13T23:26:13.082Z] ------------------- [2022-04-13T23:26:13.082Z] experimental info: [2022-04-13T23:26:13.082Z] ------------------- [2022-04-13T23:26:13.082Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T23:26:13.082Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T23:26:13.082Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T23:26:13.228Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-13T23:26:13.237Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-13T23:26:13.249Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T23:26:13.262Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T23:26:13.275Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T23:26:13.291Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T23:26:13.308Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T23:26:13.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T23:26:13.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T23:26:13.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T23:26:13.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T23:26:13.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-13T23:26:13.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T23:26:13.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T23:26:13.431Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T23:26:13.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T23:26:13.457Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T23:26:13.470Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T23:26:13.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T23:26:13.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T23:26:13.505Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T23:26:13.520Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T23:26:13.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T23:26:13.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T23:26:13.559Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T23:26:13.570Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T23:26:13.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-154 [Pipeline] echo [2022-04-13T23:26:13.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-154 [Pipeline] echo [2022-04-13T23:26:13.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-154 [Pipeline] echo [2022-04-13T23:26:13.609Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 776898b944b5eab850aad03158dd26eb50358c7e [Pipeline] echo [2022-04-13T23:26:13.622Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 776898b [Pipeline] echo [2022-04-13T23:26:13.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T23:26:13.674Z] provisioning config files... [2022-04-13T23:26:13.690Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config6885494919972215683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:26:14.005Z] ---> docker-login.sh [2022-04-13T23:26:14.005Z] nexus3.edgexfoundry.org:10001 [2022-04-13T23:26:14.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:14.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:14.267Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:14.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:14.267Z] [2022-04-13T23:26:14.267Z] Login Succeeded [2022-04-13T23:26:14.267Z] nexus3.edgexfoundry.org:10002 [2022-04-13T23:26:14.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:14.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:14.529Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:14.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:14.529Z] [2022-04-13T23:26:14.529Z] Login Succeeded [2022-04-13T23:26:14.529Z] nexus3.edgexfoundry.org:10003 [2022-04-13T23:26:14.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:14.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:14.529Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:14.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:14.529Z] [2022-04-13T23:26:14.529Z] Login Succeeded [2022-04-13T23:26:14.529Z] nexus3.edgexfoundry.org:10004 [2022-04-13T23:26:14.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:14.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:14.792Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:14.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:14.792Z] [2022-04-13T23:26:14.792Z] Login Succeeded [2022-04-13T23:26:14.792Z] docker.io [2022-04-13T23:26:14.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:15.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:15.368Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:15.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:15.368Z] [2022-04-13T23:26:15.368Z] Login Succeeded [2022-04-13T23:26:15.368Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T23:26:15.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T23:26:15.752Z] + git rev-list -1 --merges 776898b944b5eab850aad03158dd26eb50358c7e~1..776898b944b5eab850aad03158dd26eb50358c7e [Pipeline] echo [2022-04-13T23:26:15.782Z] -----------> git rev-list -1 --merges 776898b944b5eab850aad03158dd26eb50358c7e~1..776898b944b5eab850aad03158dd26eb50358c7e 776898b944b5eab850aad03158dd26eb50358c7e [2022-04-13T23:26:15.782Z] 776898b944b5eab850aad03158dd26eb50358c7e [false] [Pipeline] sh [2022-04-13T23:26:16.158Z] + git log --format=format:%s -1 776898b944b5eab850aad03158dd26eb50358c7e [Pipeline] echo [2022-04-13T23:26:16.176Z] ========================================================= [2022-04-13T23:26:16.176Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T23:26:16.176Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T23:26:16.519Z] + git log --format=format:%s -1 776898b944b5eab850aad03158dd26eb50358c7e [Pipeline] echo [2022-04-13T23:26:16.534Z] [semverPrep] GIT_COMMIT: 776898b944b5eab850aad03158dd26eb50358c7e, Commit Message: Merge commit '6b046bf6cda952c0c380e7585d2cf1a0cfc64fec' into HEAD [Pipeline] echo [2022-04-13T23:26:16.544Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T23:26:16.967Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T23:26:16.967Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T23:26:16.967Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T23:26:16.967Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T23:26:16.967Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T23:26:16.967Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T23:26:16.967Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:26:17.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T23:26:17.404Z] [2022-04-13T23:26:17.404Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:26:17.711Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T23:26:17.711Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T23:26:17.711Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T23:26:17.711Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T23:26:17.711Z] 4c7163046ea9: Pulling fs layer [2022-04-13T23:26:17.711Z] 0c2d73faf560: Pulling fs layer [2022-04-13T23:26:17.711Z] 0c2d73faf560: Waiting [2022-04-13T23:26:17.711Z] 3e5f54012d9b: Download complete [2022-04-13T23:26:17.711Z] a0d0a0d46f8b: Download complete [2022-04-13T23:26:17.711Z] 0c2d73faf560: Verifying Checksum [2022-04-13T23:26:17.711Z] 0c2d73faf560: Download complete [2022-04-13T23:26:17.973Z] 4c7163046ea9: Verifying Checksum [2022-04-13T23:26:17.973Z] 4c7163046ea9: Download complete [2022-04-13T23:26:17.973Z] a0d0a0d46f8b: Pull complete [2022-04-13T23:26:17.973Z] 3e5f54012d9b: Pull complete [2022-04-13T23:26:18.548Z] 4c7163046ea9: Pull complete [2022-04-13T23:26:18.548Z] 0c2d73faf560: Pull complete [2022-04-13T23:26:18.548Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T23:26:18.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T23:26:18.548Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T23:26:18.730Z] prd-ubuntu20.04-docker-8c-8g-20867 does not seem to be running inside a container [2022-04-13T23:26:18.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@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:10004/edgex-devops/git-semver:latest cat [2022-04-13T23:26:19.495Z] $ docker top bbb09bebe07abb0aa8c5a0ca99b68f04da9f6b1438172924ef2acb322c277e87 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T23:26:19.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T23:26:19.597Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T23:26:19.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T23:26:19.739Z] $ docker exec bbb09bebe07abb0aa8c5a0ca99b68f04da9f6b1438172924ef2acb322c277e87 ssh-agent [2022-04-13T23:26:19.869Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjNknhe/agent.13 [2022-04-13T23:26:19.869Z] SSH_AGENT_PID=20 [2022-04-13T23:26:19.879Z] Running ssh-add (command line suppressed) [2022-04-13T23:26:20.009Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_1286929373824209285.key (/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_1286929373824209285.key) [2022-04-13T23:26:20.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T23:26:20.319Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T23:26:20.345Z] $ docker exec --env ******** --env ******** bbb09bebe07abb0aa8c5a0ca99b68f04da9f6b1438172924ef2acb322c277e87 ssh-agent -k [2022-04-13T23:26:20.468Z] unset SSH_AUTH_SOCK; [2022-04-13T23:26:20.468Z] unset SSH_AGENT_PID; [2022-04-13T23:26:20.469Z] echo Agent pid 20 killed; [2022-04-13T23:26:20.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T23:26:20.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T23:26:20.502Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T23:26:20.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T23:26:20.667Z] $ docker exec bbb09bebe07abb0aa8c5a0ca99b68f04da9f6b1438172924ef2acb322c277e87 ssh-agent [2022-04-13T23:26:20.787Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHgFhIC/agent.54 [2022-04-13T23:26:20.787Z] SSH_AGENT_PID=60 [2022-04-13T23:26:20.793Z] Running ssh-add (command line suppressed) [2022-04-13T23:26:20.921Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_5360842044156053271.key (/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_5360842044156053271.key) [2022-04-13T23:26:20.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T23:26:21.227Z] + git semver init [2022-04-13T23:26:21.227Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T23:26:21.227Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-154/.git [2022-04-13T23:26:21.227Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-154 [2022-04-13T23:26:21.227Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T23:26:21.227Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T23:26:21.227Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T23:26:21.227Z] # $SEMVER_BRANCH = PR-154 [2022-04-13T23:26:21.227Z] # $SEMVER_TEMP = /tmp/semver-969737530 [2022-04-13T23:26:21.227Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-13T23:26:22.172Z] # '/tmp/semver-969737530' -> '/w/workspace/gexfoundry_device-snmp-go_PR-154/.semver' [2022-04-13T23:26:22.172Z] # -> Force: false [2022-04-13T23:26:22.172Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-154/.semver [Pipeline] } [2022-04-13T23:26:22.190Z] $ docker exec --env ******** --env ******** bbb09bebe07abb0aa8c5a0ca99b68f04da9f6b1438172924ef2acb322c277e87 ssh-agent -k [2022-04-13T23:26:22.314Z] unset SSH_AUTH_SOCK; [2022-04-13T23:26:22.315Z] unset SSH_AGENT_PID; [2022-04-13T23:26:22.315Z] echo Agent pid 60 killed; [2022-04-13T23:26:22.320Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T23:26:22.637Z] + git semver [Pipeline] } [2022-04-13T23:26:22.657Z] $ docker stop --time=1 bbb09bebe07abb0aa8c5a0ca99b68f04da9f6b1438172924ef2acb322c277e87 [2022-04-13T23:26:24.071Z] $ docker rm -f bbb09bebe07abb0aa8c5a0ca99b68f04da9f6b1438172924ef2acb322c277e87 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T23:26:24.427Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T23:26:24.683Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T23:26:24.688Z] [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-04-13T23:26:24.852Z] provisioning config files... [2022-04-13T23:26:24.861Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config9009608559546404111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:26:25.158Z] ---> docker-login.sh [2022-04-13T23:26:25.158Z] nexus3.edgexfoundry.org:10001 [2022-04-13T23:26:25.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:25.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:25.158Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:25.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:25.158Z] [2022-04-13T23:26:25.158Z] Login Succeeded [2022-04-13T23:26:25.158Z] nexus3.edgexfoundry.org:10002 [2022-04-13T23:26:25.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:25.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:25.420Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:25.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:25.420Z] [2022-04-13T23:26:25.420Z] Login Succeeded [2022-04-13T23:26:25.420Z] nexus3.edgexfoundry.org:10003 [2022-04-13T23:26:25.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:25.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:25.420Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:25.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:25.420Z] [2022-04-13T23:26:25.420Z] Login Succeeded [2022-04-13T23:26:25.420Z] nexus3.edgexfoundry.org:10004 [2022-04-13T23:26:25.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:25.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:25.680Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:25.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:25.680Z] [2022-04-13T23:26:25.680Z] Login Succeeded [2022-04-13T23:26:25.680Z] docker.io [2022-04-13T23:26:25.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:25.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:25.943Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:25.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:25.943Z] [2022-04-13T23:26:25.943Z] Login Succeeded [2022-04-13T23:26:25.943Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T23:26:25.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T23:26:26.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T23:26:26.032Z] ========================================================= [2022-04-13T23:26:26.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T23:26:26.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:26:26.343Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T23:26:26.343Z] Sending build context to Docker daemon 5.252MB [2022-04-13T23:26:26.343Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:26:26.343Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T23:26:26.343Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T23:26:26.343Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T23:26:26.343Z] 666ba61612fd: Pulling fs layer [2022-04-13T23:26:26.343Z] 8ed8ca486205: Pulling fs layer [2022-04-13T23:26:26.343Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T23:26:26.343Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T23:26:26.343Z] 640e595b4fbd: Pulling fs layer [2022-04-13T23:26:26.343Z] 763cafe07f6e: Pulling fs layer [2022-04-13T23:26:26.343Z] 0c0b528cf693: Pulling fs layer [2022-04-13T23:26:26.343Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T23:26:26.343Z] 4fe6c5a15a65: Waiting [2022-04-13T23:26:26.343Z] 22a0e8bec74d: Waiting [2022-04-13T23:26:26.343Z] 640e595b4fbd: Waiting [2022-04-13T23:26:26.343Z] 0c0b528cf693: Waiting [2022-04-13T23:26:26.343Z] 763cafe07f6e: Waiting [2022-04-13T23:26:26.343Z] 10935f4eaf8b: Waiting [2022-04-13T23:26:26.343Z] 8ed8ca486205: Verifying Checksum [2022-04-13T23:26:26.343Z] 8ed8ca486205: Download complete [2022-04-13T23:26:26.343Z] 666ba61612fd: Download complete [2022-04-13T23:26:26.604Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T23:26:26.605Z] 22a0e8bec74d: Download complete [2022-04-13T23:26:26.605Z] 640e595b4fbd: Verifying Checksum [2022-04-13T23:26:26.605Z] 640e595b4fbd: Download complete [2022-04-13T23:26:26.605Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T23:26:26.605Z] 59bf1c3509f3: Download complete [2022-04-13T23:26:26.605Z] 763cafe07f6e: Verifying Checksum [2022-04-13T23:26:26.605Z] 763cafe07f6e: Download complete [2022-04-13T23:26:26.605Z] 0c0b528cf693: Verifying Checksum [2022-04-13T23:26:26.605Z] 0c0b528cf693: Download complete [2022-04-13T23:26:26.605Z] 59bf1c3509f3: Pull complete [2022-04-13T23:26:26.870Z] 666ba61612fd: Pull complete [2022-04-13T23:26:26.870Z] 8ed8ca486205: Pull complete [2022-04-13T23:26:27.131Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T23:26:27.131Z] 10935f4eaf8b: Download complete [2022-04-13T23:26:27.391Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T23:26:27.391Z] 4fe6c5a15a65: Download complete [2022-04-13T23:26:31.596Z] 4fe6c5a15a65: Pull complete [2022-04-13T23:26:31.596Z] 22a0e8bec74d: Pull complete [2022-04-13T23:26:31.596Z] 640e595b4fbd: Pull complete [2022-04-13T23:26:31.596Z] 763cafe07f6e: Pull complete [2022-04-13T23:26:31.596Z] 0c0b528cf693: Pull complete [2022-04-13T23:26:34.142Z] 10935f4eaf8b: Pull complete [2022-04-13T23:26:34.142Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T23:26:34.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T23:26:34.142Z] ---> 99d49a6021b9 [2022-04-13T23:26:34.142Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T23:26:35.547Z] ---> Running in 0a092dedc622 [2022-04-13T23:26:35.808Z] Removing intermediate container 0a092dedc622 [2022-04-13T23:26:35.808Z] ---> 91c700f00024 [2022-04-13T23:26:35.808Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:26:35.808Z] ---> Running in 584b31aaa5a0 [2022-04-13T23:26:35.808Z] Removing intermediate container 584b31aaa5a0 [2022-04-13T23:26:35.808Z] ---> 91f13680300a [2022-04-13T23:26:35.808Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:26:35.808Z] ---> Running in 2a63216e8180 [2022-04-13T23:26:36.070Z] Removing intermediate container 2a63216e8180 [2022-04-13T23:26:36.070Z] ---> 584e30db7cd5 [2022-04-13T23:26:36.070Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:26:36.070Z] ---> Running in 0c9675b97011 [2022-04-13T23:26:36.639Z] Removing intermediate container 0c9675b97011 [2022-04-13T23:26:36.639Z] ---> afe89e3484c1 [2022-04-13T23:26:36.639Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:26:36.639Z] ---> Running in 86a932ef6ef2 [2022-04-13T23:26:36.903Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T23:26:37.846Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T23:26:38.111Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T23:26:38.373Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T23:26:38.373Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T23:26:38.634Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T23:26:38.634Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T23:26:38.634Z] OK: 224 MiB in 56 packages [2022-04-13T23:26:39.207Z] Removing intermediate container 86a932ef6ef2 [2022-04-13T23:26:39.207Z] ---> 00c169529fc1 [2022-04-13T23:26:39.207Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-13T23:26:39.207Z] ---> Running in cd79cc06306a [2022-04-13T23:26:39.207Z] Removing intermediate container cd79cc06306a [2022-04-13T23:26:39.207Z] ---> c223305ec8ee [2022-04-13T23:26:39.207Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T23:26:39.207Z] ---> de0461377c90 [2022-04-13T23:26:39.207Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:26:39.467Z] ---> Running in d4ff54f04506 [2022-04-13T23:26:39.803Z] Still waiting to schedule task [2022-04-13T23:26:39.803Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-13T23:26:57.594Z] Removing intermediate container d4ff54f04506 [2022-04-13T23:26:57.594Z] ---> 3e0b9e7b438c [2022-04-13T23:26:57.594Z] Step 11/12 : COPY . . [2022-04-13T23:26:57.594Z] ---> b60b9b9c3478 [2022-04-13T23:26:57.594Z] Step 12/12 : RUN ${MAKE} [2022-04-13T23:26:57.594Z] ---> Running in f0b8580a982b [2022-04-13T23:26:57.855Z] noop [2022-04-13T23:26:58.115Z] Removing intermediate container f0b8580a982b [2022-04-13T23:26:58.115Z] ---> 269c5d55dfdc [2022-04-13T23:26:58.115Z] Successfully built 269c5d55dfdc [2022-04-13T23:26:58.115Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:26:58.410Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T23:26:58.410Z] . [Pipeline] withDockerContainer [2022-04-13T23:26:58.481Z] prd-ubuntu20.04-docker-8c-8g-20867 does not seem to be running inside a container [2022-04-13T23:26:58.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T23:26:58.952Z] $ docker top f94258afc5a47851590d8f56e25cc70a9791d06e356cb01dbaa33d7acfda663c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T23:26:59.311Z] + go version [2022-04-13T23:26:59.311Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T23:26:59.330Z] $ docker stop --time=1 f94258afc5a47851590d8f56e25cc70a9791d06e356cb01dbaa33d7acfda663c [2022-04-13T23:27:00.621Z] $ docker rm -f f94258afc5a47851590d8f56e25cc70a9791d06e356cb01dbaa33d7acfda663c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:27:01.036Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T23:27:01.036Z] . [Pipeline] withDockerContainer [2022-04-13T23:27:01.118Z] prd-ubuntu20.04-docker-8c-8g-20867 does not seem to be running inside a container [2022-04-13T23:27:01.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T23:27:01.547Z] $ docker top 1f7ef8caa146083d3a8bab3504bb150e9b983636e1d7e3c5b0ed9b9dc8a71fde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T23:27:01.974Z] + make test [2022-04-13T23:27:01.974Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T23:27:02.542Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-13T23:27:12.556Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-13T23:27:12.556Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-04-13T23:27:19.136Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T23:27:23.347Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T23:27:23.347Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T23:27:23.347Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T23:27:23.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T23:27:23.964Z] $ docker stop --time=1 1f7ef8caa146083d3a8bab3504bb150e9b983636e1d7e3c5b0ed9b9dc8a71fde [2022-04-13T23:27:25.704Z] $ docker rm -f 1f7ef8caa146083d3a8bab3504bb150e9b983636e1d7e3c5b0ed9b9dc8a71fde [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T23:27:26.156Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T23:27:26.198Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T23:27:27.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T23:27:27.496Z] + ls -al . [2022-04-13T23:27:27.496Z] total 184 [2022-04-13T23:27:27.496Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 23:27 . [2022-04-13T23:27:27.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 23:26 .. [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 23:26 .dockerignore [2022-04-13T23:27:27.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 23:26 .git [2022-04-13T23:27:27.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 .github [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 23:26 .gitignore [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 23:26 .golangci.yml [2022-04-13T23:27:27.496Z] drwx------ 3 jenkins jenkins 4096 Apr 13 23:26 .semver [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 23:26 Attribution.txt [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 23:26 CHANGELOG.md [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 23:26 Dockerfile [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 23:26 GOVERNANCE.md [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 23:26 Jenkinsfile [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 23:26 LICENSE [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 23:26 Makefile [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 23:26 OWNERS.md [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 23:26 README.md [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 23:26 VERSION [2022-04-13T23:27:27.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 23:26 bin [2022-04-13T23:27:27.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 cmd [2022-04-13T23:27:27.496Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 23:27 coverage.out [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 23:26 go.mod [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 54180 Apr 13 23:26 go.sum [2022-04-13T23:27:27.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 internal [2022-04-13T23:27:27.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 snap [2022-04-13T23:27:27.496Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 23:26 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:27:27.794Z] + 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=776898b944b5eab850aad03158dd26eb50358c7e --label arch=amd64 --label version=0.0.0 . [2022-04-13T23:27:27.794Z] Sending build context to Docker daemon 5.26MB [2022-04-13T23:27:27.794Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:27:27.794Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-13T23:27:27.794Z] ---> 269c5d55dfdc [2022-04-13T23:27:27.794Z] Step 3/24 : ARG MAKE='make build' [2022-04-13T23:27:27.794Z] ---> Running in 7b435c091419 [2022-04-13T23:27:28.055Z] Removing intermediate container 7b435c091419 [2022-04-13T23:27:28.055Z] ---> 470e5d9a1703 [2022-04-13T23:27:28.055Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:27:28.055Z] ---> Running in 85bdd6eaf5a4 [2022-04-13T23:27:28.055Z] Removing intermediate container 85bdd6eaf5a4 [2022-04-13T23:27:28.055Z] ---> 83a765082a7b [2022-04-13T23:27:28.055Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:27:28.318Z] ---> Running in 4512b09af0eb [2022-04-13T23:27:28.318Z] Removing intermediate container 4512b09af0eb [2022-04-13T23:27:28.318Z] ---> 2efd1f249c6a [2022-04-13T23:27:28.318Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:27:28.318Z] ---> Running in f3f93b08655b [2022-04-13T23:27:28.889Z] Removing intermediate container f3f93b08655b [2022-04-13T23:27:28.889Z] ---> 1b8d37912f75 [2022-04-13T23:27:28.889Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:27:29.149Z] ---> Running in d3520f422816 [2022-04-13T23:27:29.410Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:29.985Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:30.558Z] OK: 224 MiB in 56 packages [2022-04-13T23:27:30.819Z] Removing intermediate container d3520f422816 [2022-04-13T23:27:30.819Z] ---> 499a8b58591d [2022-04-13T23:27:30.819Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-13T23:27:30.819Z] ---> Running in 47461621b4ed [2022-04-13T23:27:30.819Z] Removing intermediate container 47461621b4ed [2022-04-13T23:27:30.819Z] ---> 502c18cf98ba [2022-04-13T23:27:30.819Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-13T23:27:31.080Z] ---> 095c0dc9c485 [2022-04-13T23:27:31.080Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:27:31.080Z] ---> Running in 08596c71a785 [2022-04-13T23:27:31.653Z] Removing intermediate container 08596c71a785 [2022-04-13T23:27:31.653Z] ---> 4b06a606e6d3 [2022-04-13T23:27:31.653Z] Step 11/24 : COPY . . [2022-04-13T23:27:31.915Z] ---> 17f9f84e96ae [2022-04-13T23:27:31.915Z] Step 12/24 : RUN ${MAKE} [2022-04-13T23:27:32.176Z] ---> Running in 6b40ed2275db [2022-04-13T23:27:32.436Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-13T23:27:54.401Z] Removing intermediate container 6b40ed2275db [2022-04-13T23:27:54.401Z] ---> 74486f7762d1 [2022-04-13T23:27:54.401Z] Step 13/24 : FROM alpine:3.14 [2022-04-13T23:27:54.401Z] 3.14: Pulling from library/alpine [2022-04-13T23:27:54.401Z] 8663204ce13b: Pulling fs layer [2022-04-13T23:27:54.401Z] 8663204ce13b: Verifying Checksum [2022-04-13T23:27:54.401Z] 8663204ce13b: Download complete [2022-04-13T23:27:54.401Z] 8663204ce13b: Pull complete [2022-04-13T23:27:54.401Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T23:27:54.401Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T23:27:54.401Z] ---> e04c818066af [2022-04-13T23:27:54.401Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T23:27:54.401Z] ---> Running in 511f2ae212d0 [2022-04-13T23:27:54.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:54.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:54.401Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T23:27:54.401Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T23:27:54.401Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T23:27:54.401Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T23:27:54.401Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T23:27:54.401Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T23:27:54.401Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T23:27:54.401Z] OK: 8 MiB in 20 packages [2022-04-13T23:27:54.662Z] Removing intermediate container 511f2ae212d0 [2022-04-13T23:27:54.662Z] ---> d6a9425ce031 [2022-04-13T23:27:54.662Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-13T23:27:55.229Z] ---> 822e0771b37d [2022-04-13T23:27:55.229Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-13T23:27:55.495Z] ---> e6f9b7e201ff [2022-04-13T23:27:55.495Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-13T23:27:55.758Z] ---> e9f85ed5c447 [2022-04-13T23:27:55.758Z] Step 18/24 : EXPOSE 59993 [2022-04-13T23:27:55.758Z] ---> Running in 3a011ae2a361 [2022-04-13T23:27:55.758Z] Removing intermediate container 3a011ae2a361 [2022-04-13T23:27:55.758Z] ---> b51988daac5f [2022-04-13T23:27:55.758Z] Step 19/24 : EXPOSE 161 [2022-04-13T23:27:55.758Z] ---> Running in e8ad608ff12d [2022-04-13T23:27:56.029Z] Removing intermediate container e8ad608ff12d [2022-04-13T23:27:56.029Z] ---> 45416290aa00 [2022-04-13T23:27:56.029Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-13T23:27:56.029Z] ---> Running in e47683b74b9d [2022-04-13T23:27:56.029Z] Removing intermediate container e47683b74b9d [2022-04-13T23:27:56.029Z] ---> 99b592bbee48 [2022-04-13T23:27:56.029Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T23:27:56.029Z] ---> Running in a5a6d1e4c7a2 [2022-04-13T23:27:56.291Z] Removing intermediate container a5a6d1e4c7a2 [2022-04-13T23:27:56.291Z] ---> 39009623c92a [2022-04-13T23:27:56.291Z] Step 22/24 : LABEL arch=amd64 [2022-04-13T23:27:56.291Z] ---> Running in fe5206a8dd00 [2022-04-13T23:27:56.291Z] Removing intermediate container fe5206a8dd00 [2022-04-13T23:27:56.291Z] ---> 4cb21f4aa514 [2022-04-13T23:27:56.291Z] Step 23/24 : LABEL git_sha=776898b944b5eab850aad03158dd26eb50358c7e [2022-04-13T23:27:56.291Z] ---> Running in 5898184d707e [2022-04-13T23:27:56.552Z] Removing intermediate container 5898184d707e [2022-04-13T23:27:56.552Z] ---> 4204822eb1e1 [2022-04-13T23:27:56.552Z] Step 24/24 : LABEL version=0.0.0 [2022-04-13T23:27:56.552Z] ---> Running in c2025a8360c2 [2022-04-13T23:27:56.552Z] Removing intermediate container c2025a8360c2 [2022-04-13T23:27:56.552Z] ---> 48f39805148f [2022-04-13T23:27:56.552Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T23:27:56.552Z] Successfully built 48f39805148f [2022-04-13T23:27:56.552Z] Successfully tagged device-snmp:latest [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] sh [2022-04-13T23:27:56.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:27:56.964Z] [2022-04-13T23:27:56.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:27:57.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:27:57.266Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T23:27:57.266Z] 5eb5b503b376: Pulling fs layer [2022-04-13T23:27:57.266Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T23:27:57.266Z] ec43610c2a17: Pulling fs layer [2022-04-13T23:27:57.266Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T23:27:57.266Z] 33b1e0a273af: Pulling fs layer [2022-04-13T23:27:57.266Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T23:27:57.266Z] 2f39f015ded8: Pulling fs layer [2022-04-13T23:27:57.266Z] 33b1e0a273af: Waiting [2022-04-13T23:27:57.266Z] 5d3b04190fa2: Waiting [2022-04-13T23:27:57.266Z] 2f39f015ded8: Waiting [2022-04-13T23:27:57.266Z] 3a2ae6a8a46f: Waiting [2022-04-13T23:27:57.266Z] 5c69ac0246d0: Download complete [2022-04-13T23:27:57.266Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T23:27:57.266Z] 3a2ae6a8a46f: Download complete [2022-04-13T23:27:57.266Z] 33b1e0a273af: Verifying Checksum [2022-04-13T23:27:57.266Z] 33b1e0a273af: Download complete [2022-04-13T23:27:57.266Z] ec43610c2a17: Verifying Checksum [2022-04-13T23:27:57.266Z] ec43610c2a17: Download complete [2022-04-13T23:27:57.266Z] 5d3b04190fa2: Download complete [2022-04-13T23:27:57.525Z] 5eb5b503b376: Download complete [2022-04-13T23:27:58.092Z] 2f39f015ded8: Verifying Checksum [2022-04-13T23:27:58.092Z] 2f39f015ded8: Download complete [2022-04-13T23:27:58.662Z] 5eb5b503b376: Pull complete [2022-04-13T23:27:58.922Z] 5c69ac0246d0: Pull complete [2022-04-13T23:27:59.490Z] ec43610c2a17: Pull complete [2022-04-13T23:27:59.490Z] 3a2ae6a8a46f: Pull complete [2022-04-13T23:27:59.748Z] 33b1e0a273af: Pull complete [2022-04-13T23:27:59.749Z] 5d3b04190fa2: Pull complete [2022-04-13T23:28:05.023Z] 2f39f015ded8: Pull complete [2022-04-13T23:28:05.023Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T23:28:05.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:28:05.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T23:28:05.091Z] prd-ubuntu20.04-docker-8c-8g-20867 does not seem to be running inside a container [2022-04-13T23:28:05.132Z] $ 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-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T23:28:06.835Z] $ docker top 9c87c76d49b16ef3bd7c71a4ce02fee85c5b0ab31ed8d803b8aa52e1f45be93e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:28:07.241Z] ---> job-cost.sh [2022-04-13T23:28:07.241Z] lf-activate-venv: SKIPPING [2022-04-13T23:28:07.241Z] INFO: No Stack... [2022-04-13T23:28:07.816Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T23:28:08.386Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T23:28:08.678Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-154/archives/cost.csv [2022-04-13T23:28:08.678Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T23:28:08.694Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] [2022-04-13T23:28:08.702Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] did not exist. Created. [2022-04-13T23:28:08.702Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T23:28:09.020Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T23:28:09.050Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T23:28:09.058Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T23:28:09.080Z] $ docker stop --time=1 9c87c76d49b16ef3bd7c71a4ce02fee85c5b0ab31ed8d803b8aa52e1f45be93e [2022-04-13T23:28:10.258Z] $ docker rm -f 9c87c76d49b16ef3bd7c71a4ce02fee85c5b0ab31ed8d803b8aa52e1f45be93e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T23:29:26.880Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20869 in /w/workspace/gexfoundry_device-snmp-go_PR-154 [Pipeline] { [Pipeline] ws [2022-04-13T23:29:26.896Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2022-04-13T23:29:27.208Z] Selected Git installation does not exist. Using Default [2022-04-13T23:29:27.208Z] The recommended git tool is: NONE [2022-04-13T23:29:36.202Z] using credential edgex-jenkins-ssh [2022-04-13T23:29:36.231Z] Cloning the remote Git repository [2022-04-13T23:29:36.369Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T23:29:36.514Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2022-04-13T23:29:36.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T23:29:36.731Z] > git --version # timeout=10 [2022-04-13T23:29:36.772Z] > git --version # 'git version 2.25.1' [2022-04-13T23:29:36.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T23:29:36.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T23:29:38.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-13T23:29:38.168Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T23:29:38.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-13T23:29:38.297Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T23:29:38.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T23:29:38.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-13T23:29:38.831Z] Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 4f0193f04b1afaa80afcfe95e70accdfed74906a [2022-04-13T23:29:39.152Z] Merge succeeded, producing 3b2f0bc6e2e28c6d810b21545fe8975b6e42ed54 [2022-04-13T23:29:39.153Z] Checking out Revision 3b2f0bc6e2e28c6d810b21545fe8975b6e42ed54 (PR-154) [2022-04-13T23:29:38.861Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T23:29:38.895Z] > git checkout -f 4f0193f04b1afaa80afcfe95e70accdfed74906a # timeout=10 [2022-04-13T23:29:38.998Z] > git remote # timeout=10 [2022-04-13T23:29:39.030Z] > git config --get remote.origin.url # timeout=10 [2022-04-13T23:29:39.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T23:29:39.075Z] > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 [2022-04-13T23:29:39.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-13T23:29:39.166Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T23:29:39.190Z] > git checkout -f 3b2f0bc6e2e28c6d810b21545fe8975b6e42ed54 # timeout=10 [2022-04-13T23:29:43.615Z] Commit message: "Merge commit '6b046bf6cda952c0c380e7585d2cf1a0cfc64fec' into HEAD" [2022-04-13T23:29:43.643Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T23:29:44.616Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T23:29:44.616Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T23:29:44.616Z] Dload Upload Total Spent Left Speed [2022-04-13T23:29:44.617Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45725 0 --:--:-- --:--:-- --:--:-- 45550 [2022-04-13T23:29:43.632Z] > git rev-list --no-walk f41dcabbe483421db7cd914ef92c4dc9fa9a4d49 # timeout=10 [Pipeline] sh [2022-04-13T23:29:45.182Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T23:29:45.545Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T23:29:45.545Z] + sudo tee /etc/docker/daemon.new [2022-04-13T23:29:45.545Z] { [2022-04-13T23:29:45.545Z] "registry-mirrors": [ [2022-04-13T23:29:45.545Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T23:29:45.545Z] ], [2022-04-13T23:29:45.545Z] "bip": "10.250.0.254/24", [2022-04-13T23:29:45.545Z] "hosts": [ [2022-04-13T23:29:45.545Z] "tcp://0.0.0.0:5555", [2022-04-13T23:29:45.545Z] "unix:///var/run/docker.sock" [2022-04-13T23:29:45.545Z] ], [2022-04-13T23:29:45.545Z] "mtu": 1458, [2022-04-13T23:29:45.545Z] "selinux-enabled": true, [2022-04-13T23:29:45.545Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T23:29:45.545Z] } [Pipeline] sh [2022-04-13T23:29:45.908Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T23:29:46.270Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T23:30:04.692Z] provisioning config files... [2022-04-13T23:30:04.718Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config5217117357323266416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:30:05.100Z] ---> docker-login.sh [2022-04-13T23:30:05.100Z] nexus3.edgexfoundry.org:10001 [2022-04-13T23:30:05.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:30:05.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:30:05.981Z] Configure a credential helper to remove this warning. See [2022-04-13T23:30:05.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:30:05.981Z] [2022-04-13T23:30:05.981Z] Login Succeeded [2022-04-13T23:30:05.981Z] nexus3.edgexfoundry.org:10002 [2022-04-13T23:30:06.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:30:06.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:30:06.582Z] Configure a credential helper to remove this warning. See [2022-04-13T23:30:06.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:30:06.582Z] [2022-04-13T23:30:06.582Z] Login Succeeded [2022-04-13T23:30:06.582Z] nexus3.edgexfoundry.org:10003 [2022-04-13T23:30:07.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:30:07.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:30:07.187Z] Configure a credential helper to remove this warning. See [2022-04-13T23:30:07.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:30:07.187Z] [2022-04-13T23:30:07.187Z] Login Succeeded [2022-04-13T23:30:07.187Z] nexus3.edgexfoundry.org:10004 [2022-04-13T23:30:07.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:30:07.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:30:07.743Z] Configure a credential helper to remove this warning. See [2022-04-13T23:30:07.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:30:07.743Z] [2022-04-13T23:30:07.743Z] Login Succeeded [2022-04-13T23:30:07.743Z] docker.io [2022-04-13T23:30:08.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:30:08.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:30:08.616Z] Configure a credential helper to remove this warning. See [2022-04-13T23:30:08.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:30:08.616Z] [2022-04-13T23:30:08.616Z] Login Succeeded [2022-04-13T23:30:08.616Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T23:30:08.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T23:30:09.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T23:30:09.241Z] ========================================================= [2022-04-13T23:30:09.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T23:30:09.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:30:09.617Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T23:30:09.892Z] Sending build context to Docker daemon 2.732MB [2022-04-13T23:30:09.892Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:30:09.892Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T23:30:10.167Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T23:30:10.167Z] 9b3977197b4f: Pulling fs layer [2022-04-13T23:30:10.167Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T23:30:10.167Z] 94645a83ff95: Pulling fs layer [2022-04-13T23:30:10.167Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T23:30:10.167Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T23:30:10.167Z] f7c0051592d6: Pulling fs layer [2022-04-13T23:30:10.167Z] a227ed2f7395: Pulling fs layer [2022-04-13T23:30:10.167Z] 7b1c46037f91: Pulling fs layer [2022-04-13T23:30:10.167Z] 3f3a8bcf1eab: Waiting [2022-04-13T23:30:10.167Z] 0c92f367c5e7: Waiting [2022-04-13T23:30:10.167Z] f7c0051592d6: Waiting [2022-04-13T23:30:10.167Z] a227ed2f7395: Waiting [2022-04-13T23:30:10.167Z] 7b1c46037f91: Waiting [2022-04-13T23:30:10.167Z] 94645a83ff95: Download complete [2022-04-13T23:30:10.167Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T23:30:10.167Z] 1a89e8eeedd5: Download complete [2022-04-13T23:30:10.167Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T23:30:10.167Z] 0c92f367c5e7: Download complete [2022-04-13T23:30:10.446Z] f7c0051592d6: Verifying Checksum [2022-04-13T23:30:10.446Z] f7c0051592d6: Download complete [2022-04-13T23:30:10.446Z] 9b3977197b4f: Verifying Checksum [2022-04-13T23:30:10.446Z] 9b3977197b4f: Download complete [2022-04-13T23:30:10.446Z] a227ed2f7395: Verifying Checksum [2022-04-13T23:30:10.446Z] a227ed2f7395: Download complete [2022-04-13T23:30:11.055Z] 9b3977197b4f: Pull complete [2022-04-13T23:30:11.665Z] 1a89e8eeedd5: Pull complete [2022-04-13T23:30:11.944Z] 94645a83ff95: Pull complete [2022-04-13T23:30:12.221Z] 7b1c46037f91: Verifying Checksum [2022-04-13T23:30:12.221Z] 7b1c46037f91: Download complete [2022-04-13T23:30:12.819Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T23:30:12.819Z] 3f3a8bcf1eab: Download complete [2022-04-13T23:30:25.229Z] 3f3a8bcf1eab: Pull complete [2022-04-13T23:30:25.229Z] 0c92f367c5e7: Pull complete [2022-04-13T23:30:25.229Z] f7c0051592d6: Pull complete [2022-04-13T23:30:25.229Z] a227ed2f7395: Pull complete [2022-04-13T23:30:30.646Z] 7b1c46037f91: Pull complete [2022-04-13T23:30:30.646Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T23:30:30.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T23:30:30.646Z] ---> f79e39bc4007 [2022-04-13T23:30:30.646Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T23:30:31.274Z] ---> Running in 04a7e460a36b [2022-04-13T23:30:31.883Z] Removing intermediate container 04a7e460a36b [2022-04-13T23:30:31.883Z] ---> 61af1d17f45b [2022-04-13T23:30:31.883Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:30:31.883Z] ---> Running in 2ada61f3912b [2022-04-13T23:30:32.156Z] Removing intermediate container 2ada61f3912b [2022-04-13T23:30:32.156Z] ---> 658b090904cd [2022-04-13T23:30:32.156Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:30:32.156Z] ---> Running in be2ff6232a64 [2022-04-13T23:30:32.436Z] Removing intermediate container be2ff6232a64 [2022-04-13T23:30:32.436Z] ---> e881aa7cbc57 [2022-04-13T23:30:32.436Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:30:32.711Z] ---> Running in 9a773108f42d [2022-04-13T23:30:34.701Z] Removing intermediate container 9a773108f42d [2022-04-13T23:30:34.701Z] ---> b196607ed339 [2022-04-13T23:30:34.701Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:30:34.701Z] ---> Running in a06d9daeb1cb [2022-04-13T23:30:35.678Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T23:30:36.273Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T23:30:37.254Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T23:30:37.528Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T23:30:37.528Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T23:30:37.803Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T23:30:37.803Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T23:30:37.803Z] OK: 224 MiB in 56 packages [2022-04-13T23:30:38.781Z] Removing intermediate container a06d9daeb1cb [2022-04-13T23:30:38.781Z] ---> 294d3384a90e [2022-04-13T23:30:38.781Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-13T23:30:39.057Z] ---> Running in 42446c2d9c6b [2022-04-13T23:30:39.332Z] Removing intermediate container 42446c2d9c6b [2022-04-13T23:30:39.332Z] ---> 7866372f2fef [2022-04-13T23:30:39.332Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T23:30:39.928Z] ---> 77d5f502592d [2022-04-13T23:30:39.928Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:30:39.928Z] ---> Running in ad23d86675f7 [2022-04-13T23:31:26.961Z] Removing intermediate container ad23d86675f7 [2022-04-13T23:31:26.961Z] ---> 57efacedd10b [2022-04-13T23:31:26.961Z] Step 11/12 : COPY . . [2022-04-13T23:31:27.956Z] ---> 97069385eb60 [2022-04-13T23:31:27.956Z] Step 12/12 : RUN ${MAKE} [2022-04-13T23:31:27.956Z] ---> Running in a9662dc73c06 [2022-04-13T23:31:28.944Z] noop [2022-04-13T23:31:29.549Z] Removing intermediate container a9662dc73c06 [2022-04-13T23:31:29.549Z] ---> 08bf8c95b1e5 [2022-04-13T23:31:29.822Z] Successfully built 08bf8c95b1e5 [2022-04-13T23:31:29.822Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:31:30.175Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T23:31:30.175Z] . [Pipeline] withDockerContainer [2022-04-13T23:31:30.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-20869 does not seem to be running inside a container [2022-04-13T23:31:30.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T23:31:31.972Z] $ docker top 5d97e11d158df84c6428aad44fb6b305f7aa6ebde505a823f88eed3cd0fc9042 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T23:31:32.929Z] + go version [2022-04-13T23:31:32.929Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T23:31:32.961Z] $ docker stop --time=1 5d97e11d158df84c6428aad44fb6b305f7aa6ebde505a823f88eed3cd0fc9042 [2022-04-13T23:31:34.640Z] $ docker rm -f 5d97e11d158df84c6428aad44fb6b305f7aa6ebde505a823f88eed3cd0fc9042 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:31:35.253Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T23:31:35.253Z] . [Pipeline] withDockerContainer [2022-04-13T23:31:35.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-20869 does not seem to be running inside a container [2022-04-13T23:31:35.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T23:31:36.968Z] $ docker top 12cc68c243c8053f50e5809352cab566700f81b9bfc1d2d8ac07306157351316 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T23:31:37.914Z] + make test [2022-04-13T23:31:37.914Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T23:31:39.905Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-13T23:33:01.811Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-13T23:33:01.811Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2022-04-13T23:33:01.811Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T23:33:01.811Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T23:33:28.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T23:33:28.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T23:33:28.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T23:33:31.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T23:33:31.282Z] $ docker stop --time=1 12cc68c243c8053f50e5809352cab566700f81b9bfc1d2d8ac07306157351316 [2022-04-13T23:33:33.092Z] $ docker rm -f 12cc68c243c8053f50e5809352cab566700f81b9bfc1d2d8ac07306157351316 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T23:33:34.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T23:33:34.086Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T23:33:34.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T23:33:34.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T23:33:35.322Z] + ls -al . [2022-04-13T23:33:35.322Z] total 180 [2022-04-13T23:33:35.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 23:33 . [2022-04-13T23:33:35.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 23:29 .. [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 23:29 .dockerignore [2022-04-13T23:33:35.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 23:29 .git [2022-04-13T23:33:35.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:29 .github [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 23:29 .gitignore [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 23:29 .golangci.yml [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 23:29 Attribution.txt [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 23:29 CHANGELOG.md [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 23:29 Dockerfile [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 23:29 GOVERNANCE.md [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 23:29 Jenkinsfile [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 23:29 LICENSE [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 23:29 Makefile [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 23:29 OWNERS.md [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 23:29 README.md [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 23:26 VERSION [2022-04-13T23:33:35.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 23:29 bin [2022-04-13T23:33:35.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:29 cmd [2022-04-13T23:33:35.322Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 23:32 coverage.out [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 23:29 go.mod [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 54180 Apr 13 23:29 go.sum [2022-04-13T23:33:35.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:29 internal [2022-04-13T23:33:35.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:29 snap [2022-04-13T23:33:35.322Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 23:29 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:33:35.661Z] + 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=3b2f0bc6e2e28c6d810b21545fe8975b6e42ed54 --label arch=arm64 --label version=0.0.0 . [2022-04-13T23:33:35.936Z] Sending build context to Docker daemon 2.74MB [2022-04-13T23:33:35.936Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:33:35.936Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-13T23:33:35.936Z] ---> 08bf8c95b1e5 [2022-04-13T23:33:35.936Z] Step 3/24 : ARG MAKE='make build' [2022-04-13T23:33:36.210Z] ---> Running in 8f89e4464c78 [2022-04-13T23:33:36.483Z] Removing intermediate container 8f89e4464c78 [2022-04-13T23:33:36.483Z] ---> b7e14d817b7a [2022-04-13T23:33:36.483Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:33:36.483Z] ---> Running in afd1999933a2 [2022-04-13T23:33:36.758Z] Removing intermediate container afd1999933a2 [2022-04-13T23:33:36.758Z] ---> 4149b5eb701a [2022-04-13T23:33:36.758Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:33:37.029Z] ---> Running in e8969770f6ad [2022-04-13T23:33:37.303Z] Removing intermediate container e8969770f6ad [2022-04-13T23:33:37.303Z] ---> fd59211e996e [2022-04-13T23:33:37.303Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:33:37.303Z] ---> Running in fdc23da6d3c7 [2022-04-13T23:33:39.268Z] Removing intermediate container fdc23da6d3c7 [2022-04-13T23:33:39.268Z] ---> ec6ac3ae359c [2022-04-13T23:33:39.268Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:33:39.268Z] ---> Running in 97cb8a4a8526 [2022-04-13T23:33:40.250Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T23:33:40.842Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T23:33:41.817Z] OK: 224 MiB in 56 packages [2022-04-13T23:33:42.798Z] Removing intermediate container 97cb8a4a8526 [2022-04-13T23:33:42.798Z] ---> 9173f64265d3 [2022-04-13T23:33:42.798Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-13T23:33:42.798Z] ---> Running in b7013cc700ae [2022-04-13T23:33:43.070Z] Removing intermediate container b7013cc700ae [2022-04-13T23:33:43.070Z] ---> 1bc9cc0f96c4 [2022-04-13T23:33:43.070Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-13T23:33:43.667Z] ---> e84a9d000348 [2022-04-13T23:33:43.667Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:33:43.667Z] ---> Running in 205a362ea2db [2022-04-13T23:33:45.638Z] Removing intermediate container 205a362ea2db [2022-04-13T23:33:45.638Z] ---> 4c50e6552be3 [2022-04-13T23:33:45.638Z] Step 11/24 : COPY . . [2022-04-13T23:33:46.631Z] ---> ae58d0f40612 [2022-04-13T23:33:46.631Z] Step 12/24 : RUN ${MAKE} [2022-04-13T23:33:46.631Z] ---> Running in 8308dbe3b257 [2022-04-13T23:33:47.613Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-13T23:36:09.536Z] Removing intermediate container 8308dbe3b257 [2022-04-13T23:36:09.536Z] ---> ee36fac994f3 [2022-04-13T23:36:09.536Z] Step 13/24 : FROM alpine:3.14 [2022-04-13T23:36:09.536Z] 3.14: Pulling from library/alpine [2022-04-13T23:36:09.536Z] 455c02918c45: Pulling fs layer [2022-04-13T23:36:09.536Z] 455c02918c45: Verifying Checksum [2022-04-13T23:36:09.536Z] 455c02918c45: Download complete [2022-04-13T23:36:09.536Z] 455c02918c45: Pull complete [2022-04-13T23:36:09.536Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T23:36:09.536Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T23:36:09.536Z] ---> ac73e934f311 [2022-04-13T23:36:09.536Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T23:36:09.536Z] ---> Running in f8551d9b925e [2022-04-13T23:36:09.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T23:36:09.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T23:36:09.536Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T23:36:09.536Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T23:36:09.536Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T23:36:09.536Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T23:36:09.536Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T23:36:09.536Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T23:36:09.536Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T23:36:09.536Z] OK: 8 MiB in 20 packages [2022-04-13T23:36:09.536Z] Removing intermediate container f8551d9b925e [2022-04-13T23:36:09.536Z] ---> 03a7e361fbef [2022-04-13T23:36:09.536Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-13T23:36:09.536Z] ---> 01a3a16a35a4 [2022-04-13T23:36:09.536Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-13T23:36:09.536Z] ---> e87f16c79f90 [2022-04-13T23:36:09.536Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-13T23:36:09.536Z] ---> 1da619d7ba78 [2022-04-13T23:36:09.536Z] Step 18/24 : EXPOSE 59993 [2022-04-13T23:36:09.536Z] ---> Running in 6ea7245202fa [2022-04-13T23:36:09.536Z] Removing intermediate container 6ea7245202fa [2022-04-13T23:36:09.536Z] ---> 68148d50ca5a [2022-04-13T23:36:09.536Z] Step 19/24 : EXPOSE 161 [2022-04-13T23:36:09.536Z] ---> Running in 88c4511f6e58 [2022-04-13T23:36:09.536Z] Removing intermediate container 88c4511f6e58 [2022-04-13T23:36:09.536Z] ---> ec5d86624a02 [2022-04-13T23:36:09.536Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-13T23:36:09.536Z] ---> Running in 91b5bfb69761 [2022-04-13T23:36:09.536Z] Removing intermediate container 91b5bfb69761 [2022-04-13T23:36:09.536Z] ---> b5645c9f1d96 [2022-04-13T23:36:09.536Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T23:36:09.536Z] ---> Running in a582c981c2fb [2022-04-13T23:36:09.536Z] Removing intermediate container a582c981c2fb [2022-04-13T23:36:09.536Z] ---> 923167ea5f0e [2022-04-13T23:36:09.536Z] Step 22/24 : LABEL arch=arm64 [2022-04-13T23:36:09.536Z] ---> Running in cecf40165085 [2022-04-13T23:36:09.536Z] Removing intermediate container cecf40165085 [2022-04-13T23:36:09.536Z] ---> 7aa64715f759 [2022-04-13T23:36:09.536Z] Step 23/24 : LABEL git_sha=3b2f0bc6e2e28c6d810b21545fe8975b6e42ed54 [2022-04-13T23:36:09.536Z] ---> Running in 75f36273dbf0 [2022-04-13T23:36:09.536Z] Removing intermediate container 75f36273dbf0 [2022-04-13T23:36:09.536Z] ---> a17ab7c36358 [2022-04-13T23:36:09.536Z] Step 24/24 : LABEL version=0.0.0 [2022-04-13T23:36:09.810Z] ---> Running in e19cb46fb56f [2022-04-13T23:36:10.084Z] Removing intermediate container e19cb46fb56f [2022-04-13T23:36:10.084Z] ---> 32d17d4781ed [2022-04-13T23:36:10.084Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T23:36:10.084Z] Successfully built 32d17d4781ed [2022-04-13T23:36:10.084Z] Successfully tagged device-snmp-arm64:latest [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] sh [2022-04-13T23:36:10.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T23:36:10.514Z] [2022-04-13T23:36:10.514Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:36:10.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T23:36:11.147Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T23:36:11.147Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T23:36:11.147Z] 04944245beec: Pulling fs layer [2022-04-13T23:36:11.147Z] 699f458cf7ca: Pulling fs layer [2022-04-13T23:36:11.147Z] 765212b225bb: Pulling fs layer [2022-04-13T23:36:11.147Z] f23df028b6ca: Pulling fs layer [2022-04-13T23:36:11.147Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T23:36:11.147Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T23:36:11.147Z] 765212b225bb: Waiting [2022-04-13T23:36:11.147Z] f23df028b6ca: Waiting [2022-04-13T23:36:11.147Z] 2437ff75d9bd: Waiting [2022-04-13T23:36:11.147Z] d65c8cfc05b1: Waiting [2022-04-13T23:36:11.147Z] 04944245beec: Verifying Checksum [2022-04-13T23:36:11.147Z] 04944245beec: Download complete [2022-04-13T23:36:11.147Z] 765212b225bb: Verifying Checksum [2022-04-13T23:36:11.147Z] 765212b225bb: Download complete [2022-04-13T23:36:11.147Z] f23df028b6ca: Verifying Checksum [2022-04-13T23:36:11.147Z] f23df028b6ca: Download complete [2022-04-13T23:36:11.147Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T23:36:11.147Z] d65c8cfc05b1: Download complete [2022-04-13T23:36:11.430Z] 699f458cf7ca: Verifying Checksum [2022-04-13T23:36:11.430Z] 699f458cf7ca: Download complete [2022-04-13T23:36:11.707Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T23:36:11.707Z] 8998bd30e6a1: Download complete [2022-04-13T23:36:14.341Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T23:36:14.341Z] 2437ff75d9bd: Download complete [2022-04-13T23:36:15.775Z] 8998bd30e6a1: Pull complete [2022-04-13T23:36:16.377Z] 04944245beec: Pull complete [2022-04-13T23:36:17.814Z] 699f458cf7ca: Pull complete [2022-04-13T23:36:17.814Z] 765212b225bb: Pull complete [2022-04-13T23:36:18.795Z] f23df028b6ca: Pull complete [2022-04-13T23:36:19.069Z] d65c8cfc05b1: Pull complete [2022-04-13T23:36:34.156Z] 2437ff75d9bd: Pull complete [2022-04-13T23:36:34.156Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T23:36:34.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T23:36:34.156Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T23:36:34.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-20869 does not seem to be running inside a container [2022-04-13T23:36:34.459Z] $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-13T23:36:37.119Z] $ docker top 02d168f1293bb644e9f50c4254083ffe4222fa993600b3a6abab838ab0601800 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:38.025Z] ---> job-cost.sh [2022-04-13T23:36:38.025Z] lf-activate-venv: SKIPPING [2022-04-13T23:36:38.025Z] INFO: No Stack... [2022-04-13T23:36:38.621Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T23:36:39.217Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T23:36:39.884Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2022-04-13T23:36:39.884Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T23:36:39.954Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] [2022-04-13T23:36:39.960Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] did not exist. Created. [2022-04-13T23:36:39.961Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T23:36:40.642Z] /w/workspace/device-snmp-go/3@tmp/durable-7c7b7411/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T23:36:41.321Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T23:36:41.343Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T23:36:41.391Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T23:36:41.398Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-154-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T23:36:41.421Z] $ docker stop --time=1 02d168f1293bb644e9f50c4254083ffe4222fa993600b3a6abab838ab0601800 [2022-04-13T23:36:42.887Z] $ docker rm -f 02d168f1293bb644e9f50c4254083ffe4222fa993600b3a6abab838ab0601800 [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-04-13T23:36:43.326Z] provisioning config files... [2022-04-13T23:36:43.336Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config7927664901386506996tmp [Pipeline] { [Pipeline] sh [2022-04-13T23:36:43.636Z] + set +x [2022-04-13T23:36:43.636Z] + curl -s https://codecov.io/bash [2022-04-13T23:36:43.636Z] + bash -s -- [2022-04-13T23:36:43.636Z] [2022-04-13T23:36:43.636Z] _____ _ [2022-04-13T23:36:43.636Z] / ____| | | [2022-04-13T23:36:43.636Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T23:36:43.636Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T23:36:43.636Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T23:36:43.636Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T23:36:43.636Z] Bash-1.0.6 [2022-04-13T23:36:43.636Z] [2022-04-13T23:36:43.636Z] [2022-04-13T23:36:43.636Z] ==> git version 2.25.1 found [2022-04-13T23:36:43.636Z] ==> 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-04-13T23:36:43.636Z] Release-Date: 2020-01-08 [2022-04-13T23:36:43.636Z] 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-04-13T23:36:43.636Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T23:36:43.636Z] ==> Jenkins CI detected. [2022-04-13T23:36:43.636Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-154 [2022-04-13T23:36:43.636Z] project root: . [2022-04-13T23:36:43.636Z] --> token set from env [2022-04-13T23:36:43.636Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T23:36:43.897Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T23:36:43.897Z] ==> Python coveragepy not found [2022-04-13T23:36:43.897Z] ==> Searching for coverage reports in: [2022-04-13T23:36:43.897Z] + . [2022-04-13T23:36:43.897Z] -> Found 1 reports [2022-04-13T23:36:43.897Z] ==> Detecting git/mercurial file structure [2022-04-13T23:36:43.897Z] ==> Reading reports [2022-04-13T23:36:43.897Z] + ./coverage.out bytes=7631 [2022-04-13T23:36:43.897Z] ==> Appending adjustments [2022-04-13T23:36:43.897Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T23:36:43.897Z] + Found adjustments [2022-04-13T23:36:43.897Z] ==> Gzipping contents [2022-04-13T23:36:43.897Z] 4.0K /tmp/codecov.6iGwaw.gz [2022-04-13T23:36:43.897Z] ==> Uploading reports [2022-04-13T23:36:43.897Z] url: https://codecov.io [2022-04-13T23:36:43.897Z] query: branch=PR-154&commit=776898b944b5eab850aad03158dd26eb50358c7e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-154%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=154&job=&cmd_args= [2022-04-13T23:36:43.897Z] -> Pinging Codecov [2022-04-13T23:36:43.897Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-154&commit=776898b944b5eab850aad03158dd26eb50358c7e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-154%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=154&job=&cmd_args= [2022-04-13T23:36:45.284Z] -> Uploading to [2022-04-13T23:36:45.284Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/776898b944b5eab850aad03158dd26eb50358c7e/3b61227a-78b1-49a9-958b-b955c138edd5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T233645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=282ba0ee39940e067dba7dcaa93ffe4ee1c4b2c38a78d05cac825aaf4c61c829 [2022-04-13T23:36:45.284Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T23:36:45.284Z] Dload Upload Total Spent Left Speed [2022-04-13T23:36:45.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1591 0 0 100 1591 0 6441 --:--:-- --:--:-- --:--:-- 6415 [2022-04-13T23:36:45.545Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/776898b944b5eab850aad03158dd26eb50358c7e [Pipeline] } [2022-04-13T23:36:45.553Z] 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-04-13T23:36:46.287Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-154/archives ] [2022-04-13T23:36:46.287Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-154/archives [2022-04-13T23:36:46.287Z] total 16 [2022-04-13T23:36:46.287Z] drwxr-xr-x 3 root root 4096 Apr 13 23:28 . [2022-04-13T23:36:46.287Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 23:28 .. [2022-04-13T23:36:46.287Z] drwxr-xr-x 2 root root 4096 Apr 13 23:28 cost [2022-04-13T23:36:46.287Z] -rw-r--r-- 1 root root 85 Apr 13 23:28 cost.csv [2022-04-13T23:36:46.287Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-154/archives [2022-04-13T23:36:46.287Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-154/archives [2022-04-13T23:36:46.287Z] total 16 [2022-04-13T23:36:46.287Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 23:28 . [2022-04-13T23:36:46.287Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 23:28 .. [2022-04-13T23:36:46.287Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 23:28 cost [2022-04-13T23:36:46.287Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 13 23:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:46.586Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:47.451Z] ---> package-listing.sh [2022-04-13T23:36:47.451Z] ++ facter osfamily [2022-04-13T23:36:47.451Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T23:36:47.713Z] + OS_FAMILY=debian [2022-04-13T23:36:47.713Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-154 [2022-04-13T23:36:47.713Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T23:36:47.713Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T23:36:47.713Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T23:36:47.713Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T23:36:47.713Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-154 ']' [2022-04-13T23:36:47.713Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T23:36:47.713Z] + case "${OS_FAMILY}" in [2022-04-13T23:36:47.713Z] + dpkg -l [2022-04-13T23:36:47.713Z] + grep '^ii' [2022-04-13T23:36:47.713Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T23:36:47.713Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T23:36:47.713Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T23:36:47.713Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-154 ']' [2022-04-13T23:36:47.713Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-154/archives/ [2022-04-13T23:36:47.713Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-154/archives/ [Pipeline] echo [2022-04-13T23:36:47.726Z] 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-154/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T23:36:48.006Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:36:48.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:36:48.570Z] . [Pipeline] withDockerContainer [2022-04-13T23:36:48.638Z] prd-ubuntu20.04-docker-8c-8g-20867 does not seem to be running inside a container [2022-04-13T23:36:48.678Z] $ 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-154/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-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T23:36:48.912Z] $ docker top 1daf5115e40fcefecf980e49255b5efc84ec3fa6927d57b400b6dd7da6772899 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T23:36:49.268Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T23:36:49.566Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T23:36:49.859Z] + ls /var/log/sa-host [2022-04-13T23:36:49.859Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T23:36:50.011Z] provisioning config files... [2022-04-13T23:36:50.026Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config7519847230347422536tmp [Pipeline] { [Pipeline] echo [2022-04-13T23:36:50.040Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:50.327Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T23:36:50.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:50.722Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T23:36:50.733Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:51.058Z] ---> sudo-logs.sh [2022-04-13T23:36:51.058Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T23:36:51.117Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:51.421Z] ---> job-cost.sh [2022-04-13T23:36:51.422Z] lf-activate-venv: SKIPPING [2022-04-13T23:36:51.422Z] DEBUG: total: 0.2199999988079071 [2022-04-13T23:36:51.422Z] INFO: Retrieving Stack Cost... [2022-04-13T23:36:52.016Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T23:36:52.276Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T23:36:52.290Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:36:52.576Z] ---> logs-deploy.sh [2022-04-13T23:36:52.577Z] lf-activate-venv: SKIPPING [2022-04-13T23:36:52.577Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-154/3 [2022-04-13T23:36:52.577Z] INFO: archiving workspace using pattern(s): [2022-04-13T23:36:53.518Z] Archives upload complete. [2022-04-13T23:36:53.518Z] INFO: archiving logs to Nexus