Pull request #149 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 480fc110605f705546cd9b1d947e4f522cca56d6 rather than 97f5f388121dc6ef09dfef889733b622a9a06ea5 Obtained Jenkinsfile from 480fc110605f705546cd9b1d947e4f522cca56d6 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-ssh13842556013065071093.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-ssh6933017030875953184.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-149/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-149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2968048326403658353.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-149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16887971818379688573.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-ssh16723620630858262852.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-149/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-149/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3599427281289533089.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10801 in /w/workspace/gexfoundry_device-snmp-go_PR-149 [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-149 # 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 480fc110605f705546cd9b1d947e4f522cca56d6 into PR head commit 97f5f388121dc6ef09dfef889733b622a9a06ea5 Merge succeeded, producing 97f5f388121dc6ef09dfef889733b622a9a06ea5 Checking out Revision 97f5f388121dc6ef09dfef889733b622a9a06ea5 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # 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 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # timeout=10 Commit message: "build(deps): Update device-sdk-go" 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-06T00:38:28.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T00:38:28.530Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T00:38:28.637Z] ========================================================= [2022-04-06T00:38:28.638Z] EdgeX Global Pipelines Version Info [2022-04-06T00:38:28.638Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:38:29.478Z] ------------------- [2022-04-06T00:38:29.479Z] stable info: [2022-04-06T00:38:29.479Z] ------------------- [2022-04-06T00:38:29.479Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T00:38:29.479Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T00:38:29.479Z] Message: update stable to v1.0.221 [2022-04-06T00:38:30.057Z] ------------------- [2022-04-06T00:38:30.057Z] experimental info: [2022-04-06T00:38:30.057Z] ------------------- [2022-04-06T00:38:30.057Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T00:38:30.057Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T00:38:30.057Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T00:38:30.315Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-06T00:38:30.356Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-06T00:38:30.398Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T00:38:30.436Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T00:38:30.476Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T00:38:30.512Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T00:38:30.557Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T00:38:30.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T00:38:30.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T00:38:30.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T00:38:30.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T00:38:30.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-06T00:38:30.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T00:38:30.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T00:38:30.886Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T00:38:30.925Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T00:38:30.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T00:38:31.004Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T00:38:31.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T00:38:31.082Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T00:38:31.122Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T00:38:31.166Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T00:38:31.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T00:38:31.249Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T00:38:31.286Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T00:38:31.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T00:38:31.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-04-06T00:38:31.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-04-06T00:38:31.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-04-06T00:38:31.494Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo [2022-04-06T00:38:31.532Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97f5f38 [Pipeline] echo [2022-04-06T00:38:31.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T00:38:31.686Z] provisioning config files... [2022-04-06T00:38:31.705Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config6858383630128220137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:38:32.080Z] ---> docker-login.sh [2022-04-06T00:38:32.080Z] nexus3.edgexfoundry.org:10001 [2022-04-06T00:38:32.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:32.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:32.340Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:32.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:32.340Z] [2022-04-06T00:38:32.340Z] Login Succeeded [2022-04-06T00:38:32.340Z] nexus3.edgexfoundry.org:10002 [2022-04-06T00:38:32.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:32.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:32.604Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:32.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:32.604Z] [2022-04-06T00:38:32.604Z] Login Succeeded [2022-04-06T00:38:32.604Z] nexus3.edgexfoundry.org:10003 [2022-04-06T00:38:32.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:32.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:32.604Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:32.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:32.604Z] [2022-04-06T00:38:32.604Z] Login Succeeded [2022-04-06T00:38:32.604Z] nexus3.edgexfoundry.org:10004 [2022-04-06T00:38:32.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:32.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:32.867Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:32.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:32.867Z] [2022-04-06T00:38:32.867Z] Login Succeeded [2022-04-06T00:38:32.867Z] docker.io [2022-04-06T00:38:32.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:33.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:33.442Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:33.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:33.442Z] [2022-04-06T00:38:33.442Z] Login Succeeded [2022-04-06T00:38:33.442Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T00:38:33.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T00:38:34.080Z] + git rev-list -1 --merges 97f5f388121dc6ef09dfef889733b622a9a06ea5~1..97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo [2022-04-06T00:38:34.196Z] -----------> git rev-list -1 --merges 97f5f388121dc6ef09dfef889733b622a9a06ea5~1..97f5f388121dc6ef09dfef889733b622a9a06ea5 97f5f388121dc6ef09dfef889733b622a9a06ea5 [false] [Pipeline] sh [2022-04-06T00:38:34.516Z] + git log --format=format:%s -1 97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo [2022-04-06T00:38:34.550Z] ========================================================= [2022-04-06T00:38:34.550Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T00:38:34.550Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T00:38:34.992Z] + git log --format=format:%s -1 97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo [2022-04-06T00:38:35.027Z] [semverPrep] GIT_COMMIT: 97f5f388121dc6ef09dfef889733b622a9a06ea5, Commit Message: build(deps): Update device-sdk-go [Pipeline] echo [2022-04-06T00:38:35.056Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T00:38:35.469Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T00:38:35.469Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T00:38:35.469Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T00:38:35.469Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T00:38:35.469Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-06T00:38:35.469Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-06T00:38:35.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:38:35.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T00:38:35.850Z] [2022-04-06T00:38:35.850Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:38:36.193Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T00:38:36.193Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T00:38:36.193Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T00:38:36.193Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T00:38:36.193Z] 4c7163046ea9: Pulling fs layer [2022-04-06T00:38:36.193Z] 0c2d73faf560: Pulling fs layer [2022-04-06T00:38:36.193Z] 0c2d73faf560: Waiting [2022-04-06T00:38:36.193Z] 3e5f54012d9b: Verifying Checksum [2022-04-06T00:38:36.193Z] 3e5f54012d9b: Download complete [2022-04-06T00:38:36.193Z] a0d0a0d46f8b: Verifying Checksum [2022-04-06T00:38:36.193Z] a0d0a0d46f8b: Download complete [2022-04-06T00:38:36.193Z] 4c7163046ea9: Verifying Checksum [2022-04-06T00:38:36.193Z] 4c7163046ea9: Download complete [2022-04-06T00:38:36.453Z] 0c2d73faf560: Verifying Checksum [2022-04-06T00:38:36.453Z] 0c2d73faf560: Download complete [2022-04-06T00:38:36.453Z] a0d0a0d46f8b: Pull complete [2022-04-06T00:38:36.453Z] 3e5f54012d9b: Pull complete [2022-04-06T00:38:37.024Z] 4c7163046ea9: Pull complete [2022-04-06T00:38:37.024Z] 0c2d73faf560: Pull complete [2022-04-06T00:38:37.024Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T00:38:37.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T00:38:37.024Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T00:38:37.129Z] prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container [2022-04-06T00:38:37.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T00:38:37.886Z] $ docker top 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T00:38:38.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T00:38:38.079Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T00:38:38.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T00:38:38.211Z] $ docker exec 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent [2022-04-06T00:38:38.344Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbHfAll/agent.14 [2022-04-06T00:38:38.344Z] SSH_AGENT_PID=20 [2022-04-06T00:38:38.352Z] Running ssh-add (command line suppressed) [2022-04-06T00:38:38.480Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6283722167446363844.key (/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6283722167446363844.key) [2022-04-06T00:38:38.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T00:38:38.823Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T00:38:38.852Z] $ docker exec --env ******** --env ******** 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent -k [2022-04-06T00:38:38.975Z] unset SSH_AUTH_SOCK; [2022-04-06T00:38:38.975Z] unset SSH_AGENT_PID; [2022-04-06T00:38:38.975Z] echo Agent pid 20 killed; [2022-04-06T00:38:38.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T00:38:39.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T00:38:39.071Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T00:38:39.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T00:38:39.231Z] $ docker exec 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent [2022-04-06T00:38:39.352Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgdCBib/agent.54 [2022-04-06T00:38:39.352Z] SSH_AGENT_PID=60 [2022-04-06T00:38:39.359Z] Running ssh-add (command line suppressed) [2022-04-06T00:38:39.484Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6626849794685025916.key (/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6626849794685025916.key) [2022-04-06T00:38:39.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T00:38:39.830Z] + git semver init [2022-04-06T00:38:39.830Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T00:38:39.830Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-149/.git [2022-04-06T00:38:39.830Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-149 [2022-04-06T00:38:39.830Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T00:38:39.830Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T00:38:39.830Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T00:38:39.830Z] # $SEMVER_BRANCH = PR-149 [2022-04-06T00:38:39.830Z] # $SEMVER_TEMP = /tmp/semver-640057509 [2022-04-06T00:38:39.830Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-06T00:38:40.779Z] # '/tmp/semver-640057509' -> '/w/workspace/gexfoundry_device-snmp-go_PR-149/.semver' [2022-04-06T00:38:40.779Z] # -> Force: false [2022-04-06T00:38:40.779Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-149/.semver [Pipeline] } [2022-04-06T00:38:40.808Z] $ docker exec --env ******** --env ******** 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent -k [2022-04-06T00:38:40.920Z] unset SSH_AUTH_SOCK; [2022-04-06T00:38:40.921Z] unset SSH_AGENT_PID; [2022-04-06T00:38:40.921Z] echo Agent pid 60 killed; [2022-04-06T00:38:40.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T00:38:41.368Z] + git semver [Pipeline] } [2022-04-06T00:38:41.402Z] $ docker stop --time=1 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 [2022-04-06T00:38:42.746Z] $ docker rm -f 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T00:38:43.158Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T00:38:43.479Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T00:38:43.498Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T00:38:44.044Z] provisioning config files... [2022-04-06T00:38:44.056Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config6120247101894078690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:38:44.404Z] ---> docker-login.sh [2022-04-06T00:38:44.405Z] nexus3.edgexfoundry.org:10001 [2022-04-06T00:38:44.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:44.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:44.405Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:44.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:44.405Z] [2022-04-06T00:38:44.405Z] Login Succeeded [2022-04-06T00:38:44.405Z] nexus3.edgexfoundry.org:10002 [2022-04-06T00:38:44.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:44.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:44.665Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:44.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:44.665Z] [2022-04-06T00:38:44.665Z] Login Succeeded [2022-04-06T00:38:44.665Z] nexus3.edgexfoundry.org:10003 [2022-04-06T00:38:44.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:44.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:44.665Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:44.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:44.665Z] [2022-04-06T00:38:44.665Z] Login Succeeded [2022-04-06T00:38:44.665Z] nexus3.edgexfoundry.org:10004 [2022-04-06T00:38:44.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:44.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:44.928Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:44.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:44.928Z] [2022-04-06T00:38:44.928Z] Login Succeeded [2022-04-06T00:38:44.928Z] docker.io [2022-04-06T00:38:44.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:38:45.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:38:45.192Z] Configure a credential helper to remove this warning. See [2022-04-06T00:38:45.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:38:45.192Z] [2022-04-06T00:38:45.192Z] Login Succeeded [2022-04-06T00:38:45.192Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T00:38:45.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T00:38:45.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T00:38:45.443Z] ========================================================= [2022-04-06T00:38:45.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T00:38:45.443Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:38:45.859Z] + 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-06T00:38:45.859Z] Sending build context to Docker daemon 5.241MB [2022-04-06T00:38:45.859Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T00:38:45.859Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T00:38:45.859Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T00:38:45.859Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T00:38:45.859Z] 666ba61612fd: Pulling fs layer [2022-04-06T00:38:45.859Z] 8ed8ca486205: Pulling fs layer [2022-04-06T00:38:45.859Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T00:38:45.859Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T00:38:45.859Z] 640e595b4fbd: Pulling fs layer [2022-04-06T00:38:45.859Z] 763cafe07f6e: Pulling fs layer [2022-04-06T00:38:45.859Z] 0c0b528cf693: Pulling fs layer [2022-04-06T00:38:45.859Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T00:38:45.859Z] 4fe6c5a15a65: Waiting [2022-04-06T00:38:45.859Z] 22a0e8bec74d: Waiting [2022-04-06T00:38:45.859Z] 640e595b4fbd: Waiting [2022-04-06T00:38:45.859Z] 10935f4eaf8b: Waiting [2022-04-06T00:38:45.859Z] 763cafe07f6e: Waiting [2022-04-06T00:38:45.859Z] 0c0b528cf693: Waiting [2022-04-06T00:38:46.120Z] 8ed8ca486205: Download complete [2022-04-06T00:38:46.120Z] 666ba61612fd: Download complete [2022-04-06T00:38:46.120Z] 22a0e8bec74d: Download complete [2022-04-06T00:38:46.120Z] 59bf1c3509f3: Verifying Checksum [2022-04-06T00:38:46.120Z] 59bf1c3509f3: Download complete [2022-04-06T00:38:46.120Z] 640e595b4fbd: Verifying Checksum [2022-04-06T00:38:46.120Z] 763cafe07f6e: Verifying Checksum [2022-04-06T00:38:46.120Z] 763cafe07f6e: Download complete [2022-04-06T00:38:46.120Z] 0c0b528cf693: Verifying Checksum [2022-04-06T00:38:46.120Z] 0c0b528cf693: Download complete [2022-04-06T00:38:46.120Z] 59bf1c3509f3: Pull complete [2022-04-06T00:38:46.381Z] 666ba61612fd: Pull complete [2022-04-06T00:38:46.381Z] 8ed8ca486205: Pull complete [2022-04-06T00:38:46.644Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T00:38:46.644Z] 10935f4eaf8b: Download complete [2022-04-06T00:38:46.907Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T00:38:46.907Z] 4fe6c5a15a65: Download complete [2022-04-06T00:38:51.105Z] 4fe6c5a15a65: Pull complete [2022-04-06T00:38:51.105Z] 22a0e8bec74d: Pull complete [2022-04-06T00:38:51.105Z] 640e595b4fbd: Pull complete [2022-04-06T00:38:51.105Z] 763cafe07f6e: Pull complete [2022-04-06T00:38:51.105Z] 0c0b528cf693: Pull complete [2022-04-06T00:38:53.017Z] 10935f4eaf8b: Pull complete [2022-04-06T00:38:53.017Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T00:38:53.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T00:38:53.017Z] ---> 99d49a6021b9 [2022-04-06T00:38:53.017Z] Step 3/12 : ARG MAKE='make build' [2022-04-06T00:38:54.404Z] ---> Running in 1a09192268f2 [2022-04-06T00:38:54.404Z] Removing intermediate container 1a09192268f2 [2022-04-06T00:38:54.404Z] ---> d29220056849 [2022-04-06T00:38:54.404Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T00:38:54.404Z] ---> Running in 8ceb7f7f5dab [2022-04-06T00:38:54.667Z] Removing intermediate container 8ceb7f7f5dab [2022-04-06T00:38:54.667Z] ---> 2dcbd86f6fe9 [2022-04-06T00:38:54.667Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T00:38:54.667Z] ---> Running in ffe066639ea4 [2022-04-06T00:38:54.667Z] Removing intermediate container ffe066639ea4 [2022-04-06T00:38:54.667Z] ---> 87181febd59e [2022-04-06T00:38:54.667Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T00:38:54.667Z] ---> Running in cc14017ca054 [2022-04-06T00:38:55.251Z] Removing intermediate container cc14017ca054 [2022-04-06T00:38:55.251Z] ---> fe31bfb454c1 [2022-04-06T00:38:55.251Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T00:38:55.517Z] ---> Running in e2e1d065b866 [2022-04-06T00:38:55.776Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T00:38:56.719Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T00:38:56.720Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T00:38:56.981Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T00:38:56.981Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T00:38:57.240Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T00:38:57.240Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T00:38:57.240Z] OK: 224 MiB in 56 packages [2022-04-06T00:38:57.809Z] Removing intermediate container e2e1d065b866 [2022-04-06T00:38:57.809Z] ---> e1a69c9f003f [2022-04-06T00:38:57.809Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-06T00:38:57.809Z] ---> Running in 7fc02262b0e8 [2022-04-06T00:38:57.809Z] Removing intermediate container 7fc02262b0e8 [2022-04-06T00:38:57.809Z] ---> 103fb5886d02 [2022-04-06T00:38:57.809Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-06T00:38:57.809Z] ---> 1c02682b5538 [2022-04-06T00:38:57.809Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T00:38:58.070Z] ---> Running in fa7e46609b5f [2022-04-06T00:38:58.878Z] Still waiting to schedule task [2022-04-06T00:38:58.879Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10796’ [2022-04-06T00:39:13.082Z] Removing intermediate container fa7e46609b5f [2022-04-06T00:39:13.082Z] ---> 408b7c0cfd3b [2022-04-06T00:39:13.082Z] Step 11/12 : COPY . . [2022-04-06T00:39:13.343Z] ---> 58b0d5385d9d [2022-04-06T00:39:13.343Z] Step 12/12 : RUN ${MAKE} [2022-04-06T00:39:13.343Z] ---> Running in f80a04c2bbe8 [2022-04-06T00:39:13.604Z] noop [2022-04-06T00:39:13.864Z] Removing intermediate container f80a04c2bbe8 [2022-04-06T00:39:13.864Z] ---> be1c52ab4eed [2022-04-06T00:39:13.864Z] Successfully built be1c52ab4eed [2022-04-06T00:39:13.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:39:14.199Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T00:39:14.199Z] . [Pipeline] withDockerContainer [2022-04-06T00:39:14.292Z] prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container [2022-04-06T00:39:14.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T00:39:14.702Z] $ docker top d1a2a153cb54cae2045f0bc464b4c0fab0f7748916a8a748dd8a36fcdf1894fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T00:39:15.100Z] + go version [2022-04-06T00:39:15.100Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T00:39:15.138Z] $ docker stop --time=1 d1a2a153cb54cae2045f0bc464b4c0fab0f7748916a8a748dd8a36fcdf1894fd [2022-04-06T00:39:16.401Z] $ docker rm -f d1a2a153cb54cae2045f0bc464b4c0fab0f7748916a8a748dd8a36fcdf1894fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:39:17.066Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T00:39:17.066Z] . [Pipeline] withDockerContainer [2022-04-06T00:39:17.160Z] prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container [2022-04-06T00:39:17.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T00:39:17.603Z] $ docker top 272f798eae7c3986e3af87653cd41cd7e4407e360a222f4841d301af9bdd2b62 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T00:39:18.044Z] + make test [2022-04-06T00:39:18.044Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-06T00:39:18.319Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-06T00:39:28.310Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-06T00:39:28.310Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-04-06T00:39:32.602Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T00:39:36.805Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T00:39:36.805Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T00:39:36.805Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T00:39:37.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T00:39:37.452Z] $ docker stop --time=1 272f798eae7c3986e3af87653cd41cd7e4407e360a222f4841d301af9bdd2b62 [2022-04-06T00:39:39.171Z] $ docker rm -f 272f798eae7c3986e3af87653cd41cd7e4407e360a222f4841d301af9bdd2b62 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T00:39:39.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T00:39:39.725Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-06T00:39:40.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T00:39:41.221Z] + ls -al . [2022-04-06T00:39:41.221Z] total 164 [2022-04-06T00:39:41.221Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 00:39 . [2022-04-06T00:39:41.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 00:38 .. [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 00:38 .dockerignore [2022-04-06T00:39:41.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 00:38 .git [2022-04-06T00:39:41.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:38 .github [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 00:38 .gitignore [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 00:38 .golangci.yml [2022-04-06T00:39:41.221Z] drwx------ 3 jenkins jenkins 4096 Apr 6 00:38 .semver [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 00:38 Attribution.txt [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 00:38 CHANGELOG.md [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 00:38 Dockerfile [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 00:38 GOVERNANCE.md [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 00:38 Jenkinsfile [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 00:38 LICENSE [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 00:38 Makefile [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 00:38 OWNERS.md [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 00:38 README.md [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 00:38 VERSION [2022-04-06T00:39:41.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:38 bin [2022-04-06T00:39:41.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:38 cmd [2022-04-06T00:39:41.221Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 00:39 coverage.out [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 00:38 go.mod [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 6 00:38 go.sum [2022-04-06T00:39:41.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:38 internal [2022-04-06T00:39:41.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:38 snap [2022-04-06T00:39:41.221Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 00:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:39:41.557Z] + 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=97f5f388121dc6ef09dfef889733b622a9a06ea5 --label arch=amd64 --label version=0.0.0 . [2022-04-06T00:39:41.557Z] Sending build context to Docker daemon 5.25MB [2022-04-06T00:39:41.557Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T00:39:41.557Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T00:39:41.557Z] ---> be1c52ab4eed [2022-04-06T00:39:41.557Z] Step 3/24 : ARG MAKE='make build' [2022-04-06T00:39:41.557Z] ---> Running in 294b53477e2d [2022-04-06T00:39:41.816Z] Removing intermediate container 294b53477e2d [2022-04-06T00:39:41.816Z] ---> e4bfd9463aee [2022-04-06T00:39:41.816Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T00:39:41.816Z] ---> Running in 3990d4461f06 [2022-04-06T00:39:41.816Z] Removing intermediate container 3990d4461f06 [2022-04-06T00:39:41.816Z] ---> 716a724caed3 [2022-04-06T00:39:41.816Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T00:39:41.816Z] ---> Running in a199b4d79d8c [2022-04-06T00:39:42.077Z] Removing intermediate container a199b4d79d8c [2022-04-06T00:39:42.077Z] ---> d1f0c9c469d9 [2022-04-06T00:39:42.077Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T00:39:42.077Z] ---> Running in c05ccaad3c3e [2022-04-06T00:39:42.648Z] Removing intermediate container c05ccaad3c3e [2022-04-06T00:39:42.648Z] ---> 5c5bc510a4bf [2022-04-06T00:39:42.648Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T00:39:42.648Z] ---> Running in 45d4cc94a787 [2022-04-06T00:39:42.909Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T00:39:43.851Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T00:39:44.112Z] OK: 224 MiB in 56 packages [2022-04-06T00:39:44.373Z] Removing intermediate container 45d4cc94a787 [2022-04-06T00:39:44.373Z] ---> 0eccc76d1ed5 [2022-04-06T00:39:44.373Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-06T00:39:44.373Z] ---> Running in 1a87cabb787b [2022-04-06T00:39:44.373Z] Removing intermediate container 1a87cabb787b [2022-04-06T00:39:44.373Z] ---> 9ddfad2b9d20 [2022-04-06T00:39:44.373Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-06T00:39:44.634Z] ---> a3be5dd44efe [2022-04-06T00:39:44.634Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T00:39:44.634Z] ---> Running in 50b35a8552fb [2022-04-06T00:39:45.206Z] Removing intermediate container 50b35a8552fb [2022-04-06T00:39:45.206Z] ---> e9cdaaf9359c [2022-04-06T00:39:45.206Z] Step 11/24 : COPY . . [2022-04-06T00:39:45.778Z] ---> 931bc40e91d9 [2022-04-06T00:39:45.778Z] Step 12/24 : RUN ${MAKE} [2022-04-06T00:39:45.778Z] ---> Running in 9a9edaf7b563 [2022-04-06T00:39:46.037Z] 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-06T00:39:58.259Z] Removing intermediate container 9a9edaf7b563 [2022-04-06T00:39:58.259Z] ---> 68c2e4e3df88 [2022-04-06T00:39:58.259Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T00:39:58.259Z] 3.14: Pulling from library/alpine [2022-04-06T00:39:58.259Z] 8663204ce13b: Pulling fs layer [2022-04-06T00:39:58.259Z] 8663204ce13b: Verifying Checksum [2022-04-06T00:39:58.259Z] 8663204ce13b: Download complete [2022-04-06T00:39:58.259Z] 8663204ce13b: Pull complete [2022-04-06T00:39:58.259Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T00:39:58.259Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T00:39:58.259Z] ---> e04c818066af [2022-04-06T00:39:58.259Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T00:39:58.259Z] ---> Running in 2935c1ff8663 [2022-04-06T00:39:58.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-06T00:39:58.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-06T00:39:59.042Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T00:39:59.042Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T00:39:59.042Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T00:39:59.042Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T00:39:59.042Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T00:39:59.042Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T00:39:59.042Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T00:39:59.042Z] OK: 8 MiB in 20 packages [2022-04-06T00:39:59.615Z] Removing intermediate container 2935c1ff8663 [2022-04-06T00:39:59.615Z] ---> 2a20fd52d4fc [2022-04-06T00:39:59.615Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-06T00:40:00.194Z] ---> 48955b752462 [2022-04-06T00:40:00.194Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-06T00:40:00.194Z] ---> f34d0b9d4408 [2022-04-06T00:40:00.194Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-06T00:40:00.194Z] ---> 2b18a280c697 [2022-04-06T00:40:00.194Z] Step 18/24 : EXPOSE 59993 [2022-04-06T00:40:00.456Z] ---> Running in 82462176cf6e [2022-04-06T00:40:00.456Z] Removing intermediate container 82462176cf6e [2022-04-06T00:40:00.456Z] ---> d9683cb3e60a [2022-04-06T00:40:00.456Z] Step 19/24 : EXPOSE 161 [2022-04-06T00:40:00.456Z] ---> Running in 5e422abd922c [2022-04-06T00:40:00.456Z] Removing intermediate container 5e422abd922c [2022-04-06T00:40:00.456Z] ---> f639cb811361 [2022-04-06T00:40:00.456Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-06T00:40:00.722Z] ---> Running in 0b066ff734a8 [2022-04-06T00:40:00.722Z] Removing intermediate container 0b066ff734a8 [2022-04-06T00:40:00.722Z] ---> 985d58bf1cba [2022-04-06T00:40:00.722Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-06T00:40:00.722Z] ---> Running in 314acfa70de2 [2022-04-06T00:40:00.722Z] Removing intermediate container 314acfa70de2 [2022-04-06T00:40:00.722Z] ---> ee6cf363624e [2022-04-06T00:40:00.722Z] Step 22/24 : LABEL arch=amd64 [2022-04-06T00:40:00.989Z] ---> Running in 164d58768474 [2022-04-06T00:40:00.989Z] Removing intermediate container 164d58768474 [2022-04-06T00:40:00.989Z] ---> cd4fd41e9810 [2022-04-06T00:40:00.989Z] Step 23/24 : LABEL git_sha=97f5f388121dc6ef09dfef889733b622a9a06ea5 [2022-04-06T00:40:00.989Z] ---> Running in 54ec77008116 [2022-04-06T00:40:00.989Z] Removing intermediate container 54ec77008116 [2022-04-06T00:40:00.989Z] ---> 88df40f47a05 [2022-04-06T00:40:00.989Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T00:40:01.254Z] ---> Running in 56eddc6d9161 [2022-04-06T00:40:01.254Z] Removing intermediate container 56eddc6d9161 [2022-04-06T00:40:01.254Z] ---> 6aed5ccf4de3 [2022-04-06T00:40:01.254Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T00:40:01.254Z] Successfully built 6aed5ccf4de3 [2022-04-06T00:40:01.254Z] 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-06T00:40:02.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T00:40:02.010Z] [2022-04-06T00:40:02.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:40:02.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T00:40:02.361Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T00:40:02.361Z] 5eb5b503b376: Pulling fs layer [2022-04-06T00:40:02.361Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T00:40:02.361Z] ec43610c2a17: Pulling fs layer [2022-04-06T00:40:02.361Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T00:40:02.361Z] 33b1e0a273af: Pulling fs layer [2022-04-06T00:40:02.361Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T00:40:02.361Z] 2f39f015ded8: Pulling fs layer [2022-04-06T00:40:02.361Z] 3a2ae6a8a46f: Waiting [2022-04-06T00:40:02.361Z] 5d3b04190fa2: Waiting [2022-04-06T00:40:02.361Z] 33b1e0a273af: Waiting [2022-04-06T00:40:02.361Z] 5c69ac0246d0: Verifying Checksum [2022-04-06T00:40:02.361Z] 5c69ac0246d0: Download complete [2022-04-06T00:40:02.361Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T00:40:02.361Z] 3a2ae6a8a46f: Download complete [2022-04-06T00:40:02.361Z] 33b1e0a273af: Verifying Checksum [2022-04-06T00:40:02.361Z] 33b1e0a273af: Download complete [2022-04-06T00:40:02.361Z] ec43610c2a17: Verifying Checksum [2022-04-06T00:40:02.361Z] ec43610c2a17: Download complete [2022-04-06T00:40:02.361Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T00:40:02.361Z] 5d3b04190fa2: Download complete [2022-04-06T00:40:02.621Z] 5eb5b503b376: Verifying Checksum [2022-04-06T00:40:02.621Z] 5eb5b503b376: Download complete [2022-04-06T00:40:03.199Z] 2f39f015ded8: Download complete [2022-04-06T00:40:03.774Z] 5eb5b503b376: Pull complete [2022-04-06T00:40:03.774Z] 5c69ac0246d0: Pull complete [2022-04-06T00:40:04.348Z] ec43610c2a17: Pull complete [2022-04-06T00:40:04.348Z] 3a2ae6a8a46f: Pull complete [2022-04-06T00:40:04.608Z] 33b1e0a273af: Pull complete [2022-04-06T00:40:04.608Z] 5d3b04190fa2: Pull complete [2022-04-06T00:40:08.806Z] 2f39f015ded8: Pull complete [2022-04-06T00:40:08.806Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T00:40:08.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T00:40:08.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T00:40:08.892Z] prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container [2022-04-06T00:40:08.931Z] $ 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-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T00:40:10.574Z] $ docker top 352c868c0da2e6116626e0840b1846db7d937fbcc4795015528adba5eab1e775 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:40:11.013Z] ---> job-cost.sh [2022-04-06T00:40:11.013Z] lf-activate-venv: SKIPPING [2022-04-06T00:40:11.013Z] INFO: No Stack... [2022-04-06T00:40:11.275Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T00:40:11.844Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T00:40:12.163Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-149/archives/cost.csv [2022-04-06T00:40:12.163Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T00:40:12.393Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [2022-04-06T00:40:12.397Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] did not exist. Created. [2022-04-06T00:40:12.397Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T00:40:12.788Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T00:40:12.870Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T00:40:12.903Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T00:40:12.983Z] $ docker stop --time=1 352c868c0da2e6116626e0840b1846db7d937fbcc4795015528adba5eab1e775 [2022-04-06T00:40:14.159Z] $ docker rm -f 352c868c0da2e6116626e0840b1846db7d937fbcc4795015528adba5eab1e775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T00:42:01.549Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10803 in /w/workspace/gexfoundry_device-snmp-go_PR-149 [Pipeline] { [Pipeline] ws [2022-04-06T00:42:01.589Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-06T00:42:02.104Z] Selected Git installation does not exist. Using Default [2022-04-06T00:42:02.104Z] The recommended git tool is: NONE [2022-04-06T00:42:11.360Z] using credential edgex-jenkins-ssh [2022-04-06T00:42:11.385Z] Cloning the remote Git repository [2022-04-06T00:42:11.484Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-06T00:42:11.675Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-06T00:42:11.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-06T00:42:11.809Z] > git --version # timeout=10 [2022-04-06T00:42:11.831Z] > git --version # 'git version 2.25.1' [2022-04-06T00:42:11.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T00:42:11.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T00:42:13.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-06T00:42:13.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T00:42:13.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-06T00:42:13.113Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-06T00:42:13.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T00:42:13.138Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-06T00:42:13.746Z] Merging remotes/origin/main commit 480fc110605f705546cd9b1d947e4f522cca56d6 into PR head commit 97f5f388121dc6ef09dfef889733b622a9a06ea5 [2022-04-06T00:42:14.006Z] Merge succeeded, producing 97f5f388121dc6ef09dfef889733b622a9a06ea5 [2022-04-06T00:42:14.006Z] Checking out Revision 97f5f388121dc6ef09dfef889733b622a9a06ea5 (PR-149) [2022-04-06T00:42:13.773Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T00:42:13.792Z] > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # timeout=10 [2022-04-06T00:42:13.893Z] > git remote # timeout=10 [2022-04-06T00:42:13.918Z] > git config --get remote.origin.url # timeout=10 [2022-04-06T00:42:13.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T00:42:13.953Z] > git merge 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 [2022-04-06T00:42:13.983Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-06T00:42:14.020Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T00:42:14.040Z] > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # timeout=10 [2022-04-06T00:42:18.465Z] Commit message: "build(deps): Update device-sdk-go" [2022-04-06T00:42:18.538Z] > git --version # timeout=10 [2022-04-06T00:42:18.551Z] > git --version # 'git version 2.25.1' [2022-04-06T00:42:18.572Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T00:42:19.580Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T00:42:19.580Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T00:42:19.580Z] Dload Upload Total Spent Left Speed [2022-04-06T00:42:19.580Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-04-06T00:42:20.134Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T00:42:20.495Z] + sudo tee /etc/docker/daemon.new [2022-04-06T00:42:20.495Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T00:42:20.495Z] { [2022-04-06T00:42:20.495Z] "registry-mirrors": [ [2022-04-06T00:42:20.495Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T00:42:20.495Z] ], [2022-04-06T00:42:20.495Z] "bip": "10.250.0.254/24", [2022-04-06T00:42:20.495Z] "hosts": [ [2022-04-06T00:42:20.495Z] "tcp://0.0.0.0:5555", [2022-04-06T00:42:20.495Z] "unix:///var/run/docker.sock" [2022-04-06T00:42:20.495Z] ], [2022-04-06T00:42:20.495Z] "mtu": 1458, [2022-04-06T00:42:20.495Z] "selinux-enabled": true, [2022-04-06T00:42:20.495Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T00:42:20.495Z] } [Pipeline] sh [2022-04-06T00:42:20.861Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T00:42:21.305Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T00:42:39.745Z] provisioning config files... [2022-04-06T00:42:39.780Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4818932518668390056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:42:40.383Z] ---> docker-login.sh [2022-04-06T00:42:40.383Z] nexus3.edgexfoundry.org:10001 [2022-04-06T00:42:40.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:42:41.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:42:41.587Z] Configure a credential helper to remove this warning. See [2022-04-06T00:42:41.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:42:41.587Z] [2022-04-06T00:42:41.587Z] Login Succeeded [2022-04-06T00:42:41.587Z] nexus3.edgexfoundry.org:10002 [2022-04-06T00:42:41.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:42:41.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:42:41.861Z] Configure a credential helper to remove this warning. See [2022-04-06T00:42:41.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:42:41.861Z] [2022-04-06T00:42:41.861Z] Login Succeeded [2022-04-06T00:42:41.861Z] nexus3.edgexfoundry.org:10003 [2022-04-06T00:42:42.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:42:42.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:42:42.470Z] Configure a credential helper to remove this warning. See [2022-04-06T00:42:42.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:42:42.470Z] [2022-04-06T00:42:42.470Z] Login Succeeded [2022-04-06T00:42:42.470Z] nexus3.edgexfoundry.org:10004 [2022-04-06T00:42:42.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:42:43.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:42:43.027Z] Configure a credential helper to remove this warning. See [2022-04-06T00:42:43.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:42:43.027Z] [2022-04-06T00:42:43.027Z] Login Succeeded [2022-04-06T00:42:43.027Z] docker.io [2022-04-06T00:42:43.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T00:42:43.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T00:42:43.915Z] Configure a credential helper to remove this warning. See [2022-04-06T00:42:43.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T00:42:43.915Z] [2022-04-06T00:42:43.915Z] Login Succeeded [2022-04-06T00:42:43.915Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T00:42:43.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T00:42:44.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T00:42:44.429Z] ========================================================= [2022-04-06T00:42:44.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T00:42:44.429Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:42:44.886Z] + 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-06T00:42:45.161Z] Sending build context to Docker daemon 2.741MB [2022-04-06T00:42:45.444Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T00:42:45.444Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T00:42:45.444Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T00:42:45.444Z] 9b3977197b4f: Pulling fs layer [2022-04-06T00:42:45.444Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T00:42:45.444Z] 94645a83ff95: Pulling fs layer [2022-04-06T00:42:45.444Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T00:42:45.444Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T00:42:45.444Z] f7c0051592d6: Pulling fs layer [2022-04-06T00:42:45.444Z] a227ed2f7395: Pulling fs layer [2022-04-06T00:42:45.444Z] 7b1c46037f91: Pulling fs layer [2022-04-06T00:42:45.444Z] 3f3a8bcf1eab: Waiting [2022-04-06T00:42:45.444Z] 0c92f367c5e7: Waiting [2022-04-06T00:42:45.444Z] f7c0051592d6: Waiting [2022-04-06T00:42:45.444Z] a227ed2f7395: Waiting [2022-04-06T00:42:45.444Z] 7b1c46037f91: Waiting [2022-04-06T00:42:45.444Z] 94645a83ff95: Verifying Checksum [2022-04-06T00:42:45.444Z] 94645a83ff95: Download complete [2022-04-06T00:42:45.444Z] 1a89e8eeedd5: Verifying Checksum [2022-04-06T00:42:45.444Z] 1a89e8eeedd5: Download complete [2022-04-06T00:42:45.444Z] 0c92f367c5e7: Verifying Checksum [2022-04-06T00:42:45.444Z] 0c92f367c5e7: Download complete [2022-04-06T00:42:45.719Z] f7c0051592d6: Download complete [2022-04-06T00:42:45.719Z] 9b3977197b4f: Verifying Checksum [2022-04-06T00:42:45.719Z] a227ed2f7395: Verifying Checksum [2022-04-06T00:42:45.719Z] a227ed2f7395: Download complete [2022-04-06T00:42:46.352Z] 9b3977197b4f: Pull complete [2022-04-06T00:42:47.352Z] 1a89e8eeedd5: Pull complete [2022-04-06T00:42:47.642Z] 94645a83ff95: Pull complete [2022-04-06T00:42:47.919Z] 7b1c46037f91: Verifying Checksum [2022-04-06T00:42:47.920Z] 7b1c46037f91: Download complete [2022-04-06T00:42:48.521Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T00:42:48.521Z] 3f3a8bcf1eab: Download complete [2022-04-06T00:43:00.960Z] 3f3a8bcf1eab: Pull complete [2022-04-06T00:43:00.960Z] 0c92f367c5e7: Pull complete [2022-04-06T00:43:01.239Z] f7c0051592d6: Pull complete [2022-04-06T00:43:01.514Z] a227ed2f7395: Pull complete [2022-04-06T00:43:08.244Z] 7b1c46037f91: Pull complete [2022-04-06T00:43:08.244Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T00:43:08.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T00:43:08.244Z] ---> f79e39bc4007 [2022-04-06T00:43:08.244Z] Step 3/12 : ARG MAKE='make build' [2022-04-06T00:43:09.231Z] ---> Running in d9e8e07b1ec2 [2022-04-06T00:43:09.513Z] Removing intermediate container d9e8e07b1ec2 [2022-04-06T00:43:09.513Z] ---> 45f08e5684ee [2022-04-06T00:43:09.513Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T00:43:09.513Z] ---> Running in b867154b18dc [2022-04-06T00:43:09.786Z] Removing intermediate container b867154b18dc [2022-04-06T00:43:09.786Z] ---> 55b82f0fa360 [2022-04-06T00:43:09.786Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T00:43:10.066Z] ---> Running in f141231696cd [2022-04-06T00:43:10.344Z] Removing intermediate container f141231696cd [2022-04-06T00:43:10.344Z] ---> 065c9aaf6a57 [2022-04-06T00:43:10.344Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T00:43:10.344Z] ---> Running in 2e0389326f9f [2022-04-06T00:43:12.328Z] Removing intermediate container 2e0389326f9f [2022-04-06T00:43:12.328Z] ---> 2a25d4828417 [2022-04-06T00:43:12.328Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T00:43:12.328Z] ---> Running in ace554d25b32 [2022-04-06T00:43:16.663Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T00:43:16.935Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T00:43:17.914Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T00:43:17.914Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T00:43:17.914Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T00:43:18.188Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T00:43:18.465Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T00:43:18.465Z] OK: 224 MiB in 56 packages [2022-04-06T00:43:19.456Z] Removing intermediate container ace554d25b32 [2022-04-06T00:43:19.456Z] ---> ac7684d608ca [2022-04-06T00:43:19.456Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-06T00:43:19.456Z] ---> Running in ac88e5705c2d [2022-04-06T00:43:19.739Z] Removing intermediate container ac88e5705c2d [2022-04-06T00:43:19.739Z] ---> 2fc225e5d713 [2022-04-06T00:43:19.739Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-06T00:43:20.346Z] ---> 3e5504012d0a [2022-04-06T00:43:20.346Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T00:43:20.347Z] ---> Running in cb9d7baa55fe [2022-04-06T00:44:16.932Z] Removing intermediate container cb9d7baa55fe [2022-04-06T00:44:16.932Z] ---> 6ba68d80b94d [2022-04-06T00:44:16.932Z] Step 11/12 : COPY . . [2022-04-06T00:44:16.932Z] ---> 6e3be8634479 [2022-04-06T00:44:16.932Z] Step 12/12 : RUN ${MAKE} [2022-04-06T00:44:16.932Z] ---> Running in 65cff66d187a [2022-04-06T00:44:16.932Z] noop [2022-04-06T00:44:16.932Z] Removing intermediate container 65cff66d187a [2022-04-06T00:44:16.932Z] ---> 37864f3dec1c [2022-04-06T00:44:16.932Z] Successfully built 37864f3dec1c [2022-04-06T00:44:16.932Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:44:17.313Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T00:44:17.313Z] . [Pipeline] withDockerContainer [2022-04-06T00:44:17.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container [2022-04-06T00:44:17.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T00:44:19.188Z] $ docker top d0e044b70d1ab95920bb3c7c1cf7d4199e4bcb05b62bb681b6d852731aea1010 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T00:44:20.196Z] + go version [2022-04-06T00:44:20.196Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T00:44:20.243Z] $ docker stop --time=1 d0e044b70d1ab95920bb3c7c1cf7d4199e4bcb05b62bb681b6d852731aea1010 [2022-04-06T00:44:22.009Z] $ docker rm -f d0e044b70d1ab95920bb3c7c1cf7d4199e4bcb05b62bb681b6d852731aea1010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:44:22.937Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T00:44:22.938Z] . [Pipeline] withDockerContainer [2022-04-06T00:44:23.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container [2022-04-06T00:44:23.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T00:44:24.806Z] $ docker top d3a81fbf07b0b527cbdda2a7fae94d5baa3cfde6cc09284b9395df1c0f85654d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T00:44:25.864Z] + make test [2022-04-06T00:44:25.865Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-06T00:44:27.326Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-06T00:46:04.232Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-06T00:46:04.232Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements [2022-04-06T00:46:04.232Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T00:46:04.232Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T00:46:26.507Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T00:46:26.507Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T00:46:26.507Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T00:46:29.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T00:46:29.976Z] $ docker stop --time=1 d3a81fbf07b0b527cbdda2a7fae94d5baa3cfde6cc09284b9395df1c0f85654d [2022-04-06T00:46:31.805Z] $ docker rm -f d3a81fbf07b0b527cbdda2a7fae94d5baa3cfde6cc09284b9395df1c0f85654d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T00:46:32.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T00:46:32.934Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T00:46:33.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T00:46:34.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T00:46:34.405Z] + ls -al . [2022-04-06T00:46:34.405Z] total 160 [2022-04-06T00:46:34.405Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 00:46 . [2022-04-06T00:46:34.405Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 00:42 .. [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 00:42 .dockerignore [2022-04-06T00:46:34.405Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 00:42 .git [2022-04-06T00:46:34.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:42 .github [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 00:42 .gitignore [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 00:42 .golangci.yml [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 00:42 Attribution.txt [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 00:42 CHANGELOG.md [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 00:42 Dockerfile [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 00:42 GOVERNANCE.md [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 00:42 Jenkinsfile [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 00:42 LICENSE [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 00:42 Makefile [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 00:42 OWNERS.md [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 00:42 README.md [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 00:38 VERSION [2022-04-06T00:46:34.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:42 bin [2022-04-06T00:46:34.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:42 cmd [2022-04-06T00:46:34.405Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 00:45 coverage.out [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 00:42 go.mod [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 6 00:42 go.sum [2022-04-06T00:46:34.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:42 internal [2022-04-06T00:46:34.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:42 snap [2022-04-06T00:46:34.405Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 00:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:46:34.796Z] + 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=97f5f388121dc6ef09dfef889733b622a9a06ea5 --label arch=arm64 --label version=0.0.0 . [2022-04-06T00:46:35.074Z] Sending build context to Docker daemon 2.749MB [2022-04-06T00:46:35.074Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T00:46:35.074Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T00:46:35.074Z] ---> 37864f3dec1c [2022-04-06T00:46:35.074Z] Step 3/24 : ARG MAKE='make build' [2022-04-06T00:46:35.349Z] ---> Running in da2ee1a58b5d [2022-04-06T00:46:35.621Z] Removing intermediate container da2ee1a58b5d [2022-04-06T00:46:35.621Z] ---> 8009a6cb7584 [2022-04-06T00:46:35.621Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T00:46:35.621Z] ---> Running in 525616da14d6 [2022-04-06T00:46:35.897Z] Removing intermediate container 525616da14d6 [2022-04-06T00:46:35.897Z] ---> d5400cc8b5c0 [2022-04-06T00:46:35.897Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T00:46:36.172Z] ---> Running in b3eb70db2c5b [2022-04-06T00:46:36.449Z] Removing intermediate container b3eb70db2c5b [2022-04-06T00:46:36.449Z] ---> 5601d8a7eaf0 [2022-04-06T00:46:36.449Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T00:46:36.449Z] ---> Running in 837309b3838c [2022-04-06T00:46:38.421Z] Removing intermediate container 837309b3838c [2022-04-06T00:46:38.421Z] ---> 35ac62d1c6b9 [2022-04-06T00:46:38.421Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T00:46:38.421Z] ---> Running in ad6b31335acd [2022-04-06T00:46:39.014Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T00:46:39.995Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T00:46:40.973Z] OK: 224 MiB in 56 packages [2022-04-06T00:46:41.954Z] Removing intermediate container ad6b31335acd [2022-04-06T00:46:41.954Z] ---> 9b722c56d230 [2022-04-06T00:46:41.954Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-06T00:46:41.954Z] ---> Running in 2e734e1680e6 [2022-04-06T00:46:42.229Z] Removing intermediate container 2e734e1680e6 [2022-04-06T00:46:42.229Z] ---> f918c1793ead [2022-04-06T00:46:42.229Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-06T00:46:42.507Z] ---> 1c77940798f4 [2022-04-06T00:46:42.507Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T00:46:42.788Z] ---> Running in ecd5e816bfdf [2022-04-06T00:46:44.820Z] Removing intermediate container ecd5e816bfdf [2022-04-06T00:46:44.820Z] ---> f4b4817cb9e2 [2022-04-06T00:46:44.820Z] Step 11/24 : COPY . . [2022-04-06T00:46:45.814Z] ---> f4fedd47c03b [2022-04-06T00:46:45.814Z] Step 12/24 : RUN ${MAKE} [2022-04-06T00:46:45.814Z] ---> Running in d9da406d012c [2022-04-06T00:46:46.808Z] 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-06T00:48:23.739Z] Removing intermediate container d9da406d012c [2022-04-06T00:48:23.739Z] ---> 48ece55852a2 [2022-04-06T00:48:23.739Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T00:48:23.739Z] 3.14: Pulling from library/alpine [2022-04-06T00:48:23.739Z] 455c02918c45: Pulling fs layer [2022-04-06T00:48:23.739Z] 455c02918c45: Verifying Checksum [2022-04-06T00:48:23.739Z] 455c02918c45: Download complete [2022-04-06T00:48:23.739Z] 455c02918c45: Pull complete [2022-04-06T00:48:23.739Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T00:48:23.739Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T00:48:23.739Z] ---> ac73e934f311 [2022-04-06T00:48:23.739Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T00:48:23.739Z] ---> Running in f51f439adae8 [2022-04-06T00:48:23.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-06T00:48:23.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-06T00:48:23.739Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T00:48:23.739Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T00:48:23.739Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T00:48:23.739Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T00:48:23.739Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T00:48:23.739Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T00:48:23.739Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T00:48:23.739Z] OK: 8 MiB in 20 packages [2022-04-06T00:48:23.739Z] Removing intermediate container f51f439adae8 [2022-04-06T00:48:23.739Z] ---> 1f604a5bfaca [2022-04-06T00:48:23.739Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-06T00:48:23.739Z] ---> d612c612edb4 [2022-04-06T00:48:23.739Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-06T00:48:23.739Z] ---> a67733a90482 [2022-04-06T00:48:23.739Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-06T00:48:23.739Z] ---> 8f6d3caf6897 [2022-04-06T00:48:23.739Z] Step 18/24 : EXPOSE 59993 [2022-04-06T00:48:23.739Z] ---> Running in 7167ef2f5500 [2022-04-06T00:48:23.739Z] Removing intermediate container 7167ef2f5500 [2022-04-06T00:48:23.739Z] ---> 2c2e8cfd57fb [2022-04-06T00:48:23.739Z] Step 19/24 : EXPOSE 161 [2022-04-06T00:48:23.739Z] ---> Running in 4ec6b8a1e505 [2022-04-06T00:48:23.739Z] Removing intermediate container 4ec6b8a1e505 [2022-04-06T00:48:23.739Z] ---> 9104424ecb99 [2022-04-06T00:48:23.739Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-06T00:48:23.739Z] ---> Running in 4208dc34a723 [2022-04-06T00:48:23.739Z] Removing intermediate container 4208dc34a723 [2022-04-06T00:48:23.739Z] ---> 25495c9dc2d9 [2022-04-06T00:48:23.739Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-06T00:48:23.739Z] ---> Running in ebdeb9f8f169 [2022-04-06T00:48:23.739Z] Removing intermediate container ebdeb9f8f169 [2022-04-06T00:48:23.739Z] ---> 2fcd0b34b54e [2022-04-06T00:48:23.739Z] Step 22/24 : LABEL arch=arm64 [2022-04-06T00:48:23.739Z] ---> Running in 5b33f206daba [2022-04-06T00:48:23.739Z] Removing intermediate container 5b33f206daba [2022-04-06T00:48:23.739Z] ---> e6b5cbb46019 [2022-04-06T00:48:23.739Z] Step 23/24 : LABEL git_sha=97f5f388121dc6ef09dfef889733b622a9a06ea5 [2022-04-06T00:48:23.739Z] ---> Running in 71086004afea [2022-04-06T00:48:23.739Z] Removing intermediate container 71086004afea [2022-04-06T00:48:23.739Z] ---> a72fc6dac99b [2022-04-06T00:48:23.739Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T00:48:23.739Z] ---> Running in 158a96ee2669 [2022-04-06T00:48:24.344Z] Removing intermediate container 158a96ee2669 [2022-04-06T00:48:24.344Z] ---> ae3634c4fa11 [2022-04-06T00:48:24.344Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T00:48:24.344Z] Successfully built ae3634c4fa11 [2022-04-06T00:48:24.344Z] 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-06T00:48:25.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T00:48:25.052Z] [2022-04-06T00:48:25.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:48:25.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T00:48:26.008Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T00:48:26.008Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T00:48:26.008Z] 04944245beec: Pulling fs layer [2022-04-06T00:48:26.008Z] 699f458cf7ca: Pulling fs layer [2022-04-06T00:48:26.008Z] 765212b225bb: Pulling fs layer [2022-04-06T00:48:26.008Z] f23df028b6ca: Pulling fs layer [2022-04-06T00:48:26.008Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T00:48:26.008Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T00:48:26.008Z] 765212b225bb: Waiting [2022-04-06T00:48:26.008Z] f23df028b6ca: Waiting [2022-04-06T00:48:26.008Z] 2437ff75d9bd: Waiting [2022-04-06T00:48:26.008Z] d65c8cfc05b1: Waiting [2022-04-06T00:48:26.008Z] 04944245beec: Verifying Checksum [2022-04-06T00:48:26.008Z] 04944245beec: Download complete [2022-04-06T00:48:26.008Z] 765212b225bb: Verifying Checksum [2022-04-06T00:48:26.008Z] 765212b225bb: Download complete [2022-04-06T00:48:26.287Z] f23df028b6ca: Download complete [2022-04-06T00:48:26.287Z] 699f458cf7ca: Verifying Checksum [2022-04-06T00:48:26.287Z] 699f458cf7ca: Download complete [2022-04-06T00:48:26.567Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T00:48:26.567Z] 8998bd30e6a1: Download complete [2022-04-06T00:48:29.216Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T00:48:29.216Z] 2437ff75d9bd: Download complete [2022-04-06T00:48:31.853Z] 8998bd30e6a1: Pull complete [2022-04-06T00:48:32.128Z] 04944245beec: Pull complete [2022-04-06T00:48:33.568Z] 699f458cf7ca: Pull complete [2022-04-06T00:48:33.844Z] 765212b225bb: Pull complete [2022-04-06T00:48:34.832Z] f23df028b6ca: Pull complete [2022-04-06T00:48:35.107Z] d65c8cfc05b1: Pull complete [2022-04-06T00:48:50.238Z] 2437ff75d9bd: Pull complete [2022-04-06T00:48:50.238Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T00:48:50.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T00:48:50.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T00:48:50.538Z] prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container [2022-04-06T00:48:50.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-06T00:48:53.684Z] $ docker top ec1a8ae34cbb8a24865db65a15b8c4495e0a08aa17d550ee35c1f394ead6c1af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:48:54.713Z] ---> job-cost.sh [2022-04-06T00:48:54.713Z] lf-activate-venv: SKIPPING [2022-04-06T00:48:54.713Z] INFO: No Stack... [2022-04-06T00:48:54.992Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T00:48:55.980Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T00:48:56.677Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-04-06T00:48:56.677Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T00:48:56.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [2022-04-06T00:48:56.777Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] did not exist. Created. [2022-04-06T00:48:56.777Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T00:48:57.537Z] /w/workspace/device-snmp-go/1@tmp/durable-4d8870e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T00:48:58.248Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T00:48:58.282Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T00:48:58.338Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T00:48:58.355Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T00:48:58.439Z] $ docker stop --time=1 ec1a8ae34cbb8a24865db65a15b8c4495e0a08aa17d550ee35c1f394ead6c1af [2022-04-06T00:49:00.102Z] $ docker rm -f ec1a8ae34cbb8a24865db65a15b8c4495e0a08aa17d550ee35c1f394ead6c1af [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-06T00:49:01.273Z] provisioning config files... [2022-04-06T00:49:01.282Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config1535788804891344013tmp [Pipeline] { [Pipeline] sh [2022-04-06T00:49:01.621Z] + set +x [2022-04-06T00:49:01.621Z] + bash -s -- [2022-04-06T00:49:01.621Z] + curl -s https://codecov.io/bash [2022-04-06T00:49:01.621Z] [2022-04-06T00:49:01.621Z] _____ _ [2022-04-06T00:49:01.621Z] / ____| | | [2022-04-06T00:49:01.621Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T00:49:01.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T00:49:01.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T00:49:01.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T00:49:01.621Z] Bash-1.0.6 [2022-04-06T00:49:01.621Z] [2022-04-06T00:49:01.621Z] [2022-04-06T00:49:01.621Z] ==> git version 2.25.1 found [2022-04-06T00:49:01.621Z] ==> 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-06T00:49:01.621Z] Release-Date: 2020-01-08 [2022-04-06T00:49:01.621Z] 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-06T00:49:01.621Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T00:49:01.621Z] ==> Jenkins CI detected. [2022-04-06T00:49:01.621Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-149 [2022-04-06T00:49:01.621Z] project root: . [2022-04-06T00:49:01.621Z] --> token set from env [2022-04-06T00:49:01.621Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T00:49:01.621Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T00:49:01.621Z] ==> Python coveragepy not found [2022-04-06T00:49:01.621Z] ==> Searching for coverage reports in: [2022-04-06T00:49:01.621Z] + . [2022-04-06T00:49:01.621Z] -> Found 1 reports [2022-04-06T00:49:01.621Z] ==> Detecting git/mercurial file structure [2022-04-06T00:49:01.621Z] ==> Reading reports [2022-04-06T00:49:01.621Z] + ./coverage.out bytes=7631 [2022-04-06T00:49:01.621Z] ==> Appending adjustments [2022-04-06T00:49:01.621Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T00:49:01.621Z] + Found adjustments [2022-04-06T00:49:01.882Z] ==> Gzipping contents [2022-04-06T00:49:01.882Z] 4.0K /tmp/codecov.h4r2Fg.gz [2022-04-06T00:49:01.882Z] ==> Uploading reports [2022-04-06T00:49:01.882Z] url: https://codecov.io [2022-04-06T00:49:01.882Z] query: branch=PR-149&commit=97f5f388121dc6ef09dfef889733b622a9a06ea5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-04-06T00:49:01.882Z] -> Pinging Codecov [2022-04-06T00:49:01.882Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-149&commit=97f5f388121dc6ef09dfef889733b622a9a06ea5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-04-06T00:49:01.882Z] -> Uploading to [2022-04-06T00:49:01.882Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/6C56EA5C29638FB4528AC87E60AF5AE0/97f5f388121dc6ef09dfef889733b622a9a06ea5/7ff12928-a1a8-45c8-9e6e-86be9453dd43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T004901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ffac28ff8c5434a3b79f7db36a84b0ac9cd39234a7f3d33319b96d89d08f63d [2022-04-06T00:49:01.882Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T00:49:01.882Z] Dload Upload Total Spent Left Speed [2022-04-06T00:49:02.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7296 --:--:-- --:--:-- --:--:-- 7296 [2022-04-06T00:49:02.142Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] } [2022-04-06T00:49:02.172Z] 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-06T00:49:03.848Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-149/archives ] [2022-04-06T00:49:03.848Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-149/archives [2022-04-06T00:49:03.848Z] total 16 [2022-04-06T00:49:03.848Z] drwxr-xr-x 3 root root 4096 Apr 6 00:40 . [2022-04-06T00:49:03.848Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 00:40 .. [2022-04-06T00:49:03.848Z] drwxr-xr-x 2 root root 4096 Apr 6 00:40 cost [2022-04-06T00:49:03.848Z] -rw-r--r-- 1 root root 85 Apr 6 00:40 cost.csv [2022-04-06T00:49:03.849Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-149/archives [2022-04-06T00:49:03.849Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-149/archives [2022-04-06T00:49:03.849Z] total 16 [2022-04-06T00:49:03.849Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 00:40 . [2022-04-06T00:49:03.849Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 00:40 .. [2022-04-06T00:49:03.849Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 00:40 cost [2022-04-06T00:49:03.849Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 6 00:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:49:04.177Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:49:05.080Z] ---> package-listing.sh [2022-04-06T00:49:05.080Z] ++ facter osfamily [2022-04-06T00:49:05.080Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T00:49:05.340Z] + OS_FAMILY=debian [2022-04-06T00:49:05.340Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-149 [2022-04-06T00:49:05.340Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T00:49:05.340Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T00:49:05.340Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T00:49:05.340Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T00:49:05.340Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-149 ']' [2022-04-06T00:49:05.340Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T00:49:05.340Z] + case "${OS_FAMILY}" in [2022-04-06T00:49:05.340Z] + dpkg -l [2022-04-06T00:49:05.340Z] + grep '^ii' [2022-04-06T00:49:05.340Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T00:49:05.340Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T00:49:05.340Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T00:49:05.340Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-149 ']' [2022-04-06T00:49:05.340Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-149/archives/ [2022-04-06T00:49:05.340Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-149/archives/ [Pipeline] echo [2022-04-06T00:49:05.374Z] 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-06T00:49:05.671Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T00:49:06.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T00:49:06.256Z] . [Pipeline] withDockerContainer [2022-04-06T00:49:06.342Z] prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container [2022-04-06T00:49:06.383Z] $ 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-149/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-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@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-06T00:49:06.623Z] $ docker top ec7feba7d9c5c7b21ec3d3f7fb3d75a5c5907e5fa7769437cc865b3422410d41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T00:49:07.035Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T00:49:07.353Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T00:49:07.668Z] + ls /var/log/sa-host [2022-04-06T00:49:07.668Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T00:49:07.836Z] provisioning config files... [2022-04-06T00:49:07.845Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config5759227374842726773tmp [Pipeline] { [Pipeline] echo [2022-04-06T00:49:07.892Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:49:08.206Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T00:49:08.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:49:08.622Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T00:49:08.658Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:49:08.976Z] ---> sudo-logs.sh [2022-04-06T00:49:08.976Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T00:49:09.062Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:49:09.380Z] ---> job-cost.sh [2022-04-06T00:49:09.381Z] lf-activate-venv: SKIPPING [2022-04-06T00:49:09.381Z] DEBUG: total: 0.2199999988079071 [2022-04-06T00:49:09.381Z] INFO: Retrieving Stack Cost... [2022-04-06T00:49:09.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T00:49:10.213Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T00:49:10.247Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T00:49:10.569Z] ---> logs-deploy.sh [2022-04-06T00:49:10.569Z] lf-activate-venv: SKIPPING [2022-04-06T00:49:10.569Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-149/1 [2022-04-06T00:49:10.569Z] INFO: archiving workspace using pattern(s): [2022-04-06T00:49:11.511Z] Archives upload complete. [2022-04-06T00:49:11.511Z] INFO: archiving logs to Nexus