Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e525481a5759a3c7c2210679b705fbdd3017b839 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-ssh3034356770083260850.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh755718035383791743.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12413743444301069043.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh2081237246584788262.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5900308038120652783.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-7085’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7088’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7090 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 Avoid second fetch Checking out Revision e525481a5759a3c7c2210679b705fbdd3017b839 (main) Commit message: "Merge pull request #281 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64" > 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 core.sparsecheckout # timeout=10 > git checkout -f e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 > git rev-list --no-walk 6fac14ed47bda9a50d3a81c52d17c8dba926fadd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:16 ========================================================= 06:10:16 EdgeX Global Pipelines Version Info 06:10:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:17 ------------------- 06:10:17 stable info: 06:10:17 ------------------- 06:10:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:17 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:10:17 Message: update stable to v1.0.245 06:10:17 ------------------- 06:10:17 experimental info: 06:10:17 ------------------- 06:10:17 Commited By: **** collab-it+edgex@linuxfoundation.org 06:10:17 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 06:10:17 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e525481 [Pipeline] echo 06:10:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:18 provisioning config files... 06:10:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6463318490651087753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:18 ---> docker-login.sh 06:10:18 nexus3.edgexfoundry.org:10001 06:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:18 Configure a credential helper to remove this warning. See 06:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:18 06:10:18 Login Succeeded 06:10:18 nexus3.edgexfoundry.org:10002 06:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:19 Configure a credential helper to remove this warning. See 06:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:19 06:10:19 Login Succeeded 06:10:19 nexus3.edgexfoundry.org:10003 06:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:19 Configure a credential helper to remove this warning. See 06:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:19 06:10:19 Login Succeeded 06:10:19 nexus3.edgexfoundry.org:10004 06:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:19 Configure a credential helper to remove this warning. See 06:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:19 06:10:19 Login Succeeded 06:10:19 docker.io 06:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:19 Configure a credential helper to remove this warning. See 06:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:19 06:10:19 Login Succeeded 06:10:19 ---> docker-login.sh ends [Pipeline] } 06:10:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:10:20 + git rev-list -1 --merges e525481a5759a3c7c2210679b705fbdd3017b839~1..e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] echo 06:10:20 -----------> git rev-list -1 --merges e525481a5759a3c7c2210679b705fbdd3017b839~1..e525481a5759a3c7c2210679b705fbdd3017b839 e525481a5759a3c7c2210679b705fbdd3017b839 06:10:20 e525481a5759a3c7c2210679b705fbdd3017b839 [false] [Pipeline] sh 06:10:20 + git log --format=format:%s -1 e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] echo 06:10:20 ========================================================= 06:10:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:10:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:20 + git log --format=format:%s -1 e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] echo 06:10:20 [semverPrep] GIT_COMMIT: e525481a5759a3c7c2210679b705fbdd3017b839, Commit Message: Merge pull request #281 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64 [Pipeline] echo 06:10:20 [semverPrep] This is not a build commit. [Pipeline] sh 06:10:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:21 + grep -v github /etc/ssh/ssh_known_hosts 06:10:21 + [ -e /tmp/ssh_known_hosts ] 06:10:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:10:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:10:21 + sudo tee -a /etc/ssh/ssh_known_hosts 06:10:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:21 06:10:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:21 0.1.4: Pulling from edgex-devops/py-git-semver 06:10:21 b85a868b505f: Pulling fs layer 06:10:21 e2be974225ed: Pulling fs layer 06:10:21 339a4e72a1f5: Pulling fs layer 06:10:21 988bab9f4d93: Pulling fs layer 06:10:21 1469e6f7b9e6: Pulling fs layer 06:10:21 eaf3925da568: Pulling fs layer 06:10:21 bab4dde63d76: Pulling fs layer 06:10:21 bde34c3a00c8: Pulling fs layer 06:10:21 b352a97aabf1: Pulling fs layer 06:10:21 4872d77fe225: Pulling fs layer 06:10:21 1469e6f7b9e6: Waiting 06:10:21 eaf3925da568: Waiting 06:10:21 5851b861e8e6: Pulling fs layer 06:10:21 bab4dde63d76: Waiting 06:10:21 4872d77fe225: Waiting 06:10:21 5851b861e8e6: Waiting 06:10:21 bde34c3a00c8: Waiting 06:10:21 988bab9f4d93: Waiting 06:10:21 e2be974225ed: Verifying Checksum 06:10:21 e2be974225ed: Download complete 06:10:21 988bab9f4d93: Verifying Checksum 06:10:21 988bab9f4d93: Download complete 06:10:21 1469e6f7b9e6: Verifying Checksum 06:10:21 1469e6f7b9e6: Download complete 06:10:21 339a4e72a1f5: Verifying Checksum 06:10:21 339a4e72a1f5: Download complete 06:10:22 eaf3925da568: Verifying Checksum 06:10:22 eaf3925da568: Download complete 06:10:22 bde34c3a00c8: Download complete 06:10:22 b352a97aabf1: Download complete 06:10:22 4872d77fe225: Verifying Checksum 06:10:22 4872d77fe225: Download complete 06:10:22 5851b861e8e6: Verifying Checksum 06:10:22 5851b861e8e6: Download complete 06:10:22 b85a868b505f: Verifying Checksum 06:10:22 b85a868b505f: Download complete 06:10:22 bab4dde63d76: Verifying Checksum 06:10:22 bab4dde63d76: Download complete 06:10:23 b85a868b505f: Pull complete 06:10:23 e2be974225ed: Pull complete 06:10:23 339a4e72a1f5: Pull complete 06:10:24 988bab9f4d93: Pull complete 06:10:24 1469e6f7b9e6: Pull complete 06:10:24 eaf3925da568: Pull complete 06:10:26 bab4dde63d76: Pull complete 06:10:26 bde34c3a00c8: Pull complete 06:10:26 b352a97aabf1: Pull complete 06:10:26 4872d77fe225: Pull complete 06:10:26 5851b861e8e6: Pull complete 06:10:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:10:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:26 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:10:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:29 $ docker top aa5ed74dff9c19e3f984d9a49d42bc77e5f1290234e49dc1647b51a1f7e35227 -eo pid,comm 06:10:29 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). 06:10:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:29 [ssh-agent] Looking for ssh-agent implementation... 06:10:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:29 $ docker exec aa5ed74dff9c19e3f984d9a49d42bc77e5f1290234e49dc1647b51a1f7e35227 ssh-agent 06:10:29 SSH_AUTH_SOCK=/tmp/ssh-AogktWjnmyJy/agent.32 06:10:29 SSH_AGENT_PID=38 06:10:29 Running ssh-add (command line suppressed) 06:10:29 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14036503729003140451.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14036503729003140451.key) 06:10:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:29 + git tag --points-at HEAD [Pipeline] } 06:10:29 $ docker exec --env ******** --env ******** aa5ed74dff9c19e3f984d9a49d42bc77e5f1290234e49dc1647b51a1f7e35227 ssh-agent -k 06:10:29 unset SSH_AUTH_SOCK; 06:10:29 unset SSH_AGENT_PID; 06:10:29 echo Agent pid 38 killed; 06:10:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:30 [ssh-agent] Looking for ssh-agent implementation... 06:10:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:30 $ docker exec aa5ed74dff9c19e3f984d9a49d42bc77e5f1290234e49dc1647b51a1f7e35227 ssh-agent 06:10:30 SSH_AUTH_SOCK=/tmp/ssh-JppWKtcNzmo4/agent.70 06:10:30 SSH_AGENT_PID=76 06:10:30 Running ssh-add (command line suppressed) 06:10:30 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4216522286594174573.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4216522286594174573.key) 06:10:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:30 + git semver init 06:10:30 2023-04-07 06:10:30,880 [run_init] DEBUG init version:0.0.0 force:False 06:10:30 2023-04-07 06:10:30,881 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:10:30 2023-04-07 06:10:30,882 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:10:30 2023-04-07 06:10:30,882 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:10:31 2023-04-07 06:10:31,631 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 06:10:31 2023-04-07 06:10:31,631 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 06:10:31 2023-04-07 06:10:31,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:10:31 2023-04-07 06:10:31,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:10:31 3.0.0-dev.11 [Pipeline] } 06:10:31 $ docker exec --env ******** --env ******** aa5ed74dff9c19e3f984d9a49d42bc77e5f1290234e49dc1647b51a1f7e35227 ssh-agent -k 06:10:32 unset SSH_AUTH_SOCK; 06:10:32 unset SSH_AGENT_PID; 06:10:32 echo Agent pid 76 killed; 06:10:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:32 + git semver [Pipeline] } 06:10:32 $ docker stop --time=1 aa5ed74dff9c19e3f984d9a49d42bc77e5f1290234e49dc1647b51a1f7e35227 06:10:33 $ docker rm -f --volumes aa5ed74dff9c19e3f984d9a49d42bc77e5f1290234e49dc1647b51a1f7e35227 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:34 Stashed 1 file(s) [Pipeline] echo 06:10:34 [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [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 06:10:34 provisioning config files... 06:10:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13336730527151962063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:34 ---> docker-login.sh 06:10:34 nexus3.edgexfoundry.org:10001 06:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:34 Configure a credential helper to remove this warning. See 06:10:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:34 06:10:34 Login Succeeded 06:10:34 nexus3.edgexfoundry.org:10002 06:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:34 Configure a credential helper to remove this warning. See 06:10:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:34 06:10:34 Login Succeeded 06:10:34 nexus3.edgexfoundry.org:10003 06:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:35 Configure a credential helper to remove this warning. See 06:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:35 06:10:35 Login Succeeded 06:10:35 nexus3.edgexfoundry.org:10004 06:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:35 Configure a credential helper to remove this warning. See 06:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:35 06:10:35 Login Succeeded 06:10:35 docker.io 06:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:35 Configure a credential helper to remove this warning. See 06:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:35 06:10:35 Login Succeeded 06:10:35 ---> docker-login.sh ends [Pipeline] } 06:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:35 ========================================================= 06:10:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:10:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:10:35 Sending build context to Docker daemon 5.742MB 06:10:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:10:35 Step 2/12 : FROM ${BASE} AS builder 06:10:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:10:35 63b65145d645: Pulling fs layer 06:10:35 a2d21d5440eb: Pulling fs layer 06:10:35 935e6c44a52c: Pulling fs layer 06:10:35 94cc34f8dd06: Pulling fs layer 06:10:35 30dea6a524f1: Pulling fs layer 06:10:35 a2aff8979fd8: Pulling fs layer 06:10:35 6808be2612f2: Pulling fs layer 06:10:35 f25807f1079a: Pulling fs layer 06:10:35 94cc34f8dd06: Waiting 06:10:35 30dea6a524f1: Waiting 06:10:35 a2aff8979fd8: Waiting 06:10:35 6808be2612f2: Waiting 06:10:35 f25807f1079a: Waiting 06:10:35 a2d21d5440eb: Download complete 06:10:35 94cc34f8dd06: Verifying Checksum 06:10:35 94cc34f8dd06: Download complete 06:10:35 30dea6a524f1: Verifying Checksum 06:10:35 30dea6a524f1: Download complete 06:10:36 63b65145d645: Verifying Checksum 06:10:36 63b65145d645: Download complete 06:10:36 a2aff8979fd8: Verifying Checksum 06:10:36 a2aff8979fd8: Download complete 06:10:36 63b65145d645: Pull complete 06:10:36 a2d21d5440eb: Pull complete 06:10:36 f25807f1079a: Verifying Checksum 06:10:36 f25807f1079a: Download complete 06:10:36 935e6c44a52c: Download complete 06:10:36 6808be2612f2: Verifying Checksum 06:10:36 6808be2612f2: Download complete 06:10:40 935e6c44a52c: Pull complete 06:10:40 94cc34f8dd06: Pull complete 06:10:40 30dea6a524f1: Pull complete 06:10:40 a2aff8979fd8: Pull complete 06:10:42 6808be2612f2: Pull complete 06:10:43 f25807f1079a: Pull complete 06:10:43 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:10:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:10:43 ---> 3b553350e43f 06:10:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:10:47 ---> Running in 120fc0137eee 06:10:47 Removing intermediate container 120fc0137eee 06:10:47 ---> 3c7d137a776c 06:10:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:10:47 ---> Running in d3c7ec7a9478 06:10:47 Removing intermediate container d3c7ec7a9478 06:10:47 ---> 5c5a989310cd 06:10:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:10:47 ---> Running in 068987f6d672 06:10:47 Removing intermediate container 068987f6d672 06:10:47 ---> 2e3f5ee5cf03 06:10:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:10:47 ---> Running in f9429033b48d 06:10:47 Removing intermediate container f9429033b48d 06:10:47 ---> 96083f1045ab 06:10:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:47 ---> Running in c3f9d3dab7bf 06:10:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:10:48 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:10:48 (2/4) Installing libedit (20221030.3.1-r0) 06:10:48 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:10:48 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:10:48 Executing busybox-1.35.0-r29.trigger 06:10:48 OK: 269 MiB in 57 packages 06:10:48 Removing intermediate container c3f9d3dab7bf 06:10:48 ---> bcf1569c1cb6 06:10:48 Step 8/12 : WORKDIR /device-snmp-go 06:10:48 ---> Running in dc3ffa080e0f 06:10:49 Removing intermediate container dc3ffa080e0f 06:10:49 ---> 5679d7e7b213 06:10:49 Step 9/12 : COPY go.mod vendor* ./ 06:10:49 ---> c3e61497da37 06:10:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:49 ---> Running in 15b637b11e0d 06:10:49 Still waiting to schedule task 06:10:49 ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:10:49 ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:10:49 ‘prd-centos7-builder-2c-1g-7085’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:10:49 ‘prd-ubuntu18.04-docker-8c-8g-7086’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:10:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7092’ is offline 06:11:11 Removing intermediate container 15b637b11e0d 06:11:11 ---> ac6fbf2769b6 06:11:11 Step 11/12 : COPY . . 06:11:11 ---> 9cd1e3c127dc 06:11:11 Step 12/12 : RUN ${MAKE} 06:11:11 ---> Running in 919ca3a3f613 06:11:11 noop 06:11:11 Removing intermediate container 919ca3a3f613 06:11:11 ---> e8549dca52e6 06:11:11 Successfully built e8549dca52e6 06:11:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:11 + docker inspect -f . ci-base-image-x86_64 06:11:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:11 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 06:11:12 $ docker top b7262f5575d9eea92e7cba4e533584beba8fc089a0126e9f6c27136230f7a8f5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:12 + go version 06:11:12 go version go1.20.2 linux/amd64 [Pipeline] } 06:11:12 $ docker stop --time=1 b7262f5575d9eea92e7cba4e533584beba8fc089a0126e9f6c27136230f7a8f5 06:11:13 $ docker rm -f --volumes b7262f5575d9eea92e7cba4e533584beba8fc089a0126e9f6c27136230f7a8f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:14 + docker inspect -f . ci-base-image-x86_64 06:11:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:14 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:11:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 06:11:14 $ docker top 9c85fc0f63039d0aabdf50ea3c6b953977492d9912ebac81216b08dde82f4d66 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 06:11:15 + make test 06:11:15 go test ./... -coverprofile=coverage.out 06:11:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:11:29 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:11:29 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 06:11:33 go vet ./... 06:11:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:37 ./bin/test-attribution-txt.sh 06:11:37 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:37 $ docker stop --time=1 9c85fc0f63039d0aabdf50ea3c6b953977492d9912ebac81216b08dde82f4d66 06:11:38 $ docker rm -f --volumes 9c85fc0f63039d0aabdf50ea3c6b953977492d9912ebac81216b08dde82f4d66 [Pipeline] // withDockerContainer [Pipeline] sh 06:11:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:11:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:40 + ls -al . 06:11:40 total 168 06:11:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 06:11 . 06:11:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:10 .. 06:11:40 -rw-rw-r-- 1 jenkins jenkins 6 Apr 7 06:10 .dockerignore 06:11:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:10 .git 06:11:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:10 .github 06:11:40 -rw-rw-r-- 1 jenkins jenkins 328 Apr 7 06:10 .gitignore 06:11:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:10 .golangci.yml 06:11:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:10 .semver 06:11:40 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 7 06:10 Attribution.txt 06:11:40 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 7 06:10 CHANGELOG.md 06:11:40 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 7 06:10 Dockerfile 06:11:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:10 GOVERNANCE.md 06:11:40 -rw-rw-r-- 1 jenkins jenkins 656 Apr 7 06:10 Jenkinsfile 06:11:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:10 LICENSE 06:11:40 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 7 06:10 Makefile 06:11:40 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:10 OWNERS.md 06:11:40 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 7 06:10 README.md 06:11:40 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 06:10 VERSION 06:11:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:10 bin 06:11:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:10 cmd 06:11:40 -rw-r--r-- 1 jenkins jenkins 7630 Apr 7 06:11 coverage.out 06:11:40 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 7 06:10 go.mod 06:11:40 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 7 06:10 go.sum 06:11:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:10 internal 06:11:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:10 snap 06:11:40 -rw-rw-r-- 1 jenkins jenkins 228 Apr 7 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:40 + 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=e525481a5759a3c7c2210679b705fbdd3017b839 --label arch=amd64 --label version=3.0.0-dev.11 . 06:11:40 Sending build context to Docker daemon 5.75MB 06:11:40 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:11:40 Step 2/24 : FROM ${BASE} AS builder 06:11:40 ---> e8549dca52e6 06:11:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:11:40 ---> Running in a5c65a8f5a85 06:11:40 Removing intermediate container a5c65a8f5a85 06:11:40 ---> 1f8ce947d5b0 06:11:40 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:40 ---> Running in cee43eb7337f 06:11:40 Removing intermediate container cee43eb7337f 06:11:40 ---> aa2de1f685ed 06:11:40 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:11:40 ---> Running in fc391088f089 06:11:40 Removing intermediate container fc391088f089 06:11:40 ---> 9d0190af2d52 06:11:40 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:11:40 ---> Running in bda492906e29 06:11:40 Removing intermediate container bda492906e29 06:11:40 ---> 95e822040684 06:11:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:40 ---> Running in 838238705d88 06:11:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:11:41 OK: 269 MiB in 57 packages 06:11:41 Removing intermediate container 838238705d88 06:11:41 ---> 6c2c3c3af59a 06:11:41 Step 8/24 : WORKDIR /device-snmp-go 06:11:41 ---> Running in bfe9799d7ea3 06:11:41 Removing intermediate container bfe9799d7ea3 06:11:41 ---> 10a4c2a3480a 06:11:41 Step 9/24 : COPY go.mod vendor* ./ 06:11:41 ---> a9854237466b 06:11:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:41 ---> Running in d45a21dd2ff5 06:11:42 Removing intermediate container d45a21dd2ff5 06:11:42 ---> f9469f483d4c 06:11:42 Step 11/24 : COPY . . 06:11:43 ---> be183b70d4fe 06:11:43 Step 12/24 : RUN ${MAKE} 06:11:43 ---> Running in cb71aedf4f91 06:11:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:12:01 Removing intermediate container cb71aedf4f91 06:12:01 ---> 8dc7bde96699 06:12:01 Step 13/24 : FROM alpine:3.17 06:12:01 3.17: Pulling from library/alpine 06:12:01 f56be85fc22e: Pulling fs layer 06:12:01 f56be85fc22e: Download complete 06:12:01 f56be85fc22e: Pull complete 06:12:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:12:01 Status: Downloaded newer image for alpine:3.17 06:12:01 ---> 9ed4aefc74f6 06:12:01 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:12:01 ---> Running in 1d9e3d6fab4a 06:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:12:01 (1/1) Installing dumb-init (1.2.5-r2) 06:12:01 Executing busybox-1.35.0-r29.trigger 06:12:01 OK: 7 MiB in 16 packages 06:12:01 Removing intermediate container 1d9e3d6fab4a 06:12:01 ---> 95d2b4119b14 06:12:01 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:12:01 ---> 30f75d415a71 06:12:01 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:12:01 ---> 2e83e2fe0343 06:12:01 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:12:01 ---> ba546df6a8eb 06:12:01 Step 18/24 : EXPOSE 59993 06:12:01 ---> Running in 1adf733abb38 06:12:01 Removing intermediate container 1adf733abb38 06:12:01 ---> 343273ed4976 06:12:01 Step 19/24 : EXPOSE 161 06:12:01 ---> Running in e445f22f0912 06:12:01 Removing intermediate container e445f22f0912 06:12:01 ---> 1290482f905d 06:12:01 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:12:01 ---> Running in c1093ceeec93 06:12:01 Removing intermediate container c1093ceeec93 06:12:01 ---> 59f6856f4c5c 06:12:01 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:12:01 ---> Running in 8475f79f31cc 06:12:01 Removing intermediate container 8475f79f31cc 06:12:01 ---> 5bda8a4ee409 06:12:01 Step 22/24 : LABEL arch=amd64 06:12:01 ---> Running in b2848d079cec 06:12:01 Removing intermediate container b2848d079cec 06:12:01 ---> 318ce2e9d57e 06:12:01 Step 23/24 : LABEL git_sha=e525481a5759a3c7c2210679b705fbdd3017b839 06:12:01 ---> Running in 421199db166d 06:12:01 Removing intermediate container 421199db166d 06:12:01 ---> 9bcaffef757b 06:12:01 Step 24/24 : LABEL version=3.0.0-dev.11 06:12:01 ---> Running in 5f11d27f5c0d 06:12:02 Removing intermediate container 5f11d27f5c0d 06:12:02 ---> d3e6b3d8a10e 06:12:02 [Warning] One or more build-args [ARCH] were not consumed 06:12:02 Successfully built d3e6b3d8a10e 06:12:02 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:02 provisioning config files... 06:12:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11136388766267972395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:02 ---> docker-login.sh 06:12:02 nexus3.edgexfoundry.org:10001 06:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:02 Configure a credential helper to remove this warning. See 06:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:02 06:12:02 Login Succeeded 06:12:02 nexus3.edgexfoundry.org:10002 06:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:02 Configure a credential helper to remove this warning. See 06:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:02 06:12:02 Login Succeeded 06:12:02 nexus3.edgexfoundry.org:10003 06:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:02 Configure a credential helper to remove this warning. See 06:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:02 06:12:02 Login Succeeded 06:12:02 nexus3.edgexfoundry.org:10004 06:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:02 Configure a credential helper to remove this warning. See 06:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:02 06:12:02 Login Succeeded 06:12:02 docker.io 06:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:03 Configure a credential helper to remove this warning. See 06:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:03 06:12:03 Login Succeeded 06:12:03 ---> docker-login.sh ends [Pipeline] } 06:12:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:03 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 06:12:03 e525481a5759a3c7c2210679b705fbdd3017b839 06:12:03 latest 06:12:03 3.0.0-dev.11 06:12:03 e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 06:12:03 main 06:12:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:03 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:03 + docker push nexus3.edgexfoundry.org:10004/device-snmp:e525481a5759a3c7c2210679b705fbdd3017b839 06:12:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:12:03 bb02c1d0f468: Preparing 06:12:03 7b90bc985f18: Preparing 06:12:03 542ec807934a: Preparing 06:12:03 4b9e8f84fbb5: Preparing 06:12:03 f1417ff83b31: Preparing 06:12:03 f1417ff83b31: Layer already exists 06:12:03 7b90bc985f18: Pushed 06:12:03 4b9e8f84fbb5: Pushed 06:12:03 bb02c1d0f468: Pushed 06:12:06 542ec807934a: Pushed 06:12:06 e525481a5759a3c7c2210679b705fbdd3017b839: digest: sha256:26f3e09d5da70850dbade3e7eb60f04d3c50cd790f097c2f9ab75cd6cccf0466 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:06 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 06:12:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:12:06 bb02c1d0f468: Preparing 06:12:06 7b90bc985f18: Preparing 06:12:06 542ec807934a: Preparing 06:12:06 4b9e8f84fbb5: Preparing 06:12:06 f1417ff83b31: Preparing 06:12:06 542ec807934a: Layer already exists 06:12:06 bb02c1d0f468: Layer already exists 06:12:06 7b90bc985f18: Layer already exists 06:12:06 f1417ff83b31: Layer already exists 06:12:06 4b9e8f84fbb5: Layer already exists 06:12:06 latest: digest: sha256:26f3e09d5da70850dbade3e7eb60f04d3c50cd790f097c2f9ab75cd6cccf0466 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:07 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.11 06:12:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:12:07 bb02c1d0f468: Preparing 06:12:07 7b90bc985f18: Preparing 06:12:07 542ec807934a: Preparing 06:12:07 4b9e8f84fbb5: Preparing 06:12:07 f1417ff83b31: Preparing 06:12:07 7b90bc985f18: Layer already exists 06:12:07 542ec807934a: Layer already exists 06:12:07 bb02c1d0f468: Layer already exists 06:12:07 f1417ff83b31: Layer already exists 06:12:07 4b9e8f84fbb5: Layer already exists 06:12:07 3.0.0-dev.11: digest: sha256:26f3e09d5da70850dbade3e7eb60f04d3c50cd790f097c2f9ab75cd6cccf0466 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:07 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp:e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 06:12:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:12:08 bb02c1d0f468: Preparing 06:12:08 7b90bc985f18: Preparing 06:12:08 542ec807934a: Preparing 06:12:08 4b9e8f84fbb5: Preparing 06:12:08 f1417ff83b31: Preparing 06:12:08 f1417ff83b31: Layer already exists 06:12:08 7b90bc985f18: Layer already exists 06:12:08 4b9e8f84fbb5: Layer already exists 06:12:08 542ec807934a: Layer already exists 06:12:08 bb02c1d0f468: Layer already exists 06:12:08 e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11: digest: sha256:26f3e09d5da70850dbade3e7eb60f04d3c50cd790f097c2f9ab75cd6cccf0466 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:08 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 06:12:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:12:08 bb02c1d0f468: Preparing 06:12:08 7b90bc985f18: Preparing 06:12:08 542ec807934a: Preparing 06:12:08 4b9e8f84fbb5: Preparing 06:12:08 f1417ff83b31: Preparing 06:12:08 542ec807934a: Layer already exists 06:12:08 f1417ff83b31: Layer already exists 06:12:08 bb02c1d0f468: Layer already exists 06:12:08 7b90bc985f18: Layer already exists 06:12:08 4b9e8f84fbb5: Layer already exists 06:12:08 main: digest: sha256:26f3e09d5da70850dbade3e7eb60f04d3c50cd790f097c2f9ab75cd6cccf0466 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:08 ===================================================== [Pipeline] echo 06:12:08 taggedImages: 06:12:08 - nexus3.edgexfoundry.org:10004/device-snmp:e525481a5759a3c7c2210679b705fbdd3017b839 06:12:08 - nexus3.edgexfoundry.org:10004/device-snmp:latest 06:12:08 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.11 06:12:08 - nexus3.edgexfoundry.org:10004/device-snmp:e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 06:12:08 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [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 06:12:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:09 06:12:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:09 latest: Pulling from edgex-lftools-log-publisher 06:12:09 5eb5b503b376: Pulling fs layer 06:12:09 5c69ac0246d0: Pulling fs layer 06:12:09 ec43610c2a17: Pulling fs layer 06:12:09 3a2ae6a8a46f: Pulling fs layer 06:12:09 33b1e0a273af: Pulling fs layer 06:12:09 5d3b04190fa2: Pulling fs layer 06:12:09 2f39f015ded8: Pulling fs layer 06:12:09 3a2ae6a8a46f: Waiting 06:12:09 33b1e0a273af: Waiting 06:12:09 5d3b04190fa2: Waiting 06:12:09 2f39f015ded8: Waiting 06:12:09 5c69ac0246d0: Download complete 06:12:09 3a2ae6a8a46f: Verifying Checksum 06:12:09 3a2ae6a8a46f: Download complete 06:12:09 33b1e0a273af: Verifying Checksum 06:12:09 33b1e0a273af: Download complete 06:12:09 ec43610c2a17: Verifying Checksum 06:12:09 ec43610c2a17: Download complete 06:12:09 5d3b04190fa2: Verifying Checksum 06:12:09 5d3b04190fa2: Download complete 06:12:09 5eb5b503b376: Verifying Checksum 06:12:09 5eb5b503b376: Download complete 06:12:10 2f39f015ded8: Verifying Checksum 06:12:10 2f39f015ded8: Download complete 06:12:10 5eb5b503b376: Pull complete 06:12:10 5c69ac0246d0: Pull complete 06:12:11 ec43610c2a17: Pull complete 06:12:11 3a2ae6a8a46f: Pull complete 06:12:11 33b1e0a273af: Pull complete 06:12:11 5d3b04190fa2: Pull complete 06:12:15 2f39f015ded8: Pull complete 06:12:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:12:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:15 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:12:18 $ docker top cbc6a9f5a383c550760f281888aea19c719a6001bb11f387289fb1d79f12fc71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:19 ---> job-cost.sh 06:12:19 lf-activate-venv: SKIPPING 06:12:19 INFO: No Stack... 06:12:19 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:19 INFO: Archiving Costs [Pipeline] sh 06:12:20 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 06:12:20 + cut -d, -f6 [Pipeline] lock 06:12:20 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] 06:12:20 Resource [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] did not exist. Created. 06:12:20 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:20 + echo total: 0.2199999988079071 [Pipeline] stash 06:12:20 Stashed 1 file(s) [Pipeline] } 06:12:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:20 $ docker stop --time=1 cbc6a9f5a383c550760f281888aea19c719a6001bb11f387289fb1d79f12fc71 06:12:21 $ docker rm -f --volumes cbc6a9f5a383c550760f281888aea19c719a6001bb11f387289fb1d79f12fc71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:12:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7095 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 06:12:58 Running in /w/workspace/device-snmp-go/68 [Pipeline] { [Pipeline] checkout 06:12:58 Selected Git installation does not exist. Using Default 06:12:58 The recommended git tool is: NONE 06:13:05 using credential edgex-jenkins-ssh 06:13:05 Cloning the remote Git repository 06:13:05 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:13:05 > git init /w/workspace/device-snmp-go/68 # timeout=10 06:13:06 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:13:06 > git --version # timeout=10 06:13:06 > git --version # 'git version 2.25.1' 06:13:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:07 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:13:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:08 Avoid second fetch 06:13:08 Checking out Revision e525481a5759a3c7c2210679b705fbdd3017b839 (main) 06:13:08 > git config core.sparsecheckout # timeout=10 06:13:08 > git checkout -f e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 06:13:09 Commit message: "Merge pull request #281 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:13:10 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:10 Dload Upload Total Spent Left Speed 06:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 06:13:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:13:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:13:11 + sudo tee /etc/docker/daemon.new 06:13:11 { 06:13:11 "registry-mirrors": [ 06:13:11 "https://nexus3.edgexfoundry.org:10001" 06:13:11 ], 06:13:11 "bip": "10.250.0.254/24", 06:13:11 "hosts": [ 06:13:11 "tcp://0.0.0.0:5555", 06:13:11 "unix:///var/run/docker.sock" 06:13:11 ], 06:13:11 "mtu": 1458, 06:13:11 "selinux-enabled": true, 06:13:11 "seccomp-profile": "/etc/docker/seccomp.json" 06:13:11 } [Pipeline] sh 06:13:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:13:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:30 provisioning config files... 06:13:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/68@tmp/config7019950096233686604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:31 ---> docker-login.sh 06:13:31 nexus3.edgexfoundry.org:10001 06:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:31 Configure a credential helper to remove this warning. See 06:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:31 06:13:31 Login Succeeded 06:13:31 nexus3.edgexfoundry.org:10002 06:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:32 Configure a credential helper to remove this warning. See 06:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:32 06:13:32 Login Succeeded 06:13:32 nexus3.edgexfoundry.org:10003 06:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:32 Configure a credential helper to remove this warning. See 06:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:32 06:13:32 Login Succeeded 06:13:32 nexus3.edgexfoundry.org:10004 06:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:33 Configure a credential helper to remove this warning. See 06:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:33 06:13:33 Login Succeeded 06:13:33 docker.io 06:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:33 Configure a credential helper to remove this warning. See 06:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:33 06:13:33 Login Succeeded 06:13:33 ---> docker-login.sh ends [Pipeline] } 06:13:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:34 ========================================================= 06:13:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:13:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:13:34 Sending build context to Docker daemon 2.971MB 06:13:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:13:34 Step 2/12 : FROM ${BASE} AS builder 06:13:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:37 af6eaf76a39c: Pulling fs layer 06:13:37 55522c791124: Pulling fs layer 06:13:37 ce5c4a1c91eb: Pulling fs layer 06:13:37 169dfbe0d373: Pulling fs layer 06:13:37 e1ff8fa3b103: Pulling fs layer 06:13:37 52ebb69f0ebf: Pulling fs layer 06:13:37 5abe8eddf0d5: Pulling fs layer 06:13:37 e1ff8fa3b103: Waiting 06:13:37 52ebb69f0ebf: Waiting 06:13:37 169dfbe0d373: Waiting 06:13:37 5abe8eddf0d5: Waiting 06:13:37 55522c791124: Verifying Checksum 06:13:37 55522c791124: Download complete 06:13:37 169dfbe0d373: Verifying Checksum 06:13:37 169dfbe0d373: Download complete 06:13:37 e1ff8fa3b103: Verifying Checksum 06:13:37 e1ff8fa3b103: Download complete 06:13:37 af6eaf76a39c: Verifying Checksum 06:13:37 af6eaf76a39c: Download complete 06:13:38 af6eaf76a39c: Pull complete 06:13:38 5abe8eddf0d5: Verifying Checksum 06:13:38 5abe8eddf0d5: Download complete 06:13:38 55522c791124: Pull complete 06:13:39 ce5c4a1c91eb: Verifying Checksum 06:13:39 ce5c4a1c91eb: Download complete 06:13:40 52ebb69f0ebf: Verifying Checksum 06:13:52 ce5c4a1c91eb: Pull complete 06:13:52 169dfbe0d373: Pull complete 06:13:52 e1ff8fa3b103: Pull complete 06:13:59 52ebb69f0ebf: Pull complete 06:14:04 5abe8eddf0d5: Pull complete 06:14:04 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:14:04 ---> 6cb57ee374ae 06:14:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:14:05 ---> Running in 851dfe7b466f 06:14:06 Removing intermediate container 851dfe7b466f 06:14:06 ---> 1b7951ff163b 06:14:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:06 ---> Running in 22a28ac10ab6 06:14:06 Removing intermediate container 22a28ac10ab6 06:14:06 ---> aff6fb6772ef 06:14:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:14:06 ---> Running in cd146b9e9026 06:14:07 Removing intermediate container cd146b9e9026 06:14:07 ---> 1ffd32a43b19 06:14:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:14:07 ---> Running in fe1844266f77 06:14:07 Removing intermediate container fe1844266f77 06:14:07 ---> de8cb7c722d4 06:14:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:07 ---> Running in 6231e77630cc 06:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:14:10 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:14:10 (2/4) Installing libedit (20221030.3.1-r0) 06:14:10 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:14:10 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:14:10 Executing busybox-1.35.0-r29.trigger 06:14:10 OK: 268 MiB in 57 packages 06:14:12 Removing intermediate container 6231e77630cc 06:14:12 ---> b93e775dfe0f 06:14:12 Step 8/12 : WORKDIR /device-snmp-go 06:14:12 ---> Running in 41432d4d1be0 06:14:12 Removing intermediate container 41432d4d1be0 06:14:12 ---> 6f8abedccbc6 06:14:12 Step 9/12 : COPY go.mod vendor* ./ 06:14:13 ---> 31a671d23af8 06:14:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:13 ---> Running in e9383d2482a3 06:15:21 Removing intermediate container e9383d2482a3 06:15:21 ---> 07dbaf319fd9 06:15:21 Step 11/12 : COPY . . 06:15:21 ---> acb03ce508c6 06:15:21 Step 12/12 : RUN ${MAKE} 06:15:21 ---> Running in 9240cf26f25b 06:15:21 noop 06:15:21 Removing intermediate container 9240cf26f25b 06:15:21 ---> 3c8cbe5e9139 06:15:21 Successfully built 3c8cbe5e9139 06:15:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:21 + docker inspect -f . ci-base-image-arm64 06:15:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:22 prd-ubuntu20.04-docker-arm64-4c-16g-7095 does not seem to be running inside a container 06:15:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/68 -v /w/workspace/device-snmp-go/68:/w/workspace/device-snmp-go/68:rw,z -v /w/workspace/device-snmp-go/68@tmp:/w/workspace/device-snmp-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:23 $ docker top 61a7f08b82a8419d3aa790daefde10273596428bae948d5f0aa3378f9a091b0b -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:24 + go version 06:15:24 go version go1.20.2 linux/arm64 [Pipeline] } 06:15:24 $ docker stop --time=1 61a7f08b82a8419d3aa790daefde10273596428bae948d5f0aa3378f9a091b0b 06:15:26 $ docker rm -f --volumes 61a7f08b82a8419d3aa790daefde10273596428bae948d5f0aa3378f9a091b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:27 + docker inspect -f . ci-base-image-arm64 06:15:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:27 prd-ubuntu20.04-docker-arm64-4c-16g-7095 does not seem to be running inside a container 06:15:27 $ 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/68 -v /w/workspace/device-snmp-go/68:/w/workspace/device-snmp-go/68:rw,z -v /w/workspace/device-snmp-go/68@tmp:/w/workspace/device-snmp-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:28 $ docker top 7ebc7585ce4a0f7b9a52ea40c256e4071eb9f59b6789a6badbc638a254c59e4c -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:29 + git config --global --add safe.directory /w/workspace/device-snmp-go/68 [Pipeline] fileExists [Pipeline] sh 06:15:30 + make test 06:15:30 go test ./... -coverprofile=coverage.out 06:16:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:18:54 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:18:54 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements 06:18:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:18:54 go vet ./... 06:19:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:19:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:19:26 ./bin/test-attribution-txt.sh 06:19:26 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:19:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:19:26 $ docker stop --time=1 7ebc7585ce4a0f7b9a52ea40c256e4071eb9f59b6789a6badbc638a254c59e4c 06:19:28 $ docker rm -f --volumes 7ebc7585ce4a0f7b9a52ea40c256e4071eb9f59b6789a6badbc638a254c59e4c [Pipeline] // withDockerContainer [Pipeline] sh 06:19:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:19:29 Warning: overwriting stash ‘coverage-report’ 06:19:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:19:31 + ls -al . 06:19:31 total 164 06:19:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:15 . 06:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:13 .. 06:19:31 -rw-rw-r-- 1 jenkins jenkins 6 Apr 7 06:13 .dockerignore 06:19:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:13 .git 06:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:13 .github 06:19:31 -rw-rw-r-- 1 jenkins jenkins 328 Apr 7 06:13 .gitignore 06:19:31 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:13 .golangci.yml 06:19:31 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 7 06:13 Attribution.txt 06:19:31 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 7 06:13 CHANGELOG.md 06:19:31 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 7 06:13 Dockerfile 06:19:31 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:13 GOVERNANCE.md 06:19:31 -rw-rw-r-- 1 jenkins jenkins 656 Apr 7 06:13 Jenkinsfile 06:19:31 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:13 LICENSE 06:19:31 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 7 06:13 Makefile 06:19:31 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:13 OWNERS.md 06:19:31 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 7 06:13 README.md 06:19:31 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 06:10 VERSION 06:19:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:13 bin 06:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:13 cmd 06:19:31 -rw-r--r-- 1 jenkins jenkins 7630 Apr 7 06:18 coverage.out 06:19:31 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 7 06:13 go.mod 06:19:31 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 7 06:13 go.sum 06:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:13 internal 06:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:13 snap 06:19:31 -rw-rw-r-- 1 jenkins jenkins 228 Apr 7 06:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:31 + 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=e525481a5759a3c7c2210679b705fbdd3017b839 --label arch=arm64 --label version=3.0.0-dev.11 . 06:19:31 Sending build context to Docker daemon 2.979MB 06:19:31 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:19:31 Step 2/24 : FROM ${BASE} AS builder 06:19:31 ---> 3c8cbe5e9139 06:19:31 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:19:35 ---> Running in 7c006ffd6449 06:19:35 Removing intermediate container 7c006ffd6449 06:19:35 ---> 3a25d3d8d66d 06:19:35 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:19:35 ---> Running in 5b495e06f335 06:19:35 Removing intermediate container 5b495e06f335 06:19:35 ---> b4261d2f0bf0 06:19:35 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:19:35 ---> Running in b1d73bf382cf 06:19:36 Removing intermediate container b1d73bf382cf 06:19:36 ---> 8c6d10c61620 06:19:36 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:19:36 ---> Running in 6b1ccda29b5c 06:19:36 Removing intermediate container 6b1ccda29b5c 06:19:36 ---> f7e6e613bf4a 06:19:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:19:36 ---> Running in 09455b8e4a57 06:19:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:19:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:19:40 OK: 268 MiB in 57 packages 06:19:42 Removing intermediate container 09455b8e4a57 06:19:42 ---> 43d15c60cbe5 06:19:42 Step 8/24 : WORKDIR /device-snmp-go 06:19:42 ---> Running in 54597f5c9e55 06:19:43 Removing intermediate container 54597f5c9e55 06:19:43 ---> 7f01cece0696 06:19:43 Step 9/24 : COPY go.mod vendor* ./ 06:19:43 ---> ef4bda0aef69 06:19:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:43 ---> Running in 6b48d9b6c443 06:19:47 Removing intermediate container 6b48d9b6c443 06:19:47 ---> 40e2cee603cb 06:19:47 Step 11/24 : COPY . . 06:19:47 ---> c916cf64e7d2 06:19:47 Step 12/24 : RUN ${MAKE} 06:19:47 ---> Running in 73f2aaec592c 06:19:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:22:25 Removing intermediate container 73f2aaec592c 06:22:25 ---> cc29a32a2b6d 06:22:25 Step 13/24 : FROM alpine:3.17 06:22:25 3.17: Pulling from library/alpine 06:22:25 c41833b44d91: Pulling fs layer 06:22:25 c41833b44d91: Verifying Checksum 06:22:25 c41833b44d91: Download complete 06:22:25 c41833b44d91: Pull complete 06:22:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:22:25 Status: Downloaded newer image for alpine:3.17 06:22:25 ---> 51e60588ff2c 06:22:25 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:22:25 ---> Running in fe392d226879 06:22:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:22:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:22:27 (1/1) Installing dumb-init (1.2.5-r2) 06:22:27 Executing busybox-1.35.0-r29.trigger 06:22:27 OK: 8 MiB in 16 packages 06:22:29 Removing intermediate container fe392d226879 06:22:29 ---> cb123a455056 06:22:29 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:22:31 ---> f65acd4609ab 06:22:31 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:22:31 ---> 887618988a5a 06:22:31 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:22:32 ---> 1e323ba63420 06:22:32 Step 18/24 : EXPOSE 59993 06:22:32 ---> Running in 600f16dd9f71 06:22:32 Removing intermediate container 600f16dd9f71 06:22:32 ---> 4514ad61eaf2 06:22:32 Step 19/24 : EXPOSE 161 06:22:32 ---> Running in 56f7fa9be407 06:22:32 Removing intermediate container 56f7fa9be407 06:22:32 ---> 94fcc720b9ef 06:22:32 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:22:33 ---> Running in c9433cfe3e51 06:22:33 Removing intermediate container c9433cfe3e51 06:22:33 ---> 1fcb57e78aa7 06:22:33 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:22:33 ---> Running in da68a0d21e9a 06:22:33 Removing intermediate container da68a0d21e9a 06:22:33 ---> 741a0ad3b62b 06:22:33 Step 22/24 : LABEL arch=arm64 06:22:33 ---> Running in b04eaba810e8 06:22:34 Removing intermediate container b04eaba810e8 06:22:34 ---> 5b81447d4701 06:22:34 Step 23/24 : LABEL git_sha=e525481a5759a3c7c2210679b705fbdd3017b839 06:22:34 ---> Running in 3524d1e8a7cb 06:22:34 Removing intermediate container 3524d1e8a7cb 06:22:34 ---> 463147af1ae9 06:22:34 Step 24/24 : LABEL version=3.0.0-dev.11 06:22:34 ---> Running in 79244de524d8 06:22:34 Removing intermediate container 79244de524d8 06:22:34 ---> 8a8b9041dfab 06:22:34 [Warning] One or more build-args [ARCH] were not consumed 06:22:34 Successfully built 8a8b9041dfab 06:22:34 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:34 provisioning config files... 06:22:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/68@tmp/config12235159178976066850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:35 ---> docker-login.sh 06:22:35 nexus3.edgexfoundry.org:10001 06:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:35 Configure a credential helper to remove this warning. See 06:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:35 06:22:35 Login Succeeded 06:22:35 nexus3.edgexfoundry.org:10002 06:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:36 Configure a credential helper to remove this warning. See 06:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:36 06:22:36 Login Succeeded 06:22:36 nexus3.edgexfoundry.org:10003 06:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:36 Configure a credential helper to remove this warning. See 06:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:36 06:22:36 Login Succeeded 06:22:36 nexus3.edgexfoundry.org:10004 06:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:36 Configure a credential helper to remove this warning. See 06:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:36 06:22:36 Login Succeeded 06:22:36 docker.io 06:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:37 Configure a credential helper to remove this warning. See 06:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:37 06:22:37 Login Succeeded 06:22:37 ---> docker-login.sh ends [Pipeline] } 06:22:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:22:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:22:37 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 06:22:37 e525481a5759a3c7c2210679b705fbdd3017b839 06:22:37 latest 06:22:37 3.0.0-dev.11 06:22:37 e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 06:22:37 main 06:22:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:37 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:e525481a5759a3c7c2210679b705fbdd3017b839 06:22:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:22:38 ab51a7577159: Preparing 06:22:38 03a6c8572419: Preparing 06:22:38 5def7d2cf492: Preparing 06:22:38 095d5d5437d7: Preparing 06:22:38 26cbea5cba74: Preparing 06:22:38 26cbea5cba74: Layer already exists 06:22:38 ab51a7577159: Pushed 06:22:38 03a6c8572419: Pushed 06:22:38 095d5d5437d7: Pushed 06:22:44 5def7d2cf492: Pushed 06:22:44 e525481a5759a3c7c2210679b705fbdd3017b839: digest: sha256:dd9833e13502e8f3992d4c0d66e5e6b41f578eb15dcc8eb2a8f5b40ad13b301c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:45 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:22:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:22:45 ab51a7577159: Preparing 06:22:45 03a6c8572419: Preparing 06:22:45 5def7d2cf492: Preparing 06:22:45 095d5d5437d7: Preparing 06:22:45 26cbea5cba74: Preparing 06:22:45 26cbea5cba74: Layer already exists 06:22:45 ab51a7577159: Layer already exists 06:22:45 5def7d2cf492: Layer already exists 06:22:45 095d5d5437d7: Layer already exists 06:22:45 03a6c8572419: Layer already exists 06:22:45 latest: digest: sha256:dd9833e13502e8f3992d4c0d66e5e6b41f578eb15dcc8eb2a8f5b40ad13b301c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:46 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.11 06:22:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:22:46 ab51a7577159: Preparing 06:22:46 03a6c8572419: Preparing 06:22:46 5def7d2cf492: Preparing 06:22:46 095d5d5437d7: Preparing 06:22:46 26cbea5cba74: Preparing 06:22:46 26cbea5cba74: Layer already exists 06:22:46 095d5d5437d7: Layer already exists 06:22:46 5def7d2cf492: Layer already exists 06:22:46 ab51a7577159: Layer already exists 06:22:46 03a6c8572419: Layer already exists 06:22:46 3.0.0-dev.11: digest: sha256:dd9833e13502e8f3992d4c0d66e5e6b41f578eb15dcc8eb2a8f5b40ad13b301c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:46 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 06:22:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:22:47 ab51a7577159: Preparing 06:22:47 03a6c8572419: Preparing 06:22:47 5def7d2cf492: Preparing 06:22:47 095d5d5437d7: Preparing 06:22:47 26cbea5cba74: Preparing 06:22:47 26cbea5cba74: Layer already exists 06:22:47 ab51a7577159: Layer already exists 06:22:47 5def7d2cf492: Layer already exists 06:22:47 03a6c8572419: Layer already exists 06:22:47 095d5d5437d7: Layer already exists 06:22:47 e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11: digest: sha256:dd9833e13502e8f3992d4c0d66e5e6b41f578eb15dcc8eb2a8f5b40ad13b301c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:47 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 06:22:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:22:47 ab51a7577159: Preparing 06:22:47 03a6c8572419: Preparing 06:22:47 5def7d2cf492: Preparing 06:22:47 095d5d5437d7: Preparing 06:22:47 26cbea5cba74: Preparing 06:22:47 03a6c8572419: Layer already exists 06:22:47 095d5d5437d7: Layer already exists 06:22:47 ab51a7577159: Layer already exists 06:22:47 26cbea5cba74: Layer already exists 06:22:47 5def7d2cf492: Layer already exists 06:22:47 main: digest: sha256:dd9833e13502e8f3992d4c0d66e5e6b41f578eb15dcc8eb2a8f5b40ad13b301c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:22:48 ===================================================== [Pipeline] echo 06:22:48 taggedImages: 06:22:48 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:e525481a5759a3c7c2210679b705fbdd3017b839 06:22:48 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:22:48 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.11 06:22:48 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:e525481a5759a3c7c2210679b705fbdd3017b839-3.0.0-dev.11 06:22:48 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:22:48 06:22:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:22:48 arm64: Pulling from edgex-lftools-log-publisher 06:22:48 8998bd30e6a1: Pulling fs layer 06:22:48 04944245beec: Pulling fs layer 06:22:48 699f458cf7ca: Pulling fs layer 06:22:48 765212b225bb: Pulling fs layer 06:22:48 f23df028b6ca: Pulling fs layer 06:22:48 d65c8cfc05b1: Pulling fs layer 06:22:48 2437ff75d9bd: Pulling fs layer 06:22:48 f23df028b6ca: Waiting 06:22:48 765212b225bb: Waiting 06:22:48 d65c8cfc05b1: Waiting 06:22:48 2437ff75d9bd: Waiting 06:22:49 04944245beec: Verifying Checksum 06:22:49 04944245beec: Download complete 06:22:49 765212b225bb: Verifying Checksum 06:22:49 765212b225bb: Download complete 06:22:49 f23df028b6ca: Verifying Checksum 06:22:49 f23df028b6ca: Download complete 06:22:49 d65c8cfc05b1: Verifying Checksum 06:22:49 d65c8cfc05b1: Download complete 06:22:49 699f458cf7ca: Verifying Checksum 06:22:49 699f458cf7ca: Download complete 06:22:49 8998bd30e6a1: Verifying Checksum 06:22:49 8998bd30e6a1: Download complete 06:22:51 2437ff75d9bd: Download complete 06:22:53 8998bd30e6a1: Pull complete 06:22:53 04944245beec: Pull complete 06:22:57 699f458cf7ca: Pull complete 06:22:57 765212b225bb: Pull complete 06:22:57 f23df028b6ca: Pull complete 06:22:58 d65c8cfc05b1: Pull complete 06:23:10 2437ff75d9bd: Pull complete 06:23:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:23:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:10 prd-ubuntu20.04-docker-arm64-4c-16g-7095 does not seem to be running inside a container 06:23:11 $ 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/68 -v /w/workspace/device-snmp-go/68:/w/workspace/device-snmp-go/68:rw,z -v /w/workspace/device-snmp-go/68@tmp:/w/workspace/device-snmp-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:23:13 $ docker top 0f8f842b7410a17c48d49981a8c0d1ced0d441c6c91b01ce0d2f85fb8c1bdd24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:14 ---> job-cost.sh 06:23:14 lf-activate-venv: SKIPPING 06:23:14 INFO: No Stack... 06:23:15 INFO: Retrieving Pricing Info for: v3-standard-4 06:23:15 INFO: Archiving Costs [Pipeline] sh 06:23:15 + cat /w/workspace/device-snmp-go/68/archives/cost.csv 06:23:15 + cut -d, -f6 [Pipeline] lock 06:23:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] 06:23:16 Resource [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] did not exist. Created. 06:23:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:16 /w/workspace/device-snmp-go/68@tmp/durable-abd03374/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:23:17 + echo total: 0.10999999940395355 [Pipeline] stash 06:23:17 Warning: overwriting stash ‘stack-cost’ 06:23:17 Stashed 1 file(s) [Pipeline] } 06:23:17 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:17 $ docker stop --time=1 0f8f842b7410a17c48d49981a8c0d1ced0d441c6c91b01ce0d2f85fb8c1bdd24 06:23:18 $ docker rm -f --volumes 0f8f842b7410a17c48d49981a8c0d1ced0d441c6c91b01ce0d2f85fb8c1bdd24 [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 06:23:19 provisioning config files... 06:23:19 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7278311335872125690tmp [Pipeline] { [Pipeline] sh 06:23:19 + set +x 06:23:19 + curl -s https://codecov.io/bash 06:23:19 + bash -s -- 06:23:19 06:23:19 _____ _ 06:23:19 / ____| | | 06:23:19 | | ___ __| | ___ ___ _____ __ 06:23:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:23:19 | |___| (_) | (_| | __/ (_| (_) \ V / 06:23:19 \_____\___/ \__,_|\___|\___\___/ \_/ 06:23:19 Bash-1.0.6 06:23:19 06:23:19 06:23:19 ==> git version 2.25.1 found 06:23:19 ==> 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 06:23:19 Release-Date: 2020-01-08 06:23:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:23:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:23:19 ==> Jenkins CI detected. 06:23:19 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 06:23:19 project root: . 06:23:19 --> token set from env 06:23:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:23:19 ==> Running gcov in . (disable via -X gcov) 06:23:19 ==> Python coveragepy not found 06:23:19 ==> Searching for coverage reports in: 06:23:19 + . 06:23:19 -> Found 1 reports 06:23:19 ==> Detecting git/mercurial file structure 06:23:19 ==> Reading reports 06:23:19 + ./coverage.out bytes=7630 06:23:19 ==> Appending adjustments 06:23:19 https://docs.codecov.io/docs/fixing-reports 06:23:19 + Found adjustments 06:23:19 ==> Gzipping contents 06:23:19 4.0K /tmp/codecov.7TuOhX.gz 06:23:19 ==> Uploading reports 06:23:19 url: https://codecov.io 06:23:19 query: branch=main&commit=e525481a5759a3c7c2210679b705fbdd3017b839&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:23:19 -> Pinging Codecov 06:23:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=e525481a5759a3c7c2210679b705fbdd3017b839&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:23:19 -> Uploading to 06:23:19 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/6C56EA5C29638FB4528AC87E60AF5AE0/e525481a5759a3c7c2210679b705fbdd3017b839/aba0a4af-8199-4cda-9a21-3376a8bcfefa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T062319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f156007625a14752c92113a7e8aefd2d36d35a05dd4e0477a6e8d2f99c98de0 06:23:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:23:19 Dload Upload Total Spent Left Speed 06:23:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1439 0 0 100 1439 0 4979 --:--:-- --:--:-- --:--:-- 4979 06:23:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] } 06:23:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:23:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:23:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:23:20 06:23:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:23:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:23:21 df9b9388f04a: Pulling fs layer 06:23:21 52dc419b0ee2: Pulling fs layer 06:23:21 25bc292e5bac: Pulling fs layer 06:23:21 114826534d7a: Pulling fs layer 06:23:21 4657fd5d0bcf: Pulling fs layer 06:23:21 6ad1cebc031e: Pulling fs layer 06:23:21 8a3aa393b2d8: Pulling fs layer 06:23:21 114826534d7a: Waiting 06:23:21 4657fd5d0bcf: Waiting 06:23:21 6ad1cebc031e: Waiting 06:23:21 8a3aa393b2d8: Waiting 06:23:21 25bc292e5bac: Download complete 06:23:21 52dc419b0ee2: Verifying Checksum 06:23:21 52dc419b0ee2: Download complete 06:23:21 4657fd5d0bcf: Verifying Checksum 06:23:21 4657fd5d0bcf: Download complete 06:23:21 df9b9388f04a: Verifying Checksum 06:23:21 df9b9388f04a: Download complete 06:23:21 6ad1cebc031e: Verifying Checksum 06:23:21 6ad1cebc031e: Download complete 06:23:21 df9b9388f04a: Pull complete 06:23:21 52dc419b0ee2: Pull complete 06:23:21 25bc292e5bac: Pull complete 06:23:21 114826534d7a: Verifying Checksum 06:23:21 114826534d7a: Download complete 06:23:21 8a3aa393b2d8: Verifying Checksum 06:23:21 8a3aa393b2d8: Download complete 06:23:25 114826534d7a: Pull complete 06:23:25 4657fd5d0bcf: Pull complete 06:23:25 6ad1cebc031e: Pull complete 06:23:28 8a3aa393b2d8: Pull complete 06:23:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:23:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:23:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:28 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:23:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:23:30 $ docker top 7a52f2dae9077f7e8a17bfc2e8cc4b494a8780d9ad22e642ead437cd52f35039 -eo pid,comm [Pipeline] { [Pipeline] echo 06:23:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 06:23:31 + set -o pipefail 06:23:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 06:23:35 06:23:35 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 06:23:35 06:23:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/84cac977-1ee4-443d-a3ab-edc2aa6e939b 06:23:35 06:23:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:23:35 06:23:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:23:35 06:23:35 06:23:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:23:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:23:35 More details here: https://snyk.co/ue1NS 06:23:35 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:23:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:23:35 $ docker stop --time=1 7a52f2dae9077f7e8a17bfc2e8cc4b494a8780d9ad22e642ead437cd52f35039 06:23:37 $ docker rm -f --volumes 7a52f2dae9077f7e8a17bfc2e8cc4b494a8780d9ad22e642ead437cd52f35039 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:38 + git log --format=format:%s -1 e525481a5759a3c7c2210679b705fbdd3017b839 [Pipeline] sh 06:23:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:23:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:39 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:23:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:23:39 $ docker top 76b01608acc6b7c36dfcf708d2cf209a8447edb10b2dc3a98d36e9360d138fc7 -eo pid,comm 06:23:39 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). 06:23:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:39 [ssh-agent] Looking for ssh-agent implementation... 06:23:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:39 $ docker exec 76b01608acc6b7c36dfcf708d2cf209a8447edb10b2dc3a98d36e9360d138fc7 ssh-agent 06:23:39 SSH_AUTH_SOCK=/tmp/ssh-pK8HnOF49E3U/agent.33 06:23:39 SSH_AGENT_PID=39 06:23:39 Running ssh-add (command line suppressed) 06:23:40 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11317480551362225376.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11317480551362225376.key) 06:23:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:40 + git semver tag 06:23:40 2023-04-07 06:23:40,501 [run_tag] DEBUG tag force:False 06:23:40 2023-04-07 06:23:40,501 [check_head_tag] DEBUG check head tag 06:23:40 2023-04-07 06:23:40,502 [execute] INFO git cat-file --batch-check 06:23:40 2023-04-07 06:23:40,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:23:40 2023-04-07 06:23:40,506 [execute] INFO git cat-file --batch 06:23:40 2023-04-07 06:23:40,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:23:40 2023-04-07 06:23:40,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:23:40 2023-04-07 06:23:40,523 [execute] INFO git tag -a v3.0.0-dev.11 -m v3.0.0-dev.11 06:23:40 2023-04-07 06:23:40,523 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.11', '-m', 'v3.0.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:23:40 2023-04-07 06:23:40,527 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:23:40 3.0.0-dev.11 [Pipeline] } 06:23:40 $ docker exec --env ******** --env ******** 76b01608acc6b7c36dfcf708d2cf209a8447edb10b2dc3a98d36e9360d138fc7 ssh-agent -k 06:23:40 unset SSH_AUTH_SOCK; 06:23:40 unset SSH_AGENT_PID; 06:23:40 echo Agent pid 39 killed; 06:23:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:23:40 + git semver [Pipeline] } 06:23:41 $ docker stop --time=1 76b01608acc6b7c36dfcf708d2cf209a8447edb10b2dc3a98d36e9360d138fc7 06:23:42 $ docker rm -f --volumes 76b01608acc6b7c36dfcf708d2cf209a8447edb10b2dc3a98d36e9360d138fc7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:23:42 06:23:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:23:43 0.23.1-centos7: Pulling from edgex-lftools 06:23:43 ab5ef0e58194: Pulling fs layer 06:23:43 9712f1f96733: Pulling fs layer 06:23:43 63f879dbbcfc: Pulling fs layer 06:23:43 0d9ebad4ef96: Pulling fs layer 06:23:43 e9a5061849ea: Pulling fs layer 06:23:43 d747dcd14b5f: Pulling fs layer 06:23:43 2de7ff778b66: Pulling fs layer 06:23:43 0d9ebad4ef96: Waiting 06:23:43 e9a5061849ea: Waiting 06:23:43 d747dcd14b5f: Waiting 06:23:43 2de7ff778b66: Waiting 06:23:43 9712f1f96733: Verifying Checksum 06:23:43 9712f1f96733: Download complete 06:23:43 63f879dbbcfc: Verifying Checksum 06:23:43 63f879dbbcfc: Download complete 06:23:43 e9a5061849ea: Verifying Checksum 06:23:43 e9a5061849ea: Download complete 06:23:43 ab5ef0e58194: Verifying Checksum 06:23:43 ab5ef0e58194: Download complete 06:23:43 d747dcd14b5f: Download complete 06:23:43 0d9ebad4ef96: Verifying Checksum 06:23:43 0d9ebad4ef96: Download complete 06:23:43 2de7ff778b66: Verifying Checksum 06:23:43 2de7ff778b66: Download complete 06:23:46 ab5ef0e58194: Pull complete 06:23:46 9712f1f96733: Pull complete 06:23:46 63f879dbbcfc: Pull complete 06:23:50 0d9ebad4ef96: Pull complete 06:23:50 e9a5061849ea: Pull complete 06:23:50 d747dcd14b5f: Pull complete 06:23:51 2de7ff778b66: Pull complete 06:23:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:23:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:23:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:51 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:23:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:23:54 $ docker top b9bdcf30c5f9483cc5986fe0d1a30cf6544ff207f69215fae2c4aec1d08e3865 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:23:54 provisioning config files... 06:23:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6415852744489074399tmp 06:23:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17697940669529555702tmp 06:23:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17957068385213388373tmp [Pipeline] { [Pipeline] echo 06:23:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:23:54 ---> sigul-configuration.sh 06:23:54 gpg: directory `/root/.gnupg' created 06:23:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:23:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:23:54 gpg: keyring `/root/.gnupg/secring.gpg' created 06:23:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:23:54 gpg: CAST5 encrypted data 06:23:54 gpg: encrypted with 1 passphrase 06:23:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:23:54 + mkdir /home/jenkins 06:23:54 + mkdir /home/jenkins/sigul [Pipeline] sh 06:23:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:23:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:23:55 ---> sigul-install.sh 06:23:55 Sigul already installed; skipping installation. [Pipeline] sh 06:23:55 + git tag --list 06:23:55 1.0.0 06:23:55 v0.0.0 06:23:55 v1.1.0 06:23:55 v1.1.1 06:23:55 v1.2.2 06:23:55 v1.3.0 06:23:55 v1.3.1 06:23:55 v2.0.0 06:23:55 v2.1.0 06:23:55 v2.1.1 06:23:55 v2.1.1-dev.2 06:23:55 v2.1.1-dev.3 06:23:55 v2.2.0 06:23:55 v2.2.1-dev.1 06:23:55 v2.2.1-dev.2 06:23:55 v2.2.1-dev.3 06:23:55 v2.2.1-dev.4 06:23:55 v2.2.1-dev.5 06:23:55 v2.2.1-dev.6 06:23:55 v2.2.1-dev.7 06:23:55 v2.3.0 06:23:55 v2.3.0-dev.10 06:23:55 v2.3.0-dev.11 06:23:55 v2.3.0-dev.12 06:23:55 v2.3.0-dev.13 06:23:55 v2.3.0-dev.14 06:23:55 v2.3.0-dev.15 06:23:55 v2.3.0-dev.16 06:23:55 v2.3.0-dev.17 06:23:55 v2.3.0-dev.18 06:23:55 v2.3.0-dev.19 06:23:55 v2.3.0-dev.20 06:23:55 v2.3.0-dev.21 06:23:55 v2.3.0-dev.22 06:23:55 v2.3.0-dev.23 06:23:55 v2.3.0-dev.24 06:23:55 v2.3.0-dev.7 06:23:55 v2.3.0-dev.8 06:23:55 v2.3.0-dev.9 06:23:55 v3.0.0-dev.1 06:23:55 v3.0.0-dev.10 06:23:55 v3.0.0-dev.11 06:23:55 v3.0.0-dev.2 06:23:55 v3.0.0-dev.3 06:23:55 v3.0.0-dev.4 06:23:55 v3.0.0-dev.5 06:23:55 v3.0.0-dev.6 06:23:55 v3.0.0-dev.7 06:23:55 v3.0.0-dev.8 06:23:55 v3.0.0-dev.9 [Pipeline] sh 06:23:55 + lftools sign git-tag v3.0.0-dev.11 06:23:56 Signing Git tag with Sigul... 06:23:56 Signing v3.0.0-dev.11 [Pipeline] echo 06:23:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:23:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:23:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:23:57 $ docker stop --time=1 b9bdcf30c5f9483cc5986fe0d1a30cf6544ff207f69215fae2c4aec1d08e3865 06:23:58 $ docker rm -f --volumes b9bdcf30c5f9483cc5986fe0d1a30cf6544ff207f69215fae2c4aec1d08e3865 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:23:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:23:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:59 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:23:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:23:59 $ docker top 49f95f5268c48b93ce7c7960143fd5d4dae3cff36a4ef4af1ceebbb21eba2df6 -eo pid,comm 06:23:59 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). 06:23:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:59 [ssh-agent] Looking for ssh-agent implementation... 06:23:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:59 $ docker exec 49f95f5268c48b93ce7c7960143fd5d4dae3cff36a4ef4af1ceebbb21eba2df6 ssh-agent 06:23:59 SSH_AUTH_SOCK=/tmp/ssh-GaOJMOzYe0pT/agent.32 06:23:59 SSH_AGENT_PID=38 06:23:59 Running ssh-add (command line suppressed) 06:23:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10708845574283551091.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10708845574283551091.key) 06:23:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:00 + git semver bump pre 06:24:00 2023-04-07 06:24:00,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:24:00 2023-04-07 06:24:00,330 [bump_version] DEBUG bumping version:3.0.0-dev.11 on axis:pre with prefix:dev 06:24:00 2023-04-07 06:24:00,330 [bump_version] DEBUG bumped version:3.0.0-dev.12 06:24:00 2023-04-07 06:24:00,330 [write_version] DEBUG write version:3.0.0-dev.12 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 06:24:00 2023-04-07 06:24:00,331 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:24:00 2023-04-07 06:24:00,331 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:24:00 2023-04-07 06:24:00,332 [execute] INFO git cat-file --batch-check 06:24:00 2023-04-07 06:24:00,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:00 2023-04-07 06:24:00,336 [execute] INFO git cat-file --batch 06:24:00 2023-04-07 06:24:00,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:00 2023-04-07 06:24:00,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:24:00 3.0.0-dev.12 [Pipeline] } 06:24:00 $ docker exec --env ******** --env ******** 49f95f5268c48b93ce7c7960143fd5d4dae3cff36a4ef4af1ceebbb21eba2df6 ssh-agent -k 06:24:00 unset SSH_AUTH_SOCK; 06:24:00 unset SSH_AGENT_PID; 06:24:00 echo Agent pid 38 killed; 06:24:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:00 + git semver [Pipeline] } 06:24:01 $ docker stop --time=1 49f95f5268c48b93ce7c7960143fd5d4dae3cff36a4ef4af1ceebbb21eba2df6 06:24:02 $ docker rm -f --volumes 49f95f5268c48b93ce7c7960143fd5d4dae3cff36a4ef4af1ceebbb21eba2df6 [Pipeline] // withDockerContainer [Pipeline] sh 06:24:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:03 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:24:03 $ docker top 89139cb3ba78b52823f286a32a6d886afc2ab8a829aa4f48bb48dc78f6386156 -eo pid,comm 06:24:03 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). 06:24:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:03 [ssh-agent] Looking for ssh-agent implementation... 06:24:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:03 $ docker exec 89139cb3ba78b52823f286a32a6d886afc2ab8a829aa4f48bb48dc78f6386156 ssh-agent 06:24:03 SSH_AUTH_SOCK=/tmp/ssh-26jP4Oi8LLXy/agent.34 06:24:03 SSH_AGENT_PID=40 06:24:03 Running ssh-add (command line suppressed) 06:24:03 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10601009305549887361.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10601009305549887361.key) 06:24:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:04 + git semver push 06:24:04 2023-04-07 06:24:04,337 [run_push] DEBUG push 06:24:04 2023-04-07 06:24:04,337 [execute] INFO git cat-file --batch-check 06:24:04 2023-04-07 06:24:04,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:04 2023-04-07 06:24:04,342 [execute] INFO git rev-list 01285cb3869e42fac64131e6bca8aaa16f4b876a -- 06:24:04 2023-04-07 06:24:04,342 [execute] DEBUG Popen(['git', 'rev-list', '01285cb3869e42fac64131e6bca8aaa16f4b876a', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:24:04 2023-04-07 06:24:04,351 [execute] INFO git fetch -v origin 06:24:04 2023-04-07 06:24:04,351 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:24:04 2023-04-07 06:24:04,912 [run_push] DEBUG no remote changes detected 06:24:04 2023-04-07 06:24:04,913 [execute] INFO git push origin semver 06:24:04 2023-04-07 06:24:04,913 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:24:05 2023-04-07 06:24:05,732 [run_push] DEBUG push all version tags 06:24:05 2023-04-07 06:24:05,732 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:24:05 2023-04-07 06:24:05,733 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:24:06 2023-04-07 06:24:06,497 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:24:06 3.0.0-dev.12 [Pipeline] } 06:24:06 $ docker exec --env ******** --env ******** 89139cb3ba78b52823f286a32a6d886afc2ab8a829aa4f48bb48dc78f6386156 ssh-agent -k 06:24:06 unset SSH_AUTH_SOCK; 06:24:06 unset SSH_AGENT_PID; 06:24:06 echo Agent pid 40 killed; 06:24:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:07 + git semver [Pipeline] } 06:24:07 $ docker stop --time=1 89139cb3ba78b52823f286a32a6d886afc2ab8a829aa4f48bb48dc78f6386156 06:24:08 $ docker rm -f --volumes 89139cb3ba78b52823f286a32a6d886afc2ab8a829aa4f48bb48dc78f6386156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 06:24:09 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 06:24:09 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:24:09 total 16 06:24:09 drwxr-xr-x 3 root root 4096 Apr 7 06:12 . 06:24:09 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:23 .. 06:24:09 drwxr-xr-x 2 root root 4096 Apr 7 06:12 cost 06:24:09 -rw-r--r-- 1 root root 85 Apr 7 06:12 cost.csv 06:24:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:24:09 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:24:09 total 16 06:24:09 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:12 . 06:24:09 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:23 .. 06:24:09 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 06:12 cost 06:24:09 -rw-r--r-- 1 jenkins jenkins 85 Apr 7 06:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:24:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:10 ---> package-listing.sh 06:24:10 ++ facter osfamily 06:24:10 ++ tr '[:upper:]' '[:lower:]' 06:24:10 + OS_FAMILY=debian 06:24:10 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 06:24:10 + START_PACKAGES=/tmp/packages_start.txt 06:24:10 + END_PACKAGES=/tmp/packages_end.txt 06:24:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:10 + PACKAGES=/tmp/packages_start.txt 06:24:10 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:24:10 + PACKAGES=/tmp/packages_end.txt 06:24:10 + case "${OS_FAMILY}" in 06:24:10 + dpkg -l 06:24:10 + grep '^ii' 06:24:10 + '[' -f /tmp/packages_start.txt ']' 06:24:10 + '[' -f /tmp/packages_end.txt ']' 06:24:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:10 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:24:10 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 06:24:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 06:24:10 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:24:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:11 prd-ubuntu20.04-docker-8c-8g-7090 does not seem to be running inside a container 06:24:11 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:24:12 $ docker top 5325151447f5b8c5abf157b666bbe27bdb639f4319451135bbcb8783d6bc65eb -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:12 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:12 + mkdir -p /var/log/sysstat [Pipeline] sh 06:24:12 + ls /var/log/sa-host 06:24:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:13 provisioning config files... 06:24:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6806196583136560845tmp [Pipeline] { [Pipeline] echo 06:24:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:13 ---> create-netrc.sh [Pipeline] } 06:24:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:24:13 ---> python-tools-install.sh [Pipeline] echo 06:24:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:13 ---> sudo-logs.sh 06:24:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:14 ---> job-cost.sh 06:24:14 lf-activate-venv: SKIPPING 06:24:14 DEBUG: total: 0.2199999988079071 06:24:14 INFO: Retrieving Stack Cost... 06:24:14 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:15 INFO: Archiving Costs [Pipeline] echo 06:24:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:15 ---> logs-deploy.sh 06:24:15 lf-activate-venv: SKIPPING 06:24:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/68 06:24:15 INFO: archiving workspace using pattern(s): 06:24:16 Archives upload complete. 06:24:16 INFO: archiving logs to Nexus