Pull request #288 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 07aaef5b0d79c8db2f5e9e0d0e25c32712347257+66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 (13231408719f92c2532170923aea77c8a27b1ecd) 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-ssh9176192178888932404.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14106151949053984592.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8618173732896578823.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-288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2464920791867926346.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 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-ssh14769197070354051290.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-288/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-288/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5991513279576270312.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8902 in /w/workspace/gexfoundry_device-snmp-go_PR-288 [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-288 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 into PR head commit 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 Merge succeeded, producing 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 Checking out Revision 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 (PR-288) > git config core.sparsecheckout # timeout=10 > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # timeout=10 Commit message: "build(deps): bump device-sdk-go version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:51:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:51:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:51:48 ========================================================= 10:51:48 EdgeX Global Pipelines Version Info 10:51:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:51:49 ------------------- 10:51:49 stable info: 10:51:49 ------------------- 10:51:49 Commited By: Bill Mahoney bill.mahoney@intel.com 10:51:49 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:51:49 Message: update stable to v1.0.248 10:51:49 ------------------- 10:51:49 experimental info: 10:51:49 ------------------- 10:51:49 Commited By: **** collab-it+edgex@linuxfoundation.org 10:51:49 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:51:49 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:51:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:51:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-288 [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-288 [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-288 [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07aaef5 [Pipeline] echo 10:51:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:51:51 provisioning config files... 10:51:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config8940801531383459437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:51:51 ---> docker-login.sh 10:51:51 nexus3.edgexfoundry.org:10001 10:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:52 Configure a credential helper to remove this warning. See 10:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:52 10:51:52 Login Succeeded 10:51:52 nexus3.edgexfoundry.org:10002 10:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:52 Configure a credential helper to remove this warning. See 10:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:52 10:51:52 Login Succeeded 10:51:52 nexus3.edgexfoundry.org:10003 10:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:52 Configure a credential helper to remove this warning. See 10:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:52 10:51:52 Login Succeeded 10:51:52 nexus3.edgexfoundry.org:10004 10:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:52 Configure a credential helper to remove this warning. See 10:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:52 10:51:52 Login Succeeded 10:51:52 docker.io 10:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:52 Configure a credential helper to remove this warning. See 10:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:52 10:51:52 Login Succeeded 10:51:52 ---> docker-login.sh ends [Pipeline] } 10:51:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:51:53 + git rev-list -1 --merges 07aaef5b0d79c8db2f5e9e0d0e25c32712347257~1..07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo 10:51:53 -----------> git rev-list -1 --merges 07aaef5b0d79c8db2f5e9e0d0e25c32712347257~1..07aaef5b0d79c8db2f5e9e0d0e25c32712347257 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [false] [Pipeline] sh 10:51:53 + git log --format=format:%s -1 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo 10:51:53 ========================================================= 10:51:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:51:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:51:54 + git log --format=format:%s -1 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo 10:51:54 [semverPrep] GIT_COMMIT: 07aaef5b0d79c8db2f5e9e0d0e25c32712347257, Commit Message: build(deps): bump device-sdk-go version [Pipeline] echo 10:51:54 [semverPrep] This is not a build commit. [Pipeline] sh 10:51:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:51:54 + grep -v github /etc/ssh/ssh_known_hosts 10:51:54 + [ -e /tmp/ssh_known_hosts ] 10:51:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:51:54 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:51:54 sudo tee -a /etc/ssh/ssh_known_hosts 10:51:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:51:55 10:51:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:51:55 0.1.4: Pulling from edgex-devops/py-git-semver 10:51:55 b85a868b505f: Pulling fs layer 10:51:55 e2be974225ed: Pulling fs layer 10:51:55 339a4e72a1f5: Pulling fs layer 10:51:55 988bab9f4d93: Pulling fs layer 10:51:55 1469e6f7b9e6: Pulling fs layer 10:51:55 eaf3925da568: Pulling fs layer 10:51:55 bab4dde63d76: Pulling fs layer 10:51:55 bde34c3a00c8: Pulling fs layer 10:51:55 b352a97aabf1: Pulling fs layer 10:51:55 4872d77fe225: Pulling fs layer 10:51:55 5851b861e8e6: Pulling fs layer 10:51:55 bab4dde63d76: Waiting 10:51:55 b352a97aabf1: Waiting 10:51:55 bde34c3a00c8: Waiting 10:51:55 5851b861e8e6: Waiting 10:51:55 4872d77fe225: Waiting 10:51:55 eaf3925da568: Waiting 10:51:55 1469e6f7b9e6: Waiting 10:51:55 988bab9f4d93: Waiting 10:51:55 e2be974225ed: Download complete 10:51:55 988bab9f4d93: Verifying Checksum 10:51:55 988bab9f4d93: Download complete 10:51:56 1469e6f7b9e6: Verifying Checksum 10:51:56 1469e6f7b9e6: Download complete 10:51:56 339a4e72a1f5: Verifying Checksum 10:51:56 339a4e72a1f5: Download complete 10:51:56 eaf3925da568: Verifying Checksum 10:51:56 eaf3925da568: Download complete 10:51:56 bde34c3a00c8: Verifying Checksum 10:51:56 bde34c3a00c8: Download complete 10:51:56 b352a97aabf1: Verifying Checksum 10:51:56 b352a97aabf1: Download complete 10:51:56 4872d77fe225: Verifying Checksum 10:51:56 4872d77fe225: Download complete 10:51:56 5851b861e8e6: Verifying Checksum 10:51:56 5851b861e8e6: Download complete 10:51:56 b85a868b505f: Verifying Checksum 10:51:56 b85a868b505f: Download complete 10:51:56 bab4dde63d76: Verifying Checksum 10:51:56 bab4dde63d76: Download complete 10:51:57 b85a868b505f: Pull complete 10:51:57 e2be974225ed: Pull complete 10:51:57 339a4e72a1f5: Pull complete 10:51:57 988bab9f4d93: Pull complete 10:51:58 1469e6f7b9e6: Pull complete 10:51:58 eaf3925da568: Pull complete 10:51:59 bab4dde63d76: Pull complete 10:51:59 bde34c3a00c8: Pull complete 10:51:59 b352a97aabf1: Pull complete 10:51:59 4872d77fe225: Pull complete 10:52:00 5851b861e8e6: Pull complete 10:52:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:00 prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container 10:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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-devops/py-git-semver:0.1.4 cat 10:52:04 $ docker top 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf -eo pid,comm 10:52:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:52:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:52:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:04 [ssh-agent] Looking for ssh-agent implementation... 10:52:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:04 $ docker exec 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent 10:52:04 SSH_AUTH_SOCK=/tmp/ssh-jO6iW4RtFQ7D/agent.32 10:52:04 SSH_AGENT_PID=38 10:52:04 Running ssh-add (command line suppressed) 10:52:04 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_1849891120043781470.key (/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_1849891120043781470.key) 10:52:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:05 + git tag --points-at HEAD [Pipeline] } 10:52:05 $ docker exec --env ******** --env ******** 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent -k 10:52:05 unset SSH_AUTH_SOCK; 10:52:05 unset SSH_AGENT_PID; 10:52:05 echo Agent pid 38 killed; 10:52:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:52:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:05 [ssh-agent] Looking for ssh-agent implementation... 10:52:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:05 $ docker exec 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent 10:52:05 SSH_AUTH_SOCK=/tmp/ssh-Iw2VtXsnJ6f2/agent.69 10:52:05 SSH_AGENT_PID=75 10:52:05 Running ssh-add (command line suppressed) 10:52:05 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_14409224148253614779.key (/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_14409224148253614779.key) 10:52:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:05 + git semver init 10:52:06 2023-04-18 10:52:06,110 [run_init] DEBUG init version:0.0.0 force:False 10:52:06 2023-04-18 10:52:06,111 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver 10:52:06 2023-04-18 10:52:06,111 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-288/.semver 10:52:06 2023-04-18 10:52:06,112 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-288, universal_newlines=False, shell=None, istream=None) 10:52:07 2023-04-18 10:52:06,862 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-288/.git/info/exclude 10:52:07 2023-04-18 10:52:06,863 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver/PR-288 with force:False 10:52:07 2023-04-18 10:52:06,863 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver/PR-288 10:52:07 2023-04-18 10:52:06,865 [execute] INFO git cat-file --batch-check 10:52:07 2023-04-18 10:52:06,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver, universal_newlines=False, shell=None, istream=) 10:52:07 2023-04-18 10:52:06,870 [execute] INFO git cat-file --batch 10:52:07 2023-04-18 10:52:06,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver, universal_newlines=False, shell=None, istream=) 10:52:07 2023-04-18 10:52:06,873 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-288/.semver/PR-288 10:52:07 0.0.0 [Pipeline] } 10:52:07 $ docker exec --env ******** --env ******** 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent -k 10:52:07 unset SSH_AUTH_SOCK; 10:52:07 unset SSH_AGENT_PID; 10:52:07 echo Agent pid 75 killed; 10:52:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:52:07 + git semver [Pipeline] } 10:52:07 $ docker stop --time=1 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf 10:52:09 $ docker rm -f --volumes 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf [Pipeline] // withDockerContainer [Pipeline] sh 10:52:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:52:09 Stashed 1 file(s) [Pipeline] echo 10:52:09 [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 10:52:10 provisioning config files... 10:52:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config5375105054482283082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:52:10 ---> docker-login.sh 10:52:10 nexus3.edgexfoundry.org:10001 10:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:10 Configure a credential helper to remove this warning. See 10:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:10 10:52:10 Login Succeeded 10:52:10 nexus3.edgexfoundry.org:10002 10:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:10 Configure a credential helper to remove this warning. See 10:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:10 10:52:10 Login Succeeded 10:52:10 nexus3.edgexfoundry.org:10003 10:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:11 Configure a credential helper to remove this warning. See 10:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:11 10:52:11 Login Succeeded 10:52:11 nexus3.edgexfoundry.org:10004 10:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:11 Configure a credential helper to remove this warning. See 10:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:11 10:52:11 Login Succeeded 10:52:11 docker.io 10:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:11 Configure a credential helper to remove this warning. See 10:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:11 10:52:11 Login Succeeded 10:52:11 ---> docker-login.sh ends [Pipeline] } 10:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:52:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:52:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:52:11 ========================================================= 10:52:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:52:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:52:12 Sending build context to Docker daemon 5.785MB 10:52:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:52:12 Step 2/12 : FROM ${BASE} AS builder 10:52:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:52:12 63b65145d645: Pulling fs layer 10:52:12 a2d21d5440eb: Pulling fs layer 10:52:12 935e6c44a52c: Pulling fs layer 10:52:12 94cc34f8dd06: Pulling fs layer 10:52:12 30dea6a524f1: Pulling fs layer 10:52:12 a2aff8979fd8: Pulling fs layer 10:52:12 6808be2612f2: Pulling fs layer 10:52:12 f25807f1079a: Pulling fs layer 10:52:12 a2aff8979fd8: Waiting 10:52:12 94cc34f8dd06: Waiting 10:52:12 30dea6a524f1: Waiting 10:52:12 6808be2612f2: Waiting 10:52:12 f25807f1079a: Waiting 10:52:12 a2d21d5440eb: Download complete 10:52:12 94cc34f8dd06: Download complete 10:52:12 30dea6a524f1: Verifying Checksum 10:52:12 30dea6a524f1: Download complete 10:52:12 63b65145d645: Verifying Checksum 10:52:12 a2aff8979fd8: Verifying Checksum 10:52:12 a2aff8979fd8: Download complete 10:52:12 63b65145d645: Pull complete 10:52:12 a2d21d5440eb: Pull complete 10:52:12 f25807f1079a: Verifying Checksum 10:52:12 f25807f1079a: Download complete 10:52:12 935e6c44a52c: Verifying Checksum 10:52:12 935e6c44a52c: Download complete 10:52:13 6808be2612f2: Verifying Checksum 10:52:13 6808be2612f2: Download complete 10:52:16 935e6c44a52c: Pull complete 10:52:16 94cc34f8dd06: Pull complete 10:52:16 30dea6a524f1: Pull complete 10:52:16 a2aff8979fd8: Pull complete 10:52:18 6808be2612f2: Pull complete 10:52:18 f25807f1079a: Pull complete 10:52:18 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 10:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:52:18 ---> 3b553350e43f 10:52:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:52:25 Still waiting to schedule task 10:52:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:52:25 ---> Running in 457b4c3e5ada 10:52:25 Removing intermediate container 457b4c3e5ada 10:52:25 ---> b4c5e4f790a3 10:52:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:52:25 ---> Running in 335b84756570 10:52:25 Removing intermediate container 335b84756570 10:52:25 ---> 8529fc49d5c1 10:52:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:52:25 ---> Running in fd304b9145f4 10:52:25 Removing intermediate container fd304b9145f4 10:52:25 ---> e15ca6150a77 10:52:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:52:25 ---> Running in 2e76e8f359d5 10:52:25 Removing intermediate container 2e76e8f359d5 10:52:25 ---> a8c574ca6ead 10:52:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:52:25 ---> Running in 1fc06c21ec69 10:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:52:25 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:52:25 (2/4) Installing libedit (20221030.3.1-r0) 10:52:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:52:25 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:52:25 Executing busybox-1.35.0-r29.trigger 10:52:25 OK: 269 MiB in 57 packages 10:52:26 Removing intermediate container 1fc06c21ec69 10:52:26 ---> e07ea87d839d 10:52:26 Step 8/12 : WORKDIR /device-snmp-go 10:52:26 ---> Running in 789c3f724727 10:52:26 Removing intermediate container 789c3f724727 10:52:26 ---> 862b36b125cf 10:52:26 Step 9/12 : COPY go.mod vendor* ./ 10:52:26 ---> 6359af06e6fc 10:52:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:52:26 ---> Running in 1b0826c53447 10:53:12 Removing intermediate container 1b0826c53447 10:53:12 ---> f7c582abd338 10:53:12 Step 11/12 : COPY . . 10:53:12 ---> c3dde7fccf69 10:53:12 Step 12/12 : RUN ${MAKE} 10:53:12 ---> Running in 7c404138cd06 10:53:12 noop 10:53:12 Removing intermediate container 7c404138cd06 10:53:12 ---> 239835e5977d 10:53:12 Successfully built 239835e5977d 10:53:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:13 + docker inspect -f . ci-base-image-x86_64 10:53:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:13 prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container 10:53:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:53:13 $ docker top 36b202221ed8c72bab1e4da11a0c50ed59633bcc5d0f1ebdc4970e552a72d464 -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:14 + go version 10:53:14 go version go1.20.2 linux/amd64 [Pipeline] } 10:53:14 $ docker stop --time=1 36b202221ed8c72bab1e4da11a0c50ed59633bcc5d0f1ebdc4970e552a72d464 10:53:15 $ docker rm -f --volumes 36b202221ed8c72bab1e4da11a0c50ed59633bcc5d0f1ebdc4970e552a72d464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:16 + docker inspect -f . ci-base-image-x86_64 10:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:16 prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container 10:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:53:16 $ docker top db57a52dc6b82399a90580884f595332eac44abeedc7359861876d4f6dea436a -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-288 [Pipeline] fileExists [Pipeline] sh 10:53:17 + make test 10:53:17 go test ./... -coverprofile=coverage.out 10:53:21 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:53:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:53:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 10:53:35 go vet ./... 10:53:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:53:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:53:39 ./bin/test-attribution-txt.sh [Pipeline] echo 10:53:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:53:39 $ docker stop --time=1 db57a52dc6b82399a90580884f595332eac44abeedc7359861876d4f6dea436a 10:53:42 $ docker rm -f --volumes db57a52dc6b82399a90580884f595332eac44abeedc7359861876d4f6dea436a [Pipeline] // withDockerContainer [Pipeline] sh 10:53:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:53:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:53:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:53:44 + ls -al . 10:53:44 total 172 10:53:44 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 10:53 . 10:53:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:51 .. 10:53:44 -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 10:51 .dockerignore 10:53:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 10:52 .git 10:53:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:51 .github 10:53:44 -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 10:51 .gitignore 10:53:44 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 10:51 .golangci.yml 10:53:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 10:52 .semver 10:53:44 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 18 10:51 Attribution.txt 10:53:44 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 18 10:51 CHANGELOG.md 10:53:44 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 18 10:51 Dockerfile 10:53:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 10:51 GOVERNANCE.md 10:53:44 -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 10:51 Jenkinsfile 10:53:44 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 10:51 LICENSE 10:53:44 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 18 10:51 Makefile 10:53:44 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 10:51 OWNERS.md 10:53:44 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 18 10:51 README.md 10:53:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 10:52 VERSION 10:53:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 10:51 bin 10:53:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:51 cmd 10:53:44 -rw-r--r-- 1 jenkins jenkins 8837 Apr 18 10:53 coverage.out 10:53:44 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 18 10:51 go.mod 10:53:44 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 18 10:51 go.sum 10:53:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:51 internal 10:53:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:51 snap 10:53:44 -rw-rw-r-- 1 jenkins jenkins 228 Apr 18 10:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:44 + 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=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 --label arch=amd64 --label version=0.0.0 . 10:53:44 Sending build context to Docker daemon 5.795MB 10:53:44 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:53:44 Step 2/24 : FROM ${BASE} AS builder 10:53:44 ---> 239835e5977d 10:53:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:53:44 ---> Running in a7ca092e38c7 10:53:44 Removing intermediate container a7ca092e38c7 10:53:44 ---> b0b2f8b56240 10:53:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:53:44 ---> Running in fa1b6e4b2bf3 10:53:44 Removing intermediate container fa1b6e4b2bf3 10:53:44 ---> ffee2ed80729 10:53:44 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:53:44 ---> Running in 1d2d46bf6134 10:53:44 Removing intermediate container 1d2d46bf6134 10:53:44 ---> b2d7a608bbff 10:53:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:53:44 ---> Running in c3141905d28b 10:53:44 Removing intermediate container c3141905d28b 10:53:44 ---> 725768f9951e 10:53:44 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:53:44 ---> Running in bfb7b171d48e 10:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:53:45 OK: 269 MiB in 57 packages 10:53:46 Removing intermediate container bfb7b171d48e 10:53:46 ---> ccc36cc4668a 10:53:46 Step 8/24 : WORKDIR /device-snmp-go 10:53:46 ---> Running in d497e6a0ac4f 10:53:46 Removing intermediate container d497e6a0ac4f 10:53:46 ---> 42ecc4d77148 10:53:46 Step 9/24 : COPY go.mod vendor* ./ 10:53:46 ---> 49458f5de796 10:53:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:53:46 ---> Running in 5c917fa5a646 10:53:47 Removing intermediate container 5c917fa5a646 10:53:47 ---> fa8b395e0dce 10:53:47 Step 11/24 : COPY . . 10:53:47 ---> 61807058dd2c 10:53:47 Step 12/24 : RUN ${MAKE} 10:53:47 ---> Running in 64f6bfec1f7a 10:53:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 10:53:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8903 in /w/workspace/gexfoundry_device-snmp-go_PR-288 [Pipeline] { [Pipeline] ws 10:53:56 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 10:53:57 Selected Git installation does not exist. Using Default 10:53:57 The recommended git tool is: NONE 10:54:02 using credential edgex-jenkins-ssh 10:54:02 Cloning the remote Git repository 10:54:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:54:02 > git init /w/workspace/device-snmp-go/1 # timeout=10 10:54:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:54:02 > git --version # timeout=10 10:54:02 > git --version # 'git version 2.25.1' 10:54:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:54:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:54:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:54:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:54:05 Merging remotes/origin/main commit 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 into PR head commit 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 10:54:05 Merge succeeded, producing 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 10:54:05 Checking out Revision 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 (PR-288) 10:54:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:54:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:54:04 using GIT_SSH to set credentials SSH Credentials for GitHub 10:54:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:54:05 > git config core.sparsecheckout # timeout=10 10:54:05 > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # timeout=10 10:54:05 > git remote # timeout=10 10:54:05 > git config --get remote.origin.url # timeout=10 10:54:05 using GIT_SSH to set credentials SSH Credentials for GitHub 10:54:05 > git merge 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 10:54:05 > git rev-parse HEAD^{commit} # timeout=10 10:54:05 > git config core.sparsecheckout # timeout=10 10:54:05 > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # timeout=10 10:54:09 Commit message: "build(deps): bump device-sdk-go version" 10:54:09 > git --version # timeout=10 10:54:09 > git --version # 'git version 2.25.1' 10:54:09 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:54:09 Removing intermediate container 64f6bfec1f7a 10:54:09 ---> 43b12bfaef8d 10:54:09 Step 13/24 : FROM alpine:3.17 10:54:09 3.17: Pulling from library/alpine 10:54:09 f56be85fc22e: Pulling fs layer 10:54:09 f56be85fc22e: Verifying Checksum 10:54:09 f56be85fc22e: Download complete 10:54:09 f56be85fc22e: Pull complete 10:54:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:54:09 Status: Downloaded newer image for alpine:3.17 10:54:09 ---> 9ed4aefc74f6 10:54:09 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:54:09 ---> Running in 1e5e6eebf866 10:54:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:54:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:54:09 (1/1) Installing dumb-init (1.2.5-r2) 10:54:09 Executing busybox-1.35.0-r29.trigger 10:54:09 OK: 7 MiB in 16 packages 10:54:09 Removing intermediate container 1e5e6eebf866 10:54:09 ---> 68c961f55853 10:54:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 10:54:09 ---> 1054cd77833e 10:54:09 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [Pipeline] sh 10:54:10 ---> fb3e5ea6a0c8 10:54:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:54:10 ---> c8e208eb2393 10:54:10 Step 18/24 : EXPOSE 59993 10:54:10 ---> Running in 7b434f2b402e 10:54:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:54:10 % Total % Received % Xferd Average Speed Time Time Time Current 10:54:10 Dload Upload Total Spent Left Speed 10:54:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 10:54:10 Removing intermediate container 7b434f2b402e 10:54:10 ---> 435494922fd2 10:54:10 Step 19/24 : EXPOSE 161 10:54:10 ---> Running in b0519303901f 10:54:10 Removing intermediate container b0519303901f 10:54:10 ---> 3b763e4a2952 10:54:10 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:54:10 ---> Running in 7f597c38acc2 10:54:10 Removing intermediate container 7f597c38acc2 10:54:10 ---> 76cff3450bce 10:54:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:54:10 ---> Running in c9e638886930 10:54:10 Removing intermediate container c9e638886930 10:54:10 ---> a630f8af4e49 10:54:10 Step 22/24 : LABEL arch=amd64 10:54:10 ---> Running in fcee9c92efab 10:54:10 Removing intermediate container fcee9c92efab 10:54:10 ---> 7fe117fc8984 10:54:10 Step 23/24 : LABEL git_sha=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 10:54:10 ---> Running in 2601ebb0c381 10:54:10 Removing intermediate container 2601ebb0c381 10:54:10 ---> b31d7179634a 10:54:10 Step 24/24 : LABEL version=0.0.0 10:54:10 ---> Running in 389d5b533ff8 [Pipeline] sh 10:54:10 Removing intermediate container 389d5b533ff8 10:54:10 ---> e48a0af572ae 10:54:10 [Warning] One or more build-args [ARCH] were not consumed 10:54:10 Successfully built e48a0af572ae 10:54:10 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 10:54:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 10:54:11 + sudo tee /etc/docker/daemon.new 10:54:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:54:11 { 10:54:11 "registry-mirrors": [ 10:54:11 "https://nexus3.edgexfoundry.org:10001" 10:54:11 ], 10:54:11 "bip": "10.250.0.254/24", 10:54:11 "hosts": [ 10:54:11 "tcp://0.0.0.0:5555", 10:54:11 "unix:///var/run/docker.sock" 10:54:11 ], 10:54:11 "mtu": 1458, 10:54:11 "selinux-enabled": true, 10:54:11 "seccomp-profile": "/etc/docker/seccomp.json" 10:54:11 } [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:54:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:12 10:54:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:12 + sudo service docker restart 10:54:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:12 latest: Pulling from edgex-lftools-log-publisher 10:54:12 5eb5b503b376: Pulling fs layer 10:54:12 5c69ac0246d0: Pulling fs layer 10:54:12 ec43610c2a17: Pulling fs layer 10:54:12 3a2ae6a8a46f: Pulling fs layer 10:54:12 33b1e0a273af: Pulling fs layer 10:54:12 5d3b04190fa2: Pulling fs layer 10:54:12 2f39f015ded8: Pulling fs layer 10:54:12 33b1e0a273af: Waiting 10:54:12 5d3b04190fa2: Waiting 10:54:12 2f39f015ded8: Waiting 10:54:12 3a2ae6a8a46f: Waiting 10:54:12 5c69ac0246d0: Download complete 10:54:12 3a2ae6a8a46f: Verifying Checksum 10:54:12 3a2ae6a8a46f: Download complete 10:54:12 33b1e0a273af: Verifying Checksum 10:54:12 33b1e0a273af: Download complete 10:54:12 ec43610c2a17: Verifying Checksum 10:54:12 ec43610c2a17: Download complete 10:54:12 5d3b04190fa2: Verifying Checksum 10:54:12 5d3b04190fa2: Download complete 10:54:12 5eb5b503b376: Verifying Checksum 10:54:12 5eb5b503b376: Download complete 10:54:13 2f39f015ded8: Download complete 10:54:13 5eb5b503b376: Pull complete 10:54:13 5c69ac0246d0: Pull complete 10:54:14 ec43610c2a17: Pull complete 10:54:14 3a2ae6a8a46f: Pull complete 10:54:14 33b1e0a273af: Pull complete 10:54:14 5d3b04190fa2: Pull complete 10:54:18 2f39f015ded8: Pull complete 10:54:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:54:19 prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container 10:54:19 $ 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-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:54:24 $ docker top 436b5924675fbd3acc7562c8246bb037032187e44639a1d32e0b27420f282b0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:54:24 ---> job-cost.sh 10:54:24 lf-activate-venv: SKIPPING 10:54:24 INFO: No Stack... 10:54:24 INFO: Retrieving Pricing Info for: v3-standard-8 10:54:25 INFO: Archiving Costs [Pipeline] sh 10:54:25 + cat /w/workspace/gexfoundry_device-snmp-go_PR-288/archives/cost.csv 10:54:25 + cut -d, -f6 [Pipeline] lock 10:54:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] 10:54:25 Resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] did not exist. Created. 10:54:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:54:26 + echo total: 0.2199999988079071 [Pipeline] stash 10:54:26 Stashed 1 file(s) [Pipeline] } 10:54:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:54:26 $ docker stop --time=1 436b5924675fbd3acc7562c8246bb037032187e44639a1d32e0b27420f282b0f 10:54:27 $ docker rm -f --volumes 436b5924675fbd3acc7562c8246bb037032187e44639a1d32e0b27420f282b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:54:30 provisioning config files... 10:54:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3573633780770258851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:54:31 ---> docker-login.sh 10:54:31 nexus3.edgexfoundry.org:10001 10:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:31 Configure a credential helper to remove this warning. See 10:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:31 10:54:31 Login Succeeded 10:54:31 nexus3.edgexfoundry.org:10002 10:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:31 Configure a credential helper to remove this warning. See 10:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:31 10:54:31 Login Succeeded 10:54:31 nexus3.edgexfoundry.org:10003 10:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:32 Configure a credential helper to remove this warning. See 10:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:32 10:54:32 Login Succeeded 10:54:32 nexus3.edgexfoundry.org:10004 10:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:32 Configure a credential helper to remove this warning. See 10:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:32 10:54:32 Login Succeeded 10:54:32 docker.io 10:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:33 Configure a credential helper to remove this warning. See 10:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:33 10:54:33 Login Succeeded 10:54:33 ---> docker-login.sh ends [Pipeline] } 10:54:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:54:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:54:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:54:33 ========================================================= 10:54:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:54:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:54:34 Sending build context to Docker daemon 3.002MB 10:54:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:54:34 Step 2/12 : FROM ${BASE} AS builder 10:54:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:54:34 af6eaf76a39c: Pulling fs layer 10:54:34 55522c791124: Pulling fs layer 10:54:34 ce5c4a1c91eb: Pulling fs layer 10:54:34 169dfbe0d373: Pulling fs layer 10:54:34 e1ff8fa3b103: Pulling fs layer 10:54:34 52ebb69f0ebf: Pulling fs layer 10:54:34 5abe8eddf0d5: Pulling fs layer 10:54:34 169dfbe0d373: Waiting 10:54:34 e1ff8fa3b103: Waiting 10:54:34 52ebb69f0ebf: Waiting 10:54:34 5abe8eddf0d5: Waiting 10:54:34 55522c791124: Verifying Checksum 10:54:34 55522c791124: Download complete 10:54:34 169dfbe0d373: Verifying Checksum 10:54:34 169dfbe0d373: Download complete 10:54:34 e1ff8fa3b103: Verifying Checksum 10:54:34 e1ff8fa3b103: Download complete 10:54:34 af6eaf76a39c: Verifying Checksum 10:54:34 af6eaf76a39c: Download complete 10:54:35 af6eaf76a39c: Pull complete 10:54:35 5abe8eddf0d5: Verifying Checksum 10:54:35 5abe8eddf0d5: Download complete 10:54:36 55522c791124: Pull complete 10:54:37 52ebb69f0ebf: Verifying Checksum 10:54:37 52ebb69f0ebf: Download complete 10:54:37 ce5c4a1c91eb: Verifying Checksum 10:54:37 ce5c4a1c91eb: Download complete 10:54:49 ce5c4a1c91eb: Pull complete 10:54:49 169dfbe0d373: Pull complete 10:54:49 e1ff8fa3b103: Pull complete 10:54:55 52ebb69f0ebf: Pull complete 10:54:56 5abe8eddf0d5: Pull complete 10:54:56 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 10:54:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:54:56 ---> 6cb57ee374ae 10:54:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:54:58 ---> Running in 2cb128755577 10:54:58 Removing intermediate container 2cb128755577 10:54:58 ---> 7748ac585b10 10:54:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:54:58 ---> Running in 69d4f7fc9fc5 10:54:59 Removing intermediate container 69d4f7fc9fc5 10:54:59 ---> c0c207a7791b 10:54:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:54:59 ---> Running in 7c659ca22093 10:54:59 Removing intermediate container 7c659ca22093 10:54:59 ---> f2fd9a611534 10:54:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:54:59 ---> Running in c2850e21a1ba 10:55:00 Removing intermediate container c2850e21a1ba 10:55:00 ---> d4ca1c71ef59 10:55:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:55:00 ---> Running in 1bb2f75911b8 10:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:55:03 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:55:03 (2/4) Installing libedit (20221030.3.1-r0) 10:55:03 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:55:03 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:55:03 Executing busybox-1.35.0-r29.trigger 10:55:03 OK: 268 MiB in 57 packages 10:55:06 Removing intermediate container 1bb2f75911b8 10:55:06 ---> 1d9450780514 10:55:06 Step 8/12 : WORKDIR /device-snmp-go 10:55:06 ---> Running in 53a38af70335 10:55:06 Removing intermediate container 53a38af70335 10:55:06 ---> 0804e79a16a3 10:55:06 Step 9/12 : COPY go.mod vendor* ./ 10:55:07 ---> eb9c329ac936 10:55:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:55:07 ---> Running in 0b53cd1c25f8 10:56:14 Removing intermediate container 0b53cd1c25f8 10:56:14 ---> 59b16336c2bc 10:56:14 Step 11/12 : COPY . . 10:56:14 ---> 88f7ca5c3542 10:56:14 Step 12/12 : RUN ${MAKE} 10:56:14 ---> Running in 78527bcf906d 10:56:14 noop 10:56:14 Removing intermediate container 78527bcf906d 10:56:14 ---> 08f30f9ecbd3 10:56:14 Successfully built 08f30f9ecbd3 10:56:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:15 + docker inspect -f . ci-base-image-arm64 10:56:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:56:15 prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container 10:56:15 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:56:16 $ docker top feefab90a48e61d2941f44fc49cc7bbe742c4589130f6afe039f8833c6040753 -eo pid,comm [Pipeline] { [Pipeline] sh 10:56:17 + go version 10:56:17 go version go1.20.2 linux/arm64 [Pipeline] } 10:56:17 $ docker stop --time=1 feefab90a48e61d2941f44fc49cc7bbe742c4589130f6afe039f8833c6040753 10:56:19 $ docker rm -f --volumes feefab90a48e61d2941f44fc49cc7bbe742c4589130f6afe039f8833c6040753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:20 + docker inspect -f . ci-base-image-arm64 10:56:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:56:20 prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container 10:56:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:56:21 $ docker top 9ca21f256089a14f882e6114dc9055be31688aa181414d00789b24775e98c8c8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:56:22 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 10:56:22 + make test 10:56:22 go test ./... -coverprofile=coverage.out 10:56:55 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:58:46 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:58:46 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 10:58:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:58:46 go vet ./... 10:59:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:59:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:59:19 ./bin/test-attribution-txt.sh [Pipeline] echo 10:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:59:19 $ docker stop --time=1 9ca21f256089a14f882e6114dc9055be31688aa181414d00789b24775e98c8c8 10:59:21 $ docker rm -f --volumes 9ca21f256089a14f882e6114dc9055be31688aa181414d00789b24775e98c8c8 [Pipeline] // withDockerContainer [Pipeline] sh 10:59:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:59:22 Warning: overwriting stash ‘coverage-report’ 10:59:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:59:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:59:24 + ls -al . 10:59:24 total 168 10:59:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 10:56 . 10:59:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:54 .. 10:59:24 -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 10:54 .dockerignore 10:59:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 10:54 .git 10:59:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:54 .github 10:59:24 -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 10:54 .gitignore 10:59:24 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 10:54 .golangci.yml 10:59:24 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 18 10:54 Attribution.txt 10:59:24 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 18 10:54 CHANGELOG.md 10:59:24 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 18 10:54 Dockerfile 10:59:24 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 10:54 GOVERNANCE.md 10:59:24 -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 10:54 Jenkinsfile 10:59:24 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 10:54 LICENSE 10:59:24 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 18 10:54 Makefile 10:59:24 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 10:54 OWNERS.md 10:59:24 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 18 10:54 README.md 10:59:24 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 10:52 VERSION 10:59:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 10:54 bin 10:59:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:54 cmd 10:59:24 -rw-r--r-- 1 jenkins jenkins 8837 Apr 18 10:58 coverage.out 10:59:24 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 18 10:54 go.mod 10:59:24 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 18 10:54 go.sum 10:59:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:54 internal 10:59:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:54 snap 10:59:24 -rw-rw-r-- 1 jenkins jenkins 228 Apr 18 10:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:24 + 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=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 --label arch=arm64 --label version=0.0.0 . 10:59:25 Sending build context to Docker daemon 3.012MB 10:59:25 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:59:25 Step 2/24 : FROM ${BASE} AS builder 10:59:25 ---> 08f30f9ecbd3 10:59:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:59:25 ---> Running in e9c652a28768 10:59:25 Removing intermediate container e9c652a28768 10:59:25 ---> 443499db6559 10:59:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:59:25 ---> Running in 6863b37a0089 10:59:26 Removing intermediate container 6863b37a0089 10:59:26 ---> da2dbc3940fa 10:59:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:59:26 ---> Running in 2aa352880766 10:59:26 Removing intermediate container 2aa352880766 10:59:26 ---> 4a8e799bc41b 10:59:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:59:26 ---> Running in ddfd873ad10d 10:59:26 Removing intermediate container ddfd873ad10d 10:59:26 ---> 4411df1ffdba 10:59:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:59:27 ---> Running in 533dee97971c 10:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:59:30 OK: 268 MiB in 57 packages 10:59:30 Removing intermediate container 533dee97971c 10:59:30 ---> 6cd3d68c28fd 10:59:30 Step 8/24 : WORKDIR /device-snmp-go 10:59:30 ---> Running in 85c89e394ef8 10:59:31 Removing intermediate container 85c89e394ef8 10:59:31 ---> 36e2020627b4 10:59:31 Step 9/24 : COPY go.mod vendor* ./ 10:59:31 ---> b37cb4f583ec 10:59:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:59:31 ---> Running in 9c51f2cde314 10:59:34 Removing intermediate container 9c51f2cde314 10:59:34 ---> 6feb411c195f 10:59:34 Step 11/24 : COPY . . 10:59:34 ---> 0b3198e6b25d 10:59:34 Step 12/24 : RUN ${MAKE} 10:59:35 ---> Running in fe92d194f950 10:59:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 11:01:42 Removing intermediate container fe92d194f950 11:01:42 ---> 469a7c038f1c 11:01:42 Step 13/24 : FROM alpine:3.17 11:01:42 3.17: Pulling from library/alpine 11:01:42 c41833b44d91: Pulling fs layer 11:01:43 c41833b44d91: Verifying Checksum 11:01:43 c41833b44d91: Pull complete 11:01:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:01:43 Status: Downloaded newer image for alpine:3.17 11:01:43 ---> 51e60588ff2c 11:01:43 Step 14/24 : RUN apk add --update --no-cache dumb-init 11:01:43 ---> Running in 588381e4a723 11:01:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:01:46 (1/1) Installing dumb-init (1.2.5-r2) 11:01:46 Executing busybox-1.35.0-r29.trigger 11:01:46 OK: 8 MiB in 16 packages 11:01:47 Removing intermediate container 588381e4a723 11:01:47 ---> 7b01408e0fda 11:01:47 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 11:01:48 ---> f9144435361d 11:01:48 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:01:49 ---> dacded1e271a 11:01:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 11:01:49 ---> 073efe0de79b 11:01:49 Step 18/24 : EXPOSE 59993 11:01:49 ---> Running in 2802f91f53b5 11:01:50 Removing intermediate container 2802f91f53b5 11:01:50 ---> 8c5cf65cc1cc 11:01:50 Step 19/24 : EXPOSE 161 11:01:50 ---> Running in 751663e68d3a 11:01:50 Removing intermediate container 751663e68d3a 11:01:50 ---> 6a1723148011 11:01:50 Step 20/24 : ENTRYPOINT ["/device-snmp"] 11:01:50 ---> Running in 50542e2df7c3 11:01:50 Removing intermediate container 50542e2df7c3 11:01:50 ---> 029ecf7354d1 11:01:50 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:01:50 ---> Running in ffb58d7ec3c5 11:01:50 Removing intermediate container ffb58d7ec3c5 11:01:50 ---> 3fcada6980be 11:01:50 Step 22/24 : LABEL arch=arm64 11:01:51 ---> Running in 8a4739a7a79c 11:01:51 Removing intermediate container 8a4739a7a79c 11:01:51 ---> 14e552aa5c0f 11:01:51 Step 23/24 : LABEL git_sha=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 11:01:51 ---> Running in 56ef4a379c2b 11:01:51 Removing intermediate container 56ef4a379c2b 11:01:51 ---> 31a8be8bf200 11:01:51 Step 24/24 : LABEL version=0.0.0 11:01:51 ---> Running in 5f6c9f9d4020 11:01:52 Removing intermediate container 5f6c9f9d4020 11:01:52 ---> 1f0be7212807 11:01:52 [Warning] One or more build-args [ARCH] were not consumed 11:01:52 Successfully built 1f0be7212807 11:01:52 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 11:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:53 11:01:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:53 arm64: Pulling from edgex-lftools-log-publisher 11:01:53 8998bd30e6a1: Pulling fs layer 11:01:53 04944245beec: Pulling fs layer 11:01:53 699f458cf7ca: Pulling fs layer 11:01:53 765212b225bb: Pulling fs layer 11:01:53 f23df028b6ca: Pulling fs layer 11:01:53 d65c8cfc05b1: Pulling fs layer 11:01:53 2437ff75d9bd: Pulling fs layer 11:01:53 f23df028b6ca: Waiting 11:01:53 d65c8cfc05b1: Waiting 11:01:53 2437ff75d9bd: Waiting 11:01:53 765212b225bb: Waiting 11:01:53 04944245beec: Verifying Checksum 11:01:53 04944245beec: Download complete 11:01:53 765212b225bb: Verifying Checksum 11:01:53 765212b225bb: Download complete 11:01:53 f23df028b6ca: Verifying Checksum 11:01:53 f23df028b6ca: Download complete 11:01:53 d65c8cfc05b1: Verifying Checksum 11:01:53 d65c8cfc05b1: Download complete 11:01:54 699f458cf7ca: Verifying Checksum 11:01:54 699f458cf7ca: Download complete 11:01:54 8998bd30e6a1: Verifying Checksum 11:01:54 8998bd30e6a1: Download complete 11:01:57 2437ff75d9bd: Verifying Checksum 11:01:57 2437ff75d9bd: Download complete 11:01:58 8998bd30e6a1: Pull complete 11:01:59 04944245beec: Pull complete 11:02:00 699f458cf7ca: Pull complete 11:02:00 765212b225bb: Pull complete 11:02:01 f23df028b6ca: Pull complete 11:02:01 d65c8cfc05b1: Pull complete 11:02:16 2437ff75d9bd: Pull complete 11:02:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:02:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:16 prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container 11:02:16 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:02:22 $ docker top 074c9f836484b94b7350f450c8408e05ebbbac5f02d5fcee3e5e3ae40f829db3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:22 ---> job-cost.sh 11:02:22 lf-activate-venv: SKIPPING 11:02:22 INFO: No Stack... 11:02:23 INFO: Retrieving Pricing Info for: v3-standard-4 11:02:24 INFO: Archiving Costs [Pipeline] sh 11:02:24 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 11:02:24 + cut -d, -f6 [Pipeline] lock 11:02:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] 11:02:24 Resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] did not exist. Created. 11:02:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:02:25 /w/workspace/device-snmp-go/1@tmp/durable-8e15cc22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:02:26 + echo total: 0.10999999940395355 [Pipeline] stash 11:02:26 Warning: overwriting stash ‘stack-cost’ 11:02:26 Stashed 1 file(s) [Pipeline] } 11:02:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:02:26 $ docker stop --time=1 074c9f836484b94b7350f450c8408e05ebbbac5f02d5fcee3e5e3ae40f829db3 11:02:27 $ docker rm -f --volumes 074c9f836484b94b7350f450c8408e05ebbbac5f02d5fcee3e5e3ae40f829db3 [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 11:02:28 provisioning config files... 11:02:29 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config9417461904053329143tmp [Pipeline] { [Pipeline] sh 11:02:29 + set +x 11:02:29 + curl -s https://codecov.io/bash 11:02:29 + bash -s -- 11:02:29 11:02:29 _____ _ 11:02:29 / ____| | | 11:02:29 | | ___ __| | ___ ___ _____ __ 11:02:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:02:29 | |___| (_) | (_| | __/ (_| (_) \ V / 11:02:29 \_____\___/ \__,_|\___|\___\___/ \_/ 11:02:29 Bash-1.0.6 11:02:29 11:02:29 11:02:29 ==> git version 2.25.1 found 11:02:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:02:29 Release-Date: 2020-01-08 11:02:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:02:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:02:29 ==> Jenkins CI detected. 11:02:29 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-288 11:02:29 project root: . 11:02:29 --> token set from env 11:02:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:02:29 ==> Running gcov in . (disable via -X gcov) 11:02:29 ==> Python coveragepy not found 11:02:29 ==> Searching for coverage reports in: 11:02:29 + . 11:02:29 -> Found 1 reports 11:02:29 ==> Detecting git/mercurial file structure 11:02:29 ==> Reading reports 11:02:29 + ./coverage.out bytes=8837 11:02:29 ==> Appending adjustments 11:02:29 https://docs.codecov.io/docs/fixing-reports 11:02:29 + Found adjustments 11:02:29 ==> Gzipping contents 11:02:29 4.0K /tmp/codecov.7LZiQW.gz 11:02:29 ==> Uploading reports 11:02:29 url: https://codecov.io 11:02:29 query: branch=PR-288&commit=07aaef5b0d79c8db2f5e9e0d0e25c32712347257&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-288%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=288&job=&cmd_args= 11:02:29 -> Pinging Codecov 11:02:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-288&commit=07aaef5b0d79c8db2f5e9e0d0e25c32712347257&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-288%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=288&job=&cmd_args= 11:02:29 -> Uploading to 11:02:29 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/6C56EA5C29638FB4528AC87E60AF5AE0/07aaef5b0d79c8db2f5e9e0d0e25c32712347257/fdae9102-f2ea-4d99-bd7e-293ede546a1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T110229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a8492a06daaffed9285be7600bb116717931c527c70a7c9ea5b8081b117c3f0 11:02:29 % Total % Received % Xferd Average Speed Time Time Time Current 11:02:29 Dload Upload Total Spent Left Speed 11:02:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 4676 --:--:-- --:--:-- --:--:-- 4676 11:02:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] } 11:02:30 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 11:02:31 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-288/archives ] 11:02:31 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-288/archives 11:02:31 total 16 11:02:31 drwxr-xr-x 3 root root 4096 Apr 18 10:54 . 11:02:31 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 10:54 .. 11:02:31 drwxr-xr-x 2 root root 4096 Apr 18 10:54 cost 11:02:31 -rw-r--r-- 1 root root 86 Apr 18 10:54 cost.csv 11:02:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-288/archives 11:02:31 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-288/archives 11:02:31 total 16 11:02:31 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 10:54 . 11:02:31 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 10:54 .. 11:02:31 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 10:54 cost 11:02:31 -rw-r--r-- 1 jenkins jenkins 86 Apr 18 10:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:02:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:02:33 ---> package-listing.sh 11:02:33 ++ facter osfamily 11:02:33 ++ tr '[:upper:]' '[:lower:]' 11:02:33 + OS_FAMILY=debian 11:02:33 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-288 11:02:33 + START_PACKAGES=/tmp/packages_start.txt 11:02:33 + END_PACKAGES=/tmp/packages_end.txt 11:02:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:02:33 + PACKAGES=/tmp/packages_start.txt 11:02:33 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-288 ']' 11:02:33 + PACKAGES=/tmp/packages_end.txt 11:02:33 + case "${OS_FAMILY}" in 11:02:33 + dpkg -l 11:02:33 + grep '^ii' 11:02:33 + '[' -f /tmp/packages_start.txt ']' 11:02:33 + '[' -f /tmp/packages_end.txt ']' 11:02:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:02:33 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-288 ']' 11:02:33 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-288/archives/ 11:02:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-288/archives/ [Pipeline] echo 11:02:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-288/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:02:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:34 prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container 11:02:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-288/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-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:02:34 $ docker top 25196dd4b822442b3f2a0b19e133304e6f59c99c777b9770a2a78b97ae18db28 -eo pid,comm [Pipeline] { [Pipeline] sh 11:02:35 + touch /tmp/pre-build-complete [Pipeline] sh 11:02:35 + mkdir -p /var/log/sysstat [Pipeline] sh 11:02:35 + ls /var/log/sa-host 11:02:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:35 provisioning config files... 11:02:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config12570834042425457544tmp [Pipeline] { [Pipeline] echo 11:02:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:02:36 ---> create-netrc.sh [Pipeline] } 11:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:02:36 ---> python-tools-install.sh [Pipeline] echo 11:02:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:02:37 ---> sudo-logs.sh 11:02:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:02:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:02:37 ---> job-cost.sh 11:02:37 lf-activate-venv: SKIPPING 11:02:37 DEBUG: total: 0.2199999988079071 11:02:37 INFO: Retrieving Stack Cost... 11:02:37 INFO: Retrieving Pricing Info for: v3-standard-8 11:02:38 INFO: Archiving Costs [Pipeline] echo 11:02:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:02:38 ---> logs-deploy.sh 11:02:38 lf-activate-venv: SKIPPING 11:02:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-288/1 11:02:38 INFO: archiving workspace using pattern(s): 11:02:39 Archives upload complete. 11:02:39 INFO: archiving logs to Nexus