Pull request #133 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073+88e18fd07957abed78799bc43ba159f1a7719259 (0a8de2e5e56197cb7ff20fea26cdf538fea532f2) 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-ssh2432392968334129156.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh2116922523781083828.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-133/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-133/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16342908487101347302.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-133/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18043242472942324413.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh9232339575931505197.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-133/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-133/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10311881551167088515.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-1650 in /w/workspace/gexfoundry_device-snmp-go_PR-133 [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-133 # 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-133@tmp/jenkins-gitclient-ssh378784208270156317.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 88e18fd07957abed78799bc43ba159f1a7719259 into PR head commit 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 Merge succeeded, producing 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 Checking out Revision 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 (PR-133) > 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-133@tmp/jenkins-gitclient-ssh2834581420092852821.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 # timeout=10 > 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-133@tmp/jenkins-gitclient-ssh47680860589984809.key > git merge 88e18fd07957abed78799bc43ba159f1a7719259 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 # 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 dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:32 ========================================================= 05:03:32 EdgeX Global Pipelines Version Info 05:03:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:33 ------------------- 05:03:33 stable info: 05:03:33 ------------------- 05:03:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:33 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 05:03:33 Message: update stable to v1.0.219 05:03:33 ------------------- 05:03:33 experimental info: 05:03:33 ------------------- 05:03:33 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:33 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 05:03:33 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e5d06c [Pipeline] echo 05:03:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:35 provisioning config files... 05:03:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/config8147709742348811921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:35 ---> docker-login.sh 05:03:35 nexus3.edgexfoundry.org:10001 05:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 nexus3.edgexfoundry.org:10002 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 nexus3.edgexfoundry.org:10003 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 nexus3.edgexfoundry.org:10004 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 docker.io 05:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:36 Configure a credential helper to remove this warning. See 05:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:36 05:03:36 Login Succeeded 05:03:36 ---> docker-login.sh ends [Pipeline] } 05:03:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:37 + git rev-list -1 --merges 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073~1..0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 [Pipeline] echo 05:03:37 -----------> git rev-list -1 --merges 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073~1..0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 [false] [Pipeline] sh 05:03:37 + git log --format=format:%s -1 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 [Pipeline] echo 05:03:38 ========================================================= 05:03:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:38 + git log --format=format:%s -1 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 [Pipeline] echo 05:03:38 [semverPrep] GIT_COMMIT: 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:03:38 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:39 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:03:39 + grep -v github /etc/ssh/ssh_known_hosts 05:03:39 + '[' -e /tmp/ssh_known_hosts ']' 05:03:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:39 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:03:39 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:03:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:03:39 05:03:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:03:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:03:39 latest: Pulling from edgex-devops/git-semver 05:03:39 a0d0a0d46f8b: Pulling fs layer 05:03:39 3e5f54012d9b: Pulling fs layer 05:03:39 4c7163046ea9: Pulling fs layer 05:03:39 0c2d73faf560: Pulling fs layer 05:03:39 0c2d73faf560: Waiting 05:03:39 3e5f54012d9b: Verifying Checksum 05:03:39 3e5f54012d9b: Download complete 05:03:39 a0d0a0d46f8b: Verifying Checksum 05:03:39 a0d0a0d46f8b: Download complete 05:03:39 0c2d73faf560: Verifying Checksum 05:03:39 0c2d73faf560: Download complete 05:03:39 4c7163046ea9: Verifying Checksum 05:03:39 4c7163046ea9: Download complete 05:03:40 a0d0a0d46f8b: Pull complete 05:03:40 3e5f54012d9b: Pull complete 05:03:40 4c7163046ea9: Pull complete 05:03:40 0c2d73faf560: Pull complete 05:03:40 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:03:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:03:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:03:40 prd-centos7-docker-4c-2g-1650 does not seem to be running inside a container 05:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-133 -v /w/workspace/gexfoundry_device-snmp-go_PR-133:/w/workspace/gexfoundry_device-snmp-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-133@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-133@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:03:41 $ docker top 0c61ea3ca93481e79828029ac4e3b1f35908166397716ea07b2d88ba1d5ed182 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:41 [ssh-agent] Looking for ssh-agent implementation... 05:03:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:41 $ docker exec 0c61ea3ca93481e79828029ac4e3b1f35908166397716ea07b2d88ba1d5ed182 ssh-agent 05:03:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhPHDlB/agent.14 05:03:41 SSH_AGENT_PID=20 05:03:42 Running ssh-add (command line suppressed) 05:03:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/private_key_3220895152290136891.key (/w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/private_key_3220895152290136891.key) 05:03:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:42 + git tag --points-at HEAD [Pipeline] } 05:03:42 $ docker exec --env ******** --env ******** 0c61ea3ca93481e79828029ac4e3b1f35908166397716ea07b2d88ba1d5ed182 ssh-agent -k 05:03:42 unset SSH_AUTH_SOCK; 05:03:42 unset SSH_AGENT_PID; 05:03:42 echo Agent pid 20 killed; 05:03:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:42 [ssh-agent] Looking for ssh-agent implementation... 05:03:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:42 $ docker exec 0c61ea3ca93481e79828029ac4e3b1f35908166397716ea07b2d88ba1d5ed182 ssh-agent 05:03:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXodMCBC/agent.54 05:03:42 SSH_AGENT_PID=60 05:03:42 Running ssh-add (command line suppressed) 05:03:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/private_key_1442279114027658497.key (/w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/private_key_1442279114027658497.key) 05:03:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:43 + git semver init 05:03:43 # -> Open(): unable to determine branch for HEAD 05:03:43 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-133/.git 05:03:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-133 05:03:43 # $SEMVER_REMOTE_NAME = origin 05:03:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:03:43 # $SEMVER_USER_NAME = edgex-jenkins 05:03:43 # $SEMVER_BRANCH = PR-133 05:03:43 # $SEMVER_TEMP = /tmp/semver-599443047 05:03:43 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:03:44 # '/tmp/semver-599443047' -> '/w/workspace/gexfoundry_device-snmp-go_PR-133/.semver' 05:03:44 # -> Force: false 05:03:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-133/.semver [Pipeline] } 05:03:44 $ docker exec --env ******** --env ******** 0c61ea3ca93481e79828029ac4e3b1f35908166397716ea07b2d88ba1d5ed182 ssh-agent -k 05:03:44 unset SSH_AUTH_SOCK; 05:03:44 unset SSH_AGENT_PID; 05:03:44 echo Agent pid 60 killed; 05:03:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:44 + git semver [Pipeline] } 05:03:44 $ docker stop --time=1 0c61ea3ca93481e79828029ac4e3b1f35908166397716ea07b2d88ba1d5ed182 05:03:46 $ docker rm -f 0c61ea3ca93481e79828029ac4e3b1f35908166397716ea07b2d88ba1d5ed182 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:46 Stashed 1 file(s) [Pipeline] echo 05:03:46 [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 05:03:47 provisioning config files... 05:03:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/config282561278770989666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:47 ---> docker-login.sh 05:03:47 nexus3.edgexfoundry.org:10001 05:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:47 Configure a credential helper to remove this warning. See 05:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:47 05:03:47 Login Succeeded 05:03:47 nexus3.edgexfoundry.org:10002 05:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:47 Configure a credential helper to remove this warning. See 05:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:47 05:03:47 Login Succeeded 05:03:47 nexus3.edgexfoundry.org:10003 05:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:48 Configure a credential helper to remove this warning. See 05:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:48 05:03:48 Login Succeeded 05:03:48 nexus3.edgexfoundry.org:10004 05:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:48 Configure a credential helper to remove this warning. See 05:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:48 05:03:48 Login Succeeded 05:03:48 docker.io 05:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:48 Configure a credential helper to remove this warning. See 05:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:48 05:03:48 Login Succeeded 05:03:48 ---> docker-login.sh ends [Pipeline] } 05:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:48 ========================================================= 05:03:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:03:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:03:49 + 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 . 05:03:49 Sending build context to Docker daemon 5.174MB 05:03:49 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 05:03:49 Step 2/11 : FROM ${BASE} AS builder 05:03:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:49 59bf1c3509f3: Pulling fs layer 05:03:49 666ba61612fd: Pulling fs layer 05:03:49 8ed8ca486205: Pulling fs layer 05:03:49 4fe6c5a15a65: Pulling fs layer 05:03:49 22a0e8bec74d: Pulling fs layer 05:03:49 f965cba54748: Pulling fs layer 05:03:49 861ffc35075e: Pulling fs layer 05:03:49 4b385c91608e: Pulling fs layer 05:03:49 560528eb2ebb: Pulling fs layer 05:03:49 f965cba54748: Waiting 05:03:49 861ffc35075e: Waiting 05:03:49 4b385c91608e: Waiting 05:03:49 560528eb2ebb: Waiting 05:03:49 4fe6c5a15a65: Waiting 05:03:49 22a0e8bec74d: Waiting 05:03:49 8ed8ca486205: Verifying Checksum 05:03:49 8ed8ca486205: Download complete 05:03:49 666ba61612fd: Verifying Checksum 05:03:49 666ba61612fd: Download complete 05:03:49 22a0e8bec74d: Verifying Checksum 05:03:49 22a0e8bec74d: Download complete 05:03:49 f965cba54748: Verifying Checksum 05:03:49 f965cba54748: Download complete 05:03:49 59bf1c3509f3: Verifying Checksum 05:03:49 59bf1c3509f3: Download complete 05:03:49 861ffc35075e: Verifying Checksum 05:03:49 861ffc35075e: Download complete 05:03:49 4b385c91608e: Verifying Checksum 05:03:49 4b385c91608e: Download complete 05:03:49 59bf1c3509f3: Pull complete 05:03:50 4fe6c5a15a65: Verifying Checksum 05:03:50 4fe6c5a15a65: Download complete 05:03:50 560528eb2ebb: Verifying Checksum 05:03:50 560528eb2ebb: Download complete 05:03:50 666ba61612fd: Pull complete 05:03:50 8ed8ca486205: Pull complete 05:03:54 4fe6c5a15a65: Pull complete 05:03:54 22a0e8bec74d: Pull complete 05:03:54 f965cba54748: Pull complete 05:03:54 861ffc35075e: Pull complete 05:03:54 4b385c91608e: Pull complete 05:03:57 560528eb2ebb: Pull complete 05:03:57 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 05:03:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:03:57 ---> dd4a08f94e63 05:03:57 Step 3/11 : ARG MAKE='make build' 05:03:58 ---> Running in e06868b0b704 05:03:58 Removing intermediate container e06868b0b704 05:03:58 ---> 1571f18f65a8 05:03:58 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:03:58 ---> Running in e687b2849033 05:03:58 Removing intermediate container e687b2849033 05:03:58 ---> 84f6550bc9e5 05:03:58 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 05:03:58 ---> Running in 3d342933b946 05:03:58 Removing intermediate container 3d342933b946 05:03:58 ---> 1e6e933e1500 05:03:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:58 ---> Running in 0587d1658057 05:03:59 Removing intermediate container 0587d1658057 05:03:59 ---> 894e01184d80 05:03:59 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:59 ---> Running in a2aca50c9d17 05:03:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:04:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:04:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:04:00 (2/4) Installing libedit (20210910.3.1-r0) 05:04:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:04:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:04:00 Executing busybox-1.34.1-r3.trigger 05:04:00 OK: 224 MiB in 56 packages 05:04:01 Removing intermediate container a2aca50c9d17 05:04:01 ---> b661a0807b5a 05:04:01 Step 8/11 : WORKDIR /device-snmp-go 05:04:01 ---> Running in 4fb565a5e880 05:04:01 Removing intermediate container 4fb565a5e880 05:04:01 ---> 24a49d790a64 05:04:01 Step 9/11 : COPY . . 05:04:01 ---> 68b029f9bbd0 05:04:01 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:01 ---> Running in 6e12740f5d96 05:04:02 Still waiting to schedule task 05:04:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:04:40 Removing intermediate container 6e12740f5d96 05:04:40 ---> 5a8babec55a0 05:04:40 Step 11/11 : RUN ${MAKE} 05:04:40 ---> Running in 3b460ea6b531 05:04:40 noop 05:04:40 Removing intermediate container 3b460ea6b531 05:04:40 ---> fcdfc39aa8f4 05:04:40 Successfully built fcdfc39aa8f4 05:04:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:04:40 + docker inspect -f . ci-base-image-x86_64 05:04:40 . [Pipeline] withDockerContainer 05:04:41 prd-centos7-docker-4c-2g-1650 does not seem to be running inside a container 05:04:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-133 -v /w/workspace/gexfoundry_device-snmp-go_PR-133:/w/workspace/gexfoundry_device-snmp-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-133@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-133@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 ******** ci-base-image-x86_64 cat 05:04:41 $ docker top a2a10beaefd8cc0f62c57c59a6d87922562e2f82f29295d30de6d9b72c8a7a79 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:41 + go version 05:04:41 go version go1.17.6 linux/amd64 [Pipeline] } 05:04:41 $ docker stop --time=1 a2a10beaefd8cc0f62c57c59a6d87922562e2f82f29295d30de6d9b72c8a7a79 05:04:43 $ docker rm -f a2a10beaefd8cc0f62c57c59a6d87922562e2f82f29295d30de6d9b72c8a7a79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:04:43 + docker inspect -f . ci-base-image-x86_64 05:04:43 . [Pipeline] withDockerContainer 05:04:44 prd-centos7-docker-4c-2g-1650 does not seem to be running inside a container 05:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-133 -v /w/workspace/gexfoundry_device-snmp-go_PR-133:/w/workspace/gexfoundry_device-snmp-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-133@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-133@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 ******** ci-base-image-x86_64 cat 05:04:44 $ docker top 5adfbc7e1e465e7b96855161662e1ad0aeb1d868762b040f370174304caf5236 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:04:44 + make test 05:04:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:45 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 05:05:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:03 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:04 $ docker stop --time=1 5adfbc7e1e465e7b96855161662e1ad0aeb1d868762b040f370174304caf5236 05:05:05 $ docker rm -f 5adfbc7e1e465e7b96855161662e1ad0aeb1d868762b040f370174304caf5236 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:07 + ls -al . 05:05:07 total 144 05:05:07 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 17 05:05 . 05:05:07 drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 05:03 .. 05:05:07 -rw-rw-r--. 1 jenkins jenkins 6926 Jan 17 05:03 Attribution.txt 05:05:07 drwxrwxr-x. 2 jenkins jenkins 60 Jan 17 05:03 bin 05:05:07 -rw-rw-r--. 1 jenkins jenkins 4401 Jan 17 05:03 CHANGELOG.md 05:05:07 drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 05:03 cmd 05:05:07 -rw-r--r--. 1 jenkins jenkins 7631 Jan 17 05:04 coverage.out 05:05:07 -rw-rw-r--. 1 jenkins jenkins 1493 Jan 17 05:03 Dockerfile 05:05:07 -rw-rw-r--. 1 jenkins jenkins 6 Jan 17 05:03 .dockerignore 05:05:07 drwxrwxr-x. 8 jenkins jenkins 179 Jan 17 05:03 .git 05:05:07 drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 05:03 .github 05:05:07 -rw-rw-r--. 1 jenkins jenkins 262 Jan 17 05:03 .gitignore 05:05:07 -rw-rw-r--. 1 jenkins jenkins 214 Jan 17 05:03 go.mod 05:05:07 -rw-rw-r--. 1 jenkins jenkins 49501 Jan 17 05:03 go.sum 05:05:07 -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 05:03 GOVERNANCE.md 05:05:07 drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 05:03 internal 05:05:07 -rw-rw-r--. 1 jenkins jenkins 656 Jan 17 05:03 Jenkinsfile 05:05:07 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 05:03 LICENSE 05:05:07 -rw-rw-r--. 1 jenkins jenkins 1057 Jan 17 05:03 Makefile 05:05:07 -rw-rw-r--. 1 jenkins jenkins 620 Jan 17 05:03 OWNERS.md 05:05:07 -rw-rw-r--. 1 jenkins jenkins 9073 Jan 17 05:03 README.md 05:05:07 drwx------. 3 jenkins jenkins 88 Jan 17 05:03 .semver 05:05:07 drwxrwxr-x. 3 jenkins jenkins 58 Jan 17 05:03 snap 05:05:07 -rw-rw-r--. 1 jenkins jenkins 5 Jan 17 05:03 VERSION 05:05:07 -rw-rw-r--. 1 jenkins jenkins 209 Jan 17 05:03 version.go [Pipeline] isUnix [Pipeline] sh 05:05:08 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 --label arch=amd64 --label version=0.0.0 . 05:05:08 Sending build context to Docker daemon 5.182MB 05:05:08 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 05:05:08 Step 2/23 : FROM ${BASE} AS builder 05:05:08 ---> fcdfc39aa8f4 05:05:08 Step 3/23 : ARG MAKE='make build' 05:05:08 ---> Running in 5cd67756e93f 05:05:08 Removing intermediate container 5cd67756e93f 05:05:08 ---> 528a0e3f1e81 05:05:08 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:08 ---> Running in dc8aa9e5fdd8 05:05:08 Removing intermediate container dc8aa9e5fdd8 05:05:08 ---> b6bb0b649af3 05:05:08 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 05:05:08 ---> Running in a023d8d7d656 05:05:08 Removing intermediate container a023d8d7d656 05:05:08 ---> 87b1dc7c56d1 05:05:08 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:08 ---> Running in 07be27231ffd 05:05:08 Removing intermediate container 07be27231ffd 05:05:08 ---> 493ab192cad0 05:05:08 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:08 ---> Running in f11f9e92e21f 05:05:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:10 OK: 224 MiB in 56 packages 05:05:10 Removing intermediate container f11f9e92e21f 05:05:10 ---> c793fef8d527 05:05:10 Step 8/23 : WORKDIR /device-snmp-go 05:05:10 ---> Running in cf43bec40624 05:05:10 Removing intermediate container cf43bec40624 05:05:10 ---> 001c55400859 05:05:10 Step 9/23 : COPY . . 05:05:10 ---> 24ac09bb74d2 05:05:10 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:10 ---> Running in 11f8ede885ad 05:05:11 Removing intermediate container 11f8ede885ad 05:05:11 ---> 7456d9dab09f 05:05:11 Step 11/23 : RUN ${MAKE} 05:05:11 ---> Running in 07c508b28efd 05:05:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 05:05:24 Removing intermediate container 07c508b28efd 05:05:24 ---> df85ab26beb0 05:05:24 Step 12/23 : FROM alpine:3.14 05:05:24 3.14: Pulling from library/alpine 05:05:24 97518928ae5f: Pulling fs layer 05:05:24 97518928ae5f: Verifying Checksum 05:05:24 97518928ae5f: Download complete 05:05:24 97518928ae5f: Pull complete 05:05:24 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:05:24 Status: Downloaded newer image for alpine:3.14 05:05:24 ---> 0a97eee8041e 05:05:24 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 05:05:24 ---> Running in eb8f4e156b0d 05:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:05:25 (1/6) Installing dumb-init (1.2.5-r1) 05:05:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:05:25 (3/6) Installing libsodium (1.0.18-r0) 05:05:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:05:25 (5/6) Installing libzmq (4.3.4-r0) 05:05:25 (6/6) Installing zeromq (4.3.4-r0) 05:05:25 Executing busybox-1.33.1-r6.trigger 05:05:25 OK: 8 MiB in 20 packages 05:05:25 Removing intermediate container eb8f4e156b0d 05:05:25 ---> f9b98fb07274 05:05:25 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 05:05:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1653 in /w/workspace/gexfoundry_device-snmp-go_PR-133 [Pipeline] { [Pipeline] ws 05:05:26 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:05:26 ---> 0726528129cb 05:05:26 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:05:26 ---> 2ab4c9479247 05:05:26 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 05:05:26 Selected Git installation does not exist. Using Default 05:05:26 The recommended git tool is: NONE 05:05:26 ---> 9e7928446a68 05:05:26 Step 17/23 : EXPOSE 59993 05:05:26 ---> Running in 618ce9ea13fe 05:05:26 Removing intermediate container 618ce9ea13fe 05:05:26 ---> 2b9cedabf974 05:05:26 Step 18/23 : EXPOSE 161 05:05:26 ---> Running in 329b0ade5164 05:05:26 Removing intermediate container 329b0ade5164 05:05:26 ---> 6a072e1415fa 05:05:26 Step 19/23 : ENTRYPOINT ["/device-snmp"] 05:05:26 ---> Running in 6d22fd0c0f27 05:05:26 Removing intermediate container 6d22fd0c0f27 05:05:26 ---> 6f01fa0f8c46 05:05:26 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:05:26 ---> Running in 52eb5406ccc7 05:05:26 Removing intermediate container 52eb5406ccc7 05:05:26 ---> 0813f11c56c8 05:05:26 Step 21/23 : LABEL arch=amd64 05:05:26 ---> Running in 679a874b734f 05:05:27 Removing intermediate container 679a874b734f 05:05:27 ---> 40a9ca03c283 05:05:27 Step 22/23 : LABEL git_sha=0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 05:05:27 ---> Running in 1284df5b4e24 05:05:27 Removing intermediate container 1284df5b4e24 05:05:27 ---> 502556ec35e1 05:05:27 Step 23/23 : LABEL version=0.0.0 05:05:27 ---> Running in 8a1206b809cb 05:05:27 Removing intermediate container 8a1206b809cb 05:05:27 ---> 4e29917e99e1 05:05:27 [Warning] One or more build-args [ARCH] were not consumed 05:05:27 Successfully built 4e29917e99e1 05:05:27 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:27 05:05:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:05:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:28 latest: Pulling from edgex-lftools-log-publisher 05:05:28 b4d181a07f80: Pulling fs layer 05:05:28 a1111a8f2ec3: Pulling fs layer 05:05:28 ed53099fbce6: Pulling fs layer 05:05:28 dc539afda2c1: Pulling fs layer 05:05:28 77bc0d833cb6: Pulling fs layer 05:05:28 9065ff56babe: Pulling fs layer 05:05:28 d287ab97295c: Pulling fs layer 05:05:28 dc539afda2c1: Waiting 05:05:28 77bc0d833cb6: Waiting 05:05:28 9065ff56babe: Waiting 05:05:28 d287ab97295c: Waiting 05:05:28 a1111a8f2ec3: Verifying Checksum 05:05:28 a1111a8f2ec3: Download complete 05:05:28 dc539afda2c1: Verifying Checksum 05:05:28 dc539afda2c1: Download complete 05:05:28 ed53099fbce6: Verifying Checksum 05:05:28 ed53099fbce6: Download complete 05:05:28 9065ff56babe: Download complete 05:05:28 77bc0d833cb6: Verifying Checksum 05:05:28 77bc0d833cb6: Download complete 05:05:28 b4d181a07f80: Verifying Checksum 05:05:28 b4d181a07f80: Download complete 05:05:28 d287ab97295c: Verifying Checksum 05:05:28 d287ab97295c: Download complete 05:05:29 b4d181a07f80: Pull complete 05:05:29 a1111a8f2ec3: Pull complete 05:05:30 ed53099fbce6: Pull complete 05:05:30 dc539afda2c1: Pull complete 05:05:30 77bc0d833cb6: Pull complete 05:05:30 9065ff56babe: Pull complete 05:05:31 using credential edgex-jenkins-ssh 05:05:31 Cloning the remote Git repository 05:05:31 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:05:31 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:05:31 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:05:31 > git --version # timeout=10 05:05:31 > git --version # 'git version 2.17.1' 05:05:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:33 Merging remotes/origin/main commit 88e18fd07957abed78799bc43ba159f1a7719259 into PR head commit 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 05:05:33 Merge succeeded, producing 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 05:05:33 Checking out Revision 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 (PR-133) 05:05:32 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:05:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:32 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:05:32 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:05:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:05:33 > git config core.sparsecheckout # timeout=10 05:05:33 > git checkout -f 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 # timeout=10 05:05:33 > git remote # timeout=10 05:05:33 > git config --get remote.origin.url # timeout=10 05:05:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:33 > git merge 88e18fd07957abed78799bc43ba159f1a7719259 # timeout=10 05:05:33 > git rev-parse HEAD^{commit} # timeout=10 05:05:33 > git config core.sparsecheckout # timeout=10 05:05:33 > git checkout -f 0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 # timeout=10 05:05:36 d287ab97295c: Pull complete 05:05:36 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:05:36 prd-centos7-docker-4c-2g-1650 does not seem to be running inside a container 05:05:36 $ 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-133 -v /w/workspace/gexfoundry_device-snmp-go_PR-133:/w/workspace/gexfoundry_device-snmp-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-133@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-133@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 05:05:37 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:05:37 > git --version # timeout=10 05:05:37 > git --version # 'git version 2.17.1' 05:05:37 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 05:05:37 05:05:37 GitHub has been notified of this commit’s build result 05:05:37 05:05:38 $ docker top caf748c3ad4a0376069f3310a686b558aa875a0995fc22638c93ce517ea5022b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:39 ---> job-cost.sh 05:05:39 lf-activate-venv: SKIPPING 05:05:39 INFO: No Stack... 05:05:39 INFO: Retrieving Pricing Info for: v3-standard-2 05:05:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:05:39 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:39 Dload Upload Total Spent Left Speed 05:05:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 78430 0 --:--:-- --:--:-- --:--:-- 78430 05:05:39 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 05:05:40 + cat /w/workspace/gexfoundry_device-snmp-go_PR-133/archives/cost.csv 05:05:40 + cut -d, -f6 [Pipeline] lock 05:05:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] 05:05:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] did not exist. Created. 05:05:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:05:40 + echo total: 0.05999999865889549 [Pipeline] stash 05:05:40 Stashed 1 file(s) [Pipeline] } 05:05:40 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] 05:05:40 + + sudo tee /etc/docker/daemon.new 05:05:40 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:05:40 { 05:05:40 "registry-mirrors": [ 05:05:40 "https://nexus3.edgexfoundry.org:10001" 05:05:40 ], 05:05:40 "bip": "10.250.0.254/24", 05:05:40 "hosts": [ 05:05:40 "tcp://0.0.0.0:5555", 05:05:40 "unix:///var/run/docker.sock" 05:05:40 ], 05:05:40 "mtu": 1458, 05:05:40 "selinux-enabled": true, 05:05:40 "seccomp-profile": "/etc/docker/seccomp.json" 05:05:40 } [Pipeline] // lock [Pipeline] } 05:05:40 $ docker stop --time=1 caf748c3ad4a0376069f3310a686b558aa875a0995fc22638c93ce517ea5022b 05:05:41 $ docker rm -f caf748c3ad4a0376069f3310a686b558aa875a0995fc22638c93ce517ea5022b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:05:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:00 provisioning config files... 05:06:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8629232546160348060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:01 ---> docker-login.sh 05:06:01 nexus3.edgexfoundry.org:10001 05:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:02 Configure a credential helper to remove this warning. See 05:06:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:02 05:06:02 Login Succeeded 05:06:02 nexus3.edgexfoundry.org:10002 05:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:02 Configure a credential helper to remove this warning. See 05:06:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:02 05:06:02 Login Succeeded 05:06:02 nexus3.edgexfoundry.org:10003 05:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:03 Configure a credential helper to remove this warning. See 05:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:03 05:06:03 Login Succeeded 05:06:03 nexus3.edgexfoundry.org:10004 05:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:03 Configure a credential helper to remove this warning. See 05:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:03 05:06:03 Login Succeeded 05:06:03 docker.io 05:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:04 Configure a credential helper to remove this warning. See 05:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:04 05:06:04 Login Succeeded 05:06:04 ---> docker-login.sh ends [Pipeline] } 05:06:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:04 ========================================================= 05:06:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:06:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:06:05 + 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 . 05:06:05 Sending build context to Docker daemon 2.691MB 05:06:05 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 05:06:05 Step 2/11 : FROM ${BASE} AS builder 05:06:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:06:05 9b3977197b4f: Pulling fs layer 05:06:05 1a89e8eeedd5: Pulling fs layer 05:06:05 94645a83ff95: Pulling fs layer 05:06:05 3f3a8bcf1eab: Pulling fs layer 05:06:05 0c92f367c5e7: Pulling fs layer 05:06:05 4b8299f9d1f4: Pulling fs layer 05:06:05 9a6b49a46696: Pulling fs layer 05:06:05 cf05db05a679: Pulling fs layer 05:06:05 3f3a8bcf1eab: Waiting 05:06:05 0c92f367c5e7: Waiting 05:06:05 4b8299f9d1f4: Waiting 05:06:05 cf05db05a679: Waiting 05:06:05 9a6b49a46696: Waiting 05:06:05 94645a83ff95: Verifying Checksum 05:06:05 94645a83ff95: Download complete 05:06:05 1a89e8eeedd5: Verifying Checksum 05:06:05 1a89e8eeedd5: Download complete 05:06:05 0c92f367c5e7: Verifying Checksum 05:06:05 0c92f367c5e7: Download complete 05:06:05 4b8299f9d1f4: Verifying Checksum 05:06:05 4b8299f9d1f4: Download complete 05:06:05 9a6b49a46696: Verifying Checksum 05:06:05 9a6b49a46696: Download complete 05:06:06 9b3977197b4f: Pull complete 05:06:07 1a89e8eeedd5: Pull complete 05:06:07 94645a83ff95: Pull complete 05:06:08 cf05db05a679: Verifying Checksum 05:06:08 cf05db05a679: Download complete 05:06:08 3f3a8bcf1eab: Verifying Checksum 05:06:08 3f3a8bcf1eab: Download complete 05:06:20 3f3a8bcf1eab: Pull complete 05:06:20 0c92f367c5e7: Pull complete 05:06:20 4b8299f9d1f4: Pull complete 05:06:20 9a6b49a46696: Pull complete 05:06:26 cf05db05a679: Pull complete 05:06:26 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 05:06:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:06:26 ---> 0ccda1f7e2ee 05:06:26 Step 3/11 : ARG MAKE='make build' 05:06:28 ---> Running in 84cf24c1e9e2 05:06:28 Removing intermediate container 84cf24c1e9e2 05:06:28 ---> 2b63bad19d58 05:06:28 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:06:28 ---> Running in f2cfa609d56c 05:06:28 Removing intermediate container f2cfa609d56c 05:06:28 ---> 8cff205a0ad4 05:06:28 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 05:06:28 ---> Running in 0564f3050905 05:06:29 Removing intermediate container 0564f3050905 05:06:29 ---> b2e4a8597c22 05:06:29 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:29 ---> Running in 133c1c5e7392 05:06:31 Removing intermediate container 133c1c5e7392 05:06:31 ---> 280147cff0a1 05:06:31 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:06:31 ---> Running in 2ac04e723e0b 05:06:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:06:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:06:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:06:34 (2/4) Installing libedit (20210910.3.1-r0) 05:06:34 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:06:34 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:06:34 Executing busybox-1.34.1-r3.trigger 05:06:34 OK: 224 MiB in 56 packages 05:06:35 Removing intermediate container 2ac04e723e0b 05:06:35 ---> 68ac473d3e77 05:06:35 Step 8/11 : WORKDIR /device-snmp-go 05:06:35 ---> Running in 9d336bcb5025 05:06:35 Removing intermediate container 9d336bcb5025 05:06:35 ---> bb2b09c480ec 05:06:35 Step 9/11 : COPY . . 05:06:36 ---> 8704d129289c 05:06:36 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:36 ---> Running in 5a2351b648e4 05:07:58 Removing intermediate container 5a2351b648e4 05:07:58 ---> 8bb023b68181 05:07:58 Step 11/11 : RUN ${MAKE} 05:07:58 ---> Running in 09ce69d687c8 05:07:58 noop 05:07:58 Removing intermediate container 09ce69d687c8 05:07:58 ---> 84a24a695437 05:07:58 Successfully built 84a24a695437 05:07:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:07:59 + docker inspect -f . ci-base-image-arm64 05:07:59 . [Pipeline] withDockerContainer 05:07:59 prd-ubuntu18.04-docker-arm64-4c-16g-1653 does not seem to be running inside a container 05:07:59 $ 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 05:08:00 $ docker top 0c52a76c25ebaa15c8a4fbc3ea5da5c7ae424d332898a953208f4a7e19750d50 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:01 + go version 05:08:01 go version go1.17.6 linux/arm64 [Pipeline] } 05:08:01 $ docker stop --time=1 0c52a76c25ebaa15c8a4fbc3ea5da5c7ae424d332898a953208f4a7e19750d50 05:08:03 $ docker rm -f 0c52a76c25ebaa15c8a4fbc3ea5da5c7ae424d332898a953208f4a7e19750d50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:04 + docker inspect -f . ci-base-image-arm64 05:08:04 . [Pipeline] withDockerContainer 05:08:04 prd-ubuntu18.04-docker-arm64-4c-16g-1653 does not seem to be running inside a container 05:08:04 $ 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 05:08:06 $ docker top 5b1175a812144c0cbad66fa8a2fceae042b0bab75f711315221991b9537b2f71 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:08:07 + make test 05:08:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:08:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:08:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 05:08:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:22 $ docker stop --time=1 5b1175a812144c0cbad66fa8a2fceae042b0bab75f711315221991b9537b2f71 05:09:24 $ docker rm -f 5b1175a812144c0cbad66fa8a2fceae042b0bab75f711315221991b9537b2f71 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:24 Warning: overwriting stash ‘coverage-report’ 05:09:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:26 + ls -al . 05:09:26 total 172 05:09:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 05:09 . 05:09:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 05:05 .. 05:09:26 -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 05:05 .dockerignore 05:09:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 05:05 .git 05:09:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 05:05 .github 05:09:26 -rw-rw-r-- 1 jenkins jenkins 262 Jan 17 05:05 .gitignore 05:09:26 -rw-rw-r-- 1 jenkins jenkins 6926 Jan 17 05:05 Attribution.txt 05:09:26 -rw-rw-r-- 1 jenkins jenkins 4401 Jan 17 05:05 CHANGELOG.md 05:09:26 -rw-rw-r-- 1 jenkins jenkins 1493 Jan 17 05:05 Dockerfile 05:09:26 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 05:05 GOVERNANCE.md 05:09:26 -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 05:05 Jenkinsfile 05:09:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 05:05 LICENSE 05:09:26 -rw-rw-r-- 1 jenkins jenkins 1057 Jan 17 05:05 Makefile 05:09:26 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 05:05 OWNERS.md 05:09:26 -rw-rw-r-- 1 jenkins jenkins 9073 Jan 17 05:05 README.md 05:09:26 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 05:03 VERSION 05:09:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 05:05 bin 05:09:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:05 cmd 05:09:26 -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 05:08 coverage.out 05:09:26 -rw-rw-r-- 1 jenkins jenkins 214 Jan 17 05:05 go.mod 05:09:26 -rw-rw-r-- 1 jenkins jenkins 49501 Jan 17 05:05 go.sum 05:09:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:05 internal 05:09:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:05 snap 05:09:26 -rw-rw-r-- 1 jenkins jenkins 209 Jan 17 05:05 version.go [Pipeline] isUnix [Pipeline] sh 05:09:26 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 --label arch=arm64 --label version=0.0.0 . 05:09:26 Sending build context to Docker daemon 2.699MB 05:09:26 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 05:09:26 Step 2/23 : FROM ${BASE} AS builder 05:09:26 ---> 84a24a695437 05:09:26 Step 3/23 : ARG MAKE='make build' 05:09:27 ---> Running in c4240a9a737e 05:09:27 Removing intermediate container c4240a9a737e 05:09:27 ---> bf886a9be611 05:09:27 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:09:27 ---> Running in e6bb471a6d91 05:09:28 Removing intermediate container e6bb471a6d91 05:09:28 ---> 968d426a32f1 05:09:28 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 05:09:28 ---> Running in 323609bd59fe 05:09:28 Removing intermediate container 323609bd59fe 05:09:28 ---> 446e19945180 05:09:28 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:28 ---> Running in 8291e8675108 05:09:30 Removing intermediate container 8291e8675108 05:09:30 ---> a07934bbcf17 05:09:30 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:30 ---> Running in 957b3e18c7e1 05:09:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:09:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:09:32 OK: 224 MiB in 56 packages 05:09:33 Removing intermediate container 957b3e18c7e1 05:09:33 ---> 82631f11cf6e 05:09:33 Step 8/23 : WORKDIR /device-snmp-go 05:09:33 ---> Running in 296b811c2370 05:09:34 Removing intermediate container 296b811c2370 05:09:34 ---> 1ac76da4c18c 05:09:34 Step 9/23 : COPY . . 05:09:35 ---> 54c10034e138 05:09:35 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:35 ---> Running in 6adbe85891e7 05:09:37 Removing intermediate container 6adbe85891e7 05:09:37 ---> bae44d46e965 05:09:37 Step 11/23 : RUN ${MAKE} 05:09:37 ---> Running in 475bb8c9fae6 05:09:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 05:10:25 Removing intermediate container 475bb8c9fae6 05:10:25 ---> 62bdc19ca9ea 05:10:25 Step 12/23 : FROM alpine:3.14 05:10:25 3.14: Pulling from library/alpine 05:10:25 be307f383ecc: Pulling fs layer 05:10:25 be307f383ecc: Verifying Checksum 05:10:25 be307f383ecc: Download complete 05:10:25 be307f383ecc: Pull complete 05:10:25 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:10:25 Status: Downloaded newer image for alpine:3.14 05:10:25 ---> 5b8b7b635229 05:10:25 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 05:10:25 ---> Running in 7374abc7ee18 05:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:10:25 (1/6) Installing dumb-init (1.2.5-r1) 05:10:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:10:25 (3/6) Installing libsodium (1.0.18-r0) 05:10:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:10:25 (5/6) Installing libzmq (4.3.4-r0) 05:10:25 (6/6) Installing zeromq (4.3.4-r0) 05:10:25 Executing busybox-1.33.1-r6.trigger 05:10:25 OK: 8 MiB in 20 packages 05:10:25 Removing intermediate container 7374abc7ee18 05:10:25 ---> 3c728d12c418 05:10:25 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 05:10:25 ---> 10eda86be7c1 05:10:25 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:10:25 ---> bac4d02fed23 05:10:25 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 05:10:25 ---> 34df3b1b8ec5 05:10:25 Step 17/23 : EXPOSE 59993 05:10:26 ---> Running in 9f0ffa94eca6 05:10:26 Removing intermediate container 9f0ffa94eca6 05:10:26 ---> ab71fccaf13a 05:10:26 Step 18/23 : EXPOSE 161 05:10:26 ---> Running in 35edbcef9680 05:10:26 Removing intermediate container 35edbcef9680 05:10:26 ---> 580128d19700 05:10:26 Step 19/23 : ENTRYPOINT ["/device-snmp"] 05:10:26 ---> Running in a06fdaf89f71 05:10:27 Removing intermediate container a06fdaf89f71 05:10:27 ---> caa09ac6f0f5 05:10:27 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:10:27 ---> Running in 550d5a16ee10 05:10:27 Removing intermediate container 550d5a16ee10 05:10:27 ---> 172704b9f0a5 05:10:27 Step 21/23 : LABEL arch=arm64 05:10:27 ---> Running in 1768a9fe1363 05:10:27 Removing intermediate container 1768a9fe1363 05:10:27 ---> 50fdb8609510 05:10:27 Step 22/23 : LABEL git_sha=0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 05:10:27 ---> Running in d4f52d5eecbe 05:10:28 Removing intermediate container d4f52d5eecbe 05:10:28 ---> 54a4d691d957 05:10:28 Step 23/23 : LABEL version=0.0.0 05:10:28 ---> Running in 90e14a33267d 05:10:28 Removing intermediate container 90e14a33267d 05:10:28 ---> e75a7e903332 05:10:28 [Warning] One or more build-args [ARCH] were not consumed 05:10:28 Successfully built e75a7e903332 05:10:28 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:29 05:10:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:10:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:30 arm64: Pulling from edgex-lftools-log-publisher 05:10:30 448f6bf000e3: Pulling fs layer 05:10:30 f757da607395: Pulling fs layer 05:10:30 05883995daec: Pulling fs layer 05:10:30 8603b9c90790: Pulling fs layer 05:10:30 1560dd03e051: Pulling fs layer 05:10:30 27f5ce0e4adf: Pulling fs layer 05:10:30 c2d8d7efcc4b: Pulling fs layer 05:10:30 8603b9c90790: Waiting 05:10:30 1560dd03e051: Waiting 05:10:30 27f5ce0e4adf: Waiting 05:10:30 c2d8d7efcc4b: Waiting 05:10:30 f757da607395: Verifying Checksum 05:10:30 f757da607395: Download complete 05:10:30 8603b9c90790: Verifying Checksum 05:10:30 8603b9c90790: Download complete 05:10:30 1560dd03e051: Verifying Checksum 05:10:30 1560dd03e051: Download complete 05:10:30 27f5ce0e4adf: Download complete 05:10:30 05883995daec: Verifying Checksum 05:10:30 05883995daec: Download complete 05:10:30 448f6bf000e3: Verifying Checksum 05:10:30 448f6bf000e3: Download complete 05:10:33 c2d8d7efcc4b: Verifying Checksum 05:10:33 c2d8d7efcc4b: Download complete 05:10:34 448f6bf000e3: Pull complete 05:10:34 f757da607395: Pull complete 05:10:36 05883995daec: Pull complete 05:10:36 8603b9c90790: Pull complete 05:10:37 1560dd03e051: Pull complete 05:10:37 27f5ce0e4adf: Pull complete 05:10:52 c2d8d7efcc4b: Pull complete 05:10:52 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:10:52 prd-ubuntu18.04-docker-arm64-4c-16g-1653 does not seem to be running inside a container 05:10:52 $ 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 05:10:55 $ docker top bc672ca8f8c90339c417a39a9a8e325d15fcd951ac9d96b055160a497a5750ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:56 ---> job-cost.sh 05:10:56 lf-activate-venv: SKIPPING 05:10:56 INFO: No Stack... 05:10:56 INFO: Retrieving Pricing Info for: v3-standard-4 05:10:57 INFO: Archiving Costs [Pipeline] sh 05:10:58 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:10:58 + cut -d, -f6 [Pipeline] lock 05:10:58 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] 05:10:58 Resource [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] did not exist. Created. 05:10:58 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:10:59 /w/workspace/device-snmp-go/1@tmp/durable-e5872b40/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-e5872b40/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:10:59 + echo total: 0.10999999940395355 [Pipeline] stash 05:10:59 Warning: overwriting stash ‘stack-cost’ 05:10:59 Stashed 1 file(s) [Pipeline] } 05:10:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:00 $ docker stop --time=1 bc672ca8f8c90339c417a39a9a8e325d15fcd951ac9d96b055160a497a5750ea 05:11:01 $ docker rm -f bc672ca8f8c90339c417a39a9a8e325d15fcd951ac9d96b055160a497a5750ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:11:02 provisioning config files... 05:11:02 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/config6577608817176865525tmp [Pipeline] { [Pipeline] sh 05:11:03 + set +x 05:11:03 + bash -s -- 05:11:03 + curl -s https://codecov.io/bash 05:11:03 05:11:03 _____ _ 05:11:03 / ____| | | 05:11:03 | | ___ __| | ___ ___ _____ __ 05:11:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:11:03 | |___| (_) | (_| | __/ (_| (_) \ V / 05:11:03 \_____\___/ \__,_|\___|\___\___/ \_/ 05:11:03 Bash-1.0.6 05:11:03 05:11:03 05:11:03 ==> git version 2.24.4 found 05:11:03 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:11:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:11:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:11:03 ==> Jenkins CI detected. 05:11:03 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-133 05:11:03 project root: . 05:11:03 --> token set from env 05:11:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:11:03 ==> Running gcov in . (disable via -X gcov) 05:11:03 ==> Python coveragepy not found 05:11:03 ==> Searching for coverage reports in: 05:11:03 + . 05:11:03 -> Found 1 reports 05:11:03 ==> Detecting git/mercurial file structure 05:11:03 ==> Reading reports 05:11:03 + ./coverage.out bytes=7631 05:11:03 ==> Appending adjustments 05:11:03 https://docs.codecov.io/docs/fixing-reports 05:11:03 + Found adjustments 05:11:03 ==> Gzipping contents 05:11:03 4.0K /tmp/codecov.lBRAPw.gz 05:11:03 ==> Uploading reports 05:11:03 url: https://codecov.io 05:11:03 query: branch=PR-133&commit=0e5d06cba9cdda5c9db6793a56b14e0b1bb46073&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=133&job=&cmd_args= 05:11:03 -> Pinging Codecov 05:11:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-133&commit=0e5d06cba9cdda5c9db6793a56b14e0b1bb46073&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=133&job=&cmd_args= 05:11:04 -> Uploading to 05:11:04 https://storage.googleapis.com/codecov/v4/raw/2022-01-17/6C56EA5C29638FB4528AC87E60AF5AE0/0e5d06cba9cdda5c9db6793a56b14e0b1bb46073/0667aadc-d1f3-454f-acc7-9857bbf058ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T051103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7d2562f585bc44f338c443b6b79924c1376f5a4dc22aea5cced04ed385a2c0d 05:11:04 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:04 Dload Upload Total Spent Left Speed 05:11:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4342 --:--:-- --:--:-- --:--:-- 4347 05:11:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/0e5d06cba9cdda5c9db6793a56b14e0b1bb46073 [Pipeline] } 05:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:11:06 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-133/archives ']' 05:11:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-133/archives 05:11:06 total 8 05:11:06 drwxr-xr-x. 3 root root 34 Jan 17 05:05 . 05:11:06 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 05:05 .. 05:11:06 drwxr-xr-x. 2 root root 6 Jan 17 05:05 cost 05:11:06 -rw-r--r--. 1 root root 85 Jan 17 05:05 cost.csv 05:11:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-133/archives 05:11:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-133/archives 05:11:06 total 8 05:11:06 drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 05:05 . 05:11:06 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 05:05 .. 05:11:06 drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 05:05 cost 05:11:06 -rw-r--r--. 1 jenkins jenkins 85 Jan 17 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:07 ---> package-listing.sh 05:11:07 ++ facter osfamily 05:11:07 ++ tr '[:upper:]' '[:lower:]' 05:11:07 + OS_FAMILY=redhat 05:11:07 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-133 05:11:07 + START_PACKAGES=/tmp/packages_start.txt 05:11:07 + END_PACKAGES=/tmp/packages_end.txt 05:11:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:07 + PACKAGES=/tmp/packages_start.txt 05:11:07 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-133 ']' 05:11:07 + PACKAGES=/tmp/packages_end.txt 05:11:07 + case "${OS_FAMILY}" in 05:11:07 + rpm -qa 05:11:07 + sort 05:11:07 + '[' -f /tmp/packages_start.txt ']' 05:11:07 + '[' -f /tmp/packages_end.txt ']' 05:11:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:07 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-133 ']' 05:11:07 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-133/archives/ 05:11:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-133/archives/ [Pipeline] echo 05:11:07 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-133/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:11:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:08 . [Pipeline] withDockerContainer 05:11:08 prd-centos7-docker-4c-2g-1650 does not seem to be running inside a container 05:11:08 $ 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-133/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-133 -v /w/workspace/gexfoundry_device-snmp-go_PR-133:/w/workspace/gexfoundry_device-snmp-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-133@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-133@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:11:09 $ docker top 9b5d18463f31c3cf0eabf41a4af1429b68e928a87bfec14798fdd96f1c7004d8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:09 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:09 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:10 + ls /var/log/sa-host 05:11:10 + sadf -c /var/log/sa-host/sa17 05:11:10 file_magic: OK 05:11:10 HZ: Using current value: 100 05:11:10 file_header: OK 05:11:10 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 05:11:10 Statistics: 05:11:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:11:10 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:10 provisioning config files... 05:11:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-133@tmp/config2903660550977221544tmp [Pipeline] { [Pipeline] echo 05:11:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:10 ---> create-netrc.sh [Pipeline] } 05:11:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:11 ---> python-tools-install.sh [Pipeline] echo 05:11:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:11 ---> sudo-logs.sh 05:11:11 Archiving 'sudo' log.. 05:11:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-1650.novalocal: Name or service not known 05:11:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-1650.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:11:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:12 ---> job-cost.sh 05:11:12 lf-activate-venv: SKIPPING 05:11:12 DEBUG: total: 0.05999999865889549 05:11:12 INFO: Retrieving Stack Cost... 05:11:12 INFO: Retrieving Pricing Info for: v3-standard-2 05:11:12 INFO: Archiving Costs [Pipeline] echo 05:11:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:12 ---> logs-deploy.sh 05:11:12 lf-activate-venv: SKIPPING 05:11:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-133/1 05:11:12 INFO: archiving workspace using pattern(s): 05:11:13 Archives upload complete. 05:11:13 INFO: archiving logs to Nexus