Pull request #154 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f0193f04b1afaa80afcfe95e70accdfed74906a+76bc78b56c3c6b32f516faff42577919f6a867f5 (a9c6641d277208d66bfceae228a75a19924f7b53) 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-ssh15329691313008703537.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-ssh15461628100650302108.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-154/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-154/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10020635447622548212.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-154/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1504395637389246118.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-ssh13468089396644618424.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-154/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-154/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh792230451131762048.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 Running on prd-ubuntu20.04-docker-8c-8g-19461 in /w/workspace/gexfoundry_device-snmp-go_PR-154 [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-154 # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit 4f0193f04b1afaa80afcfe95e70accdfed74906a Merge succeeded, producing 4f0193f04b1afaa80afcfe95e70accdfed74906a Checking out Revision 4f0193f04b1afaa80afcfe95e70accdfed74906a (PR-154) > 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/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f0193f04b1afaa80afcfe95e70accdfed74906a # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f0193f04b1afaa80afcfe95e70accdfed74906a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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-11T05:04:59.779Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T05:04:59.952Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T05:05:00.049Z] ========================================================= [2022-04-11T05:05:00.049Z] EdgeX Global Pipelines Version Info [2022-04-11T05:05:00.049Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:05:00.842Z] ------------------- [2022-04-11T05:05:00.842Z] stable info: [2022-04-11T05:05:00.842Z] ------------------- [2022-04-11T05:05:00.842Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T05:05:00.842Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T05:05:00.842Z] Message: update stable to v1.0.221 [2022-04-11T05:05:01.416Z] ------------------- [2022-04-11T05:05:01.416Z] experimental info: [2022-04-11T05:05:01.416Z] ------------------- [2022-04-11T05:05:01.416Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T05:05:01.416Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T05:05:01.416Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T05:05:01.669Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-11T05:05:01.709Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-11T05:05:01.751Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T05:05:01.796Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T05:05:01.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T05:05:01.877Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T05:05:01.933Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T05:05:01.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-11T05:05:02.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T05:05:02.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T05:05:02.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T05:05:02.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-11T05:05:02.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T05:05:02.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T05:05:02.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T05:05:02.301Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T05:05:02.337Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T05:05:02.379Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T05:05:02.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T05:05:02.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T05:05:02.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-11T05:05:02.541Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-11T05:05:02.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T05:05:02.627Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T05:05:02.666Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T05:05:02.703Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T05:05:02.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-154 [Pipeline] echo [2022-04-11T05:05:02.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-154 [Pipeline] echo [2022-04-11T05:05:02.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-154 [Pipeline] echo [2022-04-11T05:05:02.883Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f0193f04b1afaa80afcfe95e70accdfed74906a [Pipeline] echo [2022-04-11T05:05:02.921Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f0193f [Pipeline] echo [2022-04-11T05:05:02.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T05:05:03.071Z] provisioning config files... [2022-04-11T05:05:03.085Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config3441568589359121197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:05:03.428Z] ---> docker-login.sh [2022-04-11T05:05:03.428Z] nexus3.edgexfoundry.org:10001 [2022-04-11T05:05:03.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:03.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:03.691Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:03.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:03.691Z] [2022-04-11T05:05:03.691Z] Login Succeeded [2022-04-11T05:05:03.691Z] nexus3.edgexfoundry.org:10002 [2022-04-11T05:05:03.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:03.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:03.952Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:03.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:03.952Z] [2022-04-11T05:05:03.952Z] Login Succeeded [2022-04-11T05:05:03.952Z] nexus3.edgexfoundry.org:10003 [2022-04-11T05:05:03.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:03.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:03.952Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:03.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:03.952Z] [2022-04-11T05:05:03.952Z] Login Succeeded [2022-04-11T05:05:03.952Z] nexus3.edgexfoundry.org:10004 [2022-04-11T05:05:04.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:04.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:04.214Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:04.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:04.214Z] [2022-04-11T05:05:04.214Z] Login Succeeded [2022-04-11T05:05:04.214Z] docker.io [2022-04-11T05:05:04.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:04.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:04.484Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:04.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:04.484Z] [2022-04-11T05:05:04.484Z] Login Succeeded [2022-04-11T05:05:04.484Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T05:05:04.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T05:05:05.128Z] + git rev-list -1 --merges 4f0193f04b1afaa80afcfe95e70accdfed74906a~1..4f0193f04b1afaa80afcfe95e70accdfed74906a [Pipeline] echo [2022-04-11T05:05:05.311Z] -----------> git rev-list -1 --merges 4f0193f04b1afaa80afcfe95e70accdfed74906a~1..4f0193f04b1afaa80afcfe95e70accdfed74906a 4f0193f04b1afaa80afcfe95e70accdfed74906a [false] [Pipeline] sh [2022-04-11T05:05:05.631Z] + git log --format=format:%s -1 4f0193f04b1afaa80afcfe95e70accdfed74906a [Pipeline] echo [2022-04-11T05:05:05.665Z] ========================================================= [2022-04-11T05:05:05.666Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T05:05:05.666Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T05:05:06.085Z] + git log --format=format:%s -1 4f0193f04b1afaa80afcfe95e70accdfed74906a [Pipeline] echo [2022-04-11T05:05:06.117Z] [semverPrep] GIT_COMMIT: 4f0193f04b1afaa80afcfe95e70accdfed74906a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-11T05:05:06.147Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T05:05:06.565Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T05:05:06.565Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T05:05:06.565Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T05:05:06.565Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T05:05:06.565Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-11T05:05:06.565Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-11T05:05:06.565Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:05:06.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T05:05:06.946Z] [2022-04-11T05:05:06.946Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:05:07.298Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T05:05:07.298Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T05:05:07.298Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T05:05:07.298Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T05:05:07.298Z] 4c7163046ea9: Pulling fs layer [2022-04-11T05:05:07.298Z] 0c2d73faf560: Pulling fs layer [2022-04-11T05:05:07.298Z] 3e5f54012d9b: Download complete [2022-04-11T05:05:07.298Z] a0d0a0d46f8b: Download complete [2022-04-11T05:05:07.298Z] 0c2d73faf560: Verifying Checksum [2022-04-11T05:05:07.298Z] 0c2d73faf560: Download complete [2022-04-11T05:05:07.559Z] 4c7163046ea9: Verifying Checksum [2022-04-11T05:05:07.559Z] 4c7163046ea9: Download complete [2022-04-11T05:05:07.559Z] a0d0a0d46f8b: Pull complete [2022-04-11T05:05:07.559Z] 3e5f54012d9b: Pull complete [2022-04-11T05:05:07.819Z] 4c7163046ea9: Pull complete [2022-04-11T05:05:08.079Z] 0c2d73faf560: Pull complete [2022-04-11T05:05:08.079Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T05:05:08.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T05:05:08.079Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T05:05:08.181Z] prd-ubuntu20.04-docker-8c-8g-19461 does not seem to be running inside a container [2022-04-11T05:05:08.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T05:05:08.891Z] $ docker top e4b680d9e12d0edac8a762131580971e39b49503272d827cfd00a4ee121d1dad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T05:05:09.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T05:05:09.083Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T05:05:09.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T05:05:09.209Z] $ docker exec e4b680d9e12d0edac8a762131580971e39b49503272d827cfd00a4ee121d1dad ssh-agent [2022-04-11T05:05:09.330Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgKCddC/agent.14 [2022-04-11T05:05:09.331Z] SSH_AGENT_PID=20 [2022-04-11T05:05:09.339Z] Running ssh-add (command line suppressed) [2022-04-11T05:05:09.451Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_8553994487723008516.key (/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_8553994487723008516.key) [2022-04-11T05:05:09.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T05:05:09.790Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T05:05:09.824Z] $ docker exec --env ******** --env ******** e4b680d9e12d0edac8a762131580971e39b49503272d827cfd00a4ee121d1dad ssh-agent -k [2022-04-11T05:05:09.929Z] unset SSH_AUTH_SOCK; [2022-04-11T05:05:09.929Z] unset SSH_AGENT_PID; [2022-04-11T05:05:09.929Z] echo Agent pid 20 killed; [2022-04-11T05:05:09.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T05:05:10.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T05:05:10.022Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T05:05:10.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T05:05:10.164Z] $ docker exec e4b680d9e12d0edac8a762131580971e39b49503272d827cfd00a4ee121d1dad ssh-agent [2022-04-11T05:05:10.277Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNOBpan/agent.54 [2022-04-11T05:05:10.277Z] SSH_AGENT_PID=61 [2022-04-11T05:05:10.283Z] Running ssh-add (command line suppressed) [2022-04-11T05:05:10.401Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_3857374603838043179.key (/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/private_key_3857374603838043179.key) [2022-04-11T05:05:10.410Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T05:05:10.734Z] + git semver init [2022-04-11T05:05:10.734Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T05:05:10.734Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-154/.git [2022-04-11T05:05:10.734Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-154 [2022-04-11T05:05:10.734Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T05:05:10.734Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T05:05:10.734Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T05:05:10.734Z] # $SEMVER_BRANCH = PR-154 [2022-04-11T05:05:10.734Z] # $SEMVER_TEMP = /tmp/semver-092151057 [2022-04-11T05:05:10.734Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-11T05:05:11.682Z] # '/tmp/semver-092151057' -> '/w/workspace/gexfoundry_device-snmp-go_PR-154/.semver' [2022-04-11T05:05:11.682Z] # -> Force: false [2022-04-11T05:05:11.682Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-154/.semver [Pipeline] } [2022-04-11T05:05:11.714Z] $ docker exec --env ******** --env ******** e4b680d9e12d0edac8a762131580971e39b49503272d827cfd00a4ee121d1dad ssh-agent -k [2022-04-11T05:05:11.817Z] unset SSH_AUTH_SOCK; [2022-04-11T05:05:11.817Z] unset SSH_AGENT_PID; [2022-04-11T05:05:11.817Z] echo Agent pid 61 killed; [2022-04-11T05:05:11.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T05:05:12.262Z] + git semver [Pipeline] } [2022-04-11T05:05:12.299Z] $ docker stop --time=1 e4b680d9e12d0edac8a762131580971e39b49503272d827cfd00a4ee121d1dad [2022-04-11T05:05:13.652Z] $ docker rm -f e4b680d9e12d0edac8a762131580971e39b49503272d827cfd00a4ee121d1dad [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T05:05:14.071Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T05:05:14.401Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T05:05:14.424Z] [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-11T05:05:15.095Z] provisioning config files... [2022-04-11T05:05:15.108Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config3924027667668003487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:05:15.457Z] ---> docker-login.sh [2022-04-11T05:05:15.458Z] nexus3.edgexfoundry.org:10001 [2022-04-11T05:05:15.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:15.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:15.458Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:15.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:15.458Z] [2022-04-11T05:05:15.458Z] Login Succeeded [2022-04-11T05:05:15.458Z] nexus3.edgexfoundry.org:10002 [2022-04-11T05:05:15.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:15.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:15.722Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:15.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:15.722Z] [2022-04-11T05:05:15.722Z] Login Succeeded [2022-04-11T05:05:15.722Z] nexus3.edgexfoundry.org:10003 [2022-04-11T05:05:15.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:15.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:15.722Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:15.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:15.722Z] [2022-04-11T05:05:15.722Z] Login Succeeded [2022-04-11T05:05:15.722Z] nexus3.edgexfoundry.org:10004 [2022-04-11T05:05:15.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:15.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:15.984Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:15.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:15.984Z] [2022-04-11T05:05:15.984Z] Login Succeeded [2022-04-11T05:05:15.984Z] docker.io [2022-04-11T05:05:15.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:05:16.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:05:16.246Z] Configure a credential helper to remove this warning. See [2022-04-11T05:05:16.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:05:16.246Z] [2022-04-11T05:05:16.246Z] Login Succeeded [2022-04-11T05:05:16.246Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T05:05:16.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T05:05:16.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T05:05:16.504Z] ========================================================= [2022-04-11T05:05:16.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T05:05:16.504Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:05:16.915Z] + 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-11T05:05:16.915Z] Sending build context to Docker daemon 5.247MB [2022-04-11T05:05:16.915Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T05:05:16.915Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T05:05:16.915Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T05:05:16.915Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T05:05:16.915Z] 666ba61612fd: Pulling fs layer [2022-04-11T05:05:16.915Z] 8ed8ca486205: Pulling fs layer [2022-04-11T05:05:16.915Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T05:05:16.915Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T05:05:16.915Z] 640e595b4fbd: Pulling fs layer [2022-04-11T05:05:16.915Z] 763cafe07f6e: Pulling fs layer [2022-04-11T05:05:16.915Z] 0c0b528cf693: Pulling fs layer [2022-04-11T05:05:16.915Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T05:05:16.915Z] 22a0e8bec74d: Waiting [2022-04-11T05:05:16.915Z] 640e595b4fbd: Waiting [2022-04-11T05:05:16.915Z] 763cafe07f6e: Waiting [2022-04-11T05:05:16.915Z] 0c0b528cf693: Waiting [2022-04-11T05:05:16.915Z] 10935f4eaf8b: Waiting [2022-04-11T05:05:16.915Z] 4fe6c5a15a65: Waiting [2022-04-11T05:05:16.915Z] 8ed8ca486205: Verifying Checksum [2022-04-11T05:05:16.915Z] 8ed8ca486205: Download complete [2022-04-11T05:05:16.915Z] 666ba61612fd: Download complete [2022-04-11T05:05:17.178Z] 22a0e8bec74d: Download complete [2022-04-11T05:05:17.178Z] 640e595b4fbd: Verifying Checksum [2022-04-11T05:05:17.178Z] 640e595b4fbd: Download complete [2022-04-11T05:05:17.178Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T05:05:17.178Z] 59bf1c3509f3: Download complete [2022-04-11T05:05:17.178Z] 763cafe07f6e: Download complete [2022-04-11T05:05:17.178Z] 0c0b528cf693: Verifying Checksum [2022-04-11T05:05:17.178Z] 0c0b528cf693: Download complete [2022-04-11T05:05:17.178Z] 59bf1c3509f3: Pull complete [2022-04-11T05:05:17.439Z] 666ba61612fd: Pull complete [2022-04-11T05:05:17.439Z] 8ed8ca486205: Pull complete [2022-04-11T05:05:17.699Z] 10935f4eaf8b: Download complete [2022-04-11T05:05:17.699Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T05:05:17.699Z] 4fe6c5a15a65: Download complete [2022-04-11T05:05:20.989Z] 4fe6c5a15a65: Pull complete [2022-04-11T05:05:21.249Z] 22a0e8bec74d: Pull complete [2022-04-11T05:05:21.249Z] 640e595b4fbd: Pull complete [2022-04-11T05:05:21.249Z] 763cafe07f6e: Pull complete [2022-04-11T05:05:21.509Z] 0c0b528cf693: Pull complete [2022-04-11T05:05:23.416Z] 10935f4eaf8b: Pull complete [2022-04-11T05:05:23.416Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T05:05:23.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T05:05:23.416Z] ---> 99d49a6021b9 [2022-04-11T05:05:23.416Z] Step 3/12 : ARG MAKE='make build' [2022-04-11T05:05:24.803Z] ---> Running in e0d4761009ea [2022-04-11T05:05:24.803Z] Removing intermediate container e0d4761009ea [2022-04-11T05:05:24.803Z] ---> 63daabff530d [2022-04-11T05:05:24.803Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T05:05:24.803Z] ---> Running in 31e216f7b74d [2022-04-11T05:05:24.803Z] Removing intermediate container 31e216f7b74d [2022-04-11T05:05:24.803Z] ---> df15a1cb925f [2022-04-11T05:05:24.803Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T05:05:25.062Z] ---> Running in 995762c9960b [2022-04-11T05:05:25.062Z] Removing intermediate container 995762c9960b [2022-04-11T05:05:25.062Z] ---> 6d4ecf3c77d7 [2022-04-11T05:05:25.062Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T05:05:25.062Z] ---> Running in b8e02fe32759 [2022-04-11T05:05:25.630Z] Removing intermediate container b8e02fe32759 [2022-04-11T05:05:25.630Z] ---> f50178384597 [2022-04-11T05:05:25.630Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T05:05:25.630Z] ---> Running in b5a5890d0c82 [2022-04-11T05:05:25.890Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T05:05:26.836Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T05:05:27.097Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T05:05:27.097Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T05:05:27.364Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T05:05:27.365Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T05:05:27.623Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T05:05:27.623Z] OK: 224 MiB in 56 packages [2022-04-11T05:05:27.886Z] Removing intermediate container b5a5890d0c82 [2022-04-11T05:05:27.886Z] ---> 82469c0c4cf3 [2022-04-11T05:05:27.886Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-11T05:05:27.886Z] ---> Running in 118558690d8b [2022-04-11T05:05:28.147Z] Removing intermediate container 118558690d8b [2022-04-11T05:05:28.147Z] ---> 20ce5f0146bb [2022-04-11T05:05:28.147Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-11T05:05:28.147Z] ---> 6341bc6101e8 [2022-04-11T05:05:28.147Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T05:05:28.147Z] ---> Running in fad4ac1bbb9c [2022-04-11T05:05:29.918Z] Still waiting to schedule task [2022-04-11T05:05:29.918Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-19462’ is offline [2022-04-11T05:05:43.053Z] Removing intermediate container fad4ac1bbb9c [2022-04-11T05:05:43.053Z] ---> 8b4c1c86dd7e [2022-04-11T05:05:43.053Z] Step 11/12 : COPY . . [2022-04-11T05:05:43.053Z] ---> e33caa1c086e [2022-04-11T05:05:43.053Z] Step 12/12 : RUN ${MAKE} [2022-04-11T05:05:43.053Z] ---> Running in c8e797281667 [2022-04-11T05:05:43.053Z] noop [2022-04-11T05:05:43.053Z] Removing intermediate container c8e797281667 [2022-04-11T05:05:43.053Z] ---> b3c2c2d22db7 [2022-04-11T05:05:43.053Z] Successfully built b3c2c2d22db7 [2022-04-11T05:05:43.053Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:05:43.378Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T05:05:43.378Z] . [Pipeline] withDockerContainer [2022-04-11T05:05:43.473Z] prd-ubuntu20.04-docker-8c-8g-19461 does not seem to be running inside a container [2022-04-11T05:05:43.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@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 ******** ci-base-image-x86_64 cat [2022-04-11T05:05:43.885Z] $ docker top 147c5cae95dc45ad0d5986f98e04f8291c1a09968fce938536352ff6d85e4244 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T05:05:44.280Z] + go version [2022-04-11T05:05:44.280Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T05:05:44.318Z] $ docker stop --time=1 147c5cae95dc45ad0d5986f98e04f8291c1a09968fce938536352ff6d85e4244 [2022-04-11T05:05:45.604Z] $ docker rm -f 147c5cae95dc45ad0d5986f98e04f8291c1a09968fce938536352ff6d85e4244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:05:46.256Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T05:05:46.256Z] . [Pipeline] withDockerContainer [2022-04-11T05:05:46.339Z] prd-ubuntu20.04-docker-8c-8g-19461 does not seem to be running inside a container [2022-04-11T05:05:46.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@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 ******** ci-base-image-x86_64 cat [2022-04-11T05:05:46.745Z] $ docker top b7bec32bf7bb4233eebd39cf176252a65ccf36c9a7ab8d482eecde5b2535ed18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T05:05:47.183Z] + make test [2022-04-11T05:05:47.183Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T05:05:47.444Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-11T05:05:55.568Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-11T05:05:55.568Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-04-11T05:06:02.240Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T05:06:05.531Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T05:06:05.531Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T05:06:05.531Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T05:06:06.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T05:06:06.172Z] $ docker stop --time=1 b7bec32bf7bb4233eebd39cf176252a65ccf36c9a7ab8d482eecde5b2535ed18 [2022-04-11T05:06:07.903Z] $ docker rm -f b7bec32bf7bb4233eebd39cf176252a65ccf36c9a7ab8d482eecde5b2535ed18 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T05:06:08.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T05:06:08.463Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T05:06:09.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T05:06:09.539Z] + ls -al . [2022-04-11T05:06:09.539Z] total 184 [2022-04-11T05:06:09.539Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 05:06 . [2022-04-11T05:06:09.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 05:04 .. [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 11 05:04 .dockerignore [2022-04-11T05:06:09.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 05:04 .git [2022-04-11T05:06:09.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:04 .github [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 11 05:04 .gitignore [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 05:04 .golangci.yml [2022-04-11T05:06:09.539Z] drwx------ 3 jenkins jenkins 4096 Apr 11 05:05 .semver [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 11 05:04 Attribution.txt [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 11 05:04 CHANGELOG.md [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 11 05:04 Dockerfile [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 05:04 GOVERNANCE.md [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 11 05:04 Jenkinsfile [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 05:04 LICENSE [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 11 05:04 Makefile [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 05:04 OWNERS.md [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 11 05:04 README.md [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 05:05 VERSION [2022-04-11T05:06:09.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:04 bin [2022-04-11T05:06:09.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:04 cmd [2022-04-11T05:06:09.539Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 11 05:05 coverage.out [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 11 05:04 go.mod [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 54180 Apr 11 05:04 go.sum [2022-04-11T05:06:09.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:04 internal [2022-04-11T05:06:09.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:04 snap [2022-04-11T05:06:09.539Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 11 05:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:06:09.882Z] + 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=4f0193f04b1afaa80afcfe95e70accdfed74906a --label arch=amd64 --label version=0.0.0 . [2022-04-11T05:06:09.882Z] Sending build context to Docker daemon 5.255MB [2022-04-11T05:06:09.882Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T05:06:09.882Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-11T05:06:09.882Z] ---> b3c2c2d22db7 [2022-04-11T05:06:09.882Z] Step 3/24 : ARG MAKE='make build' [2022-04-11T05:06:09.882Z] ---> Running in 273f314d1e05 [2022-04-11T05:06:10.143Z] Removing intermediate container 273f314d1e05 [2022-04-11T05:06:10.143Z] ---> ec445abf3145 [2022-04-11T05:06:10.143Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T05:06:10.143Z] ---> Running in 19282e0f79d5 [2022-04-11T05:06:10.143Z] Removing intermediate container 19282e0f79d5 [2022-04-11T05:06:10.143Z] ---> 851053f0bfe0 [2022-04-11T05:06:10.143Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T05:06:10.143Z] ---> Running in 6e28dac38922 [2022-04-11T05:06:10.404Z] Removing intermediate container 6e28dac38922 [2022-04-11T05:06:10.404Z] ---> 4b771ca55254 [2022-04-11T05:06:10.404Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T05:06:10.404Z] ---> Running in f5a63fb9d27c [2022-04-11T05:06:10.978Z] Removing intermediate container f5a63fb9d27c [2022-04-11T05:06:10.978Z] ---> 47ea346a4829 [2022-04-11T05:06:10.978Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T05:06:10.978Z] ---> Running in f11778d3097a [2022-04-11T05:06:11.238Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T05:06:12.180Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T05:06:12.452Z] OK: 224 MiB in 56 packages [2022-04-11T05:06:12.711Z] Removing intermediate container f11778d3097a [2022-04-11T05:06:12.711Z] ---> 91c545a8b451 [2022-04-11T05:06:12.711Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-11T05:06:12.711Z] ---> Running in 37d75d0ba770 [2022-04-11T05:06:12.711Z] Removing intermediate container 37d75d0ba770 [2022-04-11T05:06:12.711Z] ---> 64597ffffd0f [2022-04-11T05:06:12.711Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-11T05:06:12.971Z] ---> 18374a89130b [2022-04-11T05:06:12.971Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T05:06:12.971Z] ---> Running in 7160a8156813 [2022-04-11T05:06:13.543Z] Removing intermediate container 7160a8156813 [2022-04-11T05:06:13.543Z] ---> caa7bb9aa285 [2022-04-11T05:06:13.543Z] Step 11/24 : COPY . . [2022-04-11T05:06:13.802Z] ---> a3f562b5b799 [2022-04-11T05:06:13.802Z] Step 12/24 : RUN ${MAKE} [2022-04-11T05:06:13.802Z] ---> Running in 11961ef5de3e [2022-04-11T05:06:14.061Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-11T05:06:32.164Z] Removing intermediate container 11961ef5de3e [2022-04-11T05:06:32.164Z] ---> a0cb1ad3a5f2 [2022-04-11T05:06:32.164Z] Step 13/24 : FROM alpine:3.14 [2022-04-11T05:06:32.425Z] 3.14: Pulling from library/alpine [2022-04-11T05:06:32.689Z] 8663204ce13b: Pulling fs layer [2022-04-11T05:06:32.689Z] 8663204ce13b: Verifying Checksum [2022-04-11T05:06:32.689Z] 8663204ce13b: Download complete [2022-04-11T05:06:32.959Z] 8663204ce13b: Pull complete [2022-04-11T05:06:32.959Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T05:06:32.959Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T05:06:32.959Z] ---> e04c818066af [2022-04-11T05:06:32.959Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T05:06:32.959Z] ---> Running in 2f510b18acf6 [2022-04-11T05:06:33.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T05:06:33.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T05:06:33.483Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T05:06:33.483Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T05:06:33.483Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T05:06:33.483Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T05:06:33.483Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T05:06:33.483Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T05:06:33.483Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T05:06:33.746Z] OK: 8 MiB in 20 packages [2022-04-11T05:06:34.007Z] Removing intermediate container 2f510b18acf6 [2022-04-11T05:06:34.007Z] ---> bd7ed9c76195 [2022-04-11T05:06:34.007Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-11T05:06:34.579Z] ---> a061495b1b62 [2022-04-11T05:06:34.579Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-11T05:06:34.839Z] ---> 6df96df27f95 [2022-04-11T05:06:34.839Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-11T05:06:34.839Z] ---> 610e0518fffa [2022-04-11T05:06:34.839Z] Step 18/24 : EXPOSE 59993 [2022-04-11T05:06:34.839Z] ---> Running in b42ef60ecf4b [2022-04-11T05:06:35.109Z] Removing intermediate container b42ef60ecf4b [2022-04-11T05:06:35.109Z] ---> b063eaac07fd [2022-04-11T05:06:35.109Z] Step 19/24 : EXPOSE 161 [2022-04-11T05:06:35.109Z] ---> Running in 3b392f223c45 [2022-04-11T05:06:35.109Z] Removing intermediate container 3b392f223c45 [2022-04-11T05:06:35.109Z] ---> f5e0a2b95fce [2022-04-11T05:06:35.109Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-11T05:06:35.109Z] ---> Running in 8fb3e78e925e [2022-04-11T05:06:35.368Z] Removing intermediate container 8fb3e78e925e [2022-04-11T05:06:35.368Z] ---> 0a13540d2d10 [2022-04-11T05:06:35.368Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-11T05:06:35.368Z] ---> Running in 9581c26c7a40 [2022-04-11T05:06:35.368Z] Removing intermediate container 9581c26c7a40 [2022-04-11T05:06:35.368Z] ---> 8d6068c95fe5 [2022-04-11T05:06:35.368Z] Step 22/24 : LABEL arch=amd64 [2022-04-11T05:06:35.368Z] ---> Running in 8879b03d6360 [2022-04-11T05:06:35.629Z] Removing intermediate container 8879b03d6360 [2022-04-11T05:06:35.629Z] ---> 8b7f6e3fcf1e [2022-04-11T05:06:35.629Z] Step 23/24 : LABEL git_sha=4f0193f04b1afaa80afcfe95e70accdfed74906a [2022-04-11T05:06:35.629Z] ---> Running in 0225a08ab93c [2022-04-11T05:06:35.629Z] Removing intermediate container 0225a08ab93c [2022-04-11T05:06:35.629Z] ---> f912fb70ed2f [2022-04-11T05:06:35.629Z] Step 24/24 : LABEL version=0.0.0 [2022-04-11T05:06:35.629Z] ---> Running in 81a73bbc5b7a [2022-04-11T05:06:35.890Z] Removing intermediate container 81a73bbc5b7a [2022-04-11T05:06:35.890Z] ---> 53fe2acb95c2 [2022-04-11T05:06:35.890Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T05:06:35.890Z] Successfully built 53fe2acb95c2 [2022-04-11T05:06:35.890Z] 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-11T05:06:36.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T05:06:36.631Z] [2022-04-11T05:06:36.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:06:36.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T05:06:36.966Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T05:06:36.966Z] 5eb5b503b376: Pulling fs layer [2022-04-11T05:06:36.966Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T05:06:36.966Z] ec43610c2a17: Pulling fs layer [2022-04-11T05:06:36.966Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T05:06:36.966Z] 33b1e0a273af: Pulling fs layer [2022-04-11T05:06:36.966Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T05:06:36.966Z] 2f39f015ded8: Pulling fs layer [2022-04-11T05:06:36.966Z] 33b1e0a273af: Waiting [2022-04-11T05:06:36.966Z] 5d3b04190fa2: Waiting [2022-04-11T05:06:36.966Z] 3a2ae6a8a46f: Waiting [2022-04-11T05:06:36.966Z] 5c69ac0246d0: Verifying Checksum [2022-04-11T05:06:36.966Z] 5c69ac0246d0: Download complete [2022-04-11T05:06:36.966Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-11T05:06:36.966Z] 3a2ae6a8a46f: Download complete [2022-04-11T05:06:36.966Z] 33b1e0a273af: Verifying Checksum [2022-04-11T05:06:36.966Z] 33b1e0a273af: Download complete [2022-04-11T05:06:36.966Z] ec43610c2a17: Verifying Checksum [2022-04-11T05:06:36.966Z] ec43610c2a17: Download complete [2022-04-11T05:06:36.966Z] 5d3b04190fa2: Verifying Checksum [2022-04-11T05:06:36.966Z] 5d3b04190fa2: Download complete [2022-04-11T05:06:37.230Z] 5eb5b503b376: Verifying Checksum [2022-04-11T05:06:37.230Z] 5eb5b503b376: Download complete [2022-04-11T05:06:37.799Z] 2f39f015ded8: Verifying Checksum [2022-04-11T05:06:37.799Z] 2f39f015ded8: Download complete [2022-04-11T05:06:38.368Z] 5eb5b503b376: Pull complete [2022-04-11T05:06:38.368Z] 5c69ac0246d0: Pull complete [2022-04-11T05:06:38.936Z] ec43610c2a17: Pull complete [2022-04-11T05:06:38.936Z] 3a2ae6a8a46f: Pull complete [2022-04-11T05:06:39.199Z] 33b1e0a273af: Pull complete [2022-04-11T05:06:39.199Z] 5d3b04190fa2: Pull complete [2022-04-11T05:06:43.396Z] 2f39f015ded8: Pull complete [2022-04-11T05:06:43.396Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T05:06:43.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T05:06:43.396Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T05:06:43.486Z] prd-ubuntu20.04-docker-8c-8g-19461 does not seem to be running inside a container [2022-04-11T05:06:43.527Z] $ 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-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@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:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T05:06:45.049Z] $ docker top 25aa99dc1c3313f8928306ff899d731124feb9ac321cebeabb2c108d07eee2c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:06:45.497Z] ---> job-cost.sh [2022-04-11T05:06:45.497Z] lf-activate-venv: SKIPPING [2022-04-11T05:06:45.497Z] INFO: No Stack... [2022-04-11T05:06:46.064Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T05:06:46.326Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T05:06:46.656Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-154/archives/cost.csv [2022-04-11T05:06:46.656Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T05:06:46.711Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] [2022-04-11T05:06:46.716Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] did not exist. Created. [2022-04-11T05:06:46.716Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T05:06:47.099Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T05:06:47.150Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T05:06:47.172Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T05:06:47.253Z] $ docker stop --time=1 25aa99dc1c3313f8928306ff899d731124feb9ac321cebeabb2c108d07eee2c4 [2022-04-11T05:06:48.421Z] $ docker rm -f 25aa99dc1c3313f8928306ff899d731124feb9ac321cebeabb2c108d07eee2c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T05:08:22.267Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19466 in /w/workspace/gexfoundry_device-snmp-go_PR-154 [Pipeline] { [Pipeline] ws [2022-04-11T05:08:22.307Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-11T05:08:22.708Z] Selected Git installation does not exist. Using Default [2022-04-11T05:08:22.708Z] The recommended git tool is: NONE [2022-04-11T05:08:30.691Z] using credential edgex-jenkins-ssh [2022-04-11T05:08:30.710Z] Cloning the remote Git repository [2022-04-11T05:08:30.786Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T05:08:30.890Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-11T05:08:31.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T05:08:31.063Z] > git --version # timeout=10 [2022-04-11T05:08:31.085Z] > git --version # 'git version 2.25.1' [2022-04-11T05:08:31.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T05:08:31.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T05:08:32.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-11T05:08:32.514Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T05:08:32.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-11T05:08:32.595Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T05:08:32.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T05:08:32.616Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-11T05:08:33.152Z] Merging remotes/origin/main commit 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit 4f0193f04b1afaa80afcfe95e70accdfed74906a [2022-04-11T05:08:33.448Z] Merge succeeded, producing 4f0193f04b1afaa80afcfe95e70accdfed74906a [2022-04-11T05:08:33.449Z] Checking out Revision 4f0193f04b1afaa80afcfe95e70accdfed74906a (PR-154) [2022-04-11T05:08:33.193Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T05:08:33.216Z] > git checkout -f 4f0193f04b1afaa80afcfe95e70accdfed74906a # timeout=10 [2022-04-11T05:08:33.333Z] > git remote # timeout=10 [2022-04-11T05:08:33.357Z] > git config --get remote.origin.url # timeout=10 [2022-04-11T05:08:33.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T05:08:33.404Z] > git merge 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 [2022-04-11T05:08:33.436Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-11T05:08:33.462Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T05:08:33.477Z] > git checkout -f 4f0193f04b1afaa80afcfe95e70accdfed74906a # timeout=10 [2022-04-11T05:08:38.026Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-11T05:08:38.098Z] > git --version # timeout=10 [2022-04-11T05:08:38.109Z] > git --version # 'git version 2.25.1' [2022-04-11T05:08:38.126Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T05:08:39.170Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T05:08:39.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T05:08:39.170Z] Dload Upload Total Spent Left Speed [2022-04-11T05:08:39.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-04-11T05:08:39.746Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T05:08:40.139Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-11T05:08:40.139Z] + sudo tee /etc/docker/daemon.new [2022-04-11T05:08:40.139Z] { [2022-04-11T05:08:40.139Z] "registry-mirrors": [ [2022-04-11T05:08:40.139Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T05:08:40.139Z] ], [2022-04-11T05:08:40.139Z] "bip": "10.250.0.254/24", [2022-04-11T05:08:40.139Z] "hosts": [ [2022-04-11T05:08:40.139Z] "tcp://0.0.0.0:5555", [2022-04-11T05:08:40.139Z] "unix:///var/run/docker.sock" [2022-04-11T05:08:40.139Z] ], [2022-04-11T05:08:40.139Z] "mtu": 1458, [2022-04-11T05:08:40.139Z] "selinux-enabled": true, [2022-04-11T05:08:40.139Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T05:08:40.139Z] } [Pipeline] sh [2022-04-11T05:08:40.528Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T05:08:40.905Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T05:08:59.357Z] provisioning config files... [2022-04-11T05:08:59.391Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3463649813989111408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:09:00.045Z] ---> docker-login.sh [2022-04-11T05:09:00.045Z] nexus3.edgexfoundry.org:10001 [2022-04-11T05:09:00.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:09:01.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:09:01.246Z] Configure a credential helper to remove this warning. See [2022-04-11T05:09:01.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:09:01.246Z] [2022-04-11T05:09:01.246Z] Login Succeeded [2022-04-11T05:09:01.246Z] nexus3.edgexfoundry.org:10002 [2022-04-11T05:09:01.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:09:01.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:09:01.523Z] Configure a credential helper to remove this warning. See [2022-04-11T05:09:01.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:09:01.523Z] [2022-04-11T05:09:01.523Z] Login Succeeded [2022-04-11T05:09:01.523Z] nexus3.edgexfoundry.org:10003 [2022-04-11T05:09:02.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:09:02.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:09:02.132Z] Configure a credential helper to remove this warning. See [2022-04-11T05:09:02.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:09:02.132Z] [2022-04-11T05:09:02.132Z] Login Succeeded [2022-04-11T05:09:02.132Z] nexus3.edgexfoundry.org:10004 [2022-04-11T05:09:02.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:09:02.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:09:02.686Z] Configure a credential helper to remove this warning. See [2022-04-11T05:09:02.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:09:02.686Z] [2022-04-11T05:09:02.686Z] Login Succeeded [2022-04-11T05:09:02.686Z] docker.io [2022-04-11T05:09:02.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T05:09:03.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T05:09:03.563Z] Configure a credential helper to remove this warning. See [2022-04-11T05:09:03.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T05:09:03.563Z] [2022-04-11T05:09:03.563Z] Login Succeeded [2022-04-11T05:09:03.563Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T05:09:03.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T05:09:04.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T05:09:04.071Z] ========================================================= [2022-04-11T05:09:04.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T05:09:04.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:09:04.518Z] + 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-11T05:09:04.794Z] Sending build context to Docker daemon 2.733MB [2022-04-11T05:09:04.794Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T05:09:04.794Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T05:09:05.069Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T05:09:05.069Z] 9b3977197b4f: Pulling fs layer [2022-04-11T05:09:05.069Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T05:09:05.069Z] 94645a83ff95: Pulling fs layer [2022-04-11T05:09:05.069Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T05:09:05.069Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T05:09:05.069Z] f7c0051592d6: Pulling fs layer [2022-04-11T05:09:05.069Z] a227ed2f7395: Pulling fs layer [2022-04-11T05:09:05.069Z] 7b1c46037f91: Pulling fs layer [2022-04-11T05:09:05.069Z] 3f3a8bcf1eab: Waiting [2022-04-11T05:09:05.069Z] 0c92f367c5e7: Waiting [2022-04-11T05:09:05.069Z] f7c0051592d6: Waiting [2022-04-11T05:09:05.069Z] 7b1c46037f91: Waiting [2022-04-11T05:09:05.069Z] a227ed2f7395: Waiting [2022-04-11T05:09:05.069Z] 94645a83ff95: Verifying Checksum [2022-04-11T05:09:05.069Z] 94645a83ff95: Download complete [2022-04-11T05:09:05.069Z] 1a89e8eeedd5: Verifying Checksum [2022-04-11T05:09:05.069Z] 1a89e8eeedd5: Download complete [2022-04-11T05:09:05.069Z] 0c92f367c5e7: Verifying Checksum [2022-04-11T05:09:05.069Z] 0c92f367c5e7: Download complete [2022-04-11T05:09:05.361Z] 9b3977197b4f: Download complete [2022-04-11T05:09:05.361Z] f7c0051592d6: Verifying Checksum [2022-04-11T05:09:05.361Z] f7c0051592d6: Download complete [2022-04-11T05:09:05.361Z] a227ed2f7395: Verifying Checksum [2022-04-11T05:09:05.361Z] a227ed2f7395: Download complete [2022-04-11T05:09:05.972Z] 9b3977197b4f: Pull complete [2022-04-11T05:09:06.581Z] 1a89e8eeedd5: Pull complete [2022-04-11T05:09:07.196Z] 94645a83ff95: Pull complete [2022-04-11T05:09:07.469Z] 7b1c46037f91: Verifying Checksum [2022-04-11T05:09:07.469Z] 7b1c46037f91: Download complete [2022-04-11T05:09:08.074Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-11T05:09:08.074Z] 3f3a8bcf1eab: Download complete [2022-04-11T05:09:23.211Z] 3f3a8bcf1eab: Pull complete [2022-04-11T05:09:23.211Z] 0c92f367c5e7: Pull complete [2022-04-11T05:09:23.211Z] f7c0051592d6: Pull complete [2022-04-11T05:09:23.211Z] a227ed2f7395: Pull complete [2022-04-11T05:09:28.671Z] 7b1c46037f91: Pull complete [2022-04-11T05:09:28.671Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T05:09:28.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T05:09:28.671Z] ---> f79e39bc4007 [2022-04-11T05:09:28.671Z] Step 3/12 : ARG MAKE='make build' [2022-04-11T05:09:29.676Z] ---> Running in 6e7f93cb125d [2022-04-11T05:09:29.959Z] Removing intermediate container 6e7f93cb125d [2022-04-11T05:09:29.959Z] ---> fcf1a6d087fc [2022-04-11T05:09:29.959Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T05:09:29.959Z] ---> Running in 605fde967606 [2022-04-11T05:09:30.570Z] Removing intermediate container 605fde967606 [2022-04-11T05:09:30.570Z] ---> fd0fbda9f63a [2022-04-11T05:09:30.570Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T05:09:30.570Z] ---> Running in 6ecc4fa1c1e5 [2022-04-11T05:09:30.851Z] Removing intermediate container 6ecc4fa1c1e5 [2022-04-11T05:09:30.851Z] ---> f806c18156af [2022-04-11T05:09:30.851Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T05:09:30.851Z] ---> Running in 17f40169e663 [2022-04-11T05:09:32.844Z] Removing intermediate container 17f40169e663 [2022-04-11T05:09:32.844Z] ---> 6fbc14290075 [2022-04-11T05:09:32.844Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T05:09:32.844Z] ---> Running in 22df1c7c0f65 [2022-04-11T05:09:33.838Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T05:09:34.820Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T05:09:35.827Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T05:09:35.827Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T05:09:36.103Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T05:09:36.103Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T05:09:36.385Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T05:09:36.385Z] OK: 224 MiB in 56 packages [2022-04-11T05:09:37.868Z] Removing intermediate container 22df1c7c0f65 [2022-04-11T05:09:37.868Z] ---> d9f26b4af4da [2022-04-11T05:09:37.868Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-11T05:09:37.868Z] ---> Running in dc138f8b159f [2022-04-11T05:09:39.318Z] Removing intermediate container dc138f8b159f [2022-04-11T05:09:39.318Z] ---> 3a361a42a38f [2022-04-11T05:09:39.318Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-11T05:09:39.600Z] ---> da05469cef31 [2022-04-11T05:09:39.600Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T05:09:39.600Z] ---> Running in 9eefed367424 [2022-04-11T05:10:36.221Z] Removing intermediate container 9eefed367424 [2022-04-11T05:10:36.221Z] ---> b8a2cba2acba [2022-04-11T05:10:36.221Z] Step 11/12 : COPY . . [2022-04-11T05:10:36.221Z] ---> 0b1303eab99d [2022-04-11T05:10:36.221Z] Step 12/12 : RUN ${MAKE} [2022-04-11T05:10:36.221Z] ---> Running in 75d65658d6af [2022-04-11T05:10:36.221Z] noop [2022-04-11T05:10:36.221Z] Removing intermediate container 75d65658d6af [2022-04-11T05:10:36.221Z] ---> 2cc422d0cec5 [2022-04-11T05:10:36.221Z] Successfully built 2cc422d0cec5 [2022-04-11T05:10:36.221Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:10:36.603Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T05:10:36.603Z] . [Pipeline] withDockerContainer [2022-04-11T05:10:36.865Z] prd-ubuntu20.04-docker-arm64-4c-16g-19466 does not seem to be running inside a container [2022-04-11T05:10:36.956Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-11T05:10:38.348Z] $ docker top 0acda34ee0afa38369f5308c868bbf4d923b05a23966e661c3456980c720737e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T05:10:39.357Z] + go version [2022-04-11T05:10:39.357Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T05:10:39.400Z] $ docker stop --time=1 0acda34ee0afa38369f5308c868bbf4d923b05a23966e661c3456980c720737e [2022-04-11T05:10:41.072Z] $ docker rm -f 0acda34ee0afa38369f5308c868bbf4d923b05a23966e661c3456980c720737e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:10:41.961Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T05:10:41.961Z] . [Pipeline] withDockerContainer [2022-04-11T05:10:42.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-19466 does not seem to be running inside a container [2022-04-11T05:10:42.287Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-11T05:10:43.523Z] $ docker top a23649ab817fc6460aee008f8a9ce5e2deeea20b92d47a794aaa2814dae456cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T05:10:44.536Z] + make test [2022-04-11T05:10:44.536Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T05:10:45.974Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-11T05:12:23.067Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-11T05:12:23.067Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2022-04-11T05:12:23.067Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T05:12:23.067Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T05:12:38.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T05:12:38.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T05:12:38.216Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T05:12:40.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T05:12:40.930Z] $ docker stop --time=1 a23649ab817fc6460aee008f8a9ce5e2deeea20b92d47a794aaa2814dae456cc [2022-04-11T05:12:42.856Z] $ docker rm -f a23649ab817fc6460aee008f8a9ce5e2deeea20b92d47a794aaa2814dae456cc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T05:12:43.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T05:12:44.025Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T05:12:44.747Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T05:12:45.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T05:12:45.774Z] + ls -al . [2022-04-11T05:12:45.774Z] total 180 [2022-04-11T05:12:45.774Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 05:12 . [2022-04-11T05:12:45.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 05:08 .. [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 11 05:08 .dockerignore [2022-04-11T05:12:45.774Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 05:08 .git [2022-04-11T05:12:45.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:08 .github [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 11 05:08 .gitignore [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 05:08 .golangci.yml [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 11 05:08 Attribution.txt [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 11 05:08 CHANGELOG.md [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 11 05:08 Dockerfile [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 05:08 GOVERNANCE.md [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 11 05:08 Jenkinsfile [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 05:08 LICENSE [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 11 05:08 Makefile [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 05:08 OWNERS.md [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 11 05:08 README.md [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 05:05 VERSION [2022-04-11T05:12:45.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:08 bin [2022-04-11T05:12:45.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:08 cmd [2022-04-11T05:12:45.774Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 11 05:12 coverage.out [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 11 05:08 go.mod [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 54180 Apr 11 05:08 go.sum [2022-04-11T05:12:45.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:08 internal [2022-04-11T05:12:45.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:08 snap [2022-04-11T05:12:45.774Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 11 05:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:12:46.204Z] + 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=4f0193f04b1afaa80afcfe95e70accdfed74906a --label arch=arm64 --label version=0.0.0 . [2022-04-11T05:12:46.494Z] Sending build context to Docker daemon 2.741MB [2022-04-11T05:12:46.776Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T05:12:46.776Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-11T05:12:46.776Z] ---> 2cc422d0cec5 [2022-04-11T05:12:46.776Z] Step 3/24 : ARG MAKE='make build' [2022-04-11T05:12:46.776Z] ---> Running in 356669ac224b [2022-04-11T05:12:47.380Z] Removing intermediate container 356669ac224b [2022-04-11T05:12:47.380Z] ---> c921eba9fea2 [2022-04-11T05:12:47.380Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T05:12:47.380Z] ---> Running in 5989c590069f [2022-04-11T05:12:47.659Z] Removing intermediate container 5989c590069f [2022-04-11T05:12:47.659Z] ---> 6260a9fb7d59 [2022-04-11T05:12:47.659Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T05:12:47.659Z] ---> Running in 09b540352e92 [2022-04-11T05:12:48.255Z] Removing intermediate container 09b540352e92 [2022-04-11T05:12:48.255Z] ---> 1d2d7b8f1716 [2022-04-11T05:12:48.255Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T05:12:48.255Z] ---> Running in 6fb48c3d65fd [2022-04-11T05:12:50.225Z] Removing intermediate container 6fb48c3d65fd [2022-04-11T05:12:50.225Z] ---> d6fab260c607 [2022-04-11T05:12:50.225Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T05:12:50.225Z] ---> Running in ef268de93def [2022-04-11T05:12:51.205Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T05:12:52.184Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T05:12:53.163Z] OK: 224 MiB in 56 packages [2022-04-11T05:12:54.152Z] Removing intermediate container ef268de93def [2022-04-11T05:12:54.152Z] ---> 26a336c61003 [2022-04-11T05:12:54.152Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-11T05:12:54.152Z] ---> Running in 263709f33528 [2022-04-11T05:12:54.425Z] Removing intermediate container 263709f33528 [2022-04-11T05:12:54.425Z] ---> e84e965474e1 [2022-04-11T05:12:54.425Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-11T05:12:55.022Z] ---> 03b006a87e5d [2022-04-11T05:12:55.022Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T05:12:55.022Z] ---> Running in d321e3cc7d44 [2022-04-11T05:12:57.711Z] Removing intermediate container d321e3cc7d44 [2022-04-11T05:12:57.711Z] ---> 6117e67de4ea [2022-04-11T05:12:57.711Z] Step 11/24 : COPY . . [2022-04-11T05:12:58.319Z] ---> a09623667bd7 [2022-04-11T05:12:58.319Z] Step 12/24 : RUN ${MAKE} [2022-04-11T05:12:58.319Z] ---> Running in 059af96a51ad [2022-04-11T05:12:59.302Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-11T05:15:21.213Z] Removing intermediate container 059af96a51ad [2022-04-11T05:15:21.213Z] ---> 8588c57c8a3c [2022-04-11T05:15:21.213Z] Step 13/24 : FROM alpine:3.14 [2022-04-11T05:15:21.213Z] 3.14: Pulling from library/alpine [2022-04-11T05:15:21.213Z] 455c02918c45: Pulling fs layer [2022-04-11T05:15:21.213Z] 455c02918c45: Verifying Checksum [2022-04-11T05:15:21.213Z] 455c02918c45: Download complete [2022-04-11T05:15:21.213Z] 455c02918c45: Pull complete [2022-04-11T05:15:21.213Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T05:15:21.213Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T05:15:21.213Z] ---> ac73e934f311 [2022-04-11T05:15:21.213Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T05:15:21.213Z] ---> Running in df650b81fb7a [2022-04-11T05:15:21.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T05:15:21.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T05:15:21.213Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T05:15:21.213Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T05:15:21.213Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T05:15:21.213Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T05:15:21.213Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T05:15:21.213Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T05:15:21.213Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T05:15:21.213Z] OK: 8 MiB in 20 packages [2022-04-11T05:15:21.213Z] Removing intermediate container df650b81fb7a [2022-04-11T05:15:21.213Z] ---> 139363fc8e7c [2022-04-11T05:15:21.213Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-11T05:15:21.213Z] ---> c0e7c492bcb8 [2022-04-11T05:15:21.213Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-11T05:15:21.213Z] ---> 29cb6ca0155d [2022-04-11T05:15:21.213Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-11T05:15:21.213Z] ---> 77757a46e99a [2022-04-11T05:15:21.213Z] Step 18/24 : EXPOSE 59993 [2022-04-11T05:15:21.213Z] ---> Running in 2c2b1f3a3d7b [2022-04-11T05:15:21.213Z] Removing intermediate container 2c2b1f3a3d7b [2022-04-11T05:15:21.213Z] ---> 4eac1d2e7f89 [2022-04-11T05:15:21.213Z] Step 19/24 : EXPOSE 161 [2022-04-11T05:15:21.485Z] ---> Running in fb3c2f4ecaeb [2022-04-11T05:15:21.758Z] Removing intermediate container fb3c2f4ecaeb [2022-04-11T05:15:21.758Z] ---> 4743ac813e64 [2022-04-11T05:15:21.758Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-11T05:15:21.758Z] ---> Running in aa37218aeba3 [2022-04-11T05:15:22.031Z] Removing intermediate container aa37218aeba3 [2022-04-11T05:15:22.031Z] ---> d320bec960d2 [2022-04-11T05:15:22.031Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-11T05:15:22.031Z] ---> Running in c85e89cbe190 [2022-04-11T05:15:22.640Z] Removing intermediate container c85e89cbe190 [2022-04-11T05:15:22.640Z] ---> 07629e54d06e [2022-04-11T05:15:22.640Z] Step 22/24 : LABEL arch=arm64 [2022-04-11T05:15:22.640Z] ---> Running in aa7600d281b3 [2022-04-11T05:15:22.914Z] Removing intermediate container aa7600d281b3 [2022-04-11T05:15:22.914Z] ---> b54c09167675 [2022-04-11T05:15:22.914Z] Step 23/24 : LABEL git_sha=4f0193f04b1afaa80afcfe95e70accdfed74906a [2022-04-11T05:15:22.914Z] ---> Running in 2c8562162d9f [2022-04-11T05:15:23.194Z] Removing intermediate container 2c8562162d9f [2022-04-11T05:15:23.194Z] ---> 1c77b020945c [2022-04-11T05:15:23.194Z] Step 24/24 : LABEL version=0.0.0 [2022-04-11T05:15:23.482Z] ---> Running in 0cf8511a923a [2022-04-11T05:15:23.755Z] Removing intermediate container 0cf8511a923a [2022-04-11T05:15:23.756Z] ---> 06f0c0142a3e [2022-04-11T05:15:23.756Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T05:15:23.756Z] Successfully built 06f0c0142a3e [2022-04-11T05:15:23.756Z] 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-11T05:15:24.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T05:15:24.470Z] [2022-04-11T05:15:24.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:15:24.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T05:15:25.133Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T05:15:25.133Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T05:15:25.133Z] 04944245beec: Pulling fs layer [2022-04-11T05:15:25.133Z] 699f458cf7ca: Pulling fs layer [2022-04-11T05:15:25.133Z] 765212b225bb: Pulling fs layer [2022-04-11T05:15:25.133Z] f23df028b6ca: Pulling fs layer [2022-04-11T05:15:25.133Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T05:15:25.133Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T05:15:25.133Z] f23df028b6ca: Waiting [2022-04-11T05:15:25.133Z] d65c8cfc05b1: Waiting [2022-04-11T05:15:25.133Z] 2437ff75d9bd: Waiting [2022-04-11T05:15:25.133Z] 765212b225bb: Waiting [2022-04-11T05:15:25.133Z] 04944245beec: Verifying Checksum [2022-04-11T05:15:25.133Z] 04944245beec: Download complete [2022-04-11T05:15:25.133Z] 765212b225bb: Verifying Checksum [2022-04-11T05:15:25.133Z] 765212b225bb: Download complete [2022-04-11T05:15:25.133Z] f23df028b6ca: Verifying Checksum [2022-04-11T05:15:25.133Z] f23df028b6ca: Download complete [2022-04-11T05:15:25.133Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T05:15:25.133Z] d65c8cfc05b1: Download complete [2022-04-11T05:15:25.408Z] 699f458cf7ca: Verifying Checksum [2022-04-11T05:15:25.408Z] 699f458cf7ca: Download complete [2022-04-11T05:15:25.680Z] 8998bd30e6a1: Download complete [2022-04-11T05:15:28.304Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T05:15:28.304Z] 2437ff75d9bd: Download complete [2022-04-11T05:15:30.280Z] 8998bd30e6a1: Pull complete [2022-04-11T05:15:30.881Z] 04944245beec: Pull complete [2022-04-11T05:15:32.316Z] 699f458cf7ca: Pull complete [2022-04-11T05:15:32.316Z] 765212b225bb: Pull complete [2022-04-11T05:15:33.308Z] f23df028b6ca: Pull complete [2022-04-11T05:15:33.582Z] d65c8cfc05b1: Pull complete [2022-04-11T05:15:48.685Z] 2437ff75d9bd: Pull complete [2022-04-11T05:15:48.685Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T05:15:48.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T05:15:48.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T05:15:48.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-19466 does not seem to be running inside a container [2022-04-11T05:15:49.037Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-11T05:15:51.809Z] $ docker top 06967e4d70ab07fe95330020c7a278a08407e4b741218e155160f52157883a5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:15:52.779Z] ---> job-cost.sh [2022-04-11T05:15:52.779Z] lf-activate-venv: SKIPPING [2022-04-11T05:15:52.779Z] INFO: No Stack... [2022-04-11T05:15:53.058Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T05:15:54.029Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T05:15:54.711Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-04-11T05:15:54.711Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T05:15:54.795Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] [2022-04-11T05:15:54.800Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] did not exist. Created. [2022-04-11T05:15:54.800Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T05:15:55.567Z] /w/workspace/device-snmp-go/1@tmp/durable-6c02046a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T05:15:56.264Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T05:15:56.303Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T05:15:56.352Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T05:15:56.368Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-154-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T05:15:56.454Z] $ docker stop --time=1 06967e4d70ab07fe95330020c7a278a08407e4b741218e155160f52157883a5c [2022-04-11T05:15:57.959Z] $ docker rm -f 06967e4d70ab07fe95330020c7a278a08407e4b741218e155160f52157883a5c [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-11T05:15:58.990Z] provisioning config files... [2022-04-11T05:15:59.001Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config1495613467441505160tmp [Pipeline] { [Pipeline] sh [2022-04-11T05:15:59.333Z] + set +x [2022-04-11T05:15:59.333Z] + curl -s https://codecov.io/bash [2022-04-11T05:15:59.333Z] + bash -s -- [2022-04-11T05:15:59.333Z] [2022-04-11T05:15:59.333Z] _____ _ [2022-04-11T05:15:59.333Z] / ____| | | [2022-04-11T05:15:59.333Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T05:15:59.333Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T05:15:59.333Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T05:15:59.333Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T05:15:59.333Z] Bash-1.0.6 [2022-04-11T05:15:59.333Z] [2022-04-11T05:15:59.333Z] [2022-04-11T05:15:59.333Z] ==> git version 2.25.1 found [2022-04-11T05:15:59.334Z] ==> 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-11T05:15:59.334Z] Release-Date: 2020-01-08 [2022-04-11T05:15:59.334Z] 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-11T05:15:59.334Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T05:15:59.334Z] ==> Jenkins CI detected. [2022-04-11T05:15:59.334Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-154 [2022-04-11T05:15:59.334Z] project root: . [2022-04-11T05:15:59.334Z] --> token set from env [2022-04-11T05:15:59.334Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T05:15:59.334Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T05:15:59.334Z] ==> Python coveragepy not found [2022-04-11T05:15:59.334Z] ==> Searching for coverage reports in: [2022-04-11T05:15:59.334Z] + . [2022-04-11T05:15:59.334Z] -> Found 1 reports [2022-04-11T05:15:59.334Z] ==> Detecting git/mercurial file structure [2022-04-11T05:15:59.334Z] ==> Reading reports [2022-04-11T05:15:59.334Z] + ./coverage.out bytes=7631 [2022-04-11T05:15:59.334Z] ==> Appending adjustments [2022-04-11T05:15:59.334Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T05:15:59.594Z] + Found adjustments [2022-04-11T05:15:59.594Z] ==> Gzipping contents [2022-04-11T05:15:59.594Z] 4.0K /tmp/codecov.QECPve.gz [2022-04-11T05:15:59.594Z] ==> Uploading reports [2022-04-11T05:15:59.594Z] url: https://codecov.io [2022-04-11T05:15:59.594Z] query: branch=PR-154&commit=4f0193f04b1afaa80afcfe95e70accdfed74906a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-154%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=154&job=&cmd_args= [2022-04-11T05:15:59.594Z] -> Pinging Codecov [2022-04-11T05:15:59.594Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-154&commit=4f0193f04b1afaa80afcfe95e70accdfed74906a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-154%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=154&job=&cmd_args= [2022-04-11T05:15:59.916Z] -> Uploading to [2022-04-11T05:15:59.916Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/6C56EA5C29638FB4528AC87E60AF5AE0/4f0193f04b1afaa80afcfe95e70accdfed74906a/d993e6cd-8698-4d0d-8b9c-4289e7462452.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T051559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9bd7804426e72bcbc997556ad8c08f09c0076e34237f4a68c6662a8ac4da4eea [2022-04-11T05:15:59.916Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T05:15:59.916Z] Dload Upload Total Spent Left Speed [2022-04-11T05:16:00.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1591 0 0 100 1591 0 7576 --:--:-- --:--:-- --:--:-- 7576 [2022-04-11T05:16:00.241Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/4f0193f04b1afaa80afcfe95e70accdfed74906a [Pipeline] } [2022-04-11T05:16:00.296Z] 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-11T05:16:02.022Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-154/archives ] [2022-04-11T05:16:02.022Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-154/archives [2022-04-11T05:16:02.022Z] total 16 [2022-04-11T05:16:02.022Z] drwxr-xr-x 3 root root 4096 Apr 11 05:06 . [2022-04-11T05:16:02.022Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 05:06 .. [2022-04-11T05:16:02.022Z] drwxr-xr-x 2 root root 4096 Apr 11 05:06 cost [2022-04-11T05:16:02.022Z] -rw-r--r-- 1 root root 85 Apr 11 05:06 cost.csv [2022-04-11T05:16:02.022Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-154/archives [2022-04-11T05:16:02.022Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-154/archives [2022-04-11T05:16:02.022Z] total 16 [2022-04-11T05:16:02.022Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 05:06 . [2022-04-11T05:16:02.022Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 05:06 .. [2022-04-11T05:16:02.022Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 05:06 cost [2022-04-11T05:16:02.022Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 11 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:16:02.358Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:16:03.255Z] ---> package-listing.sh [2022-04-11T05:16:03.255Z] ++ facter osfamily [2022-04-11T05:16:03.255Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T05:16:03.515Z] + OS_FAMILY=debian [2022-04-11T05:16:03.515Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-154 [2022-04-11T05:16:03.515Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T05:16:03.515Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T05:16:03.515Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T05:16:03.515Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T05:16:03.515Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-154 ']' [2022-04-11T05:16:03.515Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T05:16:03.515Z] + case "${OS_FAMILY}" in [2022-04-11T05:16:03.515Z] + dpkg -l [2022-04-11T05:16:03.515Z] + grep '^ii' [2022-04-11T05:16:03.515Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T05:16:03.515Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T05:16:03.515Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T05:16:03.515Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-154 ']' [2022-04-11T05:16:03.515Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-154/archives/ [2022-04-11T05:16:03.515Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-154/archives/ [Pipeline] echo [2022-04-11T05:16:03.552Z] 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-154/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-11T05:16:03.845Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T05:16:04.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T05:16:04.430Z] . [Pipeline] withDockerContainer [2022-04-11T05:16:04.519Z] prd-ubuntu20.04-docker-8c-8g-19461 does not seem to be running inside a container [2022-04-11T05:16:04.557Z] $ 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-154/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-154 -v /w/workspace/gexfoundry_device-snmp-go_PR-154:/w/workspace/gexfoundry_device-snmp-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T05:16:04.809Z] $ docker top 1619861ab85edd7e064c7a1711551108788f6a9dba041f5c4a59fbc7c844b251 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T05:16:05.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T05:16:05.526Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T05:16:05.842Z] + ls /var/log/sa-host [2022-04-11T05:16:05.842Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T05:16:05.983Z] provisioning config files... [2022-04-11T05:16:05.992Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-154@tmp/config7569977938793723757tmp [Pipeline] { [Pipeline] echo [2022-04-11T05:16:06.044Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:16:06.362Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T05:16:06.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:16:06.780Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T05:16:06.815Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:16:07.134Z] ---> sudo-logs.sh [2022-04-11T05:16:07.135Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T05:16:07.227Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:16:07.544Z] ---> job-cost.sh [2022-04-11T05:16:07.544Z] lf-activate-venv: SKIPPING [2022-04-11T05:16:07.544Z] DEBUG: total: 0.2199999988079071 [2022-04-11T05:16:07.544Z] INFO: Retrieving Stack Cost... [2022-04-11T05:16:07.804Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T05:16:08.375Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T05:16:08.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T05:16:08.733Z] ---> logs-deploy.sh [2022-04-11T05:16:08.733Z] lf-activate-venv: SKIPPING [2022-04-11T05:16:08.733Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-154/1 [2022-04-11T05:16:08.733Z] INFO: archiving workspace using pattern(s): [2022-04-11T05:16:09.678Z] Archives upload complete. [2022-04-11T05:16:09.678Z] INFO: archiving logs to Nexus