Pull request #155 updated 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 MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 0413261fd6b454820a227c0b076e094c9f4db28c rather than c29e33779782f230f90ceb39c34e9698f63ec464 Obtained Jenkinsfile from 0413261fd6b454820a227c0b076e094c9f4db28c 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-ssh16371794558416913572.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-ssh10529037344905263068.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-155/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-155/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9071364105543285953.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh502848546456021019.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-155/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-155/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12633978906585926733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-19522 in /w/workspace/gexfoundry_device-snmp-go_PR-155 [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-155 # 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 0413261fd6b454820a227c0b076e094c9f4db28c into PR head commit c29e33779782f230f90ceb39c34e9698f63ec464 Merge succeeded, producing c29e33779782f230f90ceb39c34e9698f63ec464 Checking out Revision c29e33779782f230f90ceb39c34e9698f63ec464 (PR-155) > 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/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c29e33779782f230f90ceb39c34e9698f63ec464 # 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 0413261fd6b454820a227c0b076e094c9f4db28c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c29e33779782f230f90ceb39c34e9698f63ec464 # timeout=10 Commit message: "test: add snap CI workflow" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T15:57:13.010Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 93edbb87d91a8067ee69c1ea5306256e64a6066b # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T15:57:13.081Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T15:57:13.102Z] ========================================================= [2022-04-11T15:57:13.102Z] EdgeX Global Pipelines Version Info [2022-04-11T15:57:13.102Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:13.911Z] ------------------- [2022-04-11T15:57:13.911Z] stable info: [2022-04-11T15:57:13.911Z] ------------------- [2022-04-11T15:57:13.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T15:57:13.911Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T15:57:13.911Z] Message: update stable to v1.0.221 [2022-04-11T15:57:14.483Z] ------------------- [2022-04-11T15:57:14.483Z] experimental info: [2022-04-11T15:57:14.483Z] ------------------- [2022-04-11T15:57:14.484Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T15:57:14.484Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T15:57:14.484Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T15:57:14.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-11T15:57:14.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-11T15:57:14.658Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T15:57:14.677Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T15:57:14.696Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T15:57:14.717Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T15:57:14.736Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T15:57:14.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-11T15:57:14.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T15:57:14.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T15:57:14.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T15:57:14.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-11T15:57:14.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T15:57:14.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T15:57:14.861Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T15:57:14.878Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T15:57:14.894Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T15:57:14.910Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T15:57:14.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T15:57:14.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T15:57:14.954Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-11T15:57:14.970Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-11T15:57:14.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T15:57:15.000Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T15:57:15.016Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T15:57:15.035Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T15:57:15.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-155 [Pipeline] echo [2022-04-11T15:57:15.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-155 [Pipeline] echo [2022-04-11T15:57:15.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-155 [Pipeline] echo [2022-04-11T15:57:15.109Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c29e33779782f230f90ceb39c34e9698f63ec464 [Pipeline] echo [2022-04-11T15:57:15.123Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c29e337 [Pipeline] echo [2022-04-11T15:57:15.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T15:57:15.190Z] provisioning config files... [2022-04-11T15:57:15.205Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/config4328137524134542773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:15.518Z] ---> docker-login.sh [2022-04-11T15:57:15.518Z] nexus3.edgexfoundry.org:10001 [2022-04-11T15:57:15.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:15.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:15.779Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:15.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:15.779Z] [2022-04-11T15:57:15.779Z] Login Succeeded [2022-04-11T15:57:15.779Z] nexus3.edgexfoundry.org:10002 [2022-04-11T15:57:16.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:16.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:16.042Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:16.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:16.042Z] [2022-04-11T15:57:16.042Z] Login Succeeded [2022-04-11T15:57:16.042Z] nexus3.edgexfoundry.org:10003 [2022-04-11T15:57:16.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:16.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:16.042Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:16.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:16.042Z] [2022-04-11T15:57:16.042Z] Login Succeeded [2022-04-11T15:57:16.304Z] nexus3.edgexfoundry.org:10004 [2022-04-11T15:57:16.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:16.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:16.304Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:16.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:16.304Z] [2022-04-11T15:57:16.304Z] Login Succeeded [2022-04-11T15:57:16.304Z] docker.io [2022-04-11T15:57:16.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:16.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:16.876Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:16.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:16.876Z] [2022-04-11T15:57:16.876Z] Login Succeeded [2022-04-11T15:57:16.876Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T15:57:16.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T15:57:17.276Z] + git rev-list -1 --merges c29e33779782f230f90ceb39c34e9698f63ec464~1..c29e33779782f230f90ceb39c34e9698f63ec464 [Pipeline] echo [2022-04-11T15:57:17.390Z] -----------> git rev-list -1 --merges c29e33779782f230f90ceb39c34e9698f63ec464~1..c29e33779782f230f90ceb39c34e9698f63ec464 c29e33779782f230f90ceb39c34e9698f63ec464 [false] [Pipeline] sh [2022-04-11T15:57:17.686Z] + git log --format=format:%s -1 c29e33779782f230f90ceb39c34e9698f63ec464 [Pipeline] echo [2022-04-11T15:57:17.702Z] ========================================================= [2022-04-11T15:57:17.702Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T15:57:17.702Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T15:57:18.048Z] + git log --format=format:%s -1 c29e33779782f230f90ceb39c34e9698f63ec464 [Pipeline] echo [2022-04-11T15:57:18.062Z] [semverPrep] GIT_COMMIT: c29e33779782f230f90ceb39c34e9698f63ec464, Commit Message: test: add snap CI workflow [Pipeline] echo [2022-04-11T15:57:18.073Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T15:57:18.459Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T15:57:18.460Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T15:57:18.460Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T15:57:18.460Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T15:57:18.460Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-04-11T15:57:18.460Z] tee -a /etc/ssh/ssh_known_hosts [2022-04-11T15:57:18.460Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:57:18.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T15:57:18.809Z] [2022-04-11T15:57:18.809Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:57:19.119Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T15:57:19.119Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T15:57:19.119Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T15:57:19.119Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T15:57:19.119Z] 4c7163046ea9: Pulling fs layer [2022-04-11T15:57:19.119Z] 0c2d73faf560: Pulling fs layer [2022-04-11T15:57:19.119Z] 0c2d73faf560: Waiting [2022-04-11T15:57:19.119Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T15:57:19.119Z] 3e5f54012d9b: Download complete [2022-04-11T15:57:19.119Z] a0d0a0d46f8b: Verifying Checksum [2022-04-11T15:57:19.119Z] a0d0a0d46f8b: Download complete [2022-04-11T15:57:19.379Z] 0c2d73faf560: Verifying Checksum [2022-04-11T15:57:19.379Z] 0c2d73faf560: Download complete [2022-04-11T15:57:19.379Z] 4c7163046ea9: Verifying Checksum [2022-04-11T15:57:19.379Z] 4c7163046ea9: Download complete [2022-04-11T15:57:19.379Z] a0d0a0d46f8b: Pull complete [2022-04-11T15:57:19.379Z] 3e5f54012d9b: Pull complete [2022-04-11T15:57:19.643Z] 4c7163046ea9: Pull complete [2022-04-11T15:57:19.907Z] 0c2d73faf560: Pull complete [2022-04-11T15:57:19.907Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T15:57:19.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T15:57:19.907Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T15:57:19.997Z] prd-ubuntu20.04-docker-8c-8g-19522 does not seem to be running inside a container [2022-04-11T15:57:20.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T15:57:20.705Z] $ docker top 78d7728e7bffa9e56e1cddf80f47edfe002ba530f9b4a02a2492dbeab713dee3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T15:57:20.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T15:57:20.806Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T15:57:20.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T15:57:20.959Z] $ docker exec 78d7728e7bffa9e56e1cddf80f47edfe002ba530f9b4a02a2492dbeab713dee3 ssh-agent [2022-04-11T15:57:21.095Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdNLblP/agent.13 [2022-04-11T15:57:21.095Z] SSH_AGENT_PID=19 [2022-04-11T15:57:21.103Z] Running ssh-add (command line suppressed) [2022-04-11T15:57:21.223Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_4850182901656979710.key (/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_4850182901656979710.key) [2022-04-11T15:57:21.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T15:57:21.537Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T15:57:21.559Z] $ docker exec --env ******** --env ******** 78d7728e7bffa9e56e1cddf80f47edfe002ba530f9b4a02a2492dbeab713dee3 ssh-agent -k [2022-04-11T15:57:21.677Z] unset SSH_AUTH_SOCK; [2022-04-11T15:57:21.677Z] unset SSH_AGENT_PID; [2022-04-11T15:57:21.677Z] echo Agent pid 19 killed; [2022-04-11T15:57:21.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T15:57:21.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T15:57:21.706Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T15:57:21.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T15:57:21.845Z] $ docker exec 78d7728e7bffa9e56e1cddf80f47edfe002ba530f9b4a02a2492dbeab713dee3 ssh-agent [2022-04-11T15:57:21.961Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkiMfob/agent.53 [2022-04-11T15:57:21.961Z] SSH_AGENT_PID=59 [2022-04-11T15:57:21.967Z] Running ssh-add (command line suppressed) [2022-04-11T15:57:22.103Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_9200436037263325336.key (/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_9200436037263325336.key) [2022-04-11T15:57:22.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T15:57:22.406Z] + git semver init [2022-04-11T15:57:22.406Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T15:57:22.406Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-155/.git [2022-04-11T15:57:22.406Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-155 [2022-04-11T15:57:22.406Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T15:57:22.406Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T15:57:22.406Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T15:57:22.406Z] # $SEMVER_BRANCH = PR-155 [2022-04-11T15:57:22.406Z] # $SEMVER_TEMP = /tmp/semver-970691527 [2022-04-11T15:57:22.406Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-11T15:57:23.351Z] # '/tmp/semver-970691527' -> '/w/workspace/gexfoundry_device-snmp-go_PR-155/.semver' [2022-04-11T15:57:23.351Z] # -> Force: false [2022-04-11T15:57:23.351Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-155/.semver [Pipeline] } [2022-04-11T15:57:23.369Z] $ docker exec --env ******** --env ******** 78d7728e7bffa9e56e1cddf80f47edfe002ba530f9b4a02a2492dbeab713dee3 ssh-agent -k [2022-04-11T15:57:23.473Z] unset SSH_AUTH_SOCK; [2022-04-11T15:57:23.474Z] unset SSH_AGENT_PID; [2022-04-11T15:57:23.474Z] echo Agent pid 59 killed; [2022-04-11T15:57:23.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T15:57:23.801Z] + git semver [Pipeline] } [2022-04-11T15:57:23.828Z] $ docker stop --time=1 78d7728e7bffa9e56e1cddf80f47edfe002ba530f9b4a02a2492dbeab713dee3 [2022-04-11T15:57:25.192Z] $ docker rm -f 78d7728e7bffa9e56e1cddf80f47edfe002ba530f9b4a02a2492dbeab713dee3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T15:57:25.564Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T15:57:25.845Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T15:57:25.849Z] [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-11T15:57:26.024Z] provisioning config files... [2022-04-11T15:57:26.035Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/config8372429972896787040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:26.344Z] ---> docker-login.sh [2022-04-11T15:57:26.344Z] nexus3.edgexfoundry.org:10001 [2022-04-11T15:57:26.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:26.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:26.344Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:26.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:26.344Z] [2022-04-11T15:57:26.344Z] Login Succeeded [2022-04-11T15:57:26.344Z] nexus3.edgexfoundry.org:10002 [2022-04-11T15:57:26.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:26.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:26.606Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:26.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:26.606Z] [2022-04-11T15:57:26.606Z] Login Succeeded [2022-04-11T15:57:26.606Z] nexus3.edgexfoundry.org:10003 [2022-04-11T15:57:26.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:26.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:26.606Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:26.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:26.606Z] [2022-04-11T15:57:26.606Z] Login Succeeded [2022-04-11T15:57:26.606Z] nexus3.edgexfoundry.org:10004 [2022-04-11T15:57:26.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:26.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:26.867Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:26.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:26.867Z] [2022-04-11T15:57:26.867Z] Login Succeeded [2022-04-11T15:57:26.867Z] docker.io [2022-04-11T15:57:26.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:57:27.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:57:27.127Z] Configure a credential helper to remove this warning. See [2022-04-11T15:57:27.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:57:27.127Z] [2022-04-11T15:57:27.127Z] Login Succeeded [2022-04-11T15:57:27.387Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T15:57:27.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T15:57:27.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T15:57:27.471Z] ========================================================= [2022-04-11T15:57:27.471Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T15:57:27.471Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:57:27.781Z] + 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-11T15:57:27.781Z] Sending build context to Docker daemon 5.25MB [2022-04-11T15:57:27.781Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T15:57:27.781Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T15:57:27.781Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T15:57:27.781Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T15:57:27.781Z] 666ba61612fd: Pulling fs layer [2022-04-11T15:57:27.781Z] 8ed8ca486205: Pulling fs layer [2022-04-11T15:57:27.781Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T15:57:27.781Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T15:57:27.781Z] 640e595b4fbd: Pulling fs layer [2022-04-11T15:57:27.781Z] 763cafe07f6e: Pulling fs layer [2022-04-11T15:57:27.781Z] 0c0b528cf693: Pulling fs layer [2022-04-11T15:57:27.781Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T15:57:27.781Z] 640e595b4fbd: Waiting [2022-04-11T15:57:27.781Z] 763cafe07f6e: Waiting [2022-04-11T15:57:27.781Z] 4fe6c5a15a65: Waiting [2022-04-11T15:57:27.782Z] 0c0b528cf693: Waiting [2022-04-11T15:57:27.782Z] 22a0e8bec74d: Waiting [2022-04-11T15:57:27.782Z] 10935f4eaf8b: Waiting [2022-04-11T15:57:27.782Z] 8ed8ca486205: Verifying Checksum [2022-04-11T15:57:27.782Z] 8ed8ca486205: Download complete [2022-04-11T15:57:27.782Z] 666ba61612fd: Verifying Checksum [2022-04-11T15:57:27.782Z] 666ba61612fd: Download complete [2022-04-11T15:57:27.782Z] 22a0e8bec74d: Verifying Checksum [2022-04-11T15:57:27.782Z] 22a0e8bec74d: Download complete [2022-04-11T15:57:28.042Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T15:57:28.042Z] 59bf1c3509f3: Download complete [2022-04-11T15:57:28.042Z] 640e595b4fbd: Verifying Checksum [2022-04-11T15:57:28.042Z] 640e595b4fbd: Download complete [2022-04-11T15:57:28.042Z] 763cafe07f6e: Verifying Checksum [2022-04-11T15:57:28.042Z] 763cafe07f6e: Download complete [2022-04-11T15:57:28.042Z] 0c0b528cf693: Verifying Checksum [2022-04-11T15:57:28.042Z] 0c0b528cf693: Download complete [2022-04-11T15:57:28.042Z] 59bf1c3509f3: Pull complete [2022-04-11T15:57:28.307Z] 666ba61612fd: Pull complete [2022-04-11T15:57:28.308Z] 8ed8ca486205: Pull complete [2022-04-11T15:57:28.569Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T15:57:28.569Z] 10935f4eaf8b: Download complete [2022-04-11T15:57:28.569Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T15:57:28.569Z] 4fe6c5a15a65: Download complete [2022-04-11T15:57:32.769Z] 4fe6c5a15a65: Pull complete [2022-04-11T15:57:32.769Z] 22a0e8bec74d: Pull complete [2022-04-11T15:57:32.769Z] 640e595b4fbd: Pull complete [2022-04-11T15:57:32.769Z] 763cafe07f6e: Pull complete [2022-04-11T15:57:32.769Z] 0c0b528cf693: Pull complete [2022-04-11T15:57:35.311Z] 10935f4eaf8b: Pull complete [2022-04-11T15:57:35.311Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T15:57:35.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T15:57:35.311Z] ---> 99d49a6021b9 [2022-04-11T15:57:35.311Z] Step 3/12 : ARG MAKE='make build' [2022-04-11T15:57:36.257Z] ---> Running in b87541047db5 [2022-04-11T15:57:36.515Z] Removing intermediate container b87541047db5 [2022-04-11T15:57:36.515Z] ---> 4d6e599eb1f1 [2022-04-11T15:57:36.515Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T15:57:36.515Z] ---> Running in 69523593bd65 [2022-04-11T15:57:36.515Z] Removing intermediate container 69523593bd65 [2022-04-11T15:57:36.515Z] ---> 67f2e0eede58 [2022-04-11T15:57:36.515Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T15:57:36.515Z] ---> Running in b413f2172da8 [2022-04-11T15:57:36.774Z] Removing intermediate container b413f2172da8 [2022-04-11T15:57:36.774Z] ---> 5f675c48c5ff [2022-04-11T15:57:36.774Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T15:57:36.774Z] ---> Running in d318a49dcfb0 [2022-04-11T15:57:37.348Z] Removing intermediate container d318a49dcfb0 [2022-04-11T15:57:37.348Z] ---> 05362a91dd9c [2022-04-11T15:57:37.348Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T15:57:37.348Z] ---> Running in 8b3b828752fd [2022-04-11T15:57:37.611Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T15:57:38.555Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T15:57:38.817Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T15:57:39.077Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T15:57:39.077Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T15:57:39.077Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T15:57:39.343Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T15:57:39.343Z] OK: 224 MiB in 56 packages [2022-04-11T15:57:39.603Z] Removing intermediate container 8b3b828752fd [2022-04-11T15:57:39.603Z] ---> daff4aa161c9 [2022-04-11T15:57:39.603Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-11T15:57:39.603Z] ---> Running in cbc6b87c4126 [2022-04-11T15:57:39.864Z] Removing intermediate container cbc6b87c4126 [2022-04-11T15:57:39.864Z] ---> c1cbe694303d [2022-04-11T15:57:39.864Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-11T15:57:39.864Z] ---> e6844d18f968 [2022-04-11T15:57:39.864Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T15:57:40.124Z] ---> Running in 97035ca7824c [2022-04-11T15:57:40.975Z] Still waiting to schedule task [2022-04-11T15:57:40.975Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-11T15:57:55.032Z] Removing intermediate container 97035ca7824c [2022-04-11T15:57:55.032Z] ---> 745192dfd2f9 [2022-04-11T15:57:55.032Z] Step 11/12 : COPY . . [2022-04-11T15:57:55.032Z] ---> ed5a0c265fcd [2022-04-11T15:57:55.032Z] Step 12/12 : RUN ${MAKE} [2022-04-11T15:57:55.032Z] ---> Running in e1c6a254e631 [2022-04-11T15:57:55.032Z] noop [2022-04-11T15:57:55.032Z] Removing intermediate container e1c6a254e631 [2022-04-11T15:57:55.032Z] ---> bc8aab51eea8 [2022-04-11T15:57:55.032Z] Successfully built bc8aab51eea8 [2022-04-11T15:57:55.032Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:57:55.333Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T15:57:55.333Z] . [Pipeline] withDockerContainer [2022-04-11T15:57:55.400Z] prd-ubuntu20.04-docker-8c-8g-19522 does not seem to be running inside a container [2022-04-11T15:57:55.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-11T15:57:55.853Z] $ docker top a1856767f380dd78cdb6feffc38f8f650ab27c81aa808313c3ae552510b5b701 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T15:57:56.201Z] + go version [2022-04-11T15:57:56.201Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T15:57:56.222Z] $ docker stop --time=1 a1856767f380dd78cdb6feffc38f8f650ab27c81aa808313c3ae552510b5b701 [2022-04-11T15:57:57.502Z] $ docker rm -f a1856767f380dd78cdb6feffc38f8f650ab27c81aa808313c3ae552510b5b701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:57:57.904Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T15:57:57.904Z] . [Pipeline] withDockerContainer [2022-04-11T15:57:57.974Z] prd-ubuntu20.04-docker-8c-8g-19522 does not seem to be running inside a container [2022-04-11T15:57:58.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-11T15:57:58.395Z] $ docker top 1276c6fe66c6a5d95a756c9c93f10e247b2a6ee4c5a35a7b85b3342cc1f39ae9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T15:57:58.754Z] + make test [2022-04-11T15:57:58.754Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T15:57:59.014Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-11T15:58:09.049Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-11T15:58:09.049Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2022-04-11T15:58:14.374Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T15:58:17.664Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T15:58:17.664Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T15:58:17.664Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T15:58:17.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T15:58:17.695Z] $ docker stop --time=1 1276c6fe66c6a5d95a756c9c93f10e247b2a6ee4c5a35a7b85b3342cc1f39ae9 [2022-04-11T15:58:19.598Z] $ docker rm -f 1276c6fe66c6a5d95a756c9c93f10e247b2a6ee4c5a35a7b85b3342cc1f39ae9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T15:58:20.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T15:58:20.091Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T15:58:20.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T15:58:20.977Z] + ls -al . [2022-04-11T15:58:20.977Z] total 164 [2022-04-11T15:58:20.977Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 15:58 . [2022-04-11T15:58:20.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 15:57 .. [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 11 15:57 .dockerignore [2022-04-11T15:58:20.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 15:57 .git [2022-04-11T15:58:20.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:57 .github [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 11 15:57 .gitignore [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 15:57 .golangci.yml [2022-04-11T15:58:20.977Z] drwx------ 3 jenkins jenkins 4096 Apr 11 15:57 .semver [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 11 15:57 Attribution.txt [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 11 15:57 CHANGELOG.md [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 11 15:57 Dockerfile [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 15:57 GOVERNANCE.md [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 11 15:57 Jenkinsfile [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 15:57 LICENSE [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 11 15:57 Makefile [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 15:57 OWNERS.md [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 11 15:57 README.md [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 15:57 VERSION [2022-04-11T15:58:20.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 15:57 bin [2022-04-11T15:58:20.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:57 cmd [2022-04-11T15:58:20.977Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 11 15:58 coverage.out [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 11 15:57 go.mod [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 11 15:57 go.sum [2022-04-11T15:58:20.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:57 internal [2022-04-11T15:58:20.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:57 snap [2022-04-11T15:58:20.977Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 11 15:57 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:58:21.280Z] + 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=c29e33779782f230f90ceb39c34e9698f63ec464 --label arch=amd64 --label version=0.0.0 . [2022-04-11T15:58:21.280Z] Sending build context to Docker daemon 5.258MB [2022-04-11T15:58:21.280Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T15:58:21.280Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-11T15:58:21.280Z] ---> bc8aab51eea8 [2022-04-11T15:58:21.280Z] Step 3/24 : ARG MAKE='make build' [2022-04-11T15:58:21.280Z] ---> Running in 6276b1d20126 [2022-04-11T15:58:21.539Z] Removing intermediate container 6276b1d20126 [2022-04-11T15:58:21.539Z] ---> 97ecd3355812 [2022-04-11T15:58:21.539Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T15:58:21.539Z] ---> Running in 88147611ce11 [2022-04-11T15:58:21.539Z] Removing intermediate container 88147611ce11 [2022-04-11T15:58:21.539Z] ---> 45263d3228ca [2022-04-11T15:58:21.539Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T15:58:21.539Z] ---> Running in e788643d5dc0 [2022-04-11T15:58:21.799Z] Removing intermediate container e788643d5dc0 [2022-04-11T15:58:21.799Z] ---> edff5e14b3d4 [2022-04-11T15:58:21.799Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T15:58:21.799Z] ---> Running in dbe71b4427ca [2022-04-11T15:58:22.740Z] Removing intermediate container dbe71b4427ca [2022-04-11T15:58:22.740Z] ---> ec612ac96116 [2022-04-11T15:58:22.740Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T15:58:22.740Z] ---> Running in ebbf745d825e [2022-04-11T15:58:23.002Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T15:58:23.946Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T15:58:24.221Z] OK: 224 MiB in 56 packages [2022-04-11T15:58:24.482Z] Removing intermediate container ebbf745d825e [2022-04-11T15:58:24.482Z] ---> 29553d35cfbd [2022-04-11T15:58:24.482Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-11T15:58:24.482Z] ---> Running in c66f4bbb2d7d [2022-04-11T15:58:24.482Z] Removing intermediate container c66f4bbb2d7d [2022-04-11T15:58:24.482Z] ---> 8fa07d0f17cf [2022-04-11T15:58:24.482Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-11T15:58:24.743Z] ---> 74e27feb22db [2022-04-11T15:58:24.743Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T15:58:24.743Z] ---> Running in a03093a82f92 [2022-04-11T15:58:25.315Z] Removing intermediate container a03093a82f92 [2022-04-11T15:58:25.315Z] ---> 88851f02725b [2022-04-11T15:58:25.315Z] Step 11/24 : COPY . . [2022-04-11T15:58:25.888Z] ---> 653ce292e23c [2022-04-11T15:58:25.888Z] Step 12/24 : RUN ${MAKE} [2022-04-11T15:58:25.888Z] ---> Running in 1cc7e943654c [2022-04-11T15:58:26.152Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-11T15:58:48.223Z] Removing intermediate container 1cc7e943654c [2022-04-11T15:58:48.223Z] ---> 30aeca6eae6b [2022-04-11T15:58:48.223Z] Step 13/24 : FROM alpine:3.14 [2022-04-11T15:58:48.223Z] 3.14: Pulling from library/alpine [2022-04-11T15:58:48.223Z] 8663204ce13b: Pulling fs layer [2022-04-11T15:58:48.223Z] 8663204ce13b: Download complete [2022-04-11T15:58:48.223Z] 8663204ce13b: Pull complete [2022-04-11T15:58:48.223Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T15:58:48.223Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T15:58:48.223Z] ---> e04c818066af [2022-04-11T15:58:48.223Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T15:58:48.223Z] ---> Running in 57ac135b4821 [2022-04-11T15:58:48.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T15:58:48.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T15:58:48.223Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T15:58:48.223Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T15:58:48.223Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T15:58:48.223Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T15:58:48.223Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T15:58:48.223Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T15:58:48.223Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T15:58:48.223Z] OK: 8 MiB in 20 packages [2022-04-11T15:58:48.223Z] Removing intermediate container 57ac135b4821 [2022-04-11T15:58:48.223Z] ---> 6b3f95b77688 [2022-04-11T15:58:48.223Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-11T15:58:48.223Z] ---> 501336462950 [2022-04-11T15:58:48.223Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-11T15:58:48.223Z] ---> f14e27838f42 [2022-04-11T15:58:48.223Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-11T15:58:48.223Z] ---> 6b7437023b85 [2022-04-11T15:58:48.223Z] Step 18/24 : EXPOSE 59993 [2022-04-11T15:58:48.223Z] ---> Running in e3eb1f78ee1a [2022-04-11T15:58:48.224Z] Removing intermediate container e3eb1f78ee1a [2022-04-11T15:58:48.224Z] ---> c7a09b33b168 [2022-04-11T15:58:48.224Z] Step 19/24 : EXPOSE 161 [2022-04-11T15:58:48.224Z] ---> Running in 037ab560ffc5 [2022-04-11T15:58:48.224Z] Removing intermediate container 037ab560ffc5 [2022-04-11T15:58:48.224Z] ---> d13acb029337 [2022-04-11T15:58:48.224Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-11T15:58:48.224Z] ---> Running in 81b88d06eba7 [2022-04-11T15:58:48.224Z] Removing intermediate container 81b88d06eba7 [2022-04-11T15:58:48.224Z] ---> 33a99c98e059 [2022-04-11T15:58:48.224Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-11T15:58:48.224Z] ---> Running in 1df487dd75b2 [2022-04-11T15:58:48.224Z] Removing intermediate container 1df487dd75b2 [2022-04-11T15:58:48.224Z] ---> a7c2d9ac9a07 [2022-04-11T15:58:48.224Z] Step 22/24 : LABEL arch=amd64 [2022-04-11T15:58:48.224Z] ---> Running in d07e7b404edf [2022-04-11T15:58:48.483Z] Removing intermediate container d07e7b404edf [2022-04-11T15:58:48.483Z] ---> 2c698acde3f6 [2022-04-11T15:58:48.483Z] Step 23/24 : LABEL git_sha=c29e33779782f230f90ceb39c34e9698f63ec464 [2022-04-11T15:58:48.483Z] ---> Running in 12e5edc4acc9 [2022-04-11T15:58:48.483Z] Removing intermediate container 12e5edc4acc9 [2022-04-11T15:58:48.483Z] ---> 3c1e62ae8167 [2022-04-11T15:58:48.483Z] Step 24/24 : LABEL version=0.0.0 [2022-04-11T15:58:48.483Z] ---> Running in fcf461f534e2 [2022-04-11T15:58:48.744Z] Removing intermediate container fcf461f534e2 [2022-04-11T15:58:48.744Z] ---> 953818b03c63 [2022-04-11T15:58:48.744Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T15:58:48.744Z] Successfully built 953818b03c63 [2022-04-11T15:58:48.744Z] 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-11T15:58:49.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T15:58:49.157Z] [2022-04-11T15:58:49.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:58:49.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T15:58:49.460Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T15:58:49.460Z] 5eb5b503b376: Pulling fs layer [2022-04-11T15:58:49.460Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T15:58:49.460Z] ec43610c2a17: Pulling fs layer [2022-04-11T15:58:49.460Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T15:58:49.460Z] 33b1e0a273af: Pulling fs layer [2022-04-11T15:58:49.460Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T15:58:49.460Z] 3a2ae6a8a46f: Waiting [2022-04-11T15:58:49.460Z] 33b1e0a273af: Waiting [2022-04-11T15:58:49.460Z] 2f39f015ded8: Pulling fs layer [2022-04-11T15:58:49.460Z] 5d3b04190fa2: Waiting [2022-04-11T15:58:49.460Z] 2f39f015ded8: Waiting [2022-04-11T15:58:49.460Z] 5c69ac0246d0: Download complete [2022-04-11T15:58:49.460Z] 3a2ae6a8a46f: Download complete [2022-04-11T15:58:49.460Z] 33b1e0a273af: Download complete [2022-04-11T15:58:49.460Z] 5d3b04190fa2: Download complete [2022-04-11T15:58:49.719Z] ec43610c2a17: Verifying Checksum [2022-04-11T15:58:49.719Z] ec43610c2a17: Download complete [2022-04-11T15:58:49.719Z] 5eb5b503b376: Verifying Checksum [2022-04-11T15:58:49.719Z] 5eb5b503b376: Download complete [2022-04-11T15:58:50.287Z] 2f39f015ded8: Verifying Checksum [2022-04-11T15:58:50.287Z] 2f39f015ded8: Download complete [2022-04-11T15:58:50.855Z] 5eb5b503b376: Pull complete [2022-04-11T15:58:51.114Z] 5c69ac0246d0: Pull complete [2022-04-11T15:58:51.374Z] ec43610c2a17: Pull complete [2022-04-11T15:58:51.634Z] 3a2ae6a8a46f: Pull complete [2022-04-11T15:58:51.893Z] 33b1e0a273af: Pull complete [2022-04-11T15:58:51.893Z] 5d3b04190fa2: Pull complete [2022-04-11T15:58:56.085Z] 2f39f015ded8: Pull complete [2022-04-11T15:58:56.085Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T15:58:56.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T15:58:56.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T15:58:56.153Z] prd-ubuntu20.04-docker-8c-8g-19522 does not seem to be running inside a container [2022-04-11T15:58:56.200Z] $ 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-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T15:58:57.967Z] $ docker top 0f32470b95ac7de71c76e6d250ef55625c2461148e247be80e3adf25eb777ef0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:58:58.377Z] ---> job-cost.sh [2022-04-11T15:58:58.377Z] lf-activate-venv: SKIPPING [2022-04-11T15:58:58.377Z] INFO: No Stack... [2022-04-11T15:58:58.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T15:58:59.206Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T15:58:59.500Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-155/archives/cost.csv [2022-04-11T15:58:59.500Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T15:58:59.516Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] [2022-04-11T15:58:59.525Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] did not exist. Created. [2022-04-11T15:58:59.525Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T15:58:59.833Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T15:58:59.857Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T15:58:59.864Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T15:58:59.892Z] $ docker stop --time=1 0f32470b95ac7de71c76e6d250ef55625c2461148e247be80e3adf25eb777ef0 [2022-04-11T15:59:01.067Z] $ docker rm -f 0f32470b95ac7de71c76e6d250ef55625c2461148e247be80e3adf25eb777ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T15:59:30.346Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19524 in /w/workspace/gexfoundry_device-snmp-go_PR-155 [Pipeline] { [Pipeline] ws [2022-04-11T15:59:30.360Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2022-04-11T15:59:30.776Z] Selected Git installation does not exist. Using Default [2022-04-11T15:59:30.776Z] The recommended git tool is: NONE [2022-04-11T15:59:38.207Z] using credential edgex-jenkins-ssh [2022-04-11T15:59:38.224Z] Cloning the remote Git repository [2022-04-11T15:59:38.309Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T15:59:38.393Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2022-04-11T15:59:38.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T15:59:38.458Z] > git --version # timeout=10 [2022-04-11T15:59:38.510Z] > git --version # 'git version 2.25.1' [2022-04-11T15:59:38.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T15:59:38.636Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T15:59:39.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-11T15:59:39.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T15:59:39.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-11T15:59:39.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T15:59:39.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T15:59:39.913Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-11T15:59:40.445Z] Merging remotes/origin/main commit 0413261fd6b454820a227c0b076e094c9f4db28c into PR head commit c29e33779782f230f90ceb39c34e9698f63ec464 [2022-04-11T15:59:40.728Z] Merge succeeded, producing c29e33779782f230f90ceb39c34e9698f63ec464 [2022-04-11T15:59:40.728Z] Checking out Revision c29e33779782f230f90ceb39c34e9698f63ec464 (PR-155) [2022-04-11T15:59:40.482Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T15:59:40.506Z] > git checkout -f c29e33779782f230f90ceb39c34e9698f63ec464 # timeout=10 [2022-04-11T15:59:40.605Z] > git remote # timeout=10 [2022-04-11T15:59:40.633Z] > git config --get remote.origin.url # timeout=10 [2022-04-11T15:59:40.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T15:59:40.675Z] > git merge 0413261fd6b454820a227c0b076e094c9f4db28c # timeout=10 [2022-04-11T15:59:40.707Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-11T15:59:40.742Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T15:59:40.781Z] > git checkout -f c29e33779782f230f90ceb39c34e9698f63ec464 # timeout=10 [2022-04-11T15:59:45.052Z] Commit message: "test: add snap CI workflow" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T15:59:45.924Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T15:59:45.924Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T15:59:45.924Z] Dload Upload Total Spent Left Speed [2022-04-11T15:59:45.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47183 0 --:--:-- --:--:-- --:--:-- 47183 [Pipeline] sh [2022-04-11T15:59:46.460Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T15:59:46.806Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-04-11T15:59:46.806Z] /etc/docker/daemon.new [2022-04-11T15:59:46.806Z] { [2022-04-11T15:59:46.806Z] "registry-mirrors": [ [2022-04-11T15:59:46.806Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T15:59:46.806Z] ], [2022-04-11T15:59:46.806Z] "bip": "10.250.0.254/24", [2022-04-11T15:59:46.806Z] "hosts": [ [2022-04-11T15:59:46.806Z] "tcp://0.0.0.0:5555", [2022-04-11T15:59:46.806Z] "unix:///var/run/docker.sock" [2022-04-11T15:59:46.806Z] ], [2022-04-11T15:59:46.806Z] "mtu": 1458, [2022-04-11T15:59:46.806Z] "selinux-enabled": true, [2022-04-11T15:59:46.806Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T15:59:46.806Z] } [Pipeline] sh [2022-04-11T15:59:47.150Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T15:59:47.498Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T16:00:05.849Z] provisioning config files... [2022-04-11T16:00:05.911Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config5512347173912153629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:00:06.320Z] ---> docker-login.sh [2022-04-11T16:00:06.320Z] nexus3.edgexfoundry.org:10001 [2022-04-11T16:00:06.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:00:07.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:00:07.193Z] Configure a credential helper to remove this warning. See [2022-04-11T16:00:07.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:00:07.193Z] [2022-04-11T16:00:07.193Z] Login Succeeded [2022-04-11T16:00:07.193Z] nexus3.edgexfoundry.org:10002 [2022-04-11T16:00:07.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:00:07.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:00:07.742Z] Configure a credential helper to remove this warning. See [2022-04-11T16:00:07.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:00:07.742Z] [2022-04-11T16:00:07.742Z] Login Succeeded [2022-04-11T16:00:07.742Z] nexus3.edgexfoundry.org:10003 [2022-04-11T16:00:08.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:00:08.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:00:08.291Z] Configure a credential helper to remove this warning. See [2022-04-11T16:00:08.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:00:08.291Z] [2022-04-11T16:00:08.291Z] Login Succeeded [2022-04-11T16:00:08.291Z] nexus3.edgexfoundry.org:10004 [2022-04-11T16:00:08.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:00:08.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:00:08.565Z] Configure a credential helper to remove this warning. See [2022-04-11T16:00:08.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:00:08.565Z] [2022-04-11T16:00:08.565Z] Login Succeeded [2022-04-11T16:00:08.565Z] docker.io [2022-04-11T16:00:08.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:00:09.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:00:09.433Z] Configure a credential helper to remove this warning. See [2022-04-11T16:00:09.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:00:09.433Z] [2022-04-11T16:00:09.433Z] Login Succeeded [2022-04-11T16:00:09.433Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T16:00:09.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T16:00:09.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T16:00:09.865Z] ========================================================= [2022-04-11T16:00:09.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T16:00:09.865Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:00:10.215Z] + 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-11T16:00:10.812Z] Sending build context to Docker daemon 2.733MB [2022-04-11T16:00:10.812Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T16:00:10.812Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T16:00:10.812Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T16:00:10.812Z] 9b3977197b4f: Pulling fs layer [2022-04-11T16:00:10.812Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T16:00:10.812Z] 94645a83ff95: Pulling fs layer [2022-04-11T16:00:10.812Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T16:00:10.812Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T16:00:10.812Z] f7c0051592d6: Pulling fs layer [2022-04-11T16:00:10.812Z] a227ed2f7395: Pulling fs layer [2022-04-11T16:00:10.812Z] 7b1c46037f91: Pulling fs layer [2022-04-11T16:00:10.812Z] 3f3a8bcf1eab: Waiting [2022-04-11T16:00:10.812Z] f7c0051592d6: Waiting [2022-04-11T16:00:10.812Z] 0c92f367c5e7: Waiting [2022-04-11T16:00:10.812Z] a227ed2f7395: Waiting [2022-04-11T16:00:10.812Z] 7b1c46037f91: Waiting [2022-04-11T16:00:10.812Z] 94645a83ff95: Verifying Checksum [2022-04-11T16:00:10.812Z] 94645a83ff95: Download complete [2022-04-11T16:00:10.812Z] 1a89e8eeedd5: Verifying Checksum [2022-04-11T16:00:10.812Z] 1a89e8eeedd5: Download complete [2022-04-11T16:00:10.812Z] 0c92f367c5e7: Download complete [2022-04-11T16:00:10.812Z] 9b3977197b4f: Verifying Checksum [2022-04-11T16:00:10.812Z] 9b3977197b4f: Download complete [2022-04-11T16:00:10.812Z] f7c0051592d6: Verifying Checksum [2022-04-11T16:00:10.812Z] f7c0051592d6: Download complete [2022-04-11T16:00:11.112Z] a227ed2f7395: Verifying Checksum [2022-04-11T16:00:11.112Z] a227ed2f7395: Download complete [2022-04-11T16:00:11.720Z] 9b3977197b4f: Pull complete [2022-04-11T16:00:12.324Z] 1a89e8eeedd5: Pull complete [2022-04-11T16:00:12.606Z] 94645a83ff95: Pull complete [2022-04-11T16:00:13.205Z] 7b1c46037f91: Verifying Checksum [2022-04-11T16:00:13.205Z] 7b1c46037f91: Download complete [2022-04-11T16:00:13.480Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-11T16:00:13.480Z] 3f3a8bcf1eab: Download complete [2022-04-11T16:00:25.893Z] 3f3a8bcf1eab: Pull complete [2022-04-11T16:00:25.893Z] 0c92f367c5e7: Pull complete [2022-04-11T16:00:25.893Z] f7c0051592d6: Pull complete [2022-04-11T16:00:26.168Z] a227ed2f7395: Pull complete [2022-04-11T16:00:32.897Z] 7b1c46037f91: Pull complete [2022-04-11T16:00:32.897Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T16:00:32.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T16:00:32.897Z] ---> f79e39bc4007 [2022-04-11T16:00:32.897Z] Step 3/12 : ARG MAKE='make build' [2022-04-11T16:00:33.894Z] ---> Running in e8186a2c0325 [2022-04-11T16:00:33.894Z] Removing intermediate container e8186a2c0325 [2022-04-11T16:00:33.894Z] ---> 9cf9f39ee61f [2022-04-11T16:00:33.894Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T16:00:34.167Z] ---> Running in 2bbc718f3a37 [2022-04-11T16:00:34.451Z] Removing intermediate container 2bbc718f3a37 [2022-04-11T16:00:34.451Z] ---> caddcbdd8f68 [2022-04-11T16:00:34.451Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T16:00:34.451Z] ---> Running in 8a7b36a6403d [2022-04-11T16:00:34.725Z] Removing intermediate container 8a7b36a6403d [2022-04-11T16:00:34.725Z] ---> 78b4dac684da [2022-04-11T16:00:34.725Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:00:34.725Z] ---> Running in 5731c8645cab [2022-04-11T16:00:36.705Z] Removing intermediate container 5731c8645cab [2022-04-11T16:00:36.705Z] ---> 5b2dec8b1bc7 [2022-04-11T16:00:36.705Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T16:00:36.705Z] ---> Running in 36d4832d5980 [2022-04-11T16:00:37.688Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T16:00:38.667Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T16:00:39.646Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T16:00:39.646Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T16:00:39.646Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T16:00:39.917Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T16:00:39.917Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T16:00:39.917Z] OK: 224 MiB in 56 packages [2022-04-11T16:00:40.910Z] Removing intermediate container 36d4832d5980 [2022-04-11T16:00:40.910Z] ---> 5cc28c522ec7 [2022-04-11T16:00:40.910Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-11T16:00:40.910Z] ---> Running in 2150a31bbb86 [2022-04-11T16:00:41.189Z] Removing intermediate container 2150a31bbb86 [2022-04-11T16:00:41.189Z] ---> 434a1b06c64f [2022-04-11T16:00:41.189Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-11T16:00:41.792Z] ---> 9393c6c61e21 [2022-04-11T16:00:41.792Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T16:00:41.792Z] ---> Running in cc81459db92e [2022-04-11T16:01:28.824Z] Removing intermediate container cc81459db92e [2022-04-11T16:01:28.824Z] ---> 6dc206453571 [2022-04-11T16:01:28.824Z] Step 11/12 : COPY . . [2022-04-11T16:01:28.824Z] ---> 1bbc9b7a6145 [2022-04-11T16:01:28.824Z] Step 12/12 : RUN ${MAKE} [2022-04-11T16:01:28.824Z] ---> Running in cc3fbc1d7c13 [2022-04-11T16:01:28.824Z] noop [2022-04-11T16:01:29.099Z] Removing intermediate container cc3fbc1d7c13 [2022-04-11T16:01:29.099Z] ---> b3dd57020467 [2022-04-11T16:01:29.099Z] Successfully built b3dd57020467 [2022-04-11T16:01:29.099Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:01:29.456Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T16:01:29.456Z] . [Pipeline] withDockerContainer [2022-04-11T16:01:29.677Z] prd-ubuntu20.04-docker-arm64-4c-16g-19524 does not seem to be running inside a container [2022-04-11T16:01:29.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T16:01:31.074Z] $ docker top 1485ed542ad04dd88817f57c9d800d224fa2508c3e3764d322e929d5153aff93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T16:01:32.003Z] + go version [2022-04-11T16:01:32.003Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T16:01:32.035Z] $ docker stop --time=1 1485ed542ad04dd88817f57c9d800d224fa2508c3e3764d322e929d5153aff93 [2022-04-11T16:01:33.702Z] $ docker rm -f 1485ed542ad04dd88817f57c9d800d224fa2508c3e3764d322e929d5153aff93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:01:34.321Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T16:01:34.321Z] . [Pipeline] withDockerContainer [2022-04-11T16:01:34.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-19524 does not seem to be running inside a container [2022-04-11T16:01:34.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T16:01:35.982Z] $ docker top 244097799c66c4bc80639a6e71fcf279a1f75533f4dc346fcd700fb2fbceffef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T16:01:36.893Z] + make test [2022-04-11T16:01:36.893Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T16:01:38.335Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-11T16:03:00.177Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-11T16:03:00.177Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2022-04-11T16:03:00.177Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T16:03:00.177Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T16:03:18.530Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T16:03:18.530Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T16:03:18.530Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T16:03:20.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T16:03:20.551Z] $ docker stop --time=1 244097799c66c4bc80639a6e71fcf279a1f75533f4dc346fcd700fb2fbceffef [2022-04-11T16:03:22.305Z] $ docker rm -f 244097799c66c4bc80639a6e71fcf279a1f75533f4dc346fcd700fb2fbceffef [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T16:03:23.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T16:03:23.343Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T16:03:23.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T16:03:24.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T16:03:24.634Z] + ls -al . [2022-04-11T16:03:24.634Z] total 160 [2022-04-11T16:03:24.634Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 16:03 . [2022-04-11T16:03:24.634Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 15:59 .. [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 11 15:59 .dockerignore [2022-04-11T16:03:24.634Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 15:59 .git [2022-04-11T16:03:24.634Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:59 .github [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 11 15:59 .gitignore [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 15:59 .golangci.yml [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 11 15:59 Attribution.txt [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 11 15:59 CHANGELOG.md [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 11 15:59 Dockerfile [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 15:59 GOVERNANCE.md [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 11 15:59 Jenkinsfile [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 15:59 LICENSE [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 11 15:59 Makefile [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 15:59 OWNERS.md [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 11 15:59 README.md [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 15:57 VERSION [2022-04-11T16:03:24.634Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 15:59 bin [2022-04-11T16:03:24.634Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:59 cmd [2022-04-11T16:03:24.634Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 11 16:02 coverage.out [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 11 15:59 go.mod [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 11 15:59 go.sum [2022-04-11T16:03:24.634Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:59 internal [2022-04-11T16:03:24.634Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:59 snap [2022-04-11T16:03:24.634Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 11 15:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:03:24.995Z] + 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=c29e33779782f230f90ceb39c34e9698f63ec464 --label arch=arm64 --label version=0.0.0 . [2022-04-11T16:03:25.272Z] Sending build context to Docker daemon 2.741MB [2022-04-11T16:03:25.547Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T16:03:25.548Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-11T16:03:25.548Z] ---> b3dd57020467 [2022-04-11T16:03:25.548Z] Step 3/24 : ARG MAKE='make build' [2022-04-11T16:03:25.548Z] ---> Running in c86ff47b21a3 [2022-04-11T16:03:25.822Z] Removing intermediate container c86ff47b21a3 [2022-04-11T16:03:25.822Z] ---> 44a0892c5c18 [2022-04-11T16:03:25.822Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T16:03:25.822Z] ---> Running in 54c2d3532bf1 [2022-04-11T16:03:26.422Z] Removing intermediate container 54c2d3532bf1 [2022-04-11T16:03:26.422Z] ---> a09d82326ed4 [2022-04-11T16:03:26.422Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T16:03:26.422Z] ---> Running in 157dc00e4712 [2022-04-11T16:03:26.699Z] Removing intermediate container 157dc00e4712 [2022-04-11T16:03:26.699Z] ---> c1a080dda961 [2022-04-11T16:03:26.699Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:03:26.699Z] ---> Running in e8d5ed9eeba1 [2022-04-11T16:03:28.679Z] Removing intermediate container e8d5ed9eeba1 [2022-04-11T16:03:28.679Z] ---> 1530e011a1ed [2022-04-11T16:03:28.679Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T16:03:28.679Z] ---> Running in 340697fc20db [2022-04-11T16:03:29.664Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T16:03:30.263Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T16:03:31.245Z] OK: 224 MiB in 56 packages [2022-04-11T16:03:32.226Z] Removing intermediate container 340697fc20db [2022-04-11T16:03:32.226Z] ---> 8ad164b2d73d [2022-04-11T16:03:32.226Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-11T16:03:32.226Z] ---> Running in 6c9dcf162020 [2022-04-11T16:03:32.500Z] Removing intermediate container 6c9dcf162020 [2022-04-11T16:03:32.500Z] ---> a669867e0ce2 [2022-04-11T16:03:32.500Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-11T16:03:33.101Z] ---> a2d90962cb43 [2022-04-11T16:03:33.101Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T16:03:33.101Z] ---> Running in d98403f26988 [2022-04-11T16:03:35.076Z] Removing intermediate container d98403f26988 [2022-04-11T16:03:35.076Z] ---> 63d837cae634 [2022-04-11T16:03:35.076Z] Step 11/24 : COPY . . [2022-04-11T16:03:35.677Z] ---> d8f41aea00d3 [2022-04-11T16:03:35.677Z] Step 12/24 : RUN ${MAKE} [2022-04-11T16:03:35.960Z] ---> Running in 19643f44d409 [2022-04-11T16:03:36.950Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-11T16:05:58.830Z] Removing intermediate container 19643f44d409 [2022-04-11T16:05:58.830Z] ---> 16135395987e [2022-04-11T16:05:58.830Z] Step 13/24 : FROM alpine:3.14 [2022-04-11T16:05:58.830Z] 3.14: Pulling from library/alpine [2022-04-11T16:05:58.830Z] 455c02918c45: Pulling fs layer [2022-04-11T16:05:58.830Z] 455c02918c45: Verifying Checksum [2022-04-11T16:05:58.830Z] 455c02918c45: Download complete [2022-04-11T16:05:58.830Z] 455c02918c45: Pull complete [2022-04-11T16:05:58.830Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T16:05:58.830Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T16:05:58.830Z] ---> ac73e934f311 [2022-04-11T16:05:58.830Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T16:05:58.830Z] ---> Running in c0fc72445cf3 [2022-04-11T16:05:58.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T16:05:58.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T16:05:58.830Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T16:05:58.830Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T16:05:58.830Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T16:05:58.830Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T16:05:58.830Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T16:05:58.830Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T16:05:58.830Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T16:05:58.830Z] OK: 8 MiB in 20 packages [2022-04-11T16:05:58.830Z] Removing intermediate container c0fc72445cf3 [2022-04-11T16:05:58.830Z] ---> a0701d187070 [2022-04-11T16:05:58.830Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-11T16:05:58.830Z] ---> 1c6940bce63a [2022-04-11T16:05:58.830Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-11T16:05:58.830Z] ---> f21f0eb33ab8 [2022-04-11T16:05:58.830Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-11T16:05:58.830Z] ---> c3704211e335 [2022-04-11T16:05:58.830Z] Step 18/24 : EXPOSE 59993 [2022-04-11T16:05:58.830Z] ---> Running in 6d82c6b8b510 [2022-04-11T16:05:58.830Z] Removing intermediate container 6d82c6b8b510 [2022-04-11T16:05:58.830Z] ---> 997b0fbfc62a [2022-04-11T16:05:58.830Z] Step 19/24 : EXPOSE 161 [2022-04-11T16:05:58.830Z] ---> Running in e021ba5c262f [2022-04-11T16:05:58.830Z] Removing intermediate container e021ba5c262f [2022-04-11T16:05:58.830Z] ---> fd8bd9612e2d [2022-04-11T16:05:58.830Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-11T16:05:58.830Z] ---> Running in cd43e5ca29a2 [2022-04-11T16:05:58.830Z] Removing intermediate container cd43e5ca29a2 [2022-04-11T16:05:58.830Z] ---> b1e04ebd38a2 [2022-04-11T16:05:58.830Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-11T16:05:58.830Z] ---> Running in dd46d58c7cad [2022-04-11T16:05:58.830Z] Removing intermediate container dd46d58c7cad [2022-04-11T16:05:58.830Z] ---> 5e47e6b870d1 [2022-04-11T16:05:58.830Z] Step 22/24 : LABEL arch=arm64 [2022-04-11T16:05:58.830Z] ---> Running in 666e2909e95a [2022-04-11T16:05:58.830Z] Removing intermediate container 666e2909e95a [2022-04-11T16:05:58.830Z] ---> 1fad009e1c88 [2022-04-11T16:05:58.830Z] Step 23/24 : LABEL git_sha=c29e33779782f230f90ceb39c34e9698f63ec464 [2022-04-11T16:05:58.830Z] ---> Running in c63ab3b873ef [2022-04-11T16:05:58.830Z] Removing intermediate container c63ab3b873ef [2022-04-11T16:05:58.830Z] ---> d28091fbe063 [2022-04-11T16:05:58.830Z] Step 24/24 : LABEL version=0.0.0 [2022-04-11T16:05:58.830Z] ---> Running in 26968c608026 [2022-04-11T16:05:58.830Z] Removing intermediate container 26968c608026 [2022-04-11T16:05:58.830Z] ---> 65f088497ced [2022-04-11T16:05:58.830Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T16:05:58.830Z] Successfully built 65f088497ced [2022-04-11T16:05:58.830Z] 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-11T16:05:59.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T16:05:59.276Z] [2022-04-11T16:05:59.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:05:59.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T16:05:59.907Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T16:05:59.907Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T16:05:59.907Z] 04944245beec: Pulling fs layer [2022-04-11T16:05:59.907Z] 699f458cf7ca: Pulling fs layer [2022-04-11T16:05:59.907Z] 765212b225bb: Pulling fs layer [2022-04-11T16:05:59.907Z] f23df028b6ca: Pulling fs layer [2022-04-11T16:05:59.907Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T16:05:59.907Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T16:05:59.907Z] 765212b225bb: Waiting [2022-04-11T16:05:59.907Z] f23df028b6ca: Waiting [2022-04-11T16:05:59.907Z] d65c8cfc05b1: Waiting [2022-04-11T16:05:59.907Z] 04944245beec: Verifying Checksum [2022-04-11T16:05:59.907Z] 04944245beec: Download complete [2022-04-11T16:05:59.907Z] 765212b225bb: Verifying Checksum [2022-04-11T16:05:59.907Z] 765212b225bb: Download complete [2022-04-11T16:05:59.907Z] f23df028b6ca: Verifying Checksum [2022-04-11T16:05:59.907Z] f23df028b6ca: Download complete [2022-04-11T16:05:59.907Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T16:05:59.907Z] d65c8cfc05b1: Download complete [2022-04-11T16:06:00.189Z] 699f458cf7ca: Verifying Checksum [2022-04-11T16:06:00.189Z] 699f458cf7ca: Download complete [2022-04-11T16:06:00.466Z] 8998bd30e6a1: Verifying Checksum [2022-04-11T16:06:03.099Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T16:06:03.099Z] 2437ff75d9bd: Download complete [2022-04-11T16:06:05.082Z] 8998bd30e6a1: Pull complete [2022-04-11T16:06:05.368Z] 04944245beec: Pull complete [2022-04-11T16:06:06.814Z] 699f458cf7ca: Pull complete [2022-04-11T16:06:07.088Z] 765212b225bb: Pull complete [2022-04-11T16:06:08.070Z] f23df028b6ca: Pull complete [2022-04-11T16:06:08.070Z] d65c8cfc05b1: Pull complete [2022-04-11T16:06:26.421Z] 2437ff75d9bd: Pull complete [2022-04-11T16:06:26.421Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T16:06:26.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T16:06:26.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T16:06:26.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-19524 does not seem to be running inside a container [2022-04-11T16:06:26.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-11T16:06:29.792Z] $ docker top f521e31f59616358a2dc961b81646585013399a1fff5a4e6d78a3624db913d9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:30.740Z] ---> job-cost.sh [2022-04-11T16:06:30.740Z] lf-activate-venv: SKIPPING [2022-04-11T16:06:30.740Z] INFO: No Stack... [2022-04-11T16:06:31.016Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T16:06:31.998Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T16:06:32.676Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2022-04-11T16:06:32.676Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T16:06:32.750Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] [2022-04-11T16:06:32.756Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] did not exist. Created. [2022-04-11T16:06:32.756Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T16:06:33.443Z] /w/workspace/device-snmp-go/2@tmp/durable-ee4fbb15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T16:06:34.138Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T16:06:34.169Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T16:06:34.223Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T16:06:34.230Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-155-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T16:06:34.262Z] $ docker stop --time=1 f521e31f59616358a2dc961b81646585013399a1fff5a4e6d78a3624db913d9c [2022-04-11T16:06:35.800Z] $ docker rm -f f521e31f59616358a2dc961b81646585013399a1fff5a4e6d78a3624db913d9c [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-11T16:06:36.289Z] provisioning config files... [2022-04-11T16:06:36.298Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/config6321178039849672345tmp [Pipeline] { [Pipeline] sh [2022-04-11T16:06:36.608Z] + set +x [2022-04-11T16:06:36.609Z] + curl -s https://codecov.io/bash [2022-04-11T16:06:36.609Z] + bash -s -- [2022-04-11T16:06:36.609Z] [2022-04-11T16:06:36.609Z] _____ _ [2022-04-11T16:06:36.609Z] / ____| | | [2022-04-11T16:06:36.609Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T16:06:36.609Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T16:06:36.609Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T16:06:36.609Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T16:06:36.609Z] Bash-1.0.6 [2022-04-11T16:06:36.609Z] [2022-04-11T16:06:36.609Z] [2022-04-11T16:06:36.609Z] ==> git version 2.25.1 found [2022-04-11T16:06:36.609Z] ==> 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-11T16:06:36.609Z] Release-Date: 2020-01-08 [2022-04-11T16:06:36.609Z] 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-11T16:06:36.609Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T16:06:36.609Z] ==> Jenkins CI detected. [2022-04-11T16:06:36.609Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-155 [2022-04-11T16:06:36.609Z] project root: . [2022-04-11T16:06:36.609Z] --> token set from env [2022-04-11T16:06:36.609Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T16:06:36.609Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T16:06:36.609Z] ==> Python coveragepy not found [2022-04-11T16:06:36.609Z] ==> Searching for coverage reports in: [2022-04-11T16:06:36.609Z] + . [2022-04-11T16:06:36.609Z] -> Found 1 reports [2022-04-11T16:06:36.609Z] ==> Detecting git/mercurial file structure [2022-04-11T16:06:36.609Z] ==> Reading reports [2022-04-11T16:06:36.609Z] + ./coverage.out bytes=7631 [2022-04-11T16:06:36.609Z] ==> Appending adjustments [2022-04-11T16:06:36.609Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T16:06:36.885Z] + Found adjustments [2022-04-11T16:06:36.885Z] ==> Gzipping contents [2022-04-11T16:06:36.885Z] 4.0K /tmp/codecov.EtlYud.gz [2022-04-11T16:06:36.885Z] ==> Uploading reports [2022-04-11T16:06:36.885Z] url: https://codecov.io [2022-04-11T16:06:36.885Z] query: branch=PR-155&commit=c29e33779782f230f90ceb39c34e9698f63ec464&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=155&job=&cmd_args= [2022-04-11T16:06:36.885Z] -> Pinging Codecov [2022-04-11T16:06:36.885Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-155&commit=c29e33779782f230f90ceb39c34e9698f63ec464&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=155&job=&cmd_args= [2022-04-11T16:06:37.146Z] -> Uploading to [2022-04-11T16:06:37.146Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/6C56EA5C29638FB4528AC87E60AF5AE0/c29e33779782f230f90ceb39c34e9698f63ec464/4507a458-b82f-4add-a3a4-781fb420b732.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T160636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f39aa5c96413379393849681edbbead2d8ea11f7566d685be4a4f38e66e17050 [2022-04-11T16:06:37.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T16:06:37.146Z] Dload Upload Total Spent Left Speed [2022-04-11T16:06:37.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1591 0 0 100 1591 0 7039 --:--:-- --:--:-- --:--:-- 7039 [2022-04-11T16:06:37.441Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c29e33779782f230f90ceb39c34e9698f63ec464 [Pipeline] } [2022-04-11T16:06:37.464Z] 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-11T16:06:38.141Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-155/archives ] [2022-04-11T16:06:38.141Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-155/archives [2022-04-11T16:06:38.141Z] total 16 [2022-04-11T16:06:38.141Z] drwxr-xr-x 3 root root 4096 Apr 11 15:58 . [2022-04-11T16:06:38.141Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 15:58 .. [2022-04-11T16:06:38.141Z] drwxr-xr-x 2 root root 4096 Apr 11 15:58 cost [2022-04-11T16:06:38.141Z] -rw-r--r-- 1 root root 85 Apr 11 15:58 cost.csv [2022-04-11T16:06:38.141Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-155/archives [2022-04-11T16:06:38.141Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-155/archives [2022-04-11T16:06:38.141Z] total 16 [2022-04-11T16:06:38.141Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 15:58 . [2022-04-11T16:06:38.141Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 15:58 .. [2022-04-11T16:06:38.142Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 15:58 cost [2022-04-11T16:06:38.142Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 11 15:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:38.443Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:39.304Z] ---> package-listing.sh [2022-04-11T16:06:39.304Z] ++ facter osfamily [2022-04-11T16:06:39.304Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T16:06:39.564Z] + OS_FAMILY=debian [2022-04-11T16:06:39.564Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-155 [2022-04-11T16:06:39.564Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T16:06:39.564Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T16:06:39.564Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T16:06:39.564Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T16:06:39.564Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-155 ']' [2022-04-11T16:06:39.564Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T16:06:39.564Z] + case "${OS_FAMILY}" in [2022-04-11T16:06:39.564Z] + dpkg -l [2022-04-11T16:06:39.564Z] + grep '^ii' [2022-04-11T16:06:39.564Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T16:06:39.564Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T16:06:39.564Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T16:06:39.564Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-155 ']' [2022-04-11T16:06:39.564Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-155/archives/ [2022-04-11T16:06:39.564Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-155/archives/ [Pipeline] echo [2022-04-11T16:06:39.577Z] 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-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-11T16:06:39.858Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:06:40.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T16:06:40.419Z] . [Pipeline] withDockerContainer [2022-04-11T16:06:40.485Z] prd-ubuntu20.04-docker-8c-8g-19522 does not seem to be running inside a container [2022-04-11T16:06:40.531Z] $ 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-155/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-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T16:06:40.783Z] $ docker top fae7b2fe6a00d4cdef4746306803d7b59000ac509a71bfdc56f13c180da3f89f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T16:06:41.129Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T16:06:41.421Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T16:06:41.711Z] + ls /var/log/sa-host [2022-04-11T16:06:41.711Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T16:06:41.798Z] provisioning config files... [2022-04-11T16:06:41.814Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/config6711071778764394755tmp [Pipeline] { [Pipeline] echo [2022-04-11T16:06:41.831Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:42.121Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T16:06:42.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:42.451Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T16:06:42.463Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:42.753Z] ---> sudo-logs.sh [2022-04-11T16:06:42.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T16:06:42.780Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:43.069Z] ---> job-cost.sh [2022-04-11T16:06:43.069Z] lf-activate-venv: SKIPPING [2022-04-11T16:06:43.069Z] DEBUG: total: 0.2199999988079071 [2022-04-11T16:06:43.069Z] INFO: Retrieving Stack Cost... [2022-04-11T16:06:43.329Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T16:06:43.900Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T16:06:43.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:44.202Z] ---> logs-deploy.sh [2022-04-11T16:06:44.202Z] lf-activate-venv: SKIPPING [2022-04-11T16:06:44.202Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-155/2 [2022-04-11T16:06:44.202Z] INFO: archiving workspace using pattern(s): [2022-04-11T16:06:45.141Z] Archives upload complete. [2022-04-11T16:06:45.141Z] INFO: archiving logs to Nexus