Pull request #147 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from a302b4bfc3d471904e25ec9a8ca14e6313248e95+f2700d797dde70a27600e51c0b144607fa1919f0 (dff99a9d180f4d355e57241babfb1c2e0f5a7581) 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-ssh10061869658417815580.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-ssh6793394478705407972.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-147/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-147/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18339676216014918502.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-147/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14904594674574160705.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4561909395732294640.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-147/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-147/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15370965451234794233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-10685 in /w/workspace/gexfoundry_device-snmp-go_PR-147 [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-147 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit a302b4bfc3d471904e25ec9a8ca14e6313248e95 Merge succeeded, producing a302b4bfc3d471904e25ec9a8ca14e6313248e95 Checking out Revision a302b4bfc3d471904e25ec9a8ca14e6313248e95 (PR-147) > 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/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # timeout=10 Commit message: "Merge branch 'main' into enable-gosec-lint2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-04T21:28:56.168Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T21:28:56.339Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T21:28:56.432Z] ========================================================= [2022-04-04T21:28:56.432Z] EdgeX Global Pipelines Version Info [2022-04-04T21:28:56.432Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:28:57.193Z] ------------------- [2022-04-04T21:28:57.194Z] stable info: [2022-04-04T21:28:57.194Z] ------------------- [2022-04-04T21:28:57.194Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T21:28:57.194Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T21:28:57.194Z] Message: update stable to v1.0.221 [2022-04-04T21:28:57.765Z] ------------------- [2022-04-04T21:28:57.765Z] experimental info: [2022-04-04T21:28:57.765Z] ------------------- [2022-04-04T21:28:57.765Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T21:28:57.765Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T21:28:57.765Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T21:28:58.004Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-04T21:28:58.046Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-04T21:28:58.083Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T21:28:58.129Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T21:28:58.170Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T21:28:58.209Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T21:28:58.251Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T21:28:58.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T21:28:58.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T21:28:58.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T21:28:58.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T21:28:58.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-04T21:28:58.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T21:28:58.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T21:28:58.650Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T21:28:58.685Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T21:28:58.725Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T21:28:58.759Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T21:28:58.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T21:28:58.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T21:28:58.876Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T21:28:58.922Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T21:28:58.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T21:28:58.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T21:28:59.032Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T21:28:59.070Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T21:28:59.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-147 [Pipeline] echo [2022-04-04T21:28:59.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-147 [Pipeline] echo [2022-04-04T21:28:59.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-147 [Pipeline] echo [2022-04-04T21:28:59.232Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo [2022-04-04T21:28:59.270Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a302b4b [Pipeline] echo [2022-04-04T21:28:59.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T21:28:59.426Z] provisioning config files... [2022-04-04T21:28:59.439Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config383648387987122520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:28:59.805Z] ---> docker-login.sh [2022-04-04T21:28:59.806Z] nexus3.edgexfoundry.org:10001 [2022-04-04T21:29:00.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:00.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:00.066Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:00.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:00.066Z] [2022-04-04T21:29:00.066Z] Login Succeeded [2022-04-04T21:29:00.066Z] nexus3.edgexfoundry.org:10002 [2022-04-04T21:29:00.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:00.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:00.325Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:00.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:00.325Z] [2022-04-04T21:29:00.326Z] Login Succeeded [2022-04-04T21:29:00.326Z] nexus3.edgexfoundry.org:10003 [2022-04-04T21:29:00.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:00.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:00.326Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:00.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:00.326Z] [2022-04-04T21:29:00.326Z] Login Succeeded [2022-04-04T21:29:00.326Z] nexus3.edgexfoundry.org:10004 [2022-04-04T21:29:00.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:00.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:00.586Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:00.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:00.586Z] [2022-04-04T21:29:00.586Z] Login Succeeded [2022-04-04T21:29:00.586Z] docker.io [2022-04-04T21:29:00.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:01.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:01.157Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:01.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:01.157Z] [2022-04-04T21:29:01.157Z] Login Succeeded [2022-04-04T21:29:01.157Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T21:29:01.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T21:29:01.820Z] + git rev-list -1 --merges a302b4bfc3d471904e25ec9a8ca14e6313248e95~1..a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo [2022-04-04T21:29:01.853Z] -----------> git rev-list -1 --merges a302b4bfc3d471904e25ec9a8ca14e6313248e95~1..a302b4bfc3d471904e25ec9a8ca14e6313248e95 a302b4bfc3d471904e25ec9a8ca14e6313248e95 [2022-04-04T21:29:01.853Z] a302b4bfc3d471904e25ec9a8ca14e6313248e95 [false] [Pipeline] sh [2022-04-04T21:29:02.168Z] + git log --format=format:%s -1 a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo [2022-04-04T21:29:02.213Z] ========================================================= [2022-04-04T21:29:02.213Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T21:29:02.213Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T21:29:02.659Z] + git log --format=format:%s -1 a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo [2022-04-04T21:29:02.691Z] [semverPrep] GIT_COMMIT: a302b4bfc3d471904e25ec9a8ca14e6313248e95, Commit Message: Merge branch 'main' into enable-gosec-lint2 [Pipeline] echo [2022-04-04T21:29:02.721Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T21:29:03.169Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T21:29:03.169Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T21:29:03.169Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T21:29:03.169Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T21:29:03.169Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T21:29:03.169Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T21:29:03.169Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:29:03.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T21:29:03.611Z] [2022-04-04T21:29:03.611Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:29:03.953Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T21:29:03.954Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T21:29:03.954Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T21:29:03.954Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T21:29:03.954Z] 4c7163046ea9: Pulling fs layer [2022-04-04T21:29:03.954Z] 0c2d73faf560: Pulling fs layer [2022-04-04T21:29:03.954Z] 0c2d73faf560: Waiting [2022-04-04T21:29:03.954Z] 3e5f54012d9b: Download complete [2022-04-04T21:29:03.954Z] a0d0a0d46f8b: Verifying Checksum [2022-04-04T21:29:03.954Z] a0d0a0d46f8b: Download complete [2022-04-04T21:29:03.954Z] 0c2d73faf560: Verifying Checksum [2022-04-04T21:29:03.954Z] 0c2d73faf560: Download complete [2022-04-04T21:29:03.954Z] 4c7163046ea9: Verifying Checksum [2022-04-04T21:29:03.954Z] 4c7163046ea9: Download complete [2022-04-04T21:29:04.213Z] a0d0a0d46f8b: Pull complete [2022-04-04T21:29:04.213Z] 3e5f54012d9b: Pull complete [2022-04-04T21:29:04.473Z] 4c7163046ea9: Pull complete [2022-04-04T21:29:04.733Z] 0c2d73faf560: Pull complete [2022-04-04T21:29:04.733Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T21:29:04.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T21:29:04.733Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T21:29:04.851Z] prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container [2022-04-04T21:29:04.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-04T21:29:05.500Z] $ docker top 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T21:29:05.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T21:29:05.692Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T21:29:05.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T21:29:05.812Z] $ docker exec 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent [2022-04-04T21:29:05.951Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkLOeBh/agent.13 [2022-04-04T21:29:05.951Z] SSH_AGENT_PID=19 [2022-04-04T21:29:05.959Z] Running ssh-add (command line suppressed) [2022-04-04T21:29:06.056Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_7078919767035512414.key (/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_7078919767035512414.key) [2022-04-04T21:29:06.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T21:29:06.413Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T21:29:06.433Z] $ docker exec --env ******** --env ******** 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent -k [2022-04-04T21:29:06.534Z] unset SSH_AUTH_SOCK; [2022-04-04T21:29:06.535Z] unset SSH_AGENT_PID; [2022-04-04T21:29:06.535Z] echo Agent pid 19 killed; [2022-04-04T21:29:06.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T21:29:06.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T21:29:06.628Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T21:29:06.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T21:29:06.741Z] $ docker exec 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent [2022-04-04T21:29:06.860Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXelEAFD/agent.52 [2022-04-04T21:29:06.860Z] SSH_AGENT_PID=58 [2022-04-04T21:29:06.866Z] Running ssh-add (command line suppressed) [2022-04-04T21:29:06.974Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_356573504212197112.key (/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_356573504212197112.key) [2022-04-04T21:29:07.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T21:29:07.374Z] + git semver init [2022-04-04T21:29:07.374Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T21:29:07.374Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-147/.git [2022-04-04T21:29:07.374Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-147 [2022-04-04T21:29:07.374Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T21:29:07.374Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T21:29:07.374Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T21:29:07.374Z] # $SEMVER_BRANCH = PR-147 [2022-04-04T21:29:07.374Z] # $SEMVER_TEMP = /tmp/semver-806378729 [2022-04-04T21:29:07.374Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-04T21:29:08.317Z] # '/tmp/semver-806378729' -> '/w/workspace/gexfoundry_device-snmp-go_PR-147/.semver' [2022-04-04T21:29:08.317Z] # -> Force: false [2022-04-04T21:29:08.317Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-147/.semver [Pipeline] } [2022-04-04T21:29:08.338Z] $ docker exec --env ******** --env ******** 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent -k [2022-04-04T21:29:08.437Z] unset SSH_AUTH_SOCK; [2022-04-04T21:29:08.437Z] unset SSH_AGENT_PID; [2022-04-04T21:29:08.437Z] echo Agent pid 58 killed; [2022-04-04T21:29:08.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T21:29:08.894Z] + git semver [Pipeline] } [2022-04-04T21:29:08.916Z] $ docker stop --time=1 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d [2022-04-04T21:29:10.298Z] $ docker rm -f 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T21:29:10.717Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T21:29:11.034Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T21:29:11.052Z] [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] { [2022-04-04T21:29:11.632Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10689 in /w/workspace/gexfoundry_device-snmp-go_PR-147 [Pipeline] configFileProvider [2022-04-04T21:29:11.643Z] provisioning config files... [2022-04-04T21:29:11.658Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config4785205955202838948tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-04-04T21:29:11.838Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-04T21:29:11.908Z] Selected Git installation does not exist. Using Default [2022-04-04T21:29:11.909Z] The recommended git tool is: NONE [2022-04-04T21:29:12.024Z] ---> docker-login.sh [2022-04-04T21:29:12.024Z] nexus3.edgexfoundry.org:10001 [2022-04-04T21:29:12.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:12.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:12.024Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:12.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:12.024Z] [2022-04-04T21:29:12.024Z] Login Succeeded [2022-04-04T21:29:12.024Z] nexus3.edgexfoundry.org:10002 [2022-04-04T21:29:12.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:12.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:12.024Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:12.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:12.024Z] [2022-04-04T21:29:12.024Z] Login Succeeded [2022-04-04T21:29:12.024Z] nexus3.edgexfoundry.org:10003 [2022-04-04T21:29:12.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:12.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:12.282Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:12.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:12.282Z] [2022-04-04T21:29:12.282Z] Login Succeeded [2022-04-04T21:29:12.282Z] nexus3.edgexfoundry.org:10004 [2022-04-04T21:29:12.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:12.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:12.282Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:12.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:12.282Z] [2022-04-04T21:29:12.282Z] Login Succeeded [2022-04-04T21:29:12.282Z] docker.io [2022-04-04T21:29:12.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:12.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:12.803Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:12.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:12.803Z] [2022-04-04T21:29:12.803Z] Login Succeeded [2022-04-04T21:29:12.803Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T21:29:12.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T21:29:13.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T21:29:13.115Z] ========================================================= [2022-04-04T21:29:13.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T21:29:13.115Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:29:13.521Z] + 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-04T21:29:13.521Z] Sending build context to Docker daemon 5.226MB [2022-04-04T21:29:13.521Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T21:29:13.521Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T21:29:13.521Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T21:29:13.521Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T21:29:13.521Z] 666ba61612fd: Pulling fs layer [2022-04-04T21:29:13.521Z] 8ed8ca486205: Pulling fs layer [2022-04-04T21:29:13.521Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T21:29:13.521Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T21:29:13.521Z] 640e595b4fbd: Pulling fs layer [2022-04-04T21:29:13.521Z] 763cafe07f6e: Pulling fs layer [2022-04-04T21:29:13.521Z] 0c0b528cf693: Pulling fs layer [2022-04-04T21:29:13.521Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T21:29:13.521Z] 640e595b4fbd: Waiting [2022-04-04T21:29:13.521Z] 763cafe07f6e: Waiting [2022-04-04T21:29:13.521Z] 0c0b528cf693: Waiting [2022-04-04T21:29:13.521Z] 4fe6c5a15a65: Waiting [2022-04-04T21:29:13.521Z] 22a0e8bec74d: Waiting [2022-04-04T21:29:13.521Z] 10935f4eaf8b: Waiting [2022-04-04T21:29:13.521Z] 8ed8ca486205: Verifying Checksum [2022-04-04T21:29:13.521Z] 8ed8ca486205: Download complete [2022-04-04T21:29:13.521Z] 666ba61612fd: Download complete [2022-04-04T21:29:13.521Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T21:29:13.521Z] 22a0e8bec74d: Download complete [2022-04-04T21:29:13.521Z] 640e595b4fbd: Verifying Checksum [2022-04-04T21:29:13.521Z] 640e595b4fbd: Download complete [2022-04-04T21:29:13.781Z] 763cafe07f6e: Verifying Checksum [2022-04-04T21:29:13.781Z] 763cafe07f6e: Download complete [2022-04-04T21:29:13.781Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T21:29:13.781Z] 59bf1c3509f3: Download complete [2022-04-04T21:29:13.781Z] 0c0b528cf693: Verifying Checksum [2022-04-04T21:29:13.781Z] 0c0b528cf693: Download complete [2022-04-04T21:29:13.781Z] 59bf1c3509f3: Pull complete [2022-04-04T21:29:14.047Z] 666ba61612fd: Pull complete [2022-04-04T21:29:14.048Z] 8ed8ca486205: Pull complete [2022-04-04T21:29:14.309Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T21:29:14.309Z] 10935f4eaf8b: Download complete [2022-04-04T21:29:14.309Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T21:29:14.309Z] 4fe6c5a15a65: Download complete [2022-04-04T21:29:16.123Z] using credential edgex-jenkins-ssh [2022-04-04T21:29:16.149Z] Cloning the remote Git repository [2022-04-04T21:29:16.200Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-04T21:29:16.263Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-04T21:29:16.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-04T21:29:16.340Z] > git --version # timeout=10 [2022-04-04T21:29:16.357Z] > git --version # 'git version 2.25.1' [2022-04-04T21:29:16.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T21:29:16.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T21:29:17.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-04T21:29:17.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T21:29:17.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-04T21:29:17.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-04T21:29:17.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T21:29:17.469Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T21:29:18.017Z] Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit a302b4bfc3d471904e25ec9a8ca14e6313248e95 [2022-04-04T21:29:18.210Z] Merge succeeded, producing a302b4bfc3d471904e25ec9a8ca14e6313248e95 [2022-04-04T21:29:18.210Z] Checking out Revision a302b4bfc3d471904e25ec9a8ca14e6313248e95 (PR-147) [2022-04-04T21:29:18.501Z] 4fe6c5a15a65: Pull complete [2022-04-04T21:29:18.501Z] 22a0e8bec74d: Pull complete [2022-04-04T21:29:18.501Z] 640e595b4fbd: Pull complete [2022-04-04T21:29:18.501Z] 763cafe07f6e: Pull complete [2022-04-04T21:29:18.501Z] 0c0b528cf693: Pull complete [2022-04-04T21:29:18.036Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T21:29:18.053Z] > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # timeout=10 [2022-04-04T21:29:18.130Z] > git remote # timeout=10 [2022-04-04T21:29:18.145Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T21:29:18.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T21:29:18.173Z] > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [2022-04-04T21:29:18.197Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T21:29:18.219Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T21:29:18.234Z] > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # timeout=10 [2022-04-04T21:29:20.416Z] 10935f4eaf8b: Pull complete [2022-04-04T21:29:20.416Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T21:29:20.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T21:29:20.416Z] ---> 99d49a6021b9 [2022-04-04T21:29:20.416Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T21:29:21.357Z] ---> Running in 034963f87da4 [2022-04-04T21:29:21.618Z] Removing intermediate container 034963f87da4 [2022-04-04T21:29:21.618Z] ---> b6e030ad9655 [2022-04-04T21:29:21.618Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T21:29:21.618Z] ---> Running in 7f8a8b64417e [2022-04-04T21:29:21.618Z] Removing intermediate container 7f8a8b64417e [2022-04-04T21:29:21.618Z] ---> af25e72e4bbe [2022-04-04T21:29:21.618Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T21:29:21.618Z] ---> Running in 07c9e75d7f4d [2022-04-04T21:29:21.618Z] Removing intermediate container 07c9e75d7f4d [2022-04-04T21:29:21.618Z] ---> dc107a6f974d [2022-04-04T21:29:21.618Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T21:29:21.878Z] ---> Running in 7266a428e9fe [2022-04-04T21:29:22.451Z] Removing intermediate container 7266a428e9fe [2022-04-04T21:29:22.451Z] ---> ee9a18e311a9 [2022-04-04T21:29:22.451Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T21:29:22.451Z] ---> Running in fc7f9031c1ff [2022-04-04T21:29:22.653Z] Commit message: "Merge branch 'main' into enable-gosec-lint2" [2022-04-04T21:29:22.711Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T21:29:22.710Z] > git --version # timeout=10 [2022-04-04T21:29:22.720Z] > git --version # 'git version 2.25.1' [2022-04-04T21:29:22.733Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T21:29:23.654Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T21:29:23.781Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T21:29:23.781Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T21:29:23.781Z] Dload Upload Total Spent Left Speed [2022-04-04T21:29:23.781Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48536 0 --:--:-- --:--:-- --:--:-- 48536 [2022-04-04T21:29:23.915Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T21:29:23.916Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T21:29:23.916Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [Pipeline] sh [2022-04-04T21:29:24.176Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T21:29:24.176Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T21:29:24.176Z] OK: 224 MiB in 56 packages [2022-04-04T21:29:24.336Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T21:29:24.697Z] + sudo tee /etc/docker/daemon.new [2022-04-04T21:29:24.697Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-04T21:29:24.697Z] { [2022-04-04T21:29:24.697Z] "registry-mirrors": [ [2022-04-04T21:29:24.697Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T21:29:24.697Z] ], [2022-04-04T21:29:24.697Z] "bip": "10.250.0.254/24", [2022-04-04T21:29:24.697Z] "hosts": [ [2022-04-04T21:29:24.697Z] "tcp://0.0.0.0:5555", [2022-04-04T21:29:24.697Z] "unix:///var/run/docker.sock" [2022-04-04T21:29:24.697Z] ], [2022-04-04T21:29:24.697Z] "mtu": 1458, [2022-04-04T21:29:24.697Z] "selinux-enabled": true, [2022-04-04T21:29:24.697Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T21:29:24.697Z] } [Pipeline] sh [2022-04-04T21:29:24.761Z] Removing intermediate container fc7f9031c1ff [2022-04-04T21:29:24.761Z] ---> 3840f7f34588 [2022-04-04T21:29:24.761Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-04T21:29:24.761Z] ---> Running in 958be900fe0b [2022-04-04T21:29:24.761Z] Removing intermediate container 958be900fe0b [2022-04-04T21:29:24.761Z] ---> 08b1974e5868 [2022-04-04T21:29:24.761Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T21:29:25.022Z] ---> 3cdca3497b07 [2022-04-04T21:29:25.022Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T21:29:25.022Z] ---> Running in f8e2532f68b0 [2022-04-04T21:29:25.050Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T21:29:25.431Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T21:29:43.826Z] provisioning config files... [2022-04-04T21:29:43.854Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5002298550506149161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:29:44.271Z] ---> docker-login.sh [2022-04-04T21:29:44.271Z] nexus3.edgexfoundry.org:10001 [2022-04-04T21:29:44.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:45.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:45.147Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:45.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:45.147Z] [2022-04-04T21:29:45.147Z] Login Succeeded [2022-04-04T21:29:45.147Z] nexus3.edgexfoundry.org:10002 [2022-04-04T21:29:45.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:45.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:45.424Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:45.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:45.424Z] [2022-04-04T21:29:45.424Z] Login Succeeded [2022-04-04T21:29:45.424Z] nexus3.edgexfoundry.org:10003 [2022-04-04T21:29:46.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:46.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:46.030Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:46.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:46.030Z] [2022-04-04T21:29:46.030Z] Login Succeeded [2022-04-04T21:29:46.030Z] nexus3.edgexfoundry.org:10004 [2022-04-04T21:29:46.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:46.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:46.582Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:46.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:46.582Z] [2022-04-04T21:29:46.582Z] Login Succeeded [2022-04-04T21:29:46.582Z] docker.io [2022-04-04T21:29:46.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T21:29:46.990Z] Removing intermediate container f8e2532f68b0 [2022-04-04T21:29:46.990Z] ---> b0c576fb08ee [2022-04-04T21:29:46.990Z] Step 11/12 : COPY . . [2022-04-04T21:29:46.990Z] ---> 43c5a4ba2db0 [2022-04-04T21:29:46.990Z] Step 12/12 : RUN ${MAKE} [2022-04-04T21:29:46.990Z] ---> Running in 2a7616088e7c [2022-04-04T21:29:47.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T21:29:47.130Z] Configure a credential helper to remove this warning. See [2022-04-04T21:29:47.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T21:29:47.130Z] [2022-04-04T21:29:47.130Z] Login Succeeded [2022-04-04T21:29:47.130Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T21:29:47.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-04T21:29:47.250Z] noop [Pipeline] // withEnv [Pipeline] unstash [2022-04-04T21:29:47.509Z] Removing intermediate container 2a7616088e7c [2022-04-04T21:29:47.509Z] ---> 11fcb708a703 [2022-04-04T21:29:47.509Z] Successfully built 11fcb708a703 [2022-04-04T21:29:47.509Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2022-04-04T21:29:47.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T21:29:47.670Z] ========================================================= [2022-04-04T21:29:47.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T21:29:47.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:29:47.842Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T21:29:47.842Z] . [Pipeline] withDockerContainer [2022-04-04T21:29:48.000Z] prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container [2022-04-04T21:29:48.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-04T21:29:48.146Z] + 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-04T21:29:48.411Z] $ docker top c8ab84fd7e5b0d2705dc3856920c6bf96f8fde0dbe1134476237241df4ed8c87 -eo pid,comm [2022-04-04T21:29:48.434Z] Sending build context to Docker daemon 2.734MB [2022-04-04T21:29:48.434Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T21:29:48.434Z] Step 2/12 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] sh [2022-04-04T21:29:48.711Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T21:29:48.711Z] 9b3977197b4f: Pulling fs layer [2022-04-04T21:29:48.711Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T21:29:48.711Z] 94645a83ff95: Pulling fs layer [2022-04-04T21:29:48.711Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T21:29:48.711Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T21:29:48.711Z] f7c0051592d6: Pulling fs layer [2022-04-04T21:29:48.711Z] a227ed2f7395: Pulling fs layer [2022-04-04T21:29:48.711Z] 7b1c46037f91: Pulling fs layer [2022-04-04T21:29:48.711Z] f7c0051592d6: Waiting [2022-04-04T21:29:48.711Z] a227ed2f7395: Waiting [2022-04-04T21:29:48.711Z] 7b1c46037f91: Waiting [2022-04-04T21:29:48.711Z] 3f3a8bcf1eab: Waiting [2022-04-04T21:29:48.711Z] 0c92f367c5e7: Waiting [2022-04-04T21:29:48.711Z] 94645a83ff95: Verifying Checksum [2022-04-04T21:29:48.711Z] 94645a83ff95: Download complete [2022-04-04T21:29:48.711Z] 1a89e8eeedd5: Verifying Checksum [2022-04-04T21:29:48.711Z] 1a89e8eeedd5: Download complete [2022-04-04T21:29:48.711Z] 0c92f367c5e7: Verifying Checksum [2022-04-04T21:29:48.711Z] 0c92f367c5e7: Download complete [2022-04-04T21:29:48.711Z] f7c0051592d6: Verifying Checksum [2022-04-04T21:29:48.711Z] f7c0051592d6: Download complete [2022-04-04T21:29:48.711Z] 9b3977197b4f: Download complete [2022-04-04T21:29:48.711Z] a227ed2f7395: Verifying Checksum [2022-04-04T21:29:48.711Z] a227ed2f7395: Download complete [2022-04-04T21:29:48.874Z] + go version [2022-04-04T21:29:48.874Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T21:29:48.900Z] $ docker stop --time=1 c8ab84fd7e5b0d2705dc3856920c6bf96f8fde0dbe1134476237241df4ed8c87 [2022-04-04T21:29:49.703Z] 9b3977197b4f: Pull complete [2022-04-04T21:29:49.979Z] 1a89e8eeedd5: Pull complete [2022-04-04T21:29:50.197Z] $ docker rm -f c8ab84fd7e5b0d2705dc3856920c6bf96f8fde0dbe1134476237241df4ed8c87 [2022-04-04T21:29:50.256Z] 94645a83ff95: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:29:50.856Z] 7b1c46037f91: Verifying Checksum [2022-04-04T21:29:50.856Z] 7b1c46037f91: Download complete [2022-04-04T21:29:50.907Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T21:29:50.907Z] . [Pipeline] withDockerContainer [2022-04-04T21:29:51.002Z] prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container [2022-04-04T21:29:51.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-04T21:29:51.412Z] $ docker top d497d38053e108e8751d523230957b642e123b0b7f0cd5eb20fc4caa7a44b500 -eo pid,comm [2022-04-04T21:29:51.454Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T21:29:51.454Z] 3f3a8bcf1eab: Download complete [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T21:29:51.881Z] + make test [2022-04-04T21:29:51.881Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T21:29:52.143Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-04T21:29:58.717Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-04T21:29:58.717Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-04-04T21:30:02.922Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T21:30:03.884Z] 3f3a8bcf1eab: Pull complete [2022-04-04T21:30:03.884Z] 0c92f367c5e7: Pull complete [2022-04-04T21:30:03.884Z] f7c0051592d6: Pull complete [2022-04-04T21:30:04.161Z] a227ed2f7395: Pull complete [2022-04-04T21:30:05.475Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T21:30:05.475Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T21:30:05.475Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T21:30:05.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T21:30:05.795Z] $ docker stop --time=1 d497d38053e108e8751d523230957b642e123b0b7f0cd5eb20fc4caa7a44b500 [2022-04-04T21:30:07.408Z] $ docker rm -f d497d38053e108e8751d523230957b642e123b0b7f0cd5eb20fc4caa7a44b500 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T21:30:07.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T21:30:07.969Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-04T21:30:09.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T21:30:09.583Z] + ls -al . [2022-04-04T21:30:09.583Z] total 180 [2022-04-04T21:30:09.583Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 21:30 . [2022-04-04T21:30:09.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 21:28 .. [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 4 21:28 .dockerignore [2022-04-04T21:30:09.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 21:28 .git [2022-04-04T21:30:09.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:28 .github [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 4 21:28 .gitignore [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 21:28 .golangci.yml [2022-04-04T21:30:09.583Z] drwx------ 3 jenkins jenkins 4096 Apr 4 21:29 .semver [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 6926 Apr 4 21:28 Attribution.txt [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 4 21:28 CHANGELOG.md [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 4 21:28 Dockerfile [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 21:28 GOVERNANCE.md [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 4 21:28 Jenkinsfile [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 21:28 LICENSE [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 4 21:28 Makefile [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 21:28 OWNERS.md [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 4 21:28 README.md [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 21:29 VERSION [2022-04-04T21:30:09.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:28 bin [2022-04-04T21:30:09.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:28 cmd [2022-04-04T21:30:09.583Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 4 21:29 coverage.out [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 2820 Apr 4 21:28 go.mod [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 49501 Apr 4 21:28 go.sum [2022-04-04T21:30:09.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:28 internal [2022-04-04T21:30:09.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:28 snap [2022-04-04T21:30:09.583Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 21:28 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:30:09.914Z] + 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=a302b4bfc3d471904e25ec9a8ca14e6313248e95 --label arch=amd64 --label version=0.0.0 . [2022-04-04T21:30:09.914Z] Sending build context to Docker daemon 5.235MB [2022-04-04T21:30:09.914Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T21:30:09.914Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-04T21:30:09.914Z] ---> 11fcb708a703 [2022-04-04T21:30:09.914Z] Step 3/24 : ARG MAKE='make build' [2022-04-04T21:30:09.914Z] ---> Running in 5742b69708bf [2022-04-04T21:30:10.174Z] Removing intermediate container 5742b69708bf [2022-04-04T21:30:10.174Z] ---> e0e63059de82 [2022-04-04T21:30:10.174Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T21:30:10.174Z] ---> Running in 959cbf9d515e [2022-04-04T21:30:10.175Z] Removing intermediate container 959cbf9d515e [2022-04-04T21:30:10.175Z] ---> bd823a07f947 [2022-04-04T21:30:10.175Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T21:30:10.175Z] ---> Running in c677a0bbac00 [2022-04-04T21:30:10.175Z] Removing intermediate container c677a0bbac00 [2022-04-04T21:30:10.175Z] ---> 25b805b10a1d [2022-04-04T21:30:10.175Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T21:30:10.438Z] ---> Running in 6320c3658fdd [2022-04-04T21:30:10.936Z] 7b1c46037f91: Pull complete [2022-04-04T21:30:10.936Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T21:30:10.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T21:30:10.936Z] ---> f79e39bc4007 [2022-04-04T21:30:10.936Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T21:30:11.008Z] Removing intermediate container 6320c3658fdd [2022-04-04T21:30:11.008Z] ---> 165684ecb4ad [2022-04-04T21:30:11.008Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T21:30:11.008Z] ---> Running in 978a0babb0a3 [2022-04-04T21:30:11.269Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T21:30:11.542Z] ---> Running in 357a235dbe26 [2022-04-04T21:30:11.819Z] Removing intermediate container 357a235dbe26 [2022-04-04T21:30:11.819Z] ---> 405e7b6fa394 [2022-04-04T21:30:11.819Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T21:30:12.094Z] ---> Running in 4b2f6d3497e3 [2022-04-04T21:30:12.210Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T21:30:12.210Z] OK: 224 MiB in 56 packages [2022-04-04T21:30:12.367Z] Removing intermediate container 4b2f6d3497e3 [2022-04-04T21:30:12.367Z] ---> 1f1dabd593dc [2022-04-04T21:30:12.367Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T21:30:12.367Z] ---> Running in e226ccfb267f [2022-04-04T21:30:12.649Z] Removing intermediate container e226ccfb267f [2022-04-04T21:30:12.649Z] ---> 9d2ac21316c9 [2022-04-04T21:30:12.649Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T21:30:12.649Z] ---> Running in aaddbeba8d27 [2022-04-04T21:30:12.782Z] Removing intermediate container 978a0babb0a3 [2022-04-04T21:30:12.782Z] ---> 19127765d9b2 [2022-04-04T21:30:12.782Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-04T21:30:12.782Z] ---> Running in 6116133154b5 [2022-04-04T21:30:12.782Z] Removing intermediate container 6116133154b5 [2022-04-04T21:30:12.782Z] ---> ce93c23dcb93 [2022-04-04T21:30:12.782Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-04T21:30:13.043Z] ---> e1197853a18a [2022-04-04T21:30:13.043Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T21:30:13.043Z] ---> Running in 7da6858a896e [2022-04-04T21:30:13.615Z] Removing intermediate container 7da6858a896e [2022-04-04T21:30:13.615Z] ---> 2b4f7cc4cba6 [2022-04-04T21:30:13.615Z] Step 11/24 : COPY . . [2022-04-04T21:30:13.874Z] ---> 9a8a4406fd04 [2022-04-04T21:30:13.874Z] Step 12/24 : RUN ${MAKE} [2022-04-04T21:30:13.874Z] ---> Running in 7e0299044d3f [2022-04-04T21:30:14.134Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2022-04-04T21:30:14.638Z] Removing intermediate container aaddbeba8d27 [2022-04-04T21:30:14.639Z] ---> 1a1b7e3c8ef7 [2022-04-04T21:30:14.639Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T21:30:14.639Z] ---> Running in c3c9f90c86ca [2022-04-04T21:30:15.625Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T21:30:16.220Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T21:30:17.204Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T21:30:17.204Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T21:30:17.204Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T21:30:17.477Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T21:30:17.751Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T21:30:17.751Z] OK: 224 MiB in 56 packages [2022-04-04T21:30:18.738Z] Removing intermediate container c3c9f90c86ca [2022-04-04T21:30:18.738Z] ---> fc144101ca18 [2022-04-04T21:30:18.738Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-04T21:30:18.738Z] ---> Running in 59d6f8912bb9 [2022-04-04T21:30:19.020Z] Removing intermediate container 59d6f8912bb9 [2022-04-04T21:30:19.020Z] ---> 9332ffd2e490 [2022-04-04T21:30:19.020Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T21:30:19.616Z] ---> 91a3b31a7f4c [2022-04-04T21:30:19.616Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T21:30:19.616Z] ---> Running in f54a31813ee8 [2022-04-04T21:30:22.261Z] Removing intermediate container 7e0299044d3f [2022-04-04T21:30:22.262Z] ---> 42f97545e902 [2022-04-04T21:30:22.262Z] Step 13/24 : FROM alpine:3.14 [2022-04-04T21:30:22.262Z] 3.14: Pulling from library/alpine [2022-04-04T21:30:22.262Z] cfab2db72209: Pulling fs layer [2022-04-04T21:30:22.262Z] cfab2db72209: Verifying Checksum [2022-04-04T21:30:22.262Z] cfab2db72209: Download complete [2022-04-04T21:30:22.262Z] cfab2db72209: Pull complete [2022-04-04T21:30:22.262Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T21:30:22.262Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T21:30:22.262Z] ---> 84b07dd2d1fd [2022-04-04T21:30:22.262Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T21:30:22.262Z] ---> Running in c1cfd57c38f1 [2022-04-04T21:30:22.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-04T21:30:22.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-04T21:30:22.782Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T21:30:22.782Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T21:30:22.782Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T21:30:22.782Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T21:30:22.782Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T21:30:22.782Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T21:30:22.782Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T21:30:22.782Z] OK: 8 MiB in 20 packages [2022-04-04T21:30:23.352Z] Removing intermediate container c1cfd57c38f1 [2022-04-04T21:30:23.352Z] ---> c60381a1f4e3 [2022-04-04T21:30:23.352Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-04T21:30:23.611Z] ---> c7a065d2843f [2022-04-04T21:30:23.611Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-04T21:30:23.611Z] ---> 350fad1fa675 [2022-04-04T21:30:23.611Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-04T21:30:23.871Z] ---> d655dc2ca730 [2022-04-04T21:30:23.871Z] Step 18/24 : EXPOSE 59993 [2022-04-04T21:30:23.871Z] ---> Running in c67d7d478124 [2022-04-04T21:30:23.871Z] Removing intermediate container c67d7d478124 [2022-04-04T21:30:23.871Z] ---> a010a2c10256 [2022-04-04T21:30:23.871Z] Step 19/24 : EXPOSE 161 [2022-04-04T21:30:23.871Z] ---> Running in 81928a216705 [2022-04-04T21:30:24.130Z] Removing intermediate container 81928a216705 [2022-04-04T21:30:24.130Z] ---> 2749656fcc59 [2022-04-04T21:30:24.130Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-04T21:30:24.130Z] ---> Running in 6837287a27c7 [2022-04-04T21:30:24.130Z] Removing intermediate container 6837287a27c7 [2022-04-04T21:30:24.130Z] ---> e23fb64ae6ff [2022-04-04T21:30:24.130Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-04T21:30:24.130Z] ---> Running in daaaa3120d8e [2022-04-04T21:30:24.390Z] Removing intermediate container daaaa3120d8e [2022-04-04T21:30:24.390Z] ---> 21557b813255 [2022-04-04T21:30:24.390Z] Step 22/24 : LABEL arch=amd64 [2022-04-04T21:30:24.390Z] ---> Running in f2ed48e22088 [2022-04-04T21:30:24.390Z] Removing intermediate container f2ed48e22088 [2022-04-04T21:30:24.390Z] ---> 3c2383a50a74 [2022-04-04T21:30:24.390Z] Step 23/24 : LABEL git_sha=a302b4bfc3d471904e25ec9a8ca14e6313248e95 [2022-04-04T21:30:24.390Z] ---> Running in 3aa882531df7 [2022-04-04T21:30:24.649Z] Removing intermediate container 3aa882531df7 [2022-04-04T21:30:24.649Z] ---> d2215e3f8a69 [2022-04-04T21:30:24.649Z] Step 24/24 : LABEL version=0.0.0 [2022-04-04T21:30:24.649Z] ---> Running in 9ab76d0d528f [2022-04-04T21:30:24.649Z] Removing intermediate container 9ab76d0d528f [2022-04-04T21:30:24.649Z] ---> 64767f9b7765 [2022-04-04T21:30:24.649Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T21:30:24.649Z] Successfully built 64767f9b7765 [2022-04-04T21:30:24.649Z] 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-04T21:30:25.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T21:30:25.390Z] [2022-04-04T21:30:25.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:30:25.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T21:30:25.739Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T21:30:25.739Z] 5eb5b503b376: Pulling fs layer [2022-04-04T21:30:25.739Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T21:30:25.739Z] ec43610c2a17: Pulling fs layer [2022-04-04T21:30:25.739Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T21:30:25.739Z] 33b1e0a273af: Pulling fs layer [2022-04-04T21:30:25.739Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T21:30:25.739Z] 2f39f015ded8: Pulling fs layer [2022-04-04T21:30:25.739Z] 33b1e0a273af: Waiting [2022-04-04T21:30:25.739Z] 5d3b04190fa2: Waiting [2022-04-04T21:30:25.739Z] 2f39f015ded8: Waiting [2022-04-04T21:30:25.739Z] 3a2ae6a8a46f: Waiting [2022-04-04T21:30:25.739Z] 5c69ac0246d0: Download complete [2022-04-04T21:30:25.739Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-04T21:30:25.739Z] 33b1e0a273af: Verifying Checksum [2022-04-04T21:30:25.739Z] 33b1e0a273af: Download complete [2022-04-04T21:30:25.739Z] ec43610c2a17: Verifying Checksum [2022-04-04T21:30:25.739Z] ec43610c2a17: Download complete [2022-04-04T21:30:25.739Z] 5d3b04190fa2: Verifying Checksum [2022-04-04T21:30:25.739Z] 5d3b04190fa2: Download complete [2022-04-04T21:30:25.999Z] 5eb5b503b376: Download complete [2022-04-04T21:30:26.570Z] 2f39f015ded8: Download complete [2022-04-04T21:30:27.140Z] 5eb5b503b376: Pull complete [2022-04-04T21:30:27.140Z] 5c69ac0246d0: Pull complete [2022-04-04T21:30:27.714Z] ec43610c2a17: Pull complete [2022-04-04T21:30:27.714Z] 3a2ae6a8a46f: Pull complete [2022-04-04T21:30:27.972Z] 33b1e0a273af: Pull complete [2022-04-04T21:30:27.972Z] 5d3b04190fa2: Pull complete [2022-04-04T21:30:32.169Z] 2f39f015ded8: Pull complete [2022-04-04T21:30:32.169Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T21:30:32.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T21:30:32.169Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T21:30:32.264Z] prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container [2022-04-04T21:30:32.291Z] $ 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-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@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-04T21:30:33.759Z] $ docker top 466bc42be876c1bb564dd450011caace40b21cdbd71a364d8555f15ae243a118 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:30:34.254Z] ---> job-cost.sh [2022-04-04T21:30:34.254Z] lf-activate-venv: SKIPPING [2022-04-04T21:30:34.254Z] INFO: No Stack... [2022-04-04T21:30:34.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T21:30:35.086Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T21:30:35.410Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-147/archives/cost.csv [2022-04-04T21:30:35.410Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T21:30:35.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [2022-04-04T21:30:35.459Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] did not exist. Created. [2022-04-04T21:30:35.459Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T21:30:35.853Z] + echo total: 0.4399999976158142 [Pipeline] stash [2022-04-04T21:30:35.898Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T21:30:35.928Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T21:30:36.000Z] $ docker stop --time=1 466bc42be876c1bb564dd450011caace40b21cdbd71a364d8555f15ae243a118 [2022-04-04T21:30:37.186Z] $ docker rm -f 466bc42be876c1bb564dd450011caace40b21cdbd71a364d8555f15ae243a118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T21:31:41.430Z] Removing intermediate container f54a31813ee8 [2022-04-04T21:31:41.430Z] ---> d4f7b4a96728 [2022-04-04T21:31:41.430Z] Step 11/12 : COPY . . [2022-04-04T21:31:41.430Z] ---> 1de4abaec2d5 [2022-04-04T21:31:41.430Z] Step 12/12 : RUN ${MAKE} [2022-04-04T21:31:41.430Z] ---> Running in 386bade8c420 [2022-04-04T21:31:41.430Z] noop [2022-04-04T21:31:41.430Z] Removing intermediate container 386bade8c420 [2022-04-04T21:31:41.430Z] ---> 6f62b6129c13 [2022-04-04T21:31:41.430Z] Successfully built 6f62b6129c13 [2022-04-04T21:31:41.430Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:31:41.800Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T21:31:41.800Z] . [Pipeline] withDockerContainer [2022-04-04T21:31:42.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-10689 does not seem to be running inside a container [2022-04-04T21:31:42.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T21:31:43.394Z] $ docker top 7eadfd81c4d748e2d141c962d4a9789742ead05643ba8007c206041b85f974ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T21:31:44.366Z] + go version [2022-04-04T21:31:44.366Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T21:31:44.404Z] $ docker stop --time=1 7eadfd81c4d748e2d141c962d4a9789742ead05643ba8007c206041b85f974ff [2022-04-04T21:31:46.061Z] $ docker rm -f 7eadfd81c4d748e2d141c962d4a9789742ead05643ba8007c206041b85f974ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:31:46.935Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T21:31:46.935Z] . [Pipeline] withDockerContainer [2022-04-04T21:31:47.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-10689 does not seem to be running inside a container [2022-04-04T21:31:47.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T21:31:48.538Z] $ docker top 2f32553761bc2bafa30abb8e76dbe05239d760689527fec486af6cadd9b05d48 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T21:31:49.553Z] + make test [2022-04-04T21:31:49.553Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T21:31:51.001Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-04T21:32:38.039Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-04T21:32:38.039Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements [2022-04-04T21:32:38.039Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-04T21:32:38.039Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T21:32:53.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T21:32:53.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T21:32:53.149Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T21:32:54.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T21:32:54.657Z] $ docker stop --time=1 2f32553761bc2bafa30abb8e76dbe05239d760689527fec486af6cadd9b05d48 [2022-04-04T21:32:56.416Z] $ docker rm -f 2f32553761bc2bafa30abb8e76dbe05239d760689527fec486af6cadd9b05d48 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T21:32:57.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T21:32:57.327Z] Warning: overwriting stash ‘coverage-report’ [2022-04-04T21:32:57.762Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T21:32:58.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T21:32:58.709Z] + ls -al . [2022-04-04T21:32:58.709Z] total 176 [2022-04-04T21:32:58.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 21:32 . [2022-04-04T21:32:58.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 21:29 .. [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 4 21:29 .dockerignore [2022-04-04T21:32:58.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 21:29 .git [2022-04-04T21:32:58.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:29 .github [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 4 21:29 .gitignore [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 21:29 .golangci.yml [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 6926 Apr 4 21:29 Attribution.txt [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 4 21:29 CHANGELOG.md [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 4 21:29 Dockerfile [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 21:29 GOVERNANCE.md [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 4 21:29 Jenkinsfile [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 21:29 LICENSE [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 4 21:29 Makefile [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 21:29 OWNERS.md [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 4 21:29 README.md [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 21:29 VERSION [2022-04-04T21:32:58.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:29 bin [2022-04-04T21:32:58.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:29 cmd [2022-04-04T21:32:58.709Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 4 21:32 coverage.out [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 2820 Apr 4 21:29 go.mod [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 49501 Apr 4 21:29 go.sum [2022-04-04T21:32:58.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:29 internal [2022-04-04T21:32:58.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:29 snap [2022-04-04T21:32:58.709Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 21:29 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:32:59.127Z] + 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=a302b4bfc3d471904e25ec9a8ca14e6313248e95 --label arch=arm64 --label version=0.0.0 . [2022-04-04T21:32:59.426Z] Sending build context to Docker daemon 2.742MB [2022-04-04T21:32:59.426Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T21:32:59.426Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-04T21:32:59.426Z] ---> 6f62b6129c13 [2022-04-04T21:32:59.426Z] Step 3/24 : ARG MAKE='make build' [2022-04-04T21:32:59.719Z] ---> Running in e9a944d988a7 [2022-04-04T21:33:00.026Z] Removing intermediate container e9a944d988a7 [2022-04-04T21:33:00.026Z] ---> 23fc62aebbdc [2022-04-04T21:33:00.026Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T21:33:00.026Z] ---> Running in 0b48b01916a3 [2022-04-04T21:33:00.678Z] Removing intermediate container 0b48b01916a3 [2022-04-04T21:33:00.678Z] ---> 8f5960e6af61 [2022-04-04T21:33:00.678Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T21:33:00.678Z] ---> Running in a7cc84efc4e4 [2022-04-04T21:33:00.955Z] Removing intermediate container a7cc84efc4e4 [2022-04-04T21:33:00.955Z] ---> 7f3fdd22ce77 [2022-04-04T21:33:00.955Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T21:33:00.955Z] ---> Running in a0052a6967f6 [2022-04-04T21:33:02.939Z] Removing intermediate container a0052a6967f6 [2022-04-04T21:33:02.939Z] ---> 116e99fd2e39 [2022-04-04T21:33:02.939Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T21:33:02.939Z] ---> Running in 5dc34ae71223 [2022-04-04T21:33:03.539Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T21:33:04.520Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T21:33:05.499Z] OK: 224 MiB in 56 packages [2022-04-04T21:33:06.100Z] Removing intermediate container 5dc34ae71223 [2022-04-04T21:33:06.100Z] ---> 6caff93a0ac2 [2022-04-04T21:33:06.100Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-04T21:33:06.100Z] ---> Running in b86c8c8af92d [2022-04-04T21:33:06.701Z] Removing intermediate container b86c8c8af92d [2022-04-04T21:33:06.701Z] ---> 8bf29187570e [2022-04-04T21:33:06.701Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-04T21:33:07.314Z] ---> a4eb4229d264 [2022-04-04T21:33:07.314Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T21:33:07.314Z] ---> Running in 8d15a004795a [2022-04-04T21:33:09.296Z] Removing intermediate container 8d15a004795a [2022-04-04T21:33:09.296Z] ---> d90689c8f372 [2022-04-04T21:33:09.296Z] Step 11/24 : COPY . . [2022-04-04T21:33:10.275Z] ---> b6d2346e9034 [2022-04-04T21:33:10.275Z] Step 12/24 : RUN ${MAKE} [2022-04-04T21:33:10.275Z] ---> Running in 3b86efee7fc2 [2022-04-04T21:33:11.257Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2022-04-04T21:33:50.283Z] Removing intermediate container 3b86efee7fc2 [2022-04-04T21:33:50.283Z] ---> ea3749dd71b2 [2022-04-04T21:33:50.283Z] Step 13/24 : FROM alpine:3.14 [2022-04-04T21:33:51.259Z] 3.14: Pulling from library/alpine [2022-04-04T21:33:51.259Z] 810d54c7e01b: Pulling fs layer [2022-04-04T21:33:51.533Z] 810d54c7e01b: Verifying Checksum [2022-04-04T21:33:51.533Z] 810d54c7e01b: Download complete [2022-04-04T21:33:52.135Z] 810d54c7e01b: Pull complete [2022-04-04T21:33:52.135Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T21:33:52.135Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T21:33:52.135Z] ---> cc3d11fa2d52 [2022-04-04T21:33:52.135Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T21:33:52.135Z] ---> Running in b3f6c1512b3c [2022-04-04T21:33:53.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-04T21:33:53.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-04T21:33:53.974Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T21:33:53.974Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T21:33:53.974Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T21:33:53.974Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T21:33:54.322Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T21:33:54.322Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T21:33:54.322Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T21:33:54.322Z] OK: 8 MiB in 20 packages [2022-04-04T21:33:54.922Z] Removing intermediate container b3f6c1512b3c [2022-04-04T21:33:54.922Z] ---> 7e7c98713a26 [2022-04-04T21:33:54.922Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-04T21:33:55.901Z] ---> 2fda38074c32 [2022-04-04T21:33:55.901Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-04T21:33:56.498Z] ---> 9eb9e629a1c9 [2022-04-04T21:33:56.498Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-04T21:33:57.090Z] ---> 912709da2d65 [2022-04-04T21:33:57.090Z] Step 18/24 : EXPOSE 59993 [2022-04-04T21:33:57.090Z] ---> Running in 8544f898c847 [2022-04-04T21:33:57.362Z] Removing intermediate container 8544f898c847 [2022-04-04T21:33:57.362Z] ---> afe4f7a053ca [2022-04-04T21:33:57.362Z] Step 19/24 : EXPOSE 161 [2022-04-04T21:33:57.362Z] ---> Running in 7efec7f3d1c1 [2022-04-04T21:33:57.638Z] Removing intermediate container 7efec7f3d1c1 [2022-04-04T21:33:57.638Z] ---> 5b54358a19c1 [2022-04-04T21:33:57.638Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-04T21:33:57.638Z] ---> Running in 12b80cf1fc03 [2022-04-04T21:33:57.913Z] Removing intermediate container 12b80cf1fc03 [2022-04-04T21:33:57.913Z] ---> a7f872d2628d [2022-04-04T21:33:57.913Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-04T21:33:58.184Z] ---> Running in 25afa56ddebe [2022-04-04T21:33:58.457Z] Removing intermediate container 25afa56ddebe [2022-04-04T21:33:58.457Z] ---> ff7e0a054e22 [2022-04-04T21:33:58.457Z] Step 22/24 : LABEL arch=arm64 [2022-04-04T21:33:58.457Z] ---> Running in 223d6d603cca [2022-04-04T21:33:58.728Z] Removing intermediate container 223d6d603cca [2022-04-04T21:33:58.728Z] ---> 95721f16f70e [2022-04-04T21:33:58.728Z] Step 23/24 : LABEL git_sha=a302b4bfc3d471904e25ec9a8ca14e6313248e95 [2022-04-04T21:33:58.728Z] ---> Running in 933ed58794da [2022-04-04T21:33:59.321Z] Removing intermediate container 933ed58794da [2022-04-04T21:33:59.321Z] ---> 216241a773b2 [2022-04-04T21:33:59.321Z] Step 24/24 : LABEL version=0.0.0 [2022-04-04T21:33:59.321Z] ---> Running in 218b3948cbbe [2022-04-04T21:33:59.593Z] Removing intermediate container 218b3948cbbe [2022-04-04T21:33:59.593Z] ---> 29941c9cf55c [2022-04-04T21:33:59.593Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T21:33:59.593Z] Successfully built 29941c9cf55c [2022-04-04T21:33:59.593Z] 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-04T21:34:00.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T21:34:00.294Z] [2022-04-04T21:34:00.294Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:34:00.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T21:34:00.945Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T21:34:00.945Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T21:34:00.945Z] 04944245beec: Pulling fs layer [2022-04-04T21:34:00.945Z] 699f458cf7ca: Pulling fs layer [2022-04-04T21:34:00.945Z] 765212b225bb: Pulling fs layer [2022-04-04T21:34:00.945Z] f23df028b6ca: Pulling fs layer [2022-04-04T21:34:00.945Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T21:34:00.945Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T21:34:00.945Z] 765212b225bb: Waiting [2022-04-04T21:34:00.945Z] f23df028b6ca: Waiting [2022-04-04T21:34:00.945Z] d65c8cfc05b1: Waiting [2022-04-04T21:34:00.945Z] 2437ff75d9bd: Waiting [2022-04-04T21:34:00.945Z] 04944245beec: Verifying Checksum [2022-04-04T21:34:00.945Z] 04944245beec: Download complete [2022-04-04T21:34:00.945Z] 765212b225bb: Verifying Checksum [2022-04-04T21:34:00.945Z] 765212b225bb: Download complete [2022-04-04T21:34:00.945Z] f23df028b6ca: Verifying Checksum [2022-04-04T21:34:00.945Z] f23df028b6ca: Download complete [2022-04-04T21:34:00.945Z] d65c8cfc05b1: Verifying Checksum [2022-04-04T21:34:00.945Z] d65c8cfc05b1: Download complete [2022-04-04T21:34:01.224Z] 699f458cf7ca: Verifying Checksum [2022-04-04T21:34:01.224Z] 699f458cf7ca: Download complete [2022-04-04T21:34:01.500Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T21:34:01.500Z] 8998bd30e6a1: Download complete [2022-04-04T21:34:04.115Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T21:34:04.115Z] 2437ff75d9bd: Download complete [2022-04-04T21:34:06.091Z] 8998bd30e6a1: Pull complete [2022-04-04T21:34:06.363Z] 04944245beec: Pull complete [2022-04-04T21:34:07.793Z] 699f458cf7ca: Pull complete [2022-04-04T21:34:07.793Z] 765212b225bb: Pull complete [2022-04-04T21:34:08.786Z] f23df028b6ca: Pull complete [2022-04-04T21:34:09.059Z] d65c8cfc05b1: Pull complete [2022-04-04T21:34:24.158Z] 2437ff75d9bd: Pull complete [2022-04-04T21:34:24.158Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T21:34:24.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T21:34:24.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T21:34:24.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-10689 does not seem to be running inside a container [2022-04-04T21:34:24.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-04T21:34:26.936Z] $ docker top 0fffa48ed8e62f5502ced7acba491bbc5cb7085afafa12dfd4481fbbe5c131a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:27.906Z] ---> job-cost.sh [2022-04-04T21:34:27.906Z] lf-activate-venv: SKIPPING [2022-04-04T21:34:27.906Z] INFO: No Stack... [2022-04-04T21:34:28.499Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T21:34:29.094Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T21:34:29.771Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-04-04T21:34:29.771Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T21:34:29.823Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [2022-04-04T21:34:29.828Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] did not exist. Created. [2022-04-04T21:34:29.828Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T21:34:30.588Z] /w/workspace/device-snmp-go/1@tmp/durable-9377273f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T21:34:31.286Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T21:34:31.324Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T21:34:31.369Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T21:34:31.384Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T21:34:31.463Z] $ docker stop --time=1 0fffa48ed8e62f5502ced7acba491bbc5cb7085afafa12dfd4481fbbe5c131a1 [2022-04-04T21:34:32.952Z] $ docker rm -f 0fffa48ed8e62f5502ced7acba491bbc5cb7085afafa12dfd4481fbbe5c131a1 [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-04T21:34:33.992Z] provisioning config files... [2022-04-04T21:34:34.014Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config1575265025019934089tmp [Pipeline] { [Pipeline] sh [2022-04-04T21:34:34.346Z] + set +x [2022-04-04T21:34:34.346Z] + curl -s https://codecov.io/bash [2022-04-04T21:34:34.346Z] + bash -s -- [2022-04-04T21:34:34.346Z] [2022-04-04T21:34:34.346Z] _____ _ [2022-04-04T21:34:34.346Z] / ____| | | [2022-04-04T21:34:34.346Z] | | ___ __| | ___ ___ _____ __ [2022-04-04T21:34:34.346Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-04T21:34:34.346Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-04T21:34:34.346Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-04T21:34:34.346Z] Bash-1.0.6 [2022-04-04T21:34:34.346Z] [2022-04-04T21:34:34.346Z] [2022-04-04T21:34:34.346Z] ==> git version 2.25.1 found [2022-04-04T21:34:34.346Z] ==> 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-04T21:34:34.346Z] Release-Date: 2020-01-08 [2022-04-04T21:34:34.346Z] 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-04T21:34:34.346Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-04T21:34:34.346Z] ==> Jenkins CI detected. [2022-04-04T21:34:34.346Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-147 [2022-04-04T21:34:34.346Z] project root: . [2022-04-04T21:34:34.346Z] --> token set from env [2022-04-04T21:34:34.346Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-04T21:34:34.346Z] ==> Running gcov in . (disable via -X gcov) [2022-04-04T21:34:34.346Z] ==> Python coveragepy not found [2022-04-04T21:34:34.346Z] ==> Searching for coverage reports in: [2022-04-04T21:34:34.346Z] + . [2022-04-04T21:34:34.346Z] -> Found 1 reports [2022-04-04T21:34:34.346Z] ==> Detecting git/mercurial file structure [2022-04-04T21:34:34.346Z] ==> Reading reports [2022-04-04T21:34:34.346Z] + ./coverage.out bytes=7631 [2022-04-04T21:34:34.346Z] ==> Appending adjustments [2022-04-04T21:34:34.346Z] https://docs.codecov.io/docs/fixing-reports [2022-04-04T21:34:34.607Z] + Found adjustments [2022-04-04T21:34:34.607Z] ==> Gzipping contents [2022-04-04T21:34:34.607Z] 4.0K /tmp/codecov.Pbc6v8.gz [2022-04-04T21:34:34.607Z] ==> Uploading reports [2022-04-04T21:34:34.607Z] url: https://codecov.io [2022-04-04T21:34:34.607Z] query: branch=PR-147&commit=a302b4bfc3d471904e25ec9a8ca14e6313248e95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=147&job=&cmd_args= [2022-04-04T21:34:34.607Z] -> Pinging Codecov [2022-04-04T21:34:34.607Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-147&commit=a302b4bfc3d471904e25ec9a8ca14e6313248e95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=147&job=&cmd_args= [2022-04-04T21:34:34.867Z] -> Uploading to [2022-04-04T21:34:34.867Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-04/6C56EA5C29638FB4528AC87E60AF5AE0/a302b4bfc3d471904e25ec9a8ca14e6313248e95/217b83ae-6221-41cc-b629-380c9967316d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T213434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98958387496ee1e0b065ca0e30ae0eca08e1f300982e3396ec3895ccb434b468 [2022-04-04T21:34:34.867Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T21:34:34.868Z] Dload Upload Total Spent Left Speed [2022-04-04T21:34:35.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6658 --:--:-- --:--:-- --:--:-- 6630 [2022-04-04T21:34:35.128Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] } [2022-04-04T21:34:35.156Z] 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-04T21:34:36.963Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-147/archives ] [2022-04-04T21:34:36.963Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-147/archives [2022-04-04T21:34:36.963Z] total 16 [2022-04-04T21:34:36.963Z] drwxr-xr-x 3 root root 4096 Apr 4 21:30 . [2022-04-04T21:34:36.963Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 21:30 .. [2022-04-04T21:34:36.963Z] drwxr-xr-x 2 root root 4096 Apr 4 21:30 cost [2022-04-04T21:34:36.963Z] -rw-r--r-- 1 root root 86 Apr 4 21:30 cost.csv [2022-04-04T21:34:36.963Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-147/archives [2022-04-04T21:34:36.963Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-147/archives [2022-04-04T21:34:36.963Z] total 16 [2022-04-04T21:34:36.963Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 21:30 . [2022-04-04T21:34:36.963Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 21:30 .. [2022-04-04T21:34:36.963Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 21:30 cost [2022-04-04T21:34:36.963Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 4 21:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:37.297Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:38.197Z] ---> package-listing.sh [2022-04-04T21:34:38.197Z] ++ facter osfamily [2022-04-04T21:34:38.197Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T21:34:38.459Z] + OS_FAMILY=debian [2022-04-04T21:34:38.459Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-147 [2022-04-04T21:34:38.459Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T21:34:38.459Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T21:34:38.459Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T21:34:38.459Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T21:34:38.459Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-147 ']' [2022-04-04T21:34:38.459Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T21:34:38.459Z] + case "${OS_FAMILY}" in [2022-04-04T21:34:38.459Z] + dpkg -l [2022-04-04T21:34:38.459Z] + grep '^ii' [2022-04-04T21:34:38.459Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T21:34:38.459Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T21:34:38.459Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T21:34:38.459Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-147 ']' [2022-04-04T21:34:38.459Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-147/archives/ [2022-04-04T21:34:38.459Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-147/archives/ [Pipeline] echo [2022-04-04T21:34:38.494Z] 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-147/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T21:34:38.791Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T21:34:39.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T21:34:39.382Z] . [Pipeline] withDockerContainer [2022-04-04T21:34:39.480Z] prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container [2022-04-04T21:34:39.506Z] $ 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-147/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-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T21:34:39.715Z] $ docker top 42b2ea08cc4206a5f7c39311a6b179e88521251074d24e23948ae71500105cbb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T21:34:40.132Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T21:34:40.442Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T21:34:40.755Z] + ls /var/log/sa-host [2022-04-04T21:34:40.755Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T21:34:41.042Z] provisioning config files... [2022-04-04T21:34:41.052Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config7569833691399730923tmp [Pipeline] { [Pipeline] echo [2022-04-04T21:34:41.098Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:41.417Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T21:34:41.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:41.854Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T21:34:41.885Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:42.240Z] ---> sudo-logs.sh [2022-04-04T21:34:42.240Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T21:34:42.327Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:42.674Z] ---> job-cost.sh [2022-04-04T21:34:42.674Z] lf-activate-venv: SKIPPING [2022-04-04T21:34:42.674Z] DEBUG: total: 0.4399999976158142 [2022-04-04T21:34:42.674Z] INFO: Retrieving Stack Cost... [2022-04-04T21:34:43.244Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T21:34:43.506Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T21:34:43.537Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T21:34:43.852Z] ---> logs-deploy.sh [2022-04-04T21:34:43.852Z] lf-activate-venv: SKIPPING [2022-04-04T21:34:43.852Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-147/1 [2022-04-04T21:34:43.852Z] INFO: archiving workspace using pattern(s): [2022-04-04T21:34:44.793Z] Archives upload complete. [2022-04-04T21:34:44.793Z] INFO: archiving logs to Nexus