Pull request #332 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from bb93e68095a893700c264138aff939773827ddef+7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 (d0e8eea25a4c6f5956161333ac5e0694b437c7b6) 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-ssh6133709646260040721.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh11743806596590813971.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-332/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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15462709072933609148.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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6107776187321765578.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh8118882277682443696.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-332/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-332/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3032083367823522536.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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.21 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17523 in /w/workspace/gexfoundry_device-snmp-go_PR-332 [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-332 # 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/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 into PR head commit bb93e68095a893700c264138aff939773827ddef Merge succeeded, producing bb93e68095a893700c264138aff939773827ddef Checking out Revision bb93e68095a893700c264138aff939773827ddef (PR-332) > git config core.sparsecheckout # timeout=10 > git checkout -f bb93e68095a893700c264138aff939773827ddef # 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 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb93e68095a893700c264138aff939773827ddef # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:01:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:01:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:01:16 ========================================================= 19:01:16 EdgeX Global Pipelines Version Info 19:01:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:01:17 ------------------- 19:01:17 stable info: 19:01:17 ------------------- 19:01:17 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 19:01:17 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 19:01:17 Message: update stable to v1.0.257 19:01:17 ------------------- 19:01:17 experimental info: 19:01:17 ------------------- 19:01:17 Commited By: **** collab-it+edgex@linuxfoundation.org 19:01:17 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 19:01:17 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:01:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb93e68095a893700c264138aff939773827ddef [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb93e68 [Pipeline] echo 19:01:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:19 provisioning config files... 19:01:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config13503216905003254904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:20 ---> docker-login.sh 19:01:20 nexus3.edgexfoundry.org:10001 19:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:20 Configure a credential helper to remove this warning. See 19:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:20 19:01:20 Login Succeeded 19:01:20 nexus3.edgexfoundry.org:10002 19:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:20 Configure a credential helper to remove this warning. See 19:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:20 19:01:20 Login Succeeded 19:01:20 nexus3.edgexfoundry.org:10003 19:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:20 Configure a credential helper to remove this warning. See 19:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:20 19:01:20 Login Succeeded 19:01:20 nexus3.edgexfoundry.org:10004 19:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:21 Configure a credential helper to remove this warning. See 19:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:21 19:01:21 Login Succeeded 19:01:21 docker.io 19:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:21 Configure a credential helper to remove this warning. See 19:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:21 19:01:21 Login Succeeded 19:01:21 ---> docker-login.sh ends [Pipeline] } 19:01:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:01:22 + git rev-list -1 --merges bb93e68095a893700c264138aff939773827ddef~1..bb93e68095a893700c264138aff939773827ddef [Pipeline] echo 19:01:22 -----------> git rev-list -1 --merges bb93e68095a893700c264138aff939773827ddef~1..bb93e68095a893700c264138aff939773827ddef bb93e68095a893700c264138aff939773827ddef [false] [Pipeline] sh 19:01:22 + git log --format=format:%s -1 bb93e68095a893700c264138aff939773827ddef [Pipeline] echo 19:01:22 ========================================================= 19:01:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:01:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:23 + git log --format=format:%s -1 bb93e68095a893700c264138aff939773827ddef [Pipeline] echo 19:01:23 [semverPrep] GIT_COMMIT: bb93e68095a893700c264138aff939773827ddef, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo 19:01:23 [semverPrep] This is not a build commit. [Pipeline] sh 19:01:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:01:23 + grep -v github /etc/ssh/ssh_known_hosts 19:01:23 + [ -e /tmp/ssh_known_hosts ] 19:01:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:01:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:01:23 + sudo tee -a /etc/ssh/ssh_known_hosts 19:01:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:23 19:01:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:24 0.1.4: Pulling from edgex-devops/py-git-semver 19:01:24 b85a868b505f: Pulling fs layer 19:01:24 e2be974225ed: Pulling fs layer 19:01:24 339a4e72a1f5: Pulling fs layer 19:01:24 988bab9f4d93: Pulling fs layer 19:01:24 1469e6f7b9e6: Pulling fs layer 19:01:24 eaf3925da568: Pulling fs layer 19:01:24 bab4dde63d76: Pulling fs layer 19:01:24 bde34c3a00c8: Pulling fs layer 19:01:24 b352a97aabf1: Pulling fs layer 19:01:24 988bab9f4d93: Waiting 19:01:24 bab4dde63d76: Waiting 19:01:24 1469e6f7b9e6: Waiting 19:01:24 eaf3925da568: Waiting 19:01:24 4872d77fe225: Pulling fs layer 19:01:24 5851b861e8e6: Pulling fs layer 19:01:24 b352a97aabf1: Waiting 19:01:24 4872d77fe225: Waiting 19:01:24 5851b861e8e6: Waiting 19:01:24 e2be974225ed: Verifying Checksum 19:01:24 e2be974225ed: Download complete 19:01:24 988bab9f4d93: Verifying Checksum 19:01:24 988bab9f4d93: Download complete 19:01:24 339a4e72a1f5: Verifying Checksum 19:01:24 339a4e72a1f5: Download complete 19:01:24 1469e6f7b9e6: Verifying Checksum 19:01:24 1469e6f7b9e6: Download complete 19:01:24 eaf3925da568: Verifying Checksum 19:01:24 eaf3925da568: Download complete 19:01:25 bde34c3a00c8: Verifying Checksum 19:01:25 bde34c3a00c8: Download complete 19:01:25 b352a97aabf1: Verifying Checksum 19:01:25 b352a97aabf1: Download complete 19:01:25 4872d77fe225: Download complete 19:01:25 5851b861e8e6: Download complete 19:01:25 b85a868b505f: Verifying Checksum 19:01:25 b85a868b505f: Download complete 19:01:25 bab4dde63d76: Verifying Checksum 19:01:25 bab4dde63d76: Download complete 19:01:26 b85a868b505f: Pull complete 19:01:26 e2be974225ed: Pull complete 19:01:27 339a4e72a1f5: Pull complete 19:01:28 988bab9f4d93: Pull complete 19:01:28 1469e6f7b9e6: Pull complete 19:01:28 eaf3925da568: Pull complete 19:01:31 bab4dde63d76: Pull complete 19:01:31 bde34c3a00c8: Pull complete 19:01:31 b352a97aabf1: Pull complete 19:01:31 4872d77fe225: Pull complete 19:01:31 5851b861e8e6: Pull complete 19:01:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:01:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:32 prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container 19:01:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:01:42 $ docker top 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e -eo pid,comm 19:01:42 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). 19:01:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:01:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:42 [ssh-agent] Looking for ssh-agent implementation... 19:01:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:42 $ docker exec 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent 19:01:42 SSH_AUTH_SOCK=/tmp/ssh-sNieIoEamoLY/agent.21 19:01:42 SSH_AGENT_PID=27 19:01:42 Running ssh-add (command line suppressed) 19:01:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_16049271849499511002.key (/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_16049271849499511002.key) 19:01:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:42 + git tag --points-at HEAD [Pipeline] } 19:01:42 $ docker exec --env ******** --env ******** 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent -k 19:01:43 unset SSH_AUTH_SOCK; 19:01:43 unset SSH_AGENT_PID; 19:01:43 echo Agent pid 27 killed; 19:01:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:43 [ssh-agent] Looking for ssh-agent implementation... 19:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:43 $ docker exec 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent 19:01:43 SSH_AUTH_SOCK=/tmp/ssh-pKS1JqpfmoRi/agent.70 19:01:43 SSH_AGENT_PID=76 19:01:43 Running ssh-add (command line suppressed) 19:01:43 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_5790474808739357135.key (/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_5790474808739357135.key) 19:01:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:43 + git semver init 19:01:44 2023-11-14 19:01:44,301 [run_init] DEBUG init version:0.0.0 force:False 19:01:44 2023-11-14 19:01:44,303 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver 19:01:44 2023-11-14 19:01:44,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-332/.semver 19:01:44 2023-11-14 19:01:44,304 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-332, universal_newlines=False, shell=None, istream=None) 19:01:45 2023-11-14 19:01:45,196 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-332/.git/info/exclude 19:01:45 2023-11-14 19:01:45,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver/PR-332 with force:False 19:01:45 2023-11-14 19:01:45,197 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver/PR-332 19:01:45 2023-11-14 19:01:45,201 [execute] INFO git cat-file --batch-check 19:01:45 2023-11-14 19:01:45,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) 19:01:45 2023-11-14 19:01:45,208 [execute] INFO git cat-file --batch 19:01:45 2023-11-14 19:01:45,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) 19:01:45 2023-11-14 19:01:45,211 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-332/.semver/PR-332 19:01:45 0.0.0 [Pipeline] } 19:01:45 $ docker exec --env ******** --env ******** 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent -k 19:01:45 unset SSH_AUTH_SOCK; 19:01:45 unset SSH_AGENT_PID; 19:01:45 echo Agent pid 76 killed; 19:01:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:45 + git semver [Pipeline] } 19:01:46 $ docker stop --time=1 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e 19:01:47 $ docker rm -f --volumes 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e [Pipeline] // withDockerContainer [Pipeline] sh 19:01:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:01:48 Stashed 1 file(s) [Pipeline] echo 19:01:48 [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 19:01:49 provisioning config files... 19:01:49 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config14548339094942172983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:49 ---> docker-login.sh 19:01:49 nexus3.edgexfoundry.org:10001 19:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:49 Configure a credential helper to remove this warning. See 19:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:49 19:01:49 Login Succeeded 19:01:49 nexus3.edgexfoundry.org:10002 19:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:49 Configure a credential helper to remove this warning. See 19:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:49 19:01:49 Login Succeeded 19:01:49 nexus3.edgexfoundry.org:10003 19:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:49 Configure a credential helper to remove this warning. See 19:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:49 19:01:49 Login Succeeded 19:01:49 nexus3.edgexfoundry.org:10004 19:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:49 Configure a credential helper to remove this warning. See 19:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:49 19:01:49 Login Succeeded 19:01:49 docker.io 19:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:50 Configure a credential helper to remove this warning. See 19:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:50 19:01:50 Login Succeeded 19:01:50 ---> docker-login.sh ends [Pipeline] } 19:01:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:01:50 ========================================================= 19:01:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:01:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:01:50 Sending build context to Docker daemon 5.769MB 19:01:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:01:50 Step 2/12 : FROM ${BASE} AS builder 19:01:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:01:52 7264a8db6415: Pulling fs layer 19:01:52 c4d48a809fc2: Pulling fs layer 19:01:52 4f1c88b9dad5: Pulling fs layer 19:01:52 ad3a456e5733: Pulling fs layer 19:01:52 69c7f0334f64: Pulling fs layer 19:01:52 1f1c1a5573a3: Pulling fs layer 19:01:52 ce7588e14bc9: Pulling fs layer 19:01:52 b5e4710f87ac: Pulling fs layer 19:01:52 ad3a456e5733: Waiting 19:01:52 69c7f0334f64: Waiting 19:01:52 b5e4710f87ac: Waiting 19:01:52 1f1c1a5573a3: Waiting 19:01:52 ce7588e14bc9: Waiting 19:01:52 c4d48a809fc2: Verifying Checksum 19:01:52 c4d48a809fc2: Download complete 19:01:52 ad3a456e5733: Verifying Checksum 19:01:52 ad3a456e5733: Download complete 19:01:52 69c7f0334f64: Verifying Checksum 19:01:52 69c7f0334f64: Download complete 19:01:52 7264a8db6415: Download complete 19:01:52 1f1c1a5573a3: Verifying Checksum 19:01:52 1f1c1a5573a3: Download complete 19:01:52 b5e4710f87ac: Verifying Checksum 19:01:52 b5e4710f87ac: Download complete 19:01:52 4f1c88b9dad5: Verifying Checksum 19:01:52 4f1c88b9dad5: Download complete 19:01:53 ce7588e14bc9: Verifying Checksum 19:01:53 ce7588e14bc9: Download complete 19:01:54 7264a8db6415: Pull complete 19:01:55 c4d48a809fc2: Pull complete 19:01:59 4f1c88b9dad5: Pull complete 19:02:00 ad3a456e5733: Pull complete 19:02:00 69c7f0334f64: Pull complete 19:02:01 1f1c1a5573a3: Pull complete 19:02:04 Still waiting to schedule task 19:02:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:02:06 ce7588e14bc9: Pull complete 19:02:08 b5e4710f87ac: Pull complete 19:02:09 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 19:02:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:02:09 ---> 88b5674ff536 19:02:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:02:36 ---> Running in fc3d421025ff 19:02:36 Removing intermediate container fc3d421025ff 19:02:36 ---> d8f62d1723b9 19:02:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:02:36 ---> Running in 8d9a76daef1e 19:02:36 Removing intermediate container 8d9a76daef1e 19:02:36 ---> f1cb39cfcea5 19:02:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:02:36 ---> Running in e5ce1b495e45 19:02:36 Removing intermediate container e5ce1b495e45 19:02:36 ---> dc22334ffeef 19:02:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:02:36 ---> Running in 0c9cea88f81b 19:02:36 Removing intermediate container 0c9cea88f81b 19:02:36 ---> 368b9466c7aa 19:02:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:36 ---> Running in 1efdd2c5b4af 19:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:02:36 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:02:36 (2/4) Installing libedit (20221030.3.1-r1) 19:02:36 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:02:36 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:02:36 Executing busybox-1.36.1-r5.trigger 19:02:36 OK: 268 MiB in 56 packages 19:02:36 Removing intermediate container 1efdd2c5b4af 19:02:36 ---> adbecc54967e 19:02:36 Step 8/12 : WORKDIR /device-snmp-go 19:02:36 ---> Running in 63ed28d9e0dd 19:02:36 Removing intermediate container 63ed28d9e0dd 19:02:36 ---> 3174850aee30 19:02:36 Step 9/12 : COPY go.mod vendor* ./ 19:02:36 ---> 58a54e1dbe5f 19:02:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:36 ---> Running in c9199554b6bf 19:03:43 Removing intermediate container c9199554b6bf 19:03:43 ---> 0af70182994d 19:03:43 Step 11/12 : COPY . . 19:03:43 ---> a12f7366cda6 19:03:43 Step 12/12 : RUN ${MAKE} 19:03:43 ---> Running in 655269ccfdb6 19:03:43 noop 19:03:43 Removing intermediate container 655269ccfdb6 19:03:43 ---> 2d0423b17e16 19:03:43 Successfully built 2d0423b17e16 19:03:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:44 + docker inspect -f . ci-base-image-x86_64 19:03:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:44 prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container 19:03:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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-x86_64 cat 19:03:45 $ docker top 680b40c65760812fb7c74f4ad3a996411b0a32d63af17aebe0ce14748c497155 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:45 + go version 19:03:45 go version go1.21.0 linux/amd64 [Pipeline] } 19:03:45 $ docker stop --time=1 680b40c65760812fb7c74f4ad3a996411b0a32d63af17aebe0ce14748c497155 19:03:47 $ docker rm -f --volumes 680b40c65760812fb7c74f4ad3a996411b0a32d63af17aebe0ce14748c497155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:47 + docker inspect -f . ci-base-image-x86_64 19:03:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:48 prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container 19:03:48 $ 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-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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-x86_64 cat 19:03:48 $ docker top 70879d7c5b1ad5f31e6915ac17408a5d3e53532e7842b37561c635e12b63c36c -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:48 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-332 [Pipeline] fileExists [Pipeline] sh 19:03:49 + make test 19:03:49 go test ./... -coverprofile=coverage.out 19:03:51 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:04:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:04:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 19:04:07 go vet ./... 19:04:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:10 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:04:10 $ docker stop --time=1 70879d7c5b1ad5f31e6915ac17408a5d3e53532e7842b37561c635e12b63c36c 19:04:17 $ docker rm -f --volumes 70879d7c5b1ad5f31e6915ac17408a5d3e53532e7842b37561c635e12b63c36c [Pipeline] // withDockerContainer [Pipeline] sh 19:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:04:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:18 + ls -al . 19:04:18 total 172 19:04:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:03 . 19:04:18 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 19:01 .. 19:04:18 -rw-rw-r-- 1 jenkins jenkins 6 Nov 14 19:01 .dockerignore 19:04:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:04 .git 19:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:01 .github 19:04:18 -rw-rw-r-- 1 jenkins jenkins 263 Nov 14 19:01 .gitignore 19:04:18 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 19:01 .golangci.yml 19:04:18 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 19:01 .semver 19:04:18 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 14 19:01 Attribution.txt 19:04:18 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 14 19:01 CHANGELOG.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 1571 Nov 14 19:01 Dockerfile 19:04:18 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 19:01 GOVERNANCE.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 656 Nov 14 19:01 Jenkinsfile 19:04:18 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 19:01 LICENSE 19:04:18 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 14 19:01 Makefile 19:04:18 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 19:01 OWNERS.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 14 19:01 README.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 19:01 VERSION 19:04:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 19:01 bin 19:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:01 cmd 19:04:18 -rw-r--r-- 1 jenkins jenkins 8837 Nov 14 19:04 coverage.out 19:04:18 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 14 19:01 go.mod 19:04:18 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 14 19:01 go.sum 19:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:01 internal 19:04:18 -rw-rw-r-- 1 jenkins jenkins 228 Nov 14 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:19 + 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=bb93e68095a893700c264138aff939773827ddef --label arch=amd64 --label version=0.0.0 . 19:04:19 Sending build context to Docker daemon 5.778MB 19:04:19 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 19:04:19 Step 2/25 : FROM ${BASE} AS builder 19:04:19 ---> 2d0423b17e16 19:04:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:04:19 ---> Running in b24870d1012f 19:04:19 Removing intermediate container b24870d1012f 19:04:19 ---> ff937cad9259 19:04:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:19 ---> Running in 85abbeb18c4e 19:04:19 Removing intermediate container 85abbeb18c4e 19:04:19 ---> 20e9d6e48f18 19:04:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:04:19 ---> Running in e2f08e488b3f 19:04:19 Removing intermediate container e2f08e488b3f 19:04:19 ---> a5785929ec52 19:04:19 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:04:19 ---> Running in c087f00bde26 19:04:20 Removing intermediate container c087f00bde26 19:04:20 ---> f97d74336fa0 19:04:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:20 ---> Running in 9ca02a86ea4a 19:04:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:04:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:04:20 OK: 268 MiB in 56 packages 19:04:20 Removing intermediate container 9ca02a86ea4a 19:04:20 ---> 7e63d740fbfe 19:04:20 Step 8/25 : WORKDIR /device-snmp-go 19:04:20 ---> Running in 2245b9ff69cc 19:04:20 Removing intermediate container 2245b9ff69cc 19:04:20 ---> 4dbea2ebfbf7 19:04:20 Step 9/25 : COPY go.mod vendor* ./ 19:04:21 ---> bc37cd7544e1 19:04:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:21 ---> Running in b22c5ed1dee6 19:04:21 Removing intermediate container b22c5ed1dee6 19:04:21 ---> 9617cb687bbc 19:04:21 Step 11/25 : COPY . . 19:04:22 ---> df371383fc00 19:04:22 Step 12/25 : RUN ${MAKE} 19:04:22 ---> Running in c37155684a38 19:04:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 19:04:54 Removing intermediate container c37155684a38 19:04:54 ---> 4f386023efdf 19:04:54 Step 13/25 : FROM alpine:3.18 19:04:55 3.18: Pulling from library/alpine 19:04:55 96526aa774ef: Pulling fs layer 19:04:56 96526aa774ef: Verifying Checksum 19:04:56 96526aa774ef: Download complete 19:04:56 96526aa774ef: Pull complete 19:04:56 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:04:56 Status: Downloaded newer image for alpine:3.18 19:04:56 ---> 8ca4688f4f35 19:04:56 Step 14/25 : RUN apk add --update --no-cache dumb-init 19:04:56 ---> Running in 933b198486b2 19:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:04:57 (1/1) Installing dumb-init (1.2.5-r2) 19:04:57 Executing busybox-1.36.1-r2.trigger 19:04:57 OK: 7 MiB in 16 packages 19:04:57 Removing intermediate container 933b198486b2 19:04:57 ---> 0a194b163447 19:04:57 Step 15/25 : RUN apk --no-cache upgrade 19:04:57 ---> Running in dc8928d48022 19:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:04:58 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 19:04:58 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 19:04:58 Executing busybox-1.36.1-r5.post-upgrade 19:04:58 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 19:04:58 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 19:04:58 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 19:04:58 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 19:04:58 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 19:04:58 Executing busybox-1.36.1-r5.trigger 19:04:58 OK: 7 MiB in 16 packages 19:04:59 Removing intermediate container dc8928d48022 19:04:59 ---> 4ad36c858261 19:04:59 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 19:05:00 ---> cab8ca455447 19:05:00 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 19:05:01 ---> f509ee43edcd 19:05:01 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 19:05:01 ---> 1150df6c3148 19:05:01 Step 19/25 : EXPOSE 59993 19:05:01 ---> Running in f10982b9c2c9 19:05:01 Removing intermediate container f10982b9c2c9 19:05:01 ---> 9260f28ad996 19:05:01 Step 20/25 : EXPOSE 161 19:05:01 ---> Running in 7c7630c7c339 19:05:01 Removing intermediate container 7c7630c7c339 19:05:01 ---> b552d52e3ed3 19:05:01 Step 21/25 : ENTRYPOINT ["/device-snmp"] 19:05:01 ---> Running in 2c045bd7160c 19:05:01 Removing intermediate container 2c045bd7160c 19:05:01 ---> be7c3f9a8773 19:05:01 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:05:01 ---> Running in 0c354a8ccedd 19:05:01 Removing intermediate container 0c354a8ccedd 19:05:01 ---> 8bad55b9ac58 19:05:01 Step 23/25 : LABEL arch=amd64 19:05:02 ---> Running in 5ee748681867 19:05:02 Removing intermediate container 5ee748681867 19:05:02 ---> fef9aa516e4d 19:05:02 Step 24/25 : LABEL git_sha=bb93e68095a893700c264138aff939773827ddef 19:05:02 ---> Running in d11ae831059c 19:05:02 Removing intermediate container d11ae831059c 19:05:02 ---> 9f71594e73ec 19:05:02 Step 25/25 : LABEL version=0.0.0 19:05:02 ---> Running in 1599d0101c50 19:05:02 Removing intermediate container 1599d0101c50 19:05:02 ---> 928284a9fa47 19:05:02 [Warning] One or more build-args [ARCH] were not consumed 19:05:02 Successfully built 928284a9fa47 19:05:02 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:03 19:05:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:03 latest: Pulling from edgex-lftools-log-publisher 19:05:03 5eb5b503b376: Pulling fs layer 19:05:03 5c69ac0246d0: Pulling fs layer 19:05:03 ec43610c2a17: Pulling fs layer 19:05:03 3a2ae6a8a46f: Pulling fs layer 19:05:03 33b1e0a273af: Pulling fs layer 19:05:03 5d3b04190fa2: Pulling fs layer 19:05:03 2f39f015ded8: Pulling fs layer 19:05:03 3a2ae6a8a46f: Waiting 19:05:03 33b1e0a273af: Waiting 19:05:03 5d3b04190fa2: Waiting 19:05:03 2f39f015ded8: Waiting 19:05:03 5c69ac0246d0: Download complete 19:05:03 3a2ae6a8a46f: Verifying Checksum 19:05:03 3a2ae6a8a46f: Download complete 19:05:03 ec43610c2a17: Verifying Checksum 19:05:03 ec43610c2a17: Download complete 19:05:03 33b1e0a273af: Verifying Checksum 19:05:03 33b1e0a273af: Download complete 19:05:03 5d3b04190fa2: Verifying Checksum 19:05:03 5d3b04190fa2: Download complete 19:05:03 5eb5b503b376: Download complete 19:05:04 2f39f015ded8: Download complete 19:05:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17525 in /w/workspace/gexfoundry_device-snmp-go_PR-332 [Pipeline] { [Pipeline] ws 19:05:04 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 19:05:05 Selected Git installation does not exist. Using Default 19:05:05 The recommended git tool is: NONE 19:05:05 5eb5b503b376: Pull complete 19:05:05 5c69ac0246d0: Pull complete 19:05:06 ec43610c2a17: Pull complete 19:05:06 3a2ae6a8a46f: Pull complete 19:05:07 33b1e0a273af: Pull complete 19:05:07 5d3b04190fa2: Pull complete 19:05:11 using credential edgex-jenkins-ssh 19:05:11 Cloning the remote Git repository 19:05:11 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 19:05:11 > git init /w/workspace/device-snmp-go/1 # timeout=10 19:05:11 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:05:11 > git --version # timeout=10 19:05:11 > git --version # 'git version 2.25.1' 19:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:05:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:05:13 2f39f015ded8: Pull complete 19:05:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:13 prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container 19:05:13 $ 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-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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:latest cat 19:05:13 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:05:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:05:14 Merging remotes/origin/main commit 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 into PR head commit bb93e68095a893700c264138aff939773827ddef 19:05:14 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:05:14 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:05:14 using GIT_SSH to set credentials SSH Credentials for GitHub 19:05:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:05:14 > git config core.sparsecheckout # timeout=10 19:05:15 > git checkout -f bb93e68095a893700c264138aff939773827ddef # timeout=10 19:05:15 > git remote # timeout=10 19:05:15 > git config --get remote.origin.url # timeout=10 19:05:15 using GIT_SSH to set credentials SSH Credentials for GitHub 19:05:15 Merge succeeded, producing bb93e68095a893700c264138aff939773827ddef 19:05:15 Checking out Revision bb93e68095a893700c264138aff939773827ddef (PR-332) 19:05:15 > git merge 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 19:05:15 > git rev-parse HEAD^{commit} # timeout=10 19:05:15 > git config core.sparsecheckout # timeout=10 19:05:15 > git checkout -f bb93e68095a893700c264138aff939773827ddef # timeout=10 19:05:19 Commit message: "fix: Address CVE in Alpine base image" 19:05:19 > git --version # timeout=10 19:05:19 > git --version # 'git version 2.25.1' 19:05:19 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 19:05:19 19:05:19 GitHub has been notified of this commit’s build result 19:05:19 19:05:24 $ docker top 505eb0cca1b9ac64e52fce72d1ac7ce0dcbd6ff24bc30c034b208a9320adc1d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:05:24 ---> job-cost.sh 19:05:24 lf-activate-venv: SKIPPING 19:05:24 INFO: No Stack... 19:05:25 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:05:25 % Total % Received % Xferd Average Speed Time Time Time Current 19:05:25 Dload Upload Total Spent Left Speed 19:05:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 47498 0 --:--:-- --:--:-- --:--:-- 47676 19:05:25 INFO: Archiving Costs [Pipeline] sh 19:05:25 + cat /w/workspace/gexfoundry_device-snmp-go_PR-332/archives/cost.csv 19:05:25 + cut -d, -f6 [Pipeline] lock 19:05:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] 19:05:26 Resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] did not exist. Created. 19:05:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 19:05:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:05:26 + echo total: 0.2199999988079071 [Pipeline] stash 19:05:26 Stashed 1 file(s) [Pipeline] } 19:05:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:26 $ docker stop --time=1 505eb0cca1b9ac64e52fce72d1ac7ce0dcbd6ff24bc30c034b208a9320adc1d4 19:05:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:05:26 + sudo tee /etc/docker/daemon.new 19:05:26 { 19:05:26 "registry-mirrors": [ 19:05:26 "https://nexus3.edgexfoundry.org:10001" 19:05:26 ], 19:05:26 "bip": "10.250.0.254/24", 19:05:26 "hosts": [ 19:05:26 "tcp://0.0.0.0:5555", 19:05:26 "unix:///var/run/docker.sock" 19:05:26 ], 19:05:26 "mtu": 1458, 19:05:26 "selinux-enabled": true, 19:05:26 "seccomp-profile": "/etc/docker/seccomp.json" 19:05:26 } 19:05:28 $ docker rm -f --volumes 505eb0cca1b9ac64e52fce72d1ac7ce0dcbd6ff24bc30c034b208a9320adc1d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:05:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:05:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:05:51 provisioning config files... 19:05:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6924825680718905090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:51 ---> docker-login.sh 19:05:51 nexus3.edgexfoundry.org:10001 19:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:52 Configure a credential helper to remove this warning. See 19:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:52 19:05:52 Login Succeeded 19:05:52 nexus3.edgexfoundry.org:10002 19:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:53 Configure a credential helper to remove this warning. See 19:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:53 19:05:53 Login Succeeded 19:05:53 nexus3.edgexfoundry.org:10003 19:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:53 Configure a credential helper to remove this warning. See 19:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:53 19:05:53 Login Succeeded 19:05:53 nexus3.edgexfoundry.org:10004 19:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:53 Configure a credential helper to remove this warning. See 19:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:53 19:05:53 Login Succeeded 19:05:53 docker.io 19:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:54 Configure a credential helper to remove this warning. See 19:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:54 19:05:54 Login Succeeded 19:05:54 ---> docker-login.sh ends [Pipeline] } 19:05:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:05:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:05:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:05:54 ========================================================= 19:05:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:05:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:05:55 Sending build context to Docker daemon 2.966MB 19:05:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:05:55 Step 2/12 : FROM ${BASE} AS builder 19:05:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:05:55 9fda8d8052c6: Pulling fs layer 19:05:55 5d54e960e981: Pulling fs layer 19:05:55 c4a7e357bf2a: Pulling fs layer 19:05:55 f0e02332f6b5: Pulling fs layer 19:05:55 872ee5b61b7b: Pulling fs layer 19:05:55 0c6a40ed1a82: Pulling fs layer 19:05:55 94ae7d8d031c: Pulling fs layer 19:05:55 f0e02332f6b5: Waiting 19:05:55 872ee5b61b7b: Waiting 19:05:55 0c6a40ed1a82: Waiting 19:05:55 94ae7d8d031c: Waiting 19:05:55 5d54e960e981: Verifying Checksum 19:05:55 5d54e960e981: Download complete 19:05:55 f0e02332f6b5: Verifying Checksum 19:05:55 f0e02332f6b5: Download complete 19:05:55 872ee5b61b7b: Verifying Checksum 19:05:55 872ee5b61b7b: Download complete 19:05:55 9fda8d8052c6: Verifying Checksum 19:05:55 9fda8d8052c6: Download complete 19:05:56 94ae7d8d031c: Verifying Checksum 19:05:56 94ae7d8d031c: Download complete 19:05:57 9fda8d8052c6: Pull complete 19:05:58 c4a7e357bf2a: Verifying Checksum 19:05:58 c4a7e357bf2a: Download complete 19:05:59 0c6a40ed1a82: Verifying Checksum 19:05:59 0c6a40ed1a82: Download complete 19:06:00 5d54e960e981: Pull complete 19:06:15 c4a7e357bf2a: Pull complete 19:06:15 f0e02332f6b5: Pull complete 19:06:15 872ee5b61b7b: Pull complete 19:06:23 0c6a40ed1a82: Pull complete 19:06:24 94ae7d8d031c: Pull complete 19:06:24 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 19:06:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:06:24 ---> 86de565de09d 19:06:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:06:26 ---> Running in 529f67148e0d 19:06:26 Removing intermediate container 529f67148e0d 19:06:26 ---> cb3b6df696f9 19:06:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:06:26 ---> Running in 6c366917f95d 19:06:27 Removing intermediate container 6c366917f95d 19:06:27 ---> a908661593c7 19:06:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:06:27 ---> Running in 1a48cee5a5b0 19:06:27 Removing intermediate container 1a48cee5a5b0 19:06:27 ---> b01d2cc16e1d 19:06:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:06:27 ---> Running in 607788edf722 19:06:27 Removing intermediate container 607788edf722 19:06:27 ---> 8c2ccbaf2602 19:06:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:06:27 ---> Running in 80fb1755e574 19:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:06:30 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:06:30 (2/4) Installing libedit (20221030.3.1-r1) 19:06:30 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:06:30 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:06:30 Executing busybox-1.36.1-r5.trigger 19:06:30 OK: 271 MiB in 56 packages 19:06:32 Removing intermediate container 80fb1755e574 19:06:32 ---> 861402e718a9 19:06:32 Step 8/12 : WORKDIR /device-snmp-go 19:06:32 ---> Running in f92c9dd09da4 19:06:32 Removing intermediate container f92c9dd09da4 19:06:32 ---> 9995bd9b1fe5 19:06:32 Step 9/12 : COPY go.mod vendor* ./ 19:06:33 ---> 2a03b6548c83 19:06:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:06:33 ---> Running in 26184084a6ba 19:07:54 Removing intermediate container 26184084a6ba 19:07:54 ---> 111195d40762 19:07:54 Step 11/12 : COPY . . 19:07:54 ---> 7865b5e6e049 19:07:54 Step 12/12 : RUN ${MAKE} 19:07:54 ---> Running in 1c423e8ef924 19:07:54 noop 19:07:54 Removing intermediate container 1c423e8ef924 19:07:54 ---> cf9fef10a2c6 19:07:54 Successfully built cf9fef10a2c6 19:07:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:55 + docker inspect -f . ci-base-image-arm64 19:07:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:55 prd-ubuntu20.04-docker-arm64-4c-16g-17525 does not seem to be running inside a container 19:07:55 $ 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 19:07:57 $ docker top 32909e170c6cf64b1e0a324242e58e6d09ecd78b5513f91b0ffb620c6712f690 -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:58 + go version 19:07:58 go version go1.21.0 linux/arm64 [Pipeline] } 19:07:58 $ docker stop --time=1 32909e170c6cf64b1e0a324242e58e6d09ecd78b5513f91b0ffb620c6712f690 19:07:59 $ docker rm -f --volumes 32909e170c6cf64b1e0a324242e58e6d09ecd78b5513f91b0ffb620c6712f690 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:00 + docker inspect -f . ci-base-image-arm64 19:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:01 prd-ubuntu20.04-docker-arm64-4c-16g-17525 does not seem to be running inside a container 19:08:01 $ 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 19:08:02 $ docker top 5afab75bd1150fc6b66b55f4be0760bafaf4c7c32aca4cb957f17f9c5e3374ef -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:03 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 19:08:04 + make test 19:08:04 go test ./... -coverprofile=coverage.out 19:08:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:10:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:10:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.090s coverage: 0.0% of statements 19:10:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:10:00 go vet ./... 19:10:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:10:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:10:22 ./bin/test-attribution-txt.sh [Pipeline] echo 19:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:10:22 $ docker stop --time=1 5afab75bd1150fc6b66b55f4be0760bafaf4c7c32aca4cb957f17f9c5e3374ef 19:10:24 $ docker rm -f --volumes 5afab75bd1150fc6b66b55f4be0760bafaf4c7c32aca4cb957f17f9c5e3374ef [Pipeline] // withDockerContainer [Pipeline] sh 19:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:10:25 Warning: overwriting stash ‘coverage-report’ 19:10:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:10:27 + ls -al . 19:10:27 total 168 19:10:27 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 19:08 . 19:10:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 19:05 .. 19:10:27 -rw-rw-r-- 1 jenkins jenkins 6 Nov 14 19:05 .dockerignore 19:10:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:05 .git 19:10:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:05 .github 19:10:27 -rw-rw-r-- 1 jenkins jenkins 263 Nov 14 19:05 .gitignore 19:10:27 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 19:05 .golangci.yml 19:10:27 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 14 19:05 Attribution.txt 19:10:27 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 14 19:05 CHANGELOG.md 19:10:27 -rw-rw-r-- 1 jenkins jenkins 1571 Nov 14 19:05 Dockerfile 19:10:27 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 19:05 GOVERNANCE.md 19:10:27 -rw-rw-r-- 1 jenkins jenkins 656 Nov 14 19:05 Jenkinsfile 19:10:27 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 19:05 LICENSE 19:10:27 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 14 19:05 Makefile 19:10:27 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 19:05 OWNERS.md 19:10:27 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 14 19:05 README.md 19:10:27 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 19:01 VERSION 19:10:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 19:05 bin 19:10:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:05 cmd 19:10:27 -rw-r--r-- 1 jenkins jenkins 8837 Nov 14 19:09 coverage.out 19:10:27 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 14 19:05 go.mod 19:10:27 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 14 19:05 go.sum 19:10:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:05 internal 19:10:27 -rw-rw-r-- 1 jenkins jenkins 228 Nov 14 19:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:27 + 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=bb93e68095a893700c264138aff939773827ddef --label arch=arm64 --label version=0.0.0 . 19:10:27 Sending build context to Docker daemon 2.976MB 19:10:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 19:10:27 Step 2/25 : FROM ${BASE} AS builder 19:10:27 ---> cf9fef10a2c6 19:10:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:10:28 ---> Running in 91e6875d933a 19:10:28 Removing intermediate container 91e6875d933a 19:10:28 ---> b63b57a04646 19:10:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:10:29 ---> Running in 4bfbbec0e3dd 19:10:29 Removing intermediate container 4bfbbec0e3dd 19:10:29 ---> c5f7ee929647 19:10:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:10:29 ---> Running in 8de0ac98435b 19:10:29 Removing intermediate container 8de0ac98435b 19:10:29 ---> 4c7b3bd163c6 19:10:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:10:29 ---> Running in 9b4b04b5061c 19:10:30 Removing intermediate container 9b4b04b5061c 19:10:30 ---> d3edac2c9740 19:10:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:10:30 ---> Running in 4ec25224507a 19:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:10:32 OK: 271 MiB in 56 packages 19:10:33 Removing intermediate container 4ec25224507a 19:10:33 ---> 98e3ed3e69d1 19:10:33 Step 8/25 : WORKDIR /device-snmp-go 19:10:33 ---> Running in a5a60ed2defb 19:10:33 Removing intermediate container a5a60ed2defb 19:10:33 ---> b16dd4ec6fc0 19:10:33 Step 9/25 : COPY go.mod vendor* ./ 19:10:34 ---> f2935cd7c2e6 19:10:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:34 ---> Running in bad045419ebc 19:10:37 Removing intermediate container bad045419ebc 19:10:37 ---> d2ca5be13318 19:10:37 Step 11/25 : COPY . . 19:10:37 ---> a2f9476fc7c5 19:10:37 Step 12/25 : RUN ${MAKE} 19:10:37 ---> Running in 46aa937bc3e4 19:10:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 19:12:30 Removing intermediate container 46aa937bc3e4 19:12:30 ---> b329e1d91104 19:12:30 Step 13/25 : FROM alpine:3.18 19:12:30 3.18: Pulling from library/alpine 19:12:30 579b34f0a95b: Pulling fs layer 19:12:30 579b34f0a95b: Verifying Checksum 19:12:30 579b34f0a95b: Download complete 19:12:30 579b34f0a95b: Pull complete 19:12:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:12:30 Status: Downloaded newer image for alpine:3.18 19:12:30 ---> 3cc203321400 19:12:30 Step 14/25 : RUN apk add --update --no-cache dumb-init 19:12:30 ---> Running in 086f629a9b3d 19:12:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:12:32 (1/1) Installing dumb-init (1.2.5-r2) 19:12:32 Executing busybox-1.36.1-r2.trigger 19:12:32 OK: 8 MiB in 16 packages 19:12:36 Removing intermediate container 086f629a9b3d 19:12:36 ---> 04496fd25d19 19:12:36 Step 15/25 : RUN apk --no-cache upgrade 19:12:36 ---> Running in 86e86fc9d283 19:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:12:38 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 19:12:38 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 19:12:38 Executing busybox-1.36.1-r5.post-upgrade 19:12:38 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 19:12:38 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 19:12:38 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 19:12:38 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 19:12:38 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 19:12:38 Executing busybox-1.36.1-r5.trigger 19:12:38 OK: 8 MiB in 16 packages 19:12:39 Removing intermediate container 86e86fc9d283 19:12:39 ---> 1282abf5d6f5 19:12:39 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 19:12:41 ---> 955651a0e5e1 19:12:41 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 19:12:41 ---> 7742ac850e33 19:12:41 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 19:12:42 ---> b94f75ad6114 19:12:42 Step 19/25 : EXPOSE 59993 19:12:42 ---> Running in 664d1c58ce71 19:12:42 Removing intermediate container 664d1c58ce71 19:12:42 ---> 35906918d413 19:12:42 Step 20/25 : EXPOSE 161 19:12:42 ---> Running in aea7e9d49f2b 19:12:42 Removing intermediate container aea7e9d49f2b 19:12:42 ---> 8a73ca450e8c 19:12:42 Step 21/25 : ENTRYPOINT ["/device-snmp"] 19:12:42 ---> Running in 07fa9a2bf78d 19:12:43 Removing intermediate container 07fa9a2bf78d 19:12:43 ---> cfa4a7a9645e 19:12:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:12:43 ---> Running in 4b43d122fd67 19:12:43 Removing intermediate container 4b43d122fd67 19:12:43 ---> c8f66abf1008 19:12:43 Step 23/25 : LABEL arch=arm64 19:12:43 ---> Running in 220614a1c593 19:12:43 Removing intermediate container 220614a1c593 19:12:43 ---> 63c75b1ce1ef 19:12:43 Step 24/25 : LABEL git_sha=bb93e68095a893700c264138aff939773827ddef 19:12:44 ---> Running in 0bd9ed35b00c 19:12:44 Removing intermediate container 0bd9ed35b00c 19:12:44 ---> c24d253d62cc 19:12:44 Step 25/25 : LABEL version=0.0.0 19:12:44 ---> Running in 96adb8936168 19:12:44 Removing intermediate container 96adb8936168 19:12:44 ---> fc4bdb498e76 19:12:44 [Warning] One or more build-args [ARCH] were not consumed 19:12:44 Successfully built fc4bdb498e76 19:12:44 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 19:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:12:45 19:12:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:12:46 arm64: Pulling from edgex-lftools-log-publisher 19:12:46 8998bd30e6a1: Pulling fs layer 19:12:46 04944245beec: Pulling fs layer 19:12:46 699f458cf7ca: Pulling fs layer 19:12:46 765212b225bb: Pulling fs layer 19:12:46 f23df028b6ca: Pulling fs layer 19:12:46 d65c8cfc05b1: Pulling fs layer 19:12:46 2437ff75d9bd: Pulling fs layer 19:12:46 765212b225bb: Waiting 19:12:46 f23df028b6ca: Waiting 19:12:46 d65c8cfc05b1: Waiting 19:12:46 2437ff75d9bd: Waiting 19:12:46 04944245beec: Verifying Checksum 19:12:46 04944245beec: Download complete 19:12:46 765212b225bb: Verifying Checksum 19:12:46 765212b225bb: Download complete 19:12:46 f23df028b6ca: Verifying Checksum 19:12:46 f23df028b6ca: Download complete 19:12:46 d65c8cfc05b1: Verifying Checksum 19:12:46 d65c8cfc05b1: Download complete 19:12:46 699f458cf7ca: Verifying Checksum 19:12:46 699f458cf7ca: Download complete 19:12:46 8998bd30e6a1: Download complete 19:12:49 2437ff75d9bd: Verifying Checksum 19:12:49 2437ff75d9bd: Download complete 19:12:50 8998bd30e6a1: Pull complete 19:12:51 04944245beec: Pull complete 19:12:52 699f458cf7ca: Pull complete 19:12:53 765212b225bb: Pull complete 19:12:54 f23df028b6ca: Pull complete 19:12:54 d65c8cfc05b1: Pull complete 19:13:12 2437ff75d9bd: Pull complete 19:13:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:13:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:13:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:12 prd-ubuntu20.04-docker-arm64-4c-16g-17525 does not seem to be running inside a container 19:13:12 $ 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 19:13:15 $ docker top 638a9b7ba28be4b7bfe45bc17cb43939f197c0d64d4868893a8301dbdc96d915 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:16 ---> job-cost.sh 19:13:16 lf-activate-venv: SKIPPING 19:13:16 INFO: No Stack... 19:13:16 INFO: Retrieving Pricing Info for: v3-standard-4 19:13:17 INFO: Archiving Costs [Pipeline] sh 19:13:18 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 19:13:18 + cut -d, -f6 [Pipeline] lock 19:13:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] 19:13:18 Resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] did not exist. Created. 19:13:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:13:19 /w/workspace/device-snmp-go/1@tmp/durable-7c0cd1ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:13:19 + echo total: 0.10999999940395355 [Pipeline] stash 19:13:19 Warning: overwriting stash ‘stack-cost’ 19:13:19 Stashed 1 file(s) [Pipeline] } 19:13:19 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:13:19 $ docker stop --time=1 638a9b7ba28be4b7bfe45bc17cb43939f197c0d64d4868893a8301dbdc96d915 19:13:21 $ docker rm -f --volumes 638a9b7ba28be4b7bfe45bc17cb43939f197c0d64d4868893a8301dbdc96d915 [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 19:13:22 provisioning config files... 19:13:22 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config2909845404660132391tmp [Pipeline] { [Pipeline] sh 19:13:22 + set +x 19:13:22 + curl -s https://codecov.io/bash 19:13:22 + bash -s -- 19:13:22 19:13:22 _____ _ 19:13:22 / ____| | | 19:13:22 | | ___ __| | ___ ___ _____ __ 19:13:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:13:22 | |___| (_) | (_| | __/ (_| (_) \ V / 19:13:22 \_____\___/ \__,_|\___|\___\___/ \_/ 19:13:22 Bash-1.0.6 19:13:22 19:13:22 19:13:22 ==> git version 2.25.1 found 19:13:22 ==> 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 19:13:22 Release-Date: 2020-01-08 19:13:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:13:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:13:22 ==> Jenkins CI detected. 19:13:22 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-332 19:13:22 project root: . 19:13:22 --> token set from env 19:13:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:13:22 ==> Running gcov in . (disable via -X gcov) 19:13:22 ==> Python coveragepy not found 19:13:22 ==> Searching for coverage reports in: 19:13:22 + . 19:13:22 -> Found 1 reports 19:13:22 ==> Detecting git/mercurial file structure 19:13:22 ==> Reading reports 19:13:23 + ./coverage.out bytes=8837 19:13:23 ==> Appending adjustments 19:13:23 https://docs.codecov.io/docs/fixing-reports 19:13:23 + Found adjustments 19:13:23 ==> Gzipping contents 19:13:23 4.0K /tmp/codecov.TFAITs.gz 19:13:23 ==> Uploading reports 19:13:23 url: https://codecov.io 19:13:23 query: branch=PR-332&commit=bb93e68095a893700c264138aff939773827ddef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=332&job=&cmd_args= 19:13:23 -> Pinging Codecov 19:13:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-332&commit=bb93e68095a893700c264138aff939773827ddef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=332&job=&cmd_args= 19:13:55 -> Uploading to 19:13:55 19:13:55 % Total % Received % Xferd Average Speed Time Time Time Current 19:13:55 Dload Upload Total Spent Left Speed 19:13:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: 19:13:55 X> Failed to upload 19:13:55 ==> Uploading to Codecov 19:13:55 % Total % Received % Xferd Average Speed Time Time Time Current 19:13:55 Dload Upload Total Spent Left Speed 19:13:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1682 100 247 100 1435 1657 9630 --:--:-- --:--:-- --:--:-- 11213 100 1682 100 247 100 1435 1657 9630 --:--:-- --:--:-- --:--:-- 11213 19:13:55 Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "577d311a-92c2-4e88-abd4-f6018bdd085f", "url": "https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/bb93e68095a893700c264138aff939773827ddef"} [Pipeline] } 19:13:55 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 19:13:57 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-332/archives ] 19:13:57 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-332/archives 19:13:57 total 16 19:13:57 drwxr-xr-x 3 root root 4096 Nov 14 19:05 . 19:13:57 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 19:05 .. 19:13:57 drwxr-xr-x 2 root root 4096 Nov 14 19:05 cost 19:13:57 -rw-r--r-- 1 root root 86 Nov 14 19:05 cost.csv 19:13:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-332/archives 19:13:57 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-332/archives 19:13:57 total 16 19:13:57 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 19:05 . 19:13:57 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 19:05 .. 19:13:57 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 19:05 cost 19:13:57 -rw-r--r-- 1 jenkins jenkins 86 Nov 14 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:13:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:13:58 ---> package-listing.sh 19:13:58 ++ facter osfamily 19:13:58 ++ tr '[:upper:]' '[:lower:]' 19:13:58 + OS_FAMILY=debian 19:13:58 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-332 19:13:58 + START_PACKAGES=/tmp/packages_start.txt 19:13:58 + END_PACKAGES=/tmp/packages_end.txt 19:13:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:13:58 + PACKAGES=/tmp/packages_start.txt 19:13:58 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-332 ']' 19:13:58 + PACKAGES=/tmp/packages_end.txt 19:13:58 + case "${OS_FAMILY}" in 19:13:58 + dpkg -l 19:13:58 + grep '^ii' 19:13:58 + '[' -f /tmp/packages_start.txt ']' 19:13:58 + '[' -f /tmp/packages_end.txt ']' 19:13:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:13:58 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-332 ']' 19:13:58 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-332/archives/ 19:13:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-332/archives/ [Pipeline] echo 19:13:58 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:13:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:59 prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container 19:13:59 $ 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-332/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-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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 19:14:00 $ docker top a9d8fe83c1e9caf174fda9375244d756133d2d7b5b88820751c983c493b66ca4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:00 + touch /tmp/pre-build-complete [Pipeline] sh 19:14:00 + mkdir -p /var/log/sysstat [Pipeline] sh 19:14:01 + ls /var/log/sa-host 19:14:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:01 provisioning config files... 19:14:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config11679944041727601978tmp [Pipeline] { [Pipeline] echo 19:14:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:14:01 ---> create-netrc.sh [Pipeline] } 19:14:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:14:02 ---> python-tools-install.sh [Pipeline] echo 19:14:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:14:02 ---> sudo-logs.sh 19:14:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:14:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:14:02 ---> job-cost.sh 19:14:02 lf-activate-venv: SKIPPING 19:14:02 DEBUG: total: 0.2199999988079071 19:14:02 INFO: Retrieving Stack Cost... 19:14:03 INFO: Retrieving Pricing Info for: v3-standard-8 19:14:03 INFO: Archiving Costs [Pipeline] echo 19:14:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:14:03 ---> logs-deploy.sh 19:14:03 lf-activate-venv: SKIPPING 19:14:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-332/1 19:14:03 INFO: archiving workspace using pattern(s): 19:14:04 Archives upload complete. 19:14:04 INFO: archiving logs to Nexus