Pull request #141 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jeffrey1205 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f2700d797dde70a27600e51c0b144607fa1919f0 rather than 35dd59a8f3481e615c342c88adb74faa9f16d6ad Obtained Jenkinsfile from f2700d797dde70a27600e51c0b144607fa1919f0 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-ssh1157167691053081618.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-ssh14793421691200869314.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-141/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-141/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15928272921393195963.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-141/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8583591111991513171.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh17831746757886587319.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-141/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-141/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6310787954105996017.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7107 in /w/workspace/gexfoundry_device-snmp-go_PR-141 [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-141 # 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 f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 35dd59a8f3481e615c342c88adb74faa9f16d6ad Merge succeeded, producing 35dd59a8f3481e615c342c88adb74faa9f16d6ad Checking out Revision 35dd59a8f3481e615c342c88adb74faa9f16d6ad (PR-141) > 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/141/head:refs/remotes/origin/PR-141 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # 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 f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # timeout=10 Commit message: "FIX:edgex-launch.sh Error, disordered log output" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-15T09:02:29.700Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-15T09:02:29.895Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-15T09:02:30.002Z] ========================================================= [2022-03-15T09:02:30.002Z] EdgeX Global Pipelines Version Info [2022-03-15T09:02:30.002Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:02:30.821Z] ------------------- [2022-03-15T09:02:30.821Z] stable info: [2022-03-15T09:02:30.821Z] ------------------- [2022-03-15T09:02:30.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-15T09:02:30.821Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-15T09:02:30.821Z] Message: update stable to v1.0.221 [2022-03-15T09:02:31.398Z] ------------------- [2022-03-15T09:02:31.398Z] experimental info: [2022-03-15T09:02:31.398Z] ------------------- [2022-03-15T09:02:31.398Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-15T09:02:31.398Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-15T09:02:31.398Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-15T09:02:31.723Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-03-15T09:02:31.770Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-03-15T09:02:31.809Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-15T09:02:31.854Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-15T09:02:31.891Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-15T09:02:31.929Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-15T09:02:31.966Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-15T09:02:32.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-15T09:02:32.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-15T09:02:32.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-15T09:02:32.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-15T09:02:32.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-03-15T09:02:32.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-15T09:02:32.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-15T09:02:32.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-15T09:02:32.353Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-15T09:02:32.399Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-15T09:02:32.442Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-15T09:02:32.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-15T09:02:32.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-15T09:02:32.563Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-15T09:02:32.607Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-15T09:02:32.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-15T09:02:32.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-15T09:02:32.738Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-15T09:02:32.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-15T09:02:32.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-141 [Pipeline] echo [2022-03-15T09:02:32.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-141 [Pipeline] echo [2022-03-15T09:02:32.915Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-141 [Pipeline] echo [2022-03-15T09:02:32.953Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo [2022-03-15T09:02:32.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35dd59a [Pipeline] echo [2022-03-15T09:02:33.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-15T09:02:33.150Z] provisioning config files... [2022-03-15T09:02:33.167Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config1221268448785664171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:02:33.518Z] ---> docker-login.sh [2022-03-15T09:02:33.518Z] nexus3.edgexfoundry.org:10001 [2022-03-15T09:02:33.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:33.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:33.780Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:33.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:33.780Z] [2022-03-15T09:02:33.780Z] Login Succeeded [2022-03-15T09:02:33.780Z] nexus3.edgexfoundry.org:10002 [2022-03-15T09:02:34.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:34.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:34.043Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:34.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:34.043Z] [2022-03-15T09:02:34.043Z] Login Succeeded [2022-03-15T09:02:34.043Z] nexus3.edgexfoundry.org:10003 [2022-03-15T09:02:34.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:34.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:34.305Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:34.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:34.305Z] [2022-03-15T09:02:34.305Z] Login Succeeded [2022-03-15T09:02:34.305Z] nexus3.edgexfoundry.org:10004 [2022-03-15T09:02:34.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:34.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:34.305Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:34.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:34.305Z] [2022-03-15T09:02:34.305Z] Login Succeeded [2022-03-15T09:02:34.305Z] docker.io [2022-03-15T09:02:34.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:34.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:34.830Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:34.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:34.830Z] [2022-03-15T09:02:34.830Z] Login Succeeded [2022-03-15T09:02:34.830Z] ---> docker-login.sh ends [Pipeline] } [2022-03-15T09:02:34.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-15T09:02:35.525Z] + git rev-list -1 --merges 35dd59a8f3481e615c342c88adb74faa9f16d6ad~1..35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo [2022-03-15T09:02:35.580Z] -----------> git rev-list -1 --merges 35dd59a8f3481e615c342c88adb74faa9f16d6ad~1..35dd59a8f3481e615c342c88adb74faa9f16d6ad 35dd59a8f3481e615c342c88adb74faa9f16d6ad [false] [Pipeline] sh [2022-03-15T09:02:35.898Z] + git log --format=format:%s -1 35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo [2022-03-15T09:02:35.936Z] ========================================================= [2022-03-15T09:02:35.936Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-15T09:02:35.936Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-15T09:02:36.387Z] + git log --format=format:%s -1 35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo [2022-03-15T09:02:36.419Z] [semverPrep] GIT_COMMIT: 35dd59a8f3481e615c342c88adb74faa9f16d6ad, Commit Message: FIX:edgex-launch.sh Error, disordered log output [Pipeline] echo [2022-03-15T09:02:36.449Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-15T09:02:36.896Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-15T09:02:36.896Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-15T09:02:36.896Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-15T09:02:36.896Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-15T09:02:36.896Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-15T09:02:36.896Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-15T09:02:36.896Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:02:37.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-15T09:02:37.365Z] [2022-03-15T09:02:37.365Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:02:37.706Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-15T09:02:37.706Z] latest: Pulling from edgex-devops/git-semver [2022-03-15T09:02:37.706Z] a0d0a0d46f8b: Pulling fs layer [2022-03-15T09:02:37.706Z] 3e5f54012d9b: Pulling fs layer [2022-03-15T09:02:37.706Z] 4c7163046ea9: Pulling fs layer [2022-03-15T09:02:37.706Z] 0c2d73faf560: Pulling fs layer [2022-03-15T09:02:37.706Z] 0c2d73faf560: Waiting [2022-03-15T09:02:37.706Z] 3e5f54012d9b: Verifying Checksum [2022-03-15T09:02:37.706Z] 3e5f54012d9b: Download complete [2022-03-15T09:02:37.706Z] a0d0a0d46f8b: Download complete [2022-03-15T09:02:37.706Z] 0c2d73faf560: Verifying Checksum [2022-03-15T09:02:37.706Z] 0c2d73faf560: Download complete [2022-03-15T09:02:37.706Z] 4c7163046ea9: Verifying Checksum [2022-03-15T09:02:37.706Z] 4c7163046ea9: Download complete [2022-03-15T09:02:37.967Z] a0d0a0d46f8b: Pull complete [2022-03-15T09:02:37.967Z] 3e5f54012d9b: Pull complete [2022-03-15T09:02:38.541Z] 4c7163046ea9: Pull complete [2022-03-15T09:02:38.541Z] 0c2d73faf560: Pull complete [2022-03-15T09:02:38.541Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-15T09:02:38.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-15T09:02:38.541Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-15T09:02:38.655Z] prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container [2022-03-15T09:02:38.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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-03-15T09:02:39.457Z] $ docker top ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-15T09:02:39.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-15T09:02:39.653Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-15T09:02:39.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-15T09:02:39.799Z] $ docker exec ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent [2022-03-15T09:02:39.929Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpDhMgl/agent.14 [2022-03-15T09:02:39.929Z] SSH_AGENT_PID=21 [2022-03-15T09:02:39.939Z] Running ssh-add (command line suppressed) [2022-03-15T09:02:40.070Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_6715026485384476072.key (/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_6715026485384476072.key) [2022-03-15T09:02:40.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-15T09:02:40.420Z] + git tag --points-at HEAD [Pipeline] } [2022-03-15T09:02:40.448Z] $ docker exec --env ******** --env ******** ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent -k [2022-03-15T09:02:40.573Z] unset SSH_AUTH_SOCK; [2022-03-15T09:02:40.573Z] unset SSH_AGENT_PID; [2022-03-15T09:02:40.573Z] echo Agent pid 21 killed; [2022-03-15T09:02:40.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-15T09:02:40.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-15T09:02:40.671Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-15T09:02:40.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-15T09:02:40.819Z] $ docker exec ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent [2022-03-15T09:02:40.939Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkIEDAp/agent.53 [2022-03-15T09:02:40.939Z] SSH_AGENT_PID=59 [2022-03-15T09:02:40.946Z] Running ssh-add (command line suppressed) [2022-03-15T09:02:41.075Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_5516645905576811873.key (/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_5516645905576811873.key) [2022-03-15T09:02:41.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-15T09:02:41.433Z] + git semver init [2022-03-15T09:02:41.433Z] # -> Open(): unable to determine branch for HEAD [2022-03-15T09:02:41.433Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-141/.git [2022-03-15T09:02:41.433Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-141 [2022-03-15T09:02:41.433Z] # $SEMVER_REMOTE_NAME = origin [2022-03-15T09:02:41.433Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-15T09:02:41.433Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-15T09:02:41.433Z] # $SEMVER_BRANCH = PR-141 [2022-03-15T09:02:41.433Z] # $SEMVER_TEMP = /tmp/semver-443297825 [2022-03-15T09:02:41.433Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-03-15T09:02:42.378Z] # '/tmp/semver-443297825' -> '/w/workspace/gexfoundry_device-snmp-go_PR-141/.semver' [2022-03-15T09:02:42.378Z] # -> Force: false [2022-03-15T09:02:42.378Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-141/.semver [Pipeline] } [2022-03-15T09:02:42.412Z] $ docker exec --env ******** --env ******** ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent -k [2022-03-15T09:02:42.526Z] unset SSH_AUTH_SOCK; [2022-03-15T09:02:42.526Z] unset SSH_AGENT_PID; [2022-03-15T09:02:42.527Z] echo Agent pid 59 killed; [2022-03-15T09:02:42.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-15T09:02:42.953Z] + git semver [Pipeline] } [2022-03-15T09:02:42.994Z] $ docker stop --time=1 ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 [2022-03-15T09:02:44.355Z] $ docker rm -f ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-15T09:02:44.773Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-15T09:02:45.102Z] Stashed 1 file(s) [Pipeline] echo [2022-03-15T09:02:45.122Z] [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-03-15T09:02:45.752Z] provisioning config files... [2022-03-15T09:02:45.764Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config1763867242655016353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:02:46.122Z] ---> docker-login.sh [2022-03-15T09:02:46.122Z] nexus3.edgexfoundry.org:10001 [2022-03-15T09:02:46.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:46.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:46.122Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:46.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:46.122Z] [2022-03-15T09:02:46.122Z] Login Succeeded [2022-03-15T09:02:46.122Z] nexus3.edgexfoundry.org:10002 [2022-03-15T09:02:46.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:46.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:46.384Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:46.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:46.384Z] [2022-03-15T09:02:46.384Z] Login Succeeded [2022-03-15T09:02:46.384Z] nexus3.edgexfoundry.org:10003 [2022-03-15T09:02:46.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:46.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:46.384Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:46.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:46.384Z] [2022-03-15T09:02:46.384Z] Login Succeeded [2022-03-15T09:02:46.384Z] nexus3.edgexfoundry.org:10004 [2022-03-15T09:02:46.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:46.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:46.646Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:46.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:46.646Z] [2022-03-15T09:02:46.646Z] Login Succeeded [2022-03-15T09:02:46.646Z] docker.io [2022-03-15T09:02:46.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:02:46.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:02:46.908Z] Configure a credential helper to remove this warning. See [2022-03-15T09:02:46.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:02:46.908Z] [2022-03-15T09:02:46.908Z] Login Succeeded [2022-03-15T09:02:46.908Z] ---> docker-login.sh ends [Pipeline] } [2022-03-15T09:02:46.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-15T09:02:47.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-15T09:02:47.167Z] ========================================================= [2022-03-15T09:02:47.167Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-15T09:02:47.167Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:02:47.588Z] + 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-03-15T09:02:47.588Z] Sending build context to Docker daemon 5.208MB [2022-03-15T09:02:47.588Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-15T09:02:47.588Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-15T09:02:47.588Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-15T09:02:47.588Z] 59bf1c3509f3: Pulling fs layer [2022-03-15T09:02:47.588Z] 666ba61612fd: Pulling fs layer [2022-03-15T09:02:47.588Z] 8ed8ca486205: Pulling fs layer [2022-03-15T09:02:47.588Z] 4fe6c5a15a65: Pulling fs layer [2022-03-15T09:02:47.588Z] 22a0e8bec74d: Pulling fs layer [2022-03-15T09:02:47.588Z] 640e595b4fbd: Pulling fs layer [2022-03-15T09:02:47.588Z] 763cafe07f6e: Pulling fs layer [2022-03-15T09:02:47.588Z] 0c0b528cf693: Pulling fs layer [2022-03-15T09:02:47.588Z] 10935f4eaf8b: Pulling fs layer [2022-03-15T09:02:47.588Z] 640e595b4fbd: Waiting [2022-03-15T09:02:47.588Z] 763cafe07f6e: Waiting [2022-03-15T09:02:47.588Z] 0c0b528cf693: Waiting [2022-03-15T09:02:47.588Z] 10935f4eaf8b: Waiting [2022-03-15T09:02:47.588Z] 4fe6c5a15a65: Waiting [2022-03-15T09:02:47.588Z] 8ed8ca486205: Verifying Checksum [2022-03-15T09:02:47.588Z] 8ed8ca486205: Download complete [2022-03-15T09:02:47.588Z] 666ba61612fd: Verifying Checksum [2022-03-15T09:02:47.588Z] 666ba61612fd: Download complete [2022-03-15T09:02:47.850Z] 22a0e8bec74d: Verifying Checksum [2022-03-15T09:02:47.850Z] 22a0e8bec74d: Download complete [2022-03-15T09:02:47.850Z] 640e595b4fbd: Verifying Checksum [2022-03-15T09:02:47.850Z] 640e595b4fbd: Download complete [2022-03-15T09:02:47.850Z] 59bf1c3509f3: Verifying Checksum [2022-03-15T09:02:47.850Z] 59bf1c3509f3: Download complete [2022-03-15T09:02:47.850Z] 763cafe07f6e: Verifying Checksum [2022-03-15T09:02:47.850Z] 763cafe07f6e: Download complete [2022-03-15T09:02:47.850Z] 0c0b528cf693: Verifying Checksum [2022-03-15T09:02:47.850Z] 0c0b528cf693: Download complete [2022-03-15T09:02:47.850Z] 59bf1c3509f3: Pull complete [2022-03-15T09:02:48.112Z] 666ba61612fd: Pull complete [2022-03-15T09:02:48.112Z] 8ed8ca486205: Pull complete [2022-03-15T09:02:48.373Z] 10935f4eaf8b: Verifying Checksum [2022-03-15T09:02:48.373Z] 10935f4eaf8b: Download complete [2022-03-15T09:02:48.633Z] 4fe6c5a15a65: Verifying Checksum [2022-03-15T09:02:48.633Z] 4fe6c5a15a65: Download complete [2022-03-15T09:02:52.838Z] 4fe6c5a15a65: Pull complete [2022-03-15T09:02:52.838Z] 22a0e8bec74d: Pull complete [2022-03-15T09:02:52.838Z] 640e595b4fbd: Pull complete [2022-03-15T09:02:52.838Z] 763cafe07f6e: Pull complete [2022-03-15T09:02:52.838Z] 0c0b528cf693: Pull complete [2022-03-15T09:02:55.379Z] 10935f4eaf8b: Pull complete [2022-03-15T09:02:55.379Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-15T09:02:55.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-15T09:02:55.379Z] ---> 99d49a6021b9 [2022-03-15T09:02:55.379Z] Step 3/12 : ARG MAKE='make build' [2022-03-15T09:02:56.769Z] ---> Running in de4458810178 [2022-03-15T09:02:56.769Z] Removing intermediate container de4458810178 [2022-03-15T09:02:56.769Z] ---> fe6118cfd02f [2022-03-15T09:02:56.769Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-15T09:02:56.769Z] ---> Running in 8304bfbba024 [2022-03-15T09:02:56.769Z] Removing intermediate container 8304bfbba024 [2022-03-15T09:02:56.769Z] ---> a29a7663d1fe [2022-03-15T09:02:56.769Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-15T09:02:57.031Z] ---> Running in 8ae18e86104d [2022-03-15T09:02:57.031Z] Removing intermediate container 8ae18e86104d [2022-03-15T09:02:57.031Z] ---> 222bed623b12 [2022-03-15T09:02:57.031Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-15T09:02:57.031Z] ---> Running in 23adf7c89172 [2022-03-15T09:02:57.603Z] Removing intermediate container 23adf7c89172 [2022-03-15T09:02:57.603Z] ---> 838a4fd88997 [2022-03-15T09:02:57.603Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-15T09:02:57.603Z] ---> Running in b659f35201f3 [2022-03-15T09:02:57.863Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-15T09:02:58.808Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-15T09:02:59.069Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-15T09:02:59.331Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-15T09:02:59.331Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-15T09:02:59.591Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-15T09:02:59.591Z] Executing busybox-1.34.1-r3.trigger [2022-03-15T09:02:59.591Z] OK: 224 MiB in 56 packages [2022-03-15T09:02:59.852Z] Removing intermediate container b659f35201f3 [2022-03-15T09:02:59.852Z] ---> e10a2af24981 [2022-03-15T09:02:59.852Z] Step 8/12 : WORKDIR /device-snmp-go [2022-03-15T09:03:00.113Z] ---> Running in 2943409af9f3 [2022-03-15T09:03:00.113Z] Removing intermediate container 2943409af9f3 [2022-03-15T09:03:00.113Z] ---> ad77b142db15 [2022-03-15T09:03:00.113Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-15T09:03:00.375Z] ---> e93f7a96cf81 [2022-03-15T09:03:00.375Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-15T09:03:00.375Z] ---> Running in a1ce72450c96 [2022-03-15T09:03:00.550Z] Still waiting to schedule task [2022-03-15T09:03:00.550Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-15T09:03:32.513Z] Removing intermediate container a1ce72450c96 [2022-03-15T09:03:32.513Z] ---> 34082381eb83 [2022-03-15T09:03:32.513Z] Step 11/12 : COPY . . [2022-03-15T09:03:32.513Z] ---> 0b85af33af2e [2022-03-15T09:03:32.513Z] Step 12/12 : RUN ${MAKE} [2022-03-15T09:03:32.513Z] ---> Running in 71ace22ef940 [2022-03-15T09:03:32.513Z] noop [2022-03-15T09:03:32.513Z] Removing intermediate container 71ace22ef940 [2022-03-15T09:03:32.513Z] ---> 9602f9a61443 [2022-03-15T09:03:32.513Z] Successfully built 9602f9a61443 [2022-03-15T09:03:32.513Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:03:32.852Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-15T09:03:32.852Z] . [Pipeline] withDockerContainer [2022-03-15T09:03:32.940Z] prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container [2022-03-15T09:03:32.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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-03-15T09:03:33.514Z] $ docker top 94d357813b7f71813d222ec934d7c931294581d5a6e79d92f59ce66683b1d9f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-15T09:03:33.907Z] + go version [2022-03-15T09:03:33.907Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-15T09:03:33.946Z] $ docker stop --time=1 94d357813b7f71813d222ec934d7c931294581d5a6e79d92f59ce66683b1d9f7 [2022-03-15T09:03:35.251Z] $ docker rm -f 94d357813b7f71813d222ec934d7c931294581d5a6e79d92f59ce66683b1d9f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:03:35.921Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-15T09:03:35.922Z] . [Pipeline] withDockerContainer [2022-03-15T09:03:36.014Z] prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container [2022-03-15T09:03:36.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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-03-15T09:03:36.437Z] $ docker top 6084a171d9a90b1803a4f8c7f8d267e99b81c0c732b4212654bffa6c74acedac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-15T09:03:36.918Z] + make test [2022-03-15T09:03:36.918Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-15T09:03:37.177Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-03-15T09:03:43.759Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-03-15T09:03:43.759Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2022-03-15T09:03:43.759Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-15T09:03:47.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-15T09:03:47.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-15T09:03:47.067Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-15T09:03:47.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-15T09:03:47.144Z] $ docker stop --time=1 6084a171d9a90b1803a4f8c7f8d267e99b81c0c732b4212654bffa6c74acedac [2022-03-15T09:03:48.636Z] $ docker rm -f 6084a171d9a90b1803a4f8c7f8d267e99b81c0c732b4212654bffa6c74acedac [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-15T09:03:49.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-15T09:03:49.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-15T09:03:50.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-15T09:03:50.665Z] + ls -al . [2022-03-15T09:03:50.665Z] total 176 [2022-03-15T09:03:50.665Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 09:03 . [2022-03-15T09:03:50.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:02 .. [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 09:02 .dockerignore [2022-03-15T09:03:50.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:02 .git [2022-03-15T09:03:50.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:02 .github [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 15 09:02 .gitignore [2022-03-15T09:03:50.665Z] drwx------ 3 jenkins jenkins 4096 Mar 15 09:02 .semver [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 6926 Mar 15 09:02 Attribution.txt [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 4401 Mar 15 09:02 CHANGELOG.md [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 1516 Mar 15 09:02 Dockerfile [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 09:02 GOVERNANCE.md [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 09:02 Jenkinsfile [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 09:02 LICENSE [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 1057 Mar 15 09:02 Makefile [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 09:02 OWNERS.md [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 9073 Mar 15 09:02 README.md [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 09:02 VERSION [2022-03-15T09:03:50.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:02 bin [2022-03-15T09:03:50.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:02 cmd [2022-03-15T09:03:50.665Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 09:03 coverage.out [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 2820 Mar 15 09:02 go.mod [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 49501 Mar 15 09:02 go.sum [2022-03-15T09:03:50.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:02 internal [2022-03-15T09:03:50.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:02 snap [2022-03-15T09:03:50.665Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 09:02 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:03:51.011Z] + 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=35dd59a8f3481e615c342c88adb74faa9f16d6ad --label arch=amd64 --label version=0.0.0 . [2022-03-15T09:03:51.011Z] Sending build context to Docker daemon 5.216MB [2022-03-15T09:03:51.011Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-03-15T09:03:51.011Z] Step 2/24 : FROM ${BASE} AS builder [2022-03-15T09:03:51.011Z] ---> 9602f9a61443 [2022-03-15T09:03:51.011Z] Step 3/24 : ARG MAKE='make build' [2022-03-15T09:03:51.011Z] ---> Running in 9a7d5a142818 [2022-03-15T09:03:51.271Z] Removing intermediate container 9a7d5a142818 [2022-03-15T09:03:51.271Z] ---> 4b064562a790 [2022-03-15T09:03:51.271Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-15T09:03:51.271Z] ---> Running in 65d415ac1ae3 [2022-03-15T09:03:51.271Z] Removing intermediate container 65d415ac1ae3 [2022-03-15T09:03:51.271Z] ---> 8c5cdc209784 [2022-03-15T09:03:51.271Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-03-15T09:03:51.271Z] ---> Running in abce4546f049 [2022-03-15T09:03:51.532Z] Removing intermediate container abce4546f049 [2022-03-15T09:03:51.532Z] ---> 62fcfa3aff66 [2022-03-15T09:03:51.532Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-15T09:03:51.532Z] ---> Running in 4381f1059215 [2022-03-15T09:03:52.102Z] Removing intermediate container 4381f1059215 [2022-03-15T09:03:52.102Z] ---> 868c3d45c911 [2022-03-15T09:03:52.102Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-15T09:03:52.102Z] ---> Running in a1787717db2b [2022-03-15T09:03:52.362Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-15T09:03:53.303Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-15T09:03:53.567Z] OK: 224 MiB in 56 packages [2022-03-15T09:03:53.827Z] Removing intermediate container a1787717db2b [2022-03-15T09:03:53.827Z] ---> 7c193b3dcc9d [2022-03-15T09:03:53.827Z] Step 8/24 : WORKDIR /device-snmp-go [2022-03-15T09:03:53.827Z] ---> Running in 340c1c30966f [2022-03-15T09:03:53.827Z] Removing intermediate container 340c1c30966f [2022-03-15T09:03:53.827Z] ---> 138e1c136787 [2022-03-15T09:03:53.827Z] Step 9/24 : COPY go.mod vendor* ./ [2022-03-15T09:03:54.088Z] ---> 74920833abd3 [2022-03-15T09:03:54.088Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-15T09:03:54.088Z] ---> Running in d0b1f6b0b9e0 [2022-03-15T09:03:54.659Z] Removing intermediate container d0b1f6b0b9e0 [2022-03-15T09:03:54.659Z] ---> be9c119eee83 [2022-03-15T09:03:54.659Z] Step 11/24 : COPY . . [2022-03-15T09:03:54.921Z] ---> 6f5cbac8cea1 [2022-03-15T09:03:54.921Z] Step 12/24 : RUN ${MAKE} [2022-03-15T09:03:54.921Z] ---> Running in 1a34829529a3 [2022-03-15T09:03:55.180Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2022-03-15T09:04:03.316Z] Removing intermediate container 1a34829529a3 [2022-03-15T09:04:03.316Z] ---> f5539c738996 [2022-03-15T09:04:03.316Z] Step 13/24 : FROM alpine:3.14 [2022-03-15T09:04:03.316Z] 3.14: Pulling from library/alpine [2022-03-15T09:04:03.316Z] 97518928ae5f: Pulling fs layer [2022-03-15T09:04:03.316Z] 97518928ae5f: Verifying Checksum [2022-03-15T09:04:03.316Z] 97518928ae5f: Download complete [2022-03-15T09:04:03.316Z] 97518928ae5f: Pull complete [2022-03-15T09:04:03.316Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-15T09:04:03.316Z] Status: Downloaded newer image for alpine:3.14 [2022-03-15T09:04:03.316Z] ---> 0a97eee8041e [2022-03-15T09:04:03.316Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-15T09:04:03.316Z] ---> Running in febbcce4aa45 [2022-03-15T09:04:03.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-15T09:04:03.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-15T09:04:03.576Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-15T09:04:03.576Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-15T09:04:03.576Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-15T09:04:03.576Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-15T09:04:03.576Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-15T09:04:03.576Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-15T09:04:03.838Z] Executing busybox-1.33.1-r6.trigger [2022-03-15T09:04:03.838Z] OK: 8 MiB in 20 packages [2022-03-15T09:04:04.101Z] Removing intermediate container febbcce4aa45 [2022-03-15T09:04:04.101Z] ---> 8d794968218f [2022-03-15T09:04:04.101Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-03-15T09:04:04.362Z] ---> fe2ffcb8d1f7 [2022-03-15T09:04:04.362Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-03-15T09:04:04.622Z] ---> 71d54e1837ee [2022-03-15T09:04:04.622Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-03-15T09:04:04.622Z] ---> e690501d4c0f [2022-03-15T09:04:04.622Z] Step 18/24 : EXPOSE 59993 [2022-03-15T09:04:04.622Z] ---> Running in 6ed903305695 [2022-03-15T09:04:04.884Z] Removing intermediate container 6ed903305695 [2022-03-15T09:04:04.884Z] ---> b8fe95ea0856 [2022-03-15T09:04:04.884Z] Step 19/24 : EXPOSE 161 [2022-03-15T09:04:04.884Z] ---> Running in 2561d05501a4 [2022-03-15T09:04:04.884Z] Removing intermediate container 2561d05501a4 [2022-03-15T09:04:04.884Z] ---> f289e62f1a17 [2022-03-15T09:04:04.884Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-03-15T09:04:04.884Z] ---> Running in 493ab42912c8 [2022-03-15T09:04:05.145Z] Removing intermediate container 493ab42912c8 [2022-03-15T09:04:05.145Z] ---> c5eb45dd5979 [2022-03-15T09:04:05.145Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-15T09:04:05.145Z] ---> Running in a389ef3beb30 [2022-03-15T09:04:05.145Z] Removing intermediate container a389ef3beb30 [2022-03-15T09:04:05.145Z] ---> 5569de7ff9a6 [2022-03-15T09:04:05.145Z] Step 22/24 : LABEL arch=amd64 [2022-03-15T09:04:05.423Z] ---> Running in 15de95db2a4d [2022-03-15T09:04:05.423Z] Removing intermediate container 15de95db2a4d [2022-03-15T09:04:05.423Z] ---> b65c46ed0a30 [2022-03-15T09:04:05.423Z] Step 23/24 : LABEL git_sha=35dd59a8f3481e615c342c88adb74faa9f16d6ad [2022-03-15T09:04:05.423Z] ---> Running in cde4f2188eb4 [2022-03-15T09:04:05.423Z] Removing intermediate container cde4f2188eb4 [2022-03-15T09:04:05.423Z] ---> 84a2711971d5 [2022-03-15T09:04:05.423Z] Step 24/24 : LABEL version=0.0.0 [2022-03-15T09:04:05.687Z] ---> Running in ca776b0df430 [2022-03-15T09:04:05.687Z] Removing intermediate container ca776b0df430 [2022-03-15T09:04:05.687Z] ---> d063e969893d [2022-03-15T09:04:05.687Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-15T09:04:05.687Z] Successfully built d063e969893d [2022-03-15T09:04:05.687Z] 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-03-15T09:04:06.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:04:06.415Z] [2022-03-15T09:04:06.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:04:06.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:04:06.762Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-15T09:04:06.762Z] 5eb5b503b376: Pulling fs layer [2022-03-15T09:04:06.762Z] 5c69ac0246d0: Pulling fs layer [2022-03-15T09:04:06.762Z] ec43610c2a17: Pulling fs layer [2022-03-15T09:04:06.762Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-15T09:04:06.762Z] 33b1e0a273af: Pulling fs layer [2022-03-15T09:04:06.762Z] 5d3b04190fa2: Pulling fs layer [2022-03-15T09:04:06.762Z] 2f39f015ded8: Pulling fs layer [2022-03-15T09:04:06.762Z] 5d3b04190fa2: Waiting [2022-03-15T09:04:06.762Z] 33b1e0a273af: Waiting [2022-03-15T09:04:06.762Z] 2f39f015ded8: Waiting [2022-03-15T09:04:06.762Z] 3a2ae6a8a46f: Waiting [2022-03-15T09:04:06.762Z] 5c69ac0246d0: Download complete [2022-03-15T09:04:06.762Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-15T09:04:06.762Z] 3a2ae6a8a46f: Download complete [2022-03-15T09:04:06.762Z] 33b1e0a273af: Verifying Checksum [2022-03-15T09:04:06.762Z] 33b1e0a273af: Download complete [2022-03-15T09:04:06.762Z] 5d3b04190fa2: Download complete [2022-03-15T09:04:06.762Z] ec43610c2a17: Verifying Checksum [2022-03-15T09:04:06.762Z] ec43610c2a17: Download complete [2022-03-15T09:04:07.022Z] 5eb5b503b376: Verifying Checksum [2022-03-15T09:04:07.022Z] 5eb5b503b376: Download complete [2022-03-15T09:04:07.589Z] 2f39f015ded8: Download complete [2022-03-15T09:04:08.156Z] 5eb5b503b376: Pull complete [2022-03-15T09:04:08.156Z] 5c69ac0246d0: Pull complete [2022-03-15T09:04:08.726Z] ec43610c2a17: Pull complete [2022-03-15T09:04:08.726Z] 3a2ae6a8a46f: Pull complete [2022-03-15T09:04:08.985Z] 33b1e0a273af: Pull complete [2022-03-15T09:04:08.985Z] 5d3b04190fa2: Pull complete [2022-03-15T09:04:13.183Z] 2f39f015ded8: Pull complete [2022-03-15T09:04:13.183Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-15T09:04:13.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:04:13.183Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-15T09:04:13.284Z] prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container [2022-03-15T09:04:13.329Z] $ 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-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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-03-15T09:04:14.964Z] $ docker top 841e5f8667d9445b3e4a0bef624f8deb96d77fa232dbd12083701baf8d6a37bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:04:15.463Z] ---> job-cost.sh [2022-03-15T09:04:15.463Z] lf-activate-venv: SKIPPING [2022-03-15T09:04:15.463Z] INFO: No Stack... [2022-03-15T09:04:15.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-15T09:04:16.293Z] INFO: Archiving Costs [Pipeline] sh [2022-03-15T09:04:16.610Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-141/archives/cost.csv [2022-03-15T09:04:16.610Z] + cut -d, -f6 [Pipeline] lock [2022-03-15T09:04:16.655Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [2022-03-15T09:04:16.660Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] did not exist. Created. [2022-03-15T09:04:16.660Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-15T09:04:17.049Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-15T09:04:17.102Z] Stashed 1 file(s) [Pipeline] } [2022-03-15T09:04:17.133Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-15T09:04:17.214Z] $ docker stop --time=1 841e5f8667d9445b3e4a0bef624f8deb96d77fa232dbd12083701baf8d6a37bc [2022-03-15T09:04:18.408Z] $ docker rm -f 841e5f8667d9445b3e4a0bef624f8deb96d77fa232dbd12083701baf8d6a37bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-15T09:04:39.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7108 in /w/workspace/gexfoundry_device-snmp-go_PR-141 [Pipeline] { [Pipeline] ws [2022-03-15T09:04:39.369Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-03-15T09:04:39.643Z] Selected Git installation does not exist. Using Default [2022-03-15T09:04:39.643Z] The recommended git tool is: NONE [2022-03-15T09:04:47.165Z] using credential edgex-jenkins-ssh [2022-03-15T09:04:47.182Z] Cloning the remote Git repository [2022-03-15T09:04:47.256Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-03-15T09:04:47.339Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-03-15T09:04:47.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-03-15T09:04:47.454Z] > git --version # timeout=10 [2022-03-15T09:04:47.524Z] > git --version # 'git version 2.25.1' [2022-03-15T09:04:47.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-15T09:04:47.711Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-15T09:04:49.606Z] Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 35dd59a8f3481e615c342c88adb74faa9f16d6ad [2022-03-15T09:04:49.942Z] Merge succeeded, producing 35dd59a8f3481e615c342c88adb74faa9f16d6ad [2022-03-15T09:04:49.943Z] Checking out Revision 35dd59a8f3481e615c342c88adb74faa9f16d6ad (PR-141) [2022-03-15T09:04:48.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-03-15T09:04:48.916Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-15T09:04:48.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-03-15T09:04:49.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-03-15T09:04:49.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-15T09:04:49.032Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-15T09:04:49.630Z] > git config core.sparsecheckout # timeout=10 [2022-03-15T09:04:49.668Z] > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # timeout=10 [2022-03-15T09:04:49.796Z] > git remote # timeout=10 [2022-03-15T09:04:49.844Z] > git config --get remote.origin.url # timeout=10 [2022-03-15T09:04:49.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-15T09:04:49.891Z] > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [2022-03-15T09:04:49.918Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-15T09:04:49.954Z] > git config core.sparsecheckout # timeout=10 [2022-03-15T09:04:49.985Z] > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # timeout=10 [2022-03-15T09:04:54.379Z] Commit message: "FIX:edgex-launch.sh Error, disordered log output" [2022-03-15T09:04:54.445Z] > git --version # timeout=10 [2022-03-15T09:04:54.456Z] > git --version # 'git version 2.25.1' [2022-03-15T09:04:54.470Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-15T09:04:55.598Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-15T09:04:55.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-15T09:04:55.598Z] Dload Upload Total Spent Left Speed [2022-03-15T09:04:55.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh [2022-03-15T09:04:56.167Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-15T09:04:56.532Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-03-15T09:04:56.532Z] sudo tee /etc/docker/daemon.new [2022-03-15T09:04:56.532Z] { [2022-03-15T09:04:56.532Z] "registry-mirrors": [ [2022-03-15T09:04:56.532Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-15T09:04:56.532Z] ], [2022-03-15T09:04:56.532Z] "bip": "10.250.0.254/24", [2022-03-15T09:04:56.532Z] "hosts": [ [2022-03-15T09:04:56.532Z] "tcp://0.0.0.0:5555", [2022-03-15T09:04:56.532Z] "unix:///var/run/docker.sock" [2022-03-15T09:04:56.532Z] ], [2022-03-15T09:04:56.532Z] "mtu": 1458, [2022-03-15T09:04:56.532Z] "selinux-enabled": true, [2022-03-15T09:04:56.532Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-15T09:04:56.532Z] } [Pipeline] sh [2022-03-15T09:04:56.896Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-15T09:04:57.263Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-15T09:05:15.738Z] provisioning config files... [2022-03-15T09:05:15.763Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4337659124193547772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:05:16.311Z] ---> docker-login.sh [2022-03-15T09:05:16.311Z] nexus3.edgexfoundry.org:10001 [2022-03-15T09:05:16.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:05:17.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:05:17.182Z] Configure a credential helper to remove this warning. See [2022-03-15T09:05:17.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:05:17.182Z] [2022-03-15T09:05:17.182Z] Login Succeeded [2022-03-15T09:05:17.182Z] nexus3.edgexfoundry.org:10002 [2022-03-15T09:05:17.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:05:17.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:05:17.460Z] Configure a credential helper to remove this warning. See [2022-03-15T09:05:17.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:05:17.460Z] [2022-03-15T09:05:17.460Z] Login Succeeded [2022-03-15T09:05:17.460Z] nexus3.edgexfoundry.org:10003 [2022-03-15T09:05:18.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:05:18.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:05:18.065Z] Configure a credential helper to remove this warning. See [2022-03-15T09:05:18.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:05:18.065Z] [2022-03-15T09:05:18.065Z] Login Succeeded [2022-03-15T09:05:18.065Z] nexus3.edgexfoundry.org:10004 [2022-03-15T09:05:18.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:05:18.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:05:18.615Z] Configure a credential helper to remove this warning. See [2022-03-15T09:05:18.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:05:18.615Z] [2022-03-15T09:05:18.615Z] Login Succeeded [2022-03-15T09:05:18.615Z] docker.io [2022-03-15T09:05:18.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-15T09:05:19.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-15T09:05:19.493Z] Configure a credential helper to remove this warning. See [2022-03-15T09:05:19.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-15T09:05:19.493Z] [2022-03-15T09:05:19.493Z] Login Succeeded [2022-03-15T09:05:19.493Z] ---> docker-login.sh ends [Pipeline] } [2022-03-15T09:05:19.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-15T09:05:19.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-15T09:05:19.939Z] ========================================================= [2022-03-15T09:05:19.939Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-15T09:05:19.939Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:05:20.382Z] + 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-03-15T09:05:20.657Z] Sending build context to Docker daemon 2.716MB [2022-03-15T09:05:20.657Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-15T09:05:20.657Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-15T09:05:20.936Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-15T09:05:20.936Z] 9b3977197b4f: Pulling fs layer [2022-03-15T09:05:20.936Z] 1a89e8eeedd5: Pulling fs layer [2022-03-15T09:05:20.936Z] 94645a83ff95: Pulling fs layer [2022-03-15T09:05:20.936Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-15T09:05:20.936Z] 0c92f367c5e7: Pulling fs layer [2022-03-15T09:05:20.936Z] f7c0051592d6: Pulling fs layer [2022-03-15T09:05:20.936Z] a227ed2f7395: Pulling fs layer [2022-03-15T09:05:20.936Z] 7b1c46037f91: Pulling fs layer [2022-03-15T09:05:20.936Z] 3f3a8bcf1eab: Waiting [2022-03-15T09:05:20.936Z] 0c92f367c5e7: Waiting [2022-03-15T09:05:20.936Z] f7c0051592d6: Waiting [2022-03-15T09:05:20.936Z] a227ed2f7395: Waiting [2022-03-15T09:05:20.936Z] 7b1c46037f91: Waiting [2022-03-15T09:05:20.936Z] 94645a83ff95: Verifying Checksum [2022-03-15T09:05:20.936Z] 94645a83ff95: Download complete [2022-03-15T09:05:20.936Z] 1a89e8eeedd5: Download complete [2022-03-15T09:05:20.936Z] 0c92f367c5e7: Verifying Checksum [2022-03-15T09:05:20.936Z] 0c92f367c5e7: Download complete [2022-03-15T09:05:20.936Z] f7c0051592d6: Verifying Checksum [2022-03-15T09:05:20.936Z] f7c0051592d6: Download complete [2022-03-15T09:05:20.936Z] 9b3977197b4f: Download complete [2022-03-15T09:05:20.936Z] a227ed2f7395: Verifying Checksum [2022-03-15T09:05:20.936Z] a227ed2f7395: Download complete [2022-03-15T09:05:21.936Z] 9b3977197b4f: Pull complete [2022-03-15T09:05:22.222Z] 1a89e8eeedd5: Pull complete [2022-03-15T09:05:22.827Z] 94645a83ff95: Pull complete [2022-03-15T09:05:23.103Z] 7b1c46037f91: Verifying Checksum [2022-03-15T09:05:23.103Z] 7b1c46037f91: Download complete [2022-03-15T09:05:23.701Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-15T09:05:23.701Z] 3f3a8bcf1eab: Download complete [2022-03-15T09:05:36.113Z] 3f3a8bcf1eab: Pull complete [2022-03-15T09:05:36.113Z] 0c92f367c5e7: Pull complete [2022-03-15T09:05:36.113Z] f7c0051592d6: Pull complete [2022-03-15T09:05:36.388Z] a227ed2f7395: Pull complete [2022-03-15T09:05:43.110Z] 7b1c46037f91: Pull complete [2022-03-15T09:05:43.110Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-15T09:05:43.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-15T09:05:43.110Z] ---> f79e39bc4007 [2022-03-15T09:05:43.110Z] Step 3/12 : ARG MAKE='make build' [2022-03-15T09:05:44.096Z] ---> Running in 29d69723b2d0 [2022-03-15T09:05:44.096Z] Removing intermediate container 29d69723b2d0 [2022-03-15T09:05:44.096Z] ---> 05c229a86c89 [2022-03-15T09:05:44.096Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-15T09:05:44.371Z] ---> Running in 7a22208f99c9 [2022-03-15T09:05:44.646Z] Removing intermediate container 7a22208f99c9 [2022-03-15T09:05:44.646Z] ---> eabb4cf22c8a [2022-03-15T09:05:44.646Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-15T09:05:44.646Z] ---> Running in ce7f39ddb31c [2022-03-15T09:05:44.927Z] Removing intermediate container ce7f39ddb31c [2022-03-15T09:05:44.927Z] ---> a3259c6395bb [2022-03-15T09:05:44.927Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-15T09:05:44.927Z] ---> Running in c4b4680fcfad [2022-03-15T09:05:46.922Z] Removing intermediate container c4b4680fcfad [2022-03-15T09:05:46.922Z] ---> 0feda38621bd [2022-03-15T09:05:46.922Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-15T09:05:46.922Z] ---> Running in a7ef9adfed25 [2022-03-15T09:05:47.910Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-15T09:05:48.887Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-15T09:05:49.490Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-15T09:05:49.490Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-15T09:05:49.764Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-15T09:05:49.764Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-15T09:05:50.036Z] Executing busybox-1.34.1-r3.trigger [2022-03-15T09:05:50.036Z] OK: 224 MiB in 56 packages [2022-03-15T09:05:51.043Z] Removing intermediate container a7ef9adfed25 [2022-03-15T09:05:51.043Z] ---> 1718144da86e [2022-03-15T09:05:51.043Z] Step 8/12 : WORKDIR /device-snmp-go [2022-03-15T09:05:51.043Z] ---> Running in 1a50d15a2563 [2022-03-15T09:05:51.317Z] Removing intermediate container 1a50d15a2563 [2022-03-15T09:05:51.317Z] ---> de6b8ce06f39 [2022-03-15T09:05:51.317Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-15T09:05:51.915Z] ---> 1cc3ae876a29 [2022-03-15T09:05:51.915Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-15T09:05:51.915Z] ---> Running in 1b464b84c6d1 [2022-03-15T09:07:13.723Z] Removing intermediate container 1b464b84c6d1 [2022-03-15T09:07:13.723Z] ---> fcc6eb86777f [2022-03-15T09:07:13.723Z] Step 11/12 : COPY . . [2022-03-15T09:07:13.723Z] ---> e84a5cf48008 [2022-03-15T09:07:13.723Z] Step 12/12 : RUN ${MAKE} [2022-03-15T09:07:13.723Z] ---> Running in 44bc3ffd2713 [2022-03-15T09:07:14.011Z] noop [2022-03-15T09:07:14.617Z] Removing intermediate container 44bc3ffd2713 [2022-03-15T09:07:14.617Z] ---> dd92152486c8 [2022-03-15T09:07:14.893Z] Successfully built dd92152486c8 [2022-03-15T09:07:14.893Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:07:15.265Z] + docker inspect -f . ci-base-image-arm64 [2022-03-15T09:07:15.265Z] . [Pipeline] withDockerContainer [2022-03-15T09:07:15.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container [2022-03-15T09:07:15.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-15T09:07:16.817Z] $ docker top 0ab2eac29a84f3a282c140af9e749a5d8853cfcbf8248c82a7b3a05ac6df8920 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-15T09:07:17.772Z] + go version [2022-03-15T09:07:17.772Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-15T09:07:17.811Z] $ docker stop --time=1 0ab2eac29a84f3a282c140af9e749a5d8853cfcbf8248c82a7b3a05ac6df8920 [2022-03-15T09:07:19.452Z] $ docker rm -f 0ab2eac29a84f3a282c140af9e749a5d8853cfcbf8248c82a7b3a05ac6df8920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:07:20.292Z] + docker inspect -f . ci-base-image-arm64 [2022-03-15T09:07:20.292Z] . [Pipeline] withDockerContainer [2022-03-15T09:07:20.522Z] prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container [2022-03-15T09:07:20.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-15T09:07:21.920Z] $ docker top 07d8c43c38b4cb0591247094b8135cfb5baca534d92ae20637ac8f592dce5b80 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-15T09:07:22.935Z] + make test [2022-03-15T09:07:22.935Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-15T09:07:24.382Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-03-15T09:08:11.389Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-03-15T09:08:11.389Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2022-03-15T09:08:11.389Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-15T09:08:33.568Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-15T09:08:33.568Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-15T09:08:33.568Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-15T09:08:33.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-15T09:08:33.648Z] $ docker stop --time=1 07d8c43c38b4cb0591247094b8135cfb5baca534d92ae20637ac8f592dce5b80 [2022-03-15T09:08:35.424Z] $ docker rm -f 07d8c43c38b4cb0591247094b8135cfb5baca534d92ae20637ac8f592dce5b80 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-15T09:08:36.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-15T09:08:36.308Z] Warning: overwriting stash ‘coverage-report’ [2022-03-15T09:08:36.777Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-15T09:08:37.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-15T09:08:37.719Z] + ls -al . [2022-03-15T09:08:37.719Z] total 172 [2022-03-15T09:08:37.719Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:08 . [2022-03-15T09:08:37.719Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:04 .. [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 09:04 .dockerignore [2022-03-15T09:08:37.719Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:04 .git [2022-03-15T09:08:37.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:04 .github [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 15 09:04 .gitignore [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 6926 Mar 15 09:04 Attribution.txt [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 4401 Mar 15 09:04 CHANGELOG.md [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 1516 Mar 15 09:04 Dockerfile [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 09:04 GOVERNANCE.md [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 09:04 Jenkinsfile [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 09:04 LICENSE [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 1057 Mar 15 09:04 Makefile [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 09:04 OWNERS.md [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 9073 Mar 15 09:04 README.md [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 09:02 VERSION [2022-03-15T09:08:37.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:04 bin [2022-03-15T09:08:37.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:04 cmd [2022-03-15T09:08:37.719Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 09:08 coverage.out [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 2820 Mar 15 09:04 go.mod [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 49501 Mar 15 09:04 go.sum [2022-03-15T09:08:37.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:04 internal [2022-03-15T09:08:37.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:04 snap [2022-03-15T09:08:37.719Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 09:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:08:38.128Z] + 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=35dd59a8f3481e615c342c88adb74faa9f16d6ad --label arch=arm64 --label version=0.0.0 . [2022-03-15T09:08:38.413Z] Sending build context to Docker daemon 2.724MB [2022-03-15T09:08:38.413Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-03-15T09:08:38.413Z] Step 2/24 : FROM ${BASE} AS builder [2022-03-15T09:08:38.413Z] ---> dd92152486c8 [2022-03-15T09:08:38.413Z] Step 3/24 : ARG MAKE='make build' [2022-03-15T09:08:38.708Z] ---> Running in 2a5f80126e61 [2022-03-15T09:08:38.994Z] Removing intermediate container 2a5f80126e61 [2022-03-15T09:08:38.994Z] ---> 691c959d0f71 [2022-03-15T09:08:38.994Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-15T09:08:38.994Z] ---> Running in f73860cff34f [2022-03-15T09:08:39.277Z] Removing intermediate container f73860cff34f [2022-03-15T09:08:39.277Z] ---> d5495cacfb32 [2022-03-15T09:08:39.277Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-03-15T09:08:39.277Z] ---> Running in ad5b99f8d5f7 [2022-03-15T09:08:39.566Z] Removing intermediate container ad5b99f8d5f7 [2022-03-15T09:08:39.566Z] ---> c5f1d7ca1f32 [2022-03-15T09:08:39.566Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-15T09:08:39.849Z] ---> Running in 6582eb561ebe [2022-03-15T09:08:41.856Z] Removing intermediate container 6582eb561ebe [2022-03-15T09:08:41.856Z] ---> dc7476882fcc [2022-03-15T09:08:41.856Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-15T09:08:41.856Z] ---> Running in b1c36f1fd582 [2022-03-15T09:08:42.453Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-15T09:08:43.437Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-15T09:08:44.416Z] OK: 224 MiB in 56 packages [2022-03-15T09:08:45.008Z] Removing intermediate container b1c36f1fd582 [2022-03-15T09:08:45.008Z] ---> a6a7c3d89ed6 [2022-03-15T09:08:45.008Z] Step 8/24 : WORKDIR /device-snmp-go [2022-03-15T09:08:45.008Z] ---> Running in bdb5c71b498e [2022-03-15T09:08:45.280Z] Removing intermediate container bdb5c71b498e [2022-03-15T09:08:45.280Z] ---> f61b92d6b81b [2022-03-15T09:08:45.280Z] Step 9/24 : COPY go.mod vendor* ./ [2022-03-15T09:08:45.873Z] ---> 69678b11f43d [2022-03-15T09:08:45.873Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-15T09:08:45.873Z] ---> Running in bf170647e904 [2022-03-15T09:08:47.871Z] Removing intermediate container bf170647e904 [2022-03-15T09:08:47.871Z] ---> 207f6cd693e1 [2022-03-15T09:08:47.871Z] Step 11/24 : COPY . . [2022-03-15T09:08:48.856Z] ---> 1c2752f05758 [2022-03-15T09:08:48.856Z] Step 12/24 : RUN ${MAKE} [2022-03-15T09:08:48.856Z] ---> Running in 1d253ccc414f [2022-03-15T09:08:49.841Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2022-03-15T09:09:36.866Z] Removing intermediate container 1d253ccc414f [2022-03-15T09:09:36.866Z] ---> 64dd7b33dad3 [2022-03-15T09:09:36.866Z] Step 13/24 : FROM alpine:3.14 [2022-03-15T09:09:36.866Z] 3.14: Pulling from library/alpine [2022-03-15T09:09:36.866Z] be307f383ecc: Pulling fs layer [2022-03-15T09:09:36.866Z] be307f383ecc: Verifying Checksum [2022-03-15T09:09:36.866Z] be307f383ecc: Download complete [2022-03-15T09:09:36.866Z] be307f383ecc: Pull complete [2022-03-15T09:09:36.866Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-15T09:09:36.866Z] Status: Downloaded newer image for alpine:3.14 [2022-03-15T09:09:36.866Z] ---> 5b8b7b635229 [2022-03-15T09:09:36.866Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-15T09:09:36.866Z] ---> Running in d315d9797b87 [2022-03-15T09:09:36.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-15T09:09:36.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-15T09:09:36.866Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-15T09:09:36.866Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-15T09:09:36.866Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-15T09:09:36.866Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-15T09:09:36.866Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-15T09:09:36.866Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-15T09:09:36.866Z] Executing busybox-1.33.1-r6.trigger [2022-03-15T09:09:36.866Z] OK: 8 MiB in 20 packages [2022-03-15T09:09:36.866Z] Removing intermediate container d315d9797b87 [2022-03-15T09:09:36.866Z] ---> d467aff80af4 [2022-03-15T09:09:36.866Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-03-15T09:09:37.459Z] ---> 3e46a4cee7ee [2022-03-15T09:09:37.459Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-03-15T09:09:37.737Z] ---> d1ce50d345f1 [2022-03-15T09:09:37.737Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-03-15T09:09:38.330Z] ---> ce4a74e36f36 [2022-03-15T09:09:38.330Z] Step 18/24 : EXPOSE 59993 [2022-03-15T09:09:38.330Z] ---> Running in dfd26aa58468 [2022-03-15T09:09:38.605Z] Removing intermediate container dfd26aa58468 [2022-03-15T09:09:38.605Z] ---> 95dd9d09c910 [2022-03-15T09:09:38.605Z] Step 19/24 : EXPOSE 161 [2022-03-15T09:09:38.876Z] ---> Running in 252e7593f726 [2022-03-15T09:09:39.147Z] Removing intermediate container 252e7593f726 [2022-03-15T09:09:39.147Z] ---> b7832646eaff [2022-03-15T09:09:39.147Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-03-15T09:09:39.147Z] ---> Running in 9d2ffaba2c65 [2022-03-15T09:09:39.418Z] Removing intermediate container 9d2ffaba2c65 [2022-03-15T09:09:39.418Z] ---> 34afc5b90dd3 [2022-03-15T09:09:39.418Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-15T09:09:39.418Z] ---> Running in 810e4533089a [2022-03-15T09:09:39.691Z] Removing intermediate container 810e4533089a [2022-03-15T09:09:39.691Z] ---> 6acb484441cf [2022-03-15T09:09:39.691Z] Step 22/24 : LABEL arch=arm64 [2022-03-15T09:09:39.691Z] ---> Running in 0eb90372819c [2022-03-15T09:09:39.965Z] Removing intermediate container 0eb90372819c [2022-03-15T09:09:39.965Z] ---> ab74fc4827a2 [2022-03-15T09:09:39.965Z] Step 23/24 : LABEL git_sha=35dd59a8f3481e615c342c88adb74faa9f16d6ad [2022-03-15T09:09:40.246Z] ---> Running in bd9e944279b7 [2022-03-15T09:09:40.519Z] Removing intermediate container bd9e944279b7 [2022-03-15T09:09:40.519Z] ---> fa7cc778f56e [2022-03-15T09:09:40.519Z] Step 24/24 : LABEL version=0.0.0 [2022-03-15T09:09:40.519Z] ---> Running in 909d352ec9d8 [2022-03-15T09:09:40.789Z] Removing intermediate container 909d352ec9d8 [2022-03-15T09:09:40.789Z] ---> 5c8d704046a5 [2022-03-15T09:09:40.789Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-15T09:09:40.789Z] Successfully built 5c8d704046a5 [2022-03-15T09:09:40.789Z] 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-03-15T09:09:41.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-15T09:09:41.468Z] [2022-03-15T09:09:41.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:09:41.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-15T09:09:42.122Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-15T09:09:42.122Z] 8998bd30e6a1: Pulling fs layer [2022-03-15T09:09:42.122Z] 04944245beec: Pulling fs layer [2022-03-15T09:09:42.122Z] 699f458cf7ca: Pulling fs layer [2022-03-15T09:09:42.122Z] 765212b225bb: Pulling fs layer [2022-03-15T09:09:42.122Z] f23df028b6ca: Pulling fs layer [2022-03-15T09:09:42.122Z] d65c8cfc05b1: Pulling fs layer [2022-03-15T09:09:42.122Z] 2437ff75d9bd: Pulling fs layer [2022-03-15T09:09:42.122Z] 765212b225bb: Waiting [2022-03-15T09:09:42.122Z] f23df028b6ca: Waiting [2022-03-15T09:09:42.122Z] d65c8cfc05b1: Waiting [2022-03-15T09:09:42.122Z] 2437ff75d9bd: Waiting [2022-03-15T09:09:42.122Z] 04944245beec: Verifying Checksum [2022-03-15T09:09:42.122Z] 04944245beec: Download complete [2022-03-15T09:09:42.122Z] 765212b225bb: Verifying Checksum [2022-03-15T09:09:42.122Z] 765212b225bb: Download complete [2022-03-15T09:09:42.122Z] f23df028b6ca: Verifying Checksum [2022-03-15T09:09:42.122Z] f23df028b6ca: Download complete [2022-03-15T09:09:42.122Z] d65c8cfc05b1: Verifying Checksum [2022-03-15T09:09:42.122Z] d65c8cfc05b1: Download complete [2022-03-15T09:09:42.396Z] 699f458cf7ca: Verifying Checksum [2022-03-15T09:09:42.396Z] 699f458cf7ca: Download complete [2022-03-15T09:09:42.671Z] 8998bd30e6a1: Verifying Checksum [2022-03-15T09:09:42.671Z] 8998bd30e6a1: Download complete [2022-03-15T09:09:45.289Z] 2437ff75d9bd: Verifying Checksum [2022-03-15T09:09:45.289Z] 2437ff75d9bd: Download complete [2022-03-15T09:09:46.724Z] 8998bd30e6a1: Pull complete [2022-03-15T09:09:47.326Z] 04944245beec: Pull complete [2022-03-15T09:09:48.767Z] 699f458cf7ca: Pull complete [2022-03-15T09:09:48.767Z] 765212b225bb: Pull complete [2022-03-15T09:09:49.748Z] f23df028b6ca: Pull complete [2022-03-15T09:09:50.020Z] d65c8cfc05b1: Pull complete [2022-03-15T09:10:05.092Z] 2437ff75d9bd: Pull complete [2022-03-15T09:10:05.092Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-15T09:10:05.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-15T09:10:05.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-15T09:10:05.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container [2022-03-15T09:10:05.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-15T09:10:08.386Z] $ docker top b82d4bfc3c0039df891f2950efbab61c3201123d5bd98df025eef0d7c3fac9f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:09.391Z] ---> job-cost.sh [2022-03-15T09:10:09.391Z] lf-activate-venv: SKIPPING [2022-03-15T09:10:09.391Z] INFO: No Stack... [2022-03-15T09:10:09.985Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-15T09:10:10.962Z] INFO: Archiving Costs [Pipeline] sh [2022-03-15T09:10:11.644Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-03-15T09:10:11.644Z] + cut -d, -f6 [Pipeline] lock [2022-03-15T09:10:11.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [2022-03-15T09:10:11.737Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] did not exist. Created. [2022-03-15T09:10:11.737Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-15T09:10:12.486Z] /w/workspace/device-snmp-go/1@tmp/durable-82e12888/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-15T09:10:13.196Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-15T09:10:13.232Z] Warning: overwriting stash ‘stack-cost’ [2022-03-15T09:10:13.277Z] Stashed 1 file(s) [Pipeline] } [2022-03-15T09:10:13.292Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-15T09:10:13.371Z] $ docker stop --time=1 b82d4bfc3c0039df891f2950efbab61c3201123d5bd98df025eef0d7c3fac9f6 [2022-03-15T09:10:14.891Z] $ docker rm -f b82d4bfc3c0039df891f2950efbab61c3201123d5bd98df025eef0d7c3fac9f6 [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-03-15T09:10:15.941Z] provisioning config files... [2022-03-15T09:10:15.951Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config5487361046235873380tmp [Pipeline] { [Pipeline] sh [2022-03-15T09:10:16.291Z] + set +x [2022-03-15T09:10:16.291Z] + curl -s https://codecov.io/bash [2022-03-15T09:10:16.291Z] + bash -s -- [2022-03-15T09:10:16.291Z] [2022-03-15T09:10:16.291Z] _____ _ [2022-03-15T09:10:16.291Z] / ____| | | [2022-03-15T09:10:16.291Z] | | ___ __| | ___ ___ _____ __ [2022-03-15T09:10:16.291Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-15T09:10:16.291Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-15T09:10:16.291Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-15T09:10:16.291Z] Bash-1.0.6 [2022-03-15T09:10:16.291Z] [2022-03-15T09:10:16.291Z] [2022-03-15T09:10:16.291Z] ==> git version 2.25.1 found [2022-03-15T09:10:16.291Z] ==> 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-03-15T09:10:16.291Z] Release-Date: 2020-01-08 [2022-03-15T09:10:16.291Z] 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-03-15T09:10:16.291Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-15T09:10:16.291Z] ==> Jenkins CI detected. [2022-03-15T09:10:16.291Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-141 [2022-03-15T09:10:16.291Z] project root: . [2022-03-15T09:10:16.291Z] --> token set from env [2022-03-15T09:10:16.291Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-15T09:10:16.291Z] ==> Running gcov in . (disable via -X gcov) [2022-03-15T09:10:16.291Z] ==> Python coveragepy not found [2022-03-15T09:10:16.291Z] ==> Searching for coverage reports in: [2022-03-15T09:10:16.291Z] + . [2022-03-15T09:10:16.291Z] -> Found 1 reports [2022-03-15T09:10:16.291Z] ==> Detecting git/mercurial file structure [2022-03-15T09:10:16.291Z] ==> Reading reports [2022-03-15T09:10:16.291Z] + ./coverage.out bytes=7631 [2022-03-15T09:10:16.291Z] ==> Appending adjustments [2022-03-15T09:10:16.291Z] https://docs.codecov.io/docs/fixing-reports [2022-03-15T09:10:16.552Z] + Found adjustments [2022-03-15T09:10:16.552Z] ==> Gzipping contents [2022-03-15T09:10:16.552Z] 4.0K /tmp/codecov.CjIlwB.gz [2022-03-15T09:10:16.552Z] ==> Uploading reports [2022-03-15T09:10:16.552Z] url: https://codecov.io [2022-03-15T09:10:16.553Z] query: branch=PR-141&commit=35dd59a8f3481e615c342c88adb74faa9f16d6ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=141&job=&cmd_args= [2022-03-15T09:10:16.553Z] -> Pinging Codecov [2022-03-15T09:10:16.553Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-141&commit=35dd59a8f3481e615c342c88adb74faa9f16d6ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=141&job=&cmd_args= [2022-03-15T09:10:16.813Z] -> Uploading to [2022-03-15T09:10:16.813Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-15/6C56EA5C29638FB4528AC87E60AF5AE0/35dd59a8f3481e615c342c88adb74faa9f16d6ad/8d111952-95c2-4767-af3f-77a8da1d7cbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220315T091016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=372301d4e8fffe5d12cf2fa18fc1343c7f5760aa0fa2ba058d3075df26568448 [2022-03-15T09:10:16.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-15T09:10:16.813Z] Dload Upload Total Spent Left Speed [2022-03-15T09:10:17.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1580 0 0 100 1580 0 6320 --:--:-- --:--:-- --:--:-- 6345 [2022-03-15T09:10:17.073Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] } [2022-03-15T09:10:17.101Z] 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-03-15T09:10:18.946Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-141/archives ] [2022-03-15T09:10:18.946Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-141/archives [2022-03-15T09:10:18.946Z] total 16 [2022-03-15T09:10:18.946Z] drwxr-xr-x 3 root root 4096 Mar 15 09:04 . [2022-03-15T09:10:18.946Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:04 .. [2022-03-15T09:10:18.946Z] drwxr-xr-x 2 root root 4096 Mar 15 09:04 cost [2022-03-15T09:10:18.946Z] -rw-r--r-- 1 root root 85 Mar 15 09:04 cost.csv [2022-03-15T09:10:18.946Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-141/archives [2022-03-15T09:10:18.946Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-141/archives [2022-03-15T09:10:18.946Z] total 16 [2022-03-15T09:10:18.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 09:04 . [2022-03-15T09:10:18.946Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:04 .. [2022-03-15T09:10:18.946Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 09:04 cost [2022-03-15T09:10:18.946Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 15 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:19.281Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:20.195Z] ---> package-listing.sh [2022-03-15T09:10:20.195Z] ++ facter osfamily [2022-03-15T09:10:20.195Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-15T09:10:20.455Z] + OS_FAMILY=debian [2022-03-15T09:10:20.455Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-141 [2022-03-15T09:10:20.455Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-15T09:10:20.455Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-15T09:10:20.455Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-15T09:10:20.455Z] + PACKAGES=/tmp/packages_start.txt [2022-03-15T09:10:20.455Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-141 ']' [2022-03-15T09:10:20.455Z] + PACKAGES=/tmp/packages_end.txt [2022-03-15T09:10:20.455Z] + case "${OS_FAMILY}" in [2022-03-15T09:10:20.455Z] + dpkg -l [2022-03-15T09:10:20.455Z] + grep '^ii' [2022-03-15T09:10:20.455Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-15T09:10:20.455Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-15T09:10:20.455Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-15T09:10:20.455Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-141 ']' [2022-03-15T09:10:20.455Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-141/archives/ [2022-03-15T09:10:20.455Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-141/archives/ [Pipeline] echo [2022-03-15T09:10:20.491Z] 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-141/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-15T09:10:20.790Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-15T09:10:21.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-15T09:10:21.118Z] . [Pipeline] withDockerContainer [2022-03-15T09:10:21.205Z] prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container [2022-03-15T09:10:21.245Z] $ 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-141/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-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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-03-15T09:10:21.490Z] $ docker top a60dd43db3a15fde161dbb915443f98b5a0cdb4018fda8256b933583335ae591 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-15T09:10:21.883Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-15T09:10:22.252Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-15T09:10:22.566Z] + ls /var/log/sa-host [2022-03-15T09:10:22.566Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-15T09:10:22.847Z] provisioning config files... [2022-03-15T09:10:22.857Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config1543734051168761651tmp [Pipeline] { [Pipeline] echo [2022-03-15T09:10:22.914Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:23.229Z] ---> create-netrc.sh [Pipeline] } [2022-03-15T09:10:23.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:23.667Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-15T09:10:23.706Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:24.024Z] ---> sudo-logs.sh [2022-03-15T09:10:24.024Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-15T09:10:24.116Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:24.435Z] ---> job-cost.sh [2022-03-15T09:10:24.435Z] lf-activate-venv: SKIPPING [2022-03-15T09:10:24.435Z] DEBUG: total: 0.2199999988079071 [2022-03-15T09:10:24.435Z] INFO: Retrieving Stack Cost... [2022-03-15T09:10:24.695Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-15T09:10:25.269Z] INFO: Archiving Costs [Pipeline] echo [2022-03-15T09:10:25.311Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-15T09:10:25.627Z] ---> logs-deploy.sh [2022-03-15T09:10:25.627Z] lf-activate-venv: SKIPPING [2022-03-15T09:10:25.627Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-141/1 [2022-03-15T09:10:25.627Z] INFO: archiving workspace using pattern(s): [2022-03-15T09:10:26.569Z] Archives upload complete. [2022-03-15T09:10:26.569Z] INFO: archiving logs to Nexus