Pull request #144 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 06ad48a9a0fd9d42641799683f73bb3f64e06a74+f2700d797dde70a27600e51c0b144607fa1919f0 (aa27642ff5bcf1f93b0462716da400b9cf9ef1ae) 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-ssh1152399878824042519.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-ssh6065528547346911193.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-144/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-144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16432348396085995802.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-144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9018184845445654469.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-ssh11653347906525009135.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-144/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-144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15305367077395237531.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9224 in /w/workspace/gexfoundry_device-snmp-go_PR-144 [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-144 # 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 06ad48a9a0fd9d42641799683f73bb3f64e06a74 Merge succeeded, producing 06ad48a9a0fd9d42641799683f73bb3f64e06a74 Checking out Revision 06ad48a9a0fd9d42641799683f73bb3f64e06a74 (PR-144) > 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/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06ad48a9a0fd9d42641799683f73bb3f64e06a74 # 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 06ad48a9a0fd9d42641799683f73bb3f64e06a74 # 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-03-28T05:05:08.215Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T05:05:08.399Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T05:05:08.510Z] ========================================================= [2022-03-28T05:05:08.510Z] EdgeX Global Pipelines Version Info [2022-03-28T05:05:08.510Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:05:09.298Z] ------------------- [2022-03-28T05:05:09.298Z] stable info: [2022-03-28T05:05:09.298Z] ------------------- [2022-03-28T05:05:09.298Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T05:05:09.298Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T05:05:09.298Z] Message: update stable to v1.0.221 [2022-03-28T05:05:09.871Z] ------------------- [2022-03-28T05:05:09.871Z] experimental info: [2022-03-28T05:05:09.871Z] ------------------- [2022-03-28T05:05:09.871Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T05:05:09.871Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T05:05:09.871Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T05:05:10.122Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-03-28T05:05:10.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-03-28T05:05:10.202Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T05:05:10.262Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T05:05:10.302Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T05:05:10.342Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-28T05:05:10.383Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-28T05:05:10.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-28T05:05:10.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-28T05:05:10.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T05:05:10.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T05:05:10.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-03-28T05:05:10.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T05:05:10.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T05:05:10.691Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T05:05:10.727Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T05:05:10.765Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T05:05:10.805Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T05:05:10.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T05:05:10.882Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-28T05:05:10.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-28T05:05:10.966Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-28T05:05:11.001Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-28T05:05:11.037Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-28T05:05:11.075Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-28T05:05:11.112Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T05:05:11.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-144 [Pipeline] echo [2022-03-28T05:05:11.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-144 [Pipeline] echo [2022-03-28T05:05:11.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-144 [Pipeline] echo [2022-03-28T05:05:11.256Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06ad48a9a0fd9d42641799683f73bb3f64e06a74 [Pipeline] echo [2022-03-28T05:05:11.294Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06ad48a [Pipeline] echo [2022-03-28T05:05:11.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T05:05:11.449Z] provisioning config files... [2022-03-28T05:05:11.468Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-144@tmp/config4155788189905144268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:05:11.917Z] ---> docker-login.sh [2022-03-28T05:05:11.917Z] nexus3.edgexfoundry.org:10001 [2022-03-28T05:05:11.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:12.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:12.183Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:12.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:12.183Z] [2022-03-28T05:05:12.183Z] Login Succeeded [2022-03-28T05:05:12.183Z] nexus3.edgexfoundry.org:10002 [2022-03-28T05:05:12.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:12.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:12.183Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:12.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:12.183Z] [2022-03-28T05:05:12.183Z] Login Succeeded [2022-03-28T05:05:12.183Z] nexus3.edgexfoundry.org:10003 [2022-03-28T05:05:12.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:12.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:12.445Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:12.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:12.445Z] [2022-03-28T05:05:12.445Z] Login Succeeded [2022-03-28T05:05:12.445Z] nexus3.edgexfoundry.org:10004 [2022-03-28T05:05:12.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:12.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:12.445Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:12.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:12.445Z] [2022-03-28T05:05:12.445Z] Login Succeeded [2022-03-28T05:05:12.445Z] docker.io [2022-03-28T05:05:12.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:12.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:12.969Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:12.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:12.969Z] [2022-03-28T05:05:12.969Z] Login Succeeded [2022-03-28T05:05:12.969Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T05:05:13.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-28T05:05:13.599Z] + git rev-list -1 --merges 06ad48a9a0fd9d42641799683f73bb3f64e06a74~1..06ad48a9a0fd9d42641799683f73bb3f64e06a74 [Pipeline] echo [2022-03-28T05:05:13.658Z] -----------> git rev-list -1 --merges 06ad48a9a0fd9d42641799683f73bb3f64e06a74~1..06ad48a9a0fd9d42641799683f73bb3f64e06a74 06ad48a9a0fd9d42641799683f73bb3f64e06a74 [false] [Pipeline] sh [2022-03-28T05:05:13.964Z] + git log --format=format:%s -1 06ad48a9a0fd9d42641799683f73bb3f64e06a74 [Pipeline] echo [2022-03-28T05:05:14.002Z] ========================================================= [2022-03-28T05:05:14.002Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T05:05:14.002Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T05:05:14.450Z] + git log --format=format:%s -1 06ad48a9a0fd9d42641799683f73bb3f64e06a74 [Pipeline] echo [2022-03-28T05:05:14.484Z] [semverPrep] GIT_COMMIT: 06ad48a9a0fd9d42641799683f73bb3f64e06a74, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-03-28T05:05:14.516Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-28T05:05:14.926Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T05:05:14.927Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T05:05:14.927Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T05:05:14.927Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T05:05:14.927Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T05:05:14.927Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T05:05:14.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:05:15.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T05:05:15.319Z] [2022-03-28T05:05:15.319Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:05:15.669Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T05:05:15.669Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T05:05:15.669Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T05:05:15.669Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T05:05:15.669Z] 4c7163046ea9: Pulling fs layer [2022-03-28T05:05:15.669Z] 0c2d73faf560: Pulling fs layer [2022-03-28T05:05:15.669Z] 0c2d73faf560: Waiting [2022-03-28T05:05:15.669Z] 3e5f54012d9b: Verifying Checksum [2022-03-28T05:05:15.669Z] 3e5f54012d9b: Download complete [2022-03-28T05:05:15.669Z] a0d0a0d46f8b: Download complete [2022-03-28T05:05:15.669Z] 0c2d73faf560: Download complete [2022-03-28T05:05:15.669Z] 4c7163046ea9: Verifying Checksum [2022-03-28T05:05:15.669Z] 4c7163046ea9: Download complete [2022-03-28T05:05:15.928Z] a0d0a0d46f8b: Pull complete [2022-03-28T05:05:15.928Z] 3e5f54012d9b: Pull complete [2022-03-28T05:05:16.187Z] 4c7163046ea9: Pull complete [2022-03-28T05:05:16.447Z] 0c2d73faf560: Pull complete [2022-03-28T05:05:16.447Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T05:05:16.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T05:05:16.447Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T05:05:16.550Z] prd-ubuntu20.04-docker-8c-8g-9224 does not seem to be running inside a container [2022-03-28T05:05:16.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-144 -v /w/workspace/gexfoundry_device-snmp-go_PR-144:/w/workspace/gexfoundry_device-snmp-go_PR-144:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-144@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-144@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-03-28T05:05:17.221Z] $ docker top 30d2d3f343a8804efdacc79c797321696e5f4870e62de0f31c86d3df301faf12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T05:05:17.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T05:05:17.416Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T05:05:17.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T05:05:17.570Z] $ docker exec 30d2d3f343a8804efdacc79c797321696e5f4870e62de0f31c86d3df301faf12 ssh-agent [2022-03-28T05:05:17.701Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAJoMfM/agent.13 [2022-03-28T05:05:17.701Z] SSH_AGENT_PID=19 [2022-03-28T05:05:17.709Z] Running ssh-add (command line suppressed) [2022-03-28T05:05:17.842Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-144@tmp/private_key_6028976375776948015.key (/w/workspace/gexfoundry_device-snmp-go_PR-144@tmp/private_key_6028976375776948015.key) [2022-03-28T05:05:17.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T05:05:18.188Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T05:05:18.222Z] $ docker exec --env ******** --env ******** 30d2d3f343a8804efdacc79c797321696e5f4870e62de0f31c86d3df301faf12 ssh-agent -k [2022-03-28T05:05:18.330Z] unset SSH_AUTH_SOCK; [2022-03-28T05:05:18.331Z] unset SSH_AGENT_PID; [2022-03-28T05:05:18.331Z] echo Agent pid 19 killed; [2022-03-28T05:05:18.337Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T05:05:18.425Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T05:05:18.425Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T05:05:18.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T05:05:18.558Z] $ docker exec 30d2d3f343a8804efdacc79c797321696e5f4870e62de0f31c86d3df301faf12 ssh-agent [2022-03-28T05:05:18.665Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgfFpfn/agent.52 [2022-03-28T05:05:18.665Z] SSH_AGENT_PID=58 [2022-03-28T05:05:18.671Z] Running ssh-add (command line suppressed) [2022-03-28T05:05:18.766Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-144@tmp/private_key_2719416958310558296.key (/w/workspace/gexfoundry_device-snmp-go_PR-144@tmp/private_key_2719416958310558296.key) [2022-03-28T05:05:18.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T05:05:19.128Z] + git semver init [2022-03-28T05:05:19.128Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T05:05:19.128Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-144/.git [2022-03-28T05:05:19.128Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-144 [2022-03-28T05:05:19.128Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T05:05:19.128Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T05:05:19.128Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T05:05:19.128Z] # $SEMVER_BRANCH = PR-144 [2022-03-28T05:05:19.128Z] # $SEMVER_TEMP = /tmp/semver-822855699 [2022-03-28T05:05:19.128Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-03-28T05:05:20.069Z] # '/tmp/semver-822855699' -> '/w/workspace/gexfoundry_device-snmp-go_PR-144/.semver' [2022-03-28T05:05:20.069Z] # -> Force: false [2022-03-28T05:05:20.069Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-144/.semver [Pipeline] } [2022-03-28T05:05:20.099Z] $ docker exec --env ******** --env ******** 30d2d3f343a8804efdacc79c797321696e5f4870e62de0f31c86d3df301faf12 ssh-agent -k [2022-03-28T05:05:20.203Z] unset SSH_AUTH_SOCK; [2022-03-28T05:05:20.203Z] unset SSH_AGENT_PID; [2022-03-28T05:05:20.203Z] echo Agent pid 58 killed; [2022-03-28T05:05:20.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T05:05:20.631Z] + git semver [Pipeline] } [2022-03-28T05:05:20.666Z] $ docker stop --time=1 30d2d3f343a8804efdacc79c797321696e5f4870e62de0f31c86d3df301faf12 [2022-03-28T05:05:21.988Z] $ docker rm -f 30d2d3f343a8804efdacc79c797321696e5f4870e62de0f31c86d3df301faf12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T05:05:22.400Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T05:05:22.696Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T05:05:22.714Z] [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-03-28T05:05:23.333Z] provisioning config files... [2022-03-28T05:05:23.345Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-144@tmp/config9076433861140867796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:05:23.693Z] ---> docker-login.sh [2022-03-28T05:05:23.693Z] nexus3.edgexfoundry.org:10001 [2022-03-28T05:05:23.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:23.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:23.693Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:23.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:23.693Z] [2022-03-28T05:05:23.693Z] Login Succeeded [2022-03-28T05:05:23.693Z] nexus3.edgexfoundry.org:10002 [2022-03-28T05:05:23.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:23.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:23.956Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:23.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:23.956Z] [2022-03-28T05:05:23.956Z] Login Succeeded [2022-03-28T05:05:23.956Z] nexus3.edgexfoundry.org:10003 [2022-03-28T05:05:23.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:23.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:23.956Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:23.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:23.956Z] [2022-03-28T05:05:23.956Z] Login Succeeded [2022-03-28T05:05:23.956Z] nexus3.edgexfoundry.org:10004 [2022-03-28T05:05:23.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:23.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:23.956Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:23.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:23.956Z] [2022-03-28T05:05:24.229Z] Login Succeeded [2022-03-28T05:05:24.229Z] docker.io [2022-03-28T05:05:24.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:05:24.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:05:24.491Z] Configure a credential helper to remove this warning. See [2022-03-28T05:05:24.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:05:24.491Z] [2022-03-28T05:05:24.491Z] Login Succeeded [2022-03-28T05:05:24.491Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T05:05:24.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T05:05:24.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T05:05:24.757Z] ========================================================= [2022-03-28T05:05:24.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-28T05:05:24.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:05:25.157Z] + 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-03-28T05:05:25.157Z] Sending build context to Docker daemon 5.195MB [2022-03-28T05:05:25.157Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T05:05:25.157Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T05:05:25.157Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-28T05:05:25.157Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T05:05:25.157Z] 666ba61612fd: Pulling fs layer [2022-03-28T05:05:25.157Z] 8ed8ca486205: Pulling fs layer [2022-03-28T05:05:25.157Z] 4fe6c5a15a65: Pulling fs layer [2022-03-28T05:05:25.157Z] 22a0e8bec74d: Pulling fs layer [2022-03-28T05:05:25.157Z] 640e595b4fbd: Pulling fs layer [2022-03-28T05:05:25.157Z] 4fe6c5a15a65: Waiting [2022-03-28T05:05:25.157Z] 22a0e8bec74d: Waiting [2022-03-28T05:05:25.157Z] 763cafe07f6e: Pulling fs layer [2022-03-28T05:05:25.157Z] 640e595b4fbd: Waiting [2022-03-28T05:05:25.157Z] 0c0b528cf693: Pulling fs layer [2022-03-28T05:05:25.157Z] 10935f4eaf8b: Pulling fs layer [2022-03-28T05:05:25.157Z] 10935f4eaf8b: Waiting [2022-03-28T05:05:25.157Z] 763cafe07f6e: Waiting [2022-03-28T05:05:25.157Z] 0c0b528cf693: Waiting [2022-03-28T05:05:25.157Z] 8ed8ca486205: Download complete [2022-03-28T05:05:25.157Z] 666ba61612fd: Download complete [2022-03-28T05:05:25.157Z] 22a0e8bec74d: Verifying Checksum [2022-03-28T05:05:25.157Z] 22a0e8bec74d: Download complete [2022-03-28T05:05:25.157Z] 59bf1c3509f3: Download complete [2022-03-28T05:05:25.417Z] 640e595b4fbd: Verifying Checksum [2022-03-28T05:05:25.417Z] 640e595b4fbd: Download complete [2022-03-28T05:05:25.417Z] 763cafe07f6e: Verifying Checksum [2022-03-28T05:05:25.417Z] 763cafe07f6e: Download complete [2022-03-28T05:05:25.417Z] 0c0b528cf693: Verifying Checksum [2022-03-28T05:05:25.417Z] 0c0b528cf693: Download complete [2022-03-28T05:05:25.417Z] 59bf1c3509f3: Pull complete [2022-03-28T05:05:25.417Z] 666ba61612fd: Pull complete [2022-03-28T05:05:25.676Z] 8ed8ca486205: Pull complete [2022-03-28T05:05:25.936Z] 10935f4eaf8b: Verifying Checksum [2022-03-28T05:05:25.936Z] 10935f4eaf8b: Download complete [2022-03-28T05:05:25.936Z] 4fe6c5a15a65: Verifying Checksum [2022-03-28T05:05:25.936Z] 4fe6c5a15a65: Download complete [2022-03-28T05:05:29.225Z] 4fe6c5a15a65: Pull complete [2022-03-28T05:05:29.225Z] 22a0e8bec74d: Pull complete [2022-03-28T05:05:29.225Z] 640e595b4fbd: Pull complete [2022-03-28T05:05:29.485Z] 763cafe07f6e: Pull complete [2022-03-28T05:05:29.485Z] 0c0b528cf693: Pull complete [2022-03-28T05:05:31.392Z] 10935f4eaf8b: Pull complete [2022-03-28T05:05:31.392Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-28T05:05:31.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T05:05:31.392Z] ---> 99d49a6021b9 [2022-03-28T05:05:31.392Z] Step 3/12 : ARG MAKE='make build' [2022-03-28T05:05:32.775Z] ---> Running in b75a7168860f [2022-03-28T05:05:32.775Z] Removing intermediate container b75a7168860f [2022-03-28T05:05:32.775Z] ---> b14762b72cc7 [2022-03-28T05:05:32.775Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T05:05:32.775Z] ---> Running in b977a8fc0626 [2022-03-28T05:05:32.775Z] Removing intermediate container b977a8fc0626 [2022-03-28T05:05:32.775Z] ---> 5511bb796340 [2022-03-28T05:05:32.775Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T05:05:32.775Z] ---> Running in a45f045357ad [2022-03-28T05:05:32.775Z] Removing intermediate container a45f045357ad [2022-03-28T05:05:32.775Z] ---> 6dbc247a9905 [2022-03-28T05:05:32.775Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T05:05:32.775Z] ---> Running in 5c3f0f19addc [2022-03-28T05:05:33.344Z] Removing intermediate container 5c3f0f19addc [2022-03-28T05:05:33.344Z] ---> 0590eda46f7c [2022-03-28T05:05:33.344Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T05:05:33.344Z] ---> Running in f47b6dbf0175 [2022-03-28T05:05:33.604Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T05:05:34.544Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T05:05:34.805Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T05:05:34.805Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T05:05:35.066Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T05:05:35.066Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T05:05:35.066Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T05:05:35.066Z] OK: 224 MiB in 56 packages [2022-03-28T05:05:35.642Z] Removing intermediate container f47b6dbf0175 [2022-03-28T05:05:35.642Z] ---> a7b6ea069e6e [2022-03-28T05:05:35.642Z] Step 8/12 : WORKDIR /device-snmp-go [2022-03-28T05:05:35.642Z] ---> Running in cf7fd3b12d51 [2022-03-28T05:05:35.642Z] Removing intermediate container cf7fd3b12d51 [2022-03-28T05:05:35.642Z] ---> c815234083b7 [2022-03-28T05:05:35.642Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-28T05:05:35.908Z] ---> 21e9a0f38b37 [2022-03-28T05:05:35.908Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T05:05:35.908Z] ---> Running in cf5c7335c1d2 [2022-03-28T05:05:38.159Z] Still waiting to schedule task [2022-03-28T05:05:38.159Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-28T05:05:57.861Z] Removing intermediate container cf5c7335c1d2 [2022-03-28T05:05:57.861Z] ---> da2d1d278da1 [2022-03-28T05:05:57.861Z] Step 11/12 : COPY . . [2022-03-28T05:05:57.861Z] ---> e4e363f048d4 [2022-03-28T05:05:57.861Z] Step 12/12 : RUN ${MAKE} [2022-03-28T05:05:57.861Z] ---> Running in ce64e8f9b860 [2022-03-28T05:05:57.861Z] noop [2022-03-28T05:05:57.861Z] Removing intermediate container ce64e8f9b860 [2022-03-28T05:05:57.861Z] ---> 63f86710d453 [2022-03-28T05:05:57.861Z] Successfully built 63f86710d453 [2022-03-28T05:05:57.861Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:05:58.182Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T05:05:58.182Z] . [Pipeline] withDockerContainer [2022-03-28T05:05:58.268Z] prd-ubuntu20.04-docker-8c-8g-9224 does not seem to be running inside a container [2022-03-28T05:05:58.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-144 -v /w/workspace/gexfoundry_device-snmp-go_PR-144:/w/workspace/gexfoundry_device-snmp-go_PR-144:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-144@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-144@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-03-28T05:05:58.664Z] $ docker top 4661413a8bcc5e50042422f2c5a98e4edd8952d2d738a2ce4af6ed651c78f18d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T05:05:59.064Z] + go version [2022-03-28T05:05:59.064Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-28T05:05:59.100Z] $ docker stop --time=1 4661413a8bcc5e50042422f2c5a98e4edd8952d2d738a2ce4af6ed651c78f18d [2022-03-28T05:06:00.392Z] $ docker rm -f 4661413a8bcc5e50042422f2c5a98e4edd8952d2d738a2ce4af6ed651c78f18d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:06:01.048Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T05:06:01.049Z] . [Pipeline] withDockerContainer [2022-03-28T05:06:01.148Z] prd-ubuntu20.04-docker-8c-8g-9224 does not seem to be running inside a container [2022-03-28T05:06:01.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-144 -v /w/workspace/gexfoundry_device-snmp-go_PR-144:/w/workspace/gexfoundry_device-snmp-go_PR-144:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-144@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-144@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-03-28T05:06:01.573Z] $ docker top 2a3b6aa918f202a3faa2b3242f49160ade8ae267b06632b190b10f3f8dd9d3f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T05:06:02.014Z] + make test [2022-03-28T05:06:02.014Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-28T05:06:02.273Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-03-28T05:06:08.854Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-03-28T05:06:08.854Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2022-03-28T05:06:08.854Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T05:06:12.154Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T05:06:12.154Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T05:06:12.154Z] ./bin/test-attribution-txt.sh [2022-03-28T05:06:12.414Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-03-28T05:06:12.675Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-03-28T05:06:12.725Z] $ docker stop --time=1 2a3b6aa918f202a3faa2b3242f49160ade8ae267b06632b190b10f3f8dd9d3f5 [2022-03-28T05:06:14.246Z] $ docker rm -f 2a3b6aa918f202a3faa2b3242f49160ade8ae267b06632b190b10f3f8dd9d3f5 [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-03-28T05:06:15.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T05:06:15.209Z] [2022-03-28T05:06:15.209Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:06:15.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T05:06:15.539Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T05:06:15.539Z] 5eb5b503b376: Pulling fs layer [2022-03-28T05:06:15.539Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T05:06:15.539Z] ec43610c2a17: Pulling fs layer [2022-03-28T05:06:15.539Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T05:06:15.539Z] 33b1e0a273af: Pulling fs layer [2022-03-28T05:06:15.539Z] 3a2ae6a8a46f: Waiting [2022-03-28T05:06:15.539Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T05:06:15.539Z] 2f39f015ded8: Pulling fs layer [2022-03-28T05:06:15.539Z] 2f39f015ded8: Waiting [2022-03-28T05:06:15.539Z] 5d3b04190fa2: Waiting [2022-03-28T05:06:15.539Z] 5c69ac0246d0: Verifying Checksum [2022-03-28T05:06:15.539Z] 5c69ac0246d0: Download complete [2022-03-28T05:06:15.539Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-28T05:06:15.539Z] 3a2ae6a8a46f: Download complete [2022-03-28T05:06:15.539Z] 33b1e0a273af: Verifying Checksum [2022-03-28T05:06:15.539Z] 33b1e0a273af: Download complete [2022-03-28T05:06:15.539Z] 5d3b04190fa2: Download complete [2022-03-28T05:06:15.539Z] ec43610c2a17: Verifying Checksum [2022-03-28T05:06:15.539Z] ec43610c2a17: Download complete [2022-03-28T05:06:15.799Z] 5eb5b503b376: Verifying Checksum [2022-03-28T05:06:15.799Z] 5eb5b503b376: Download complete [2022-03-28T05:06:16.380Z] 2f39f015ded8: Download complete [2022-03-28T05:06:16.951Z] 5eb5b503b376: Pull complete [2022-03-28T05:06:16.951Z] 5c69ac0246d0: Pull complete [2022-03-28T05:06:17.521Z] ec43610c2a17: Pull complete [2022-03-28T05:06:17.521Z] 3a2ae6a8a46f: Pull complete [2022-03-28T05:06:17.780Z] 33b1e0a273af: Pull complete [2022-03-28T05:06:17.780Z] 5d3b04190fa2: Pull complete [2022-03-28T05:06:21.971Z] 2f39f015ded8: Pull complete [2022-03-28T05:06:21.971Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T05:06:21.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T05:06:21.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T05:06:22.059Z] prd-ubuntu20.04-docker-8c-8g-9224 does not seem to be running inside a container [2022-03-28T05:06:22.099Z] $ 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-144 -v /w/workspace/gexfoundry_device-snmp-go_PR-144:/w/workspace/gexfoundry_device-snmp-go_PR-144:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-144@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-144@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-03-28T05:06:23.419Z] $ docker top 0449421102b6f9f9ce94b95d53a1af66b06dea0a4f18876394f864e6227d7f47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:06:23.920Z] ---> job-cost.sh [2022-03-28T05:06:23.920Z] lf-activate-venv: SKIPPING [2022-03-28T05:06:23.920Z] INFO: No Stack... [2022-03-28T05:06:24.179Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T05:06:24.753Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T05:06:25.073Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-144/archives/cost.csv [2022-03-28T05:06:25.073Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T05:06:25.116Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] [2022-03-28T05:06:25.121Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] did not exist. Created. [2022-03-28T05:06:25.121Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T05:06:25.519Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-28T05:06:25.575Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T05:06:25.602Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T05:06:25.684Z] $ docker stop --time=1 0449421102b6f9f9ce94b95d53a1af66b06dea0a4f18876394f864e6227d7f47 [2022-03-28T05:06:26.837Z] $ docker rm -f 0449421102b6f9f9ce94b95d53a1af66b06dea0a4f18876394f864e6227d7f47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T05:06:27.180Z] Failed in branch amd64 [2022-03-28T05:07:58.613Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9228 in /w/workspace/gexfoundry_device-snmp-go_PR-144 [Pipeline] { [Pipeline] ws [2022-03-28T05:07:58.684Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-03-28T05:07:59.200Z] Selected Git installation does not exist. Using Default [2022-03-28T05:07:59.200Z] The recommended git tool is: NONE [2022-03-28T05:08:07.376Z] using credential edgex-jenkins-ssh [2022-03-28T05:08:07.412Z] Cloning the remote Git repository [2022-03-28T05:08:07.506Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-03-28T05:08:07.688Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-03-28T05:08:07.781Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-03-28T05:08:07.782Z] > git --version # timeout=10 [2022-03-28T05:08:07.811Z] > git --version # 'git version 2.25.1' [2022-03-28T05:08:07.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T05:08:07.983Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T05:08:09.880Z] Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 06ad48a9a0fd9d42641799683f73bb3f64e06a74 [2022-03-28T05:08:09.156Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-03-28T05:08:09.197Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T05:08:09.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-03-28T05:08:09.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-03-28T05:08:09.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T05:08:09.302Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-28T05:08:09.901Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T05:08:09.937Z] > git checkout -f 06ad48a9a0fd9d42641799683f73bb3f64e06a74 # timeout=10 [2022-03-28T05:08:10.223Z] Merge succeeded, producing 06ad48a9a0fd9d42641799683f73bb3f64e06a74 [2022-03-28T05:08:10.224Z] Checking out Revision 06ad48a9a0fd9d42641799683f73bb3f64e06a74 (PR-144) [2022-03-28T05:08:10.049Z] > git remote # timeout=10 [2022-03-28T05:08:10.085Z] > git config --get remote.origin.url # timeout=10 [2022-03-28T05:08:10.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T05:08:10.139Z] > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [2022-03-28T05:08:10.189Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-28T05:08:10.233Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T05:08:10.246Z] > git checkout -f 06ad48a9a0fd9d42641799683f73bb3f64e06a74 # timeout=10 [2022-03-28T05:08:14.760Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-03-28T05:08:14.825Z] > git --version # timeout=10 [2022-03-28T05:08:14.838Z] > git --version # 'git version 2.25.1' [2022-03-28T05:08:14.856Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T05:08:15.988Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T05:08:15.989Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T05:08:15.989Z] Dload Upload Total Spent Left Speed [2022-03-28T05:08:15.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2022-03-28T05:08:16.573Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T05:08:16.961Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T05:08:16.961Z] + sudo tee /etc/docker/daemon.new [2022-03-28T05:08:16.961Z] { [2022-03-28T05:08:16.961Z] "registry-mirrors": [ [2022-03-28T05:08:16.961Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T05:08:16.961Z] ], [2022-03-28T05:08:16.961Z] "bip": "10.250.0.254/24", [2022-03-28T05:08:16.961Z] "hosts": [ [2022-03-28T05:08:16.961Z] "tcp://0.0.0.0:5555", [2022-03-28T05:08:16.961Z] "unix:///var/run/docker.sock" [2022-03-28T05:08:16.961Z] ], [2022-03-28T05:08:16.961Z] "mtu": 1458, [2022-03-28T05:08:16.961Z] "selinux-enabled": true, [2022-03-28T05:08:16.961Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T05:08:16.961Z] } [Pipeline] sh [2022-03-28T05:08:17.376Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T05:08:17.829Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T05:08:36.246Z] provisioning config files... [2022-03-28T05:08:36.271Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6027671402427901973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:08:36.845Z] ---> docker-login.sh [2022-03-28T05:08:36.845Z] nexus3.edgexfoundry.org:10001 [2022-03-28T05:08:37.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:08:37.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:08:37.716Z] Configure a credential helper to remove this warning. See [2022-03-28T05:08:37.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:08:37.716Z] [2022-03-28T05:08:37.716Z] Login Succeeded [2022-03-28T05:08:37.716Z] nexus3.edgexfoundry.org:10002 [2022-03-28T05:08:38.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:08:38.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:08:38.282Z] Configure a credential helper to remove this warning. See [2022-03-28T05:08:38.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:08:38.282Z] [2022-03-28T05:08:38.282Z] Login Succeeded [2022-03-28T05:08:38.282Z] nexus3.edgexfoundry.org:10003 [2022-03-28T05:08:38.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:08:38.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:08:38.622Z] Configure a credential helper to remove this warning. See [2022-03-28T05:08:38.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:08:38.622Z] [2022-03-28T05:08:38.622Z] Login Succeeded [2022-03-28T05:08:38.622Z] nexus3.edgexfoundry.org:10004 [2022-03-28T05:08:39.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:08:39.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:08:39.216Z] Configure a credential helper to remove this warning. See [2022-03-28T05:08:39.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:08:39.216Z] [2022-03-28T05:08:39.216Z] Login Succeeded [2022-03-28T05:08:39.216Z] docker.io [2022-03-28T05:08:39.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T05:08:40.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T05:08:40.086Z] Configure a credential helper to remove this warning. See [2022-03-28T05:08:40.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T05:08:40.086Z] [2022-03-28T05:08:40.086Z] Login Succeeded [2022-03-28T05:08:40.086Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T05:08:40.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T05:08:40.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T05:08:40.558Z] ========================================================= [2022-03-28T05:08:40.558Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-28T05:08:40.558Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:08:41.068Z] + 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-03-28T05:08:41.342Z] Sending build context to Docker daemon 2.703MB [2022-03-28T05:08:41.342Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T05:08:41.342Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T05:08:41.621Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-28T05:08:41.621Z] 9b3977197b4f: Pulling fs layer [2022-03-28T05:08:41.621Z] 1a89e8eeedd5: Pulling fs layer [2022-03-28T05:08:41.621Z] 94645a83ff95: Pulling fs layer [2022-03-28T05:08:41.621Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-28T05:08:41.621Z] 0c92f367c5e7: Pulling fs layer [2022-03-28T05:08:41.621Z] f7c0051592d6: Pulling fs layer [2022-03-28T05:08:41.621Z] a227ed2f7395: Pulling fs layer [2022-03-28T05:08:41.621Z] 7b1c46037f91: Pulling fs layer [2022-03-28T05:08:41.621Z] 3f3a8bcf1eab: Waiting [2022-03-28T05:08:41.621Z] 0c92f367c5e7: Waiting [2022-03-28T05:08:41.621Z] f7c0051592d6: Waiting [2022-03-28T05:08:41.621Z] 7b1c46037f91: Waiting [2022-03-28T05:08:41.621Z] a227ed2f7395: Waiting [2022-03-28T05:08:41.621Z] 94645a83ff95: Verifying Checksum [2022-03-28T05:08:41.621Z] 94645a83ff95: Download complete [2022-03-28T05:08:41.621Z] 1a89e8eeedd5: Verifying Checksum [2022-03-28T05:08:41.621Z] 1a89e8eeedd5: Download complete [2022-03-28T05:08:41.621Z] 0c92f367c5e7: Download complete [2022-03-28T05:08:41.621Z] f7c0051592d6: Download complete [2022-03-28T05:08:41.621Z] a227ed2f7395: Verifying Checksum [2022-03-28T05:08:41.621Z] a227ed2f7395: Download complete [2022-03-28T05:08:41.621Z] 9b3977197b4f: Download complete [2022-03-28T05:08:42.607Z] 9b3977197b4f: Pull complete [2022-03-28T05:08:42.883Z] 1a89e8eeedd5: Pull complete [2022-03-28T05:08:43.161Z] 94645a83ff95: Pull complete [2022-03-28T05:08:43.759Z] 7b1c46037f91: Verifying Checksum [2022-03-28T05:08:43.759Z] 7b1c46037f91: Download complete [2022-03-28T05:08:44.357Z] 3f3a8bcf1eab: Download complete [2022-03-28T05:08:56.751Z] 3f3a8bcf1eab: Pull complete [2022-03-28T05:08:56.751Z] 0c92f367c5e7: Pull complete [2022-03-28T05:08:56.751Z] f7c0051592d6: Pull complete [2022-03-28T05:08:56.751Z] a227ed2f7395: Pull complete [2022-03-28T05:09:01.051Z] 7b1c46037f91: Pull complete [2022-03-28T05:09:01.051Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-28T05:09:01.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T05:09:01.051Z] ---> f79e39bc4007 [2022-03-28T05:09:01.051Z] Step 3/12 : ARG MAKE='make build' [2022-03-28T05:09:03.036Z] ---> Running in 05b2577bb027 [2022-03-28T05:09:03.308Z] Removing intermediate container 05b2577bb027 [2022-03-28T05:09:03.308Z] ---> b6f4b971edb3 [2022-03-28T05:09:03.308Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T05:09:03.308Z] ---> Running in fdb01229b5b3 [2022-03-28T05:09:03.581Z] Removing intermediate container fdb01229b5b3 [2022-03-28T05:09:03.581Z] ---> 4dd08cc9c9a5 [2022-03-28T05:09:03.581Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T05:09:03.581Z] ---> Running in ddad1b11147c [2022-03-28T05:09:03.856Z] Removing intermediate container ddad1b11147c [2022-03-28T05:09:03.856Z] ---> 46ea1c24bb8b [2022-03-28T05:09:03.856Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T05:09:04.128Z] ---> Running in 1eb4fe1bdbe8 [2022-03-28T05:09:06.099Z] Removing intermediate container 1eb4fe1bdbe8 [2022-03-28T05:09:06.099Z] ---> ca96536f567c [2022-03-28T05:09:06.099Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T05:09:06.099Z] ---> Running in 181676b919c2 [2022-03-28T05:09:06.698Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T05:09:07.669Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T05:09:08.648Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T05:09:08.648Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T05:09:08.648Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T05:09:08.920Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T05:09:08.920Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T05:09:08.920Z] OK: 224 MiB in 56 packages [2022-03-28T05:09:09.899Z] Removing intermediate container 181676b919c2 [2022-03-28T05:09:09.899Z] ---> 0d4a68cb19af [2022-03-28T05:09:09.899Z] Step 8/12 : WORKDIR /device-snmp-go [2022-03-28T05:09:09.899Z] ---> Running in d54ac6a73c48 [2022-03-28T05:09:10.172Z] Removing intermediate container d54ac6a73c48 [2022-03-28T05:09:10.172Z] ---> b943080d9b72 [2022-03-28T05:09:10.173Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-28T05:09:10.769Z] ---> 588032ba075a [2022-03-28T05:09:10.769Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T05:09:10.769Z] ---> Running in e269c9939acc [2022-03-28T05:10:32.577Z] Removing intermediate container e269c9939acc [2022-03-28T05:10:32.577Z] ---> 9ecc32f49da1 [2022-03-28T05:10:32.577Z] Step 11/12 : COPY . . [2022-03-28T05:10:32.577Z] ---> c9a71173cd2e [2022-03-28T05:10:32.577Z] Step 12/12 : RUN ${MAKE} [2022-03-28T05:10:32.577Z] ---> Running in 401e031c2d73 [2022-03-28T05:10:32.577Z] noop [2022-03-28T05:10:32.577Z] Removing intermediate container 401e031c2d73 [2022-03-28T05:10:32.577Z] ---> bd8f70b512b3 [2022-03-28T05:10:32.577Z] Successfully built bd8f70b512b3 [2022-03-28T05:10:32.577Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:10:32.945Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T05:10:32.945Z] . [Pipeline] withDockerContainer [2022-03-28T05:10:33.209Z] prd-ubuntu20.04-docker-arm64-4c-16g-9228 does not seem to be running inside a container [2022-03-28T05:10:33.291Z] $ 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-03-28T05:10:34.710Z] $ docker top 9c9750a4235d32efcb0993cd60096db63ca6cec370670cfa53fdab18779cb44c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T05:10:35.730Z] + go version [2022-03-28T05:10:35.730Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-28T05:10:35.762Z] $ docker stop --time=1 9c9750a4235d32efcb0993cd60096db63ca6cec370670cfa53fdab18779cb44c [2022-03-28T05:10:37.492Z] $ docker rm -f 9c9750a4235d32efcb0993cd60096db63ca6cec370670cfa53fdab18779cb44c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:10:38.418Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T05:10:38.418Z] . [Pipeline] withDockerContainer [2022-03-28T05:10:38.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-9228 does not seem to be running inside a container [2022-03-28T05:10:38.791Z] $ 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-03-28T05:10:40.230Z] $ docker top 7fa606f68f01dfadef87c9f5a5bf3e667c623c987fe6664a132acc3308cdb363 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T05:10:41.279Z] + make test [2022-03-28T05:10:41.279Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-28T05:10:43.270Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-03-28T05:11:40.093Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-03-28T05:11:40.093Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements [2022-03-28T05:11:40.093Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T05:12:02.299Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T05:12:02.299Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T05:12:02.299Z] ./bin/test-attribution-txt.sh [2022-03-28T05:12:02.299Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-03-28T05:12:02.299Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-03-28T05:12:02.347Z] $ docker stop --time=1 7fa606f68f01dfadef87c9f5a5bf3e667c623c987fe6664a132acc3308cdb363 [2022-03-28T05:12:04.195Z] $ docker rm -f 7fa606f68f01dfadef87c9f5a5bf3e667c623c987fe6664a132acc3308cdb363 [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-03-28T05:12:05.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T05:12:05.607Z] [2022-03-28T05:12:05.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:12:05.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T05:12:06.277Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T05:12:06.277Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T05:12:06.277Z] 04944245beec: Pulling fs layer [2022-03-28T05:12:06.277Z] 699f458cf7ca: Pulling fs layer [2022-03-28T05:12:06.277Z] 765212b225bb: Pulling fs layer [2022-03-28T05:12:06.277Z] f23df028b6ca: Pulling fs layer [2022-03-28T05:12:06.277Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T05:12:06.277Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T05:12:06.277Z] 765212b225bb: Waiting [2022-03-28T05:12:06.277Z] f23df028b6ca: Waiting [2022-03-28T05:12:06.277Z] d65c8cfc05b1: Waiting [2022-03-28T05:12:06.277Z] 2437ff75d9bd: Waiting [2022-03-28T05:12:06.277Z] 04944245beec: Verifying Checksum [2022-03-28T05:12:06.277Z] 04944245beec: Download complete [2022-03-28T05:12:06.559Z] f23df028b6ca: Verifying Checksum [2022-03-28T05:12:06.559Z] f23df028b6ca: Download complete [2022-03-28T05:12:06.559Z] d65c8cfc05b1: Verifying Checksum [2022-03-28T05:12:06.559Z] d65c8cfc05b1: Download complete [2022-03-28T05:12:06.559Z] 699f458cf7ca: Verifying Checksum [2022-03-28T05:12:06.559Z] 699f458cf7ca: Download complete [2022-03-28T05:12:07.163Z] 8998bd30e6a1: Verifying Checksum [2022-03-28T05:12:07.163Z] 8998bd30e6a1: Download complete [2022-03-28T05:12:09.806Z] 2437ff75d9bd: Verifying Checksum [2022-03-28T05:12:09.806Z] 2437ff75d9bd: Download complete [2022-03-28T05:12:11.791Z] 8998bd30e6a1: Pull complete [2022-03-28T05:12:12.067Z] 04944245beec: Pull complete [2022-03-28T05:12:13.512Z] 699f458cf7ca: Pull complete [2022-03-28T05:12:13.788Z] 765212b225bb: Pull complete [2022-03-28T05:12:14.775Z] f23df028b6ca: Pull complete [2022-03-28T05:12:15.051Z] d65c8cfc05b1: Pull complete [2022-03-28T05:12:33.393Z] 2437ff75d9bd: Pull complete [2022-03-28T05:12:33.393Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T05:12:33.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T05:12:33.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T05:12:33.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-9228 does not seem to be running inside a container [2022-03-28T05:12:33.719Z] $ 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-03-28T05:12:36.325Z] $ docker top 37c724db0cf4c2d54ff9400a780d1018b5ecb3dc7e483dbd6860fbacfa49e3ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:37.335Z] ---> job-cost.sh [2022-03-28T05:12:37.335Z] lf-activate-venv: SKIPPING [2022-03-28T05:12:37.335Z] INFO: No Stack... [2022-03-28T05:12:37.609Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T05:12:38.594Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T05:12:39.298Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-03-28T05:12:39.298Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T05:12:39.397Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] [2022-03-28T05:12:39.404Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] did not exist. Created. [2022-03-28T05:12:39.404Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T05:12:40.179Z] /w/workspace/device-snmp-go/1@tmp/durable-fa0221cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-28T05:12:40.888Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T05:12:40.928Z] Warning: overwriting stash ‘stack-cost’ [2022-03-28T05:12:41.452Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T05:12:41.471Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T05:12:41.559Z] $ docker stop --time=1 37c724db0cf4c2d54ff9400a780d1018b5ecb3dc7e483dbd6860fbacfa49e3ac [2022-03-28T05:12:43.109Z] $ docker rm -f 37c724db0cf4c2d54ff9400a780d1018b5ecb3dc7e483dbd6860fbacfa49e3ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T05:12:43.988Z] 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-03-28T05:12:45.875Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-144/archives ] [2022-03-28T05:12:45.875Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-144/archives [2022-03-28T05:12:45.875Z] total 16 [2022-03-28T05:12:45.875Z] drwxr-xr-x 3 root root 4096 Mar 28 05:06 . [2022-03-28T05:12:45.875Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 05:06 .. [2022-03-28T05:12:45.875Z] drwxr-xr-x 2 root root 4096 Mar 28 05:06 cost [2022-03-28T05:12:45.875Z] -rw-r--r-- 1 root root 85 Mar 28 05:06 cost.csv [2022-03-28T05:12:45.875Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-144/archives [2022-03-28T05:12:45.875Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-144/archives [2022-03-28T05:12:45.875Z] total 16 [2022-03-28T05:12:45.875Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 05:06 . [2022-03-28T05:12:45.875Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 05:06 .. [2022-03-28T05:12:45.875Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 05:06 cost [2022-03-28T05:12:45.875Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 28 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:46.220Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:47.112Z] ---> package-listing.sh [2022-03-28T05:12:47.112Z] ++ facter osfamily [2022-03-28T05:12:47.112Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T05:12:47.371Z] + OS_FAMILY=debian [2022-03-28T05:12:47.371Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-144 [2022-03-28T05:12:47.371Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T05:12:47.371Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T05:12:47.371Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T05:12:47.371Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T05:12:47.371Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-144 ']' [2022-03-28T05:12:47.371Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T05:12:47.371Z] + case "${OS_FAMILY}" in [2022-03-28T05:12:47.371Z] + dpkg -l [2022-03-28T05:12:47.371Z] + grep '^ii' [2022-03-28T05:12:47.371Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T05:12:47.371Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T05:12:47.371Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T05:12:47.371Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-144 ']' [2022-03-28T05:12:47.371Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-144/archives/ [2022-03-28T05:12:47.371Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-144/archives/ [Pipeline] echo [2022-03-28T05:12:47.401Z] 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-144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-28T05:12:47.696Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T05:12:48.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T05:12:48.289Z] . [Pipeline] withDockerContainer [2022-03-28T05:12:48.377Z] prd-ubuntu20.04-docker-8c-8g-9224 does not seem to be running inside a container [2022-03-28T05:12:48.414Z] $ 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-144/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-144 -v /w/workspace/gexfoundry_device-snmp-go_PR-144:/w/workspace/gexfoundry_device-snmp-go_PR-144:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-144@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-144@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-03-28T05:12:48.624Z] $ docker top 968c187c34e162342661a12faaf361603da0ae84409856abc08c6846e57ef727 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T05:12:49.030Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T05:12:49.342Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T05:12:49.660Z] + ls /var/log/sa-host [2022-03-28T05:12:49.660Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T05:12:49.807Z] provisioning config files... [2022-03-28T05:12:49.816Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-144@tmp/config8200086524813058524tmp [Pipeline] { [Pipeline] echo [2022-03-28T05:12:49.866Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:50.181Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T05:12:50.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:50.687Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T05:12:50.722Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:51.061Z] ---> sudo-logs.sh [2022-03-28T05:12:51.061Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T05:12:51.143Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:51.460Z] ---> job-cost.sh [2022-03-28T05:12:51.460Z] lf-activate-venv: SKIPPING [2022-03-28T05:12:51.460Z] DEBUG: total: 0.2199999988079071 [2022-03-28T05:12:51.460Z] INFO: Retrieving Stack Cost... [2022-03-28T05:12:51.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T05:12:52.295Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T05:12:52.328Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T05:12:52.640Z] ---> logs-deploy.sh [2022-03-28T05:12:52.640Z] lf-activate-venv: SKIPPING [2022-03-28T05:12:52.640Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-144/1 [2022-03-28T05:12:52.640Z] INFO: archiving workspace using pattern(s): [2022-03-28T05:12:53.578Z] Archives upload complete. [2022-03-28T05:12:53.578Z] INFO: archiving logs to Nexus