Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 76bc78b56c3c6b32f516faff42577919f6a867f5 rather than a53b10c226c078ceb3a3c47d5de2cd7e3282654b Obtained Jenkinsfile from 76bc78b56c3c6b32f516faff42577919f6a867f5 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-ssh4350868631684753625.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-ssh7603094120336159678.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-151/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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8436033786497381705.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-ssh11619728514509686356.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-151/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-151/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6881361472998053054.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-19350 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [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-151 # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b Merge succeeded, producing c0faed3f3eb4476da2ebf43eae59728ac57e0cfe Checking out Revision c0faed3f3eb4476da2ebf43eae59728ac57e0cfe (PR-151) > 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/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0faed3f3eb4476da2ebf43eae59728ac57e0cfe # timeout=10 Commit message: "Merge commit '76bc78b56c3c6b32f516faff42577919f6a867f5' into HEAD" > git rev-list --no-walk a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T23:25:55.873Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T23:25:55.935Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T23:25:55.951Z] ========================================================= [2022-04-10T23:25:55.951Z] EdgeX Global Pipelines Version Info [2022-04-10T23:25:55.951Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:25:56.694Z] ------------------- [2022-04-10T23:25:56.694Z] stable info: [2022-04-10T23:25:56.694Z] ------------------- [2022-04-10T23:25:56.694Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T23:25:56.694Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T23:25:56.694Z] Message: update stable to v1.0.221 [2022-04-10T23:25:57.267Z] ------------------- [2022-04-10T23:25:57.267Z] experimental info: [2022-04-10T23:25:57.267Z] ------------------- [2022-04-10T23:25:57.267Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T23:25:57.267Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T23:25:57.267Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T23:25:57.399Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-10T23:25:57.410Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-10T23:25:57.422Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T23:25:57.434Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T23:25:57.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T23:25:57.456Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T23:25:57.469Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T23:25:57.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T23:25:57.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T23:25:57.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T23:25:57.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T23:25:57.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-10T23:25:57.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T23:25:57.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T23:25:57.591Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T23:25:57.604Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T23:25:57.618Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T23:25:57.630Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T23:25:57.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T23:25:57.654Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T23:25:57.666Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T23:25:57.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T23:25:57.701Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T23:25:57.718Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T23:25:57.735Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T23:25:57.753Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T23:25:57.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo [2022-04-10T23:25:57.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo [2022-04-10T23:25:57.809Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo [2022-04-10T23:25:57.828Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo [2022-04-10T23:25:57.841Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0faed3 [Pipeline] echo [2022-04-10T23:25:57.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T23:25:57.898Z] provisioning config files... [2022-04-10T23:25:57.915Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config6843528287668488729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:25:58.221Z] ---> docker-login.sh [2022-04-10T23:25:58.221Z] nexus3.edgexfoundry.org:10001 [2022-04-10T23:25:58.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:25:58.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:25:58.483Z] Configure a credential helper to remove this warning. See [2022-04-10T23:25:58.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:25:58.483Z] [2022-04-10T23:25:58.483Z] Login Succeeded [2022-04-10T23:25:58.483Z] nexus3.edgexfoundry.org:10002 [2022-04-10T23:25:58.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:25:58.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:25:58.744Z] Configure a credential helper to remove this warning. See [2022-04-10T23:25:58.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:25:58.744Z] [2022-04-10T23:25:58.744Z] Login Succeeded [2022-04-10T23:25:58.744Z] nexus3.edgexfoundry.org:10003 [2022-04-10T23:25:58.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:25:58.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:25:58.744Z] Configure a credential helper to remove this warning. See [2022-04-10T23:25:58.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:25:58.744Z] [2022-04-10T23:25:58.744Z] Login Succeeded [2022-04-10T23:25:58.744Z] nexus3.edgexfoundry.org:10004 [2022-04-10T23:25:59.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:25:59.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:25:59.007Z] Configure a credential helper to remove this warning. See [2022-04-10T23:25:59.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:25:59.007Z] [2022-04-10T23:25:59.007Z] Login Succeeded [2022-04-10T23:25:59.007Z] docker.io [2022-04-10T23:25:59.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:25:59.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:25:59.581Z] Configure a credential helper to remove this warning. See [2022-04-10T23:25:59.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:25:59.581Z] [2022-04-10T23:25:59.581Z] Login Succeeded [2022-04-10T23:25:59.581Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T23:25:59.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T23:25:59.983Z] + git rev-list -1 --merges c0faed3f3eb4476da2ebf43eae59728ac57e0cfe~1..c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo [2022-04-10T23:26:00.098Z] -----------> git rev-list -1 --merges c0faed3f3eb4476da2ebf43eae59728ac57e0cfe~1..c0faed3f3eb4476da2ebf43eae59728ac57e0cfe c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [2022-04-10T23:26:00.098Z] c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [false] [Pipeline] sh [2022-04-10T23:26:00.389Z] + git log --format=format:%s -1 c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo [2022-04-10T23:26:00.406Z] ========================================================= [2022-04-10T23:26:00.406Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T23:26:00.406Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T23:26:00.753Z] + git log --format=format:%s -1 c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo [2022-04-10T23:26:00.768Z] [semverPrep] GIT_COMMIT: c0faed3f3eb4476da2ebf43eae59728ac57e0cfe, Commit Message: Merge commit '76bc78b56c3c6b32f516faff42577919f6a867f5' into HEAD [Pipeline] echo [2022-04-10T23:26:00.779Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T23:26:01.207Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T23:26:01.207Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T23:26:01.207Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T23:26:01.207Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T23:26:01.207Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T23:26:01.207Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T23:26:01.207Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:26:01.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T23:26:01.623Z] [2022-04-10T23:26:01.623Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:26:01.933Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T23:26:01.933Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T23:26:01.933Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T23:26:01.933Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T23:26:01.933Z] 4c7163046ea9: Pulling fs layer [2022-04-10T23:26:01.933Z] 0c2d73faf560: Pulling fs layer [2022-04-10T23:26:01.933Z] 0c2d73faf560: Waiting [2022-04-10T23:26:01.933Z] 3e5f54012d9b: Download complete [2022-04-10T23:26:01.933Z] a0d0a0d46f8b: Download complete [2022-04-10T23:26:01.933Z] 0c2d73faf560: Verifying Checksum [2022-04-10T23:26:01.933Z] 0c2d73faf560: Download complete [2022-04-10T23:26:01.933Z] 4c7163046ea9: Verifying Checksum [2022-04-10T23:26:01.933Z] 4c7163046ea9: Download complete [2022-04-10T23:26:02.193Z] a0d0a0d46f8b: Pull complete [2022-04-10T23:26:02.193Z] 3e5f54012d9b: Pull complete [2022-04-10T23:26:02.453Z] 4c7163046ea9: Pull complete [2022-04-10T23:26:02.714Z] 0c2d73faf560: Pull complete [2022-04-10T23:26:02.714Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T23:26:02.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T23:26:02.714Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T23:26:02.803Z] prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container [2022-04-10T23:26:02.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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:10004/edgex-devops/git-semver:latest cat [2022-04-10T23:26:03.446Z] $ docker top 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T23:26:03.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T23:26:03.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T23:26:03.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T23:26:03.694Z] $ docker exec 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent [2022-04-10T23:26:03.801Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAIglih/agent.13 [2022-04-10T23:26:03.801Z] SSH_AGENT_PID=19 [2022-04-10T23:26:03.810Z] Running ssh-add (command line suppressed) [2022-04-10T23:26:03.924Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_557668996723428343.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_557668996723428343.key) [2022-04-10T23:26:03.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T23:26:04.232Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T23:26:04.260Z] $ docker exec --env ******** --env ******** 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent -k [2022-04-10T23:26:04.375Z] unset SSH_AUTH_SOCK; [2022-04-10T23:26:04.375Z] unset SSH_AGENT_PID; [2022-04-10T23:26:04.376Z] echo Agent pid 19 killed; [2022-04-10T23:26:04.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T23:26:04.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T23:26:04.414Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T23:26:04.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T23:26:04.554Z] $ docker exec 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent [2022-04-10T23:26:04.679Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdkGDNF/agent.51 [2022-04-10T23:26:04.679Z] SSH_AGENT_PID=57 [2022-04-10T23:26:04.684Z] Running ssh-add (command line suppressed) [2022-04-10T23:26:04.802Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_43421101555709594.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_43421101555709594.key) [2022-04-10T23:26:04.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T23:26:05.102Z] + git semver init [2022-04-10T23:26:05.102Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T23:26:05.102Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.git [2022-04-10T23:26:05.102Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-151 [2022-04-10T23:26:05.102Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T23:26:05.102Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T23:26:05.102Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T23:26:05.102Z] # $SEMVER_BRANCH = PR-151 [2022-04-10T23:26:05.102Z] # $SEMVER_TEMP = /tmp/semver-871437061 [2022-04-10T23:26:05.102Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-10T23:26:06.045Z] # '/tmp/semver-871437061' -> '/w/workspace/gexfoundry_device-snmp-go_PR-151/.semver' [2022-04-10T23:26:06.045Z] # -> Force: false [2022-04-10T23:26:06.045Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.semver [Pipeline] } [2022-04-10T23:26:06.062Z] $ docker exec --env ******** --env ******** 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent -k [2022-04-10T23:26:06.172Z] unset SSH_AUTH_SOCK; [2022-04-10T23:26:06.173Z] unset SSH_AGENT_PID; [2022-04-10T23:26:06.173Z] echo Agent pid 57 killed; [2022-04-10T23:26:06.179Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T23:26:06.501Z] + git semver [Pipeline] } [2022-04-10T23:26:06.522Z] $ docker stop --time=1 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 [2022-04-10T23:26:07.843Z] $ docker rm -f 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T23:26:08.194Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T23:26:08.448Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T23:26:08.452Z] [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-10T23:26:08.574Z] provisioning config files... [2022-04-10T23:26:08.586Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config17192738742171792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:26:08.751Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19348 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [Pipeline] { [Pipeline] ws [2022-04-10T23:26:08.766Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2022-04-10T23:26:08.914Z] ---> docker-login.sh [2022-04-10T23:26:08.914Z] nexus3.edgexfoundry.org:10001 [2022-04-10T23:26:08.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:08.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:08.915Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:08.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:08.915Z] [2022-04-10T23:26:08.915Z] Login Succeeded [2022-04-10T23:26:08.915Z] nexus3.edgexfoundry.org:10002 [2022-04-10T23:26:08.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:08.979Z] Selected Git installation does not exist. Using Default [2022-04-10T23:26:08.979Z] The recommended git tool is: NONE [2022-04-10T23:26:09.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:09.175Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:09.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:09.175Z] [2022-04-10T23:26:09.175Z] Login Succeeded [2022-04-10T23:26:09.175Z] nexus3.edgexfoundry.org:10003 [2022-04-10T23:26:09.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:09.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:09.175Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:09.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:09.175Z] [2022-04-10T23:26:09.175Z] Login Succeeded [2022-04-10T23:26:09.175Z] nexus3.edgexfoundry.org:10004 [2022-04-10T23:26:09.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:09.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:09.436Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:09.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:09.436Z] [2022-04-10T23:26:09.436Z] Login Succeeded [2022-04-10T23:26:09.436Z] docker.io [2022-04-10T23:26:09.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:09.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:09.695Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:09.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:09.695Z] [2022-04-10T23:26:09.695Z] Login Succeeded [2022-04-10T23:26:09.695Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T23:26:09.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T23:26:09.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T23:26:09.782Z] ========================================================= [2022-04-10T23:26:09.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T23:26:09.782Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:26:10.099Z] + 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-10T23:26:10.099Z] Sending build context to Docker daemon 5.244MB [2022-04-10T23:26:10.099Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:26:10.099Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T23:26:10.099Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T23:26:10.099Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T23:26:10.099Z] 666ba61612fd: Pulling fs layer [2022-04-10T23:26:10.099Z] 8ed8ca486205: Pulling fs layer [2022-04-10T23:26:10.099Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T23:26:10.099Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T23:26:10.099Z] 640e595b4fbd: Pulling fs layer [2022-04-10T23:26:10.099Z] 763cafe07f6e: Pulling fs layer [2022-04-10T23:26:10.099Z] 0c0b528cf693: Pulling fs layer [2022-04-10T23:26:10.099Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T23:26:10.099Z] 4fe6c5a15a65: Waiting [2022-04-10T23:26:10.099Z] 763cafe07f6e: Waiting [2022-04-10T23:26:10.099Z] 22a0e8bec74d: Waiting [2022-04-10T23:26:10.099Z] 640e595b4fbd: Waiting [2022-04-10T23:26:10.099Z] 0c0b528cf693: Waiting [2022-04-10T23:26:10.099Z] 10935f4eaf8b: Waiting [2022-04-10T23:26:10.099Z] 8ed8ca486205: Download complete [2022-04-10T23:26:10.099Z] 666ba61612fd: Download complete [2022-04-10T23:26:10.099Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T23:26:10.099Z] 22a0e8bec74d: Download complete [2022-04-10T23:26:10.099Z] 640e595b4fbd: Download complete [2022-04-10T23:26:10.359Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T23:26:10.359Z] 59bf1c3509f3: Download complete [2022-04-10T23:26:10.359Z] 763cafe07f6e: Verifying Checksum [2022-04-10T23:26:10.359Z] 763cafe07f6e: Download complete [2022-04-10T23:26:10.359Z] 0c0b528cf693: Verifying Checksum [2022-04-10T23:26:10.359Z] 0c0b528cf693: Download complete [2022-04-10T23:26:10.359Z] 59bf1c3509f3: Pull complete [2022-04-10T23:26:10.620Z] 666ba61612fd: Pull complete [2022-04-10T23:26:10.620Z] 8ed8ca486205: Pull complete [2022-04-10T23:26:10.881Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T23:26:10.881Z] 10935f4eaf8b: Download complete [2022-04-10T23:26:10.881Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T23:26:10.881Z] 4fe6c5a15a65: Download complete [2022-04-10T23:26:14.114Z] using credential edgex-jenkins-ssh [2022-04-10T23:26:14.133Z] Cloning the remote Git repository [2022-04-10T23:26:15.073Z] 4fe6c5a15a65: Pull complete [2022-04-10T23:26:15.073Z] 22a0e8bec74d: Pull complete [2022-04-10T23:26:15.073Z] 640e595b4fbd: Pull complete [2022-04-10T23:26:15.073Z] 763cafe07f6e: Pull complete [2022-04-10T23:26:15.073Z] 0c0b528cf693: Pull complete [2022-04-10T23:26:14.197Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-10T23:26:14.285Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2022-04-10T23:26:14.390Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-10T23:26:14.391Z] > git --version # timeout=10 [2022-04-10T23:26:14.414Z] > git --version # 'git version 2.25.1' [2022-04-10T23:26:14.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:26:14.492Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T23:26:15.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-10T23:26:15.887Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T23:26:15.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-10T23:26:15.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-10T23:26:15.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:26:15.996Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-10T23:26:16.583Z] Merging remotes/origin/main commit 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b [2022-04-10T23:26:16.888Z] Merge succeeded, producing 419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 [2022-04-10T23:26:16.889Z] Checking out Revision 419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 (PR-151) [2022-04-10T23:26:17.037Z] 10935f4eaf8b: Pull complete [2022-04-10T23:26:17.037Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T23:26:17.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T23:26:17.037Z] ---> 99d49a6021b9 [2022-04-10T23:26:17.037Z] Step 3/12 : ARG MAKE='make build' [2022-04-10T23:26:16.607Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T23:26:16.635Z] > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 [2022-04-10T23:26:16.738Z] > git remote # timeout=10 [2022-04-10T23:26:16.760Z] > git config --get remote.origin.url # timeout=10 [2022-04-10T23:26:16.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:26:16.796Z] > git merge 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 [2022-04-10T23:26:16.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-10T23:26:16.911Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T23:26:16.934Z] > git checkout -f 419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 # timeout=10 [2022-04-10T23:26:17.982Z] ---> Running in 0a60b1d7b63c [2022-04-10T23:26:17.982Z] Removing intermediate container 0a60b1d7b63c [2022-04-10T23:26:17.982Z] ---> ebf1d8373224 [2022-04-10T23:26:17.982Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T23:26:17.982Z] ---> Running in 681d60304dfc [2022-04-10T23:26:17.982Z] Removing intermediate container 681d60304dfc [2022-04-10T23:26:17.982Z] ---> ed208d32f058 [2022-04-10T23:26:17.982Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T23:26:17.982Z] ---> Running in dea8e8f4550c [2022-04-10T23:26:17.982Z] Removing intermediate container dea8e8f4550c [2022-04-10T23:26:17.982Z] ---> 1ffda60f1c30 [2022-04-10T23:26:17.982Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:26:17.982Z] ---> Running in 765ab764b7ab [2022-04-10T23:26:18.553Z] Removing intermediate container 765ab764b7ab [2022-04-10T23:26:18.553Z] ---> b1eaed91a93b [2022-04-10T23:26:18.553Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T23:26:18.553Z] ---> Running in 25ba79e890f1 [2022-04-10T23:26:18.812Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T23:26:19.754Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T23:26:20.018Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T23:26:20.275Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T23:26:20.275Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T23:26:20.275Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T23:26:20.534Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T23:26:20.534Z] OK: 224 MiB in 56 packages [2022-04-10T23:26:20.793Z] Removing intermediate container 25ba79e890f1 [2022-04-10T23:26:20.793Z] ---> 743f55ca8b7f [2022-04-10T23:26:20.793Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-10T23:26:20.793Z] ---> Running in 8e9ed66075c9 [2022-04-10T23:26:21.053Z] Removing intermediate container 8e9ed66075c9 [2022-04-10T23:26:21.053Z] ---> 76c5ed857112 [2022-04-10T23:26:21.053Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-10T23:26:21.053Z] ---> 8b5f051bee13 [2022-04-10T23:26:21.053Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:26:21.053Z] ---> Running in 9689c4722af1 [2022-04-10T23:26:21.571Z] Commit message: "Merge commit '76bc78b56c3c6b32f516faff42577919f6a867f5' into HEAD" [2022-04-10T23:26:21.580Z] > git rev-list --no-walk a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T23:26:22.532Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T23:26:22.532Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T23:26:22.532Z] Dload Upload Total Spent Left Speed [2022-04-10T23:26:22.532Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48142 0 --:--:-- --:--:-- --:--:-- 48142 [Pipeline] sh [2022-04-10T23:26:23.107Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T23:26:23.459Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-04-10T23:26:23.459Z] /etc/docker/daemon.json [2022-04-10T23:26:23.459Z] { [2022-04-10T23:26:23.459Z] "registry-mirrors": [ [2022-04-10T23:26:23.459Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T23:26:23.459Z] ], [2022-04-10T23:26:23.459Z] "bip": "10.250.0.254/24", [2022-04-10T23:26:23.459Z] "hosts": [ [2022-04-10T23:26:23.459Z] "tcp://0.0.0.0:5555", [2022-04-10T23:26:23.459Z] "unix:///var/run/docker.sock" [2022-04-10T23:26:23.459Z] ], [2022-04-10T23:26:23.459Z] "mtu": 1458, [2022-04-10T23:26:23.459Z] "selinux-enabled": true, [2022-04-10T23:26:23.459Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T23:26:23.459Z] } [Pipeline] sh [2022-04-10T23:26:23.819Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T23:26:24.165Z] + sudo service docker restart [2022-04-10T23:26:35.957Z] Removing intermediate container 9689c4722af1 [2022-04-10T23:26:35.957Z] ---> 7b52a6d8ed78 [2022-04-10T23:26:35.957Z] Step 11/12 : COPY . . [2022-04-10T23:26:35.957Z] ---> 6b501cd0a96d [2022-04-10T23:26:35.957Z] Step 12/12 : RUN ${MAKE} [2022-04-10T23:26:35.957Z] ---> Running in 03239955d577 [2022-04-10T23:26:35.957Z] noop [2022-04-10T23:26:35.957Z] Removing intermediate container 03239955d577 [2022-04-10T23:26:35.957Z] ---> b9421bfe05c5 [2022-04-10T23:26:35.957Z] Successfully built b9421bfe05c5 [2022-04-10T23:26:35.957Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:26:36.251Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T23:26:36.251Z] . [Pipeline] withDockerContainer [2022-04-10T23:26:36.312Z] prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container [2022-04-10T23:26:36.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T23:26:36.697Z] $ docker top 4f1a2880a24ec48d80ba8e415e96e156e36cdae8097ea8177a2ae75aa041d443 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T23:26:37.042Z] + go version [2022-04-10T23:26:37.042Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T23:26:37.060Z] $ docker stop --time=1 4f1a2880a24ec48d80ba8e415e96e156e36cdae8097ea8177a2ae75aa041d443 [2022-04-10T23:26:38.338Z] $ docker rm -f 4f1a2880a24ec48d80ba8e415e96e156e36cdae8097ea8177a2ae75aa041d443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:26:38.758Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T23:26:38.759Z] . [Pipeline] withDockerContainer [2022-04-10T23:26:38.819Z] prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container [2022-04-10T23:26:38.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T23:26:39.277Z] $ docker top 79e72ff77d45c1e64f6c4da9af679797ccc946a3ceccc9896736caed1e04a4f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T23:26:39.655Z] + make test [2022-04-10T23:26:39.655Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T23:26:39.915Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T23:26:42.731Z] provisioning config files... [2022-04-10T23:26:42.761Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config4828249406273517153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:26:43.302Z] ---> docker-login.sh [2022-04-10T23:26:43.302Z] nexus3.edgexfoundry.org:10001 [2022-04-10T23:26:43.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:44.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:44.501Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:44.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:44.501Z] [2022-04-10T23:26:44.501Z] Login Succeeded [2022-04-10T23:26:44.501Z] nexus3.edgexfoundry.org:10002 [2022-04-10T23:26:44.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:44.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:44.780Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:44.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:44.780Z] [2022-04-10T23:26:44.780Z] Login Succeeded [2022-04-10T23:26:44.780Z] nexus3.edgexfoundry.org:10003 [2022-04-10T23:26:45.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:45.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:45.380Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:45.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:45.380Z] [2022-04-10T23:26:45.380Z] Login Succeeded [2022-04-10T23:26:45.381Z] nexus3.edgexfoundry.org:10004 [2022-04-10T23:26:45.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:45.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:45.930Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:45.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:45.930Z] [2022-04-10T23:26:45.930Z] Login Succeeded [2022-04-10T23:26:45.930Z] docker.io [2022-04-10T23:26:46.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:26:46.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:26:46.477Z] Configure a credential helper to remove this warning. See [2022-04-10T23:26:46.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:26:46.477Z] [2022-04-10T23:26:46.477Z] Login Succeeded [2022-04-10T23:26:46.477Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T23:26:46.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T23:26:46.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T23:26:46.798Z] ========================================================= [2022-04-10T23:26:46.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T23:26:46.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:26:47.157Z] + 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-10T23:26:47.431Z] Sending build context to Docker daemon 2.73MB [2022-04-10T23:26:47.431Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:26:47.431Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T23:26:47.707Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T23:26:47.707Z] 9b3977197b4f: Pulling fs layer [2022-04-10T23:26:47.707Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T23:26:47.707Z] 94645a83ff95: Pulling fs layer [2022-04-10T23:26:47.707Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T23:26:47.707Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T23:26:47.707Z] f7c0051592d6: Pulling fs layer [2022-04-10T23:26:47.708Z] a227ed2f7395: Pulling fs layer [2022-04-10T23:26:47.708Z] 7b1c46037f91: Pulling fs layer [2022-04-10T23:26:47.708Z] 0c92f367c5e7: Waiting [2022-04-10T23:26:47.708Z] f7c0051592d6: Waiting [2022-04-10T23:26:47.708Z] a227ed2f7395: Waiting [2022-04-10T23:26:47.708Z] 7b1c46037f91: Waiting [2022-04-10T23:26:47.708Z] 3f3a8bcf1eab: Waiting [2022-04-10T23:26:47.708Z] 94645a83ff95: Download complete [2022-04-10T23:26:47.708Z] 1a89e8eeedd5: Verifying Checksum [2022-04-10T23:26:47.708Z] 1a89e8eeedd5: Download complete [2022-04-10T23:26:47.708Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T23:26:47.708Z] 0c92f367c5e7: Download complete [2022-04-10T23:26:47.708Z] f7c0051592d6: Verifying Checksum [2022-04-10T23:26:47.708Z] f7c0051592d6: Download complete [2022-04-10T23:26:47.708Z] 9b3977197b4f: Verifying Checksum [2022-04-10T23:26:47.708Z] 9b3977197b4f: Download complete [2022-04-10T23:26:47.985Z] a227ed2f7395: Verifying Checksum [2022-04-10T23:26:47.985Z] a227ed2f7395: Download complete [2022-04-10T23:26:48.034Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-10T23:26:48.034Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements [2022-04-10T23:26:48.593Z] 9b3977197b4f: Pull complete [2022-04-10T23:26:49.201Z] 1a89e8eeedd5: Pull complete [2022-04-10T23:26:49.491Z] 94645a83ff95: Pull complete [2022-04-10T23:26:50.095Z] 7b1c46037f91: Verifying Checksum [2022-04-10T23:26:50.096Z] 7b1c46037f91: Download complete [2022-04-10T23:26:50.371Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T23:26:50.371Z] 3f3a8bcf1eab: Download complete [2022-04-10T23:26:54.608Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T23:26:58.802Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T23:26:58.802Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T23:26:58.802Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T23:26:58.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T23:26:58.834Z] $ docker stop --time=1 79e72ff77d45c1e64f6c4da9af679797ccc946a3ceccc9896736caed1e04a4f5 [2022-04-10T23:27:00.460Z] $ docker rm -f 79e72ff77d45c1e64f6c4da9af679797ccc946a3ceccc9896736caed1e04a4f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T23:27:00.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T23:27:00.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T23:27:02.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T23:27:02.296Z] + ls -al . [2022-04-10T23:27:02.296Z] total 164 [2022-04-10T23:27:02.296Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 23:26 . [2022-04-10T23:27:02.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:25 .. [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 23:25 .dockerignore [2022-04-10T23:27:02.296Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:25 .git [2022-04-10T23:27:02.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:25 .github [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 10 23:25 .gitignore [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 23:25 .golangci.yml [2022-04-10T23:27:02.296Z] drwx------ 3 jenkins jenkins 4096 Apr 10 23:26 .semver [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 23:25 Attribution.txt [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 23:25 CHANGELOG.md [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 23:25 Dockerfile [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:25 GOVERNANCE.md [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 23:25 Jenkinsfile [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 23:25 LICENSE [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 23:25 Makefile [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 23:25 OWNERS.md [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 23:25 README.md [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 23:26 VERSION [2022-04-10T23:27:02.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:25 bin [2022-04-10T23:27:02.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:25 cmd [2022-04-10T23:27:02.296Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 23:26 coverage.out [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 23:25 go.mod [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 23:25 go.sum [2022-04-10T23:27:02.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:25 internal [2022-04-10T23:27:02.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:25 snap [2022-04-10T23:27:02.296Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 23:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:27:02.591Z] + 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=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe --label arch=amd64 --label version=0.0.0 . [2022-04-10T23:27:02.591Z] Sending build context to Docker daemon 5.253MB [2022-04-10T23:27:02.591Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:27:02.591Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-10T23:27:02.591Z] ---> b9421bfe05c5 [2022-04-10T23:27:02.591Z] Step 3/24 : ARG MAKE='make build' [2022-04-10T23:27:02.591Z] ---> Running in 338801ef61ab [2022-04-10T23:27:02.800Z] 3f3a8bcf1eab: Pull complete [2022-04-10T23:27:02.800Z] 0c92f367c5e7: Pull complete [2022-04-10T23:27:02.800Z] f7c0051592d6: Pull complete [2022-04-10T23:27:02.800Z] a227ed2f7395: Pull complete [2022-04-10T23:27:02.850Z] Removing intermediate container 338801ef61ab [2022-04-10T23:27:02.850Z] ---> b4c497554847 [2022-04-10T23:27:02.850Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T23:27:02.850Z] ---> Running in 92356023ec19 [2022-04-10T23:27:02.850Z] Removing intermediate container 92356023ec19 [2022-04-10T23:27:02.850Z] ---> 16fe81c833f5 [2022-04-10T23:27:02.850Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T23:27:02.850Z] ---> Running in 01b5909e744d [2022-04-10T23:27:02.850Z] Removing intermediate container 01b5909e744d [2022-04-10T23:27:02.850Z] ---> 73e6162e0fa3 [2022-04-10T23:27:02.850Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:27:03.110Z] ---> Running in 00eb4b8ca41a [2022-04-10T23:27:03.685Z] Removing intermediate container 00eb4b8ca41a [2022-04-10T23:27:03.685Z] ---> 20c8222cf1a1 [2022-04-10T23:27:03.685Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T23:27:03.685Z] ---> Running in 13c680a7a7cf [2022-04-10T23:27:03.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T23:27:04.515Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T23:27:05.084Z] OK: 224 MiB in 56 packages [2022-04-10T23:27:05.345Z] Removing intermediate container 13c680a7a7cf [2022-04-10T23:27:05.345Z] ---> c02d19458f7b [2022-04-10T23:27:05.345Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-10T23:27:05.345Z] ---> Running in d6e7c167e6bc [2022-04-10T23:27:05.345Z] Removing intermediate container d6e7c167e6bc [2022-04-10T23:27:05.345Z] ---> f881140de7da [2022-04-10T23:27:05.345Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-10T23:27:05.345Z] ---> dcfb739a7a71 [2022-04-10T23:27:05.345Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:27:05.605Z] ---> Running in 515bd3fbc22b [2022-04-10T23:27:06.174Z] Removing intermediate container 515bd3fbc22b [2022-04-10T23:27:06.174Z] ---> 0e83c03b6b1d [2022-04-10T23:27:06.174Z] Step 11/24 : COPY . . [2022-04-10T23:27:06.174Z] ---> e825619ce3e9 [2022-04-10T23:27:06.174Z] Step 12/24 : RUN ${MAKE} [2022-04-10T23:27:06.434Z] ---> Running in ceda16a455fa [2022-04-10T23:27:06.692Z] 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-10T23:27:08.207Z] 7b1c46037f91: Pull complete [2022-04-10T23:27:08.207Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T23:27:08.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T23:27:08.207Z] ---> f79e39bc4007 [2022-04-10T23:27:08.207Z] Step 3/12 : ARG MAKE='make build' [2022-04-10T23:27:09.644Z] ---> Running in fc639cc53e35 [2022-04-10T23:27:09.920Z] Removing intermediate container fc639cc53e35 [2022-04-10T23:27:09.920Z] ---> e21a910273a3 [2022-04-10T23:27:09.920Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T23:27:10.196Z] ---> Running in bf248e13c8fe [2022-04-10T23:27:10.469Z] Removing intermediate container bf248e13c8fe [2022-04-10T23:27:10.469Z] ---> a11b81dcba08 [2022-04-10T23:27:10.469Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T23:27:10.469Z] ---> Running in 6447526c84a0 [2022-04-10T23:27:10.754Z] Removing intermediate container 6447526c84a0 [2022-04-10T23:27:10.755Z] ---> 9786825f1d22 [2022-04-10T23:27:10.755Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:27:10.755Z] ---> Running in a699c1db5c74 [2022-04-10T23:27:12.735Z] Removing intermediate container a699c1db5c74 [2022-04-10T23:27:12.735Z] ---> 601949229961 [2022-04-10T23:27:12.735Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T23:27:12.735Z] ---> Running in 88de6e032f32 [2022-04-10T23:27:13.721Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:27:14.699Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:27:15.673Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T23:27:15.673Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T23:27:15.948Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T23:27:15.948Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T23:27:16.222Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T23:27:16.222Z] OK: 224 MiB in 56 packages [2022-04-10T23:27:17.209Z] Removing intermediate container 88de6e032f32 [2022-04-10T23:27:17.209Z] ---> 86a8f323a330 [2022-04-10T23:27:17.209Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-10T23:27:17.209Z] ---> Running in f5309ef67a3f [2022-04-10T23:27:17.482Z] Removing intermediate container f5309ef67a3f [2022-04-10T23:27:17.482Z] ---> 03a8d4c8ef96 [2022-04-10T23:27:17.482Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-10T23:27:18.085Z] ---> e778586beab2 [2022-04-10T23:27:18.085Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:27:18.085Z] ---> Running in d91d16b04956 [2022-04-10T23:27:24.783Z] Removing intermediate container ceda16a455fa [2022-04-10T23:27:24.783Z] ---> 13bcb01e6f29 [2022-04-10T23:27:24.783Z] Step 13/24 : FROM alpine:3.14 [2022-04-10T23:27:24.783Z] 3.14: Pulling from library/alpine [2022-04-10T23:27:24.783Z] 8663204ce13b: Pulling fs layer [2022-04-10T23:27:24.783Z] 8663204ce13b: Verifying Checksum [2022-04-10T23:27:24.783Z] 8663204ce13b: Download complete [2022-04-10T23:27:25.041Z] 8663204ce13b: Pull complete [2022-04-10T23:27:25.041Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T23:27:25.041Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T23:27:25.041Z] ---> e04c818066af [2022-04-10T23:27:25.041Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T23:27:25.041Z] ---> Running in 77fc8a74b6c4 [2022-04-10T23:27:25.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T23:27:25.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T23:27:25.561Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T23:27:25.562Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T23:27:25.821Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T23:27:25.821Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T23:27:25.821Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T23:27:25.821Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T23:27:25.821Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T23:27:25.821Z] OK: 8 MiB in 20 packages [2022-04-10T23:27:26.081Z] Removing intermediate container 77fc8a74b6c4 [2022-04-10T23:27:26.081Z] ---> a5559ebbf3bb [2022-04-10T23:27:26.081Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-10T23:27:26.647Z] ---> 65d8c7bfa230 [2022-04-10T23:27:26.647Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-10T23:27:26.647Z] ---> f0425d0d97a5 [2022-04-10T23:27:26.647Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-10T23:27:26.907Z] ---> 3b72f6ffe386 [2022-04-10T23:27:26.907Z] Step 18/24 : EXPOSE 59993 [2022-04-10T23:27:26.907Z] ---> Running in aeb3fb6ff8da [2022-04-10T23:27:26.907Z] Removing intermediate container aeb3fb6ff8da [2022-04-10T23:27:26.907Z] ---> 6a53969411f6 [2022-04-10T23:27:26.907Z] Step 19/24 : EXPOSE 161 [2022-04-10T23:27:27.168Z] ---> Running in a515c362a12a [2022-04-10T23:27:27.168Z] Removing intermediate container a515c362a12a [2022-04-10T23:27:27.168Z] ---> 1f0215b76fa8 [2022-04-10T23:27:27.168Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-10T23:27:27.168Z] ---> Running in 92d73e53e582 [2022-04-10T23:27:27.168Z] Removing intermediate container 92d73e53e582 [2022-04-10T23:27:27.168Z] ---> 1cbfd5087bd1 [2022-04-10T23:27:27.168Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-10T23:27:27.168Z] ---> Running in 2dd04cacedde [2022-04-10T23:27:27.429Z] Removing intermediate container 2dd04cacedde [2022-04-10T23:27:27.429Z] ---> 9c0b1f630eac [2022-04-10T23:27:27.429Z] Step 22/24 : LABEL arch=amd64 [2022-04-10T23:27:27.429Z] ---> Running in 4ab3fff99265 [2022-04-10T23:27:27.429Z] Removing intermediate container 4ab3fff99265 [2022-04-10T23:27:27.429Z] ---> cbf5a05adbc1 [2022-04-10T23:27:27.429Z] Step 23/24 : LABEL git_sha=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [2022-04-10T23:27:27.429Z] ---> Running in 2ae86947c9b3 [2022-04-10T23:27:27.689Z] Removing intermediate container 2ae86947c9b3 [2022-04-10T23:27:27.689Z] ---> cc874d399277 [2022-04-10T23:27:27.689Z] Step 24/24 : LABEL version=0.0.0 [2022-04-10T23:27:27.689Z] ---> Running in b3d519d2e7c6 [2022-04-10T23:27:27.689Z] Removing intermediate container b3d519d2e7c6 [2022-04-10T23:27:27.689Z] ---> 852a6b051797 [2022-04-10T23:27:27.689Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T23:27:27.689Z] Successfully built 852a6b051797 [2022-04-10T23:27:27.689Z] 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-10T23:27:28.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T23:27:28.121Z] [2022-04-10T23:27:28.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:27:28.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T23:27:28.428Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T23:27:28.428Z] 5eb5b503b376: Pulling fs layer [2022-04-10T23:27:28.428Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T23:27:28.428Z] ec43610c2a17: Pulling fs layer [2022-04-10T23:27:28.428Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T23:27:28.428Z] 33b1e0a273af: Pulling fs layer [2022-04-10T23:27:28.428Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T23:27:28.428Z] 2f39f015ded8: Pulling fs layer [2022-04-10T23:27:28.428Z] 33b1e0a273af: Waiting [2022-04-10T23:27:28.428Z] 3a2ae6a8a46f: Waiting [2022-04-10T23:27:28.428Z] 5d3b04190fa2: Waiting [2022-04-10T23:27:28.428Z] 5c69ac0246d0: Download complete [2022-04-10T23:27:28.428Z] 3a2ae6a8a46f: Download complete [2022-04-10T23:27:28.428Z] 33b1e0a273af: Verifying Checksum [2022-04-10T23:27:28.428Z] 33b1e0a273af: Download complete [2022-04-10T23:27:28.428Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T23:27:28.428Z] 5d3b04190fa2: Download complete [2022-04-10T23:27:28.687Z] ec43610c2a17: Verifying Checksum [2022-04-10T23:27:28.687Z] ec43610c2a17: Download complete [2022-04-10T23:27:28.687Z] 5eb5b503b376: Verifying Checksum [2022-04-10T23:27:28.687Z] 5eb5b503b376: Download complete [2022-04-10T23:27:29.254Z] 2f39f015ded8: Download complete [2022-04-10T23:27:29.821Z] 5eb5b503b376: Pull complete [2022-04-10T23:27:29.821Z] 5c69ac0246d0: Pull complete [2022-04-10T23:27:30.389Z] ec43610c2a17: Pull complete [2022-04-10T23:27:30.389Z] 3a2ae6a8a46f: Pull complete [2022-04-10T23:27:30.648Z] 33b1e0a273af: Pull complete [2022-04-10T23:27:30.648Z] 5d3b04190fa2: Pull complete [2022-04-10T23:27:34.839Z] 2f39f015ded8: Pull complete [2022-04-10T23:27:34.839Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T23:27:34.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T23:27:34.839Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T23:27:34.900Z] prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container [2022-04-10T23:27:34.937Z] $ 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-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T23:27:36.655Z] $ docker top d33b087fbb65d150f159df9462846a4959f2c9f5b8a6fc4a1e8755cb16c9c131 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:27:37.069Z] ---> job-cost.sh [2022-04-10T23:27:37.069Z] lf-activate-venv: SKIPPING [2022-04-10T23:27:37.069Z] INFO: No Stack... [2022-04-10T23:27:37.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T23:27:37.899Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T23:27:38.189Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/cost.csv [2022-04-10T23:27:38.189Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T23:27:38.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [2022-04-10T23:27:38.215Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] did not exist. Created. [2022-04-10T23:27:38.215Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T23:27:38.534Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T23:27:38.564Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T23:27:38.570Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T23:27:38.591Z] $ docker stop --time=1 d33b087fbb65d150f159df9462846a4959f2c9f5b8a6fc4a1e8755cb16c9c131 [2022-04-10T23:27:39.771Z] $ docker rm -f d33b087fbb65d150f159df9462846a4959f2c9f5b8a6fc4a1e8755cb16c9c131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T23:28:05.103Z] Removing intermediate container d91d16b04956 [2022-04-10T23:28:05.103Z] ---> b8c5504e8528 [2022-04-10T23:28:05.104Z] Step 11/12 : COPY . . [2022-04-10T23:28:06.094Z] ---> 53c5b0ac45e1 [2022-04-10T23:28:06.094Z] Step 12/12 : RUN ${MAKE} [2022-04-10T23:28:06.369Z] ---> Running in 0a9e9da1c7f3 [2022-04-10T23:28:07.354Z] noop [2022-04-10T23:28:08.374Z] Removing intermediate container 0a9e9da1c7f3 [2022-04-10T23:28:08.374Z] ---> d25f806b52ee [2022-04-10T23:28:08.374Z] Successfully built d25f806b52ee [2022-04-10T23:28:08.374Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:28:08.736Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T23:28:08.736Z] . [Pipeline] withDockerContainer [2022-04-10T23:28:09.017Z] prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container [2022-04-10T23:28:09.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T23:28:10.638Z] $ docker top 05de0f4257710ef9c32f4fbb1034dcf5395b4910f8184aef41881fb8ce6c96d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T23:28:11.623Z] + go version [2022-04-10T23:28:11.623Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T23:28:11.655Z] $ docker stop --time=1 05de0f4257710ef9c32f4fbb1034dcf5395b4910f8184aef41881fb8ce6c96d2 [2022-04-10T23:28:13.370Z] $ docker rm -f 05de0f4257710ef9c32f4fbb1034dcf5395b4910f8184aef41881fb8ce6c96d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:28:14.046Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T23:28:14.046Z] . [Pipeline] withDockerContainer [2022-04-10T23:28:14.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container [2022-04-10T23:28:14.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T23:28:15.877Z] $ docker top eab5ea5938026c30afd9e70978aff1eef8b0c05552986be0c3af361bf8f4cca4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T23:28:16.850Z] + make test [2022-04-10T23:28:16.850Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T23:28:18.856Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-10T23:29:55.791Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-10T23:29:55.791Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2022-04-10T23:29:55.791Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T23:29:55.791Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T23:30:22.706Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T23:30:22.706Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T23:30:22.706Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T23:30:23.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T23:30:23.739Z] $ docker stop --time=1 eab5ea5938026c30afd9e70978aff1eef8b0c05552986be0c3af361bf8f4cca4 [2022-04-10T23:30:25.592Z] $ docker rm -f eab5ea5938026c30afd9e70978aff1eef8b0c05552986be0c3af361bf8f4cca4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T23:30:26.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T23:30:26.713Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T23:30:27.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T23:30:28.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T23:30:28.500Z] + ls -al . [2022-04-10T23:30:28.500Z] total 160 [2022-04-10T23:30:28.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:30 . [2022-04-10T23:30:28.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:26 .. [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 23:26 .dockerignore [2022-04-10T23:30:28.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:26 .git [2022-04-10T23:30:28.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:26 .github [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 10 23:26 .gitignore [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 23:26 .golangci.yml [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 23:26 Attribution.txt [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 23:26 CHANGELOG.md [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 23:26 Dockerfile [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:26 GOVERNANCE.md [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 23:26 Jenkinsfile [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 23:26 LICENSE [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 23:26 Makefile [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 23:26 OWNERS.md [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 23:26 README.md [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 23:26 VERSION [2022-04-10T23:30:28.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:26 bin [2022-04-10T23:30:28.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:26 cmd [2022-04-10T23:30:28.500Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 23:29 coverage.out [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 23:26 go.mod [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 23:26 go.sum [2022-04-10T23:30:28.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:26 internal [2022-04-10T23:30:28.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:26 snap [2022-04-10T23:30:28.500Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 23:26 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:30:28.903Z] + 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=419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 --label arch=arm64 --label version=0.0.0 . [2022-04-10T23:30:29.514Z] Sending build context to Docker daemon 2.739MB [2022-04-10T23:30:29.514Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:30:29.514Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-10T23:30:29.514Z] ---> d25f806b52ee [2022-04-10T23:30:29.514Z] Step 3/24 : ARG MAKE='make build' [2022-04-10T23:30:29.514Z] ---> Running in bf50266a8b5c [2022-04-10T23:30:30.136Z] Removing intermediate container bf50266a8b5c [2022-04-10T23:30:30.136Z] ---> 6a43857d229c [2022-04-10T23:30:30.136Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T23:30:30.136Z] ---> Running in 8e4cd6ae4035 [2022-04-10T23:30:30.754Z] Removing intermediate container 8e4cd6ae4035 [2022-04-10T23:30:30.754Z] ---> 7249bfe161f6 [2022-04-10T23:30:30.754Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T23:30:30.754Z] ---> Running in aa4234ccab9a [2022-04-10T23:30:31.035Z] Removing intermediate container aa4234ccab9a [2022-04-10T23:30:31.035Z] ---> f62820902ace [2022-04-10T23:30:31.035Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:30:31.316Z] ---> Running in 70785d9ec771 [2022-04-10T23:30:33.346Z] Removing intermediate container 70785d9ec771 [2022-04-10T23:30:33.346Z] ---> c53096c10de2 [2022-04-10T23:30:33.346Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T23:30:33.346Z] ---> Running in 70bf8457708f [2022-04-10T23:30:34.343Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:30:35.332Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:30:36.322Z] OK: 224 MiB in 56 packages [2022-04-10T23:30:37.326Z] Removing intermediate container 70bf8457708f [2022-04-10T23:30:37.326Z] ---> e335f5ea7c3b [2022-04-10T23:30:37.326Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-10T23:30:37.326Z] ---> Running in 8b941dd87c1f [2022-04-10T23:30:37.930Z] Removing intermediate container 8b941dd87c1f [2022-04-10T23:30:37.930Z] ---> 180391f967f5 [2022-04-10T23:30:37.930Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-10T23:30:38.531Z] ---> fec369fa3b21 [2022-04-10T23:30:38.531Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:30:38.531Z] ---> Running in 721999733ff7 [2022-04-10T23:30:40.518Z] Removing intermediate container 721999733ff7 [2022-04-10T23:30:40.518Z] ---> 57c3e98aeff5 [2022-04-10T23:30:40.518Z] Step 11/24 : COPY . . [2022-04-10T23:30:41.510Z] ---> d4a10e80bca1 [2022-04-10T23:30:41.510Z] Step 12/24 : RUN ${MAKE} [2022-04-10T23:30:41.510Z] ---> Running in 1cc9a2e4f25e [2022-04-10T23:30:42.979Z] 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-10T23:33:19.970Z] Removing intermediate container 1cc9a2e4f25e [2022-04-10T23:33:19.970Z] ---> 7db7d496680c [2022-04-10T23:33:19.970Z] Step 13/24 : FROM alpine:3.14 [2022-04-10T23:33:19.970Z] 3.14: Pulling from library/alpine [2022-04-10T23:33:19.970Z] 455c02918c45: Pulling fs layer [2022-04-10T23:33:19.970Z] 455c02918c45: Verifying Checksum [2022-04-10T23:33:19.970Z] 455c02918c45: Download complete [2022-04-10T23:33:19.970Z] 455c02918c45: Pull complete [2022-04-10T23:33:19.970Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T23:33:19.970Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T23:33:19.970Z] ---> ac73e934f311 [2022-04-10T23:33:19.970Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T23:33:19.970Z] ---> Running in 8ce723ca9d48 [2022-04-10T23:33:19.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:33:19.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:33:19.970Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T23:33:19.970Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T23:33:19.970Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T23:33:19.970Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T23:33:19.970Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T23:33:19.970Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T23:33:19.970Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T23:33:19.970Z] OK: 8 MiB in 20 packages [2022-04-10T23:33:19.970Z] Removing intermediate container 8ce723ca9d48 [2022-04-10T23:33:19.970Z] ---> 88d90ebd4f2a [2022-04-10T23:33:19.970Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-10T23:33:21.430Z] ---> 1205ad8cafcd [2022-04-10T23:33:21.430Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-10T23:33:22.033Z] ---> f3cd0362b9b2 [2022-04-10T23:33:22.033Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-10T23:33:22.634Z] ---> 581a1004c04f [2022-04-10T23:33:22.634Z] Step 18/24 : EXPOSE 59993 [2022-04-10T23:33:22.634Z] ---> Running in 1b869a2b3ad4 [2022-04-10T23:33:23.230Z] Removing intermediate container 1b869a2b3ad4 [2022-04-10T23:33:23.230Z] ---> 858002298a1b [2022-04-10T23:33:23.230Z] Step 19/24 : EXPOSE 161 [2022-04-10T23:33:23.230Z] ---> Running in 2e7b917b2442 [2022-04-10T23:33:23.508Z] Removing intermediate container 2e7b917b2442 [2022-04-10T23:33:23.508Z] ---> 742b2db65c11 [2022-04-10T23:33:23.508Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-10T23:33:23.788Z] ---> Running in bbde5e02874e [2022-04-10T23:33:24.399Z] Removing intermediate container bbde5e02874e [2022-04-10T23:33:24.399Z] ---> 2a1e99fdbc42 [2022-04-10T23:33:24.399Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-10T23:33:24.399Z] ---> Running in 2f18ed203c5a [2022-04-10T23:33:24.677Z] Removing intermediate container 2f18ed203c5a [2022-04-10T23:33:24.677Z] ---> eaf579021149 [2022-04-10T23:33:24.677Z] Step 22/24 : LABEL arch=arm64 [2022-04-10T23:33:24.677Z] ---> Running in 62cd90409889 [2022-04-10T23:33:24.965Z] Removing intermediate container 62cd90409889 [2022-04-10T23:33:24.965Z] ---> 144a62404b2e [2022-04-10T23:33:24.965Z] Step 23/24 : LABEL git_sha=419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 [2022-04-10T23:33:25.239Z] ---> Running in b9e01192ea32 [2022-04-10T23:33:25.512Z] Removing intermediate container b9e01192ea32 [2022-04-10T23:33:25.512Z] ---> 0d7a9646ee6b [2022-04-10T23:33:25.512Z] Step 24/24 : LABEL version=0.0.0 [2022-04-10T23:33:25.512Z] ---> Running in 1a315319acbd [2022-04-10T23:33:26.111Z] Removing intermediate container 1a315319acbd [2022-04-10T23:33:26.111Z] ---> b9714195991b [2022-04-10T23:33:26.111Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T23:33:26.111Z] Successfully built b9714195991b [2022-04-10T23:33:26.111Z] 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-10T23:33:26.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:33:26.563Z] [2022-04-10T23:33:26.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:33:26.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:33:27.204Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T23:33:27.204Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T23:33:27.204Z] 04944245beec: Pulling fs layer [2022-04-10T23:33:27.204Z] 699f458cf7ca: Pulling fs layer [2022-04-10T23:33:27.204Z] 765212b225bb: Pulling fs layer [2022-04-10T23:33:27.204Z] f23df028b6ca: Pulling fs layer [2022-04-10T23:33:27.204Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T23:33:27.204Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T23:33:27.204Z] 765212b225bb: Waiting [2022-04-10T23:33:27.204Z] f23df028b6ca: Waiting [2022-04-10T23:33:27.204Z] d65c8cfc05b1: Waiting [2022-04-10T23:33:27.204Z] 2437ff75d9bd: Waiting [2022-04-10T23:33:27.204Z] 04944245beec: Download complete [2022-04-10T23:33:27.204Z] 765212b225bb: Verifying Checksum [2022-04-10T23:33:27.204Z] 765212b225bb: Download complete [2022-04-10T23:33:27.204Z] f23df028b6ca: Verifying Checksum [2022-04-10T23:33:27.204Z] f23df028b6ca: Download complete [2022-04-10T23:33:27.204Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T23:33:27.204Z] d65c8cfc05b1: Download complete [2022-04-10T23:33:27.484Z] 699f458cf7ca: Verifying Checksum [2022-04-10T23:33:27.484Z] 699f458cf7ca: Download complete [2022-04-10T23:33:27.762Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T23:33:27.762Z] 8998bd30e6a1: Download complete [2022-04-10T23:33:30.403Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T23:33:30.403Z] 2437ff75d9bd: Download complete [2022-04-10T23:33:32.390Z] 8998bd30e6a1: Pull complete [2022-04-10T23:33:33.007Z] 04944245beec: Pull complete [2022-04-10T23:33:34.450Z] 699f458cf7ca: Pull complete [2022-04-10T23:33:34.724Z] 765212b225bb: Pull complete [2022-04-10T23:33:35.700Z] f23df028b6ca: Pull complete [2022-04-10T23:33:35.700Z] d65c8cfc05b1: Pull complete [2022-04-10T23:33:54.022Z] 2437ff75d9bd: Pull complete [2022-04-10T23:33:54.022Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T23:33:54.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:33:54.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T23:33:54.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container [2022-04-10T23:33:54.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T23:33:57.661Z] $ docker top 881531359d9462cdd2a62ecdd4a9e258ef77c812645c6618eb5a73df5ddae4b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:33:58.689Z] ---> job-cost.sh [2022-04-10T23:33:58.689Z] lf-activate-venv: SKIPPING [2022-04-10T23:33:58.689Z] INFO: No Stack... [2022-04-10T23:33:59.309Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T23:34:00.297Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T23:34:00.977Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2022-04-10T23:34:00.977Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T23:34:01.061Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [2022-04-10T23:34:01.068Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] did not exist. Created. [2022-04-10T23:34:01.068Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T23:34:01.749Z] /w/workspace/device-snmp-go/2@tmp/durable-4ea69f96/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T23:34:02.469Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T23:34:02.493Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T23:34:02.542Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T23:34:02.567Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T23:34:02.587Z] $ docker stop --time=1 881531359d9462cdd2a62ecdd4a9e258ef77c812645c6618eb5a73df5ddae4b6 [2022-04-10T23:34:04.112Z] $ docker rm -f 881531359d9462cdd2a62ecdd4a9e258ef77c812645c6618eb5a73df5ddae4b6 [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-10T23:34:04.563Z] provisioning config files... [2022-04-10T23:34:04.569Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config5773834730735967394tmp [Pipeline] { [Pipeline] sh [2022-04-10T23:34:04.858Z] + set +x [2022-04-10T23:34:04.858Z] + curl -s https://codecov.io/bash [2022-04-10T23:34:04.858Z] + bash -s -- [2022-04-10T23:34:04.858Z] [2022-04-10T23:34:04.858Z] _____ _ [2022-04-10T23:34:04.858Z] / ____| | | [2022-04-10T23:34:04.858Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T23:34:04.858Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T23:34:04.858Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T23:34:04.858Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T23:34:04.858Z] Bash-1.0.6 [2022-04-10T23:34:04.858Z] [2022-04-10T23:34:04.858Z] [2022-04-10T23:34:04.858Z] ==> git version 2.25.1 found [2022-04-10T23:34:04.858Z] ==> 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-10T23:34:04.858Z] Release-Date: 2020-01-08 [2022-04-10T23:34:04.858Z] 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-10T23:34:04.858Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T23:34:04.858Z] ==> Jenkins CI detected. [2022-04-10T23:34:04.858Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-151 [2022-04-10T23:34:04.858Z] project root: . [2022-04-10T23:34:04.858Z] --> token set from env [2022-04-10T23:34:04.858Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T23:34:04.858Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T23:34:04.858Z] ==> Python coveragepy not found [2022-04-10T23:34:04.858Z] ==> Searching for coverage reports in: [2022-04-10T23:34:04.858Z] + . [2022-04-10T23:34:04.858Z] -> Found 1 reports [2022-04-10T23:34:04.858Z] ==> Detecting git/mercurial file structure [2022-04-10T23:34:04.858Z] ==> Reading reports [2022-04-10T23:34:04.858Z] + ./coverage.out bytes=7631 [2022-04-10T23:34:04.858Z] ==> Appending adjustments [2022-04-10T23:34:04.858Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T23:34:04.858Z] + Found adjustments [2022-04-10T23:34:05.118Z] ==> Gzipping contents [2022-04-10T23:34:05.118Z] 4.0K /tmp/codecov.sIdErN.gz [2022-04-10T23:34:05.118Z] ==> Uploading reports [2022-04-10T23:34:05.118Z] url: https://codecov.io [2022-04-10T23:34:05.118Z] query: branch=PR-151&commit=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-04-10T23:34:05.118Z] -> Pinging Codecov [2022-04-10T23:34:05.118Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-151&commit=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-04-10T23:34:05.379Z] -> Uploading to [2022-04-10T23:34:05.379Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/6C56EA5C29638FB4528AC87E60AF5AE0/c0faed3f3eb4476da2ebf43eae59728ac57e0cfe/505b5278-b08b-4869-94a7-411679cbc911.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T233405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7fb069077b8ad3e86dd9a35cfa538c55789fe8a7c2b684ae84bb20e19cd19bf [2022-04-10T23:34:05.379Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T23:34:05.379Z] Dload Upload Total Spent Left Speed [2022-04-10T23:34:05.379Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7502 --:--:-- --:--:-- --:--:-- 7502 [2022-04-10T23:34:05.379Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] } [2022-04-10T23:34:05.388Z] 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-10T23:34:06.110Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-151/archives ] [2022-04-10T23:34:06.110Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives [2022-04-10T23:34:06.110Z] total 16 [2022-04-10T23:34:06.110Z] drwxr-xr-x 3 root root 4096 Apr 10 23:27 . [2022-04-10T23:34:06.110Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:27 .. [2022-04-10T23:34:06.110Z] drwxr-xr-x 2 root root 4096 Apr 10 23:27 cost [2022-04-10T23:34:06.110Z] -rw-r--r-- 1 root root 85 Apr 10 23:27 cost.csv [2022-04-10T23:34:06.110Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-151/archives [2022-04-10T23:34:06.110Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives [2022-04-10T23:34:06.110Z] total 16 [2022-04-10T23:34:06.110Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 23:27 . [2022-04-10T23:34:06.110Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:27 .. [2022-04-10T23:34:06.110Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 23:27 cost [2022-04-10T23:34:06.110Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 10 23:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:34:06.404Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:34:07.337Z] ---> package-listing.sh [2022-04-10T23:34:07.337Z] ++ facter osfamily [2022-04-10T23:34:07.337Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T23:34:07.337Z] + OS_FAMILY=debian [2022-04-10T23:34:07.337Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-151 [2022-04-10T23:34:07.337Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T23:34:07.337Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T23:34:07.337Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T23:34:07.337Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T23:34:07.337Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' [2022-04-10T23:34:07.337Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T23:34:07.337Z] + case "${OS_FAMILY}" in [2022-04-10T23:34:07.337Z] + dpkg -l [2022-04-10T23:34:07.337Z] + grep '^ii' [2022-04-10T23:34:07.337Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T23:34:07.337Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T23:34:07.337Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T23:34:07.337Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' [2022-04-10T23:34:07.337Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ [2022-04-10T23:34:07.337Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ [Pipeline] echo [2022-04-10T23:34:07.351Z] 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-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-10T23:34:07.679Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:34:07.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T23:34:07.969Z] . [Pipeline] withDockerContainer [2022-04-10T23:34:08.032Z] prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container [2022-04-10T23:34:08.069Z] $ 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-151/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-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T23:34:08.261Z] $ docker top ff6e7e4e1b2eb765225fe73748683242de41ec5dbb3711c068f9bfa0905e0684 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T23:34:08.620Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T23:34:08.907Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T23:34:09.195Z] + ls /var/log/sa-host [2022-04-10T23:34:09.195Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T23:34:09.283Z] provisioning config files... [2022-04-10T23:34:09.291Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config6966322700166631770tmp [Pipeline] { [Pipeline] echo [2022-04-10T23:34:09.309Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:34:09.594Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T23:34:09.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:34:09.936Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T23:34:09.946Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:34:10.234Z] ---> sudo-logs.sh [2022-04-10T23:34:10.234Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T23:34:10.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:34:10.549Z] ---> job-cost.sh [2022-04-10T23:34:10.549Z] lf-activate-venv: SKIPPING [2022-04-10T23:34:10.549Z] DEBUG: total: 0.2199999988079071 [2022-04-10T23:34:10.549Z] INFO: Retrieving Stack Cost... [2022-04-10T23:34:10.808Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T23:34:11.377Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T23:34:11.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:34:11.675Z] ---> logs-deploy.sh [2022-04-10T23:34:11.675Z] lf-activate-venv: SKIPPING [2022-04-10T23:34:11.675Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-151/2 [2022-04-10T23:34:11.675Z] INFO: archiving workspace using pattern(s): [2022-04-10T23:34:12.617Z] Archives upload complete. [2022-04-10T23:34:12.617Z] INFO: archiving logs to Nexus [2022-04-10T23:34:13.187Z] ---> uname -a: [2022-04-10T23:34:13.188Z] Linux prd-ubuntu20-04-docker-8c-8g-19350 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-10T23:34:13.188Z] [2022-04-10T23:34:13.188Z]