Pull request #148 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f450b7422b22719b79eec2da583fcbfaf10b8d4+f2700d797dde70a27600e51c0b144607fa1919f0 (58b5dc3d996e3bdb975f642c560f85f655253137) 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-ssh17633188192499114023.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-ssh4229887852903154909.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-148/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-148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8553914187744224663.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-148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15601684938306309842.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-ssh8564204103686193221.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-148/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-148/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7399990786591718550.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-10625 in /w/workspace/gexfoundry_device-snmp-go_PR-148 [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-148 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 5f450b7422b22719b79eec2da583fcbfaf10b8d4 Merge succeeded, producing 5f450b7422b22719b79eec2da583fcbfaf10b8d4 Checking out Revision 5f450b7422b22719b79eec2da583fcbfaf10b8d4 (PR-148) > 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/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # 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-04T05:04:39.585Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T05:04:39.803Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T05:04:39.917Z] ========================================================= [2022-04-04T05:04:39.917Z] EdgeX Global Pipelines Version Info [2022-04-04T05:04:39.917Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:04:40.748Z] ------------------- [2022-04-04T05:04:40.748Z] stable info: [2022-04-04T05:04:40.748Z] ------------------- [2022-04-04T05:04:40.748Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T05:04:40.748Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T05:04:40.748Z] Message: update stable to v1.0.221 [2022-04-04T05:04:41.324Z] ------------------- [2022-04-04T05:04:41.324Z] experimental info: [2022-04-04T05:04:41.324Z] ------------------- [2022-04-04T05:04:41.324Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T05:04:41.324Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T05:04:41.324Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T05:04:41.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-04T05:04:41.671Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-04T05:04:41.714Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T05:04:41.759Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T05:04:41.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T05:04:41.859Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T05:04:41.907Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T05:04:41.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T05:04:42.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T05:04:42.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T05:04:42.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T05:04:42.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-04T05:04:42.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T05:04:42.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T05:04:42.319Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T05:04:42.366Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T05:04:42.415Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T05:04:42.469Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T05:04:42.521Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T05:04:42.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T05:04:42.620Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T05:04:42.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T05:04:42.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T05:04:42.776Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T05:04:42.825Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T05:04:42.867Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T05:04:42.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo [2022-04-04T05:04:42.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo [2022-04-04T05:04:43.008Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo [2022-04-04T05:04:43.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo [2022-04-04T05:04:43.108Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f450b7 [Pipeline] echo [2022-04-04T05:04:43.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T05:04:43.296Z] provisioning config files... [2022-04-04T05:04:43.314Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/config7437590673953027213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:04:43.667Z] ---> docker-login.sh [2022-04-04T05:04:43.667Z] nexus3.edgexfoundry.org:10001 [2022-04-04T05:04:43.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:43.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:43.928Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:43.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:43.928Z] [2022-04-04T05:04:43.928Z] Login Succeeded [2022-04-04T05:04:43.928Z] nexus3.edgexfoundry.org:10002 [2022-04-04T05:04:44.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:44.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:44.191Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:44.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:44.191Z] [2022-04-04T05:04:44.191Z] Login Succeeded [2022-04-04T05:04:44.191Z] nexus3.edgexfoundry.org:10003 [2022-04-04T05:04:44.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:44.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:44.459Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:44.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:44.459Z] [2022-04-04T05:04:44.459Z] Login Succeeded [2022-04-04T05:04:44.459Z] nexus3.edgexfoundry.org:10004 [2022-04-04T05:04:44.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:44.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:44.460Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:44.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:44.460Z] [2022-04-04T05:04:44.460Z] Login Succeeded [2022-04-04T05:04:44.460Z] docker.io [2022-04-04T05:04:44.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:45.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:45.035Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:45.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:45.035Z] [2022-04-04T05:04:45.035Z] Login Succeeded [2022-04-04T05:04:45.035Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T05:04:45.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T05:04:45.692Z] + git rev-list -1 --merges 5f450b7422b22719b79eec2da583fcbfaf10b8d4~1..5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo [2022-04-04T05:04:45.824Z] -----------> git rev-list -1 --merges 5f450b7422b22719b79eec2da583fcbfaf10b8d4~1..5f450b7422b22719b79eec2da583fcbfaf10b8d4 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [false] [Pipeline] sh [2022-04-04T05:04:46.145Z] + git log --format=format:%s -1 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo [2022-04-04T05:04:46.181Z] ========================================================= [2022-04-04T05:04:46.182Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T05:04:46.182Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T05:04:46.622Z] + git log --format=format:%s -1 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo [2022-04-04T05:04:46.654Z] [semverPrep] GIT_COMMIT: 5f450b7422b22719b79eec2da583fcbfaf10b8d4, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-04T05:04:46.686Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T05:04:47.235Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T05:04:47.235Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T05:04:47.235Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T05:04:47.235Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T05:04:47.235Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T05:04:47.235Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T05:04:47.235Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:04:47.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T05:04:47.617Z] [2022-04-04T05:04:47.617Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:04:47.966Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T05:04:47.966Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T05:04:47.966Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T05:04:47.966Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T05:04:47.966Z] 4c7163046ea9: Pulling fs layer [2022-04-04T05:04:47.966Z] 0c2d73faf560: Pulling fs layer [2022-04-04T05:04:47.966Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T05:04:47.966Z] 3e5f54012d9b: Download complete [2022-04-04T05:04:47.966Z] a0d0a0d46f8b: Verifying Checksum [2022-04-04T05:04:47.966Z] a0d0a0d46f8b: Download complete [2022-04-04T05:04:47.966Z] 0c2d73faf560: Verifying Checksum [2022-04-04T05:04:47.966Z] 0c2d73faf560: Download complete [2022-04-04T05:04:47.966Z] 4c7163046ea9: Verifying Checksum [2022-04-04T05:04:47.966Z] 4c7163046ea9: Download complete [2022-04-04T05:04:48.226Z] a0d0a0d46f8b: Pull complete [2022-04-04T05:04:48.226Z] 3e5f54012d9b: Pull complete [2022-04-04T05:04:48.486Z] 4c7163046ea9: Pull complete [2022-04-04T05:04:48.749Z] 0c2d73faf560: Pull complete [2022-04-04T05:04:48.749Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T05:04:48.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T05:04:48.749Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T05:04:48.857Z] prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container [2022-04-04T05:04:48.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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-04T05:04:49.543Z] $ docker top e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T05:04:49.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T05:04:49.741Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T05:04:49.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T05:04:49.881Z] $ docker exec e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent [2022-04-04T05:04:49.991Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEdcCJH/agent.13 [2022-04-04T05:04:49.991Z] SSH_AGENT_PID=19 [2022-04-04T05:04:50.001Z] Running ssh-add (command line suppressed) [2022-04-04T05:04:50.126Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_8604922399482614832.key (/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_8604922399482614832.key) [2022-04-04T05:04:50.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T05:04:50.479Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T05:04:50.513Z] $ docker exec --env ******** --env ******** e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent -k [2022-04-04T05:04:50.634Z] unset SSH_AUTH_SOCK; [2022-04-04T05:04:50.635Z] unset SSH_AGENT_PID; [2022-04-04T05:04:50.635Z] echo Agent pid 19 killed; [2022-04-04T05:04:50.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T05:04:50.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T05:04:50.726Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T05:04:50.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T05:04:50.860Z] $ docker exec e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent [2022-04-04T05:04:50.995Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfgBKba/agent.54 [2022-04-04T05:04:50.995Z] SSH_AGENT_PID=62 [2022-04-04T05:04:51.001Z] Running ssh-add (command line suppressed) [2022-04-04T05:04:51.130Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_3493430564874235526.key (/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_3493430564874235526.key) [2022-04-04T05:04:51.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T05:04:51.485Z] + git semver init [2022-04-04T05:04:51.485Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T05:04:51.485Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-148/.git [2022-04-04T05:04:51.485Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-148 [2022-04-04T05:04:51.485Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T05:04:51.485Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T05:04:51.485Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T05:04:51.485Z] # $SEMVER_BRANCH = PR-148 [2022-04-04T05:04:51.485Z] # $SEMVER_TEMP = /tmp/semver-231579315 [2022-04-04T05:04:51.485Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-04T05:04:52.428Z] # '/tmp/semver-231579315' -> '/w/workspace/gexfoundry_device-snmp-go_PR-148/.semver' [2022-04-04T05:04:52.428Z] # -> Force: false [2022-04-04T05:04:52.428Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-148/.semver [Pipeline] } [2022-04-04T05:04:52.460Z] $ docker exec --env ******** --env ******** e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent -k [2022-04-04T05:04:52.571Z] unset SSH_AUTH_SOCK; [2022-04-04T05:04:52.572Z] unset SSH_AGENT_PID; [2022-04-04T05:04:52.572Z] echo Agent pid 62 killed; [2022-04-04T05:04:52.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T05:04:53.017Z] + git semver [Pipeline] } [2022-04-04T05:04:53.056Z] $ docker stop --time=1 e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 [2022-04-04T05:04:54.393Z] $ docker rm -f e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T05:04:54.817Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T05:04:55.132Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T05:04:55.151Z] [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-04T05:04:55.822Z] provisioning config files... [2022-04-04T05:04:55.833Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/config2557812800451442511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:04:56.197Z] ---> docker-login.sh [2022-04-04T05:04:56.197Z] nexus3.edgexfoundry.org:10001 [2022-04-04T05:04:56.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:56.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:56.197Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:56.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:56.197Z] [2022-04-04T05:04:56.197Z] Login Succeeded [2022-04-04T05:04:56.197Z] nexus3.edgexfoundry.org:10002 [2022-04-04T05:04:56.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:56.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:56.457Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:56.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:56.457Z] [2022-04-04T05:04:56.457Z] Login Succeeded [2022-04-04T05:04:56.457Z] nexus3.edgexfoundry.org:10003 [2022-04-04T05:04:56.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:56.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:56.457Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:56.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:56.457Z] [2022-04-04T05:04:56.457Z] Login Succeeded [2022-04-04T05:04:56.457Z] nexus3.edgexfoundry.org:10004 [2022-04-04T05:04:56.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:56.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:56.718Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:56.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:56.718Z] [2022-04-04T05:04:56.718Z] Login Succeeded [2022-04-04T05:04:56.718Z] docker.io [2022-04-04T05:04:56.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:56.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:56.978Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:56.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:56.978Z] [2022-04-04T05:04:56.978Z] Login Succeeded [2022-04-04T05:04:56.978Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T05:04:57.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T05:04:57.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T05:04:57.260Z] ========================================================= [2022-04-04T05:04:57.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T05:04:57.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:04:57.696Z] + 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-04T05:04:57.696Z] Sending build context to Docker daemon 5.197MB [2022-04-04T05:04:57.696Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T05:04:57.696Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T05:04:57.696Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T05:04:57.696Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T05:04:57.696Z] 666ba61612fd: Pulling fs layer [2022-04-04T05:04:57.696Z] 8ed8ca486205: Pulling fs layer [2022-04-04T05:04:57.696Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T05:04:57.696Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T05:04:57.696Z] 640e595b4fbd: Pulling fs layer [2022-04-04T05:04:57.696Z] 763cafe07f6e: Pulling fs layer [2022-04-04T05:04:57.696Z] 0c0b528cf693: Pulling fs layer [2022-04-04T05:04:57.696Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T05:04:57.696Z] 763cafe07f6e: Waiting [2022-04-04T05:04:57.696Z] 4fe6c5a15a65: Waiting [2022-04-04T05:04:57.696Z] 0c0b528cf693: Waiting [2022-04-04T05:04:57.696Z] 22a0e8bec74d: Waiting [2022-04-04T05:04:57.696Z] 640e595b4fbd: Waiting [2022-04-04T05:04:57.696Z] 10935f4eaf8b: Waiting [2022-04-04T05:04:57.696Z] 666ba61612fd: Download complete [2022-04-04T05:04:57.696Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T05:04:57.696Z] 22a0e8bec74d: Download complete [2022-04-04T05:04:57.696Z] 640e595b4fbd: Verifying Checksum [2022-04-04T05:04:57.696Z] 640e595b4fbd: Download complete [2022-04-04T05:04:57.955Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T05:04:57.955Z] 59bf1c3509f3: Download complete [2022-04-04T05:04:57.955Z] 763cafe07f6e: Verifying Checksum [2022-04-04T05:04:57.955Z] 763cafe07f6e: Download complete [2022-04-04T05:04:57.955Z] 0c0b528cf693: Download complete [2022-04-04T05:04:57.955Z] 59bf1c3509f3: Pull complete [2022-04-04T05:04:58.216Z] 666ba61612fd: Pull complete [2022-04-04T05:04:58.216Z] 8ed8ca486205: Pull complete [2022-04-04T05:04:58.477Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T05:04:58.477Z] 10935f4eaf8b: Download complete [2022-04-04T05:04:58.477Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T05:04:58.477Z] 4fe6c5a15a65: Download complete [2022-04-04T05:05:02.675Z] 4fe6c5a15a65: Pull complete [2022-04-04T05:05:02.675Z] 22a0e8bec74d: Pull complete [2022-04-04T05:05:02.675Z] 640e595b4fbd: Pull complete [2022-04-04T05:05:02.675Z] 763cafe07f6e: Pull complete [2022-04-04T05:05:02.675Z] 0c0b528cf693: Pull complete [2022-04-04T05:05:05.227Z] 10935f4eaf8b: Pull complete [2022-04-04T05:05:05.227Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T05:05:05.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T05:05:05.227Z] ---> 99d49a6021b9 [2022-04-04T05:05:05.227Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T05:05:06.169Z] ---> Running in a072806b4daf [2022-04-04T05:05:06.169Z] Removing intermediate container a072806b4daf [2022-04-04T05:05:06.169Z] ---> a7839a056f3d [2022-04-04T05:05:06.169Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T05:05:06.169Z] ---> Running in a0d4bb8d9314 [2022-04-04T05:05:06.169Z] Removing intermediate container a0d4bb8d9314 [2022-04-04T05:05:06.169Z] ---> df7e75c2130b [2022-04-04T05:05:06.169Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T05:05:06.169Z] ---> Running in 44e289192489 [2022-04-04T05:05:06.169Z] Removing intermediate container 44e289192489 [2022-04-04T05:05:06.169Z] ---> 211246216dff [2022-04-04T05:05:06.169Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T05:05:06.169Z] ---> Running in ded919448b20 [2022-04-04T05:05:06.740Z] Removing intermediate container ded919448b20 [2022-04-04T05:05:06.740Z] ---> e2970c9c913f [2022-04-04T05:05:06.740Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T05:05:07.003Z] ---> Running in a7f1388ac31d [2022-04-04T05:05:07.265Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T05:05:08.209Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T05:05:08.209Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T05:05:08.472Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T05:05:08.472Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T05:05:08.472Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T05:05:08.733Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T05:05:08.733Z] OK: 224 MiB in 56 packages [2022-04-04T05:05:08.995Z] Removing intermediate container a7f1388ac31d [2022-04-04T05:05:08.995Z] ---> b3717d5b2938 [2022-04-04T05:05:08.995Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-04T05:05:08.995Z] ---> Running in b17fc74e1080 [2022-04-04T05:05:09.257Z] Removing intermediate container b17fc74e1080 [2022-04-04T05:05:09.257Z] ---> a53c9ae708a3 [2022-04-04T05:05:09.257Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T05:05:09.257Z] ---> c49259db9ae1 [2022-04-04T05:05:09.257Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T05:05:09.257Z] ---> Running in a7460bdbf18f [2022-04-04T05:05:10.611Z] Still waiting to schedule task [2022-04-04T05:05:10.611Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10626’ is offline [2022-04-04T05:05:21.488Z] Removing intermediate container a7460bdbf18f [2022-04-04T05:05:21.488Z] ---> 7e3207d2d4da [2022-04-04T05:05:21.488Z] Step 11/12 : COPY . . [2022-04-04T05:05:21.751Z] ---> 41fb16557b2c [2022-04-04T05:05:21.751Z] Step 12/12 : RUN ${MAKE} [2022-04-04T05:05:21.751Z] ---> Running in bf8a063da980 [2022-04-04T05:05:22.012Z] noop [2022-04-04T05:05:22.275Z] Removing intermediate container bf8a063da980 [2022-04-04T05:05:22.275Z] ---> 8ea8c4dc91c3 [2022-04-04T05:05:22.275Z] Successfully built 8ea8c4dc91c3 [2022-04-04T05:05:22.275Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:05:31.304Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T05:05:31.304Z] . [Pipeline] withDockerContainer [2022-04-04T05:05:31.400Z] prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container [2022-04-04T05:05:31.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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-04T05:05:31.833Z] $ docker top 9b8c1d6c0b2d22a222451cd55ce3c50b57a5143414f0071dcd9c66450fac5195 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T05:05:32.256Z] + go version [2022-04-04T05:05:32.256Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T05:05:32.292Z] $ docker stop --time=1 9b8c1d6c0b2d22a222451cd55ce3c50b57a5143414f0071dcd9c66450fac5195 [2022-04-04T05:05:33.584Z] $ docker rm -f 9b8c1d6c0b2d22a222451cd55ce3c50b57a5143414f0071dcd9c66450fac5195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:05:34.273Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T05:05:34.273Z] . [Pipeline] withDockerContainer [2022-04-04T05:05:34.363Z] prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container [2022-04-04T05:05:34.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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-04T05:05:34.857Z] $ docker top e6b7c9bfadcb5581276b44ee0ac1da4df79de7a0eecce886ab8364df83bc0212 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T05:05:35.303Z] + make test [2022-04-04T05:05:35.303Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T05:05:35.563Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-04T05:05:45.539Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-04T05:05:45.539Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-04-04T05:05:45.539Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T05:05:48.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T05:05:48.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T05:05:48.085Z] ./bin/test-attribution-txt.sh [2022-04-04T05:05:48.346Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for github.com/pkg/errors is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-04T05:05:48.346Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-04-04T05:05:48.395Z] $ docker stop --time=1 e6b7c9bfadcb5581276b44ee0ac1da4df79de7a0eecce886ab8364df83bc0212 [2022-04-04T05:05:49.991Z] $ docker rm -f e6b7c9bfadcb5581276b44ee0ac1da4df79de7a0eecce886ab8364df83bc0212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:05:51.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:05:51.190Z] [2022-04-04T05:05:51.190Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:05:51.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:05:51.552Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T05:05:51.552Z] 5eb5b503b376: Pulling fs layer [2022-04-04T05:05:51.552Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T05:05:51.552Z] ec43610c2a17: Pulling fs layer [2022-04-04T05:05:51.552Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T05:05:51.552Z] 33b1e0a273af: Pulling fs layer [2022-04-04T05:05:51.552Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T05:05:51.552Z] 2f39f015ded8: Pulling fs layer [2022-04-04T05:05:51.552Z] 33b1e0a273af: Waiting [2022-04-04T05:05:51.552Z] 5d3b04190fa2: Waiting [2022-04-04T05:05:51.552Z] 2f39f015ded8: Waiting [2022-04-04T05:05:51.552Z] 3a2ae6a8a46f: Waiting [2022-04-04T05:05:51.552Z] 5c69ac0246d0: Download complete [2022-04-04T05:05:51.552Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-04T05:05:51.552Z] 3a2ae6a8a46f: Download complete [2022-04-04T05:05:51.552Z] ec43610c2a17: Verifying Checksum [2022-04-04T05:05:51.552Z] ec43610c2a17: Download complete [2022-04-04T05:05:51.552Z] 33b1e0a273af: Verifying Checksum [2022-04-04T05:05:51.552Z] 33b1e0a273af: Download complete [2022-04-04T05:05:51.552Z] 5d3b04190fa2: Verifying Checksum [2022-04-04T05:05:51.552Z] 5d3b04190fa2: Download complete [2022-04-04T05:05:51.812Z] 5eb5b503b376: Verifying Checksum [2022-04-04T05:05:51.812Z] 5eb5b503b376: Download complete [2022-04-04T05:05:52.383Z] 2f39f015ded8: Download complete [2022-04-04T05:05:52.950Z] 5eb5b503b376: Pull complete [2022-04-04T05:05:53.209Z] 5c69ac0246d0: Pull complete [2022-04-04T05:05:53.469Z] ec43610c2a17: Pull complete [2022-04-04T05:05:53.730Z] 3a2ae6a8a46f: Pull complete [2022-04-04T05:05:53.730Z] 33b1e0a273af: Pull complete [2022-04-04T05:05:53.991Z] 5d3b04190fa2: Pull complete [2022-04-04T05:05:58.184Z] 2f39f015ded8: Pull complete [2022-04-04T05:05:58.184Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T05:05:58.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:05:58.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T05:05:58.278Z] prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container [2022-04-04T05:05:58.320Z] $ 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-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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-04T05:05:59.713Z] $ docker top cf4964c0734f10cc1915d851e7a54eaba5d4cdcaeedbe923d81ab34af1f9f9cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:06:00.197Z] ---> job-cost.sh [2022-04-04T05:06:00.197Z] lf-activate-venv: SKIPPING [2022-04-04T05:06:00.197Z] INFO: No Stack... [2022-04-04T05:06:00.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T05:06:01.037Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T05:06:01.364Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-148/archives/cost.csv [2022-04-04T05:06:01.364Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T05:06:01.411Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [2022-04-04T05:06:01.416Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] did not exist. Created. [2022-04-04T05:06:01.416Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T05:06:01.832Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T05:06:01.895Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T05:06:01.918Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T05:06:02.008Z] $ docker stop --time=1 cf4964c0734f10cc1915d851e7a54eaba5d4cdcaeedbe923d81ab34af1f9f9cf [2022-04-04T05:06:03.201Z] $ docker rm -f cf4964c0734f10cc1915d851e7a54eaba5d4cdcaeedbe923d81ab34af1f9f9cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T05:06:03.596Z] Failed in branch amd64 [2022-04-04T05:08:06.478Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10629 in /w/workspace/gexfoundry_device-snmp-go_PR-148 [Pipeline] { [Pipeline] ws [2022-04-04T05:08:06.521Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-04T05:08:06.897Z] Selected Git installation does not exist. Using Default [2022-04-04T05:08:06.897Z] The recommended git tool is: NONE [2022-04-04T05:08:15.119Z] using credential edgex-jenkins-ssh [2022-04-04T05:08:15.149Z] Cloning the remote Git repository [2022-04-04T05:08:15.248Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-04T05:08:15.358Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-04T05:08:15.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-04T05:08:15.486Z] > git --version # timeout=10 [2022-04-04T05:08:15.516Z] > git --version # 'git version 2.25.1' [2022-04-04T05:08:15.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T05:08:15.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T05:08:17.797Z] Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [2022-04-04T05:08:16.939Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-04T05:08:17.080Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T05:08:17.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-04T05:08:17.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-04T05:08:17.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T05:08:17.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T05:08:18.144Z] Merge succeeded, producing 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [2022-04-04T05:08:18.144Z] Checking out Revision 5f450b7422b22719b79eec2da583fcbfaf10b8d4 (PR-148) [2022-04-04T05:08:17.825Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T05:08:17.856Z] > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # timeout=10 [2022-04-04T05:08:17.979Z] > git remote # timeout=10 [2022-04-04T05:08:18.016Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T05:08:18.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T05:08:18.048Z] > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [2022-04-04T05:08:18.128Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T05:08:18.159Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T05:08:18.176Z] > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # timeout=10 [2022-04-04T05:08:22.760Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-04T05:08:22.843Z] > git --version # timeout=10 [2022-04-04T05:08:22.857Z] > git --version # 'git version 2.25.1' [2022-04-04T05:08:22.873Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T05:08:24.128Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T05:08:24.128Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T05:08:24.128Z] Dload Upload Total Spent Left Speed [2022-04-04T05:08:24.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 148k 0 --:--:-- --:--:-- --:--:-- 148k [Pipeline] sh [2022-04-04T05:08:24.823Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T05:08:25.206Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-04T05:08:25.206Z] + sudo tee /etc/docker/daemon.new [2022-04-04T05:08:25.206Z] { [2022-04-04T05:08:25.206Z] "registry-mirrors": [ [2022-04-04T05:08:25.206Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T05:08:25.206Z] ], [2022-04-04T05:08:25.206Z] "bip": "10.250.0.254/24", [2022-04-04T05:08:25.206Z] "hosts": [ [2022-04-04T05:08:25.206Z] "tcp://0.0.0.0:5555", [2022-04-04T05:08:25.206Z] "unix:///var/run/docker.sock" [2022-04-04T05:08:25.206Z] ], [2022-04-04T05:08:25.206Z] "mtu": 1458, [2022-04-04T05:08:25.206Z] "selinux-enabled": true, [2022-04-04T05:08:25.206Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T05:08:25.206Z] } [Pipeline] sh [2022-04-04T05:08:25.577Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T05:08:25.942Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T05:08:44.454Z] provisioning config files... [2022-04-04T05:08:44.481Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6276592431527767544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:08:45.049Z] ---> docker-login.sh [2022-04-04T05:08:45.049Z] nexus3.edgexfoundry.org:10001 [2022-04-04T05:08:45.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:08:45.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:08:45.926Z] Configure a credential helper to remove this warning. See [2022-04-04T05:08:45.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:08:45.926Z] [2022-04-04T05:08:45.926Z] Login Succeeded [2022-04-04T05:08:45.926Z] nexus3.edgexfoundry.org:10002 [2022-04-04T05:08:46.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:08:46.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:08:46.476Z] Configure a credential helper to remove this warning. See [2022-04-04T05:08:46.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:08:46.476Z] [2022-04-04T05:08:46.476Z] Login Succeeded [2022-04-04T05:08:46.476Z] nexus3.edgexfoundry.org:10003 [2022-04-04T05:08:46.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:08:46.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:08:46.753Z] Configure a credential helper to remove this warning. See [2022-04-04T05:08:46.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:08:46.753Z] [2022-04-04T05:08:46.753Z] Login Succeeded [2022-04-04T05:08:46.753Z] nexus3.edgexfoundry.org:10004 [2022-04-04T05:08:47.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:08:47.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:08:47.302Z] Configure a credential helper to remove this warning. See [2022-04-04T05:08:47.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:08:47.302Z] [2022-04-04T05:08:47.302Z] Login Succeeded [2022-04-04T05:08:47.302Z] docker.io [2022-04-04T05:08:47.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:08:48.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:08:48.168Z] Configure a credential helper to remove this warning. See [2022-04-04T05:08:48.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:08:48.168Z] [2022-04-04T05:08:48.168Z] Login Succeeded [2022-04-04T05:08:48.168Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T05:08:48.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T05:08:48.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T05:08:48.663Z] ========================================================= [2022-04-04T05:08:48.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T05:08:48.663Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:08:49.129Z] + 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-04T05:08:49.414Z] Sending build context to Docker daemon 2.705MB [2022-04-04T05:08:49.414Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T05:08:49.414Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T05:08:49.694Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T05:08:49.694Z] 9b3977197b4f: Pulling fs layer [2022-04-04T05:08:49.694Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T05:08:49.694Z] 94645a83ff95: Pulling fs layer [2022-04-04T05:08:49.694Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T05:08:49.694Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T05:08:49.694Z] f7c0051592d6: Pulling fs layer [2022-04-04T05:08:49.694Z] a227ed2f7395: Pulling fs layer [2022-04-04T05:08:49.694Z] 7b1c46037f91: Pulling fs layer [2022-04-04T05:08:49.694Z] 3f3a8bcf1eab: Waiting [2022-04-04T05:08:49.694Z] 0c92f367c5e7: Waiting [2022-04-04T05:08:49.694Z] a227ed2f7395: Waiting [2022-04-04T05:08:49.694Z] 7b1c46037f91: Waiting [2022-04-04T05:08:49.694Z] f7c0051592d6: Waiting [2022-04-04T05:08:49.694Z] 94645a83ff95: Download complete [2022-04-04T05:08:49.694Z] 1a89e8eeedd5: Verifying Checksum [2022-04-04T05:08:49.694Z] 1a89e8eeedd5: Download complete [2022-04-04T05:08:49.694Z] 0c92f367c5e7: Verifying Checksum [2022-04-04T05:08:49.694Z] 0c92f367c5e7: Download complete [2022-04-04T05:08:49.694Z] f7c0051592d6: Download complete [2022-04-04T05:08:49.694Z] 9b3977197b4f: Verifying Checksum [2022-04-04T05:08:49.694Z] 9b3977197b4f: Download complete [2022-04-04T05:08:49.694Z] a227ed2f7395: Verifying Checksum [2022-04-04T05:08:49.694Z] a227ed2f7395: Download complete [2022-04-04T05:08:50.700Z] 9b3977197b4f: Pull complete [2022-04-04T05:08:51.310Z] 1a89e8eeedd5: Pull complete [2022-04-04T05:08:51.588Z] 94645a83ff95: Pull complete [2022-04-04T05:08:51.868Z] 7b1c46037f91: Verifying Checksum [2022-04-04T05:08:51.868Z] 7b1c46037f91: Download complete [2022-04-04T05:08:52.469Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T05:08:52.469Z] 3f3a8bcf1eab: Download complete [2022-04-04T05:09:04.899Z] 3f3a8bcf1eab: Pull complete [2022-04-04T05:09:04.899Z] 0c92f367c5e7: Pull complete [2022-04-04T05:09:04.899Z] f7c0051592d6: Pull complete [2022-04-04T05:09:05.173Z] a227ed2f7395: Pull complete [2022-04-04T05:09:11.928Z] 7b1c46037f91: Pull complete [2022-04-04T05:09:11.928Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T05:09:11.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T05:09:11.928Z] ---> f79e39bc4007 [2022-04-04T05:09:11.928Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T05:09:12.204Z] ---> Running in 9f51b4228780 [2022-04-04T05:09:12.480Z] Removing intermediate container 9f51b4228780 [2022-04-04T05:09:12.480Z] ---> 73e715b4d577 [2022-04-04T05:09:12.480Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T05:09:12.480Z] ---> Running in 69dabde0e372 [2022-04-04T05:09:12.765Z] Removing intermediate container 69dabde0e372 [2022-04-04T05:09:12.765Z] ---> 5e71d8e6c48f [2022-04-04T05:09:12.765Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T05:09:13.042Z] ---> Running in 74a85a26f18c [2022-04-04T05:09:13.319Z] Removing intermediate container 74a85a26f18c [2022-04-04T05:09:13.319Z] ---> e378bcdc3832 [2022-04-04T05:09:13.319Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T05:09:13.319Z] ---> Running in 327f0b8fb2dc [2022-04-04T05:09:15.308Z] Removing intermediate container 327f0b8fb2dc [2022-04-04T05:09:15.308Z] ---> 88329f06c796 [2022-04-04T05:09:15.308Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T05:09:15.308Z] ---> Running in eae916c90906 [2022-04-04T05:09:16.290Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T05:09:17.271Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T05:09:17.872Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T05:09:17.872Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T05:09:18.148Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T05:09:18.423Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T05:09:18.423Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T05:09:18.423Z] OK: 224 MiB in 56 packages [2022-04-04T05:09:19.414Z] Removing intermediate container eae916c90906 [2022-04-04T05:09:19.414Z] ---> 9a7f8e121dc6 [2022-04-04T05:09:19.414Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-04T05:09:19.414Z] ---> Running in 60f5a36df792 [2022-04-04T05:09:19.693Z] Removing intermediate container 60f5a36df792 [2022-04-04T05:09:19.693Z] ---> 7e24f48b14e9 [2022-04-04T05:09:19.693Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T05:09:20.299Z] ---> 37aa26158f7a [2022-04-04T05:09:20.299Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T05:09:20.299Z] ---> Running in 400b9cbb0939 [2022-04-04T05:10:07.378Z] Removing intermediate container 400b9cbb0939 [2022-04-04T05:10:07.378Z] ---> 3f9da5109059 [2022-04-04T05:10:07.378Z] Step 11/12 : COPY . . [2022-04-04T05:10:07.378Z] ---> f4fd60277dac [2022-04-04T05:10:07.378Z] Step 12/12 : RUN ${MAKE} [2022-04-04T05:10:07.378Z] ---> Running in 08ac18084c77 [2022-04-04T05:10:08.369Z] noop [2022-04-04T05:10:08.968Z] Removing intermediate container 08ac18084c77 [2022-04-04T05:10:08.968Z] ---> a34b7c1290c8 [2022-04-04T05:10:08.968Z] Successfully built a34b7c1290c8 [2022-04-04T05:10:08.968Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:10:09.344Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T05:10:09.344Z] . [Pipeline] withDockerContainer [2022-04-04T05:10:09.585Z] prd-ubuntu20.04-docker-arm64-4c-16g-10629 does not seem to be running inside a container [2022-04-04T05:10:09.680Z] $ 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-04T05:10:10.961Z] $ docker top f73c1b91560af7f0fda12f9c64af88c3bba41c8ccc7941ee70b216eff9563af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T05:10:11.905Z] + go version [2022-04-04T05:10:11.905Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T05:10:11.949Z] $ docker stop --time=1 f73c1b91560af7f0fda12f9c64af88c3bba41c8ccc7941ee70b216eff9563af9 [2022-04-04T05:10:13.592Z] $ docker rm -f f73c1b91560af7f0fda12f9c64af88c3bba41c8ccc7941ee70b216eff9563af9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:10:14.484Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T05:10:14.484Z] . [Pipeline] withDockerContainer [2022-04-04T05:10:14.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-10629 does not seem to be running inside a container [2022-04-04T05:10:14.851Z] $ 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-04T05:10:16.142Z] $ docker top 2194af07feb1f344770b8bcb7e46dca16aba28fb3f03fca46dab23e93f4554bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T05:10:17.148Z] + make test [2022-04-04T05:10:17.148Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T05:10:19.796Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-04T05:11:56.754Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-04T05:11:56.754Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2022-04-04T05:11:56.755Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T05:12:09.441Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T05:12:09.441Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T05:12:09.441Z] ./bin/test-attribution-txt.sh [2022-04-04T05:12:11.446Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-04-04T05:12:11.446Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:12:11.446Z] An attribution for github.com/pkg/errors is missing from in Attribution.txt, please add [2022-04-04T05:12:11.446Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-04T05:12:11.446Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-04T05:12:11.724Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-04T05:12:11.724Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-04T05:12:11.724Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:12:11.724Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-04T05:12:11.996Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-04-04T05:12:12.055Z] $ docker stop --time=1 2194af07feb1f344770b8bcb7e46dca16aba28fb3f03fca46dab23e93f4554bb [2022-04-04T05:12:13.858Z] $ docker rm -f 2194af07feb1f344770b8bcb7e46dca16aba28fb3f03fca46dab23e93f4554bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:12:15.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T05:12:15.424Z] [2022-04-04T05:12:15.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:12:15.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T05:12:16.101Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T05:12:16.101Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T05:12:16.101Z] 04944245beec: Pulling fs layer [2022-04-04T05:12:16.101Z] 699f458cf7ca: Pulling fs layer [2022-04-04T05:12:16.101Z] 765212b225bb: Pulling fs layer [2022-04-04T05:12:16.101Z] f23df028b6ca: Pulling fs layer [2022-04-04T05:12:16.101Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T05:12:16.101Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T05:12:16.101Z] f23df028b6ca: Waiting [2022-04-04T05:12:16.101Z] d65c8cfc05b1: Waiting [2022-04-04T05:12:16.101Z] 2437ff75d9bd: Waiting [2022-04-04T05:12:16.101Z] 765212b225bb: Waiting [2022-04-04T05:12:16.101Z] 04944245beec: Download complete [2022-04-04T05:12:16.101Z] 765212b225bb: Verifying Checksum [2022-04-04T05:12:16.101Z] 765212b225bb: Download complete [2022-04-04T05:12:16.101Z] f23df028b6ca: Download complete [2022-04-04T05:12:16.101Z] d65c8cfc05b1: Verifying Checksum [2022-04-04T05:12:16.101Z] d65c8cfc05b1: Download complete [2022-04-04T05:12:16.377Z] 699f458cf7ca: Download complete [2022-04-04T05:12:16.661Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T05:12:16.661Z] 8998bd30e6a1: Download complete [2022-04-04T05:12:19.290Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T05:12:19.290Z] 2437ff75d9bd: Download complete [2022-04-04T05:12:21.272Z] 8998bd30e6a1: Pull complete [2022-04-04T05:12:21.549Z] 04944245beec: Pull complete [2022-04-04T05:12:22.988Z] 699f458cf7ca: Pull complete [2022-04-04T05:12:23.263Z] 765212b225bb: Pull complete [2022-04-04T05:12:23.864Z] f23df028b6ca: Pull complete [2022-04-04T05:12:24.139Z] d65c8cfc05b1: Pull complete [2022-04-04T05:12:39.245Z] 2437ff75d9bd: Pull complete [2022-04-04T05:12:39.245Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T05:12:39.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T05:12:39.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T05:12:39.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-10629 does not seem to be running inside a container [2022-04-04T05:12:39.608Z] $ 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-04T05:12:42.123Z] $ docker top 0c5bcd1cbb312fd3acf36ffa708ccaae0a6b1f566963c9ac3d4b96948e2b335a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:43.097Z] ---> job-cost.sh [2022-04-04T05:12:43.097Z] lf-activate-venv: SKIPPING [2022-04-04T05:12:43.097Z] INFO: No Stack... [2022-04-04T05:12:43.693Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T05:12:44.293Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T05:12:44.981Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-04-04T05:12:44.981Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T05:12:45.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [2022-04-04T05:12:45.041Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] did not exist. Created. [2022-04-04T05:12:45.041Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T05:12:45.818Z] /w/workspace/device-snmp-go/1@tmp/durable-6b381d12/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T05:12:46.531Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T05:12:46.575Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T05:12:46.999Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T05:12:47.021Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T05:12:47.120Z] $ docker stop --time=1 0c5bcd1cbb312fd3acf36ffa708ccaae0a6b1f566963c9ac3d4b96948e2b335a [2022-04-04T05:12:48.648Z] $ docker rm -f 0c5bcd1cbb312fd3acf36ffa708ccaae0a6b1f566963c9ac3d4b96948e2b335a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T05:12:49.468Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-04T05:12:51.600Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-148/archives ] [2022-04-04T05:12:51.600Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-148/archives [2022-04-04T05:12:51.600Z] total 16 [2022-04-04T05:12:51.600Z] drwxr-xr-x 3 root root 4096 Apr 4 05:06 . [2022-04-04T05:12:51.600Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 05:06 .. [2022-04-04T05:12:51.600Z] drwxr-xr-x 2 root root 4096 Apr 4 05:06 cost [2022-04-04T05:12:51.600Z] -rw-r--r-- 1 root root 85 Apr 4 05:06 cost.csv [2022-04-04T05:12:51.600Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-148/archives [2022-04-04T05:12:51.600Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-148/archives [2022-04-04T05:12:51.600Z] total 16 [2022-04-04T05:12:51.600Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 05:06 . [2022-04-04T05:12:51.600Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 05:06 .. [2022-04-04T05:12:51.600Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 05:06 cost [2022-04-04T05:12:51.600Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 4 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:51.942Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:52.864Z] ---> package-listing.sh [2022-04-04T05:12:52.864Z] ++ facter osfamily [2022-04-04T05:12:52.864Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T05:12:53.125Z] + OS_FAMILY=debian [2022-04-04T05:12:53.125Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-148 [2022-04-04T05:12:53.125Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T05:12:53.125Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T05:12:53.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T05:12:53.125Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T05:12:53.125Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-148 ']' [2022-04-04T05:12:53.125Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T05:12:53.125Z] + case "${OS_FAMILY}" in [2022-04-04T05:12:53.125Z] + dpkg -l [2022-04-04T05:12:53.125Z] + grep '^ii' [2022-04-04T05:12:53.125Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T05:12:53.125Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T05:12:53.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T05:12:53.125Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-148 ']' [2022-04-04T05:12:53.125Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-148/archives/ [2022-04-04T05:12:53.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-148/archives/ [Pipeline] echo [2022-04-04T05:12:53.270Z] 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-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T05:12:53.578Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:12:54.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:12:54.167Z] . [Pipeline] withDockerContainer [2022-04-04T05:12:54.502Z] prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container [2022-04-04T05:12:54.542Z] $ 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-148/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-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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-04T05:12:54.728Z] $ docker top 392a88ea79668fd2278925e885ae277a68734f48c1b791118181ffc95da46083 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T05:12:55.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T05:12:55.457Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T05:12:55.783Z] + ls /var/log/sa-host [2022-04-04T05:12:55.783Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T05:12:55.985Z] provisioning config files... [2022-04-04T05:12:55.998Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/config3377563187648040175tmp [Pipeline] { [Pipeline] echo [2022-04-04T05:12:56.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:56.390Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T05:12:56.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:56.820Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T05:12:56.854Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:57.170Z] ---> sudo-logs.sh [2022-04-04T05:12:57.170Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T05:12:57.261Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:57.578Z] ---> job-cost.sh [2022-04-04T05:12:57.578Z] lf-activate-venv: SKIPPING [2022-04-04T05:12:57.578Z] DEBUG: total: 0.2199999988079071 [2022-04-04T05:12:57.578Z] INFO: Retrieving Stack Cost... [2022-04-04T05:12:57.838Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T05:12:58.410Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T05:12:58.453Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:58.770Z] ---> logs-deploy.sh [2022-04-04T05:12:58.770Z] lf-activate-venv: SKIPPING [2022-04-04T05:12:58.770Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-148/1 [2022-04-04T05:12:58.770Z] INFO: archiving workspace using pattern(s): [2022-04-04T05:12:59.707Z] Archives upload complete. [2022-04-04T05:12:59.707Z] INFO: archiving logs to Nexus [2022-04-04T05:13:00.279Z] ---> uname -a: [2022-04-04T05:13:00.279Z] Linux prd-ubuntu20-04-docker-8c-8g-10625 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-04T05:13:00.279Z] [2022-04-04T05:13:00.279Z] [2022-04-04T05:13:00.279Z] ---> lscpu: [2022-04-04T05:13:00.279Z] Architecture: x86_64 [2022-04-04T05:13:00.279Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-04T05:13:00.279Z] Byte Order: Little Endian [2022-04-04T05:13:00.279Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-04T05:13:00.279Z] CPU(s): 8 [2022-04-04T05:13:00.279Z] On-line CPU(s) list: 0-7 [2022-04-04T05:13:00.279Z] Thread(s) per core: 1 [2022-04-04T05:13:00.279Z] Core(s) per socket: 1 [2022-04-04T05:13:00.279Z] Socket(s): 8 [2022-04-04T05:13:00.279Z] NUMA node(s): 1 [2022-04-04T05:13:00.279Z] Vendor ID: AuthenticAMD [2022-04-04T05:13:00.279Z] CPU family: 23 [2022-04-04T05:13:00.279Z] Model: 49 [2022-04-04T05:13:00.279Z] Model name: AMD EPYC-Rome Processor [2022-04-04T05:13:00.279Z] Stepping: 0 [2022-04-04T05:13:00.279Z] CPU MHz: 2799.996 [2022-04-04T05:13:00.279Z] BogoMIPS: 5599.99 [2022-04-04T05:13:00.279Z] Virtualization: AMD-V [2022-04-04T05:13:00.279Z] Hypervisor vendor: KVM [2022-04-04T05:13:00.279Z] Virtualization type: full [2022-04-04T05:13:00.279Z] L1d cache: 256 KiB [2022-04-04T05:13:00.279Z] L1i cache: 256 KiB [2022-04-04T05:13:00.279Z] L2 cache: 4 MiB [2022-04-04T05:13:00.279Z] L3 cache: 128 MiB [2022-04-04T05:13:00.279Z] NUMA node0 CPU(s): 0-7 [2022-04-04T05:13:00.279Z] Vulnerability Itlb multihit: Not affected [2022-04-04T05:13:00.279Z] Vulnerability L1tf: Not affected [2022-04-04T05:13:00.279Z] Vulnerability Mds: Not affected [2022-04-04T05:13:00.279Z] Vulnerability Meltdown: Not affected [2022-04-04T05:13:00.279Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-04T05:13:00.279Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-04T05:13:00.279Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-04T05:13:00.279Z] Vulnerability Srbds: Not affected [2022-04-04T05:13:00.279Z] Vulnerability Tsx async abort: Not affected [2022-04-04T05:13:00.279Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-04-04T05:13:00.279Z] [2022-04-04T05:13:00.279Z] [2022-04-04T05:13:00.279Z] ---> nproc: [2022-04-04T05:13:00.279Z] 8 [2022-04-04T05:13:00.279Z] [2022-04-04T05:13:00.279Z] [2022-04-04T05:13:00.279Z] ---> df -h: [2022-04-04T05:13:00.279Z] Filesystem Size Used Avail Use% Mounted on [2022-04-04T05:13:00.279Z] overlay 155G 11G 145G 7% / [2022-04-04T05:13:00.279Z] tmpfs 64M 0 64M 0% /dev [2022-04-04T05:13:00.279Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-04-04T05:13:00.279Z] shm 64M 0 64M 0% /dev/shm [2022-04-04T05:13:00.279Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-04-04T05:13:00.279Z] [2022-04-04T05:13:00.279Z]