Pull request #151 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 farshidtz for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 7306a6f06add30c2c77de82c1e2d09b100e0c142 rather than a53b10c226c078ceb3a3c47d5de2cd7e3282654b Obtained Jenkinsfile from 7306a6f06add30c2c77de82c1e2d09b100e0c142 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-ssh9484753655034696808.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-ssh14057212183536692450.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-151/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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16547206524016263396.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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13076847160910333108.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-ssh10593583839169635204.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-151/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-151/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12225125204751979284.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11512 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-151 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7306a6f06add30c2c77de82c1e2d09b100e0c142 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b Merge succeeded, producing a53b10c226c078ceb3a3c47d5de2cd7e3282654b Checking out Revision a53b10c226c078ceb3a3c47d5de2cd7e3282654b (PR-151) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 Commit message: "build(snap): source metadata from central repo" 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-04-07T21:30:10.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-07T21:30:10.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-07T21:30:10.907Z] ========================================================= [2022-04-07T21:30:10.907Z] EdgeX Global Pipelines Version Info [2022-04-07T21:30:10.907Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:30:11.717Z] ------------------- [2022-04-07T21:30:11.717Z] stable info: [2022-04-07T21:30:11.717Z] ------------------- [2022-04-07T21:30:11.717Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-07T21:30:11.717Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T21:30:11.717Z] Message: update stable to v1.0.221 [2022-04-07T21:30:12.292Z] ------------------- [2022-04-07T21:30:12.292Z] experimental info: [2022-04-07T21:30:12.292Z] ------------------- [2022-04-07T21:30:12.292Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-07T21:30:12.292Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T21:30:12.292Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-07T21:30:12.551Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-07T21:30:12.597Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-07T21:30:12.635Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-07T21:30:12.674Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-07T21:30:12.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-07T21:30:12.764Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-07T21:30:12.803Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-07T21:30:12.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-07T21:30:12.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-07T21:30:12.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-07T21:30:12.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-07T21:30:13.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-07T21:30:13.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-07T21:30:13.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-07T21:30:13.134Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T21:30:13.175Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T21:30:13.215Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T21:30:13.258Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T21:30:13.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-07T21:30:13.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-07T21:30:13.381Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-07T21:30:13.422Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-07T21:30:13.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-07T21:30:13.503Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-07T21:30:13.545Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-07T21:30:13.591Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-07T21:30:13.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo [2022-04-07T21:30:13.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo [2022-04-07T21:30:13.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo [2022-04-07T21:30:13.754Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo [2022-04-07T21:30:13.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a53b10c [Pipeline] echo [2022-04-07T21:30:13.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T21:30:13.937Z] provisioning config files... [2022-04-07T21:30:13.952Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config702452999340881324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:30:14.326Z] ---> docker-login.sh [2022-04-07T21:30:14.326Z] nexus3.edgexfoundry.org:10001 [2022-04-07T21:30:14.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:14.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:14.589Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:14.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:14.589Z] [2022-04-07T21:30:14.589Z] Login Succeeded [2022-04-07T21:30:14.589Z] nexus3.edgexfoundry.org:10002 [2022-04-07T21:30:14.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:14.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:14.855Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:14.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:14.855Z] [2022-04-07T21:30:14.855Z] Login Succeeded [2022-04-07T21:30:14.855Z] nexus3.edgexfoundry.org:10003 [2022-04-07T21:30:14.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:15.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:15.118Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:15.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:15.118Z] [2022-04-07T21:30:15.118Z] Login Succeeded [2022-04-07T21:30:15.118Z] nexus3.edgexfoundry.org:10004 [2022-04-07T21:30:15.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:15.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:15.118Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:15.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:15.118Z] [2022-04-07T21:30:15.118Z] Login Succeeded [2022-04-07T21:30:15.118Z] docker.io [2022-04-07T21:30:15.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:15.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:15.698Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:15.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:15.698Z] [2022-04-07T21:30:15.698Z] Login Succeeded [2022-04-07T21:30:15.698Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T21:30:15.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-07T21:30:16.354Z] + git rev-list -1 --merges a53b10c226c078ceb3a3c47d5de2cd7e3282654b~1..a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo [2022-04-07T21:30:16.498Z] -----------> git rev-list -1 --merges a53b10c226c078ceb3a3c47d5de2cd7e3282654b~1..a53b10c226c078ceb3a3c47d5de2cd7e3282654b a53b10c226c078ceb3a3c47d5de2cd7e3282654b [false] [Pipeline] sh [2022-04-07T21:30:16.815Z] + git log --format=format:%s -1 a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo [2022-04-07T21:30:16.853Z] ========================================================= [2022-04-07T21:30:16.853Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-07T21:30:16.853Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T21:30:17.295Z] + git log --format=format:%s -1 a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo [2022-04-07T21:30:17.326Z] [semverPrep] GIT_COMMIT: a53b10c226c078ceb3a3c47d5de2cd7e3282654b, Commit Message: build(snap): source metadata from central repo [Pipeline] echo [2022-04-07T21:30:17.357Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-07T21:30:17.819Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-07T21:30:17.819Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-07T21:30:17.819Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-07T21:30:17.819Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-07T21:30:17.819Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-07T21:30:17.819Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-07T21:30:17.819Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:30:18.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T21:30:18.286Z] [2022-04-07T21:30:18.286Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:30:18.638Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T21:30:18.638Z] latest: Pulling from edgex-devops/git-semver [2022-04-07T21:30:18.638Z] a0d0a0d46f8b: Pulling fs layer [2022-04-07T21:30:18.638Z] 3e5f54012d9b: Pulling fs layer [2022-04-07T21:30:18.638Z] 4c7163046ea9: Pulling fs layer [2022-04-07T21:30:18.638Z] 0c2d73faf560: Pulling fs layer [2022-04-07T21:30:18.638Z] 0c2d73faf560: Waiting [2022-04-07T21:30:18.638Z] 3e5f54012d9b: Verifying Checksum [2022-04-07T21:30:18.638Z] 3e5f54012d9b: Download complete [2022-04-07T21:30:18.638Z] a0d0a0d46f8b: Download complete [2022-04-07T21:30:18.638Z] 0c2d73faf560: Verifying Checksum [2022-04-07T21:30:18.638Z] 4c7163046ea9: Verifying Checksum [2022-04-07T21:30:18.638Z] 4c7163046ea9: Download complete [2022-04-07T21:30:18.900Z] a0d0a0d46f8b: Pull complete [2022-04-07T21:30:18.900Z] 3e5f54012d9b: Pull complete [2022-04-07T21:30:19.163Z] 4c7163046ea9: Pull complete [2022-04-07T21:30:19.426Z] 0c2d73faf560: Pull complete [2022-04-07T21:30:19.426Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-07T21:30:19.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T21:30:19.426Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-07T21:30:19.532Z] prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container [2022-04-07T21:30:19.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-07T21:30:20.332Z] $ docker top da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-07T21:30:20.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T21:30:20.533Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T21:30:20.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T21:30:20.663Z] $ docker exec da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent [2022-04-07T21:30:20.800Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCEmCBa/agent.14 [2022-04-07T21:30:20.800Z] SSH_AGENT_PID=21 [2022-04-07T21:30:20.808Z] Running ssh-add (command line suppressed) [2022-04-07T21:30:20.926Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_4951534498514304006.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_4951534498514304006.key) [2022-04-07T21:30:20.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T21:30:21.289Z] + git tag --points-at HEAD [Pipeline] } [2022-04-07T21:30:21.313Z] $ docker exec --env ******** --env ******** da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent -k [2022-04-07T21:30:21.427Z] unset SSH_AUTH_SOCK; [2022-04-07T21:30:21.428Z] unset SSH_AGENT_PID; [2022-04-07T21:30:21.428Z] echo Agent pid 21 killed; [2022-04-07T21:30:21.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-07T21:30:21.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T21:30:21.543Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T21:30:21.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T21:30:21.668Z] $ docker exec da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent [2022-04-07T21:30:21.808Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdDhkDG/agent.54 [2022-04-07T21:30:21.808Z] SSH_AGENT_PID=60 [2022-04-07T21:30:21.814Z] Running ssh-add (command line suppressed) [2022-04-07T21:30:21.946Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_5989851235308212705.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_5989851235308212705.key) [2022-04-07T21:30:21.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T21:30:22.300Z] + git semver init [2022-04-07T21:30:22.300Z] # -> Open(): unable to determine branch for HEAD [2022-04-07T21:30:22.300Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.git [2022-04-07T21:30:22.300Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-151 [2022-04-07T21:30:22.300Z] # $SEMVER_REMOTE_NAME = origin [2022-04-07T21:30:22.300Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-07T21:30:22.300Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-07T21:30:22.300Z] # $SEMVER_BRANCH = PR-151 [2022-04-07T21:30:22.300Z] # $SEMVER_TEMP = /tmp/semver-556136292 [2022-04-07T21:30:22.300Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-07T21:30:23.244Z] # '/tmp/semver-556136292' -> '/w/workspace/gexfoundry_device-snmp-go_PR-151/.semver' [2022-04-07T21:30:23.244Z] # -> Force: false [2022-04-07T21:30:23.244Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.semver [Pipeline] } [2022-04-07T21:30:23.269Z] $ docker exec --env ******** --env ******** da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent -k [2022-04-07T21:30:23.379Z] unset SSH_AUTH_SOCK; [2022-04-07T21:30:23.380Z] unset SSH_AGENT_PID; [2022-04-07T21:30:23.380Z] echo Agent pid 60 killed; [2022-04-07T21:30:23.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-07T21:30:23.829Z] + git semver [Pipeline] } [2022-04-07T21:30:23.858Z] $ docker stop --time=1 da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c [2022-04-07T21:30:25.199Z] $ docker rm -f da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T21:30:25.627Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-07T21:30:25.930Z] Stashed 1 file(s) [Pipeline] echo [2022-04-07T21:30:25.948Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T21:30:26.511Z] provisioning config files... [2022-04-07T21:30:26.523Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config4357463634078313159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:30:26.878Z] ---> docker-login.sh [2022-04-07T21:30:26.878Z] nexus3.edgexfoundry.org:10001 [2022-04-07T21:30:26.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:26.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:26.878Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:26.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:26.878Z] [2022-04-07T21:30:26.878Z] Login Succeeded [2022-04-07T21:30:26.878Z] nexus3.edgexfoundry.org:10002 [2022-04-07T21:30:26.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:27.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:27.138Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:27.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:27.138Z] [2022-04-07T21:30:27.138Z] Login Succeeded [2022-04-07T21:30:27.138Z] nexus3.edgexfoundry.org:10003 [2022-04-07T21:30:27.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:27.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:27.138Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:27.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:27.138Z] [2022-04-07T21:30:27.138Z] Login Succeeded [2022-04-07T21:30:27.138Z] nexus3.edgexfoundry.org:10004 [2022-04-07T21:30:27.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:27.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:27.401Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:27.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:27.401Z] [2022-04-07T21:30:27.401Z] Login Succeeded [2022-04-07T21:30:27.401Z] docker.io [2022-04-07T21:30:27.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:30:27.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:30:27.663Z] Configure a credential helper to remove this warning. See [2022-04-07T21:30:27.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:30:27.663Z] [2022-04-07T21:30:27.663Z] Login Succeeded [2022-04-07T21:30:27.663Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T21:30:27.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T21:30:27.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T21:30:27.916Z] ========================================================= [2022-04-07T21:30:27.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-07T21:30:27.916Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:30:28.328Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-07T21:30:28.328Z] Sending build context to Docker daemon 5.233MB [2022-04-07T21:30:28.328Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T21:30:28.328Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-07T21:30:28.328Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-07T21:30:28.328Z] 59bf1c3509f3: Pulling fs layer [2022-04-07T21:30:28.328Z] 666ba61612fd: Pulling fs layer [2022-04-07T21:30:28.328Z] 8ed8ca486205: Pulling fs layer [2022-04-07T21:30:28.328Z] 4fe6c5a15a65: Pulling fs layer [2022-04-07T21:30:28.328Z] 22a0e8bec74d: Pulling fs layer [2022-04-07T21:30:28.328Z] 640e595b4fbd: Pulling fs layer [2022-04-07T21:30:28.328Z] 763cafe07f6e: Pulling fs layer [2022-04-07T21:30:28.328Z] 0c0b528cf693: Pulling fs layer [2022-04-07T21:30:28.328Z] 10935f4eaf8b: Pulling fs layer [2022-04-07T21:30:28.328Z] 640e595b4fbd: Waiting [2022-04-07T21:30:28.328Z] 0c0b528cf693: Waiting [2022-04-07T21:30:28.328Z] 10935f4eaf8b: Waiting [2022-04-07T21:30:28.328Z] 763cafe07f6e: Waiting [2022-04-07T21:30:28.328Z] 4fe6c5a15a65: Waiting [2022-04-07T21:30:28.328Z] 22a0e8bec74d: Waiting [2022-04-07T21:30:28.328Z] 8ed8ca486205: Verifying Checksum [2022-04-07T21:30:28.328Z] 8ed8ca486205: Download complete [2022-04-07T21:30:28.328Z] 666ba61612fd: Download complete [2022-04-07T21:30:28.328Z] 22a0e8bec74d: Verifying Checksum [2022-04-07T21:30:28.328Z] 22a0e8bec74d: Download complete [2022-04-07T21:30:28.328Z] 59bf1c3509f3: Verifying Checksum [2022-04-07T21:30:28.328Z] 59bf1c3509f3: Download complete [2022-04-07T21:30:28.328Z] 640e595b4fbd: Verifying Checksum [2022-04-07T21:30:28.328Z] 640e595b4fbd: Download complete [2022-04-07T21:30:28.592Z] 763cafe07f6e: Download complete [2022-04-07T21:30:28.592Z] 0c0b528cf693: Verifying Checksum [2022-04-07T21:30:28.592Z] 0c0b528cf693: Download complete [2022-04-07T21:30:28.592Z] 59bf1c3509f3: Pull complete [2022-04-07T21:30:28.853Z] 666ba61612fd: Pull complete [2022-04-07T21:30:28.853Z] 8ed8ca486205: Pull complete [2022-04-07T21:30:29.114Z] 10935f4eaf8b: Verifying Checksum [2022-04-07T21:30:29.114Z] 10935f4eaf8b: Download complete [2022-04-07T21:30:29.114Z] 4fe6c5a15a65: Verifying Checksum [2022-04-07T21:30:29.114Z] 4fe6c5a15a65: Download complete [2022-04-07T21:30:33.317Z] 4fe6c5a15a65: Pull complete [2022-04-07T21:30:33.317Z] 22a0e8bec74d: Pull complete [2022-04-07T21:30:33.317Z] 640e595b4fbd: Pull complete [2022-04-07T21:30:33.317Z] 763cafe07f6e: Pull complete [2022-04-07T21:30:33.577Z] 0c0b528cf693: Pull complete [2022-04-07T21:30:36.124Z] 10935f4eaf8b: Pull complete [2022-04-07T21:30:36.124Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-07T21:30:36.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-07T21:30:36.124Z] ---> 99d49a6021b9 [2022-04-07T21:30:36.124Z] Step 3/12 : ARG MAKE='make build' [2022-04-07T21:30:37.513Z] ---> Running in bb56cba93842 [2022-04-07T21:30:37.513Z] Removing intermediate container bb56cba93842 [2022-04-07T21:30:37.513Z] ---> 6d888897d212 [2022-04-07T21:30:37.513Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T21:30:37.513Z] ---> Running in f8e092d6ee87 [2022-04-07T21:30:37.513Z] Removing intermediate container f8e092d6ee87 [2022-04-07T21:30:37.513Z] ---> 7e0ca05f591a [2022-04-07T21:30:37.513Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T21:30:37.513Z] ---> Running in bc428e661493 [2022-04-07T21:30:37.773Z] Removing intermediate container bc428e661493 [2022-04-07T21:30:37.774Z] ---> 02657d6f650d [2022-04-07T21:30:37.774Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T21:30:37.774Z] ---> Running in 173f14e63ece [2022-04-07T21:30:38.344Z] Removing intermediate container 173f14e63ece [2022-04-07T21:30:38.344Z] ---> 61502556d5ce [2022-04-07T21:30:38.344Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T21:30:38.344Z] ---> Running in 497bac6e4ad9 [2022-04-07T21:30:38.604Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T21:30:39.549Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T21:30:39.811Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-07T21:30:40.073Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-07T21:30:40.073Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-07T21:30:40.073Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-07T21:30:40.336Z] Executing busybox-1.34.1-r3.trigger [2022-04-07T21:30:40.336Z] OK: 224 MiB in 56 packages [2022-04-07T21:30:40.602Z] Removing intermediate container 497bac6e4ad9 [2022-04-07T21:30:40.602Z] ---> a4bd060fd10b [2022-04-07T21:30:40.602Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-07T21:30:40.864Z] ---> Running in eaeb3502830c [2022-04-07T21:30:40.864Z] Removing intermediate container eaeb3502830c [2022-04-07T21:30:40.864Z] ---> e17cc5968629 [2022-04-07T21:30:40.864Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-07T21:30:40.864Z] ---> ca8caad6d5a6 [2022-04-07T21:30:40.864Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T21:30:41.126Z] ---> Running in 10e10deb4f67 [2022-04-07T21:30:41.342Z] Still waiting to schedule task [2022-04-07T21:30:41.342Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-07T21:30:56.035Z] Removing intermediate container 10e10deb4f67 [2022-04-07T21:30:56.035Z] ---> 91eef2e99914 [2022-04-07T21:30:56.035Z] Step 11/12 : COPY . . [2022-04-07T21:30:56.035Z] ---> f3e89236f591 [2022-04-07T21:30:56.035Z] Step 12/12 : RUN ${MAKE} [2022-04-07T21:30:56.035Z] ---> Running in 1b8b5a648d9f [2022-04-07T21:30:56.035Z] noop [2022-04-07T21:30:56.035Z] Removing intermediate container 1b8b5a648d9f [2022-04-07T21:30:56.035Z] ---> 13d15a3e0ed0 [2022-04-07T21:30:56.035Z] Successfully built 13d15a3e0ed0 [2022-04-07T21:30:56.035Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:30:56.370Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T21:30:56.370Z] . [Pipeline] withDockerContainer [2022-04-07T21:30:56.478Z] prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container [2022-04-07T21:30:56.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T21:30:56.924Z] $ docker top 73c804267989a29fc54f6099ad48de48cdb1ae4015dc8ce090831ad20c835872 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T21:30:57.352Z] + go version [2022-04-07T21:30:57.352Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-07T21:30:57.394Z] $ docker stop --time=1 73c804267989a29fc54f6099ad48de48cdb1ae4015dc8ce090831ad20c835872 [2022-04-07T21:30:58.665Z] $ docker rm -f 73c804267989a29fc54f6099ad48de48cdb1ae4015dc8ce090831ad20c835872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:30:59.338Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T21:30:59.338Z] . [Pipeline] withDockerContainer [2022-04-07T21:30:59.436Z] prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container [2022-04-07T21:30:59.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T21:30:59.876Z] $ docker top 00fe05a8d4a695d8bacbbc02535652cd86e3b1b718ec230fd968044be0df741c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T21:31:00.329Z] + make test [2022-04-07T21:31:00.329Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-07T21:31:00.591Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-07T21:31:10.578Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-07T21:31:10.578Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.022s coverage: 0.0% of statements [2022-04-07T21:31:17.283Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-07T21:31:20.592Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T21:31:20.592Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T21:31:20.592Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T21:31:21.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T21:31:21.234Z] $ docker stop --time=1 00fe05a8d4a695d8bacbbc02535652cd86e3b1b718ec230fd968044be0df741c [2022-04-07T21:31:22.970Z] $ docker rm -f 00fe05a8d4a695d8bacbbc02535652cd86e3b1b718ec230fd968044be0df741c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T21:31:23.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T21:31:23.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-07T21:31:24.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T21:31:25.050Z] + ls -al . [2022-04-07T21:31:25.050Z] total 164 [2022-04-07T21:31:25.050Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 21:31 . [2022-04-07T21:31:25.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 21:30 .. [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 7 21:30 .dockerignore [2022-04-07T21:31:25.050Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 21:30 .git [2022-04-07T21:31:25.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:30 .github [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 7 21:30 .gitignore [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 21:30 .golangci.yml [2022-04-07T21:31:25.050Z] drwx------ 3 jenkins jenkins 4096 Apr 7 21:30 .semver [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 7 21:30 Attribution.txt [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 7 21:30 CHANGELOG.md [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 7 21:30 Dockerfile [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 21:30 GOVERNANCE.md [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 7 21:30 Jenkinsfile [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 21:30 LICENSE [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 7 21:30 Makefile [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 21:30 OWNERS.md [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 7 21:30 README.md [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 21:30 VERSION [2022-04-07T21:31:25.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:30 bin [2022-04-07T21:31:25.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:30 cmd [2022-04-07T21:31:25.050Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 7 21:31 coverage.out [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 7 21:30 go.mod [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 7 21:30 go.sum [2022-04-07T21:31:25.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:30 internal [2022-04-07T21:31:25.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:30 snap [2022-04-07T21:31:25.050Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 7 21:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:31:25.393Z] + 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=a53b10c226c078ceb3a3c47d5de2cd7e3282654b --label arch=amd64 --label version=0.0.0 . [2022-04-07T21:31:25.393Z] Sending build context to Docker daemon 5.241MB [2022-04-07T21:31:25.393Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T21:31:25.393Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-07T21:31:25.393Z] ---> 13d15a3e0ed0 [2022-04-07T21:31:25.393Z] Step 3/24 : ARG MAKE='make build' [2022-04-07T21:31:25.393Z] ---> Running in 237ef4805028 [2022-04-07T21:31:25.654Z] Removing intermediate container 237ef4805028 [2022-04-07T21:31:25.654Z] ---> f2b025d94715 [2022-04-07T21:31:25.654Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T21:31:25.654Z] ---> Running in 29c74d63000a [2022-04-07T21:31:25.654Z] Removing intermediate container 29c74d63000a [2022-04-07T21:31:25.654Z] ---> 43f9c86eaae4 [2022-04-07T21:31:25.654Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T21:31:25.654Z] ---> Running in 745a8ef6c762 [2022-04-07T21:31:25.914Z] Removing intermediate container 745a8ef6c762 [2022-04-07T21:31:25.914Z] ---> 3aac4b5406af [2022-04-07T21:31:25.914Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T21:31:25.914Z] ---> Running in 89e887d005d5 [2022-04-07T21:31:26.487Z] Removing intermediate container 89e887d005d5 [2022-04-07T21:31:26.487Z] ---> f231bcc532d1 [2022-04-07T21:31:26.487Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T21:31:26.487Z] ---> Running in b8d135311ebe [2022-04-07T21:31:26.748Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T21:31:27.691Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T21:31:27.965Z] OK: 224 MiB in 56 packages [2022-04-07T21:31:28.227Z] Removing intermediate container b8d135311ebe [2022-04-07T21:31:28.227Z] ---> a978ba894008 [2022-04-07T21:31:28.227Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-07T21:31:28.227Z] ---> Running in f201f25bcef5 [2022-04-07T21:31:28.227Z] Removing intermediate container f201f25bcef5 [2022-04-07T21:31:28.227Z] ---> 10f728ad23a5 [2022-04-07T21:31:28.227Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-07T21:31:28.489Z] ---> 2b9beb1999de [2022-04-07T21:31:28.490Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T21:31:28.490Z] ---> Running in e23103794653 [2022-04-07T21:31:29.453Z] Removing intermediate container e23103794653 [2022-04-07T21:31:29.453Z] ---> 606559dc8e8e [2022-04-07T21:31:29.453Z] Step 11/24 : COPY . . [2022-04-07T21:31:29.715Z] ---> e7465916ea40 [2022-04-07T21:31:29.715Z] Step 12/24 : RUN ${MAKE} [2022-04-07T21:31:29.715Z] ---> Running in c148a816f8cf [2022-04-07T21:31:29.976Z] 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-04-07T21:31:42.197Z] Removing intermediate container c148a816f8cf [2022-04-07T21:31:42.197Z] ---> 4ee828247951 [2022-04-07T21:31:42.197Z] Step 13/24 : FROM alpine:3.14 [2022-04-07T21:31:42.197Z] 3.14: Pulling from library/alpine [2022-04-07T21:31:42.197Z] 8663204ce13b: Pulling fs layer [2022-04-07T21:31:42.458Z] 8663204ce13b: Verifying Checksum [2022-04-07T21:31:42.458Z] 8663204ce13b: Download complete [2022-04-07T21:31:42.458Z] 8663204ce13b: Pull complete [2022-04-07T21:31:42.458Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T21:31:42.458Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T21:31:42.458Z] ---> e04c818066af [2022-04-07T21:31:42.458Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-07T21:31:42.719Z] ---> Running in 8966a6b0ca67 [2022-04-07T21:31:42.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-07T21:31:42.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-07T21:31:43.266Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-07T21:31:43.266Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T21:31:43.266Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-07T21:31:43.266Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T21:31:43.266Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-07T21:31:43.266Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-07T21:31:43.266Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T21:31:43.266Z] OK: 8 MiB in 20 packages [2022-04-07T21:31:43.529Z] Removing intermediate container 8966a6b0ca67 [2022-04-07T21:31:43.529Z] ---> adb762c2e23d [2022-04-07T21:31:43.529Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-07T21:31:44.105Z] ---> fa20a10b2f81 [2022-04-07T21:31:44.105Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-07T21:31:44.105Z] ---> 51eac04f3e5d [2022-04-07T21:31:44.105Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-07T21:31:44.369Z] ---> 457d99104218 [2022-04-07T21:31:44.369Z] Step 18/24 : EXPOSE 59993 [2022-04-07T21:31:44.369Z] ---> Running in b020a001d89e [2022-04-07T21:31:44.629Z] Removing intermediate container b020a001d89e [2022-04-07T21:31:44.629Z] ---> 0b4b9db8dd61 [2022-04-07T21:31:44.629Z] Step 19/24 : EXPOSE 161 [2022-04-07T21:31:44.629Z] ---> Running in 27ce8ff4be5f [2022-04-07T21:31:44.629Z] Removing intermediate container 27ce8ff4be5f [2022-04-07T21:31:44.629Z] ---> 4e7971bc6398 [2022-04-07T21:31:44.629Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-07T21:31:44.629Z] ---> Running in 0a372d90738e [2022-04-07T21:31:44.891Z] Removing intermediate container 0a372d90738e [2022-04-07T21:31:44.891Z] ---> c4b061321b8e [2022-04-07T21:31:44.891Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-07T21:31:44.891Z] ---> Running in b6dbcd6933ba [2022-04-07T21:31:44.891Z] Removing intermediate container b6dbcd6933ba [2022-04-07T21:31:44.891Z] ---> 32b5ee06bb33 [2022-04-07T21:31:44.891Z] Step 22/24 : LABEL arch=amd64 [2022-04-07T21:31:44.891Z] ---> Running in dd5d6462979f [2022-04-07T21:31:45.150Z] Removing intermediate container dd5d6462979f [2022-04-07T21:31:45.150Z] ---> 4f2929a69be7 [2022-04-07T21:31:45.150Z] Step 23/24 : LABEL git_sha=a53b10c226c078ceb3a3c47d5de2cd7e3282654b [2022-04-07T21:31:45.150Z] ---> Running in 9f8b7d095c37 [2022-04-07T21:31:45.150Z] Removing intermediate container 9f8b7d095c37 [2022-04-07T21:31:45.150Z] ---> aa480f57267a [2022-04-07T21:31:45.150Z] Step 24/24 : LABEL version=0.0.0 [2022-04-07T21:31:45.150Z] ---> Running in 49296bb330de [2022-04-07T21:31:45.411Z] Removing intermediate container 49296bb330de [2022-04-07T21:31:45.411Z] ---> 542a6caec7c2 [2022-04-07T21:31:45.411Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T21:31:45.411Z] Successfully built 542a6caec7c2 [2022-04-07T21:31:45.411Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:31:46.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T21:31:46.123Z] [2022-04-07T21:31:46.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:31:46.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T21:31:46.463Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-07T21:31:46.463Z] 5eb5b503b376: Pulling fs layer [2022-04-07T21:31:46.463Z] 5c69ac0246d0: Pulling fs layer [2022-04-07T21:31:46.463Z] ec43610c2a17: Pulling fs layer [2022-04-07T21:31:46.463Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-07T21:31:46.463Z] 33b1e0a273af: Pulling fs layer [2022-04-07T21:31:46.463Z] 5d3b04190fa2: Pulling fs layer [2022-04-07T21:31:46.463Z] 2f39f015ded8: Pulling fs layer [2022-04-07T21:31:46.463Z] 3a2ae6a8a46f: Waiting [2022-04-07T21:31:46.463Z] 2f39f015ded8: Waiting [2022-04-07T21:31:46.463Z] 33b1e0a273af: Waiting [2022-04-07T21:31:46.463Z] 5d3b04190fa2: Waiting [2022-04-07T21:31:46.463Z] 5c69ac0246d0: Verifying Checksum [2022-04-07T21:31:46.463Z] 5c69ac0246d0: Download complete [2022-04-07T21:31:46.463Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-07T21:31:46.463Z] 33b1e0a273af: Verifying Checksum [2022-04-07T21:31:46.463Z] 33b1e0a273af: Download complete [2022-04-07T21:31:46.463Z] 5d3b04190fa2: Verifying Checksum [2022-04-07T21:31:46.463Z] 5d3b04190fa2: Download complete [2022-04-07T21:31:46.463Z] ec43610c2a17: Verifying Checksum [2022-04-07T21:31:46.463Z] ec43610c2a17: Download complete [2022-04-07T21:31:46.723Z] 5eb5b503b376: Verifying Checksum [2022-04-07T21:31:46.723Z] 5eb5b503b376: Download complete [2022-04-07T21:31:47.290Z] 2f39f015ded8: Download complete [2022-04-07T21:31:47.861Z] 5eb5b503b376: Pull complete [2022-04-07T21:31:47.861Z] 5c69ac0246d0: Pull complete [2022-04-07T21:31:48.429Z] ec43610c2a17: Pull complete [2022-04-07T21:31:48.429Z] 3a2ae6a8a46f: Pull complete [2022-04-07T21:31:48.689Z] 33b1e0a273af: Pull complete [2022-04-07T21:31:48.689Z] 5d3b04190fa2: Pull complete [2022-04-07T21:31:52.887Z] 2f39f015ded8: Pull complete [2022-04-07T21:31:52.887Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-07T21:31:52.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T21:31:52.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-07T21:31:52.978Z] prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container [2022-04-07T21:31:53.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-07T21:31:54.561Z] $ docker top 6a5164c3dcb7ac534582215244eb6233acf67561f79b940e7e3ae080f666fa2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:31:55.045Z] ---> job-cost.sh [2022-04-07T21:31:55.045Z] lf-activate-venv: SKIPPING [2022-04-07T21:31:55.045Z] INFO: No Stack... [2022-04-07T21:31:55.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T21:31:55.879Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T21:31:56.202Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/cost.csv [2022-04-07T21:31:56.202Z] + cut -d, -f6 [Pipeline] lock [2022-04-07T21:31:56.242Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [2022-04-07T21:31:56.247Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] did not exist. Created. [2022-04-07T21:31:56.248Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T21:31:56.634Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-07T21:31:56.689Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T21:31:56.720Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T21:31:56.810Z] $ docker stop --time=1 6a5164c3dcb7ac534582215244eb6233acf67561f79b940e7e3ae080f666fa2a [2022-04-07T21:31:57.979Z] $ docker rm -f 6a5164c3dcb7ac534582215244eb6233acf67561f79b940e7e3ae080f666fa2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-07T21:35:43.522Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11513 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [Pipeline] { [Pipeline] ws [2022-04-07T21:35:43.565Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-07T21:35:43.865Z] Selected Git installation does not exist. Using Default [2022-04-07T21:35:43.865Z] The recommended git tool is: NONE [2022-04-07T21:35:52.715Z] using credential edgex-jenkins-ssh [2022-04-07T21:35:52.741Z] Cloning the remote Git repository [2022-04-07T21:35:52.818Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-07T21:35:52.986Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-07T21:35:53.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-07T21:35:53.131Z] > git --version # timeout=10 [2022-04-07T21:35:53.176Z] > git --version # 'git version 2.25.1' [2022-04-07T21:35:53.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T21:35:53.337Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T21:35:55.218Z] Merging remotes/origin/main commit 7306a6f06add30c2c77de82c1e2d09b100e0c142 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b [2022-04-07T21:35:55.555Z] Merge succeeded, producing a53b10c226c078ceb3a3c47d5de2cd7e3282654b [2022-04-07T21:35:55.556Z] Checking out Revision a53b10c226c078ceb3a3c47d5de2cd7e3282654b (PR-151) [2022-04-07T21:35:54.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-07T21:35:54.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T21:35:54.535Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-07T21:35:54.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-07T21:35:54.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T21:35:54.605Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-07T21:35:55.248Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T21:35:55.273Z] > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 [2022-04-07T21:35:55.399Z] > git remote # timeout=10 [2022-04-07T21:35:55.440Z] > git config --get remote.origin.url # timeout=10 [2022-04-07T21:35:55.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T21:35:55.495Z] > git merge 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 [2022-04-07T21:35:55.527Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-07T21:35:55.566Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T21:35:55.588Z] > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 [2022-04-07T21:36:00.209Z] Commit message: "build(snap): source metadata from central repo" [2022-04-07T21:36:00.283Z] > git --version # timeout=10 [2022-04-07T21:36:00.295Z] > git --version # 'git version 2.25.1' [2022-04-07T21:36:00.311Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T21:36:01.590Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-07T21:36:01.590Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T21:36:01.590Z] Dload Upload Total Spent Left Speed [2022-04-07T21:36:01.590Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 41848 0 --:--:-- --:--:-- --:--:-- 41996 [Pipeline] sh [2022-04-07T21:36:02.193Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-07T21:36:02.570Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-07T21:36:02.571Z] sudo tee /etc/docker/daemon.new [2022-04-07T21:36:02.571Z] { [2022-04-07T21:36:02.571Z] "registry-mirrors": [ [2022-04-07T21:36:02.571Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-07T21:36:02.571Z] ], [2022-04-07T21:36:02.571Z] "bip": "10.250.0.254/24", [2022-04-07T21:36:02.571Z] "hosts": [ [2022-04-07T21:36:02.571Z] "tcp://0.0.0.0:5555", [2022-04-07T21:36:02.571Z] "unix:///var/run/docker.sock" [2022-04-07T21:36:02.571Z] ], [2022-04-07T21:36:02.571Z] "mtu": 1458, [2022-04-07T21:36:02.571Z] "selinux-enabled": true, [2022-04-07T21:36:02.571Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-07T21:36:02.571Z] } [Pipeline] sh [2022-04-07T21:36:02.944Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-07T21:36:03.325Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T21:36:21.794Z] provisioning config files... [2022-04-07T21:36:21.851Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config536836006158055331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:36:22.455Z] ---> docker-login.sh [2022-04-07T21:36:22.455Z] nexus3.edgexfoundry.org:10001 [2022-04-07T21:36:23.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:36:23.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:36:23.329Z] Configure a credential helper to remove this warning. See [2022-04-07T21:36:23.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:36:23.329Z] [2022-04-07T21:36:23.329Z] Login Succeeded [2022-04-07T21:36:23.329Z] nexus3.edgexfoundry.org:10002 [2022-04-07T21:36:23.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:36:23.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:36:23.878Z] Configure a credential helper to remove this warning. See [2022-04-07T21:36:23.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:36:23.878Z] [2022-04-07T21:36:23.878Z] Login Succeeded [2022-04-07T21:36:23.878Z] nexus3.edgexfoundry.org:10003 [2022-04-07T21:36:24.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:36:24.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:36:24.433Z] Configure a credential helper to remove this warning. See [2022-04-07T21:36:24.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:36:24.433Z] [2022-04-07T21:36:24.433Z] Login Succeeded [2022-04-07T21:36:24.433Z] nexus3.edgexfoundry.org:10004 [2022-04-07T21:36:24.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:36:24.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:36:24.708Z] Configure a credential helper to remove this warning. See [2022-04-07T21:36:24.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:36:24.708Z] [2022-04-07T21:36:24.708Z] Login Succeeded [2022-04-07T21:36:24.708Z] docker.io [2022-04-07T21:36:25.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T21:36:25.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T21:36:25.579Z] Configure a credential helper to remove this warning. See [2022-04-07T21:36:25.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T21:36:25.579Z] [2022-04-07T21:36:25.579Z] Login Succeeded [2022-04-07T21:36:25.579Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T21:36:25.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T21:36:26.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T21:36:26.059Z] ========================================================= [2022-04-07T21:36:26.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-07T21:36:26.059Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:36:26.505Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-07T21:36:26.789Z] Sending build context to Docker daemon 2.723MB [2022-04-07T21:36:26.789Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T21:36:26.789Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-07T21:36:27.065Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-07T21:36:27.065Z] 9b3977197b4f: Pulling fs layer [2022-04-07T21:36:27.065Z] 1a89e8eeedd5: Pulling fs layer [2022-04-07T21:36:27.065Z] 94645a83ff95: Pulling fs layer [2022-04-07T21:36:27.065Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-07T21:36:27.065Z] 0c92f367c5e7: Pulling fs layer [2022-04-07T21:36:27.065Z] f7c0051592d6: Pulling fs layer [2022-04-07T21:36:27.065Z] a227ed2f7395: Pulling fs layer [2022-04-07T21:36:27.065Z] 7b1c46037f91: Pulling fs layer [2022-04-07T21:36:27.065Z] 3f3a8bcf1eab: Waiting [2022-04-07T21:36:27.065Z] 0c92f367c5e7: Waiting [2022-04-07T21:36:27.065Z] f7c0051592d6: Waiting [2022-04-07T21:36:27.065Z] a227ed2f7395: Waiting [2022-04-07T21:36:27.065Z] 7b1c46037f91: Waiting [2022-04-07T21:36:27.065Z] 94645a83ff95: Verifying Checksum [2022-04-07T21:36:27.065Z] 94645a83ff95: Download complete [2022-04-07T21:36:27.065Z] 1a89e8eeedd5: Verifying Checksum [2022-04-07T21:36:27.065Z] 1a89e8eeedd5: Download complete [2022-04-07T21:36:27.065Z] 0c92f367c5e7: Verifying Checksum [2022-04-07T21:36:27.065Z] 0c92f367c5e7: Download complete [2022-04-07T21:36:27.065Z] f7c0051592d6: Verifying Checksum [2022-04-07T21:36:27.065Z] f7c0051592d6: Download complete [2022-04-07T21:36:27.065Z] 9b3977197b4f: Verifying Checksum [2022-04-07T21:36:27.065Z] 9b3977197b4f: Download complete [2022-04-07T21:36:27.065Z] a227ed2f7395: Verifying Checksum [2022-04-07T21:36:27.065Z] a227ed2f7395: Download complete [2022-04-07T21:36:28.051Z] 9b3977197b4f: Pull complete [2022-04-07T21:36:28.328Z] 1a89e8eeedd5: Pull complete [2022-04-07T21:36:28.929Z] 94645a83ff95: Pull complete [2022-04-07T21:36:29.213Z] 7b1c46037f91: Download complete [2022-04-07T21:36:29.488Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-07T21:36:29.488Z] 3f3a8bcf1eab: Download complete [2022-04-07T21:36:41.893Z] 3f3a8bcf1eab: Pull complete [2022-04-07T21:36:41.893Z] 0c92f367c5e7: Pull complete [2022-04-07T21:36:41.893Z] f7c0051592d6: Pull complete [2022-04-07T21:36:41.893Z] a227ed2f7395: Pull complete [2022-04-07T21:36:47.304Z] 7b1c46037f91: Pull complete [2022-04-07T21:36:47.304Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-07T21:36:47.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-07T21:36:47.304Z] ---> f79e39bc4007 [2022-04-07T21:36:47.304Z] Step 3/12 : ARG MAKE='make build' [2022-04-07T21:36:48.747Z] ---> Running in dfb7ecf548de [2022-04-07T21:36:48.748Z] Removing intermediate container dfb7ecf548de [2022-04-07T21:36:48.748Z] ---> 1ca2bdc662d1 [2022-04-07T21:36:48.748Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T21:36:49.024Z] ---> Running in 121d81a4033b [2022-04-07T21:36:49.298Z] Removing intermediate container 121d81a4033b [2022-04-07T21:36:49.298Z] ---> 96bb2d5d4757 [2022-04-07T21:36:49.298Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T21:36:49.298Z] ---> Running in 4fd0e367936c [2022-04-07T21:36:49.575Z] Removing intermediate container 4fd0e367936c [2022-04-07T21:36:49.575Z] ---> 32aaa574a1c0 [2022-04-07T21:36:49.575Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T21:36:49.575Z] ---> Running in b0722417bc56 [2022-04-07T21:36:51.565Z] Removing intermediate container b0722417bc56 [2022-04-07T21:36:51.565Z] ---> c02d37616105 [2022-04-07T21:36:51.565Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T21:36:51.565Z] ---> Running in d28744c0d9f8 [2022-04-07T21:36:52.544Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T21:36:53.534Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T21:36:54.970Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-07T21:36:54.970Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-07T21:36:55.243Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-07T21:36:55.516Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-07T21:36:55.516Z] Executing busybox-1.34.1-r3.trigger [2022-04-07T21:36:55.516Z] OK: 224 MiB in 56 packages [2022-04-07T21:36:56.507Z] Removing intermediate container d28744c0d9f8 [2022-04-07T21:36:56.507Z] ---> 2f7cf0eec525 [2022-04-07T21:36:56.507Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-07T21:36:56.507Z] ---> Running in 6580acb0e613 [2022-04-07T21:36:57.110Z] Removing intermediate container 6580acb0e613 [2022-04-07T21:36:57.110Z] ---> 80de2d6baee7 [2022-04-07T21:36:57.110Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-07T21:36:57.388Z] ---> 48666761830f [2022-04-07T21:36:57.388Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T21:36:57.662Z] ---> Running in 404d7df92079 [2022-04-07T21:37:54.265Z] Removing intermediate container 404d7df92079 [2022-04-07T21:37:54.265Z] ---> 8b7deb3a3c10 [2022-04-07T21:37:54.265Z] Step 11/12 : COPY . . [2022-04-07T21:37:54.265Z] ---> 624a3104f7e3 [2022-04-07T21:37:54.265Z] Step 12/12 : RUN ${MAKE} [2022-04-07T21:37:54.265Z] ---> Running in daf9bd88ae72 [2022-04-07T21:37:54.265Z] noop [2022-04-07T21:37:54.265Z] Removing intermediate container daf9bd88ae72 [2022-04-07T21:37:54.265Z] ---> 9b16591e6a06 [2022-04-07T21:37:54.265Z] Successfully built 9b16591e6a06 [2022-04-07T21:37:54.265Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:37:54.634Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T21:37:54.634Z] . [Pipeline] withDockerContainer [2022-04-07T21:37:54.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-11513 does not seem to be running inside a container [2022-04-07T21:37:54.989Z] $ 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-04-07T21:37:56.349Z] $ docker top 40f3c63584562eefd45e843fc51f17adfbd167ec4c4f2e514dd44ecb50da21f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T21:38:11.674Z] + go version [2022-04-07T21:38:11.674Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-07T21:38:11.718Z] $ docker stop --time=1 40f3c63584562eefd45e843fc51f17adfbd167ec4c4f2e514dd44ecb50da21f7 [2022-04-07T21:38:13.447Z] $ docker rm -f 40f3c63584562eefd45e843fc51f17adfbd167ec4c4f2e514dd44ecb50da21f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:38:14.347Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T21:38:14.347Z] . [Pipeline] withDockerContainer [2022-04-07T21:38:14.624Z] prd-ubuntu20.04-docker-arm64-4c-16g-11513 does not seem to be running inside a container [2022-04-07T21:38:14.721Z] $ 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-04-07T21:38:16.142Z] $ docker top d7497f6148eb3043060e78de7d8158f9939018b61dc8e0a570543b584b59e1a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T21:38:17.185Z] + make test [2022-04-07T21:38:17.186Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-07T21:38:19.203Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-07T21:39:56.155Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-07T21:39:56.155Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2022-04-07T21:39:56.155Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-07T21:39:56.155Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-07T21:40:18.432Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T21:40:18.432Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T21:40:18.432Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T21:40:18.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T21:40:18.510Z] $ docker stop --time=1 d7497f6148eb3043060e78de7d8158f9939018b61dc8e0a570543b584b59e1a6 [2022-04-07T21:40:20.429Z] $ docker rm -f d7497f6148eb3043060e78de7d8158f9939018b61dc8e0a570543b584b59e1a6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T21:40:21.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T21:40:21.587Z] Warning: overwriting stash ‘coverage-report’ [2022-04-07T21:40:22.180Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T21:40:22.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T21:40:23.139Z] + ls -al . [2022-04-07T21:40:23.139Z] total 160 [2022-04-07T21:40:23.139Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 21:40 . [2022-04-07T21:40:23.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 21:35 .. [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 7 21:35 .dockerignore [2022-04-07T21:40:23.139Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 21:35 .git [2022-04-07T21:40:23.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:35 .github [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 7 21:35 .gitignore [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 21:35 .golangci.yml [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 7 21:35 Attribution.txt [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 7 21:35 CHANGELOG.md [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 7 21:35 Dockerfile [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 21:35 GOVERNANCE.md [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 7 21:35 Jenkinsfile [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 21:35 LICENSE [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 7 21:35 Makefile [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 21:35 OWNERS.md [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 7 21:35 README.md [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 21:30 VERSION [2022-04-07T21:40:23.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:35 bin [2022-04-07T21:40:23.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:35 cmd [2022-04-07T21:40:23.139Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 7 21:39 coverage.out [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 7 21:35 go.mod [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 7 21:35 go.sum [2022-04-07T21:40:23.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:35 internal [2022-04-07T21:40:23.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:35 snap [2022-04-07T21:40:23.139Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 7 21:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:40:23.512Z] + 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=a53b10c226c078ceb3a3c47d5de2cd7e3282654b --label arch=arm64 --label version=0.0.0 . [2022-04-07T21:40:23.792Z] Sending build context to Docker daemon 2.731MB [2022-04-07T21:40:23.792Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T21:40:23.792Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-07T21:40:23.792Z] ---> 9b16591e6a06 [2022-04-07T21:40:23.792Z] Step 3/24 : ARG MAKE='make build' [2022-04-07T21:40:24.082Z] ---> Running in 702aaadf290f [2022-04-07T21:40:24.369Z] Removing intermediate container 702aaadf290f [2022-04-07T21:40:24.369Z] ---> cc7478e34dc4 [2022-04-07T21:40:24.369Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T21:40:24.369Z] ---> Running in 82e9e338b84f [2022-04-07T21:40:24.984Z] Removing intermediate container 82e9e338b84f [2022-04-07T21:40:24.984Z] ---> 162f95d27d2e [2022-04-07T21:40:24.984Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T21:40:24.984Z] ---> Running in 72ee9ab50604 [2022-04-07T21:40:25.264Z] Removing intermediate container 72ee9ab50604 [2022-04-07T21:40:25.264Z] ---> bc3d25ca0d26 [2022-04-07T21:40:25.264Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T21:40:25.264Z] ---> Running in c9705de867e9 [2022-04-07T21:40:27.276Z] Removing intermediate container c9705de867e9 [2022-04-07T21:40:27.276Z] ---> 5b4791e38346 [2022-04-07T21:40:27.276Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T21:40:27.277Z] ---> Running in eeac056cba5a [2022-04-07T21:40:28.277Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T21:40:29.263Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T21:40:30.251Z] OK: 224 MiB in 56 packages [2022-04-07T21:40:31.256Z] Removing intermediate container eeac056cba5a [2022-04-07T21:40:31.256Z] ---> c4df76fa883c [2022-04-07T21:40:31.256Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-07T21:40:31.256Z] ---> Running in da56f322d5fb [2022-04-07T21:40:31.535Z] Removing intermediate container da56f322d5fb [2022-04-07T21:40:31.535Z] ---> 4797af4097a2 [2022-04-07T21:40:31.535Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-07T21:40:32.147Z] ---> 845293ec9f0b [2022-04-07T21:40:32.147Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T21:40:32.147Z] ---> Running in f6e94a44208c [2022-04-07T21:40:34.157Z] Removing intermediate container f6e94a44208c [2022-04-07T21:40:34.157Z] ---> 330fe85173d7 [2022-04-07T21:40:34.157Z] Step 11/24 : COPY . . [2022-04-07T21:40:35.152Z] ---> bcc36358138d [2022-04-07T21:40:35.152Z] Step 12/24 : RUN ${MAKE} [2022-04-07T21:40:35.152Z] ---> Running in 210b9c4519e2 [2022-04-07T21:40:36.614Z] 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-04-07T21:41:58.505Z] Removing intermediate container 210b9c4519e2 [2022-04-07T21:41:58.505Z] ---> 6105360fdba7 [2022-04-07T21:41:58.505Z] Step 13/24 : FROM alpine:3.14 [2022-04-07T21:41:59.105Z] 3.14: Pulling from library/alpine [2022-04-07T21:41:59.384Z] 455c02918c45: Pulling fs layer [2022-04-07T21:41:59.662Z] 455c02918c45: Verifying Checksum [2022-04-07T21:41:59.662Z] 455c02918c45: Download complete [2022-04-07T21:42:00.261Z] 455c02918c45: Pull complete [2022-04-07T21:42:00.261Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T21:42:00.261Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T21:42:00.262Z] ---> ac73e934f311 [2022-04-07T21:42:00.262Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-07T21:42:00.262Z] ---> Running in 7e13c310d7a9 [2022-04-07T21:42:01.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-07T21:42:01.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-07T21:42:02.687Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-07T21:42:02.687Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T21:42:02.687Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-07T21:42:02.687Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T21:42:02.687Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-07T21:42:02.687Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-07T21:42:02.687Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T21:42:02.687Z] OK: 8 MiB in 20 packages [2022-04-07T21:42:03.670Z] Removing intermediate container 7e13c310d7a9 [2022-04-07T21:42:03.670Z] ---> ebd20eb9a4a3 [2022-04-07T21:42:03.670Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-07T21:42:05.115Z] ---> ad5a03b91897 [2022-04-07T21:42:05.115Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-07T21:42:05.713Z] ---> 95edf752d400 [2022-04-07T21:42:05.713Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-07T21:42:06.312Z] ---> c23ac7941b38 [2022-04-07T21:42:06.312Z] Step 18/24 : EXPOSE 59993 [2022-04-07T21:42:06.312Z] ---> Running in 9dc6b6454223 [2022-04-07T21:42:06.912Z] Removing intermediate container 9dc6b6454223 [2022-04-07T21:42:06.912Z] ---> 5b72a7ae2f78 [2022-04-07T21:42:06.912Z] Step 19/24 : EXPOSE 161 [2022-04-07T21:42:06.912Z] ---> Running in c81b22ec489e [2022-04-07T21:42:07.185Z] Removing intermediate container c81b22ec489e [2022-04-07T21:42:07.185Z] ---> 746d85cc65a8 [2022-04-07T21:42:07.185Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-07T21:42:07.185Z] ---> Running in 016673a2629d [2022-04-07T21:42:07.474Z] Removing intermediate container 016673a2629d [2022-04-07T21:42:07.474Z] ---> 1910e4234009 [2022-04-07T21:42:07.474Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-07T21:42:07.749Z] ---> Running in a7c95e90191c [2022-04-07T21:42:08.026Z] Removing intermediate container a7c95e90191c [2022-04-07T21:42:08.026Z] ---> 23df1b823004 [2022-04-07T21:42:08.026Z] Step 22/24 : LABEL arch=arm64 [2022-04-07T21:42:08.026Z] ---> Running in 37de396aa00a [2022-04-07T21:42:08.315Z] Removing intermediate container 37de396aa00a [2022-04-07T21:42:08.315Z] ---> e0eeb2d1f704 [2022-04-07T21:42:08.315Z] Step 23/24 : LABEL git_sha=a53b10c226c078ceb3a3c47d5de2cd7e3282654b [2022-04-07T21:42:08.594Z] ---> Running in a03156a3ac62 [2022-04-07T21:42:08.870Z] Removing intermediate container a03156a3ac62 [2022-04-07T21:42:08.870Z] ---> 78648c261db4 [2022-04-07T21:42:08.870Z] Step 24/24 : LABEL version=0.0.0 [2022-04-07T21:42:08.870Z] ---> Running in 6ac21e6a9328 [2022-04-07T21:42:09.145Z] Removing intermediate container 6ac21e6a9328 [2022-04-07T21:42:09.145Z] ---> aa2eea79e3d1 [2022-04-07T21:42:09.145Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T21:42:09.423Z] Successfully built aa2eea79e3d1 [2022-04-07T21:42:09.423Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:42:10.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T21:42:10.282Z] [2022-04-07T21:42:10.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:42:10.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T21:42:10.953Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-07T21:42:10.953Z] 8998bd30e6a1: Pulling fs layer [2022-04-07T21:42:10.953Z] 04944245beec: Pulling fs layer [2022-04-07T21:42:10.953Z] 699f458cf7ca: Pulling fs layer [2022-04-07T21:42:10.953Z] 765212b225bb: Pulling fs layer [2022-04-07T21:42:10.953Z] f23df028b6ca: Pulling fs layer [2022-04-07T21:42:10.953Z] d65c8cfc05b1: Pulling fs layer [2022-04-07T21:42:10.953Z] 2437ff75d9bd: Pulling fs layer [2022-04-07T21:42:10.953Z] f23df028b6ca: Waiting [2022-04-07T21:42:10.954Z] d65c8cfc05b1: Waiting [2022-04-07T21:42:10.954Z] 2437ff75d9bd: Waiting [2022-04-07T21:42:10.954Z] 765212b225bb: Waiting [2022-04-07T21:42:10.954Z] 04944245beec: Download complete [2022-04-07T21:42:10.954Z] 765212b225bb: Download complete [2022-04-07T21:42:10.954Z] f23df028b6ca: Verifying Checksum [2022-04-07T21:42:10.954Z] f23df028b6ca: Download complete [2022-04-07T21:42:11.231Z] d65c8cfc05b1: Verifying Checksum [2022-04-07T21:42:11.231Z] d65c8cfc05b1: Download complete [2022-04-07T21:42:11.231Z] 699f458cf7ca: Verifying Checksum [2022-04-07T21:42:11.231Z] 699f458cf7ca: Download complete [2022-04-07T21:42:11.511Z] 8998bd30e6a1: Verifying Checksum [2022-04-07T21:42:11.511Z] 8998bd30e6a1: Download complete [2022-04-07T21:42:14.155Z] 2437ff75d9bd: Verifying Checksum [2022-04-07T21:42:14.155Z] 2437ff75d9bd: Download complete [2022-04-07T21:42:16.137Z] 8998bd30e6a1: Pull complete [2022-04-07T21:42:16.415Z] 04944245beec: Pull complete [2022-04-07T21:42:17.866Z] 699f458cf7ca: Pull complete [2022-04-07T21:42:18.141Z] 765212b225bb: Pull complete [2022-04-07T21:42:19.128Z] f23df028b6ca: Pull complete [2022-04-07T21:42:19.404Z] d65c8cfc05b1: Pull complete [2022-04-07T21:42:34.531Z] 2437ff75d9bd: Pull complete [2022-04-07T21:42:34.531Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-07T21:42:34.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T21:42:34.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-07T21:42:34.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-11513 does not seem to be running inside a container [2022-04-07T21:42:34.933Z] $ 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-04-07T21:42:37.912Z] $ docker top 8da6b71b4a3d98f7f33f29a7e31e6568e216572a191f30e520df9b6b6e3743ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:38.954Z] ---> job-cost.sh [2022-04-07T21:42:38.954Z] lf-activate-venv: SKIPPING [2022-04-07T21:42:38.954Z] INFO: No Stack... [2022-04-07T21:42:39.555Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-07T21:42:40.159Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T21:42:40.866Z] + cat+ /w/workspace/device-snmp-go/1/archives/cost.csv [2022-04-07T21:42:40.866Z] cut -d, -f6 [Pipeline] lock [2022-04-07T21:42:40.960Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [2022-04-07T21:42:40.965Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] did not exist. Created. [2022-04-07T21:42:40.965Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T21:42:41.736Z] /w/workspace/device-snmp-go/1@tmp/durable-2b20df8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-07T21:42:42.451Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-07T21:42:42.489Z] Warning: overwriting stash ‘stack-cost’ [2022-04-07T21:42:42.544Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T21:42:42.558Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T21:42:42.646Z] $ docker stop --time=1 8da6b71b4a3d98f7f33f29a7e31e6568e216572a191f30e520df9b6b6e3743ba [2022-04-07T21:42:44.187Z] $ docker rm -f 8da6b71b4a3d98f7f33f29a7e31e6568e216572a191f30e520df9b6b6e3743ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-07T21:42:45.325Z] provisioning config files... [2022-04-07T21:42:45.334Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config4368718347042143994tmp [Pipeline] { [Pipeline] sh [2022-04-07T21:42:45.671Z] + set +x [2022-04-07T21:42:45.671Z] + curl -s https://codecov.io/bash [2022-04-07T21:42:45.671Z] + bash -s -- [2022-04-07T21:42:45.671Z] [2022-04-07T21:42:45.671Z] _____ _ [2022-04-07T21:42:45.671Z] / ____| | | [2022-04-07T21:42:45.671Z] | | ___ __| | ___ ___ _____ __ [2022-04-07T21:42:45.671Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-07T21:42:45.671Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-07T21:42:45.671Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-07T21:42:45.671Z] Bash-1.0.6 [2022-04-07T21:42:45.671Z] [2022-04-07T21:42:45.671Z] [2022-04-07T21:42:45.671Z] ==> git version 2.25.1 found [2022-04-07T21:42:45.671Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-07T21:42:45.671Z] Release-Date: 2020-01-08 [2022-04-07T21:42:45.671Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-07T21:42:45.671Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-07T21:42:45.671Z] ==> Jenkins CI detected. [2022-04-07T21:42:45.671Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-151 [2022-04-07T21:42:45.671Z] project root: . [2022-04-07T21:42:45.671Z] --> token set from env [2022-04-07T21:42:45.671Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-07T21:42:45.671Z] ==> Running gcov in . (disable via -X gcov) [2022-04-07T21:42:45.671Z] ==> Python coveragepy not found [2022-04-07T21:42:45.671Z] ==> Searching for coverage reports in: [2022-04-07T21:42:45.671Z] + . [2022-04-07T21:42:45.671Z] -> Found 1 reports [2022-04-07T21:42:45.671Z] ==> Detecting git/mercurial file structure [2022-04-07T21:42:45.671Z] ==> Reading reports [2022-04-07T21:42:45.671Z] + ./coverage.out bytes=7631 [2022-04-07T21:42:45.671Z] ==> Appending adjustments [2022-04-07T21:42:45.671Z] https://docs.codecov.io/docs/fixing-reports [2022-04-07T21:42:45.931Z] + Found adjustments [2022-04-07T21:42:45.931Z] ==> Gzipping contents [2022-04-07T21:42:45.931Z] 4.0K /tmp/codecov.CiKx8K.gz [2022-04-07T21:42:45.931Z] ==> Uploading reports [2022-04-07T21:42:45.931Z] url: https://codecov.io [2022-04-07T21:42:45.931Z] query: branch=PR-151&commit=a53b10c226c078ceb3a3c47d5de2cd7e3282654b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-04-07T21:42:45.931Z] -> Pinging Codecov [2022-04-07T21:42:45.931Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-151&commit=a53b10c226c078ceb3a3c47d5de2cd7e3282654b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-04-07T21:42:46.191Z] -> Uploading to [2022-04-07T21:42:46.191Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-07/6C56EA5C29638FB4528AC87E60AF5AE0/a53b10c226c078ceb3a3c47d5de2cd7e3282654b/e1e905e2-3a6c-4c75-bac2-443dd4e54ae7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T214245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e943722e4abc50a66a03134000d5166b6b2f783d9121c4b98b2fc2d68359c65e [2022-04-07T21:42:46.191Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T21:42:46.191Z] Dload Upload Total Spent Left Speed [2022-04-07T21:42:46.191Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6800 --:--:-- --:--:-- --:--:-- 6800 [2022-04-07T21:42:46.451Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] } [2022-04-07T21:42:46.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-07T21:42:48.295Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-151/archives ] [2022-04-07T21:42:48.295Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives [2022-04-07T21:42:48.295Z] total 16 [2022-04-07T21:42:48.295Z] drwxr-xr-x 3 root root 4096 Apr 7 21:31 . [2022-04-07T21:42:48.295Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 21:31 .. [2022-04-07T21:42:48.295Z] drwxr-xr-x 2 root root 4096 Apr 7 21:31 cost [2022-04-07T21:42:48.295Z] -rw-r--r-- 1 root root 85 Apr 7 21:31 cost.csv [2022-04-07T21:42:48.295Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-151/archives [2022-04-07T21:42:48.295Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives [2022-04-07T21:42:48.295Z] total 16 [2022-04-07T21:42:48.295Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 21:31 . [2022-04-07T21:42:48.295Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 21:31 .. [2022-04-07T21:42:48.295Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 21:31 cost [2022-04-07T21:42:48.295Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 7 21:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:48.625Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:49.520Z] ---> package-listing.sh [2022-04-07T21:42:49.520Z] ++ facter osfamily [2022-04-07T21:42:49.520Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-07T21:42:49.781Z] + OS_FAMILY=debian [2022-04-07T21:42:49.781Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-151 [2022-04-07T21:42:49.781Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-07T21:42:49.781Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-07T21:42:49.781Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-07T21:42:49.781Z] + PACKAGES=/tmp/packages_start.txt [2022-04-07T21:42:49.781Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' [2022-04-07T21:42:49.781Z] + PACKAGES=/tmp/packages_end.txt [2022-04-07T21:42:49.781Z] + case "${OS_FAMILY}" in [2022-04-07T21:42:49.781Z] + dpkg -l [2022-04-07T21:42:49.781Z] + grep '^ii' [2022-04-07T21:42:49.781Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-07T21:42:49.781Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-07T21:42:49.781Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-07T21:42:49.781Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' [2022-04-07T21:42:49.781Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ [2022-04-07T21:42:49.781Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ [Pipeline] echo [2022-04-07T21:42:49.818Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-07T21:42:50.117Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-07T21:42:50.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T21:42:50.697Z] . [Pipeline] withDockerContainer [2022-04-07T21:42:50.777Z] prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container [2022-04-07T21:42:50.824Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-07T21:42:51.042Z] $ docker top c3d5f948f45122979b66a0e563e2f1ba662c9e14d535564c9cd7e670858994b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T21:42:51.434Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-07T21:42:51.744Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-07T21:42:52.052Z] + ls /var/log/sa-host [2022-04-07T21:42:52.052Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T21:42:52.394Z] provisioning config files... [2022-04-07T21:42:52.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config2439473966356728564tmp [Pipeline] { [Pipeline] echo [2022-04-07T21:42:52.451Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:52.772Z] ---> create-netrc.sh [Pipeline] } [2022-04-07T21:42:52.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:53.219Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-07T21:42:53.249Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:53.566Z] ---> sudo-logs.sh [2022-04-07T21:42:53.566Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-07T21:42:53.654Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:53.965Z] ---> job-cost.sh [2022-04-07T21:42:53.965Z] lf-activate-venv: SKIPPING [2022-04-07T21:42:53.965Z] DEBUG: total: 0.2199999988079071 [2022-04-07T21:42:53.965Z] INFO: Retrieving Stack Cost... [2022-04-07T21:42:54.226Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T21:42:54.798Z] INFO: Archiving Costs [Pipeline] echo [2022-04-07T21:42:54.835Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T21:42:55.152Z] ---> logs-deploy.sh [2022-04-07T21:42:55.152Z] lf-activate-venv: SKIPPING [2022-04-07T21:42:55.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-151/1 [2022-04-07T21:42:55.152Z] INFO: archiving workspace using pattern(s): [2022-04-07T21:42:56.094Z] Archives upload complete. [2022-04-07T21:42:56.094Z] INFO: archiving logs to Nexus