Pull request #158 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2992fd062ecc9844183aa8736bdca58e38a282d+9a3dba1396f359ed2da05b9e2de949f9cb839ab1 (ec9c26618ba08879c9798aa6e5b05721bb24b825) 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-ssh9853024609916297315.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-ssh8578912932338338016.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-158/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-158/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10803893874410270033.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15635841913894434321.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-158/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-158/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14693244722707226095.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29877 in /w/workspace/gexfoundry_device-snmp-go_PR-158 [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-158 # 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit f2992fd062ecc9844183aa8736bdca58e38a282d Merge succeeded, producing f2992fd062ecc9844183aa8736bdca58e38a282d Checking out Revision f2992fd062ecc9844183aa8736bdca58e38a282d (PR-158) > 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/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2992fd062ecc9844183aa8736bdca58e38a282d # 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2992fd062ecc9844183aa8736bdca58e38a282d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T16:44:07.606Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 040390cf6cab88b0f19735c82e952ec690ed569c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T16:44:07.662Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T16:44:07.676Z] ========================================================= [2022-04-26T16:44:07.676Z] EdgeX Global Pipelines Version Info [2022-04-26T16:44:07.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:44:08.435Z] ------------------- [2022-04-26T16:44:08.435Z] stable info: [2022-04-26T16:44:08.435Z] ------------------- [2022-04-26T16:44:08.435Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T16:44:08.435Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T16:44:08.435Z] Message: update stable to v1.0.221 [2022-04-26T16:44:09.007Z] ------------------- [2022-04-26T16:44:09.007Z] experimental info: [2022-04-26T16:44:09.007Z] ------------------- [2022-04-26T16:44:09.007Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T16:44:09.007Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T16:44:09.007Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T16:44:09.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-26T16:44:09.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-26T16:44:09.159Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T16:44:09.169Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T16:44:09.182Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T16:44:09.195Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T16:44:09.207Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T16:44:09.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T16:44:09.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T16:44:09.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T16:44:09.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T16:44:09.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-26T16:44:09.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T16:44:09.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T16:44:09.314Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T16:44:09.328Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T16:44:09.341Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T16:44:09.353Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T16:44:09.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T16:44:09.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T16:44:09.387Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T16:44:09.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T16:44:09.417Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T16:44:09.436Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T16:44:09.451Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T16:44:09.468Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T16:44:09.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo [2022-04-26T16:44:09.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo [2022-04-26T16:44:09.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo [2022-04-26T16:44:09.535Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo [2022-04-26T16:44:09.547Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2992fd [Pipeline] echo [2022-04-26T16:44:09.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:44:09.598Z] provisioning config files... [2022-04-26T16:44:09.611Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config667969069389371008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:44:09.946Z] ---> docker-login.sh [2022-04-26T16:44:09.946Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:44:10.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:10.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:10.474Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:10.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:10.474Z] [2022-04-26T16:44:10.474Z] Login Succeeded [2022-04-26T16:44:10.474Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:44:10.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:10.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:10.474Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:10.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:10.474Z] [2022-04-26T16:44:10.474Z] Login Succeeded [2022-04-26T16:44:10.474Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:44:10.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:10.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:10.735Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:10.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:10.735Z] [2022-04-26T16:44:10.735Z] Login Succeeded [2022-04-26T16:44:10.735Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:44:10.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:10.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:10.735Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:10.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:10.735Z] [2022-04-26T16:44:10.735Z] Login Succeeded [2022-04-26T16:44:10.735Z] docker.io [2022-04-26T16:44:10.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:11.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:11.255Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:11.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:11.255Z] [2022-04-26T16:44:11.255Z] Login Succeeded [2022-04-26T16:44:11.255Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:44:11.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T16:44:11.647Z] + git rev-list -1 --merges f2992fd062ecc9844183aa8736bdca58e38a282d~1..f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo [2022-04-26T16:44:11.685Z] -----------> git rev-list -1 --merges f2992fd062ecc9844183aa8736bdca58e38a282d~1..f2992fd062ecc9844183aa8736bdca58e38a282d f2992fd062ecc9844183aa8736bdca58e38a282d [false] [Pipeline] sh [2022-04-26T16:44:12.061Z] + git log --format=format:%s -1 f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo [2022-04-26T16:44:12.079Z] ========================================================= [2022-04-26T16:44:12.079Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T16:44:12.079Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:44:12.425Z] + git log --format=format:%s -1 f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo [2022-04-26T16:44:12.437Z] [semverPrep] GIT_COMMIT: f2992fd062ecc9844183aa8736bdca58e38a282d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-04-26T16:44:12.450Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T16:44:13.097Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:44:13.097Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T16:44:13.097Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T16:44:13.097Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T16:44:13.097Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-04-26T16:44:13.097Z] -a /etc/ssh/ssh_known_hosts [2022-04-26T16:44:13.097Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:44:13.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:44:13.444Z] [2022-04-26T16:44:13.444Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:44:13.756Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:44:13.756Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T16:44:13.756Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T16:44:13.756Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T16:44:13.756Z] 4c7163046ea9: Pulling fs layer [2022-04-26T16:44:13.756Z] 0c2d73faf560: Pulling fs layer [2022-04-26T16:44:13.756Z] 0c2d73faf560: Waiting [2022-04-26T16:44:13.756Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T16:44:13.756Z] 3e5f54012d9b: Download complete [2022-04-26T16:44:13.756Z] a0d0a0d46f8b: Download complete [2022-04-26T16:44:14.018Z] 0c2d73faf560: Verifying Checksum [2022-04-26T16:44:14.018Z] 0c2d73faf560: Download complete [2022-04-26T16:44:14.018Z] 4c7163046ea9: Verifying Checksum [2022-04-26T16:44:14.018Z] 4c7163046ea9: Download complete [2022-04-26T16:44:14.018Z] a0d0a0d46f8b: Pull complete [2022-04-26T16:44:14.018Z] 3e5f54012d9b: Pull complete [2022-04-26T16:44:14.278Z] 4c7163046ea9: Pull complete [2022-04-26T16:44:14.538Z] 0c2d73faf560: Pull complete [2022-04-26T16:44:14.538Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T16:44:14.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:44:14.538Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T16:44:14.683Z] prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container [2022-04-26T16:44:14.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@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-26T16:44:15.557Z] $ docker top b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:44:15.669Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:44:15.670Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:44:15.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:44:15.815Z] $ docker exec b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent [2022-04-26T16:44:15.936Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPNONah/agent.15 [2022-04-26T16:44:15.936Z] SSH_AGENT_PID=21 [2022-04-26T16:44:15.946Z] Running ssh-add (command line suppressed) [2022-04-26T16:44:16.068Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_75837781659660786.key (/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_75837781659660786.key) [2022-04-26T16:44:16.084Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:44:16.380Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T16:44:16.399Z] $ docker exec --env ******** --env ******** b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent -k [2022-04-26T16:44:16.503Z] unset SSH_AUTH_SOCK; [2022-04-26T16:44:16.504Z] unset SSH_AGENT_PID; [2022-04-26T16:44:16.504Z] echo Agent pid 21 killed; [2022-04-26T16:44:16.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T16:44:16.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:44:16.546Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:44:16.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:44:16.683Z] $ docker exec b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent [2022-04-26T16:44:16.796Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOdiKoN/agent.56 [2022-04-26T16:44:16.796Z] SSH_AGENT_PID=63 [2022-04-26T16:44:16.801Z] Running ssh-add (command line suppressed) [2022-04-26T16:44:16.937Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_4096905819026161804.key (/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_4096905819026161804.key) [2022-04-26T16:44:16.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:44:17.238Z] + git semver init [2022-04-26T16:44:17.238Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:44:17.238Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-158/.git [2022-04-26T16:44:17.238Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-158 [2022-04-26T16:44:17.238Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:44:17.238Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:44:17.238Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:44:17.238Z] # $SEMVER_BRANCH = PR-158 [2022-04-26T16:44:17.238Z] # $SEMVER_TEMP = /tmp/semver-040520344 [2022-04-26T16:44:17.238Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-26T16:44:18.180Z] # '/tmp/semver-040520344' -> '/w/workspace/gexfoundry_device-snmp-go_PR-158/.semver' [2022-04-26T16:44:18.180Z] # -> Force: false [2022-04-26T16:44:18.180Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-158/.semver [Pipeline] } [2022-04-26T16:44:18.197Z] $ docker exec --env ******** --env ******** b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent -k [2022-04-26T16:44:18.313Z] unset SSH_AUTH_SOCK; [2022-04-26T16:44:18.313Z] unset SSH_AGENT_PID; [2022-04-26T16:44:18.313Z] echo Agent pid 63 killed; [2022-04-26T16:44:18.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:44:18.617Z] + git semver [Pipeline] } [2022-04-26T16:44:18.635Z] $ docker stop --time=1 b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b [2022-04-26T16:44:20.019Z] $ docker rm -f b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:44:20.363Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T16:44:20.653Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T16:44:20.657Z] [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-26T16:44:20.844Z] provisioning config files... [2022-04-26T16:44:20.855Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config7408547872082181491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:44:21.164Z] ---> docker-login.sh [2022-04-26T16:44:21.164Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:44:21.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:21.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:21.164Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:21.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:21.164Z] [2022-04-26T16:44:21.164Z] Login Succeeded [2022-04-26T16:44:21.164Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:44:21.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:21.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:21.424Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:21.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:21.424Z] [2022-04-26T16:44:21.424Z] Login Succeeded [2022-04-26T16:44:21.424Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:44:21.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:21.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:21.424Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:21.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:21.424Z] [2022-04-26T16:44:21.424Z] Login Succeeded [2022-04-26T16:44:21.424Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:44:21.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:21.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:21.686Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:21.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:21.686Z] [2022-04-26T16:44:21.686Z] Login Succeeded [2022-04-26T16:44:21.686Z] docker.io [2022-04-26T16:44:21.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:44:21.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:44:21.946Z] Configure a credential helper to remove this warning. See [2022-04-26T16:44:21.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:44:21.946Z] [2022-04-26T16:44:21.946Z] Login Succeeded [2022-04-26T16:44:21.946Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:44:21.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:44:22.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:44:22.027Z] ========================================================= [2022-04-26T16:44:22.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T16:44:22.027Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:44:22.335Z] + 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-26T16:44:22.335Z] Sending build context to Docker daemon 5.271MB [2022-04-26T16:44:22.335Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:44:22.335Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T16:44:22.335Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T16:44:22.335Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T16:44:22.335Z] 666ba61612fd: Pulling fs layer [2022-04-26T16:44:22.335Z] 8ed8ca486205: Pulling fs layer [2022-04-26T16:44:22.335Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T16:44:22.335Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T16:44:22.335Z] ca2b28591e48: Pulling fs layer [2022-04-26T16:44:22.335Z] a51346096db8: Pulling fs layer [2022-04-26T16:44:22.335Z] daebc70d1ce1: Pulling fs layer [2022-04-26T16:44:22.335Z] 0e18a0eac166: Pulling fs layer [2022-04-26T16:44:22.335Z] 4fe6c5a15a65: Waiting [2022-04-26T16:44:22.335Z] 22a0e8bec74d: Waiting [2022-04-26T16:44:22.335Z] ca2b28591e48: Waiting [2022-04-26T16:44:22.335Z] a51346096db8: Waiting [2022-04-26T16:44:22.335Z] daebc70d1ce1: Waiting [2022-04-26T16:44:22.335Z] 0e18a0eac166: Waiting [2022-04-26T16:44:22.335Z] 8ed8ca486205: Verifying Checksum [2022-04-26T16:44:22.335Z] 666ba61612fd: Verifying Checksum [2022-04-26T16:44:22.335Z] 666ba61612fd: Download complete [2022-04-26T16:44:22.597Z] 22a0e8bec74d: Download complete [2022-04-26T16:44:22.597Z] ca2b28591e48: Download complete [2022-04-26T16:44:22.597Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T16:44:22.597Z] 59bf1c3509f3: Download complete [2022-04-26T16:44:22.597Z] a51346096db8: Verifying Checksum [2022-04-26T16:44:22.597Z] a51346096db8: Download complete [2022-04-26T16:44:22.597Z] daebc70d1ce1: Verifying Checksum [2022-04-26T16:44:22.597Z] daebc70d1ce1: Download complete [2022-04-26T16:44:22.597Z] 59bf1c3509f3: Pull complete [2022-04-26T16:44:22.858Z] 666ba61612fd: Pull complete [2022-04-26T16:44:22.858Z] 8ed8ca486205: Pull complete [2022-04-26T16:44:23.120Z] 0e18a0eac166: Verifying Checksum [2022-04-26T16:44:23.120Z] 0e18a0eac166: Download complete [2022-04-26T16:44:23.379Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T16:44:23.379Z] 4fe6c5a15a65: Download complete [2022-04-26T16:44:27.573Z] 4fe6c5a15a65: Pull complete [2022-04-26T16:44:27.573Z] 22a0e8bec74d: Pull complete [2022-04-26T16:44:27.573Z] ca2b28591e48: Pull complete [2022-04-26T16:44:27.573Z] a51346096db8: Pull complete [2022-04-26T16:44:27.573Z] daebc70d1ce1: Pull complete [2022-04-26T16:44:29.483Z] 0e18a0eac166: Pull complete [2022-04-26T16:44:29.483Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T16:44:29.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T16:44:29.483Z] ---> f018257e8ee9 [2022-04-26T16:44:29.483Z] Step 3/12 : ARG MAKE='make build' [2022-04-26T16:44:32.026Z] ---> Running in 244fc55e8641 [2022-04-26T16:44:32.026Z] Removing intermediate container 244fc55e8641 [2022-04-26T16:44:32.026Z] ---> 6b0e673da378 [2022-04-26T16:44:32.026Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:44:32.027Z] ---> Running in ca2f404a8f9c [2022-04-26T16:44:32.027Z] Removing intermediate container ca2f404a8f9c [2022-04-26T16:44:32.027Z] ---> 6cbd517faf93 [2022-04-26T16:44:32.027Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:44:32.027Z] ---> Running in 646bfe62d023 [2022-04-26T16:44:32.287Z] Removing intermediate container 646bfe62d023 [2022-04-26T16:44:32.287Z] ---> ab8e86c7969b [2022-04-26T16:44:32.287Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:44:32.287Z] ---> Running in c2e91fe859a8 [2022-04-26T16:44:33.229Z] Removing intermediate container c2e91fe859a8 [2022-04-26T16:44:33.229Z] ---> 9b394c3203c8 [2022-04-26T16:44:33.229Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:44:33.799Z] ---> Running in 9f6d4f746e34 [2022-04-26T16:44:34.061Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T16:44:35.002Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T16:44:35.261Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:44:35.261Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T16:44:35.519Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:44:35.520Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:44:35.520Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:44:35.520Z] OK: 224 MiB in 56 packages [2022-04-26T16:44:35.785Z] Still waiting to schedule task [2022-04-26T16:44:35.785Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-29903’ is offline [2022-04-26T16:44:36.089Z] Removing intermediate container 9f6d4f746e34 [2022-04-26T16:44:36.089Z] ---> 252bdda36dca [2022-04-26T16:44:36.089Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-26T16:44:36.089Z] ---> Running in 8ad5f5a9ae84 [2022-04-26T16:44:36.348Z] Removing intermediate container 8ad5f5a9ae84 [2022-04-26T16:44:36.348Z] ---> 0e37dbf425b4 [2022-04-26T16:44:36.348Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-26T16:44:36.348Z] ---> d8ae9497d507 [2022-04-26T16:44:36.348Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:44:36.348Z] ---> Running in bdeba1e12676 [2022-04-26T16:44:51.241Z] Removing intermediate container bdeba1e12676 [2022-04-26T16:44:51.241Z] ---> 69190dd245f6 [2022-04-26T16:44:51.241Z] Step 11/12 : COPY . . [2022-04-26T16:44:51.241Z] ---> 3d97203cd623 [2022-04-26T16:44:51.241Z] Step 12/12 : RUN ${MAKE} [2022-04-26T16:44:51.241Z] ---> Running in a95d8e6a6e30 [2022-04-26T16:44:51.503Z] noop [2022-04-26T16:44:51.769Z] Removing intermediate container a95d8e6a6e30 [2022-04-26T16:44:51.769Z] ---> 2b25324af1ef [2022-04-26T16:44:51.769Z] Successfully built 2b25324af1ef [2022-04-26T16:44:51.769Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:44:52.065Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T16:44:52.065Z] . [Pipeline] withDockerContainer [2022-04-26T16:44:52.162Z] prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container [2022-04-26T16:44:52.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@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-26T16:44:52.557Z] $ docker top d86bfe95267d3b257bdac4f1ffc6fe5436edded6ea17763c6ffba94fb4799e18 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:44:52.901Z] + go version [2022-04-26T16:44:52.901Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T16:44:52.917Z] $ docker stop --time=1 d86bfe95267d3b257bdac4f1ffc6fe5436edded6ea17763c6ffba94fb4799e18 [2022-04-26T16:44:54.202Z] $ docker rm -f d86bfe95267d3b257bdac4f1ffc6fe5436edded6ea17763c6ffba94fb4799e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:44:54.611Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T16:44:54.611Z] . [Pipeline] withDockerContainer [2022-04-26T16:44:54.668Z] prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container [2022-04-26T16:44:54.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@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-26T16:44:55.064Z] $ docker top 5a85fe5afeb7422c323e40e9bf33d248783f94166c7c3fc787988b7cb5520c29 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:44:55.427Z] + make test [2022-04-26T16:44:55.427Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T16:44:55.686Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-26T16:45:05.694Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-26T16:45:05.694Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2022-04-26T16:45:10.974Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T16:45:15.171Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T16:45:15.171Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T16:45:15.171Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T16:45:15.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T16:45:15.205Z] $ docker stop --time=1 5a85fe5afeb7422c323e40e9bf33d248783f94166c7c3fc787988b7cb5520c29 [2022-04-26T16:45:17.013Z] $ docker rm -f 5a85fe5afeb7422c323e40e9bf33d248783f94166c7c3fc787988b7cb5520c29 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:45:17.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T16:45:17.541Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T16:45:18.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T16:45:19.061Z] + ls -al . [2022-04-26T16:45:19.061Z] total 184 [2022-04-26T16:45:19.061Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:45 . [2022-04-26T16:45:19.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:44 .. [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 16:44 .dockerignore [2022-04-26T16:45:19.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:44 .git [2022-04-26T16:45:19.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 .github [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 16:44 .gitignore [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:44 .golangci.yml [2022-04-26T16:45:19.061Z] drwx------ 3 jenkins jenkins 4096 Apr 26 16:44 .semver [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 16:44 Attribution.txt [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 16:44 CHANGELOG.md [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 16:44 Dockerfile [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:44 GOVERNANCE.md [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 16:44 Jenkinsfile [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:44 LICENSE [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 16:44 Makefile [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:44 OWNERS.md [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 16:44 README.md [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 16:44 VERSION [2022-04-26T16:45:19.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:44 bin [2022-04-26T16:45:19.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 cmd [2022-04-26T16:45:19.061Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 16:45 coverage.out [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 16:44 go.mod [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 54298 Apr 26 16:44 go.sum [2022-04-26T16:45:19.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 internal [2022-04-26T16:45:19.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 snap [2022-04-26T16:45:19.061Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 16:44 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:45:19.362Z] + 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=f2992fd062ecc9844183aa8736bdca58e38a282d --label arch=amd64 --label version=0.0.0 . [2022-04-26T16:45:19.363Z] Sending build context to Docker daemon 5.279MB [2022-04-26T16:45:19.363Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:45:19.363Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T16:45:19.363Z] ---> 2b25324af1ef [2022-04-26T16:45:19.363Z] Step 3/24 : ARG MAKE='make build' [2022-04-26T16:45:19.363Z] ---> Running in a5f31347eaf7 [2022-04-26T16:45:19.623Z] Removing intermediate container a5f31347eaf7 [2022-04-26T16:45:19.623Z] ---> 0f0eeabbd096 [2022-04-26T16:45:19.623Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:45:19.623Z] ---> Running in b649fe0e2b82 [2022-04-26T16:45:19.884Z] Removing intermediate container b649fe0e2b82 [2022-04-26T16:45:19.884Z] ---> 41f9b0fb0d95 [2022-04-26T16:45:19.884Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:45:19.884Z] ---> Running in 27ade70036ba [2022-04-26T16:45:20.144Z] Removing intermediate container 27ade70036ba [2022-04-26T16:45:20.144Z] ---> a2374cd47a05 [2022-04-26T16:45:20.144Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:45:20.144Z] ---> Running in a32ec6cde8eb [2022-04-26T16:45:21.084Z] Removing intermediate container a32ec6cde8eb [2022-04-26T16:45:21.084Z] ---> 2890c55fb0c8 [2022-04-26T16:45:21.084Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:45:21.084Z] ---> Running in eb8177502490 [2022-04-26T16:45:21.084Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T16:45:22.025Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T16:45:22.284Z] OK: 224 MiB in 56 packages [2022-04-26T16:45:22.852Z] Removing intermediate container eb8177502490 [2022-04-26T16:45:22.852Z] ---> 8713a9f45159 [2022-04-26T16:45:22.852Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-26T16:45:22.852Z] ---> Running in fc0ba82c0a84 [2022-04-26T16:45:22.852Z] Removing intermediate container fc0ba82c0a84 [2022-04-26T16:45:22.852Z] ---> 8d243c770274 [2022-04-26T16:45:22.852Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-26T16:45:22.852Z] ---> 4362be41d6b7 [2022-04-26T16:45:22.852Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:45:22.852Z] ---> Running in 51f7cad6a6c3 [2022-04-26T16:45:23.817Z] Removing intermediate container 51f7cad6a6c3 [2022-04-26T16:45:23.817Z] ---> a0e373037856 [2022-04-26T16:45:23.817Z] Step 11/24 : COPY . . [2022-04-26T16:45:23.817Z] ---> cc6c1b4d3f9a [2022-04-26T16:45:23.817Z] Step 12/24 : RUN ${MAKE} [2022-04-26T16:45:23.817Z] ---> Running in 9770db8874c5 [2022-04-26T16:45:24.387Z] 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-26T16:45:46.333Z] Removing intermediate container 9770db8874c5 [2022-04-26T16:45:46.333Z] ---> 0847653bc8ff [2022-04-26T16:45:46.333Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T16:45:46.333Z] 3.14: Pulling from library/alpine [2022-04-26T16:45:46.333Z] 8663204ce13b: Pulling fs layer [2022-04-26T16:45:46.333Z] 8663204ce13b: Verifying Checksum [2022-04-26T16:45:46.333Z] 8663204ce13b: Download complete [2022-04-26T16:45:46.333Z] 8663204ce13b: Pull complete [2022-04-26T16:45:46.333Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T16:45:46.333Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T16:45:46.333Z] ---> e04c818066af [2022-04-26T16:45:46.333Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T16:45:46.333Z] ---> Running in 70366c0e4722 [2022-04-26T16:45:46.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T16:45:46.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T16:45:46.333Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T16:45:46.333Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T16:45:46.333Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T16:45:46.333Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T16:45:46.333Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T16:45:46.333Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T16:45:46.333Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T16:45:46.333Z] OK: 8 MiB in 20 packages [2022-04-26T16:45:46.905Z] Removing intermediate container 70366c0e4722 [2022-04-26T16:45:46.905Z] ---> aede6ab0f084 [2022-04-26T16:45:46.905Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-26T16:45:47.476Z] ---> b63e92b6e12e [2022-04-26T16:45:47.476Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-26T16:45:47.476Z] ---> f84dd70a639e [2022-04-26T16:45:47.476Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-26T16:45:47.476Z] ---> 666b0ee6b1bc [2022-04-26T16:45:47.476Z] Step 18/24 : EXPOSE 59993 [2022-04-26T16:45:47.736Z] ---> Running in 887ef3e3999f [2022-04-26T16:45:47.736Z] Removing intermediate container 887ef3e3999f [2022-04-26T16:45:47.736Z] ---> 11e09601911a [2022-04-26T16:45:47.736Z] Step 19/24 : EXPOSE 161 [2022-04-26T16:45:47.736Z] ---> Running in 93d2f9dd81e2 [2022-04-26T16:45:47.736Z] Removing intermediate container 93d2f9dd81e2 [2022-04-26T16:45:47.736Z] ---> 5bc6fdc40823 [2022-04-26T16:45:47.737Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-26T16:45:47.737Z] ---> Running in 18f5ba662bb7 [2022-04-26T16:45:47.997Z] Removing intermediate container 18f5ba662bb7 [2022-04-26T16:45:47.997Z] ---> 74ae1c5217bd [2022-04-26T16:45:47.997Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-26T16:45:47.997Z] ---> Running in b1cbc44f45a4 [2022-04-26T16:45:47.997Z] Removing intermediate container b1cbc44f45a4 [2022-04-26T16:45:47.997Z] ---> ff464b086888 [2022-04-26T16:45:47.997Z] Step 22/24 : LABEL arch=amd64 [2022-04-26T16:45:47.997Z] ---> Running in 93635c59ead8 [2022-04-26T16:45:48.257Z] Removing intermediate container 93635c59ead8 [2022-04-26T16:45:48.257Z] ---> bd6ddd4014c6 [2022-04-26T16:45:48.257Z] Step 23/24 : LABEL git_sha=f2992fd062ecc9844183aa8736bdca58e38a282d [2022-04-26T16:45:48.257Z] ---> Running in 2ed288fb0ed6 [2022-04-26T16:45:48.257Z] Removing intermediate container 2ed288fb0ed6 [2022-04-26T16:45:48.257Z] ---> c2235e9a86da [2022-04-26T16:45:48.257Z] Step 24/24 : LABEL version=0.0.0 [2022-04-26T16:45:48.257Z] ---> Running in 6c478a59c1e3 [2022-04-26T16:45:48.517Z] Removing intermediate container 6c478a59c1e3 [2022-04-26T16:45:48.517Z] ---> 8bac889baccc [2022-04-26T16:45:48.517Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T16:45:48.517Z] Successfully built 8bac889baccc [2022-04-26T16:45:48.517Z] 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-26T16:45:48.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:45:48.968Z] [2022-04-26T16:45:48.968Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:45:49.279Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:45:49.279Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T16:45:49.279Z] 5eb5b503b376: Pulling fs layer [2022-04-26T16:45:49.279Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T16:45:49.279Z] ec43610c2a17: Pulling fs layer [2022-04-26T16:45:49.279Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T16:45:49.279Z] 33b1e0a273af: Pulling fs layer [2022-04-26T16:45:49.279Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T16:45:49.279Z] 2f39f015ded8: Pulling fs layer [2022-04-26T16:45:49.279Z] 33b1e0a273af: Waiting [2022-04-26T16:45:49.279Z] 5d3b04190fa2: Waiting [2022-04-26T16:45:49.279Z] 2f39f015ded8: Waiting [2022-04-26T16:45:49.279Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T16:45:49.279Z] 5c69ac0246d0: Download complete [2022-04-26T16:45:49.279Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T16:45:49.279Z] 3a2ae6a8a46f: Download complete [2022-04-26T16:45:49.279Z] 33b1e0a273af: Verifying Checksum [2022-04-26T16:45:49.279Z] 33b1e0a273af: Download complete [2022-04-26T16:45:49.279Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T16:45:49.279Z] 5d3b04190fa2: Download complete [2022-04-26T16:45:49.279Z] ec43610c2a17: Verifying Checksum [2022-04-26T16:45:49.279Z] ec43610c2a17: Download complete [2022-04-26T16:45:49.539Z] 5eb5b503b376: Verifying Checksum [2022-04-26T16:45:49.539Z] 5eb5b503b376: Download complete [2022-04-26T16:45:50.107Z] 2f39f015ded8: Download complete [2022-04-26T16:45:50.676Z] 5eb5b503b376: Pull complete [2022-04-26T16:45:50.935Z] 5c69ac0246d0: Pull complete [2022-04-26T16:45:51.194Z] ec43610c2a17: Pull complete [2022-04-26T16:45:51.194Z] 3a2ae6a8a46f: Pull complete [2022-04-26T16:45:51.454Z] 33b1e0a273af: Pull complete [2022-04-26T16:45:51.454Z] 5d3b04190fa2: Pull complete [2022-04-26T16:45:55.649Z] 2f39f015ded8: Pull complete [2022-04-26T16:45:55.649Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T16:45:55.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:45:55.650Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T16:45:55.718Z] prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container [2022-04-26T16:45:55.759Z] $ 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-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@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-26T16:45:57.970Z] $ docker top 482b84647257429ce1fce0e3c98bb17f79364c62304d47cb58894ef1a8ae40f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:45:58.389Z] ---> job-cost.sh [2022-04-26T16:45:58.390Z] lf-activate-venv: SKIPPING [2022-04-26T16:45:58.390Z] INFO: No Stack... [2022-04-26T16:45:58.649Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:45:59.218Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:45:59.517Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/cost.csv [2022-04-26T16:45:59.517Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T16:45:59.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [2022-04-26T16:45:59.539Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] did not exist. Created. [2022-04-26T16:45:59.539Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:45:59.852Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T16:45:59.886Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:45:59.892Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:45:59.918Z] $ docker stop --time=1 482b84647257429ce1fce0e3c98bb17f79364c62304d47cb58894ef1a8ae40f5 [2022-04-26T16:46:01.083Z] $ docker rm -f 482b84647257429ce1fce0e3c98bb17f79364c62304d47cb58894ef1a8ae40f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T17:34:51.878Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33011 in /w/workspace/gexfoundry_device-snmp-go_PR-158 [Pipeline] { [Pipeline] ws [2022-04-26T17:34:51.895Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2022-04-26T17:34:52.096Z] Selected Git installation does not exist. Using Default [2022-04-26T17:34:52.096Z] The recommended git tool is: NONE [2022-04-26T17:34:57.236Z] using credential edgex-jenkins-ssh [2022-04-26T17:34:57.256Z] Cloning the remote Git repository [2022-04-26T17:34:57.323Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-26T17:34:57.406Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2022-04-26T17:34:57.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-26T17:34:57.499Z] > git --version # timeout=10 [2022-04-26T17:34:57.519Z] > git --version # 'git version 2.25.1' [2022-04-26T17:34:57.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:34:57.644Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:34:59.306Z] Merging remotes/origin/main commit 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit f2992fd062ecc9844183aa8736bdca58e38a282d [2022-04-26T17:34:58.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-26T17:34:58.732Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:34:58.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-26T17:34:58.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-26T17:34:58.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:34:58.817Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T17:34:59.333Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:34:59.357Z] > git checkout -f f2992fd062ecc9844183aa8736bdca58e38a282d # timeout=10 [2022-04-26T17:34:59.449Z] > git remote # timeout=10 [2022-04-26T17:34:59.469Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T17:34:59.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:34:59.498Z] > git merge 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 [2022-04-26T17:34:59.534Z] Merge succeeded, producing f2992fd062ecc9844183aa8736bdca58e38a282d [2022-04-26T17:34:59.536Z] Checking out Revision f2992fd062ecc9844183aa8736bdca58e38a282d (PR-158) [2022-04-26T17:34:59.525Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T17:34:59.548Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:34:59.565Z] > git checkout -f f2992fd062ecc9844183aa8736bdca58e38a282d # timeout=10 [2022-04-26T17:35:03.832Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:35:04.783Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T17:35:04.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:35:04.783Z] Dload Upload Total Spent Left Speed [2022-04-26T17:35:04.783Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-04-26T17:35:05.321Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T17:35:05.677Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T17:35:05.677Z] sudo tee /etc/docker/daemon.new [2022-04-26T17:35:05.677Z] { [2022-04-26T17:35:05.677Z] "registry-mirrors": [ [2022-04-26T17:35:05.677Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T17:35:05.677Z] ], [2022-04-26T17:35:05.677Z] "bip": "10.250.0.254/24", [2022-04-26T17:35:05.677Z] "hosts": [ [2022-04-26T17:35:05.677Z] "tcp://0.0.0.0:5555", [2022-04-26T17:35:05.677Z] "unix:///var/run/docker.sock" [2022-04-26T17:35:05.677Z] ], [2022-04-26T17:35:05.677Z] "mtu": 1458, [2022-04-26T17:35:05.677Z] "selinux-enabled": true, [2022-04-26T17:35:05.677Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T17:35:05.677Z] } [Pipeline] sh [2022-04-26T17:35:06.030Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T17:35:06.378Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:35:24.748Z] provisioning config files... [2022-04-26T17:35:24.772Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config6292347305135484884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:35:25.133Z] ---> docker-login.sh [2022-04-26T17:35:25.133Z] nexus3.edgexfoundry.org:10001 [2022-04-26T17:35:25.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:26.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:26.011Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:26.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:26.011Z] [2022-04-26T17:35:26.011Z] Login Succeeded [2022-04-26T17:35:26.011Z] nexus3.edgexfoundry.org:10002 [2022-04-26T17:35:26.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:26.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:26.565Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:26.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:26.565Z] [2022-04-26T17:35:26.565Z] Login Succeeded [2022-04-26T17:35:26.565Z] nexus3.edgexfoundry.org:10003 [2022-04-26T17:35:26.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:27.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:27.124Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:27.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:27.124Z] [2022-04-26T17:35:27.124Z] Login Succeeded [2022-04-26T17:35:27.124Z] nexus3.edgexfoundry.org:10004 [2022-04-26T17:35:27.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:27.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:27.400Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:27.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:27.400Z] [2022-04-26T17:35:27.400Z] Login Succeeded [2022-04-26T17:35:27.400Z] docker.io [2022-04-26T17:35:27.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:28.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:28.276Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:28.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:28.276Z] [2022-04-26T17:35:28.276Z] Login Succeeded [2022-04-26T17:35:28.553Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T17:35:28.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T17:35:29.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T17:35:29.113Z] ========================================================= [2022-04-26T17:35:29.114Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T17:35:29.114Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:35:29.469Z] + 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-26T17:35:29.749Z] Sending build context to Docker daemon 2.741MB [2022-04-26T17:35:29.749Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:35:29.749Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T17:35:30.030Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T17:35:30.030Z] 9b3977197b4f: Pulling fs layer [2022-04-26T17:35:30.030Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T17:35:30.030Z] 94645a83ff95: Pulling fs layer [2022-04-26T17:35:30.030Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T17:35:30.030Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T17:35:30.030Z] 3096ccb668a1: Pulling fs layer [2022-04-26T17:35:30.030Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T17:35:30.030Z] a4caa8a26152: Pulling fs layer [2022-04-26T17:35:30.030Z] 3f3a8bcf1eab: Waiting [2022-04-26T17:35:30.030Z] 3096ccb668a1: Waiting [2022-04-26T17:35:30.030Z] 0c92f367c5e7: Waiting [2022-04-26T17:35:30.030Z] e8cf19c19ddd: Waiting [2022-04-26T17:35:30.030Z] 94645a83ff95: Download complete [2022-04-26T17:35:30.030Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T17:35:30.030Z] 1a89e8eeedd5: Download complete [2022-04-26T17:35:30.030Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T17:35:30.030Z] 0c92f367c5e7: Download complete [2022-04-26T17:35:30.030Z] 3096ccb668a1: Verifying Checksum [2022-04-26T17:35:30.030Z] 3096ccb668a1: Download complete [2022-04-26T17:35:30.030Z] 9b3977197b4f: Verifying Checksum [2022-04-26T17:35:30.030Z] 9b3977197b4f: Download complete [2022-04-26T17:35:30.030Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T17:35:30.030Z] e8cf19c19ddd: Download complete [2022-04-26T17:35:31.032Z] 9b3977197b4f: Pull complete [2022-04-26T17:35:31.639Z] 1a89e8eeedd5: Pull complete [2022-04-26T17:35:31.919Z] 94645a83ff95: Pull complete [2022-04-26T17:35:32.197Z] a4caa8a26152: Download complete [2022-04-26T17:35:32.798Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T17:35:32.798Z] 3f3a8bcf1eab: Download complete [2022-04-26T17:35:45.230Z] 3f3a8bcf1eab: Pull complete [2022-04-26T17:35:45.503Z] 0c92f367c5e7: Pull complete [2022-04-26T17:35:45.779Z] 3096ccb668a1: Pull complete [2022-04-26T17:35:46.053Z] e8cf19c19ddd: Pull complete [2022-04-26T17:35:52.786Z] a4caa8a26152: Pull complete [2022-04-26T17:35:52.786Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T17:35:52.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T17:35:52.786Z] ---> 725f1c02e7f9 [2022-04-26T17:35:52.786Z] Step 3/12 : ARG MAKE='make build' [2022-04-26T17:35:54.240Z] ---> Running in 9dfb6e8debb4 [2022-04-26T17:35:54.516Z] Removing intermediate container 9dfb6e8debb4 [2022-04-26T17:35:54.517Z] ---> 7cb5b7364944 [2022-04-26T17:35:54.517Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T17:35:54.517Z] ---> Running in 8f67719fbbc8 [2022-04-26T17:35:55.123Z] Removing intermediate container 8f67719fbbc8 [2022-04-26T17:35:55.123Z] ---> 4efc4045a764 [2022-04-26T17:35:55.123Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T17:35:55.123Z] ---> Running in 154b57570251 [2022-04-26T17:35:55.398Z] Removing intermediate container 154b57570251 [2022-04-26T17:35:55.398Z] ---> 7bd3baba1792 [2022-04-26T17:35:55.398Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:35:55.398Z] ---> Running in 74aa408919dc [2022-04-26T17:35:57.390Z] Removing intermediate container 74aa408919dc [2022-04-26T17:35:57.390Z] ---> 9bd38a2e4ef8 [2022-04-26T17:35:57.390Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T17:35:57.390Z] ---> Running in 603f6774c420 [2022-04-26T17:35:58.371Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:35:59.350Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:36:00.346Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T17:36:00.346Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T17:36:00.623Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T17:36:00.623Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T17:36:00.897Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T17:36:00.897Z] OK: 224 MiB in 56 packages [2022-04-26T17:36:01.886Z] Removing intermediate container 603f6774c420 [2022-04-26T17:36:01.886Z] ---> 9ec4fd7c2f59 [2022-04-26T17:36:01.886Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-26T17:36:01.886Z] ---> Running in b361afa2f1e2 [2022-04-26T17:36:02.163Z] Removing intermediate container b361afa2f1e2 [2022-04-26T17:36:02.163Z] ---> aee5d1bdab48 [2022-04-26T17:36:02.163Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-26T17:36:02.771Z] ---> 327a213bb346 [2022-04-26T17:36:02.771Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:36:02.771Z] ---> Running in 8023c3952b4d [2022-04-26T17:36:49.793Z] Removing intermediate container 8023c3952b4d [2022-04-26T17:36:49.793Z] ---> a259292d3388 [2022-04-26T17:36:49.793Z] Step 11/12 : COPY . . [2022-04-26T17:36:49.793Z] ---> fff813d946a8 [2022-04-26T17:36:49.793Z] Step 12/12 : RUN ${MAKE} [2022-04-26T17:36:49.793Z] ---> Running in 6cc856654f91 [2022-04-26T17:36:49.793Z] noop [2022-04-26T17:36:49.793Z] Removing intermediate container 6cc856654f91 [2022-04-26T17:36:49.793Z] ---> 33f1107b8fc8 [2022-04-26T17:36:49.793Z] Successfully built 33f1107b8fc8 [2022-04-26T17:36:49.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:36:50.137Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:36:50.137Z] . [Pipeline] withDockerContainer [2022-04-26T17:36:50.357Z] prd-ubuntu20.04-docker-arm64-4c-16g-33011 does not seem to be running inside a container [2022-04-26T17:36:50.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:36:51.720Z] $ docker top f837ee7d4448d7dc45a1cb4cabcd4d32cfc2d9e29e73ae751af766d17cea806e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:36:52.650Z] + go version [2022-04-26T17:36:52.650Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T17:36:52.681Z] $ docker stop --time=1 f837ee7d4448d7dc45a1cb4cabcd4d32cfc2d9e29e73ae751af766d17cea806e [2022-04-26T17:36:54.313Z] $ docker rm -f f837ee7d4448d7dc45a1cb4cabcd4d32cfc2d9e29e73ae751af766d17cea806e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:36:54.911Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:36:54.911Z] . [Pipeline] withDockerContainer [2022-04-26T17:36:55.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-33011 does not seem to be running inside a container [2022-04-26T17:36:55.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:36:56.495Z] $ docker top 03e8e5cf19ed760f20d4326eb0beeaa8e54048c75a6f343e9629ec10ef324557 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T17:36:57.403Z] + make test [2022-04-26T17:36:57.403Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T17:36:58.850Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-26T17:38:20.696Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-26T17:38:20.696Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2022-04-26T17:38:20.696Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T17:38:20.696Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T17:38:42.926Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T17:38:42.926Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T17:38:42.926Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T17:38:42.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T17:38:42.973Z] $ docker stop --time=1 03e8e5cf19ed760f20d4326eb0beeaa8e54048c75a6f343e9629ec10ef324557 [2022-04-26T17:38:44.805Z] $ docker rm -f 03e8e5cf19ed760f20d4326eb0beeaa8e54048c75a6f343e9629ec10ef324557 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T17:38:45.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T17:38:45.818Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T17:38:46.324Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:38:46.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T17:38:47.078Z] + ls -al . [2022-04-26T17:38:47.078Z] total 180 [2022-04-26T17:38:47.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:38 . [2022-04-26T17:38:47.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:34 .. [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 17:34 .dockerignore [2022-04-26T17:38:47.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:35 .git [2022-04-26T17:38:47.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 .github [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 17:34 .gitignore [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 17:34 .golangci.yml [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 17:34 Attribution.txt [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 17:34 CHANGELOG.md [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 17:34 Dockerfile [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 17:34 GOVERNANCE.md [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 17:34 Jenkinsfile [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 17:34 LICENSE [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 17:34 Makefile [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 17:34 OWNERS.md [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 17:34 README.md [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 16:44 VERSION [2022-04-26T17:38:47.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:34 bin [2022-04-26T17:38:47.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 cmd [2022-04-26T17:38:47.078Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 17:38 coverage.out [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 17:34 go.mod [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 54298 Apr 26 17:34 go.sum [2022-04-26T17:38:47.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 internal [2022-04-26T17:38:47.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 snap [2022-04-26T17:38:47.078Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 17:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:38:47.430Z] + 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=f2992fd062ecc9844183aa8736bdca58e38a282d --label arch=arm64 --label version=0.0.0 . [2022-04-26T17:38:47.704Z] Sending build context to Docker daemon 2.749MB [2022-04-26T17:38:47.704Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:38:47.704Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T17:38:47.704Z] ---> 33f1107b8fc8 [2022-04-26T17:38:47.704Z] Step 3/24 : ARG MAKE='make build' [2022-04-26T17:38:47.985Z] ---> Running in ed146ad1afe2 [2022-04-26T17:38:48.259Z] Removing intermediate container ed146ad1afe2 [2022-04-26T17:38:48.259Z] ---> 06a1aca70acf [2022-04-26T17:38:48.259Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T17:38:48.259Z] ---> Running in 66256db24a9e [2022-04-26T17:38:48.541Z] Removing intermediate container 66256db24a9e [2022-04-26T17:38:48.541Z] ---> 7cb9fd715327 [2022-04-26T17:38:48.541Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T17:38:48.817Z] ---> Running in c8d550b67417 [2022-04-26T17:38:49.095Z] Removing intermediate container c8d550b67417 [2022-04-26T17:38:49.095Z] ---> 5de5d72398fc [2022-04-26T17:38:49.095Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:38:49.095Z] ---> Running in 9a92ee36d9dd [2022-04-26T17:38:51.080Z] Removing intermediate container 9a92ee36d9dd [2022-04-26T17:38:51.080Z] ---> a716a0b827f9 [2022-04-26T17:38:51.080Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T17:38:51.080Z] ---> Running in 638362f17756 [2022-04-26T17:38:52.074Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:38:53.054Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:38:53.656Z] OK: 224 MiB in 56 packages [2022-04-26T17:38:54.635Z] Removing intermediate container 638362f17756 [2022-04-26T17:38:54.635Z] ---> 0d1fb1564ed8 [2022-04-26T17:38:54.635Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-26T17:38:54.635Z] ---> Running in b8d9a0585acf [2022-04-26T17:38:54.907Z] Removing intermediate container b8d9a0585acf [2022-04-26T17:38:54.907Z] ---> d1b13b63e879 [2022-04-26T17:38:54.907Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-26T17:38:55.504Z] ---> a6779116f6cf [2022-04-26T17:38:55.504Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:38:55.504Z] ---> Running in 2b9599ebe880 [2022-04-26T17:38:57.557Z] Removing intermediate container 2b9599ebe880 [2022-04-26T17:38:57.557Z] ---> 31475503ae34 [2022-04-26T17:38:57.557Z] Step 11/24 : COPY . . [2022-04-26T17:38:58.576Z] ---> 2909ca9d484d [2022-04-26T17:38:58.576Z] Step 12/24 : RUN ${MAKE} [2022-04-26T17:38:58.576Z] ---> Running in d22ddd9b9199 [2022-04-26T17:38:59.617Z] 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-26T17:41:06.520Z] Removing intermediate container d22ddd9b9199 [2022-04-26T17:41:06.520Z] ---> 2e8e8dac9378 [2022-04-26T17:41:06.520Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T17:41:06.520Z] 3.14: Pulling from library/alpine [2022-04-26T17:41:06.520Z] 455c02918c45: Pulling fs layer [2022-04-26T17:41:06.520Z] 455c02918c45: Verifying Checksum [2022-04-26T17:41:06.520Z] 455c02918c45: Download complete [2022-04-26T17:41:06.520Z] 455c02918c45: Pull complete [2022-04-26T17:41:06.520Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T17:41:06.520Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T17:41:06.520Z] ---> ac73e934f311 [2022-04-26T17:41:06.520Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T17:41:06.520Z] ---> Running in ba4ccb84c0d7 [2022-04-26T17:41:06.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:41:06.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:41:06.520Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T17:41:06.520Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T17:41:06.520Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T17:41:06.520Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T17:41:06.520Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T17:41:06.520Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T17:41:06.520Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T17:41:06.520Z] OK: 8 MiB in 20 packages [2022-04-26T17:41:06.520Z] Removing intermediate container ba4ccb84c0d7 [2022-04-26T17:41:06.520Z] ---> 32a79d8f30ac [2022-04-26T17:41:06.520Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-26T17:41:06.520Z] ---> 5e249948b1f0 [2022-04-26T17:41:06.520Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-26T17:41:06.520Z] ---> a01a9fa21d76 [2022-04-26T17:41:06.520Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-26T17:41:06.808Z] ---> 39a1ba51d953 [2022-04-26T17:41:06.808Z] Step 18/24 : EXPOSE 59993 [2022-04-26T17:41:07.085Z] ---> Running in 2372ad916617 [2022-04-26T17:41:07.363Z] Removing intermediate container 2372ad916617 [2022-04-26T17:41:07.363Z] ---> 0001ad9d21a7 [2022-04-26T17:41:07.363Z] Step 19/24 : EXPOSE 161 [2022-04-26T17:41:07.363Z] ---> Running in fd8e1b827aa0 [2022-04-26T17:41:07.642Z] Removing intermediate container fd8e1b827aa0 [2022-04-26T17:41:07.642Z] ---> 2e372bc56fd0 [2022-04-26T17:41:07.642Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-26T17:41:07.642Z] ---> Running in f9f97af6a7a4 [2022-04-26T17:41:08.242Z] Removing intermediate container f9f97af6a7a4 [2022-04-26T17:41:08.242Z] ---> 5c1245602ba2 [2022-04-26T17:41:08.242Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-26T17:41:08.242Z] ---> Running in 1dc63c538679 [2022-04-26T17:41:08.518Z] Removing intermediate container 1dc63c538679 [2022-04-26T17:41:08.518Z] ---> e281cb8b01e2 [2022-04-26T17:41:08.518Z] Step 22/24 : LABEL arch=arm64 [2022-04-26T17:41:08.518Z] ---> Running in 8f532ae1b2a4 [2022-04-26T17:41:08.799Z] Removing intermediate container 8f532ae1b2a4 [2022-04-26T17:41:08.799Z] ---> e87c46d2198b [2022-04-26T17:41:08.799Z] Step 23/24 : LABEL git_sha=f2992fd062ecc9844183aa8736bdca58e38a282d [2022-04-26T17:41:09.073Z] ---> Running in 1bc1e6079bf9 [2022-04-26T17:41:09.351Z] Removing intermediate container 1bc1e6079bf9 [2022-04-26T17:41:09.351Z] ---> ff96f3152fef [2022-04-26T17:41:09.351Z] Step 24/24 : LABEL version=0.0.0 [2022-04-26T17:41:09.351Z] ---> Running in ad989839213f [2022-04-26T17:41:09.624Z] Removing intermediate container ad989839213f [2022-04-26T17:41:09.624Z] ---> e8cd9fea9950 [2022-04-26T17:41:09.624Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T17:41:09.624Z] Successfully built e8cd9fea9950 [2022-04-26T17:41:09.624Z] 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-26T17:41:10.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:41:10.069Z] [2022-04-26T17:41:10.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:41:10.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:41:10.419Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T17:41:10.419Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T17:41:10.419Z] 04944245beec: Pulling fs layer [2022-04-26T17:41:10.419Z] 699f458cf7ca: Pulling fs layer [2022-04-26T17:41:10.419Z] 765212b225bb: Pulling fs layer [2022-04-26T17:41:10.419Z] f23df028b6ca: Pulling fs layer [2022-04-26T17:41:10.419Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T17:41:10.419Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T17:41:10.419Z] 765212b225bb: Waiting [2022-04-26T17:41:10.419Z] f23df028b6ca: Waiting [2022-04-26T17:41:10.419Z] d65c8cfc05b1: Waiting [2022-04-26T17:41:10.419Z] 2437ff75d9bd: Waiting [2022-04-26T17:41:10.694Z] 04944245beec: Verifying Checksum [2022-04-26T17:41:10.694Z] 04944245beec: Download complete [2022-04-26T17:41:10.694Z] 765212b225bb: Verifying Checksum [2022-04-26T17:41:10.694Z] 765212b225bb: Download complete [2022-04-26T17:41:10.694Z] f23df028b6ca: Verifying Checksum [2022-04-26T17:41:10.694Z] f23df028b6ca: Download complete [2022-04-26T17:41:10.694Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T17:41:10.694Z] d65c8cfc05b1: Download complete [2022-04-26T17:41:10.694Z] 699f458cf7ca: Verifying Checksum [2022-04-26T17:41:10.694Z] 699f458cf7ca: Download complete [2022-04-26T17:41:11.291Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T17:41:11.291Z] 8998bd30e6a1: Download complete [2022-04-26T17:41:13.934Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T17:41:13.934Z] 2437ff75d9bd: Download complete [2022-04-26T17:41:15.913Z] 8998bd30e6a1: Pull complete [2022-04-26T17:41:16.187Z] 04944245beec: Pull complete [2022-04-26T17:41:17.630Z] 699f458cf7ca: Pull complete [2022-04-26T17:41:17.905Z] 765212b225bb: Pull complete [2022-04-26T17:41:18.889Z] f23df028b6ca: Pull complete [2022-04-26T17:41:18.889Z] d65c8cfc05b1: Pull complete [2022-04-26T17:41:33.993Z] 2437ff75d9bd: Pull complete [2022-04-26T17:41:33.993Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T17:41:33.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:41:33.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T17:41:34.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-33011 does not seem to be running inside a container [2022-04-26T17:41:34.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T17:41:37.038Z] $ docker top 8a61b2be1a8dd417912e953de7262a39f9dce5becf1f2577882d683cb794fcaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:37.973Z] ---> job-cost.sh [2022-04-26T17:41:37.973Z] lf-activate-venv: SKIPPING [2022-04-26T17:41:37.973Z] INFO: No Stack... [2022-04-26T17:41:38.571Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T17:41:39.550Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T17:41:40.218Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2022-04-26T17:41:40.218Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T17:41:40.291Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [2022-04-26T17:41:40.297Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] did not exist. Created. [2022-04-26T17:41:40.297Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T17:41:40.980Z] /w/workspace/device-snmp-go/3@tmp/durable-e5cfae49/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T17:41:41.672Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T17:41:41.701Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T17:41:41.750Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T17:41:41.765Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T17:41:41.792Z] $ docker stop --time=1 8a61b2be1a8dd417912e953de7262a39f9dce5becf1f2577882d683cb794fcaa [2022-04-26T17:41:43.305Z] $ docker rm -f 8a61b2be1a8dd417912e953de7262a39f9dce5becf1f2577882d683cb794fcaa [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-26T17:41:43.769Z] provisioning config files... [2022-04-26T17:41:43.778Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config3747166979743331084tmp [Pipeline] { [Pipeline] sh [2022-04-26T17:41:44.074Z] + set +x [2022-04-26T17:41:44.074Z] + curl -s https://codecov.io/bash [2022-04-26T17:41:44.074Z] + bash -s -- [2022-04-26T17:41:44.074Z] [2022-04-26T17:41:44.074Z] _____ _ [2022-04-26T17:41:44.074Z] / ____| | | [2022-04-26T17:41:44.074Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T17:41:44.074Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T17:41:44.074Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T17:41:44.074Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T17:41:44.074Z] Bash-1.0.6 [2022-04-26T17:41:44.074Z] [2022-04-26T17:41:44.074Z] [2022-04-26T17:41:44.074Z] ==> git version 2.25.1 found [2022-04-26T17:41:44.075Z] ==> 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-26T17:41:44.075Z] Release-Date: 2020-01-08 [2022-04-26T17:41:44.075Z] 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-26T17:41:44.075Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T17:41:44.075Z] ==> Jenkins CI detected. [2022-04-26T17:41:44.075Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-158 [2022-04-26T17:41:44.075Z] project root: . [2022-04-26T17:41:44.075Z] --> token set from env [2022-04-26T17:41:44.075Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T17:41:44.075Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T17:41:44.075Z] ==> Python coveragepy not found [2022-04-26T17:41:44.075Z] ==> Searching for coverage reports in: [2022-04-26T17:41:44.075Z] + . [2022-04-26T17:41:44.075Z] -> Found 1 reports [2022-04-26T17:41:44.075Z] ==> Detecting git/mercurial file structure [2022-04-26T17:41:44.075Z] ==> Reading reports [2022-04-26T17:41:44.075Z] + ./coverage.out bytes=7631 [2022-04-26T17:41:44.075Z] ==> Appending adjustments [2022-04-26T17:41:44.075Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T17:41:44.335Z] + Found adjustments [2022-04-26T17:41:44.335Z] ==> Gzipping contents [2022-04-26T17:41:44.335Z] 4.0K /tmp/codecov.MuLuE0.gz [2022-04-26T17:41:44.335Z] ==> Uploading reports [2022-04-26T17:41:44.335Z] url: https://codecov.io [2022-04-26T17:41:44.335Z] query: branch=PR-158&commit=f2992fd062ecc9844183aa8736bdca58e38a282d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=158&job=&cmd_args= [2022-04-26T17:41:44.335Z] -> Pinging Codecov [2022-04-26T17:41:44.335Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-158&commit=f2992fd062ecc9844183aa8736bdca58e38a282d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=158&job=&cmd_args= [2022-04-26T17:41:44.596Z] -> Uploading to [2022-04-26T17:41:44.596Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/6C56EA5C29638FB4528AC87E60AF5AE0/f2992fd062ecc9844183aa8736bdca58e38a282d/1cb60308-cce5-44f9-9e2e-c36db4ac6851.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T174144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32c689c9272f0aecc63a3bbb3c5b7c5d0db643c269aafa3ae2bbd14733403ecd [2022-04-26T17:41:44.596Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:41:44.596Z] Dload Upload Total Spent Left Speed [2022-04-26T17:41:44.856Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7216 --:--:-- --:--:-- --:--:-- 7183 100 1602 0 0 100 1602 0 6357 --:--:-- --:--:-- --:--:-- 6332 [2022-04-26T17:41:44.856Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] } [2022-04-26T17:41:44.865Z] 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-26T17:41:45.573Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-158/archives ] [2022-04-26T17:41:45.573Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-158/archives [2022-04-26T17:41:45.573Z] total 16 [2022-04-26T17:41:45.573Z] drwxr-xr-x 3 root root 4096 Apr 26 16:45 . [2022-04-26T17:41:45.573Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:45 .. [2022-04-26T17:41:45.573Z] drwxr-xr-x 2 root root 4096 Apr 26 16:45 cost [2022-04-26T17:41:45.573Z] -rw-r--r-- 1 root root 85 Apr 26 16:45 cost.csv [2022-04-26T17:41:45.573Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-158/archives [2022-04-26T17:41:45.573Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-158/archives [2022-04-26T17:41:45.573Z] total 16 [2022-04-26T17:41:45.573Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 16:45 . [2022-04-26T17:41:45.573Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:45 .. [2022-04-26T17:41:45.573Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 16:45 cost [2022-04-26T17:41:45.573Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 26 16:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:45.868Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:46.739Z] ---> package-listing.sh [2022-04-26T17:41:46.739Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T17:41:46.739Z] ++ facter osfamily [2022-04-26T17:41:46.998Z] + OS_FAMILY=debian [2022-04-26T17:41:46.998Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-158 [2022-04-26T17:41:46.998Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T17:41:46.998Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T17:41:46.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T17:41:46.998Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T17:41:46.998Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-158 ']' [2022-04-26T17:41:46.998Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T17:41:46.998Z] + case "${OS_FAMILY}" in [2022-04-26T17:41:46.998Z] + dpkg -l [2022-04-26T17:41:46.998Z] + grep '^ii' [2022-04-26T17:41:46.998Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T17:41:46.998Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T17:41:46.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T17:41:46.998Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-158 ']' [2022-04-26T17:41:46.998Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/ [2022-04-26T17:41:46.998Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/ [Pipeline] echo [2022-04-26T17:41:47.010Z] 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-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T17:41:47.288Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:41:47.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:41:47.838Z] . [Pipeline] withDockerContainer [2022-04-26T17:41:47.902Z] prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container [2022-04-26T17:41:47.937Z] $ 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-158/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-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@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-26T17:41:48.181Z] $ docker top 7b8c9640206299d4af4c500d79796877337c5c0e4289a0f3d8d36915c9e2a6c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:41:48.535Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T17:41:48.831Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T17:41:49.118Z] + ls /var/log/sa-host [2022-04-26T17:41:49.118Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:41:49.202Z] provisioning config files... [2022-04-26T17:41:49.210Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config347285155029717371tmp [Pipeline] { [Pipeline] echo [2022-04-26T17:41:49.225Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:49.512Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T17:41:49.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:49.855Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T17:41:49.865Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:50.151Z] ---> sudo-logs.sh [2022-04-26T17:41:50.151Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T17:41:50.182Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:50.470Z] ---> job-cost.sh [2022-04-26T17:41:50.470Z] lf-activate-venv: SKIPPING [2022-04-26T17:41:50.470Z] DEBUG: total: 0.2199999988079071 [2022-04-26T17:41:50.470Z] INFO: Retrieving Stack Cost... [2022-04-26T17:41:50.730Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T17:41:51.301Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T17:41:51.315Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:51.601Z] ---> logs-deploy.sh [2022-04-26T17:41:51.601Z] lf-activate-venv: SKIPPING [2022-04-26T17:41:51.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-158/3 [2022-04-26T17:41:51.601Z] INFO: archiving workspace using pattern(s): [2022-04-26T17:41:52.539Z] Archives upload complete. [2022-04-26T17:41:52.539Z] INFO: archiving logs to Nexus