Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9+6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (75365a727f9631f778a63c31fc3d1766c6ea66aa) 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-ssh11800833988298227938.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-ssh7101014710732208250.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-153/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-153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7076255041480914298.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-ssh9193355996256118332.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-153/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-153/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1621473730287596256.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-20868 in /w/workspace/gexfoundry_device-snmp-go_PR-153 [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-153 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 Merge succeeded, producing aca9f6c46849e19b7256e369d1e44a2fefbfeb92 Checking out Revision aca9f6c46849e19b7256e369d1e44a2fefbfeb92 (PR-153) > 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/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aca9f6c46849e19b7256e369d1e44a2fefbfeb92 # timeout=10 Commit message: "Merge commit '6b046bf6cda952c0c380e7585d2cf1a0cfc64fec' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T23:26:41.086Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T23:26:41.144Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T23:26:41.157Z] ========================================================= [2022-04-13T23:26:41.157Z] EdgeX Global Pipelines Version Info [2022-04-13T23:26:41.157Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dd674ec016fe32910fa0e7007224deff9d87ad2f # timeout=10 [2022-04-13T23:26:41.971Z] ------------------- [2022-04-13T23:26:41.971Z] stable info: [2022-04-13T23:26:41.971Z] ------------------- [2022-04-13T23:26:41.971Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T23:26:41.971Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T23:26:41.971Z] Message: update stable to v1.0.221 [2022-04-13T23:26:42.551Z] ------------------- [2022-04-13T23:26:42.551Z] experimental info: [2022-04-13T23:26:42.551Z] ------------------- [2022-04-13T23:26:42.551Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T23:26:42.551Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T23:26:42.551Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T23:26:42.686Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-13T23:26:42.700Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-13T23:26:42.711Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T23:26:42.726Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T23:26:42.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T23:26:42.751Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T23:26:42.764Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T23:26:42.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T23:26:42.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T23:26:42.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T23:26:42.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T23:26:42.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-13T23:26:42.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T23:26:42.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T23:26:42.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T23:26:42.887Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T23:26:42.897Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T23:26:42.909Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T23:26:42.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T23:26:42.937Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T23:26:42.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T23:26:42.962Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T23:26:42.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T23:26:42.987Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T23:26:43.000Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T23:26:43.015Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T23:26:43.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2022-04-13T23:26:43.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2022-04-13T23:26:43.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2022-04-13T23:26:43.065Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [Pipeline] echo [2022-04-13T23:26:43.082Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aca9f6c [Pipeline] echo [2022-04-13T23:26:43.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T23:26:43.135Z] provisioning config files... [2022-04-13T23:26:43.150Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config6400480660135780620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:26:43.470Z] ---> docker-login.sh [2022-04-13T23:26:43.470Z] nexus3.edgexfoundry.org:10001 [2022-04-13T23:26:43.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:43.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:43.732Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:43.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:43.732Z] [2022-04-13T23:26:43.732Z] Login Succeeded [2022-04-13T23:26:43.732Z] nexus3.edgexfoundry.org:10002 [2022-04-13T23:26:43.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:43.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:43.994Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:43.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:43.994Z] [2022-04-13T23:26:43.994Z] Login Succeeded [2022-04-13T23:26:43.994Z] nexus3.edgexfoundry.org:10003 [2022-04-13T23:26:43.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:43.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:43.994Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:43.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:43.994Z] [2022-04-13T23:26:43.994Z] Login Succeeded [2022-04-13T23:26:43.994Z] nexus3.edgexfoundry.org:10004 [2022-04-13T23:26:44.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:44.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:44.256Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:44.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:44.256Z] [2022-04-13T23:26:44.256Z] Login Succeeded [2022-04-13T23:26:44.256Z] docker.io [2022-04-13T23:26:44.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:44.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:44.831Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:44.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:44.831Z] [2022-04-13T23:26:44.831Z] Login Succeeded [2022-04-13T23:26:44.831Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T23:26:44.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T23:26:45.216Z] + git rev-list -1 --merges aca9f6c46849e19b7256e369d1e44a2fefbfeb92~1..aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [Pipeline] echo [2022-04-13T23:26:45.245Z] -----------> git rev-list -1 --merges aca9f6c46849e19b7256e369d1e44a2fefbfeb92~1..aca9f6c46849e19b7256e369d1e44a2fefbfeb92 aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [2022-04-13T23:26:45.245Z] aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [false] [Pipeline] sh [2022-04-13T23:26:45.537Z] + git log --format=format:%s -1 aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [Pipeline] echo [2022-04-13T23:26:45.554Z] ========================================================= [2022-04-13T23:26:45.554Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T23:26:45.554Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T23:26:45.902Z] + git log --format=format:%s -1 aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [Pipeline] echo [2022-04-13T23:26:45.916Z] [semverPrep] GIT_COMMIT: aca9f6c46849e19b7256e369d1e44a2fefbfeb92, Commit Message: Merge commit '6b046bf6cda952c0c380e7585d2cf1a0cfc64fec' into HEAD [Pipeline] echo [2022-04-13T23:26:45.925Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T23:26:46.305Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T23:26:46.305Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T23:26:46.305Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T23:26:46.305Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T23:26:46.305Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T23:26:46.305Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T23:26:46.305Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:26:46.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T23:26:46.655Z] [2022-04-13T23:26:46.655Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:26:46.976Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T23:26:46.976Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T23:26:46.976Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T23:26:46.976Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T23:26:46.976Z] 4c7163046ea9: Pulling fs layer [2022-04-13T23:26:46.976Z] 0c2d73faf560: Pulling fs layer [2022-04-13T23:26:46.976Z] 0c2d73faf560: Waiting [2022-04-13T23:26:46.976Z] 3e5f54012d9b: Verifying Checksum [2022-04-13T23:26:46.976Z] 3e5f54012d9b: Download complete [2022-04-13T23:26:46.976Z] a0d0a0d46f8b: Verifying Checksum [2022-04-13T23:26:46.976Z] a0d0a0d46f8b: Download complete [2022-04-13T23:26:46.976Z] 0c2d73faf560: Verifying Checksum [2022-04-13T23:26:46.976Z] 0c2d73faf560: Download complete [2022-04-13T23:26:46.976Z] 4c7163046ea9: Verifying Checksum [2022-04-13T23:26:46.976Z] 4c7163046ea9: Download complete [2022-04-13T23:26:47.236Z] a0d0a0d46f8b: Pull complete [2022-04-13T23:26:47.236Z] 3e5f54012d9b: Pull complete [2022-04-13T23:26:47.497Z] 4c7163046ea9: Pull complete [2022-04-13T23:26:47.757Z] 0c2d73faf560: Pull complete [2022-04-13T23:26:47.757Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T23:26:47.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T23:26:47.757Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T23:26:47.903Z] prd-ubuntu20.04-docker-8c-8g-20868 does not seem to be running inside a container [2022-04-13T23:26:47.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T23:26:48.716Z] $ docker top e8ee43d66c8177b37af278ef4334b72b7632f128dbbe3432ae91458984d48a2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T23:26:48.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T23:26:48.828Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T23:26:48.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T23:26:48.999Z] $ docker exec e8ee43d66c8177b37af278ef4334b72b7632f128dbbe3432ae91458984d48a2e ssh-agent [2022-04-13T23:26:49.123Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObHkJg/agent.14 [2022-04-13T23:26:49.123Z] SSH_AGENT_PID=20 [2022-04-13T23:26:49.131Z] Running ssh-add (command line suppressed) [2022-04-13T23:26:49.262Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_3403743313496142947.key (/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_3403743313496142947.key) [2022-04-13T23:26:49.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T23:26:49.568Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T23:26:49.593Z] $ docker exec --env ******** --env ******** e8ee43d66c8177b37af278ef4334b72b7632f128dbbe3432ae91458984d48a2e ssh-agent -k [2022-04-13T23:26:49.726Z] unset SSH_AUTH_SOCK; [2022-04-13T23:26:49.727Z] unset SSH_AGENT_PID; [2022-04-13T23:26:49.727Z] echo Agent pid 20 killed; [2022-04-13T23:26:49.737Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T23:26:49.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T23:26:49.761Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T23:26:49.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T23:26:49.915Z] $ docker exec e8ee43d66c8177b37af278ef4334b72b7632f128dbbe3432ae91458984d48a2e ssh-agent [2022-04-13T23:26:50.057Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLJbEIo/agent.52 [2022-04-13T23:26:50.057Z] SSH_AGENT_PID=59 [2022-04-13T23:26:50.063Z] Running ssh-add (command line suppressed) [2022-04-13T23:26:50.194Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_362005333532514824.key (/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_362005333532514824.key) [2022-04-13T23:26:50.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T23:26:50.509Z] + git semver init [2022-04-13T23:26:50.509Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T23:26:50.509Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-153/.git [2022-04-13T23:26:50.509Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-153 [2022-04-13T23:26:50.509Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T23:26:50.509Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T23:26:50.509Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T23:26:50.509Z] # $SEMVER_BRANCH = PR-153 [2022-04-13T23:26:50.509Z] # $SEMVER_TEMP = /tmp/semver-026024951 [2022-04-13T23:26:50.509Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-13T23:26:51.451Z] # '/tmp/semver-026024951' -> '/w/workspace/gexfoundry_device-snmp-go_PR-153/.semver' [2022-04-13T23:26:51.451Z] # -> Force: false [2022-04-13T23:26:51.451Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-153/.semver [Pipeline] } [2022-04-13T23:26:51.465Z] $ docker exec --env ******** --env ******** e8ee43d66c8177b37af278ef4334b72b7632f128dbbe3432ae91458984d48a2e ssh-agent -k [2022-04-13T23:26:51.593Z] unset SSH_AUTH_SOCK; [2022-04-13T23:26:51.594Z] unset SSH_AGENT_PID; [2022-04-13T23:26:51.594Z] echo Agent pid 59 killed; [2022-04-13T23:26:51.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T23:26:51.908Z] + git semver [Pipeline] } [2022-04-13T23:26:51.924Z] $ docker stop --time=1 e8ee43d66c8177b37af278ef4334b72b7632f128dbbe3432ae91458984d48a2e [2022-04-13T23:26:53.332Z] $ docker rm -f e8ee43d66c8177b37af278ef4334b72b7632f128dbbe3432ae91458984d48a2e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T23:26:53.679Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T23:26:53.940Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T23:26:53.944Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T23:26:54.120Z] provisioning config files... [2022-04-13T23:26:54.130Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config3629735059415197733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:26:54.433Z] ---> docker-login.sh [2022-04-13T23:26:54.433Z] nexus3.edgexfoundry.org:10001 [2022-04-13T23:26:54.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:54.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:54.433Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:54.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:54.433Z] [2022-04-13T23:26:54.433Z] Login Succeeded [2022-04-13T23:26:54.433Z] nexus3.edgexfoundry.org:10002 [2022-04-13T23:26:54.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:54.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:54.695Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:54.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:54.695Z] [2022-04-13T23:26:54.695Z] Login Succeeded [2022-04-13T23:26:54.695Z] nexus3.edgexfoundry.org:10003 [2022-04-13T23:26:54.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:54.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:54.695Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:54.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:54.695Z] [2022-04-13T23:26:54.695Z] Login Succeeded [2022-04-13T23:26:54.695Z] nexus3.edgexfoundry.org:10004 [2022-04-13T23:26:54.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:54.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:54.956Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:54.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:54.956Z] [2022-04-13T23:26:54.956Z] Login Succeeded [2022-04-13T23:26:54.956Z] docker.io [2022-04-13T23:26:54.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:26:55.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:26:55.216Z] Configure a credential helper to remove this warning. See [2022-04-13T23:26:55.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:26:55.216Z] [2022-04-13T23:26:55.216Z] Login Succeeded [2022-04-13T23:26:55.216Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T23:26:55.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T23:26:55.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T23:26:55.304Z] ========================================================= [2022-04-13T23:26:55.304Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T23:26:55.304Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:26:55.610Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T23:26:55.610Z] Sending build context to Docker daemon 5.252MB [2022-04-13T23:26:55.610Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:26:55.610Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T23:26:55.610Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T23:26:55.610Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T23:26:55.610Z] 666ba61612fd: Pulling fs layer [2022-04-13T23:26:55.610Z] 8ed8ca486205: Pulling fs layer [2022-04-13T23:26:55.610Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T23:26:55.610Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T23:26:55.610Z] 640e595b4fbd: Pulling fs layer [2022-04-13T23:26:55.610Z] 763cafe07f6e: Pulling fs layer [2022-04-13T23:26:55.610Z] 0c0b528cf693: Pulling fs layer [2022-04-13T23:26:55.610Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T23:26:55.610Z] 4fe6c5a15a65: Waiting [2022-04-13T23:26:55.610Z] 22a0e8bec74d: Waiting [2022-04-13T23:26:55.610Z] 0c0b528cf693: Waiting [2022-04-13T23:26:55.610Z] 10935f4eaf8b: Waiting [2022-04-13T23:26:55.610Z] 640e595b4fbd: Waiting [2022-04-13T23:26:55.610Z] 763cafe07f6e: Waiting [2022-04-13T23:26:55.610Z] 8ed8ca486205: Verifying Checksum [2022-04-13T23:26:55.610Z] 8ed8ca486205: Download complete [2022-04-13T23:26:55.872Z] 666ba61612fd: Verifying Checksum [2022-04-13T23:26:55.872Z] 666ba61612fd: Download complete [2022-04-13T23:26:55.872Z] 22a0e8bec74d: Download complete [2022-04-13T23:26:55.872Z] 640e595b4fbd: Verifying Checksum [2022-04-13T23:26:55.872Z] 59bf1c3509f3: Download complete [2022-04-13T23:26:55.872Z] 763cafe07f6e: Verifying Checksum [2022-04-13T23:26:55.872Z] 763cafe07f6e: Download complete [2022-04-13T23:26:55.872Z] 0c0b528cf693: Verifying Checksum [2022-04-13T23:26:55.872Z] 0c0b528cf693: Download complete [2022-04-13T23:26:55.872Z] 59bf1c3509f3: Pull complete [2022-04-13T23:26:56.133Z] 666ba61612fd: Pull complete [2022-04-13T23:26:56.133Z] 8ed8ca486205: Pull complete [2022-04-13T23:26:56.395Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T23:26:56.395Z] 10935f4eaf8b: Download complete [2022-04-13T23:26:56.655Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T23:26:56.655Z] 4fe6c5a15a65: Download complete [2022-04-13T23:27:00.854Z] 4fe6c5a15a65: Pull complete [2022-04-13T23:27:00.854Z] 22a0e8bec74d: Pull complete [2022-04-13T23:27:00.854Z] 640e595b4fbd: Pull complete [2022-04-13T23:27:00.854Z] 763cafe07f6e: Pull complete [2022-04-13T23:27:00.854Z] 0c0b528cf693: Pull complete [2022-04-13T23:27:03.404Z] 10935f4eaf8b: Pull complete [2022-04-13T23:27:03.404Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T23:27:03.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T23:27:03.404Z] ---> 99d49a6021b9 [2022-04-13T23:27:03.404Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T23:27:04.349Z] ---> Running in 6cae51400220 [2022-04-13T23:27:04.610Z] Removing intermediate container 6cae51400220 [2022-04-13T23:27:04.610Z] ---> 95cf98a38f0b [2022-04-13T23:27:04.610Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:27:04.610Z] ---> Running in 2f22f46ca132 [2022-04-13T23:27:04.610Z] Removing intermediate container 2f22f46ca132 [2022-04-13T23:27:04.610Z] ---> a054e22abdec [2022-04-13T23:27:04.610Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:27:04.610Z] ---> Running in 2c3c94636744 [2022-04-13T23:27:04.872Z] Removing intermediate container 2c3c94636744 [2022-04-13T23:27:04.872Z] ---> 4ff56c88b84f [2022-04-13T23:27:04.872Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:27:04.872Z] ---> Running in 85c0d723cfa2 [2022-04-13T23:27:05.444Z] Removing intermediate container 85c0d723cfa2 [2022-04-13T23:27:05.444Z] ---> 1702e01608c2 [2022-04-13T23:27:05.444Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:27:05.444Z] ---> Running in 5a4f0cb5176d [2022-04-13T23:27:05.707Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:06.651Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:06.913Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T23:27:06.913Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T23:27:06.913Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T23:27:07.173Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T23:27:07.173Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T23:27:07.173Z] OK: 224 MiB in 56 packages [2022-04-13T23:27:07.743Z] Removing intermediate container 5a4f0cb5176d [2022-04-13T23:27:07.743Z] ---> de0f581187ff [2022-04-13T23:27:07.743Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-13T23:27:07.743Z] ---> Running in f872df0c84c5 [2022-04-13T23:27:07.743Z] Removing intermediate container f872df0c84c5 [2022-04-13T23:27:07.744Z] ---> 6615e8a3e28d [2022-04-13T23:27:07.744Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T23:27:08.003Z] ---> 992fe9d302af [2022-04-13T23:27:08.003Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:27:08.003Z] ---> Running in 31f20f6c90f8 [2022-04-13T23:27:09.074Z] Still waiting to schedule task [2022-04-13T23:27:09.074Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-13T23:27:22.908Z] Removing intermediate container 31f20f6c90f8 [2022-04-13T23:27:22.908Z] ---> 39a58d2a7675 [2022-04-13T23:27:22.908Z] Step 11/12 : COPY . . [2022-04-13T23:27:22.908Z] ---> 5d2593dc5a5a [2022-04-13T23:27:22.908Z] Step 12/12 : RUN ${MAKE} [2022-04-13T23:27:22.908Z] ---> Running in b4ed525a46fa [2022-04-13T23:27:22.908Z] noop [2022-04-13T23:27:22.908Z] Removing intermediate container b4ed525a46fa [2022-04-13T23:27:22.908Z] ---> 4bf0b4487733 [2022-04-13T23:27:22.908Z] Successfully built 4bf0b4487733 [2022-04-13T23:27:22.908Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:27:23.208Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T23:27:23.208Z] . [Pipeline] withDockerContainer [2022-04-13T23:27:23.281Z] prd-ubuntu20.04-docker-8c-8g-20868 does not seem to be running inside a container [2022-04-13T23:27:23.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@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 ******** ci-base-image-x86_64 cat [2022-04-13T23:27:23.728Z] $ docker top a581a5a09d2e19158aaf4ff2457b54c27d266f78451bcfebc4f04402496966ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T23:27:24.089Z] + go version [2022-04-13T23:27:24.089Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T23:27:24.104Z] $ docker stop --time=1 a581a5a09d2e19158aaf4ff2457b54c27d266f78451bcfebc4f04402496966ec [2022-04-13T23:27:25.433Z] $ docker rm -f a581a5a09d2e19158aaf4ff2457b54c27d266f78451bcfebc4f04402496966ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:27:25.848Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T23:27:25.848Z] . [Pipeline] withDockerContainer [2022-04-13T23:27:25.921Z] prd-ubuntu20.04-docker-8c-8g-20868 does not seem to be running inside a container [2022-04-13T23:27:25.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@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 ******** ci-base-image-x86_64 cat [2022-04-13T23:27:26.725Z] $ docker top 2a630f7d89593a600c3e99c9ffbe5292d7aaa0c5bb0cd742cd3b021e5d8611a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T23:27:27.090Z] + make test [2022-04-13T23:27:27.090Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T23:27:27.349Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-13T23:27:37.354Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-13T23:27:37.354Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-04-13T23:27:42.717Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T23:27:46.912Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T23:27:46.912Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T23:27:46.912Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T23:27:47.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T23:27:47.509Z] $ docker stop --time=1 2a630f7d89593a600c3e99c9ffbe5292d7aaa0c5bb0cd742cd3b021e5d8611a0 [2022-04-13T23:27:49.948Z] $ docker rm -f 2a630f7d89593a600c3e99c9ffbe5292d7aaa0c5bb0cd742cd3b021e5d8611a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T23:27:50.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T23:27:50.447Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T23:27:51.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T23:27:51.321Z] + ls -al . [2022-04-13T23:27:51.321Z] total 184 [2022-04-13T23:27:51.321Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 23:27 . [2022-04-13T23:27:51.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 23:26 .. [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 23:26 .dockerignore [2022-04-13T23:27:51.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 23:26 .git [2022-04-13T23:27:51.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 .github [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 23:26 .gitignore [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 23:26 .golangci.yml [2022-04-13T23:27:51.321Z] drwx------ 3 jenkins jenkins 4096 Apr 13 23:26 .semver [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 23:26 Attribution.txt [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 23:26 CHANGELOG.md [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 23:26 Dockerfile [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 23:26 GOVERNANCE.md [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 23:26 Jenkinsfile [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 23:26 LICENSE [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 23:26 Makefile [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 23:26 OWNERS.md [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 23:26 README.md [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 23:26 VERSION [2022-04-13T23:27:51.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 23:26 bin [2022-04-13T23:27:51.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 cmd [2022-04-13T23:27:51.321Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 23:27 coverage.out [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 23:26 go.mod [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 54298 Apr 13 23:26 go.sum [2022-04-13T23:27:51.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 internal [2022-04-13T23:27:51.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:26 snap [2022-04-13T23:27:51.321Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 23:26 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:27:51.613Z] + 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=aca9f6c46849e19b7256e369d1e44a2fefbfeb92 --label arch=amd64 --label version=0.0.0 . [2022-04-13T23:27:51.613Z] Sending build context to Docker daemon 5.26MB [2022-04-13T23:27:51.613Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:27:51.613Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-13T23:27:51.613Z] ---> 4bf0b4487733 [2022-04-13T23:27:51.613Z] Step 3/24 : ARG MAKE='make build' [2022-04-13T23:27:51.613Z] ---> Running in bb7ad2b1558e [2022-04-13T23:27:51.874Z] Removing intermediate container bb7ad2b1558e [2022-04-13T23:27:51.874Z] ---> 69f92d54b624 [2022-04-13T23:27:51.874Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:27:51.874Z] ---> Running in 5639205a4dbb [2022-04-13T23:27:51.874Z] Removing intermediate container 5639205a4dbb [2022-04-13T23:27:51.874Z] ---> b6e90a173c62 [2022-04-13T23:27:51.874Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:27:52.135Z] ---> Running in 00057f876473 [2022-04-13T23:27:52.135Z] Removing intermediate container 00057f876473 [2022-04-13T23:27:52.135Z] ---> cdc8effa1f20 [2022-04-13T23:27:52.135Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:27:52.135Z] ---> Running in e2704896ff3f [2022-04-13T23:27:52.707Z] Removing intermediate container e2704896ff3f [2022-04-13T23:27:52.707Z] ---> df5a579e90b1 [2022-04-13T23:27:52.707Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:27:52.969Z] ---> Running in fab232c48846 [2022-04-13T23:27:53.230Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:54.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T23:27:54.434Z] OK: 224 MiB in 56 packages [2022-04-13T23:27:54.698Z] Removing intermediate container fab232c48846 [2022-04-13T23:27:54.698Z] ---> a8eb768d3c33 [2022-04-13T23:27:54.698Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-13T23:27:54.698Z] ---> Running in fd74837d8928 [2022-04-13T23:27:54.958Z] Removing intermediate container fd74837d8928 [2022-04-13T23:27:54.958Z] ---> 527ab5a1c0d2 [2022-04-13T23:27:54.958Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-13T23:27:54.958Z] ---> d6cad07ece68 [2022-04-13T23:27:54.958Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:27:54.958Z] ---> Running in 6ad13e128d76 [2022-04-13T23:27:55.898Z] Removing intermediate container 6ad13e128d76 [2022-04-13T23:27:55.898Z] ---> 936f6784097a [2022-04-13T23:27:55.898Z] Step 11/24 : COPY . . [2022-04-13T23:27:56.158Z] ---> a7986055c5ee [2022-04-13T23:27:56.158Z] Step 12/24 : RUN ${MAKE} [2022-04-13T23:27:56.158Z] ---> Running in 4b1e73c6548a [2022-04-13T23:27:56.418Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-13T23:28:18.373Z] Removing intermediate container 4b1e73c6548a [2022-04-13T23:28:18.373Z] ---> 85c671629782 [2022-04-13T23:28:18.373Z] Step 13/24 : FROM alpine:3.14 [2022-04-13T23:28:18.373Z] 3.14: Pulling from library/alpine [2022-04-13T23:28:18.373Z] 8663204ce13b: Pulling fs layer [2022-04-13T23:28:18.373Z] 8663204ce13b: Verifying Checksum [2022-04-13T23:28:18.373Z] 8663204ce13b: Download complete [2022-04-13T23:28:18.373Z] 8663204ce13b: Pull complete [2022-04-13T23:28:18.373Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T23:28:18.373Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T23:28:18.373Z] ---> e04c818066af [2022-04-13T23:28:18.373Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T23:28:18.373Z] ---> Running in 1e05fbd1c3bc [2022-04-13T23:28:18.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T23:28:18.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T23:28:18.373Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T23:28:18.373Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T23:28:18.373Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T23:28:18.373Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T23:28:18.373Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T23:28:18.373Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T23:28:18.373Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T23:28:18.373Z] OK: 8 MiB in 20 packages [2022-04-13T23:28:18.373Z] Removing intermediate container 1e05fbd1c3bc [2022-04-13T23:28:18.373Z] ---> 9cce278aa3db [2022-04-13T23:28:18.373Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-13T23:28:18.944Z] ---> 46cc551d1ddf [2022-04-13T23:28:18.944Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-13T23:28:18.944Z] ---> 3226c537e2fa [2022-04-13T23:28:18.944Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-13T23:28:19.203Z] ---> ca5d31f823fe [2022-04-13T23:28:19.203Z] Step 18/24 : EXPOSE 59993 [2022-04-13T23:28:19.203Z] ---> Running in 70622480b7c3 [2022-04-13T23:28:19.468Z] Removing intermediate container 70622480b7c3 [2022-04-13T23:28:19.468Z] ---> bf571fa24c54 [2022-04-13T23:28:19.468Z] Step 19/24 : EXPOSE 161 [2022-04-13T23:28:19.468Z] ---> Running in f5936c528ff9 [2022-04-13T23:28:19.468Z] Removing intermediate container f5936c528ff9 [2022-04-13T23:28:19.468Z] ---> d127ea783995 [2022-04-13T23:28:19.468Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-13T23:28:19.728Z] ---> Running in e7984a3482f0 [2022-04-13T23:28:19.728Z] Removing intermediate container e7984a3482f0 [2022-04-13T23:28:19.728Z] ---> 12e1889fc1e5 [2022-04-13T23:28:19.728Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T23:28:19.728Z] ---> Running in a1aba0cc4b03 [2022-04-13T23:28:19.987Z] Removing intermediate container a1aba0cc4b03 [2022-04-13T23:28:19.987Z] ---> dbecf1a9e44f [2022-04-13T23:28:19.987Z] Step 22/24 : LABEL arch=amd64 [2022-04-13T23:28:19.987Z] ---> Running in 7677239223ad [2022-04-13T23:28:19.987Z] Removing intermediate container 7677239223ad [2022-04-13T23:28:19.987Z] ---> ccf171e6bb22 [2022-04-13T23:28:19.987Z] Step 23/24 : LABEL git_sha=aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [2022-04-13T23:28:19.987Z] ---> Running in f89e5dd667a3 [2022-04-13T23:28:20.247Z] Removing intermediate container f89e5dd667a3 [2022-04-13T23:28:20.247Z] ---> a61445308fae [2022-04-13T23:28:20.247Z] Step 24/24 : LABEL version=0.0.0 [2022-04-13T23:28:20.247Z] ---> Running in 4e8a413cda76 [2022-04-13T23:28:20.247Z] Removing intermediate container 4e8a413cda76 [2022-04-13T23:28:20.247Z] ---> fbee3ba59674 [2022-04-13T23:28:20.247Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T23:28:20.247Z] Successfully built fbee3ba59674 [2022-04-13T23:28:20.247Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:28:20.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:28:20.676Z] [2022-04-13T23:28:20.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:28:20.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:28:20.983Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T23:28:20.983Z] 5eb5b503b376: Pulling fs layer [2022-04-13T23:28:20.983Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T23:28:20.983Z] ec43610c2a17: Pulling fs layer [2022-04-13T23:28:20.983Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T23:28:20.983Z] 33b1e0a273af: Pulling fs layer [2022-04-13T23:28:20.983Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T23:28:20.983Z] 2f39f015ded8: Pulling fs layer [2022-04-13T23:28:20.983Z] 3a2ae6a8a46f: Waiting [2022-04-13T23:28:20.983Z] 5d3b04190fa2: Waiting [2022-04-13T23:28:20.983Z] 2f39f015ded8: Waiting [2022-04-13T23:28:20.983Z] 33b1e0a273af: Waiting [2022-04-13T23:28:20.983Z] 5c69ac0246d0: Download complete [2022-04-13T23:28:20.983Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T23:28:20.983Z] 3a2ae6a8a46f: Download complete [2022-04-13T23:28:20.983Z] 33b1e0a273af: Verifying Checksum [2022-04-13T23:28:20.983Z] 33b1e0a273af: Download complete [2022-04-13T23:28:21.243Z] 5d3b04190fa2: Verifying Checksum [2022-04-13T23:28:21.243Z] 5d3b04190fa2: Download complete [2022-04-13T23:28:21.243Z] ec43610c2a17: Verifying Checksum [2022-04-13T23:28:21.243Z] ec43610c2a17: Download complete [2022-04-13T23:28:21.243Z] 5eb5b503b376: Verifying Checksum [2022-04-13T23:28:21.243Z] 5eb5b503b376: Download complete [2022-04-13T23:28:21.813Z] 2f39f015ded8: Download complete [2022-04-13T23:28:22.381Z] 5eb5b503b376: Pull complete [2022-04-13T23:28:22.642Z] 5c69ac0246d0: Pull complete [2022-04-13T23:28:23.210Z] ec43610c2a17: Pull complete [2022-04-13T23:28:23.210Z] 3a2ae6a8a46f: Pull complete [2022-04-13T23:28:23.469Z] 33b1e0a273af: Pull complete [2022-04-13T23:28:23.469Z] 5d3b04190fa2: Pull complete [2022-04-13T23:28:28.750Z] 2f39f015ded8: Pull complete [2022-04-13T23:28:28.750Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T23:28:28.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:28:28.750Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T23:28:28.820Z] prd-ubuntu20.04-docker-8c-8g-20868 does not seem to be running inside a container [2022-04-13T23:28:28.854Z] $ 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-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T23:28:30.246Z] $ docker top a576e312a89043c314070ee9640b8a2d3ec849d8668909e9f616a846a3542016 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:28:30.630Z] ---> job-cost.sh [2022-04-13T23:28:30.630Z] lf-activate-venv: SKIPPING [2022-04-13T23:28:30.630Z] INFO: No Stack... [2022-04-13T23:28:31.200Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T23:28:31.462Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T23:28:31.758Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-153/archives/cost.csv [2022-04-13T23:28:31.758Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T23:28:31.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] [2022-04-13T23:28:31.780Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] did not exist. Created. [2022-04-13T23:28:31.780Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T23:28:32.093Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T23:28:32.126Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T23:28:32.132Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T23:28:32.153Z] $ docker stop --time=1 a576e312a89043c314070ee9640b8a2d3ec849d8668909e9f616a846a3542016 [2022-04-13T23:28:33.371Z] $ docker rm -f a576e312a89043c314070ee9640b8a2d3ec849d8668909e9f616a846a3542016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T23:30:30.060Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20870 in /w/workspace/gexfoundry_device-snmp-go_PR-153 [Pipeline] { [Pipeline] ws [2022-04-13T23:30:30.073Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2022-04-13T23:30:30.472Z] Selected Git installation does not exist. Using Default [2022-04-13T23:30:30.472Z] The recommended git tool is: NONE [2022-04-13T23:30:38.379Z] using credential edgex-jenkins-ssh [2022-04-13T23:30:38.396Z] Cloning the remote Git repository [2022-04-13T23:30:38.478Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T23:30:38.568Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2022-04-13T23:30:38.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T23:30:38.691Z] > git --version # timeout=10 [2022-04-13T23:30:38.756Z] > git --version # 'git version 2.25.1' [2022-04-13T23:30:38.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T23:30:38.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T23:30:41.017Z] Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 [2022-04-13T23:30:41.330Z] Merge succeeded, producing 2d7d9dae738370a39e25d6d000841a5f7c78a174 [2022-04-13T23:30:41.330Z] Checking out Revision 2d7d9dae738370a39e25d6d000841a5f7c78a174 (PR-153) [2022-04-13T23:30:40.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-13T23:30:40.383Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T23:30:40.424Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-13T23:30:40.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T23:30:40.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T23:30:40.498Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-13T23:30:41.045Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T23:30:41.070Z] > git checkout -f 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 # timeout=10 [2022-04-13T23:30:41.172Z] > git remote # timeout=10 [2022-04-13T23:30:41.194Z] > git config --get remote.origin.url # timeout=10 [2022-04-13T23:30:41.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T23:30:41.249Z] > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 [2022-04-13T23:30:41.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-13T23:30:41.350Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T23:30:41.389Z] > git checkout -f 2d7d9dae738370a39e25d6d000841a5f7c78a174 # timeout=10 [2022-04-13T23:30:45.933Z] Commit message: "Merge commit '6b046bf6cda952c0c380e7585d2cf1a0cfc64fec' into HEAD" [2022-04-13T23:30:45.960Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T23:30:45.949Z] > git rev-list --no-walk dd674ec016fe32910fa0e7007224deff9d87ad2f # timeout=10 [2022-04-13T23:30:46.818Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T23:30:46.818Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T23:30:46.818Z] Dload Upload Total Spent Left Speed [2022-04-13T23:30:46.818Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-04-13T23:30:47.581Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T23:30:47.940Z] + sudo tee /etc/docker/daemon.new [2022-04-13T23:30:47.940Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T23:30:47.940Z] { [2022-04-13T23:30:47.940Z] "registry-mirrors": [ [2022-04-13T23:30:47.940Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T23:30:47.940Z] ], [2022-04-13T23:30:47.940Z] "bip": "10.250.0.254/24", [2022-04-13T23:30:47.940Z] "hosts": [ [2022-04-13T23:30:47.940Z] "tcp://0.0.0.0:5555", [2022-04-13T23:30:47.940Z] "unix:///var/run/docker.sock" [2022-04-13T23:30:47.940Z] ], [2022-04-13T23:30:47.940Z] "mtu": 1458, [2022-04-13T23:30:47.940Z] "selinux-enabled": true, [2022-04-13T23:30:47.940Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T23:30:47.940Z] } [Pipeline] sh [2022-04-13T23:30:48.294Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T23:30:48.716Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T23:31:07.090Z] provisioning config files... [2022-04-13T23:31:07.120Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config1267205338778810156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:31:07.509Z] ---> docker-login.sh [2022-04-13T23:31:07.509Z] nexus3.edgexfoundry.org:10001 [2022-04-13T23:31:08.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:31:08.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:31:08.394Z] Configure a credential helper to remove this warning. See [2022-04-13T23:31:08.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:31:08.394Z] [2022-04-13T23:31:08.394Z] Login Succeeded [2022-04-13T23:31:08.394Z] nexus3.edgexfoundry.org:10002 [2022-04-13T23:31:08.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:31:08.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:31:08.997Z] Configure a credential helper to remove this warning. See [2022-04-13T23:31:08.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:31:08.997Z] [2022-04-13T23:31:08.997Z] Login Succeeded [2022-04-13T23:31:08.997Z] nexus3.edgexfoundry.org:10003 [2022-04-13T23:31:09.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:31:09.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:31:09.563Z] Configure a credential helper to remove this warning. See [2022-04-13T23:31:09.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:31:09.563Z] [2022-04-13T23:31:09.563Z] Login Succeeded [2022-04-13T23:31:09.563Z] nexus3.edgexfoundry.org:10004 [2022-04-13T23:31:09.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:31:09.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:31:09.839Z] Configure a credential helper to remove this warning. See [2022-04-13T23:31:09.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:31:09.839Z] [2022-04-13T23:31:09.839Z] Login Succeeded [2022-04-13T23:31:09.839Z] docker.io [2022-04-13T23:31:10.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T23:31:10.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T23:31:10.714Z] Configure a credential helper to remove this warning. See [2022-04-13T23:31:10.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T23:31:10.714Z] [2022-04-13T23:31:10.714Z] Login Succeeded [2022-04-13T23:31:10.714Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T23:31:10.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T23:31:11.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T23:31:11.338Z] ========================================================= [2022-04-13T23:31:11.338Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T23:31:11.338Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:31:11.695Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T23:31:11.971Z] Sending build context to Docker daemon 2.732MB [2022-04-13T23:31:11.971Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:31:11.971Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T23:31:12.245Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T23:31:12.245Z] 9b3977197b4f: Pulling fs layer [2022-04-13T23:31:12.245Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T23:31:12.245Z] 94645a83ff95: Pulling fs layer [2022-04-13T23:31:12.245Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T23:31:12.245Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T23:31:12.245Z] f7c0051592d6: Pulling fs layer [2022-04-13T23:31:12.245Z] a227ed2f7395: Pulling fs layer [2022-04-13T23:31:12.245Z] 7b1c46037f91: Pulling fs layer [2022-04-13T23:31:12.245Z] 3f3a8bcf1eab: Waiting [2022-04-13T23:31:12.245Z] 0c92f367c5e7: Waiting [2022-04-13T23:31:12.245Z] f7c0051592d6: Waiting [2022-04-13T23:31:12.245Z] a227ed2f7395: Waiting [2022-04-13T23:31:12.245Z] 7b1c46037f91: Waiting [2022-04-13T23:31:12.245Z] 94645a83ff95: Verifying Checksum [2022-04-13T23:31:12.245Z] 94645a83ff95: Download complete [2022-04-13T23:31:12.245Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T23:31:12.245Z] 1a89e8eeedd5: Download complete [2022-04-13T23:31:12.245Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T23:31:12.245Z] 0c92f367c5e7: Download complete [2022-04-13T23:31:12.245Z] f7c0051592d6: Verifying Checksum [2022-04-13T23:31:12.245Z] f7c0051592d6: Download complete [2022-04-13T23:31:12.245Z] 9b3977197b4f: Download complete [2022-04-13T23:31:12.245Z] a227ed2f7395: Verifying Checksum [2022-04-13T23:31:12.245Z] a227ed2f7395: Download complete [2022-04-13T23:31:13.242Z] 9b3977197b4f: Pull complete [2022-04-13T23:31:13.842Z] 1a89e8eeedd5: Pull complete [2022-04-13T23:31:14.121Z] 94645a83ff95: Pull complete [2022-04-13T23:31:14.397Z] 7b1c46037f91: Download complete [2022-04-13T23:31:14.998Z] 3f3a8bcf1eab: Download complete [2022-04-13T23:31:27.408Z] 3f3a8bcf1eab: Pull complete [2022-04-13T23:31:27.408Z] 0c92f367c5e7: Pull complete [2022-04-13T23:31:27.408Z] f7c0051592d6: Pull complete [2022-04-13T23:31:27.681Z] a227ed2f7395: Pull complete [2022-04-13T23:31:33.075Z] 7b1c46037f91: Pull complete [2022-04-13T23:31:33.075Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T23:31:33.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T23:31:33.075Z] ---> f79e39bc4007 [2022-04-13T23:31:33.075Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T23:31:34.515Z] ---> Running in c6a38a32e196 [2022-04-13T23:31:34.789Z] Removing intermediate container c6a38a32e196 [2022-04-13T23:31:34.789Z] ---> cebe2370d95d [2022-04-13T23:31:34.789Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:31:34.789Z] ---> Running in a476cbb11781 [2022-04-13T23:31:35.066Z] Removing intermediate container a476cbb11781 [2022-04-13T23:31:35.066Z] ---> 609d66f8cfeb [2022-04-13T23:31:35.066Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:31:35.356Z] ---> Running in f8a8688c8f78 [2022-04-13T23:31:35.634Z] Removing intermediate container f8a8688c8f78 [2022-04-13T23:31:35.634Z] ---> dcc8109a2a92 [2022-04-13T23:31:35.634Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:31:35.634Z] ---> Running in 1a012d2265eb [2022-04-13T23:31:37.631Z] Removing intermediate container 1a012d2265eb [2022-04-13T23:31:37.631Z] ---> 417b216b5195 [2022-04-13T23:31:37.631Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:31:37.631Z] ---> Running in 3db1feb03429 [2022-04-13T23:31:38.615Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T23:31:39.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T23:31:40.570Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T23:31:40.570Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T23:31:40.570Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T23:31:40.845Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T23:31:40.845Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T23:31:40.845Z] OK: 224 MiB in 56 packages [2022-04-13T23:31:41.826Z] Removing intermediate container 3db1feb03429 [2022-04-13T23:31:41.826Z] ---> daf2fbb07992 [2022-04-13T23:31:41.826Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-13T23:31:42.107Z] ---> Running in 16357d6cdb2a [2022-04-13T23:31:42.383Z] Removing intermediate container 16357d6cdb2a [2022-04-13T23:31:42.383Z] ---> b13b481f3169 [2022-04-13T23:31:42.383Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T23:31:42.988Z] ---> 1783e3291ca0 [2022-04-13T23:31:42.988Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:31:42.988Z] ---> Running in 7151d87931cb [2022-04-13T23:32:39.557Z] Removing intermediate container 7151d87931cb [2022-04-13T23:32:39.557Z] ---> 85e7fdaf4c5b [2022-04-13T23:32:39.557Z] Step 11/12 : COPY . . [2022-04-13T23:32:39.557Z] ---> 0753c3af3f80 [2022-04-13T23:32:39.557Z] Step 12/12 : RUN ${MAKE} [2022-04-13T23:32:39.557Z] ---> Running in 381da503ecf8 [2022-04-13T23:32:39.557Z] noop [2022-04-13T23:32:39.557Z] Removing intermediate container 381da503ecf8 [2022-04-13T23:32:39.557Z] ---> c82cb3d84abb [2022-04-13T23:32:39.557Z] Successfully built c82cb3d84abb [2022-04-13T23:32:39.557Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:32:39.905Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T23:32:39.905Z] . [Pipeline] withDockerContainer [2022-04-13T23:32:40.159Z] prd-ubuntu20.04-docker-arm64-4c-16g-20870 does not seem to be running inside a container [2022-04-13T23:32:40.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T23:32:41.642Z] $ docker top 4b00cbb1169c366ff53af96a5472a4780932e5121ee1f7058b1ad887ef91fef5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T23:32:42.595Z] + go version [2022-04-13T23:32:42.595Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T23:32:42.629Z] $ docker stop --time=1 4b00cbb1169c366ff53af96a5472a4780932e5121ee1f7058b1ad887ef91fef5 [2022-04-13T23:32:44.323Z] $ docker rm -f 4b00cbb1169c366ff53af96a5472a4780932e5121ee1f7058b1ad887ef91fef5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:32:44.952Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T23:32:44.953Z] . [Pipeline] withDockerContainer [2022-04-13T23:32:45.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-20870 does not seem to be running inside a container [2022-04-13T23:32:45.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T23:32:46.711Z] $ docker top 0480dabc99ff269ae8dc974e125f043013bfd00258644f74245437c7b81d072a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T23:32:47.661Z] + make test [2022-04-13T23:32:47.661Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T23:32:49.659Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-13T23:34:26.622Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-13T23:34:26.622Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2022-04-13T23:34:26.622Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T23:34:26.622Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T23:34:45.021Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T23:34:45.021Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T23:34:45.021Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T23:34:47.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T23:34:47.690Z] $ docker stop --time=1 0480dabc99ff269ae8dc974e125f043013bfd00258644f74245437c7b81d072a [2022-04-13T23:34:49.490Z] $ docker rm -f 0480dabc99ff269ae8dc974e125f043013bfd00258644f74245437c7b81d072a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T23:34:50.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T23:34:50.514Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T23:34:51.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T23:34:51.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T23:34:51.770Z] + ls -al . [2022-04-13T23:34:51.770Z] total 180 [2022-04-13T23:34:51.770Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 23:34 . [2022-04-13T23:34:51.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 23:30 .. [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 23:30 .dockerignore [2022-04-13T23:34:51.770Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 23:30 .git [2022-04-13T23:34:51.770Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:30 .github [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 23:30 .gitignore [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 23:30 .golangci.yml [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 23:30 Attribution.txt [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 23:30 CHANGELOG.md [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 23:30 Dockerfile [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 23:30 GOVERNANCE.md [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 23:30 Jenkinsfile [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 23:30 LICENSE [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 23:30 Makefile [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 23:30 OWNERS.md [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 23:30 README.md [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 23:26 VERSION [2022-04-13T23:34:51.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 23:30 bin [2022-04-13T23:34:51.770Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:30 cmd [2022-04-13T23:34:51.770Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 23:34 coverage.out [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 23:30 go.mod [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 54298 Apr 13 23:30 go.sum [2022-04-13T23:34:51.770Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:30 internal [2022-04-13T23:34:51.770Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 23:30 snap [2022-04-13T23:34:51.770Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 23:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:34:52.118Z] + 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=2d7d9dae738370a39e25d6d000841a5f7c78a174 --label arch=arm64 --label version=0.0.0 . [2022-04-13T23:34:52.397Z] Sending build context to Docker daemon 2.74MB [2022-04-13T23:34:52.397Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T23:34:52.397Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-13T23:34:52.397Z] ---> c82cb3d84abb [2022-04-13T23:34:52.397Z] Step 3/24 : ARG MAKE='make build' [2022-04-13T23:34:52.674Z] ---> Running in 87b2846f7d44 [2022-04-13T23:34:52.949Z] Removing intermediate container 87b2846f7d44 [2022-04-13T23:34:52.949Z] ---> 783d3dc3924c [2022-04-13T23:34:52.949Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T23:34:52.949Z] ---> Running in 81f38d4a3ef4 [2022-04-13T23:34:53.548Z] Removing intermediate container 81f38d4a3ef4 [2022-04-13T23:34:53.548Z] ---> 98d6362b8318 [2022-04-13T23:34:53.548Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T23:34:53.548Z] ---> Running in e6bdcf7a8654 [2022-04-13T23:34:53.832Z] Removing intermediate container e6bdcf7a8654 [2022-04-13T23:34:53.832Z] ---> 2d223db8aa0a [2022-04-13T23:34:53.832Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T23:34:53.832Z] ---> Running in dd6f765f40f6 [2022-04-13T23:34:55.821Z] Removing intermediate container dd6f765f40f6 [2022-04-13T23:34:55.821Z] ---> c203bc1cbe36 [2022-04-13T23:34:55.821Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T23:34:55.821Z] ---> Running in a4d442f57576 [2022-04-13T23:34:56.806Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T23:34:57.791Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T23:34:58.785Z] OK: 224 MiB in 56 packages [2022-04-13T23:34:59.782Z] Removing intermediate container a4d442f57576 [2022-04-13T23:34:59.782Z] ---> 2569612fd17e [2022-04-13T23:34:59.782Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-13T23:34:59.782Z] ---> Running in b1717b746901 [2022-04-13T23:35:00.056Z] Removing intermediate container b1717b746901 [2022-04-13T23:35:00.056Z] ---> 527ff2993d9a [2022-04-13T23:35:00.056Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-13T23:35:00.662Z] ---> 1fcccf1e5d81 [2022-04-13T23:35:00.663Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T23:35:00.663Z] ---> Running in 173aa5f5df68 [2022-04-13T23:35:02.647Z] Removing intermediate container 173aa5f5df68 [2022-04-13T23:35:02.647Z] ---> 514e6c339349 [2022-04-13T23:35:02.647Z] Step 11/24 : COPY . . [2022-04-13T23:35:03.638Z] ---> 1f74e8237ba8 [2022-04-13T23:35:03.638Z] Step 12/24 : RUN ${MAKE} [2022-04-13T23:35:03.638Z] ---> Running in 72f8167b3d1f [2022-04-13T23:35:05.089Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-13T23:37:27.009Z] Removing intermediate container 72f8167b3d1f [2022-04-13T23:37:27.009Z] ---> 6613cbcc5582 [2022-04-13T23:37:27.009Z] Step 13/24 : FROM alpine:3.14 [2022-04-13T23:37:27.009Z] 3.14: Pulling from library/alpine [2022-04-13T23:37:27.009Z] 455c02918c45: Pulling fs layer [2022-04-13T23:37:27.009Z] 455c02918c45: Verifying Checksum [2022-04-13T23:37:27.009Z] 455c02918c45: Download complete [2022-04-13T23:37:27.009Z] 455c02918c45: Pull complete [2022-04-13T23:37:27.009Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T23:37:27.009Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T23:37:27.009Z] ---> ac73e934f311 [2022-04-13T23:37:27.009Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T23:37:27.009Z] ---> Running in bb07bbed0b9d [2022-04-13T23:37:27.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T23:37:27.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T23:37:27.009Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T23:37:27.009Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T23:37:27.010Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T23:37:27.010Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T23:37:27.010Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T23:37:27.010Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T23:37:27.010Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T23:37:27.010Z] OK: 8 MiB in 20 packages [2022-04-13T23:37:27.010Z] Removing intermediate container bb07bbed0b9d [2022-04-13T23:37:27.010Z] ---> 02f50ee94a98 [2022-04-13T23:37:27.010Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-13T23:37:27.010Z] ---> f8f23016748a [2022-04-13T23:37:27.010Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-13T23:37:27.010Z] ---> 1b40eb405675 [2022-04-13T23:37:27.010Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-13T23:37:27.010Z] ---> 4f4da1e179f4 [2022-04-13T23:37:27.010Z] Step 18/24 : EXPOSE 59993 [2022-04-13T23:37:27.010Z] ---> Running in 98681bcc203d [2022-04-13T23:37:27.010Z] Removing intermediate container 98681bcc203d [2022-04-13T23:37:27.010Z] ---> 951b1d9aef80 [2022-04-13T23:37:27.010Z] Step 19/24 : EXPOSE 161 [2022-04-13T23:37:27.010Z] ---> Running in f7b2dff421d9 [2022-04-13T23:37:27.010Z] Removing intermediate container f7b2dff421d9 [2022-04-13T23:37:27.010Z] ---> 7f53261f0804 [2022-04-13T23:37:27.010Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-13T23:37:27.010Z] ---> Running in 68e65bbe57ae [2022-04-13T23:37:27.010Z] Removing intermediate container 68e65bbe57ae [2022-04-13T23:37:27.010Z] ---> dd7d9770291c [2022-04-13T23:37:27.010Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T23:37:27.010Z] ---> Running in 09ac8fc9670a [2022-04-13T23:37:27.010Z] Removing intermediate container 09ac8fc9670a [2022-04-13T23:37:27.010Z] ---> 59a311cbb1dd [2022-04-13T23:37:27.010Z] Step 22/24 : LABEL arch=arm64 [2022-04-13T23:37:27.010Z] ---> Running in 0b6bbee6683c [2022-04-13T23:37:27.010Z] Removing intermediate container 0b6bbee6683c [2022-04-13T23:37:27.010Z] ---> 0bb6c9060774 [2022-04-13T23:37:27.010Z] Step 23/24 : LABEL git_sha=2d7d9dae738370a39e25d6d000841a5f7c78a174 [2022-04-13T23:37:27.010Z] ---> Running in f36dc21e8f68 [2022-04-13T23:37:27.010Z] Removing intermediate container f36dc21e8f68 [2022-04-13T23:37:27.010Z] ---> abc5cb1c1f9f [2022-04-13T23:37:27.010Z] Step 24/24 : LABEL version=0.0.0 [2022-04-13T23:37:27.010Z] ---> Running in 54a085e2b906 [2022-04-13T23:37:27.010Z] Removing intermediate container 54a085e2b906 [2022-04-13T23:37:27.010Z] ---> 844b345d5718 [2022-04-13T23:37:27.010Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T23:37:27.010Z] Successfully built 844b345d5718 [2022-04-13T23:37:27.010Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:37:27.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T23:37:27.471Z] [2022-04-13T23:37:27.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:37:27.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T23:37:28.108Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T23:37:28.108Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T23:37:28.108Z] 04944245beec: Pulling fs layer [2022-04-13T23:37:28.108Z] 699f458cf7ca: Pulling fs layer [2022-04-13T23:37:28.108Z] 765212b225bb: Pulling fs layer [2022-04-13T23:37:28.108Z] f23df028b6ca: Pulling fs layer [2022-04-13T23:37:28.108Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T23:37:28.108Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T23:37:28.108Z] 765212b225bb: Waiting [2022-04-13T23:37:28.108Z] f23df028b6ca: Waiting [2022-04-13T23:37:28.108Z] 2437ff75d9bd: Waiting [2022-04-13T23:37:28.108Z] d65c8cfc05b1: Waiting [2022-04-13T23:37:28.108Z] 04944245beec: Download complete [2022-04-13T23:37:28.108Z] 765212b225bb: Verifying Checksum [2022-04-13T23:37:28.108Z] 765212b225bb: Download complete [2022-04-13T23:37:28.108Z] f23df028b6ca: Verifying Checksum [2022-04-13T23:37:28.108Z] f23df028b6ca: Download complete [2022-04-13T23:37:28.108Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T23:37:28.108Z] d65c8cfc05b1: Download complete [2022-04-13T23:37:28.387Z] 699f458cf7ca: Verifying Checksum [2022-04-13T23:37:28.387Z] 699f458cf7ca: Download complete [2022-04-13T23:37:28.664Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T23:37:28.664Z] 8998bd30e6a1: Download complete [2022-04-13T23:37:31.317Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T23:37:31.317Z] 2437ff75d9bd: Download complete [2022-04-13T23:37:33.306Z] 8998bd30e6a1: Pull complete [2022-04-13T23:37:33.584Z] 04944245beec: Pull complete [2022-04-13T23:37:35.033Z] 699f458cf7ca: Pull complete [2022-04-13T23:37:35.309Z] 765212b225bb: Pull complete [2022-04-13T23:37:36.293Z] f23df028b6ca: Pull complete [2022-04-13T23:37:36.293Z] d65c8cfc05b1: Pull complete [2022-04-13T23:37:51.396Z] 2437ff75d9bd: Pull complete [2022-04-13T23:37:51.396Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T23:37:51.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T23:37:51.396Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T23:37:51.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-20870 does not seem to be running inside a container [2022-04-13T23:37:51.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-13T23:37:54.415Z] $ docker top a2b61f1e94d6f0421fe88badba29113e3ffc71e5e68881d321901681b9e3ea31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:37:55.343Z] ---> job-cost.sh [2022-04-13T23:37:55.343Z] lf-activate-venv: SKIPPING [2022-04-13T23:37:55.343Z] INFO: No Stack... [2022-04-13T23:37:55.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T23:37:56.547Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T23:37:57.225Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2022-04-13T23:37:57.225Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T23:37:57.298Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] [2022-04-13T23:37:57.304Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] did not exist. Created. [2022-04-13T23:37:57.304Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T23:37:57.996Z] /w/workspace/device-snmp-go/3@tmp/durable-7597a31b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T23:37:58.689Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T23:37:58.711Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T23:37:58.763Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T23:37:58.769Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-153-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T23:37:58.798Z] $ docker stop --time=1 a2b61f1e94d6f0421fe88badba29113e3ffc71e5e68881d321901681b9e3ea31 [2022-04-13T23:38:00.347Z] $ docker rm -f a2b61f1e94d6f0421fe88badba29113e3ffc71e5e68881d321901681b9e3ea31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-13T23:38:00.813Z] provisioning config files... [2022-04-13T23:38:00.820Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config3498418369873704132tmp [Pipeline] { [Pipeline] sh [2022-04-13T23:38:01.122Z] + set +x [2022-04-13T23:38:01.122Z] + curl -s https://codecov.io/bash [2022-04-13T23:38:01.122Z] + bash -s -- [2022-04-13T23:38:01.122Z] [2022-04-13T23:38:01.122Z] _____ _ [2022-04-13T23:38:01.122Z] / ____| | | [2022-04-13T23:38:01.122Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T23:38:01.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T23:38:01.122Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T23:38:01.122Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T23:38:01.122Z] Bash-1.0.6 [2022-04-13T23:38:01.122Z] [2022-04-13T23:38:01.122Z] [2022-04-13T23:38:01.122Z] ==> git version 2.25.1 found [2022-04-13T23:38:01.122Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-13T23:38:01.122Z] Release-Date: 2020-01-08 [2022-04-13T23:38:01.122Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-13T23:38:01.122Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T23:38:01.122Z] ==> Jenkins CI detected. [2022-04-13T23:38:01.122Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-153 [2022-04-13T23:38:01.122Z] project root: . [2022-04-13T23:38:01.122Z] --> token set from env [2022-04-13T23:38:01.122Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T23:38:01.122Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T23:38:01.122Z] ==> Python coveragepy not found [2022-04-13T23:38:01.122Z] ==> Searching for coverage reports in: [2022-04-13T23:38:01.122Z] + . [2022-04-13T23:38:01.122Z] -> Found 1 reports [2022-04-13T23:38:01.122Z] ==> Detecting git/mercurial file structure [2022-04-13T23:38:01.122Z] ==> Reading reports [2022-04-13T23:38:01.122Z] + ./coverage.out bytes=7631 [2022-04-13T23:38:01.122Z] ==> Appending adjustments [2022-04-13T23:38:01.122Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T23:38:01.384Z] + Found adjustments [2022-04-13T23:38:01.384Z] ==> Gzipping contents [2022-04-13T23:38:01.384Z] 4.0K /tmp/codecov.eXcpoy.gz [2022-04-13T23:38:01.384Z] ==> Uploading reports [2022-04-13T23:38:01.384Z] url: https://codecov.io [2022-04-13T23:38:01.384Z] query: branch=PR-153&commit=aca9f6c46849e19b7256e369d1e44a2fefbfeb92&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-153%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=153&job=&cmd_args= [2022-04-13T23:38:01.384Z] -> Pinging Codecov [2022-04-13T23:38:01.384Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-153&commit=aca9f6c46849e19b7256e369d1e44a2fefbfeb92&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-153%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=153&job=&cmd_args= [2022-04-13T23:38:01.645Z] -> Uploading to [2022-04-13T23:38:01.645Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/aca9f6c46849e19b7256e369d1e44a2fefbfeb92/664d2697-4df1-41c7-813c-7765eae125ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T233801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7df555f8a5be1430d171b34a83e77077219e7b117a0640174878cc6512a66326 [2022-04-13T23:38:01.645Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T23:38:01.645Z] Dload Upload Total Spent Left Speed [2022-04-13T23:38:01.907Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6800 --:--:-- --:--:-- --:--:-- 6800 [2022-04-13T23:38:01.907Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/aca9f6c46849e19b7256e369d1e44a2fefbfeb92 [Pipeline] } [2022-04-13T23:38:01.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-13T23:38:02.668Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-153/archives ] [2022-04-13T23:38:02.668Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-153/archives [2022-04-13T23:38:02.668Z] total 16 [2022-04-13T23:38:02.668Z] drwxr-xr-x 3 root root 4096 Apr 13 23:28 . [2022-04-13T23:38:02.668Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 23:28 .. [2022-04-13T23:38:02.668Z] drwxr-xr-x 2 root root 4096 Apr 13 23:28 cost [2022-04-13T23:38:02.668Z] -rw-r--r-- 1 root root 85 Apr 13 23:28 cost.csv [2022-04-13T23:38:02.668Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-153/archives [2022-04-13T23:38:02.668Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-153/archives [2022-04-13T23:38:02.668Z] total 16 [2022-04-13T23:38:02.668Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 23:28 . [2022-04-13T23:38:02.668Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 23:28 .. [2022-04-13T23:38:02.668Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 23:28 cost [2022-04-13T23:38:02.668Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 13 23:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:38:02.962Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:38:03.825Z] ---> package-listing.sh [2022-04-13T23:38:03.825Z] ++ facter osfamily [2022-04-13T23:38:03.825Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T23:38:04.086Z] + OS_FAMILY=debian [2022-04-13T23:38:04.086Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-153 [2022-04-13T23:38:04.086Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T23:38:04.086Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T23:38:04.086Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T23:38:04.086Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T23:38:04.086Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-153 ']' [2022-04-13T23:38:04.086Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T23:38:04.086Z] + case "${OS_FAMILY}" in [2022-04-13T23:38:04.086Z] + dpkg -l [2022-04-13T23:38:04.086Z] + grep '^ii' [2022-04-13T23:38:04.086Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T23:38:04.086Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T23:38:04.086Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T23:38:04.086Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-153 ']' [2022-04-13T23:38:04.086Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-153/archives/ [2022-04-13T23:38:04.086Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-153/archives/ [Pipeline] echo [2022-04-13T23:38:04.099Z] 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T23:38:04.379Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T23:38:04.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T23:38:04.936Z] . [Pipeline] withDockerContainer [2022-04-13T23:38:05.135Z] prd-ubuntu20.04-docker-8c-8g-20868 does not seem to be running inside a container [2022-04-13T23:38:05.194Z] $ 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-153/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-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T23:38:05.574Z] $ docker top e3979acc4bcfcaba75d41f279e4cb10b2e7e4848330b3bd354fbee7d525e423f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T23:38:05.934Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T23:38:06.224Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T23:38:06.516Z] + ls /var/log/sa-host [2022-04-13T23:38:06.516Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T23:38:06.602Z] provisioning config files... [2022-04-13T23:38:06.612Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config1224295535738378116tmp [Pipeline] { [Pipeline] echo [2022-04-13T23:38:06.631Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:38:06.918Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T23:38:06.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:38:07.261Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T23:38:07.272Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:38:07.559Z] ---> sudo-logs.sh [2022-04-13T23:38:07.559Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T23:38:07.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:38:07.884Z] ---> job-cost.sh [2022-04-13T23:38:07.884Z] lf-activate-venv: SKIPPING [2022-04-13T23:38:07.884Z] DEBUG: total: 0.2199999988079071 [2022-04-13T23:38:07.884Z] INFO: Retrieving Stack Cost... [2022-04-13T23:38:08.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T23:38:09.026Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T23:38:09.036Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T23:38:09.316Z] ---> logs-deploy.sh [2022-04-13T23:38:09.316Z] lf-activate-venv: SKIPPING [2022-04-13T23:38:09.316Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-153/3 [2022-04-13T23:38:09.316Z] INFO: archiving workspace using pattern(s): [2022-04-13T23:38:10.259Z] Archives upload complete. [2022-04-13T23:38:10.259Z] INFO: archiving logs to Nexus