Pull request #160 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec rather than 982e4616adac711241339f8fe4f62fb3bd543c19 Obtained Jenkinsfile from 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 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-ssh11224902265115410173.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-ssh10855724787203366460.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-160/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-160/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1852656892014900035.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-160/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2919287336466939179.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9592633486859021907.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-160/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-160/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10122263474744524117.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22088 in /w/workspace/gexfoundry_device-snmp-go_PR-160 [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-160 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 982e4616adac711241339f8fe4f62fb3bd543c19 Merge succeeded, producing 982e4616adac711241339f8fe4f62fb3bd543c19 Checking out Revision 982e4616adac711241339f8fe4f62fb3bd543c19 (PR-160) > 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/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 Commit message: "feat(snap): add support for env var injection" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-25T19:51:14.128Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T19:51:14.310Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T19:51:14.404Z] ========================================================= [2022-04-25T19:51:14.404Z] EdgeX Global Pipelines Version Info [2022-04-25T19:51:14.404Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T19:51:15.280Z] ------------------- [2022-04-25T19:51:15.280Z] stable info: [2022-04-25T19:51:15.280Z] ------------------- [2022-04-25T19:51:15.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T19:51:15.280Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T19:51:15.280Z] Message: update stable to v1.0.221 [2022-04-25T19:51:15.854Z] ------------------- [2022-04-25T19:51:15.854Z] experimental info: [2022-04-25T19:51:15.854Z] ------------------- [2022-04-25T19:51:15.854Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T19:51:15.854Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T19:51:15.854Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T19:51:16.092Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-25T19:51:16.138Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-25T19:51:16.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T19:51:16.214Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T19:51:16.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T19:51:16.305Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T19:51:16.349Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T19:51:16.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T19:51:16.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T19:51:16.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T19:51:16.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T19:51:16.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-25T19:51:16.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T19:51:16.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T19:51:16.762Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T19:51:16.802Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T19:51:16.842Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T19:51:16.885Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T19:51:16.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T19:51:16.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T19:51:17.004Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T19:51:17.044Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T19:51:17.085Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T19:51:17.126Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T19:51:17.164Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T19:51:17.200Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T19:51:17.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo [2022-04-25T19:51:17.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo [2022-04-25T19:51:17.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo [2022-04-25T19:51:17.355Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo [2022-04-25T19:51:17.388Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 982e461 [Pipeline] echo [2022-04-25T19:51:17.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T19:51:17.542Z] provisioning config files... [2022-04-25T19:51:17.559Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config5907236776069156453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T19:51:17.906Z] ---> docker-login.sh [2022-04-25T19:51:17.906Z] nexus3.edgexfoundry.org:10001 [2022-04-25T19:51:18.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:18.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:18.170Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:18.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:18.170Z] [2022-04-25T19:51:18.170Z] Login Succeeded [2022-04-25T19:51:18.170Z] nexus3.edgexfoundry.org:10002 [2022-04-25T19:51:18.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:18.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:18.432Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:18.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:18.432Z] [2022-04-25T19:51:18.432Z] Login Succeeded [2022-04-25T19:51:18.432Z] nexus3.edgexfoundry.org:10003 [2022-04-25T19:51:18.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:18.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:18.432Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:18.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:18.432Z] [2022-04-25T19:51:18.432Z] Login Succeeded [2022-04-25T19:51:18.432Z] nexus3.edgexfoundry.org:10004 [2022-04-25T19:51:18.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:18.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:18.695Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:18.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:18.695Z] [2022-04-25T19:51:18.695Z] Login Succeeded [2022-04-25T19:51:18.695Z] docker.io [2022-04-25T19:51:18.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:18.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:18.957Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:18.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:18.957Z] [2022-04-25T19:51:18.957Z] Login Succeeded [2022-04-25T19:51:18.957Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T19:51:18.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T19:51:19.625Z] + git rev-list -1 --merges 982e4616adac711241339f8fe4f62fb3bd543c19~1..982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo [2022-04-25T19:51:19.671Z] -----------> git rev-list -1 --merges 982e4616adac711241339f8fe4f62fb3bd543c19~1..982e4616adac711241339f8fe4f62fb3bd543c19 982e4616adac711241339f8fe4f62fb3bd543c19 [false] [Pipeline] sh [2022-04-25T19:51:19.985Z] + git log --format=format:%s -1 982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo [2022-04-25T19:51:20.024Z] ========================================================= [2022-04-25T19:51:20.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T19:51:20.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T19:51:20.459Z] + git log --format=format:%s -1 982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo [2022-04-25T19:51:20.492Z] [semverPrep] GIT_COMMIT: 982e4616adac711241339f8fe4f62fb3bd543c19, Commit Message: feat(snap): add support for env var injection [Pipeline] echo [2022-04-25T19:51:20.520Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T19:51:20.928Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T19:51:20.928Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T19:51:20.928Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T19:51:20.928Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T19:51:20.928Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T19:51:20.928Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T19:51:20.928Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:51:21.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T19:51:21.320Z] [2022-04-25T19:51:21.320Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:51:21.670Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T19:51:21.670Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T19:51:21.670Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T19:51:21.670Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T19:51:21.670Z] 4c7163046ea9: Pulling fs layer [2022-04-25T19:51:21.670Z] 0c2d73faf560: Pulling fs layer [2022-04-25T19:51:21.670Z] 0c2d73faf560: Waiting [2022-04-25T19:51:21.670Z] 3e5f54012d9b: Verifying Checksum [2022-04-25T19:51:21.670Z] 3e5f54012d9b: Download complete [2022-04-25T19:51:21.670Z] a0d0a0d46f8b: Verifying Checksum [2022-04-25T19:51:21.670Z] a0d0a0d46f8b: Download complete [2022-04-25T19:51:21.670Z] 0c2d73faf560: Verifying Checksum [2022-04-25T19:51:21.670Z] 0c2d73faf560: Download complete [2022-04-25T19:51:21.670Z] 4c7163046ea9: Download complete [2022-04-25T19:51:21.936Z] a0d0a0d46f8b: Pull complete [2022-04-25T19:51:21.936Z] 3e5f54012d9b: Pull complete [2022-04-25T19:51:22.197Z] 4c7163046ea9: Pull complete [2022-04-25T19:51:22.459Z] 0c2d73faf560: Pull complete [2022-04-25T19:51:22.459Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T19:51:22.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T19:51:22.459Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T19:51:22.578Z] prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container [2022-04-25T19:51:22.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-25T19:51:23.274Z] $ docker top 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T19:51:23.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T19:51:23.495Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T19:51:23.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T19:51:23.640Z] $ docker exec 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent [2022-04-25T19:51:23.776Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOHDNnh/agent.13 [2022-04-25T19:51:23.776Z] SSH_AGENT_PID=19 [2022-04-25T19:51:23.786Z] Running ssh-add (command line suppressed) [2022-04-25T19:51:23.916Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_935971881436105394.key (/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_935971881436105394.key) [2022-04-25T19:51:23.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T19:51:24.264Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T19:51:24.289Z] $ docker exec --env ******** --env ******** 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent -k [2022-04-25T19:51:24.416Z] unset SSH_AUTH_SOCK; [2022-04-25T19:51:24.416Z] unset SSH_AGENT_PID; [2022-04-25T19:51:24.416Z] echo Agent pid 19 killed; [2022-04-25T19:51:24.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T19:51:24.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T19:51:24.531Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T19:51:24.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T19:51:24.667Z] $ docker exec 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent [2022-04-25T19:51:24.803Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfpCPAl/agent.51 [2022-04-25T19:51:24.803Z] SSH_AGENT_PID=57 [2022-04-25T19:51:24.809Z] Running ssh-add (command line suppressed) [2022-04-25T19:51:24.935Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_3668549750423738783.key (/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_3668549750423738783.key) [2022-04-25T19:51:24.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T19:51:25.286Z] + git semver init [2022-04-25T19:51:25.286Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T19:51:25.286Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-160/.git [2022-04-25T19:51:25.286Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-160 [2022-04-25T19:51:25.286Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T19:51:25.286Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T19:51:25.286Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T19:51:25.286Z] # $SEMVER_BRANCH = PR-160 [2022-04-25T19:51:25.286Z] # $SEMVER_TEMP = /tmp/semver-316988278 [2022-04-25T19:51:25.286Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-25T19:51:26.231Z] # '/tmp/semver-316988278' -> '/w/workspace/gexfoundry_device-snmp-go_PR-160/.semver' [2022-04-25T19:51:26.231Z] # -> Force: false [2022-04-25T19:51:26.231Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-160/.semver [Pipeline] } [2022-04-25T19:51:26.259Z] $ docker exec --env ******** --env ******** 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent -k [2022-04-25T19:51:26.375Z] unset SSH_AUTH_SOCK; [2022-04-25T19:51:26.375Z] unset SSH_AGENT_PID; [2022-04-25T19:51:26.375Z] echo Agent pid 57 killed; [2022-04-25T19:51:26.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T19:51:26.839Z] + git semver [Pipeline] } [2022-04-25T19:51:26.868Z] $ docker stop --time=1 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 [2022-04-25T19:51:28.198Z] $ docker rm -f 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T19:51:28.630Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T19:51:28.989Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T19:51:29.007Z] [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-25T19:51:29.595Z] provisioning config files... [2022-04-25T19:51:29.605Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config7151368568983651305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T19:51:29.955Z] ---> docker-login.sh [2022-04-25T19:51:29.955Z] nexus3.edgexfoundry.org:10001 [2022-04-25T19:51:29.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:29.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:29.955Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:29.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:29.955Z] [2022-04-25T19:51:29.955Z] Login Succeeded [2022-04-25T19:51:29.955Z] nexus3.edgexfoundry.org:10002 [2022-04-25T19:51:29.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:30.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:30.217Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:30.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:30.217Z] [2022-04-25T19:51:30.217Z] Login Succeeded [2022-04-25T19:51:30.217Z] nexus3.edgexfoundry.org:10003 [2022-04-25T19:51:30.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:30.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:30.217Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:30.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:30.217Z] [2022-04-25T19:51:30.217Z] Login Succeeded [2022-04-25T19:51:30.217Z] nexus3.edgexfoundry.org:10004 [2022-04-25T19:51:30.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:30.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:30.478Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:30.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:30.478Z] [2022-04-25T19:51:30.478Z] Login Succeeded [2022-04-25T19:51:30.478Z] docker.io [2022-04-25T19:51:30.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:51:30.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:51:30.742Z] Configure a credential helper to remove this warning. See [2022-04-25T19:51:30.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:51:30.742Z] [2022-04-25T19:51:30.742Z] Login Succeeded [2022-04-25T19:51:30.742Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T19:51:30.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T19:51:30.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T19:51:30.978Z] ========================================================= [2022-04-25T19:51:30.978Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T19:51:30.978Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:51:31.396Z] + 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-25T19:51:31.396Z] Sending build context to Docker daemon 5.278MB [2022-04-25T19:51:31.396Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T19:51:31.396Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T19:51:31.396Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T19:51:31.396Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T19:51:31.396Z] 666ba61612fd: Pulling fs layer [2022-04-25T19:51:31.396Z] 8ed8ca486205: Pulling fs layer [2022-04-25T19:51:31.396Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T19:51:31.396Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T19:51:31.396Z] ca2b28591e48: Pulling fs layer [2022-04-25T19:51:31.396Z] a51346096db8: Pulling fs layer [2022-04-25T19:51:31.396Z] daebc70d1ce1: Pulling fs layer [2022-04-25T19:51:31.396Z] 0e18a0eac166: Pulling fs layer [2022-04-25T19:51:31.396Z] 4fe6c5a15a65: Waiting [2022-04-25T19:51:31.396Z] 22a0e8bec74d: Waiting [2022-04-25T19:51:31.396Z] a51346096db8: Waiting [2022-04-25T19:51:31.396Z] daebc70d1ce1: Waiting [2022-04-25T19:51:31.396Z] 8ed8ca486205: Download complete [2022-04-25T19:51:31.396Z] 666ba61612fd: Verifying Checksum [2022-04-25T19:51:31.396Z] 666ba61612fd: Download complete [2022-04-25T19:51:31.396Z] 22a0e8bec74d: Verifying Checksum [2022-04-25T19:51:31.396Z] 22a0e8bec74d: Download complete [2022-04-25T19:51:31.657Z] ca2b28591e48: Download complete [2022-04-25T19:51:31.657Z] a51346096db8: Verifying Checksum [2022-04-25T19:51:31.657Z] a51346096db8: Download complete [2022-04-25T19:51:31.657Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T19:51:31.657Z] 59bf1c3509f3: Download complete [2022-04-25T19:51:31.657Z] daebc70d1ce1: Verifying Checksum [2022-04-25T19:51:31.657Z] daebc70d1ce1: Download complete [2022-04-25T19:51:31.657Z] 59bf1c3509f3: Pull complete [2022-04-25T19:51:31.919Z] 666ba61612fd: Pull complete [2022-04-25T19:51:31.919Z] 8ed8ca486205: Pull complete [2022-04-25T19:51:32.182Z] 0e18a0eac166: Verifying Checksum [2022-04-25T19:51:32.182Z] 0e18a0eac166: Download complete [2022-04-25T19:51:32.449Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T19:51:32.449Z] 4fe6c5a15a65: Download complete [2022-04-25T19:51:36.646Z] 4fe6c5a15a65: Pull complete [2022-04-25T19:51:36.646Z] 22a0e8bec74d: Pull complete [2022-04-25T19:51:36.646Z] ca2b28591e48: Pull complete [2022-04-25T19:51:36.646Z] a51346096db8: Pull complete [2022-04-25T19:51:36.907Z] daebc70d1ce1: Pull complete [2022-04-25T19:51:39.443Z] 0e18a0eac166: Pull complete [2022-04-25T19:51:39.443Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T19:51:39.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T19:51:39.443Z] ---> f018257e8ee9 [2022-04-25T19:51:39.443Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T19:51:40.386Z] ---> Running in aeef0f375cac [2022-04-25T19:51:40.386Z] Removing intermediate container aeef0f375cac [2022-04-25T19:51:40.386Z] ---> 0ec30174ce25 [2022-04-25T19:51:40.386Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T19:51:40.386Z] ---> Running in 0376fe69187c [2022-04-25T19:51:40.386Z] Removing intermediate container 0376fe69187c [2022-04-25T19:51:40.386Z] ---> 0d72bb8bb72f [2022-04-25T19:51:40.386Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T19:51:40.645Z] ---> Running in 31ed542c4fbb [2022-04-25T19:51:40.645Z] Removing intermediate container 31ed542c4fbb [2022-04-25T19:51:40.645Z] ---> 46651e99aca8 [2022-04-25T19:51:40.645Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T19:51:40.645Z] ---> Running in 0e2b069ca2b2 [2022-04-25T19:51:41.215Z] Removing intermediate container 0e2b069ca2b2 [2022-04-25T19:51:41.215Z] ---> 656f1cb9739b [2022-04-25T19:51:41.215Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T19:51:41.215Z] ---> Running in e661e5c440bb [2022-04-25T19:51:41.476Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T19:51:42.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T19:51:42.683Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T19:51:42.944Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T19:51:42.944Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T19:51:42.944Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T19:51:43.207Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T19:51:43.207Z] OK: 224 MiB in 56 packages [2022-04-25T19:51:43.467Z] Removing intermediate container e661e5c440bb [2022-04-25T19:51:43.467Z] ---> a707e07bc514 [2022-04-25T19:51:43.467Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-25T19:51:43.467Z] ---> Running in 3e27d3d51148 [2022-04-25T19:51:43.726Z] Removing intermediate container 3e27d3d51148 [2022-04-25T19:51:43.726Z] ---> 67badcfb9045 [2022-04-25T19:51:43.726Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T19:51:43.726Z] ---> 9e715e993d6d [2022-04-25T19:51:43.726Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T19:51:43.726Z] ---> Running in 28eef6b0861e [2022-04-25T19:51:44.415Z] Still waiting to schedule task [2022-04-25T19:51:44.415Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-25T19:51:58.626Z] Removing intermediate container 28eef6b0861e [2022-04-25T19:51:58.626Z] ---> 6f27693df4e4 [2022-04-25T19:51:58.626Z] Step 11/12 : COPY . . [2022-04-25T19:51:58.626Z] ---> e0998498197c [2022-04-25T19:51:58.626Z] Step 12/12 : RUN ${MAKE} [2022-04-25T19:51:58.626Z] ---> Running in 5f25795dfff4 [2022-04-25T19:51:58.626Z] noop [2022-04-25T19:51:58.626Z] Removing intermediate container 5f25795dfff4 [2022-04-25T19:51:58.626Z] ---> f90d0930b1eb [2022-04-25T19:51:58.626Z] Successfully built f90d0930b1eb [2022-04-25T19:51:58.626Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:51:58.984Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T19:51:58.984Z] . [Pipeline] withDockerContainer [2022-04-25T19:51:59.118Z] prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container [2022-04-25T19:51:59.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T19:51:59.528Z] $ docker top 4ac040c23dfe9ff04f4ec37279f5e33e20707510aeab48c72cf1147a02a9e198 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T19:52:00.009Z] + go version [2022-04-25T19:52:00.009Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T19:52:00.044Z] $ docker stop --time=1 4ac040c23dfe9ff04f4ec37279f5e33e20707510aeab48c72cf1147a02a9e198 [2022-04-25T19:52:01.374Z] $ docker rm -f 4ac040c23dfe9ff04f4ec37279f5e33e20707510aeab48c72cf1147a02a9e198 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:52:02.014Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T19:52:02.014Z] . [Pipeline] withDockerContainer [2022-04-25T19:52:02.116Z] prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container [2022-04-25T19:52:02.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T19:52:02.567Z] $ docker top 9851866f87894def69e4f1c83509a07595f4a2385eb909962e95bb123b6e9829 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T19:52:03.023Z] + make test [2022-04-25T19:52:03.023Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T19:52:03.593Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-25T19:52:13.586Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-25T19:52:13.586Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.019s coverage: 0.0% of statements [2022-04-25T19:52:20.177Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T19:52:24.379Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T19:52:24.379Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T19:52:24.379Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T19:52:24.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T19:52:24.702Z] $ docker stop --time=1 9851866f87894def69e4f1c83509a07595f4a2385eb909962e95bb123b6e9829 [2022-04-25T19:52:26.354Z] $ docker rm -f 9851866f87894def69e4f1c83509a07595f4a2385eb909962e95bb123b6e9829 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T19:52:26.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T19:52:26.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-25T19:52:27.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T19:52:28.016Z] + ls -al . [2022-04-25T19:52:28.016Z] total 164 [2022-04-25T19:52:28.016Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 19:52 . [2022-04-25T19:52:28.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:51 .. [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 25 19:51 .dockerignore [2022-04-25T19:52:28.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:51 .git [2022-04-25T19:52:28.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 .github [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 25 19:51 .gitignore [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 19:51 .golangci.yml [2022-04-25T19:52:28.016Z] drwx------ 3 jenkins jenkins 4096 Apr 25 19:51 .semver [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 25 19:51 Attribution.txt [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 25 19:51 CHANGELOG.md [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 25 19:51 Dockerfile [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 19:51 GOVERNANCE.md [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 25 19:51 Jenkinsfile [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 19:51 LICENSE [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 25 19:51 Makefile [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 19:51 OWNERS.md [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 25 19:51 README.md [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 19:51 VERSION [2022-04-25T19:52:28.016Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:51 bin [2022-04-25T19:52:28.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 cmd [2022-04-25T19:52:28.016Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 25 19:52 coverage.out [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 25 19:51 go.mod [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 25 19:51 go.sum [2022-04-25T19:52:28.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 internal [2022-04-25T19:52:28.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 snap [2022-04-25T19:52:28.016Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 19:51 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:52:28.349Z] + 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=982e4616adac711241339f8fe4f62fb3bd543c19 --label arch=amd64 --label version=0.0.0 . [2022-04-25T19:52:28.349Z] Sending build context to Docker daemon 5.286MB [2022-04-25T19:52:28.349Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T19:52:28.349Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-25T19:52:28.349Z] ---> f90d0930b1eb [2022-04-25T19:52:28.349Z] Step 3/24 : ARG MAKE='make build' [2022-04-25T19:52:28.349Z] ---> Running in 4faae2f4eee7 [2022-04-25T19:52:28.609Z] Removing intermediate container 4faae2f4eee7 [2022-04-25T19:52:28.609Z] ---> 37638272cbbf [2022-04-25T19:52:28.609Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T19:52:28.609Z] ---> Running in f0f1da321132 [2022-04-25T19:52:28.609Z] Removing intermediate container f0f1da321132 [2022-04-25T19:52:28.609Z] ---> 2b8ddee6c57f [2022-04-25T19:52:28.609Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T19:52:28.609Z] ---> Running in 9c665811e008 [2022-04-25T19:52:28.870Z] Removing intermediate container 9c665811e008 [2022-04-25T19:52:28.871Z] ---> f1eb9bd57cc6 [2022-04-25T19:52:28.871Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T19:52:28.871Z] ---> Running in be70b6e3b2fe [2022-04-25T19:52:29.442Z] Removing intermediate container be70b6e3b2fe [2022-04-25T19:52:29.442Z] ---> aea8189fac00 [2022-04-25T19:52:29.442Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T19:52:29.442Z] ---> Running in de51a9052108 [2022-04-25T19:52:29.702Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T19:52:30.644Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T19:52:30.906Z] OK: 224 MiB in 56 packages [2022-04-25T19:52:31.167Z] Removing intermediate container de51a9052108 [2022-04-25T19:52:31.167Z] ---> 9d5e6cf076a2 [2022-04-25T19:52:31.167Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-25T19:52:31.167Z] ---> Running in ac0ee58a0597 [2022-04-25T19:52:31.167Z] Removing intermediate container ac0ee58a0597 [2022-04-25T19:52:31.167Z] ---> f94191e11141 [2022-04-25T19:52:31.167Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-25T19:52:31.425Z] ---> 17844243220b [2022-04-25T19:52:31.425Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T19:52:31.425Z] ---> Running in b7ba254522a8 [2022-04-25T19:52:31.996Z] Removing intermediate container b7ba254522a8 [2022-04-25T19:52:31.996Z] ---> d6e2a9ad81e3 [2022-04-25T19:52:31.996Z] Step 11/24 : COPY . . [2022-04-25T19:52:32.256Z] ---> e8079a3fb5ba [2022-04-25T19:52:32.256Z] Step 12/24 : RUN ${MAKE} [2022-04-25T19:52:32.256Z] ---> Running in 00404e9744ea [2022-04-25T19:52:32.515Z] 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-25T19:52:54.458Z] Removing intermediate container 00404e9744ea [2022-04-25T19:52:54.458Z] ---> 3af51cfb4e19 [2022-04-25T19:52:54.459Z] Step 13/24 : FROM alpine:3.14 [2022-04-25T19:52:54.459Z] 3.14: Pulling from library/alpine [2022-04-25T19:52:54.459Z] 8663204ce13b: Pulling fs layer [2022-04-25T19:52:54.459Z] 8663204ce13b: Verifying Checksum [2022-04-25T19:52:54.459Z] 8663204ce13b: Download complete [2022-04-25T19:52:54.459Z] 8663204ce13b: Pull complete [2022-04-25T19:52:54.459Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T19:52:54.459Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T19:52:54.459Z] ---> e04c818066af [2022-04-25T19:52:54.459Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-25T19:52:54.459Z] ---> Running in 967b2c8606bc [2022-04-25T19:52:54.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-25T19:52:54.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-25T19:52:54.459Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-25T19:52:54.459Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T19:52:54.459Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-25T19:52:54.459Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T19:52:54.459Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-25T19:52:54.720Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-25T19:52:54.720Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T19:52:54.720Z] OK: 8 MiB in 20 packages [2022-04-25T19:52:54.980Z] Removing intermediate container 967b2c8606bc [2022-04-25T19:52:54.980Z] ---> c79e26501114 [2022-04-25T19:52:54.980Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-25T19:52:55.558Z] ---> d3742bd6399f [2022-04-25T19:52:55.558Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-25T19:52:55.558Z] ---> 8fb13485182f [2022-04-25T19:52:55.558Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-25T19:52:55.819Z] ---> 0e1cce3db34d [2022-04-25T19:52:55.819Z] Step 18/24 : EXPOSE 59993 [2022-04-25T19:52:55.819Z] ---> Running in 66fbe80bcf81 [2022-04-25T19:52:55.819Z] Removing intermediate container 66fbe80bcf81 [2022-04-25T19:52:55.819Z] ---> 0443d9464567 [2022-04-25T19:52:55.819Z] Step 19/24 : EXPOSE 161 [2022-04-25T19:52:55.819Z] ---> Running in 259bed8441dc [2022-04-25T19:52:56.083Z] Removing intermediate container 259bed8441dc [2022-04-25T19:52:56.083Z] ---> d2a5b0cc277b [2022-04-25T19:52:56.083Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-25T19:52:56.083Z] ---> Running in 9ba9025e0c57 [2022-04-25T19:52:56.083Z] Removing intermediate container 9ba9025e0c57 [2022-04-25T19:52:56.083Z] ---> 3a535f8e4fe6 [2022-04-25T19:52:56.083Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-25T19:52:56.083Z] ---> Running in 935b1305dae9 [2022-04-25T19:52:56.344Z] Removing intermediate container 935b1305dae9 [2022-04-25T19:52:56.344Z] ---> 659c25fd85e8 [2022-04-25T19:52:56.344Z] Step 22/24 : LABEL arch=amd64 [2022-04-25T19:52:56.344Z] ---> Running in 4f17e3ce5be9 [2022-04-25T19:52:56.344Z] Removing intermediate container 4f17e3ce5be9 [2022-04-25T19:52:56.344Z] ---> 7f6c11d8b3c0 [2022-04-25T19:52:56.344Z] Step 23/24 : LABEL git_sha=982e4616adac711241339f8fe4f62fb3bd543c19 [2022-04-25T19:52:56.344Z] ---> Running in 3b46ac9f8327 [2022-04-25T19:52:56.344Z] Removing intermediate container 3b46ac9f8327 [2022-04-25T19:52:56.344Z] ---> bfb67b0630cd [2022-04-25T19:52:56.344Z] Step 24/24 : LABEL version=0.0.0 [2022-04-25T19:52:56.606Z] ---> Running in 2efcd9bad7b1 [2022-04-25T19:52:56.606Z] Removing intermediate container 2efcd9bad7b1 [2022-04-25T19:52:56.606Z] ---> 88c865ffca41 [2022-04-25T19:52:56.606Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T19:52:56.606Z] Successfully built 88c865ffca41 [2022-04-25T19:52:56.606Z] 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-25T19:52:57.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T19:52:57.364Z] [2022-04-25T19:52:57.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:52:57.720Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T19:52:57.720Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T19:52:57.720Z] 5eb5b503b376: Pulling fs layer [2022-04-25T19:52:57.720Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T19:52:57.720Z] ec43610c2a17: Pulling fs layer [2022-04-25T19:52:57.720Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T19:52:57.720Z] 33b1e0a273af: Pulling fs layer [2022-04-25T19:52:57.720Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T19:52:57.720Z] 2f39f015ded8: Pulling fs layer [2022-04-25T19:52:57.720Z] 3a2ae6a8a46f: Waiting [2022-04-25T19:52:57.720Z] 5d3b04190fa2: Waiting [2022-04-25T19:52:57.720Z] 33b1e0a273af: Waiting [2022-04-25T19:52:57.720Z] 2f39f015ded8: Waiting [2022-04-25T19:52:57.720Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T19:52:57.720Z] 5c69ac0246d0: Download complete [2022-04-25T19:52:57.720Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T19:52:57.720Z] 3a2ae6a8a46f: Download complete [2022-04-25T19:52:57.720Z] 33b1e0a273af: Verifying Checksum [2022-04-25T19:52:57.720Z] 33b1e0a273af: Download complete [2022-04-25T19:52:57.720Z] ec43610c2a17: Verifying Checksum [2022-04-25T19:52:57.720Z] ec43610c2a17: Download complete [2022-04-25T19:52:57.720Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T19:52:57.720Z] 5d3b04190fa2: Download complete [2022-04-25T19:52:57.979Z] 5eb5b503b376: Verifying Checksum [2022-04-25T19:52:57.980Z] 5eb5b503b376: Download complete [2022-04-25T19:52:58.548Z] 2f39f015ded8: Download complete [2022-04-25T19:52:59.488Z] 5eb5b503b376: Pull complete [2022-04-25T19:52:59.488Z] 5c69ac0246d0: Pull complete [2022-04-25T19:53:00.055Z] ec43610c2a17: Pull complete [2022-04-25T19:53:00.055Z] 3a2ae6a8a46f: Pull complete [2022-04-25T19:53:00.313Z] 33b1e0a273af: Pull complete [2022-04-25T19:53:00.313Z] 5d3b04190fa2: Pull complete [2022-04-25T19:53:05.588Z] 2f39f015ded8: Pull complete [2022-04-25T19:53:05.588Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T19:53:05.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T19:53:05.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T19:53:05.680Z] prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container [2022-04-25T19:53:05.723Z] $ 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-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T19:53:07.479Z] $ docker top 8d32aad73835d1a0580eb4a3573fd8687b9d70b0cec23751c7fae7b4d881f633 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T19:53:07.925Z] ---> job-cost.sh [2022-04-25T19:53:07.925Z] lf-activate-venv: SKIPPING [2022-04-25T19:53:07.925Z] INFO: No Stack... [2022-04-25T19:53:08.185Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T19:53:08.758Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T19:53:09.072Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-160/archives/cost.csv [2022-04-25T19:53:09.072Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T19:53:09.114Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [2022-04-25T19:53:09.119Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] did not exist. Created. [2022-04-25T19:53:09.119Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T19:53:09.574Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T19:53:09.624Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T19:53:09.654Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T19:53:09.736Z] $ docker stop --time=1 8d32aad73835d1a0580eb4a3573fd8687b9d70b0cec23751c7fae7b4d881f633 [2022-04-25T19:53:10.922Z] $ docker rm -f 8d32aad73835d1a0580eb4a3573fd8687b9d70b0cec23751c7fae7b4d881f633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T19:53:59.056Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22102 in /w/workspace/gexfoundry_device-snmp-go_PR-160 [Pipeline] { [Pipeline] ws [2022-04-25T19:53:59.096Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-25T19:53:59.600Z] Selected Git installation does not exist. Using Default [2022-04-25T19:53:59.600Z] The recommended git tool is: NONE [2022-04-25T19:54:08.161Z] using credential edgex-jenkins-ssh [2022-04-25T19:54:08.180Z] Cloning the remote Git repository [2022-04-25T19:54:08.252Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-25T19:54:08.364Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-25T19:54:08.478Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-25T19:54:08.479Z] > git --version # timeout=10 [2022-04-25T19:54:08.509Z] > git --version # 'git version 2.25.1' [2022-04-25T19:54:08.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T19:54:08.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T19:54:10.656Z] Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 982e4616adac711241339f8fe4f62fb3bd543c19 [2022-04-25T19:54:09.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-25T19:54:09.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T19:54:09.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-25T19:54:10.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-25T19:54:10.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T19:54:10.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T19:54:10.685Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T19:54:10.705Z] > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 [2022-04-25T19:54:10.924Z] Merge succeeded, producing 982e4616adac711241339f8fe4f62fb3bd543c19 [2022-04-25T19:54:10.925Z] Checking out Revision 982e4616adac711241339f8fe4f62fb3bd543c19 (PR-160) [2022-04-25T19:54:10.813Z] > git remote # timeout=10 [2022-04-25T19:54:10.835Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T19:54:10.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T19:54:10.872Z] > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 [2022-04-25T19:54:10.905Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T19:54:10.937Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T19:54:10.956Z] > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 [2022-04-25T19:54:15.601Z] Commit message: "feat(snap): add support for env var injection" [2022-04-25T19:54:15.685Z] > git --version # timeout=10 [2022-04-25T19:54:15.698Z] > git --version # 'git version 2.25.1' [2022-04-25T19:54:15.720Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T19:54:16.985Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T19:54:16.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T19:54:16.985Z] Dload Upload Total Spent Left Speed [2022-04-25T19:54:16.986Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2022-04-25T19:54:17.586Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T19:54:17.969Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T19:54:17.969Z] sudo tee /etc/docker/daemon.new [2022-04-25T19:54:17.969Z] { [2022-04-25T19:54:17.969Z] "registry-mirrors": [ [2022-04-25T19:54:17.969Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T19:54:17.969Z] ], [2022-04-25T19:54:17.969Z] "bip": "10.250.0.254/24", [2022-04-25T19:54:17.969Z] "hosts": [ [2022-04-25T19:54:17.969Z] "tcp://0.0.0.0:5555", [2022-04-25T19:54:17.969Z] "unix:///var/run/docker.sock" [2022-04-25T19:54:17.969Z] ], [2022-04-25T19:54:17.969Z] "mtu": 1458, [2022-04-25T19:54:17.969Z] "selinux-enabled": true, [2022-04-25T19:54:17.969Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T19:54:17.969Z] } [Pipeline] sh [2022-04-25T19:54:18.366Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T19:54:18.765Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T19:54:37.258Z] provisioning config files... [2022-04-25T19:54:37.293Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2002323363170631402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T19:54:37.817Z] ---> docker-login.sh [2022-04-25T19:54:37.817Z] nexus3.edgexfoundry.org:10001 [2022-04-25T19:54:38.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:54:39.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:54:39.127Z] Configure a credential helper to remove this warning. See [2022-04-25T19:54:39.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:54:39.127Z] [2022-04-25T19:54:39.127Z] Login Succeeded [2022-04-25T19:54:39.127Z] nexus3.edgexfoundry.org:10002 [2022-04-25T19:54:39.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:54:39.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:54:39.685Z] Configure a credential helper to remove this warning. See [2022-04-25T19:54:39.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:54:39.685Z] [2022-04-25T19:54:39.685Z] Login Succeeded [2022-04-25T19:54:39.685Z] nexus3.edgexfoundry.org:10003 [2022-04-25T19:54:39.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:54:40.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:54:40.234Z] Configure a credential helper to remove this warning. See [2022-04-25T19:54:40.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:54:40.234Z] [2022-04-25T19:54:40.234Z] Login Succeeded [2022-04-25T19:54:40.234Z] nexus3.edgexfoundry.org:10004 [2022-04-25T19:54:40.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:54:40.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:54:40.784Z] Configure a credential helper to remove this warning. See [2022-04-25T19:54:40.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:54:40.784Z] [2022-04-25T19:54:40.784Z] Login Succeeded [2022-04-25T19:54:40.784Z] docker.io [2022-04-25T19:54:41.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T19:54:41.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T19:54:41.338Z] Configure a credential helper to remove this warning. See [2022-04-25T19:54:41.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T19:54:41.338Z] [2022-04-25T19:54:41.338Z] Login Succeeded [2022-04-25T19:54:41.613Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T19:54:41.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T19:54:42.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T19:54:42.143Z] ========================================================= [2022-04-25T19:54:42.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T19:54:42.143Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:54:42.603Z] + 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-25T19:54:42.880Z] Sending build context to Docker daemon 2.754MB [2022-04-25T19:54:43.163Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T19:54:43.163Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T19:54:43.163Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T19:54:43.163Z] 9b3977197b4f: Pulling fs layer [2022-04-25T19:54:43.163Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T19:54:43.163Z] 94645a83ff95: Pulling fs layer [2022-04-25T19:54:43.163Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T19:54:43.163Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T19:54:43.163Z] 3096ccb668a1: Pulling fs layer [2022-04-25T19:54:43.163Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T19:54:43.163Z] a4caa8a26152: Pulling fs layer [2022-04-25T19:54:43.163Z] 3f3a8bcf1eab: Waiting [2022-04-25T19:54:43.163Z] 0c92f367c5e7: Waiting [2022-04-25T19:54:43.163Z] 3096ccb668a1: Waiting [2022-04-25T19:54:43.163Z] e8cf19c19ddd: Waiting [2022-04-25T19:54:43.163Z] a4caa8a26152: Waiting [2022-04-25T19:54:43.163Z] 94645a83ff95: Download complete [2022-04-25T19:54:43.163Z] 1a89e8eeedd5: Verifying Checksum [2022-04-25T19:54:43.163Z] 1a89e8eeedd5: Download complete [2022-04-25T19:54:43.442Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T19:54:43.442Z] 0c92f367c5e7: Download complete [2022-04-25T19:54:43.442Z] 3096ccb668a1: Verifying Checksum [2022-04-25T19:54:43.442Z] 3096ccb668a1: Download complete [2022-04-25T19:54:43.442Z] 9b3977197b4f: Verifying Checksum [2022-04-25T19:54:43.442Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T19:54:43.442Z] e8cf19c19ddd: Download complete [2022-04-25T19:54:44.068Z] 9b3977197b4f: Pull complete [2022-04-25T19:54:44.688Z] 1a89e8eeedd5: Pull complete [2022-04-25T19:54:45.298Z] 94645a83ff95: Pull complete [2022-04-25T19:54:45.574Z] a4caa8a26152: Verifying Checksum [2022-04-25T19:54:45.574Z] a4caa8a26152: Download complete [2022-04-25T19:54:46.178Z] 3f3a8bcf1eab: Download complete [2022-04-25T19:55:01.321Z] 3f3a8bcf1eab: Pull complete [2022-04-25T19:55:01.321Z] 0c92f367c5e7: Pull complete [2022-04-25T19:55:01.321Z] 3096ccb668a1: Pull complete [2022-04-25T19:55:01.321Z] e8cf19c19ddd: Pull complete [2022-04-25T19:55:08.065Z] a4caa8a26152: Pull complete [2022-04-25T19:55:08.065Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T19:55:08.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T19:55:08.065Z] ---> 725f1c02e7f9 [2022-04-25T19:55:08.065Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T19:55:09.507Z] ---> Running in 0642b20771a3 [2022-04-25T19:55:09.507Z] Removing intermediate container 0642b20771a3 [2022-04-25T19:55:09.507Z] ---> 10da08409bd8 [2022-04-25T19:55:09.507Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T19:55:09.780Z] ---> Running in 334c20f7da26 [2022-04-25T19:55:10.052Z] Removing intermediate container 334c20f7da26 [2022-04-25T19:55:10.052Z] ---> 88cc31369228 [2022-04-25T19:55:10.052Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T19:55:10.052Z] ---> Running in 4ab267e04deb [2022-04-25T19:55:10.332Z] Removing intermediate container 4ab267e04deb [2022-04-25T19:55:10.332Z] ---> 293a8fec00b1 [2022-04-25T19:55:10.332Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T19:55:10.611Z] ---> Running in 28791d782e55 [2022-04-25T19:55:12.685Z] Removing intermediate container 28791d782e55 [2022-04-25T19:55:12.685Z] ---> 67a26563818a [2022-04-25T19:55:12.685Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T19:55:12.685Z] ---> Running in ff89dd4550a2 [2022-04-25T19:55:13.672Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T19:55:14.662Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T19:55:15.660Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T19:55:15.660Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T19:55:15.936Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T19:55:15.936Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T19:55:16.226Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T19:55:16.226Z] OK: 224 MiB in 56 packages [2022-04-25T19:55:17.222Z] Removing intermediate container ff89dd4550a2 [2022-04-25T19:55:17.222Z] ---> ae6cc44846fa [2022-04-25T19:55:17.222Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-25T19:55:17.222Z] ---> Running in a970834377b3 [2022-04-25T19:55:17.841Z] Removing intermediate container a970834377b3 [2022-04-25T19:55:17.841Z] ---> 623f3ac94c76 [2022-04-25T19:55:17.841Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T19:55:18.446Z] ---> bbc5059d65ae [2022-04-25T19:55:18.446Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T19:55:18.446Z] ---> Running in 27d805fd3396 [2022-04-25T19:56:15.079Z] Removing intermediate container 27d805fd3396 [2022-04-25T19:56:15.079Z] ---> 1b48e8802567 [2022-04-25T19:56:15.079Z] Step 11/12 : COPY . . [2022-04-25T19:56:15.079Z] ---> 3382ed48ceca [2022-04-25T19:56:15.079Z] Step 12/12 : RUN ${MAKE} [2022-04-25T19:56:15.079Z] ---> Running in 9267685786af [2022-04-25T19:56:15.079Z] noop [2022-04-25T19:56:15.079Z] Removing intermediate container 9267685786af [2022-04-25T19:56:15.079Z] ---> 419c95de3830 [2022-04-25T19:56:15.079Z] Successfully built 419c95de3830 [2022-04-25T19:56:15.079Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:56:15.468Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T19:56:15.468Z] . [Pipeline] withDockerContainer [2022-04-25T19:56:15.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-22102 does not seem to be running inside a container [2022-04-25T19:56:15.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T19:56:17.473Z] $ docker top 5135e128d488c6bdf875411ea2084c63ebf780156d2eb25543ac9c3f6f56ce05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T19:56:18.528Z] + go version [2022-04-25T19:56:18.528Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T19:56:18.567Z] $ docker stop --time=1 5135e128d488c6bdf875411ea2084c63ebf780156d2eb25543ac9c3f6f56ce05 [2022-04-25T19:56:20.355Z] $ docker rm -f 5135e128d488c6bdf875411ea2084c63ebf780156d2eb25543ac9c3f6f56ce05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:56:21.264Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T19:56:21.264Z] . [Pipeline] withDockerContainer [2022-04-25T19:56:21.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-22102 does not seem to be running inside a container [2022-04-25T19:56:21.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T19:56:23.210Z] $ docker top ca1567d4478c4d8edbfad28f518ecd53d2773c4b75edb044a5ce320becdbc557 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T19:56:24.300Z] + make test [2022-04-25T19:56:24.300Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T19:56:26.945Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-25T19:58:03.970Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-25T19:58:03.970Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.073s coverage: 0.0% of statements [2022-04-25T19:58:03.970Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T19:58:03.970Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T19:58:43.063Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T19:58:43.063Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T19:58:43.063Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T19:58:43.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T19:58:43.404Z] $ docker stop --time=1 ca1567d4478c4d8edbfad28f518ecd53d2773c4b75edb044a5ce320becdbc557 [2022-04-25T19:58:45.287Z] $ docker rm -f ca1567d4478c4d8edbfad28f518ecd53d2773c4b75edb044a5ce320becdbc557 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T19:58:46.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T19:58:46.576Z] Warning: overwriting stash ‘coverage-report’ [2022-04-25T19:58:47.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T19:58:48.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T19:58:48.395Z] + ls -al . [2022-04-25T19:58:48.395Z] total 160 [2022-04-25T19:58:48.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:58 . [2022-04-25T19:58:48.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:54 .. [2022-04-25T19:58:48.395Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 25 19:54 .dockerignore [2022-04-25T19:58:48.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:54 .git [2022-04-25T19:58:48.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 .github [2022-04-25T19:58:48.395Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 25 19:54 .gitignore [2022-04-25T19:58:48.395Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 19:54 .golangci.yml [2022-04-25T19:58:48.395Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 25 19:54 Attribution.txt [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 25 19:54 CHANGELOG.md [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 25 19:54 Dockerfile [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 19:54 GOVERNANCE.md [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 25 19:54 Jenkinsfile [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 19:54 LICENSE [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 25 19:54 Makefile [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 19:54 OWNERS.md [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 25 19:54 README.md [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 19:51 VERSION [2022-04-25T19:58:48.396Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:54 bin [2022-04-25T19:58:48.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 cmd [2022-04-25T19:58:48.396Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 25 19:57 coverage.out [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 25 19:54 go.mod [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 25 19:54 go.sum [2022-04-25T19:58:48.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 internal [2022-04-25T19:58:48.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 snap [2022-04-25T19:58:48.396Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 19:54 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T19:58:48.776Z] + 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=982e4616adac711241339f8fe4f62fb3bd543c19 --label arch=arm64 --label version=0.0.0 . [2022-04-25T19:58:49.400Z] Sending build context to Docker daemon 2.762MB [2022-04-25T19:58:49.400Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T19:58:49.400Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-25T19:58:49.400Z] ---> 419c95de3830 [2022-04-25T19:58:49.400Z] Step 3/24 : ARG MAKE='make build' [2022-04-25T19:58:49.400Z] ---> Running in a7c7e120c159 [2022-04-25T19:58:49.679Z] Removing intermediate container a7c7e120c159 [2022-04-25T19:58:49.679Z] ---> 7d6269009f5d [2022-04-25T19:58:49.679Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T19:58:49.956Z] ---> Running in 31aa1ffc437c [2022-04-25T19:58:50.231Z] Removing intermediate container 31aa1ffc437c [2022-04-25T19:58:50.231Z] ---> 0507d71222e0 [2022-04-25T19:58:50.231Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T19:58:50.231Z] ---> Running in 7f34d80e4bd8 [2022-04-25T19:58:50.839Z] Removing intermediate container 7f34d80e4bd8 [2022-04-25T19:58:50.839Z] ---> fed8b7049db0 [2022-04-25T19:58:50.839Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T19:58:50.839Z] ---> Running in 50403991ac49 [2022-04-25T19:58:52.821Z] Removing intermediate container 50403991ac49 [2022-04-25T19:58:52.821Z] ---> 0108d9fe203e [2022-04-25T19:58:52.821Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T19:58:52.821Z] ---> Running in aa7fd626fe77 [2022-04-25T19:58:53.800Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T19:58:54.783Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T19:58:55.768Z] OK: 224 MiB in 56 packages [2022-04-25T19:58:56.755Z] Removing intermediate container aa7fd626fe77 [2022-04-25T19:58:56.755Z] ---> 572d143e0f32 [2022-04-25T19:58:56.755Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-25T19:58:56.755Z] ---> Running in f40289861d0a [2022-04-25T19:58:57.033Z] Removing intermediate container f40289861d0a [2022-04-25T19:58:57.033Z] ---> 58adc4ad10c1 [2022-04-25T19:58:57.033Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-25T19:58:57.645Z] ---> a622a72e9a6c [2022-04-25T19:58:57.645Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T19:58:57.925Z] ---> Running in a18339ecf151 [2022-04-25T19:58:59.909Z] Removing intermediate container a18339ecf151 [2022-04-25T19:58:59.909Z] ---> 2c1c5c38111a [2022-04-25T19:58:59.909Z] Step 11/24 : COPY . . [2022-04-25T19:59:00.904Z] ---> b83640821c20 [2022-04-25T19:59:00.904Z] Step 12/24 : RUN ${MAKE} [2022-04-25T19:59:00.904Z] ---> Running in a5f63f6eff92 [2022-04-25T19:59:02.348Z] 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-25T20:01:39.339Z] Removing intermediate container a5f63f6eff92 [2022-04-25T20:01:39.339Z] ---> ca75a87f6671 [2022-04-25T20:01:39.339Z] Step 13/24 : FROM alpine:3.14 [2022-04-25T20:01:39.339Z] 3.14: Pulling from library/alpine [2022-04-25T20:01:39.339Z] 455c02918c45: Pulling fs layer [2022-04-25T20:01:39.339Z] 455c02918c45: Verifying Checksum [2022-04-25T20:01:39.339Z] 455c02918c45: Download complete [2022-04-25T20:01:39.339Z] 455c02918c45: Pull complete [2022-04-25T20:01:39.339Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T20:01:39.339Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T20:01:39.339Z] ---> ac73e934f311 [2022-04-25T20:01:39.339Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-25T20:01:39.339Z] ---> Running in 62f5c88135d8 [2022-04-25T20:01:39.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-25T20:01:39.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-25T20:01:39.339Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-25T20:01:39.339Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T20:01:39.339Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-25T20:01:39.339Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T20:01:39.339Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-25T20:01:39.339Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-25T20:01:39.339Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T20:01:39.339Z] OK: 8 MiB in 20 packages [2022-04-25T20:01:39.339Z] Removing intermediate container 62f5c88135d8 [2022-04-25T20:01:39.339Z] ---> 4da6602d57c9 [2022-04-25T20:01:39.339Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-25T20:01:39.339Z] ---> 1f5e9e09db47 [2022-04-25T20:01:39.339Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-25T20:01:39.339Z] ---> f3f1c04410cd [2022-04-25T20:01:39.339Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-25T20:01:39.339Z] ---> 0366b36a402f [2022-04-25T20:01:39.339Z] Step 18/24 : EXPOSE 59993 [2022-04-25T20:01:39.339Z] ---> Running in 14b89e250d9a [2022-04-25T20:01:39.339Z] Removing intermediate container 14b89e250d9a [2022-04-25T20:01:39.339Z] ---> e0d961189f2d [2022-04-25T20:01:39.339Z] Step 19/24 : EXPOSE 161 [2022-04-25T20:01:39.339Z] ---> Running in d3cb150ab3c6 [2022-04-25T20:01:39.339Z] Removing intermediate container d3cb150ab3c6 [2022-04-25T20:01:39.339Z] ---> 81cc52179229 [2022-04-25T20:01:39.339Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-25T20:01:39.339Z] ---> Running in baa64e1c7b4b [2022-04-25T20:01:39.339Z] Removing intermediate container baa64e1c7b4b [2022-04-25T20:01:39.339Z] ---> 51b26fccd503 [2022-04-25T20:01:39.339Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-25T20:01:39.339Z] ---> Running in 64ff8895389e [2022-04-25T20:01:39.339Z] Removing intermediate container 64ff8895389e [2022-04-25T20:01:39.339Z] ---> da60668feaab [2022-04-25T20:01:39.339Z] Step 22/24 : LABEL arch=arm64 [2022-04-25T20:01:39.339Z] ---> Running in 5a811a1d1eca [2022-04-25T20:01:39.339Z] Removing intermediate container 5a811a1d1eca [2022-04-25T20:01:39.339Z] ---> 63bfd8145fe9 [2022-04-25T20:01:39.339Z] Step 23/24 : LABEL git_sha=982e4616adac711241339f8fe4f62fb3bd543c19 [2022-04-25T20:01:39.339Z] ---> Running in 4416c3c3519d [2022-04-25T20:01:39.339Z] Removing intermediate container 4416c3c3519d [2022-04-25T20:01:39.339Z] ---> 1e558398d464 [2022-04-25T20:01:39.339Z] Step 24/24 : LABEL version=0.0.0 [2022-04-25T20:01:39.339Z] ---> Running in b85d3e33e688 [2022-04-25T20:01:39.614Z] Removing intermediate container b85d3e33e688 [2022-04-25T20:01:39.614Z] ---> fea377b85530 [2022-04-25T20:01:39.614Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T20:01:39.895Z] Successfully built fea377b85530 [2022-04-25T20:01:39.895Z] 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-25T20:01:40.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T20:01:40.580Z] [2022-04-25T20:01:40.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:01:40.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T20:01:41.257Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T20:01:41.257Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T20:01:41.257Z] 04944245beec: Pulling fs layer [2022-04-25T20:01:41.257Z] 699f458cf7ca: Pulling fs layer [2022-04-25T20:01:41.257Z] 765212b225bb: Pulling fs layer [2022-04-25T20:01:41.257Z] f23df028b6ca: Pulling fs layer [2022-04-25T20:01:41.257Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T20:01:41.257Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T20:01:41.257Z] 765212b225bb: Waiting [2022-04-25T20:01:41.257Z] d65c8cfc05b1: Waiting [2022-04-25T20:01:41.257Z] 2437ff75d9bd: Waiting [2022-04-25T20:01:41.257Z] f23df028b6ca: Waiting [2022-04-25T20:01:41.257Z] 04944245beec: Verifying Checksum [2022-04-25T20:01:41.257Z] 04944245beec: Download complete [2022-04-25T20:01:41.257Z] 765212b225bb: Verifying Checksum [2022-04-25T20:01:41.257Z] 765212b225bb: Download complete [2022-04-25T20:01:41.537Z] f23df028b6ca: Download complete [2022-04-25T20:01:41.537Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T20:01:41.537Z] d65c8cfc05b1: Download complete [2022-04-25T20:01:41.537Z] 699f458cf7ca: Verifying Checksum [2022-04-25T20:01:41.537Z] 699f458cf7ca: Download complete [2022-04-25T20:01:42.140Z] 8998bd30e6a1: Verifying Checksum [2022-04-25T20:01:42.140Z] 8998bd30e6a1: Download complete [2022-04-25T20:01:44.783Z] 2437ff75d9bd: Download complete [2022-04-25T20:01:46.767Z] 8998bd30e6a1: Pull complete [2022-04-25T20:01:47.373Z] 04944245beec: Pull complete [2022-04-25T20:01:48.820Z] 699f458cf7ca: Pull complete [2022-04-25T20:01:49.097Z] 765212b225bb: Pull complete [2022-04-25T20:01:50.082Z] f23df028b6ca: Pull complete [2022-04-25T20:01:50.082Z] d65c8cfc05b1: Pull complete [2022-04-25T20:02:08.416Z] 2437ff75d9bd: Pull complete [2022-04-25T20:02:08.416Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T20:02:08.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T20:02:08.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T20:02:08.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-22102 does not seem to be running inside a container [2022-04-25T20:02:08.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-25T20:02:11.794Z] $ docker top 9aec617e1cb6e7f63198b02ad9e666b4e73dcc07fb22a414ac10126e9eb09fa7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:12.818Z] ---> job-cost.sh [2022-04-25T20:02:12.818Z] lf-activate-venv: SKIPPING [2022-04-25T20:02:12.818Z] INFO: No Stack... [2022-04-25T20:02:13.416Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T20:02:14.395Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T20:02:15.085Z] + cut -d,+ -f6 [2022-04-25T20:02:15.085Z] cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2022-04-25T20:02:15.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [2022-04-25T20:02:15.174Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] did not exist. Created. [2022-04-25T20:02:15.174Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T20:02:15.935Z] /w/workspace/device-snmp-go/1@tmp/durable-29bdd983/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T20:02:16.643Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T20:02:16.680Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T20:02:16.732Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T20:02:16.747Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T20:02:16.825Z] $ docker stop --time=1 9aec617e1cb6e7f63198b02ad9e666b4e73dcc07fb22a414ac10126e9eb09fa7 [2022-04-25T20:02:18.406Z] $ docker rm -f 9aec617e1cb6e7f63198b02ad9e666b4e73dcc07fb22a414ac10126e9eb09fa7 [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-25T20:02:19.423Z] provisioning config files... [2022-04-25T20:02:19.433Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config7626635738058229906tmp [Pipeline] { [Pipeline] sh [2022-04-25T20:02:19.769Z] + set +x [2022-04-25T20:02:19.770Z] + curl -s https://codecov.io/bash [2022-04-25T20:02:19.770Z] + bash -s -- [2022-04-25T20:02:19.770Z] [2022-04-25T20:02:19.770Z] _____ _ [2022-04-25T20:02:19.770Z] / ____| | | [2022-04-25T20:02:19.770Z] | | ___ __| | ___ ___ _____ __ [2022-04-25T20:02:19.770Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-25T20:02:19.770Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-25T20:02:19.770Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-25T20:02:19.770Z] Bash-1.0.6 [2022-04-25T20:02:19.770Z] [2022-04-25T20:02:19.770Z] [2022-04-25T20:02:19.770Z] ==> git version 2.25.1 found [2022-04-25T20:02:19.770Z] ==> 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-25T20:02:19.770Z] Release-Date: 2020-01-08 [2022-04-25T20:02:19.770Z] 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-25T20:02:19.770Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-25T20:02:19.770Z] ==> Jenkins CI detected. [2022-04-25T20:02:19.770Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-160 [2022-04-25T20:02:19.770Z] project root: . [2022-04-25T20:02:19.770Z] --> token set from env [2022-04-25T20:02:19.770Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-25T20:02:19.770Z] ==> Running gcov in . (disable via -X gcov) [2022-04-25T20:02:19.770Z] ==> Python coveragepy not found [2022-04-25T20:02:19.770Z] ==> Searching for coverage reports in: [2022-04-25T20:02:19.770Z] + . [2022-04-25T20:02:19.770Z] -> Found 1 reports [2022-04-25T20:02:19.770Z] ==> Detecting git/mercurial file structure [2022-04-25T20:02:19.770Z] ==> Reading reports [2022-04-25T20:02:19.770Z] + ./coverage.out bytes=7631 [2022-04-25T20:02:19.770Z] ==> Appending adjustments [2022-04-25T20:02:19.770Z] https://docs.codecov.io/docs/fixing-reports [2022-04-25T20:02:20.030Z] + Found adjustments [2022-04-25T20:02:20.030Z] ==> Gzipping contents [2022-04-25T20:02:20.030Z] 4.0K /tmp/codecov.Oz4CWb.gz [2022-04-25T20:02:20.030Z] ==> Uploading reports [2022-04-25T20:02:20.030Z] url: https://codecov.io [2022-04-25T20:02:20.030Z] query: branch=PR-160&commit=982e4616adac711241339f8fe4f62fb3bd543c19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=160&job=&cmd_args= [2022-04-25T20:02:20.030Z] -> Pinging Codecov [2022-04-25T20:02:20.030Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-160&commit=982e4616adac711241339f8fe4f62fb3bd543c19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=160&job=&cmd_args= [2022-04-25T20:02:20.030Z] -> Uploading to [2022-04-25T20:02:20.030Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-25/6C56EA5C29638FB4528AC87E60AF5AE0/982e4616adac711241339f8fe4f62fb3bd543c19/77c381dc-8cbf-4fde-987a-5d6d44a4ebe7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T200219Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=830dba828d5531693fe9cd14ac01b6b3b8db16eeaf61ddbec4c899abf0fe44bd [2022-04-25T20:02:20.030Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T20:02:20.030Z] Dload Upload Total Spent Left Speed [2022-04-25T20:02:20.296Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7120 --:--:-- --:--:-- --:--:-- 7120 [2022-04-25T20:02:20.296Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] } [2022-04-25T20:02:20.320Z] 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-25T20:02:21.939Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-160/archives ] [2022-04-25T20:02:21.939Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-160/archives [2022-04-25T20:02:21.939Z] total 16 [2022-04-25T20:02:21.939Z] drwxr-xr-x 3 root root 4096 Apr 25 19:53 . [2022-04-25T20:02:21.939Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 19:53 .. [2022-04-25T20:02:21.939Z] drwxr-xr-x 2 root root 4096 Apr 25 19:53 cost [2022-04-25T20:02:21.939Z] -rw-r--r-- 1 root root 85 Apr 25 19:53 cost.csv [2022-04-25T20:02:21.939Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-160/archives [2022-04-25T20:02:21.939Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-160/archives [2022-04-25T20:02:21.939Z] total 16 [2022-04-25T20:02:21.939Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 19:53 . [2022-04-25T20:02:21.939Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 19:53 .. [2022-04-25T20:02:21.939Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 19:53 cost [2022-04-25T20:02:21.939Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 25 19:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:22.269Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:23.163Z] ---> package-listing.sh [2022-04-25T20:02:23.163Z] ++ facter osfamily [2022-04-25T20:02:23.163Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T20:02:23.424Z] + OS_FAMILY=debian [2022-04-25T20:02:23.424Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-160 [2022-04-25T20:02:23.424Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T20:02:23.424Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T20:02:23.424Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T20:02:23.424Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T20:02:23.424Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-160 ']' [2022-04-25T20:02:23.424Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T20:02:23.424Z] + case "${OS_FAMILY}" in [2022-04-25T20:02:23.424Z] + dpkg -l [2022-04-25T20:02:23.424Z] + grep '^ii' [2022-04-25T20:02:23.424Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T20:02:23.424Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T20:02:23.424Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T20:02:23.424Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-160 ']' [2022-04-25T20:02:23.424Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-160/archives/ [2022-04-25T20:02:23.424Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-160/archives/ [Pipeline] echo [2022-04-25T20:02:23.460Z] 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-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T20:02:23.753Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:02:24.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T20:02:24.336Z] . [Pipeline] withDockerContainer [2022-04-25T20:02:24.428Z] prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container [2022-04-25T20:02:24.470Z] $ 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-160/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-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T20:02:24.692Z] $ docker top b859fb2a70d34b408acf1629b43841583c1672a7cdedc99d65a3fd9f6a0e4795 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T20:02:25.093Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T20:02:25.403Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T20:02:25.719Z] + ls /var/log/sa-host [2022-04-25T20:02:25.719Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T20:02:25.868Z] provisioning config files... [2022-04-25T20:02:25.880Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config3942996233673374383tmp [Pipeline] { [Pipeline] echo [2022-04-25T20:02:25.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:26.243Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T20:02:26.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:26.672Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T20:02:26.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:27.016Z] ---> sudo-logs.sh [2022-04-25T20:02:27.017Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T20:02:27.105Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:27.427Z] ---> job-cost.sh [2022-04-25T20:02:27.427Z] lf-activate-venv: SKIPPING [2022-04-25T20:02:27.427Z] DEBUG: total: 0.2199999988079071 [2022-04-25T20:02:27.427Z] INFO: Retrieving Stack Cost... [2022-04-25T20:02:28.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T20:02:28.262Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T20:02:28.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:02:28.616Z] ---> logs-deploy.sh [2022-04-25T20:02:28.616Z] lf-activate-venv: SKIPPING [2022-04-25T20:02:28.616Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-160/1 [2022-04-25T20:02:28.616Z] INFO: archiving workspace using pattern(s): [2022-04-25T20:02:29.559Z] Archives upload complete. [2022-04-25T20:02:29.559Z] INFO: archiving logs to Nexus