Pull request #138 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85+f2700d797dde70a27600e51c0b144607fa1919f0 (1e7d95927d1e21b8461b0cf9a0bf6d379e761945) 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-ssh2879335330656980750.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh715127486651126140.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-138/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-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1931355537850408943.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-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7918121769481204485.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh630453518238717309.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-138/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-138/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13196078395326907057.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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: [[centos7-docker-4c-2g, ubuntu18.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5204 in /w/workspace/gexfoundry_device-snmp-go_PR-138 [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-138 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/jenkins-gitclient-ssh8391399573940290708.key > 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 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/jenkins-gitclient-ssh4676863964096212600.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # timeout=10 Merge succeeded, producing a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 Checking out Revision a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 (PR-138) > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/jenkins-gitclient-ssh7054824683288433779.key > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # 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.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-14T05:04:52.941Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-14T05:04:53.100Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-14T05:04:53.189Z] ========================================================= [2022-02-14T05:04:53.189Z] EdgeX Global Pipelines Version Info [2022-02-14T05:04:53.189Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:04:54.328Z] ------------------- [2022-02-14T05:04:54.328Z] stable info: [2022-02-14T05:04:54.328Z] ------------------- [2022-02-14T05:04:54.328Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-14T05:04:54.328Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-14T05:04:54.328Z] Message: update stable to v1.0.220 [2022-02-14T05:04:54.905Z] ------------------- [2022-02-14T05:04:54.905Z] experimental info: [2022-02-14T05:04:54.905Z] ------------------- [2022-02-14T05:04:54.905Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-14T05:04:54.905Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-14T05:04:54.905Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-14T05:04:55.165Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-02-14T05:04:55.199Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-02-14T05:04:55.234Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-14T05:04:55.273Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-14T05:04:55.310Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-14T05:04:55.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-14T05:04:55.383Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-14T05:04:55.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-14T05:04:55.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-14T05:04:55.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-14T05:04:55.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-14T05:04:55.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-02-14T05:04:55.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-14T05:04:55.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-14T05:04:55.702Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-14T05:04:55.742Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-14T05:04:55.778Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-14T05:04:55.822Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-14T05:04:55.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-14T05:04:55.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-14T05:04:55.936Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-14T05:04:55.981Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-14T05:04:56.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-14T05:04:56.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-14T05:04:56.112Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-14T05:04:56.150Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-14T05:04:56.190Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-138 [Pipeline] echo [2022-02-14T05:04:56.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-138 [Pipeline] echo [2022-02-14T05:04:56.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-138 [Pipeline] echo [2022-02-14T05:04:56.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo [2022-02-14T05:04:56.355Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0f90dc [Pipeline] echo [2022-02-14T05:04:56.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T05:04:56.514Z] provisioning config files... [2022-02-14T05:04:56.528Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/config5261672509371007029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:04:56.874Z] ---> docker-login.sh [2022-02-14T05:04:56.874Z] nexus3.edgexfoundry.org:10001 [2022-02-14T05:04:56.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:04:57.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:04:57.136Z] Configure a credential helper to remove this warning. See [2022-02-14T05:04:57.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:04:57.136Z] [2022-02-14T05:04:57.136Z] Login Succeeded [2022-02-14T05:04:57.136Z] nexus3.edgexfoundry.org:10002 [2022-02-14T05:04:57.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:04:57.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:04:57.136Z] Configure a credential helper to remove this warning. See [2022-02-14T05:04:57.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:04:57.136Z] [2022-02-14T05:04:57.137Z] Login Succeeded [2022-02-14T05:04:57.137Z] nexus3.edgexfoundry.org:10003 [2022-02-14T05:04:57.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:04:57.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:04:57.404Z] Configure a credential helper to remove this warning. See [2022-02-14T05:04:57.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:04:57.404Z] [2022-02-14T05:04:57.404Z] Login Succeeded [2022-02-14T05:04:57.404Z] nexus3.edgexfoundry.org:10004 [2022-02-14T05:04:57.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:04:57.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:04:57.404Z] Configure a credential helper to remove this warning. See [2022-02-14T05:04:57.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:04:57.404Z] [2022-02-14T05:04:57.404Z] Login Succeeded [2022-02-14T05:04:57.404Z] docker.io [2022-02-14T05:04:57.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:04:57.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:04:57.925Z] Configure a credential helper to remove this warning. See [2022-02-14T05:04:57.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:04:57.925Z] [2022-02-14T05:04:57.925Z] Login Succeeded [2022-02-14T05:04:57.925Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T05:04:57.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-14T05:04:58.575Z] + git rev-list -1 --merges a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85~1..a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo [2022-02-14T05:04:58.624Z] -----------> git rev-list -1 --merges a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85~1..a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [false] [Pipeline] sh [2022-02-14T05:04:58.941Z] + git log --format=format:%s -1 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo [2022-02-14T05:04:58.979Z] ========================================================= [2022-02-14T05:04:58.979Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-14T05:04:58.979Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-14T05:04:59.430Z] + git log --format=format:%s -1 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo [2022-02-14T05:04:59.464Z] [semverPrep] GIT_COMMIT: a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-02-14T05:04:59.493Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-14T05:04:59.913Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-14T05:04:59.913Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-14T05:04:59.913Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-14T05:04:59.913Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-14T05:04:59.913Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-14T05:04:59.913Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-14T05:04:59.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:05:00.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T05:05:00.295Z] [2022-02-14T05:05:00.295Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:05:00.655Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T05:05:00.655Z] latest: Pulling from edgex-devops/git-semver [2022-02-14T05:05:00.655Z] a0d0a0d46f8b: Pulling fs layer [2022-02-14T05:05:00.655Z] 3e5f54012d9b: Pulling fs layer [2022-02-14T05:05:00.655Z] 4c7163046ea9: Pulling fs layer [2022-02-14T05:05:00.655Z] 0c2d73faf560: Pulling fs layer [2022-02-14T05:05:00.655Z] 0c2d73faf560: Waiting [2022-02-14T05:05:00.655Z] 3e5f54012d9b: Verifying Checksum [2022-02-14T05:05:00.655Z] 3e5f54012d9b: Download complete [2022-02-14T05:05:00.655Z] a0d0a0d46f8b: Verifying Checksum [2022-02-14T05:05:00.655Z] a0d0a0d46f8b: Download complete [2022-02-14T05:05:00.655Z] 0c2d73faf560: Verifying Checksum [2022-02-14T05:05:00.655Z] 0c2d73faf560: Download complete [2022-02-14T05:05:00.655Z] 4c7163046ea9: Verifying Checksum [2022-02-14T05:05:00.655Z] 4c7163046ea9: Download complete [2022-02-14T05:05:00.934Z] a0d0a0d46f8b: Pull complete [2022-02-14T05:05:00.934Z] 3e5f54012d9b: Pull complete [2022-02-14T05:05:01.204Z] 4c7163046ea9: Pull complete [2022-02-14T05:05:01.465Z] 0c2d73faf560: Pull complete [2022-02-14T05:05:01.465Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-14T05:05:01.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T05:05:01.465Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-14T05:05:01.559Z] prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container [2022-02-14T05:05:01.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@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-02-14T05:05:02.273Z] $ docker top 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-14T05:05:02.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-14T05:05:02.458Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-14T05:05:02.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-14T05:05:02.571Z] $ docker exec 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent [2022-02-14T05:05:02.674Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadllOA/agent.14 [2022-02-14T05:05:02.674Z] SSH_AGENT_PID=21 [2022-02-14T05:05:02.682Z] Running ssh-add (command line suppressed) [2022-02-14T05:05:02.795Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7240326508982926062.key (/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7240326508982926062.key) [2022-02-14T05:05:02.809Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-14T05:05:03.151Z] + git tag --points-at HEAD [Pipeline] } [2022-02-14T05:05:03.174Z] $ docker exec --env ******** --env ******** 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent -k [2022-02-14T05:05:03.278Z] unset SSH_AUTH_SOCK; [2022-02-14T05:05:03.278Z] unset SSH_AGENT_PID; [2022-02-14T05:05:03.279Z] echo Agent pid 21 killed; [2022-02-14T05:05:03.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-14T05:05:03.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-14T05:05:03.377Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-14T05:05:03.503Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-14T05:05:03.505Z] $ docker exec 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent [2022-02-14T05:05:03.606Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEGncIp/agent.55 [2022-02-14T05:05:03.606Z] SSH_AGENT_PID=61 [2022-02-14T05:05:03.611Z] Running ssh-add (command line suppressed) [2022-02-14T05:05:03.729Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7853572702278436892.key (/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7853572702278436892.key) [2022-02-14T05:05:03.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-14T05:05:04.075Z] + git semver init [2022-02-14T05:05:04.075Z] # -> Open(): unable to determine branch for HEAD [2022-02-14T05:05:04.075Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-138/.git [2022-02-14T05:05:04.075Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-138 [2022-02-14T05:05:04.075Z] # $SEMVER_REMOTE_NAME = origin [2022-02-14T05:05:04.075Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-14T05:05:04.075Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-14T05:05:04.075Z] # $SEMVER_BRANCH = PR-138 [2022-02-14T05:05:04.075Z] # $SEMVER_TEMP = /tmp/semver-255786746 [2022-02-14T05:05:04.075Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-02-14T05:05:05.019Z] # '/tmp/semver-255786746' -> '/w/workspace/gexfoundry_device-snmp-go_PR-138/.semver' [2022-02-14T05:05:05.019Z] # -> Force: false [2022-02-14T05:05:05.019Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-138/.semver [Pipeline] } [2022-02-14T05:05:05.044Z] $ docker exec --env ******** --env ******** 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent -k [2022-02-14T05:05:05.138Z] unset SSH_AUTH_SOCK; [2022-02-14T05:05:05.138Z] unset SSH_AGENT_PID; [2022-02-14T05:05:05.138Z] echo Agent pid 61 killed; [2022-02-14T05:05:05.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-14T05:05:05.588Z] + git semver [Pipeline] } [2022-02-14T05:05:05.616Z] $ docker stop --time=1 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f [2022-02-14T05:05:06.882Z] $ docker rm -f 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-14T05:05:07.297Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-14T05:05:07.585Z] Stashed 1 file(s) [Pipeline] echo [2022-02-14T05:05:07.603Z] [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-02-14T05:05:08.221Z] provisioning config files... [2022-02-14T05:05:08.231Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/config3719533278636674906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:05:08.609Z] ---> docker-login.sh [2022-02-14T05:05:08.609Z] nexus3.edgexfoundry.org:10001 [2022-02-14T05:05:08.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:08.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:08.609Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:08.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:08.609Z] [2022-02-14T05:05:08.609Z] Login Succeeded [2022-02-14T05:05:08.609Z] nexus3.edgexfoundry.org:10002 [2022-02-14T05:05:08.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:08.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:08.609Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:08.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:08.609Z] [2022-02-14T05:05:08.609Z] Login Succeeded [2022-02-14T05:05:08.609Z] nexus3.edgexfoundry.org:10003 [2022-02-14T05:05:08.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:08.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:08.869Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:08.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:08.869Z] [2022-02-14T05:05:08.869Z] Login Succeeded [2022-02-14T05:05:08.869Z] nexus3.edgexfoundry.org:10004 [2022-02-14T05:05:08.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:08.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:08.869Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:08.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:08.869Z] [2022-02-14T05:05:08.869Z] Login Succeeded [2022-02-14T05:05:08.869Z] docker.io [2022-02-14T05:05:09.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:05:09.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:05:09.391Z] Configure a credential helper to remove this warning. See [2022-02-14T05:05:09.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:05:09.391Z] [2022-02-14T05:05:09.391Z] Login Succeeded [2022-02-14T05:05:09.391Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T05:05:09.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-14T05:05:09.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-14T05:05:09.638Z] ========================================================= [2022-02-14T05:05:09.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-14T05:05:09.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:05:10.048Z] + 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-02-14T05:05:10.048Z] Sending build context to Docker daemon 5.199MB [2022-02-14T05:05:10.048Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-14T05:05:10.048Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-14T05:05:10.048Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-14T05:05:10.048Z] 59bf1c3509f3: Pulling fs layer [2022-02-14T05:05:10.048Z] 666ba61612fd: Pulling fs layer [2022-02-14T05:05:10.048Z] 8ed8ca486205: Pulling fs layer [2022-02-14T05:05:10.048Z] 4fe6c5a15a65: Pulling fs layer [2022-02-14T05:05:10.048Z] 22a0e8bec74d: Pulling fs layer [2022-02-14T05:05:10.048Z] 640e595b4fbd: Pulling fs layer [2022-02-14T05:05:10.048Z] 763cafe07f6e: Pulling fs layer [2022-02-14T05:05:10.048Z] 0c0b528cf693: Pulling fs layer [2022-02-14T05:05:10.048Z] 10935f4eaf8b: Pulling fs layer [2022-02-14T05:05:10.048Z] 4fe6c5a15a65: Waiting [2022-02-14T05:05:10.048Z] 22a0e8bec74d: Waiting [2022-02-14T05:05:10.048Z] 640e595b4fbd: Waiting [2022-02-14T05:05:10.048Z] 763cafe07f6e: Waiting [2022-02-14T05:05:10.048Z] 0c0b528cf693: Waiting [2022-02-14T05:05:10.048Z] 10935f4eaf8b: Waiting [2022-02-14T05:05:10.048Z] 8ed8ca486205: Verifying Checksum [2022-02-14T05:05:10.048Z] 8ed8ca486205: Download complete [2022-02-14T05:05:10.048Z] 666ba61612fd: Verifying Checksum [2022-02-14T05:05:10.048Z] 666ba61612fd: Download complete [2022-02-14T05:05:10.319Z] 22a0e8bec74d: Verifying Checksum [2022-02-14T05:05:10.319Z] 22a0e8bec74d: Download complete [2022-02-14T05:05:10.319Z] 640e595b4fbd: Verifying Checksum [2022-02-14T05:05:10.319Z] 640e595b4fbd: Download complete [2022-02-14T05:05:10.319Z] 59bf1c3509f3: Verifying Checksum [2022-02-14T05:05:10.319Z] 59bf1c3509f3: Download complete [2022-02-14T05:05:10.319Z] 763cafe07f6e: Verifying Checksum [2022-02-14T05:05:10.319Z] 763cafe07f6e: Download complete [2022-02-14T05:05:10.319Z] 0c0b528cf693: Verifying Checksum [2022-02-14T05:05:10.319Z] 0c0b528cf693: Download complete [2022-02-14T05:05:10.587Z] 59bf1c3509f3: Pull complete [2022-02-14T05:05:10.851Z] 4fe6c5a15a65: Verifying Checksum [2022-02-14T05:05:10.851Z] 4fe6c5a15a65: Download complete [2022-02-14T05:05:10.851Z] 666ba61612fd: Pull complete [2022-02-14T05:05:10.851Z] 10935f4eaf8b: Verifying Checksum [2022-02-14T05:05:10.851Z] 10935f4eaf8b: Download complete [2022-02-14T05:05:10.851Z] 8ed8ca486205: Pull complete [2022-02-14T05:05:15.078Z] 4fe6c5a15a65: Pull complete [2022-02-14T05:05:15.078Z] 22a0e8bec74d: Pull complete [2022-02-14T05:05:15.078Z] 640e595b4fbd: Pull complete [2022-02-14T05:05:15.078Z] 763cafe07f6e: Pull complete [2022-02-14T05:05:15.078Z] 0c0b528cf693: Pull complete [2022-02-14T05:05:17.640Z] 10935f4eaf8b: Pull complete [2022-02-14T05:05:17.640Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-14T05:05:17.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-14T05:05:17.640Z] ---> 99d49a6021b9 [2022-02-14T05:05:17.640Z] Step 3/12 : ARG MAKE='make build' [2022-02-14T05:05:21.854Z] ---> Running in 08a5d0f4de16 [2022-02-14T05:05:21.854Z] Removing intermediate container 08a5d0f4de16 [2022-02-14T05:05:21.854Z] ---> bb5d70ec1a5f [2022-02-14T05:05:21.854Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-14T05:05:21.854Z] ---> Running in ed429b429656 [2022-02-14T05:05:21.854Z] Removing intermediate container ed429b429656 [2022-02-14T05:05:21.854Z] ---> e79a35f6a7f2 [2022-02-14T05:05:21.854Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-14T05:05:21.854Z] ---> Running in f34c6f5f7173 [2022-02-14T05:05:22.117Z] Removing intermediate container f34c6f5f7173 [2022-02-14T05:05:22.117Z] ---> 730794ef2da6 [2022-02-14T05:05:22.117Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-14T05:05:22.117Z] ---> Running in 6af8a159dfc5 [2022-02-14T05:05:22.379Z] Removing intermediate container 6af8a159dfc5 [2022-02-14T05:05:22.379Z] ---> 9b72fdc9b3e6 [2022-02-14T05:05:22.379Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-14T05:05:22.649Z] ---> Running in 1d24db3d77ee [2022-02-14T05:05:22.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-14T05:05:23.041Z] Still waiting to schedule task [2022-02-14T05:05:23.041Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-5205’ [2022-02-14T05:05:23.482Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-14T05:05:24.053Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-14T05:05:24.053Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-14T05:05:24.053Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-14T05:05:24.315Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-14T05:05:24.315Z] Executing busybox-1.34.1-r3.trigger [2022-02-14T05:05:24.315Z] OK: 224 MiB in 56 packages [2022-02-14T05:05:24.575Z] Removing intermediate container 1d24db3d77ee [2022-02-14T05:05:24.575Z] ---> 35ed0ddde70b [2022-02-14T05:05:24.575Z] Step 8/12 : WORKDIR /device-snmp-go [2022-02-14T05:05:24.575Z] ---> Running in 01a1968e8769 [2022-02-14T05:05:24.839Z] Removing intermediate container 01a1968e8769 [2022-02-14T05:05:24.839Z] ---> fb348b1f3184 [2022-02-14T05:05:24.839Z] Step 9/12 : COPY go.mod vendor* ./ [2022-02-14T05:05:24.839Z] ---> dca8200a97e0 [2022-02-14T05:05:24.839Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-14T05:05:24.839Z] ---> Running in b4efb84d98ae [2022-02-14T05:05:57.014Z] Removing intermediate container b4efb84d98ae [2022-02-14T05:05:57.014Z] ---> 2a9f67f2b00d [2022-02-14T05:05:57.014Z] Step 11/12 : COPY . . [2022-02-14T05:05:57.014Z] ---> fc46de01810d [2022-02-14T05:05:57.014Z] Step 12/12 : RUN ${MAKE} [2022-02-14T05:05:57.014Z] ---> Running in f42755aada1e [2022-02-14T05:05:57.014Z] noop [2022-02-14T05:05:57.014Z] Removing intermediate container f42755aada1e [2022-02-14T05:05:57.014Z] ---> f455f15c176c [2022-02-14T05:05:57.014Z] Successfully built f455f15c176c [2022-02-14T05:05:57.014Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:05:57.360Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-14T05:05:57.360Z] . [Pipeline] withDockerContainer [2022-02-14T05:05:57.450Z] prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container [2022-02-14T05:05:57.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@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-02-14T05:05:57.848Z] $ docker top cf69e921c233f63e3174d9b04a382f9b9c71d9044301a836741074daa4ad7ee3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T05:05:58.244Z] + go version [2022-02-14T05:05:58.244Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-14T05:05:58.275Z] $ docker stop --time=1 cf69e921c233f63e3174d9b04a382f9b9c71d9044301a836741074daa4ad7ee3 [2022-02-14T05:05:59.441Z] $ docker rm -f cf69e921c233f63e3174d9b04a382f9b9c71d9044301a836741074daa4ad7ee3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:06:00.100Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-14T05:06:00.100Z] . [Pipeline] withDockerContainer [2022-02-14T05:06:00.180Z] prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container [2022-02-14T05:06:00.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@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-02-14T05:06:00.564Z] $ docker top a1a78585a7aa969d6ad74bdcf3c7097901b8a02343fcfabba47c03613aaab88d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-14T05:06:01.013Z] + make test [2022-02-14T05:06:01.013Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-14T05:06:01.279Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-02-14T05:06:09.472Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-02-14T05:06:09.472Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-02-14T05:06:09.472Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-02-14T05:06:09.472Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-02-14T05:06:09.472Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-02-14T05:06:09.472Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-02-14T05:06:14.799Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements [2022-02-14T05:06:14.799Z] make: *** [Makefile:26: test] Error 2 [Pipeline] } [2022-02-14T05:06:14.844Z] $ docker stop --time=1 a1a78585a7aa969d6ad74bdcf3c7097901b8a02343fcfabba47c03613aaab88d [2022-02-14T05:06:16.334Z] $ docker rm -f a1a78585a7aa969d6ad74bdcf3c7097901b8a02343fcfabba47c03613aaab88d [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-02-14T05:06:17.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:06:17.446Z] [2022-02-14T05:06:17.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:06:17.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:06:17.792Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-14T05:06:17.792Z] b4d181a07f80: Pulling fs layer [2022-02-14T05:06:17.792Z] a1111a8f2ec3: Pulling fs layer [2022-02-14T05:06:17.792Z] ed53099fbce6: Pulling fs layer [2022-02-14T05:06:17.792Z] dc539afda2c1: Pulling fs layer [2022-02-14T05:06:17.792Z] 77bc0d833cb6: Pulling fs layer [2022-02-14T05:06:17.792Z] 9065ff56babe: Pulling fs layer [2022-02-14T05:06:17.792Z] d287ab97295c: Pulling fs layer [2022-02-14T05:06:17.792Z] dc539afda2c1: Waiting [2022-02-14T05:06:17.792Z] 77bc0d833cb6: Waiting [2022-02-14T05:06:17.792Z] 9065ff56babe: Waiting [2022-02-14T05:06:17.792Z] a1111a8f2ec3: Verifying Checksum [2022-02-14T05:06:17.792Z] a1111a8f2ec3: Download complete [2022-02-14T05:06:17.792Z] dc539afda2c1: Verifying Checksum [2022-02-14T05:06:17.792Z] dc539afda2c1: Download complete [2022-02-14T05:06:18.057Z] 77bc0d833cb6: Verifying Checksum [2022-02-14T05:06:18.057Z] 77bc0d833cb6: Download complete [2022-02-14T05:06:18.057Z] ed53099fbce6: Verifying Checksum [2022-02-14T05:06:18.057Z] ed53099fbce6: Download complete [2022-02-14T05:06:18.057Z] 9065ff56babe: Verifying Checksum [2022-02-14T05:06:18.057Z] 9065ff56babe: Download complete [2022-02-14T05:06:18.057Z] b4d181a07f80: Verifying Checksum [2022-02-14T05:06:18.057Z] b4d181a07f80: Download complete [2022-02-14T05:06:18.635Z] d287ab97295c: Verifying Checksum [2022-02-14T05:06:18.635Z] d287ab97295c: Download complete [2022-02-14T05:06:19.589Z] b4d181a07f80: Pull complete [2022-02-14T05:06:19.589Z] a1111a8f2ec3: Pull complete [2022-02-14T05:06:20.167Z] ed53099fbce6: Pull complete [2022-02-14T05:06:20.167Z] dc539afda2c1: Pull complete [2022-02-14T05:06:20.426Z] 77bc0d833cb6: Pull complete [2022-02-14T05:06:20.689Z] 9065ff56babe: Pull complete [2022-02-14T05:06:26.023Z] d287ab97295c: Pull complete [2022-02-14T05:06:26.023Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-14T05:06:26.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:06:26.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-14T05:06:26.107Z] prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container [2022-02-14T05:06:26.150Z] $ 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-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@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-02-14T05:06:28.720Z] $ docker top bce091d31219b065c96c922f00ea966162ac7207fa24bd6fb33724ee6fa00cb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:06:29.174Z] ---> job-cost.sh [2022-02-14T05:06:29.174Z] lf-activate-venv: SKIPPING [2022-02-14T05:06:29.174Z] INFO: No Stack... [2022-02-14T05:06:29.435Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-14T05:06:30.008Z] INFO: Archiving Costs [Pipeline] sh [2022-02-14T05:06:30.334Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-138/archives/cost.csv [2022-02-14T05:06:30.334Z] + cut -d, -f6 [Pipeline] lock [2022-02-14T05:06:30.377Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [2022-02-14T05:06:30.382Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] did not exist. Created. [2022-02-14T05:06:30.382Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-14T05:06:30.771Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-14T05:06:30.834Z] Stashed 1 file(s) [Pipeline] } [2022-02-14T05:06:30.857Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-14T05:06:30.929Z] $ docker stop --time=1 bce091d31219b065c96c922f00ea966162ac7207fa24bd6fb33724ee6fa00cb6 [2022-02-14T05:06:32.063Z] $ docker rm -f bce091d31219b065c96c922f00ea966162ac7207fa24bd6fb33724ee6fa00cb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-14T05:06:32.426Z] Failed in branch amd64 [2022-02-14T05:07:40.882Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5206 in /w/workspace/gexfoundry_device-snmp-go_PR-138 [Pipeline] { [Pipeline] ws [2022-02-14T05:07:40.923Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-02-14T05:07:41.144Z] Selected Git installation does not exist. Using Default [2022-02-14T05:07:41.144Z] The recommended git tool is: NONE [2022-02-14T05:07:45.575Z] using credential edgex-jenkins-ssh [2022-02-14T05:07:45.593Z] Cloning the remote Git repository [2022-02-14T05:07:45.658Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-02-14T05:07:45.739Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-02-14T05:07:45.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-02-14T05:07:45.855Z] > git --version # timeout=10 [2022-02-14T05:07:45.952Z] > git --version # 'git version 2.17.1' [2022-02-14T05:07:45.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T05:07:46.064Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-14T05:07:47.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-02-14T05:07:47.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-14T05:07:47.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-02-14T05:07:47.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-02-14T05:07:47.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T05:07:47.856Z] Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [2022-02-14T05:07:48.054Z] Merge succeeded, producing a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [2022-02-14T05:07:48.055Z] Checking out Revision a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 (PR-138) [2022-02-14T05:07:47.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-14T05:07:47.870Z] > git config core.sparsecheckout # timeout=10 [2022-02-14T05:07:47.883Z] > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # timeout=10 [2022-02-14T05:07:47.970Z] > git remote # timeout=10 [2022-02-14T05:07:47.991Z] > git config --get remote.origin.url # timeout=10 [2022-02-14T05:07:48.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T05:07:48.017Z] > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [2022-02-14T05:07:48.037Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-14T05:07:48.057Z] > git config core.sparsecheckout # timeout=10 [2022-02-14T05:07:48.068Z] > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # timeout=10 [2022-02-14T05:07:52.173Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-02-14T05:07:52.230Z] > git --version # timeout=10 [2022-02-14T05:07:52.246Z] > git --version # 'git version 2.17.1' [2022-02-14T05:07:52.268Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-14T05:07:53.460Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-14T05:07:53.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-14T05:07:53.460Z] Dload Upload Total Spent Left Speed [2022-02-14T05:07:53.460Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-02-14T05:07:53.993Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-14T05:07:54.403Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-14T05:07:54.403Z] + sudo tee /etc/docker/daemon.new [2022-02-14T05:07:54.403Z] { [2022-02-14T05:07:54.403Z] "registry-mirrors": [ [2022-02-14T05:07:54.403Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-14T05:07:54.403Z] ], [2022-02-14T05:07:54.403Z] "bip": "10.250.0.254/24", [2022-02-14T05:07:54.403Z] "hosts": [ [2022-02-14T05:07:54.403Z] "tcp://0.0.0.0:5555", [2022-02-14T05:07:54.403Z] "unix:///var/run/docker.sock" [2022-02-14T05:07:54.403Z] ], [2022-02-14T05:07:54.403Z] "mtu": 1458, [2022-02-14T05:07:54.403Z] "selinux-enabled": true, [2022-02-14T05:07:54.403Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-14T05:07:54.403Z] } [Pipeline] sh [2022-02-14T05:07:54.751Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-14T05:07:55.101Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T05:08:13.490Z] provisioning config files... [2022-02-14T05:08:13.519Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1544424473025657406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:08:13.933Z] ---> docker-login.sh [2022-02-14T05:08:13.933Z] nexus3.edgexfoundry.org:10001 [2022-02-14T05:08:14.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:08:14.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:08:14.806Z] Configure a credential helper to remove this warning. See [2022-02-14T05:08:14.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:08:14.806Z] [2022-02-14T05:08:14.806Z] Login Succeeded [2022-02-14T05:08:14.806Z] nexus3.edgexfoundry.org:10002 [2022-02-14T05:08:15.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:08:15.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:08:15.350Z] Configure a credential helper to remove this warning. See [2022-02-14T05:08:15.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:08:15.350Z] [2022-02-14T05:08:15.350Z] Login Succeeded [2022-02-14T05:08:15.350Z] nexus3.edgexfoundry.org:10003 [2022-02-14T05:08:15.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:08:15.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:08:15.627Z] Configure a credential helper to remove this warning. See [2022-02-14T05:08:15.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:08:15.627Z] [2022-02-14T05:08:15.627Z] Login Succeeded [2022-02-14T05:08:15.627Z] nexus3.edgexfoundry.org:10004 [2022-02-14T05:08:15.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:08:16.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:08:16.178Z] Configure a credential helper to remove this warning. See [2022-02-14T05:08:16.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:08:16.178Z] [2022-02-14T05:08:16.178Z] Login Succeeded [2022-02-14T05:08:16.178Z] docker.io [2022-02-14T05:08:16.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T05:08:17.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T05:08:17.042Z] Configure a credential helper to remove this warning. See [2022-02-14T05:08:17.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T05:08:17.042Z] [2022-02-14T05:08:17.042Z] Login Succeeded [2022-02-14T05:08:17.042Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T05:08:17.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-14T05:08:17.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-14T05:08:17.655Z] ========================================================= [2022-02-14T05:08:17.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-14T05:08:17.655Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:08:18.093Z] + 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-02-14T05:08:18.367Z] Sending build context to Docker daemon 2.705MB [2022-02-14T05:08:18.367Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-14T05:08:18.367Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-14T05:08:18.643Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-14T05:08:18.643Z] 9b3977197b4f: Pulling fs layer [2022-02-14T05:08:18.643Z] 1a89e8eeedd5: Pulling fs layer [2022-02-14T05:08:18.643Z] 94645a83ff95: Pulling fs layer [2022-02-14T05:08:18.643Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-14T05:08:18.643Z] 0c92f367c5e7: Pulling fs layer [2022-02-14T05:08:18.643Z] f7c0051592d6: Pulling fs layer [2022-02-14T05:08:18.643Z] a227ed2f7395: Pulling fs layer [2022-02-14T05:08:18.643Z] 7b1c46037f91: Pulling fs layer [2022-02-14T05:08:18.643Z] f7c0051592d6: Waiting [2022-02-14T05:08:18.643Z] a227ed2f7395: Waiting [2022-02-14T05:08:18.643Z] 3f3a8bcf1eab: Waiting [2022-02-14T05:08:18.643Z] 7b1c46037f91: Waiting [2022-02-14T05:08:18.643Z] 0c92f367c5e7: Waiting [2022-02-14T05:08:18.643Z] 94645a83ff95: Verifying Checksum [2022-02-14T05:08:18.643Z] 94645a83ff95: Download complete [2022-02-14T05:08:18.643Z] 1a89e8eeedd5: Verifying Checksum [2022-02-14T05:08:18.643Z] 1a89e8eeedd5: Download complete [2022-02-14T05:08:18.643Z] 0c92f367c5e7: Verifying Checksum [2022-02-14T05:08:18.643Z] 0c92f367c5e7: Download complete [2022-02-14T05:08:18.643Z] f7c0051592d6: Verifying Checksum [2022-02-14T05:08:18.643Z] f7c0051592d6: Download complete [2022-02-14T05:08:18.643Z] 9b3977197b4f: Verifying Checksum [2022-02-14T05:08:18.643Z] 9b3977197b4f: Download complete [2022-02-14T05:08:18.643Z] a227ed2f7395: Verifying Checksum [2022-02-14T05:08:18.643Z] a227ed2f7395: Download complete [2022-02-14T05:08:19.629Z] 9b3977197b4f: Pull complete [2022-02-14T05:08:20.242Z] 1a89e8eeedd5: Pull complete [2022-02-14T05:08:20.520Z] 94645a83ff95: Pull complete [2022-02-14T05:08:20.520Z] 7b1c46037f91: Verifying Checksum [2022-02-14T05:08:20.520Z] 7b1c46037f91: Download complete [2022-02-14T05:08:21.500Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-14T05:08:21.500Z] 3f3a8bcf1eab: Download complete [2022-02-14T05:08:33.903Z] 3f3a8bcf1eab: Pull complete [2022-02-14T05:08:33.903Z] 0c92f367c5e7: Pull complete [2022-02-14T05:08:33.903Z] f7c0051592d6: Pull complete [2022-02-14T05:08:33.903Z] a227ed2f7395: Pull complete [2022-02-14T05:08:40.597Z] 7b1c46037f91: Pull complete [2022-02-14T05:08:40.597Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-14T05:08:40.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-14T05:08:40.597Z] ---> f79e39bc4007 [2022-02-14T05:08:40.597Z] Step 3/12 : ARG MAKE='make build' [2022-02-14T05:08:40.597Z] ---> Running in 19e8c9f0ed07 [2022-02-14T05:08:40.874Z] Removing intermediate container 19e8c9f0ed07 [2022-02-14T05:08:40.874Z] ---> ca6de7d5d556 [2022-02-14T05:08:40.874Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-14T05:08:40.874Z] ---> Running in 682fa1714249 [2022-02-14T05:08:41.466Z] Removing intermediate container 682fa1714249 [2022-02-14T05:08:41.466Z] ---> ae91d55f9a6d [2022-02-14T05:08:41.466Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-14T05:08:41.466Z] ---> Running in 3b3e4b2518fb [2022-02-14T05:08:41.742Z] Removing intermediate container 3b3e4b2518fb [2022-02-14T05:08:41.742Z] ---> c8694597001a [2022-02-14T05:08:41.742Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-14T05:08:42.013Z] ---> Running in d84804e8abc3 [2022-02-14T05:08:43.979Z] Removing intermediate container d84804e8abc3 [2022-02-14T05:08:43.979Z] ---> 389e5ad3a29b [2022-02-14T05:08:43.979Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-14T05:08:43.979Z] ---> Running in 198306655bae [2022-02-14T05:08:44.953Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-14T05:08:45.930Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-14T05:08:46.528Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-14T05:08:46.528Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-14T05:08:46.799Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-14T05:08:46.799Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-14T05:08:47.073Z] Executing busybox-1.34.1-r3.trigger [2022-02-14T05:08:47.073Z] OK: 224 MiB in 56 packages [2022-02-14T05:08:48.055Z] Removing intermediate container 198306655bae [2022-02-14T05:08:48.055Z] ---> 16f1f2efffaa [2022-02-14T05:08:48.055Z] Step 8/12 : WORKDIR /device-snmp-go [2022-02-14T05:08:48.055Z] ---> Running in abe48d406a79 [2022-02-14T05:08:48.649Z] Removing intermediate container abe48d406a79 [2022-02-14T05:08:48.649Z] ---> 86ff9598ea11 [2022-02-14T05:08:48.649Z] Step 9/12 : COPY go.mod vendor* ./ [2022-02-14T05:08:49.241Z] ---> 9717b6a4e6c6 [2022-02-14T05:08:49.241Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-14T05:08:49.241Z] ---> Running in 35a17c9ce7c9 [2022-02-14T05:10:11.006Z] Removing intermediate container 35a17c9ce7c9 [2022-02-14T05:10:11.006Z] ---> d71fc5180fd9 [2022-02-14T05:10:11.006Z] Step 11/12 : COPY . . [2022-02-14T05:10:11.006Z] ---> a3b47d9a1efa [2022-02-14T05:10:11.006Z] Step 12/12 : RUN ${MAKE} [2022-02-14T05:10:11.006Z] ---> Running in 6ac6fff47247 [2022-02-14T05:10:11.006Z] noop [2022-02-14T05:10:11.006Z] Removing intermediate container 6ac6fff47247 [2022-02-14T05:10:11.006Z] ---> aa22324746be [2022-02-14T05:10:11.006Z] Successfully built aa22324746be [2022-02-14T05:10:11.006Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:10:11.376Z] + docker inspect -f . ci-base-image-arm64 [2022-02-14T05:10:11.376Z] . [Pipeline] withDockerContainer [2022-02-14T05:10:11.616Z] prd-ubuntu18.04-docker-arm64-4c-16g-5206 does not seem to be running inside a container [2022-02-14T05:10:11.693Z] $ 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-02-14T05:10:12.887Z] $ docker top 9db89928154f080072ebe343882a8a2e26526fc564b34f0d446b9f5d5a59a1c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T05:10:13.805Z] + go version [2022-02-14T05:10:13.805Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-14T05:10:13.840Z] $ docker stop --time=1 9db89928154f080072ebe343882a8a2e26526fc564b34f0d446b9f5d5a59a1c5 [2022-02-14T05:10:15.425Z] $ docker rm -f 9db89928154f080072ebe343882a8a2e26526fc564b34f0d446b9f5d5a59a1c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:10:16.232Z] + docker inspect -f . ci-base-image-arm64 [2022-02-14T05:10:16.232Z] . [Pipeline] withDockerContainer [2022-02-14T05:10:16.444Z] prd-ubuntu18.04-docker-arm64-4c-16g-5206 does not seem to be running inside a container [2022-02-14T05:10:16.522Z] $ 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-02-14T05:10:17.770Z] $ docker top 8949fe289ebe5dfdd6b9c57890aff1eed4293166a2967aad65852f3afee61c42 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-14T05:10:18.760Z] + make test [2022-02-14T05:10:18.760Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-14T05:10:19.738Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-02-14T05:10:46.568Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-02-14T05:10:46.568Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-02-14T05:10:46.568Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-02-14T05:10:46.568Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-02-14T05:10:53.286Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-02-14T05:10:53.286Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-02-14T05:11:01.576Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements [2022-02-14T05:11:01.576Z] make: *** [Makefile:26: test] Error 2 [Pipeline] } [2022-02-14T05:11:01.620Z] $ docker stop --time=1 8949fe289ebe5dfdd6b9c57890aff1eed4293166a2967aad65852f3afee61c42 [2022-02-14T05:11:03.396Z] $ docker rm -f 8949fe289ebe5dfdd6b9c57890aff1eed4293166a2967aad65852f3afee61c42 [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-02-14T05:11:04.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T05:11:04.680Z] [2022-02-14T05:11:04.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:11:05.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T05:11:05.332Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-14T05:11:05.332Z] 448f6bf000e3: Pulling fs layer [2022-02-14T05:11:05.332Z] f757da607395: Pulling fs layer [2022-02-14T05:11:05.332Z] 05883995daec: Pulling fs layer [2022-02-14T05:11:05.332Z] 8603b9c90790: Pulling fs layer [2022-02-14T05:11:05.332Z] 1560dd03e051: Pulling fs layer [2022-02-14T05:11:05.332Z] 27f5ce0e4adf: Pulling fs layer [2022-02-14T05:11:05.332Z] c2d8d7efcc4b: Pulling fs layer [2022-02-14T05:11:05.332Z] 8603b9c90790: Waiting [2022-02-14T05:11:05.332Z] 1560dd03e051: Waiting [2022-02-14T05:11:05.332Z] 27f5ce0e4adf: Waiting [2022-02-14T05:11:05.332Z] c2d8d7efcc4b: Waiting [2022-02-14T05:11:05.332Z] f757da607395: Verifying Checksum [2022-02-14T05:11:05.332Z] f757da607395: Download complete [2022-02-14T05:11:05.332Z] 8603b9c90790: Download complete [2022-02-14T05:11:05.332Z] 1560dd03e051: Verifying Checksum [2022-02-14T05:11:05.332Z] 1560dd03e051: Download complete [2022-02-14T05:11:05.610Z] 27f5ce0e4adf: Verifying Checksum [2022-02-14T05:11:05.610Z] 27f5ce0e4adf: Download complete [2022-02-14T05:11:05.610Z] 05883995daec: Verifying Checksum [2022-02-14T05:11:05.610Z] 05883995daec: Download complete [2022-02-14T05:11:05.890Z] 448f6bf000e3: Verifying Checksum [2022-02-14T05:11:05.890Z] 448f6bf000e3: Download complete [2022-02-14T05:11:08.502Z] c2d8d7efcc4b: Verifying Checksum [2022-02-14T05:11:08.502Z] c2d8d7efcc4b: Download complete [2022-02-14T05:11:09.477Z] 448f6bf000e3: Pull complete [2022-02-14T05:11:10.070Z] f757da607395: Pull complete [2022-02-14T05:11:11.501Z] 05883995daec: Pull complete [2022-02-14T05:11:11.501Z] 8603b9c90790: Pull complete [2022-02-14T05:11:12.478Z] 1560dd03e051: Pull complete [2022-02-14T05:11:12.755Z] 27f5ce0e4adf: Pull complete [2022-02-14T05:11:27.831Z] c2d8d7efcc4b: Pull complete [2022-02-14T05:11:27.831Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-14T05:11:27.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T05:11:27.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-14T05:11:28.065Z] prd-ubuntu18.04-docker-arm64-4c-16g-5206 does not seem to be running inside a container [2022-02-14T05:11:28.146Z] $ 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-02-14T05:11:30.702Z] $ docker top 9ad9629d306a710afc1fd34a2a07a981d71d23d215d3e72c6d0bc5732c90c9c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:31.675Z] ---> job-cost.sh [2022-02-14T05:11:31.676Z] lf-activate-venv: SKIPPING [2022-02-14T05:11:31.676Z] INFO: No Stack... [2022-02-14T05:11:31.945Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-14T05:11:32.215Z] INFO: Archiving Costs [Pipeline] sh [2022-02-14T05:11:32.902Z] + + catcut /w/workspace/device-snmp-go/1/archives/cost.csv -d, [2022-02-14T05:11:32.902Z] -f6 [Pipeline] lock [2022-02-14T05:11:32.986Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [2022-02-14T05:11:32.993Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] did not exist. Created. [2022-02-14T05:11:32.993Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-14T05:11:33.732Z] /w/workspace/device-snmp-go/1@tmp/durable-8cdeff56/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-8cdeff56/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-14T05:11:34.422Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-14T05:11:34.459Z] Warning: overwriting stash ‘stack-cost’ [2022-02-14T05:11:34.880Z] Stashed 1 file(s) [Pipeline] } [2022-02-14T05:11:34.899Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-14T05:11:34.980Z] $ docker stop --time=1 9ad9629d306a710afc1fd34a2a07a981d71d23d215d3e72c6d0bc5732c90c9c0 [2022-02-14T05:11:36.455Z] $ docker rm -f 9ad9629d306a710afc1fd34a2a07a981d71d23d215d3e72c6d0bc5732c90c9c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-14T05:11:37.188Z] 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-02-14T05:11:39.053Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-138/archives ']' [2022-02-14T05:11:39.053Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-138/archives [2022-02-14T05:11:39.053Z] total 8 [2022-02-14T05:11:39.053Z] drwxr-xr-x. 3 root root 34 Feb 14 05:06 . [2022-02-14T05:11:39.053Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 14 05:06 .. [2022-02-14T05:11:39.053Z] drwxr-xr-x. 2 root root 6 Feb 14 05:06 cost [2022-02-14T05:11:39.053Z] -rw-r--r--. 1 root root 85 Feb 14 05:06 cost.csv [2022-02-14T05:11:39.053Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-138/archives [2022-02-14T05:11:39.053Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-138/archives [2022-02-14T05:11:39.053Z] total 8 [2022-02-14T05:11:39.053Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 14 05:06 . [2022-02-14T05:11:39.053Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 14 05:06 .. [2022-02-14T05:11:39.053Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 14 05:06 cost [2022-02-14T05:11:39.053Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 14 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:39.391Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:39.999Z] ---> package-listing.sh [2022-02-14T05:11:39.999Z] ++ facter osfamily [2022-02-14T05:11:39.999Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-14T05:11:40.262Z] + OS_FAMILY=redhat [2022-02-14T05:11:40.262Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-138 [2022-02-14T05:11:40.262Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-14T05:11:40.262Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-14T05:11:40.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-14T05:11:40.262Z] + PACKAGES=/tmp/packages_start.txt [2022-02-14T05:11:40.262Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-138 ']' [2022-02-14T05:11:40.262Z] + PACKAGES=/tmp/packages_end.txt [2022-02-14T05:11:40.262Z] + case "${OS_FAMILY}" in [2022-02-14T05:11:40.262Z] + sort [2022-02-14T05:11:40.262Z] + rpm -qa [2022-02-14T05:11:40.835Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-14T05:11:40.835Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-14T05:11:40.835Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-14T05:11:40.835Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-138 ']' [2022-02-14T05:11:40.835Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-138/archives/ [2022-02-14T05:11:40.835Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-138/archives/ [Pipeline] echo [2022-02-14T05:11:40.873Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-14T05:11:41.180Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-14T05:11:41.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T05:11:41.784Z] . [Pipeline] withDockerContainer [2022-02-14T05:11:41.872Z] prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container [2022-02-14T05:11:41.907Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-138/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-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@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-02-14T05:11:42.112Z] $ docker top 6efb2e363f893bf7d75f8a4e1096e7bc7ca80bb89294d6c1fdada631aa2a5a71 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T05:11:42.517Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-14T05:11:43.111Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-14T05:11:43.510Z] + ls /var/log/sa-host [2022-02-14T05:11:43.510Z] + sadf -c /var/log/sa-host/sa14 [2022-02-14T05:11:43.510Z] file_magic: OK [2022-02-14T05:11:43.510Z] HZ: Using current value: 100 [2022-02-14T05:11:43.510Z] file_header: OK [2022-02-14T05:11:43.510Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-14T05:11:43.510Z] Statistics: [2022-02-14T05:11:43.510Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-14T05:11:43.510Z] File successfully converted to sysstat format version 12.0.3 [2022-02-14T05:11:43.510Z] + sadf -c /var/log/sa-host/sa17 [2022-02-14T05:11:43.510Z] file_magic: OK [2022-02-14T05:11:43.510Z] HZ: Using current value: 100 [2022-02-14T05:11:43.510Z] file_header: OK [2022-02-14T05:11:43.510Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-14T05:11:43.510Z] Statistics: [2022-02-14T05:11:43.510Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-14T05:11:43.510Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T05:11:43.661Z] provisioning config files... [2022-02-14T05:11:43.670Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/config2003389238169656525tmp [Pipeline] { [Pipeline] echo [2022-02-14T05:11:43.725Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:44.043Z] ---> create-netrc.sh [Pipeline] } [2022-02-14T05:11:44.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:44.474Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-14T05:11:44.506Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:44.826Z] ---> sudo-logs.sh [2022-02-14T05:11:44.826Z] Archiving 'sudo' log.. [2022-02-14T05:11:44.826Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5204.novalocal: Name or service not known [2022-02-14T05:11:44.826Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5204.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-14T05:11:44.917Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:45.242Z] ---> job-cost.sh [2022-02-14T05:11:45.242Z] lf-activate-venv: SKIPPING [2022-02-14T05:11:45.242Z] DEBUG: total: 0.05999999865889549 [2022-02-14T05:11:45.242Z] INFO: Retrieving Stack Cost... [2022-02-14T05:11:45.502Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-14T05:11:45.763Z] INFO: Archiving Costs [Pipeline] echo [2022-02-14T05:11:45.799Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T05:11:46.122Z] ---> logs-deploy.sh [2022-02-14T05:11:46.122Z] lf-activate-venv: SKIPPING [2022-02-14T05:11:46.122Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-138/1 [2022-02-14T05:11:46.122Z] INFO: archiving workspace using pattern(s): [2022-02-14T05:11:46.692Z] Archives upload complete. [2022-02-14T05:11:46.953Z] INFO: archiving logs to Nexus