Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6fac14ed47bda9a50d3a81c52d17c8dba926fadd 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-ssh16922840554612965047.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-ssh5022451305627059763.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-ssh7929529798134815499.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-ssh2676251765098953461.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-ssh34863169875069345.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-ubuntu18.04-docker-8c-8g-6700’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6698’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6704’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6703’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6707 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 6fac14ed47bda9a50d3a81c52d17c8dba926fadd (main) Commit message: "refactor!: Change configuration and device toml files to yaml (#279)" > 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 6fac14ed47bda9a50d3a81c52d17c8dba926fadd # timeout=10 > git rev-list --no-walk 224900f6885e44699053c83c13a1a421d11bcb33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:54:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:54:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:54:23 ========================================================= 15:54:23 EdgeX Global Pipelines Version Info 15:54:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:54:24 ------------------- 15:54:24 stable info: 15:54:24 ------------------- 15:54:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:54:24 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:54:24 Message: update stable to v1.0.245 15:54:25 ------------------- 15:54:25 experimental info: 15:54:25 ------------------- 15:54:25 Commited By: **** collab-it+edgex@linuxfoundation.org 15:54:25 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 15:54:25 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fac14e [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:25 provisioning config files... 15:54:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15448590113504558408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:26 ---> docker-login.sh 15:54:26 nexus3.edgexfoundry.org:10001 15:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:26 Configure a credential helper to remove this warning. See 15:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:26 15:54:26 Login Succeeded 15:54:26 nexus3.edgexfoundry.org:10002 15:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:26 Configure a credential helper to remove this warning. See 15:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:26 15:54:26 Login Succeeded 15:54:26 nexus3.edgexfoundry.org:10003 15:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:26 Configure a credential helper to remove this warning. See 15:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:26 15:54:26 Login Succeeded 15:54:26 nexus3.edgexfoundry.org:10004 15:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:26 Configure a credential helper to remove this warning. See 15:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:26 15:54:26 Login Succeeded 15:54:26 docker.io 15:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:27 Configure a credential helper to remove this warning. See 15:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:27 15:54:27 Login Succeeded 15:54:27 ---> docker-login.sh ends [Pipeline] } 15:54:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:54:27 + git rev-list -1 --merges 6fac14ed47bda9a50d3a81c52d17c8dba926fadd~1..6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] echo 15:54:27 -----------> git rev-list -1 --merges 6fac14ed47bda9a50d3a81c52d17c8dba926fadd~1..6fac14ed47bda9a50d3a81c52d17c8dba926fadd 6fac14ed47bda9a50d3a81c52d17c8dba926fadd [false] [Pipeline] sh 15:54:27 + git log --format=format:%s -1 6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] echo 15:54:27 ========================================================= 15:54:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:54:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:28 + git log --format=format:%s -1 6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] echo 15:54:28 [semverPrep] GIT_COMMIT: 6fac14ed47bda9a50d3a81c52d17c8dba926fadd, Commit Message: refactor!: Change configuration and device toml files to yaml (#279) [Pipeline] echo 15:54:28 [semverPrep] This is not a build commit. [Pipeline] sh 15:54:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:28 + grep -v github /etc/ssh/ssh_known_hosts 15:54:28 + [ -e /tmp/ssh_known_hosts ] 15:54:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:54:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:54:28 + sudo tee -a /etc/ssh/ssh_known_hosts 15:54:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:28 15:54:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:29 0.1.4: Pulling from edgex-devops/py-git-semver 15:54:29 b85a868b505f: Pulling fs layer 15:54:29 e2be974225ed: Pulling fs layer 15:54:29 339a4e72a1f5: Pulling fs layer 15:54:29 988bab9f4d93: Pulling fs layer 15:54:29 1469e6f7b9e6: Pulling fs layer 15:54:29 eaf3925da568: Pulling fs layer 15:54:29 bab4dde63d76: Pulling fs layer 15:54:29 bde34c3a00c8: Pulling fs layer 15:54:29 b352a97aabf1: Pulling fs layer 15:54:29 4872d77fe225: Pulling fs layer 15:54:29 5851b861e8e6: Pulling fs layer 15:54:29 b352a97aabf1: Waiting 15:54:29 988bab9f4d93: Waiting 15:54:29 4872d77fe225: Waiting 15:54:29 bab4dde63d76: Waiting 15:54:29 1469e6f7b9e6: Waiting 15:54:29 eaf3925da568: Waiting 15:54:29 bde34c3a00c8: Waiting 15:54:29 5851b861e8e6: Waiting 15:54:29 e2be974225ed: Download complete 15:54:29 988bab9f4d93: Verifying Checksum 15:54:29 988bab9f4d93: Download complete 15:54:29 1469e6f7b9e6: Verifying Checksum 15:54:29 1469e6f7b9e6: Download complete 15:54:29 339a4e72a1f5: Verifying Checksum 15:54:29 339a4e72a1f5: Download complete 15:54:29 eaf3925da568: Verifying Checksum 15:54:29 eaf3925da568: Download complete 15:54:29 bde34c3a00c8: Verifying Checksum 15:54:29 bde34c3a00c8: Download complete 15:54:29 b352a97aabf1: Download complete 15:54:29 4872d77fe225: Download complete 15:54:29 5851b861e8e6: Download complete 15:54:29 b85a868b505f: Verifying Checksum 15:54:29 b85a868b505f: Download complete 15:54:29 bab4dde63d76: Verifying Checksum 15:54:29 bab4dde63d76: Download complete 15:54:30 b85a868b505f: Pull complete 15:54:30 e2be974225ed: Pull complete 15:54:31 339a4e72a1f5: Pull complete 15:54:31 988bab9f4d93: Pull complete 15:54:31 1469e6f7b9e6: Pull complete 15:54:31 eaf3925da568: Pull complete 15:54:33 bab4dde63d76: Pull complete 15:54:33 bde34c3a00c8: Pull complete 15:54:33 b352a97aabf1: Pull complete 15:54:33 4872d77fe225: Pull complete 15:54:33 5851b861e8e6: Pull complete 15:54:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:33 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 15:54:33 $ 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 15:54:35 $ docker top 9a8522d9ca3abda39db56e47e9da7d2dda27507680cefb4a5cf54207c8064d1d -eo pid,comm 15:54:35 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). 15:54:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:35 [ssh-agent] Looking for ssh-agent implementation... 15:54:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:35 $ docker exec 9a8522d9ca3abda39db56e47e9da7d2dda27507680cefb4a5cf54207c8064d1d ssh-agent 15:54:35 SSH_AUTH_SOCK=/tmp/ssh-QCfafzJWN0EA/agent.31 15:54:35 SSH_AGENT_PID=37 15:54:35 Running ssh-add (command line suppressed) 15:54:35 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18413878253326065379.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18413878253326065379.key) 15:54:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:35 + git tag --points-at HEAD [Pipeline] } 15:54:35 $ docker exec --env ******** --env ******** 9a8522d9ca3abda39db56e47e9da7d2dda27507680cefb4a5cf54207c8064d1d ssh-agent -k 15:54:35 unset SSH_AUTH_SOCK; 15:54:35 unset SSH_AGENT_PID; 15:54:35 echo Agent pid 37 killed; 15:54:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:54:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:35 [ssh-agent] Looking for ssh-agent implementation... 15:54:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:36 $ docker exec 9a8522d9ca3abda39db56e47e9da7d2dda27507680cefb4a5cf54207c8064d1d ssh-agent 15:54:36 SSH_AUTH_SOCK=/tmp/ssh-vBGjsi2PhfmD/agent.68 15:54:36 SSH_AGENT_PID=74 15:54:36 Running ssh-add (command line suppressed) 15:54:36 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4625902452632885445.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4625902452632885445.key) 15:54:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:36 + git semver init 15:54:36 2023-04-03 15:54:36,773 [run_init] DEBUG init version:0.0.0 force:False 15:54:36 2023-04-03 15:54:36,774 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:54:36 2023-04-03 15:54:36,774 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:54:36 2023-04-03 15:54:36,774 [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) 15:54:37 2023-04-03 15:54:37,525 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 15:54:37 2023-04-03 15:54:37,526 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 15:54:37 2023-04-03 15:54:37,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:54:37 2023-04-03 15:54:37,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:54:37 3.0.0-dev.10 [Pipeline] } 15:54:37 $ docker exec --env ******** --env ******** 9a8522d9ca3abda39db56e47e9da7d2dda27507680cefb4a5cf54207c8064d1d ssh-agent -k 15:54:37 unset SSH_AUTH_SOCK; 15:54:37 unset SSH_AGENT_PID; 15:54:37 echo Agent pid 74 killed; 15:54:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:38 + git semver [Pipeline] } 15:54:38 $ docker stop --time=1 9a8522d9ca3abda39db56e47e9da7d2dda27507680cefb4a5cf54207c8064d1d 15:54:39 $ docker rm -f --volumes 9a8522d9ca3abda39db56e47e9da7d2dda27507680cefb4a5cf54207c8064d1d [Pipeline] // withDockerContainer [Pipeline] sh 15:54:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:54:40 Stashed 1 file(s) [Pipeline] echo 15:54:40 [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [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 15:54:40 provisioning config files... 15:54:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1241809507741397144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:40 ---> docker-login.sh 15:54:40 nexus3.edgexfoundry.org:10001 15:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:40 Configure a credential helper to remove this warning. See 15:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:40 15:54:40 Login Succeeded 15:54:40 nexus3.edgexfoundry.org:10002 15:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:40 Configure a credential helper to remove this warning. See 15:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:40 15:54:40 Login Succeeded 15:54:40 nexus3.edgexfoundry.org:10003 15:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:41 Configure a credential helper to remove this warning. See 15:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:41 15:54:41 Login Succeeded 15:54:41 nexus3.edgexfoundry.org:10004 15:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:41 Configure a credential helper to remove this warning. See 15:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:41 15:54:41 Login Succeeded 15:54:41 docker.io 15:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:41 Configure a credential helper to remove this warning. See 15:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:41 15:54:41 Login Succeeded 15:54:41 ---> docker-login.sh ends [Pipeline] } 15:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:41 ========================================================= 15:54:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:54:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:41 + 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 . 15:54:41 Sending build context to Docker daemon 5.735MB 15:54:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:54:41 Step 2/12 : FROM ${BASE} AS builder 15:54:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:41 63b65145d645: Pulling fs layer 15:54:41 a2d21d5440eb: Pulling fs layer 15:54:41 935e6c44a52c: Pulling fs layer 15:54:41 94cc34f8dd06: Pulling fs layer 15:54:41 30dea6a524f1: Pulling fs layer 15:54:41 a2aff8979fd8: Pulling fs layer 15:54:41 94cc34f8dd06: Waiting 15:54:41 30dea6a524f1: Waiting 15:54:41 6808be2612f2: Pulling fs layer 15:54:41 f25807f1079a: Pulling fs layer 15:54:41 a2aff8979fd8: Waiting 15:54:41 6808be2612f2: Waiting 15:54:41 f25807f1079a: Waiting 15:54:41 a2d21d5440eb: Verifying Checksum 15:54:41 a2d21d5440eb: Download complete 15:54:41 94cc34f8dd06: Download complete 15:54:41 30dea6a524f1: Verifying Checksum 15:54:41 30dea6a524f1: Download complete 15:54:42 63b65145d645: Verifying Checksum 15:54:42 63b65145d645: Download complete 15:54:42 a2aff8979fd8: Verifying Checksum 15:54:42 a2aff8979fd8: Download complete 15:54:42 63b65145d645: Pull complete 15:54:42 a2d21d5440eb: Pull complete 15:54:42 f25807f1079a: Verifying Checksum 15:54:42 f25807f1079a: Download complete 15:54:42 935e6c44a52c: Verifying Checksum 15:54:42 935e6c44a52c: Download complete 15:54:42 6808be2612f2: Verifying Checksum 15:54:42 6808be2612f2: Download complete 15:54:46 935e6c44a52c: Pull complete 15:54:46 94cc34f8dd06: Pull complete 15:54:46 30dea6a524f1: Pull complete 15:54:46 a2aff8979fd8: Pull complete 15:54:48 6808be2612f2: Pull complete 15:54:48 f25807f1079a: Pull complete 15:54:48 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:54:48 ---> 3b553350e43f 15:54:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:54:50 ---> Running in cc1c0098ad46 15:54:50 Removing intermediate container cc1c0098ad46 15:54:50 ---> ca56a6db2ae2 15:54:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:54:50 ---> Running in ef086c150406 15:54:50 Removing intermediate container ef086c150406 15:54:50 ---> 4f1a1d2df55f 15:54:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:54:50 ---> Running in f2f379b6e01e 15:54:51 Removing intermediate container f2f379b6e01e 15:54:51 ---> e764052dcb54 15:54:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:54:51 ---> Running in 9da4893792ef 15:54:51 Removing intermediate container 9da4893792ef 15:54:51 ---> 792244a36fef 15:54:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:51 ---> Running in 6de9ee51e5be 15:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:54:52 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:54:52 (2/4) Installing libedit (20221030.3.1-r0) 15:54:52 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:54:52 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:54:52 Executing busybox-1.35.0-r29.trigger 15:54:52 OK: 269 MiB in 57 packages 15:54:52 Removing intermediate container 6de9ee51e5be 15:54:52 ---> 316b7d9425f2 15:54:52 Step 8/12 : WORKDIR /device-snmp-go 15:54:52 ---> Running in 616bd2c7baf8 15:54:52 Removing intermediate container 616bd2c7baf8 15:54:52 ---> bda3dbb2dfdc 15:54:52 Step 9/12 : COPY go.mod vendor* ./ 15:54:52 ---> f3e21a56f3f7 15:54:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:52 ---> Running in 123df9fbb7b4 15:54:55 Still waiting to schedule task 15:54:55 ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:55 ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:55 ‘prd-ubuntu18.04-docker-8c-8g-6700’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:55 ‘prd-ubuntu20.04-docker-8c-8g-6698’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:55 ‘prd-ubuntu20.04-docker-8c-8g-6709’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6708’ is offline 15:55:10 Removing intermediate container 123df9fbb7b4 15:55:10 ---> 77db3aed8cbe 15:55:10 Step 11/12 : COPY . . 15:55:10 ---> d5c08f86b7d3 15:55:10 Step 12/12 : RUN ${MAKE} 15:55:11 ---> Running in a3c7871d3fd8 15:55:11 noop 15:55:11 Removing intermediate container a3c7871d3fd8 15:55:11 ---> 1650bdc1b325 15:55:11 Successfully built 1650bdc1b325 15:55:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:12 + docker inspect -f . ci-base-image-x86_64 15:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:12 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 15:55:12 $ 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 15:55:12 $ docker top e92dfb5e473e0c58cfda89d3a773232e723850189ba4cc9b0362731bbb493945 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:12 + go version 15:55:12 go version go1.20.2 linux/amd64 [Pipeline] } 15:55:12 $ docker stop --time=1 e92dfb5e473e0c58cfda89d3a773232e723850189ba4cc9b0362731bbb493945 15:55:14 $ docker rm -f --volumes e92dfb5e473e0c58cfda89d3a773232e723850189ba4cc9b0362731bbb493945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:14 + docker inspect -f . ci-base-image-x86_64 15:55:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:14 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 15:55: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 15:55:15 $ docker top 57f2fe5d7f086a273806ca4b60b367109637ebb9d8fff282adf585a2f9f66da8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 15:55:15 + make test 15:55:15 go test ./... -coverprofile=coverage.out 15:55:20 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:55:30 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:55:30 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 15:55:35 go vet ./... 15:55:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:39 ./bin/test-attribution-txt.sh [Pipeline] echo 15:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:55:39 $ docker stop --time=1 57f2fe5d7f086a273806ca4b60b367109637ebb9d8fff282adf585a2f9f66da8 15:55:41 $ docker rm -f --volumes 57f2fe5d7f086a273806ca4b60b367109637ebb9d8fff282adf585a2f9f66da8 [Pipeline] // withDockerContainer [Pipeline] sh 15:55:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:42 + ls -al . 15:55:42 total 168 15:55:42 drwxrwxr-x 9 jenkins jenkins 4096 Apr 3 15:55 . 15:55:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:54 .. 15:55:42 -rw-rw-r-- 1 jenkins jenkins 6 Apr 3 15:54 .dockerignore 15:55:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 15:54 .git 15:55:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:54 .github 15:55:42 -rw-rw-r-- 1 jenkins jenkins 328 Apr 3 15:54 .gitignore 15:55:42 -rw-rw-r-- 1 jenkins jenkins 41 Apr 3 15:54 .golangci.yml 15:55:42 drwxr-xr-x 3 jenkins jenkins 4096 Apr 3 15:54 .semver 15:55:42 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 3 15:54 Attribution.txt 15:55:42 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 3 15:54 CHANGELOG.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 3 15:54 Dockerfile 15:55:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 3 15:54 GOVERNANCE.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 656 Apr 3 15:54 Jenkinsfile 15:55:42 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 3 15:54 LICENSE 15:55:42 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 3 15:54 Makefile 15:55:42 -rw-rw-r-- 1 jenkins jenkins 620 Apr 3 15:54 OWNERS.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 3 15:54 README.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 12 Apr 3 15:54 VERSION 15:55:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 3 15:54 bin 15:55:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:54 cmd 15:55:42 -rw-r--r-- 1 jenkins jenkins 7630 Apr 3 15:55 coverage.out 15:55:42 -rw-rw-r-- 1 jenkins jenkins 3280 Apr 3 15:54 go.mod 15:55:42 -rw-rw-r-- 1 jenkins jenkins 31151 Apr 3 15:54 go.sum 15:55:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:54 internal 15:55:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:54 snap 15:55:42 -rw-rw-r-- 1 jenkins jenkins 228 Apr 3 15:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:42 + 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=6fac14ed47bda9a50d3a81c52d17c8dba926fadd --label arch=amd64 --label version=3.0.0-dev.10 . 15:55:42 Sending build context to Docker daemon 5.743MB 15:55:42 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 15:55:42 Step 2/24 : FROM ${BASE} AS builder 15:55:42 ---> 1650bdc1b325 15:55:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:55:42 ---> Running in 115e360d1475 15:55:43 Removing intermediate container 115e360d1475 15:55:43 ---> 67a1b42635c2 15:55:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:55:43 ---> Running in d62aded57cd2 15:55:43 Removing intermediate container d62aded57cd2 15:55:43 ---> 4d025ad166aa 15:55:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:55:43 ---> Running in 1e9ef1e3a8c0 15:55:43 Removing intermediate container 1e9ef1e3a8c0 15:55:43 ---> ccf26ad5b365 15:55:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:55:43 ---> Running in 33513b0b46d1 15:55:43 Removing intermediate container 33513b0b46d1 15:55:43 ---> 066daf469329 15:55:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:55:43 ---> Running in 1957185c9907 15:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:55:44 OK: 269 MiB in 57 packages 15:55:44 Removing intermediate container 1957185c9907 15:55:44 ---> f05416e90752 15:55:44 Step 8/24 : WORKDIR /device-snmp-go 15:55:44 ---> Running in bb9f76dd2729 15:55:44 Removing intermediate container bb9f76dd2729 15:55:44 ---> 08ea915ee2b3 15:55:44 Step 9/24 : COPY go.mod vendor* ./ 15:55:44 ---> 44c710c9cd93 15:55:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:44 ---> Running in 0c285184cf5e 15:55:45 Removing intermediate container 0c285184cf5e 15:55:45 ---> 4723962647d0 15:55:45 Step 11/24 : COPY . . 15:55:45 ---> 32fdeb0b9c8a 15:55:45 Step 12/24 : RUN ${MAKE} 15:55:45 ---> Running in 6911c07c8004 15:55:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:56:08 Removing intermediate container 6911c07c8004 15:56:08 ---> 9e625635352b 15:56:08 Step 13/24 : FROM alpine:3.17 15:56:08 3.17: Pulling from library/alpine 15:56:08 f56be85fc22e: Pulling fs layer 15:56:08 f56be85fc22e: Verifying Checksum 15:56:08 f56be85fc22e: Download complete 15:56:08 f56be85fc22e: Pull complete 15:56:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:56:08 Status: Downloaded newer image for alpine:3.17 15:56:08 ---> 9ed4aefc74f6 15:56:08 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:56:08 ---> Running in 68bba12df217 15:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:56:08 (1/1) Installing dumb-init (1.2.5-r2) 15:56:08 Executing busybox-1.35.0-r29.trigger 15:56:08 OK: 7 MiB in 16 packages 15:56:08 Removing intermediate container 68bba12df217 15:56:08 ---> 0bea50d156a0 15:56:08 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:56:08 ---> 7ab0acb1398b 15:56:08 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:56:08 ---> ee67a624293d 15:56:08 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:56:08 ---> 8da4c1f7bdfd 15:56:08 Step 18/24 : EXPOSE 59993 15:56:08 ---> Running in 3a0a755240b5 15:56:08 Removing intermediate container 3a0a755240b5 15:56:08 ---> d057aa565d17 15:56:08 Step 19/24 : EXPOSE 161 15:56:08 ---> Running in 8b930c404b38 15:56:08 Removing intermediate container 8b930c404b38 15:56:08 ---> c0cf90a90e7a 15:56:08 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:56:08 ---> Running in 75f707786dba 15:56:08 Removing intermediate container 75f707786dba 15:56:08 ---> daea0a6767b2 15:56:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:56:08 ---> Running in 60fc4a76284f 15:56:08 Removing intermediate container 60fc4a76284f 15:56:08 ---> d8ce77163bf7 15:56:08 Step 22/24 : LABEL arch=amd64 15:56:08 ---> Running in efe070a95cb6 15:56:08 Removing intermediate container efe070a95cb6 15:56:08 ---> 9098caf50a3e 15:56:08 Step 23/24 : LABEL git_sha=6fac14ed47bda9a50d3a81c52d17c8dba926fadd 15:56:08 ---> Running in 702b8fc3eebd 15:56:08 Removing intermediate container 702b8fc3eebd 15:56:08 ---> 9503c7934ac4 15:56:08 Step 24/24 : LABEL version=3.0.0-dev.10 15:56:08 ---> Running in e23dd93a8783 15:56:08 Removing intermediate container e23dd93a8783 15:56:08 ---> d6b52a3306c3 15:56:08 [Warning] One or more build-args [ARCH] were not consumed 15:56:08 Successfully built d6b52a3306c3 15:56:08 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:08 provisioning config files... 15:56:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5115966584949800820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:08 ---> docker-login.sh 15:56:08 nexus3.edgexfoundry.org:10001 15:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:08 Configure a credential helper to remove this warning. See 15:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:08 15:56:08 Login Succeeded 15:56:08 nexus3.edgexfoundry.org:10002 15:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:08 Configure a credential helper to remove this warning. See 15:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:08 15:56:08 Login Succeeded 15:56:08 nexus3.edgexfoundry.org:10003 15:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:08 Configure a credential helper to remove this warning. See 15:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:08 15:56:08 Login Succeeded 15:56:08 nexus3.edgexfoundry.org:10004 15:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:08 Configure a credential helper to remove this warning. See 15:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:08 15:56:08 Login Succeeded 15:56:08 docker.io 15:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:09 Configure a credential helper to remove this warning. See 15:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:09 15:56:09 Login Succeeded 15:56:09 ---> docker-login.sh ends [Pipeline] } 15:56:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:09 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 15:56:09 6fac14ed47bda9a50d3a81c52d17c8dba926fadd 15:56:09 latest 15:56:09 3.0.0-dev.10 15:56:09 6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 15:56:09 main 15:56:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:09 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:6fac14ed47bda9a50d3a81c52d17c8dba926fadd 15:56:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:56:09 c751b4b93787: Preparing 15:56:09 64330622b49d: Preparing 15:56:09 5ee0329e2ba1: Preparing 15:56:09 158c557edc34: Preparing 15:56:09 f1417ff83b31: Preparing 15:56:09 f1417ff83b31: Layer already exists 15:56:09 158c557edc34: Pushed 15:56:09 c751b4b93787: Pushed 15:56:09 64330622b49d: Pushed 15:56:12 5ee0329e2ba1: Pushed 15:56:12 6fac14ed47bda9a50d3a81c52d17c8dba926fadd: digest: sha256:dbc4ba497857e2dd390a08759d5c89e87a2362a8893a0dfc81899dea1bf75c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:12 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 15:56:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:56:13 c751b4b93787: Preparing 15:56:13 64330622b49d: Preparing 15:56:13 5ee0329e2ba1: Preparing 15:56:13 158c557edc34: Preparing 15:56:13 f1417ff83b31: Preparing 15:56:13 158c557edc34: Layer already exists 15:56:13 f1417ff83b31: Layer already exists 15:56:13 c751b4b93787: Layer already exists 15:56:13 64330622b49d: Layer already exists 15:56:13 5ee0329e2ba1: Layer already exists 15:56:13 latest: digest: sha256:dbc4ba497857e2dd390a08759d5c89e87a2362a8893a0dfc81899dea1bf75c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.10 15:56:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:56:13 c751b4b93787: Preparing 15:56:13 64330622b49d: Preparing 15:56:13 5ee0329e2ba1: Preparing 15:56:13 158c557edc34: Preparing 15:56:13 f1417ff83b31: Preparing 15:56:13 64330622b49d: Layer already exists 15:56:13 158c557edc34: Layer already exists 15:56:13 f1417ff83b31: Layer already exists 15:56:13 5ee0329e2ba1: Layer already exists 15:56:13 c751b4b93787: Layer already exists 15:56:13 3.0.0-dev.10: digest: sha256:dbc4ba497857e2dd390a08759d5c89e87a2362a8893a0dfc81899dea1bf75c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 15:56:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:56:14 c751b4b93787: Preparing 15:56:14 64330622b49d: Preparing 15:56:14 5ee0329e2ba1: Preparing 15:56:14 158c557edc34: Preparing 15:56:14 f1417ff83b31: Preparing 15:56:14 64330622b49d: Layer already exists 15:56:14 5ee0329e2ba1: Layer already exists 15:56:14 c751b4b93787: Layer already exists 15:56:14 158c557edc34: Layer already exists 15:56:14 f1417ff83b31: Layer already exists 15:56:14 6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10: digest: sha256:dbc4ba497857e2dd390a08759d5c89e87a2362a8893a0dfc81899dea1bf75c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 15:56:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:56:15 c751b4b93787: Preparing 15:56:15 64330622b49d: Preparing 15:56:15 5ee0329e2ba1: Preparing 15:56:15 158c557edc34: Preparing 15:56:15 f1417ff83b31: Preparing 15:56:15 158c557edc34: Layer already exists 15:56:15 c751b4b93787: Layer already exists 15:56:15 64330622b49d: Layer already exists 15:56:15 f1417ff83b31: Layer already exists 15:56:15 5ee0329e2ba1: Layer already exists 15:56:15 main: digest: sha256:dbc4ba497857e2dd390a08759d5c89e87a2362a8893a0dfc81899dea1bf75c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:56:15 ===================================================== [Pipeline] echo 15:56:15 taggedImages: 15:56:15 - nexus3.edgexfoundry.org:10004/device-snmp:6fac14ed47bda9a50d3a81c52d17c8dba926fadd 15:56:15 - nexus3.edgexfoundry.org:10004/device-snmp:latest 15:56:15 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.10 15:56:15 - nexus3.edgexfoundry.org:10004/device-snmp:6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 15:56:15 - 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 15:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:15 15:56:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:15 latest: Pulling from edgex-lftools-log-publisher 15:56:15 5eb5b503b376: Pulling fs layer 15:56:15 5c69ac0246d0: Pulling fs layer 15:56:15 ec43610c2a17: Pulling fs layer 15:56:15 3a2ae6a8a46f: Pulling fs layer 15:56:15 33b1e0a273af: Pulling fs layer 15:56:15 5d3b04190fa2: Pulling fs layer 15:56:15 2f39f015ded8: Pulling fs layer 15:56:15 3a2ae6a8a46f: Waiting 15:56:15 2f39f015ded8: Waiting 15:56:15 33b1e0a273af: Waiting 15:56:15 5d3b04190fa2: Waiting 15:56:15 5c69ac0246d0: Verifying Checksum 15:56:15 5c69ac0246d0: Download complete 15:56:15 3a2ae6a8a46f: Verifying Checksum 15:56:15 3a2ae6a8a46f: Download complete 15:56:15 33b1e0a273af: Download complete 15:56:15 5d3b04190fa2: Verifying Checksum 15:56:15 5d3b04190fa2: Download complete 15:56:15 ec43610c2a17: Verifying Checksum 15:56:15 ec43610c2a17: Download complete 15:56:16 5eb5b503b376: Download complete 15:56:16 2f39f015ded8: Download complete 15:56:17 5eb5b503b376: Pull complete 15:56:17 5c69ac0246d0: Pull complete 15:56:17 ec43610c2a17: Pull complete 15:56:17 3a2ae6a8a46f: Pull complete 15:56:18 33b1e0a273af: Pull complete 15:56:18 5d3b04190fa2: Pull complete 15:56:22 2f39f015ded8: Pull complete 15:56:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:56:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:22 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 15:56:22 $ 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 15:56:24 $ docker top cb6f8f3a278272dba758304bbfb7edbe7a569b18910522bcf26f8a8d24433495 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:24 ---> job-cost.sh 15:56:24 lf-activate-venv: SKIPPING 15:56:24 INFO: No Stack... 15:56:25 INFO: Retrieving Pricing Info for: v3-standard-8 15:56:25 INFO: Archiving Costs [Pipeline] sh 15:56:25 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 15:56:25 + cut -d, -f6 [Pipeline] lock 15:56:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] 15:56:25 Resource [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] did not exist. Created. 15:56:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:26 + echo total: 0.2199999988079071 [Pipeline] stash 15:56:26 Stashed 1 file(s) [Pipeline] } 15:56:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:26 $ docker stop --time=1 cb6f8f3a278272dba758304bbfb7edbe7a569b18910522bcf26f8a8d24433495 15:56:27 $ docker rm -f --volumes cb6f8f3a278272dba758304bbfb7edbe7a569b18910522bcf26f8a8d24433495 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:57:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6712 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 15:57:07 Running in /w/workspace/device-snmp-go/67 [Pipeline] { [Pipeline] checkout 15:57:07 Selected Git installation does not exist. Using Default 15:57:07 The recommended git tool is: NONE 15:57:14 using credential edgex-jenkins-ssh 15:57:14 Cloning the remote Git repository 15:57:14 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:57:15 > git init /w/workspace/device-snmp-go/67 # timeout=10 15:57:15 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:57:15 > git --version # timeout=10 15:57:15 > git --version # 'git version 2.25.1' 15:57:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:57:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:57:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:57:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:57:19 Avoid second fetch 15:57:19 Checking out Revision 6fac14ed47bda9a50d3a81c52d17c8dba926fadd (main) 15:57:20 Commit message: "refactor!: Change configuration and device toml files to yaml (#279)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:57:19 > git config core.sparsecheckout # timeout=10 15:57:19 > git checkout -f 6fac14ed47bda9a50d3a81c52d17c8dba926fadd # timeout=10 15:57:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:57:21 % Total % Received % Xferd Average Speed Time Time Time Current 15:57:21 Dload Upload Total Spent Left Speed 15:57:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 15:57:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:57:22 + sudo tee /etc/docker/daemon.new 15:57:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:57:22 { 15:57:22 "registry-mirrors": [ 15:57:22 "https://nexus3.edgexfoundry.org:10001" 15:57:22 ], 15:57:22 "bip": "10.250.0.254/24", 15:57:22 "hosts": [ 15:57:22 "tcp://0.0.0.0:5555", 15:57:22 "unix:///var/run/docker.sock" 15:57:22 ], 15:57:22 "mtu": 1458, 15:57:22 "selinux-enabled": true, 15:57:22 "seccomp-profile": "/etc/docker/seccomp.json" 15:57:22 } [Pipeline] sh 15:57:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:57:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:41 provisioning config files... 15:57:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/67@tmp/config8685865447221682705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:41 ---> docker-login.sh 15:57:41 nexus3.edgexfoundry.org:10001 15:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:42 Configure a credential helper to remove this warning. See 15:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:42 15:57:42 Login Succeeded 15:57:42 nexus3.edgexfoundry.org:10002 15:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:42 Configure a credential helper to remove this warning. See 15:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:42 15:57:42 Login Succeeded 15:57:42 nexus3.edgexfoundry.org:10003 15:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:43 Configure a credential helper to remove this warning. See 15:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:43 15:57:43 Login Succeeded 15:57:43 nexus3.edgexfoundry.org:10004 15:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:43 Configure a credential helper to remove this warning. See 15:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:43 15:57:43 Login Succeeded 15:57:43 docker.io 15:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:44 Configure a credential helper to remove this warning. See 15:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:44 15:57:44 Login Succeeded 15:57:44 ---> docker-login.sh ends [Pipeline] } 15:57:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:57:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:44 ========================================================= 15:57:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:57:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:45 + 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 . 15:57:45 Sending build context to Docker daemon 2.968MB 15:57:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:57:45 Step 2/12 : FROM ${BASE} AS builder 15:57:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:57:45 af6eaf76a39c: Pulling fs layer 15:57:45 55522c791124: Pulling fs layer 15:57:45 ce5c4a1c91eb: Pulling fs layer 15:57:45 169dfbe0d373: Pulling fs layer 15:57:45 e1ff8fa3b103: Pulling fs layer 15:57:45 52ebb69f0ebf: Pulling fs layer 15:57:45 5abe8eddf0d5: Pulling fs layer 15:57:45 169dfbe0d373: Waiting 15:57:45 e1ff8fa3b103: Waiting 15:57:45 52ebb69f0ebf: Waiting 15:57:45 5abe8eddf0d5: Waiting 15:57:45 55522c791124: Verifying Checksum 15:57:45 55522c791124: Download complete 15:57:45 169dfbe0d373: Verifying Checksum 15:57:45 169dfbe0d373: Download complete 15:57:45 e1ff8fa3b103: Verifying Checksum 15:57:45 e1ff8fa3b103: Download complete 15:57:45 af6eaf76a39c: Verifying Checksum 15:57:45 af6eaf76a39c: Download complete 15:57:46 af6eaf76a39c: Pull complete 15:57:46 5abe8eddf0d5: Verifying Checksum 15:57:46 5abe8eddf0d5: Download complete 15:57:47 55522c791124: Pull complete 15:57:48 ce5c4a1c91eb: Verifying Checksum 15:57:48 ce5c4a1c91eb: Download complete 15:57:48 52ebb69f0ebf: Verifying Checksum 15:57:48 52ebb69f0ebf: Download complete 15:58:01 ce5c4a1c91eb: Pull complete 15:58:01 169dfbe0d373: Pull complete 15:58:01 e1ff8fa3b103: Pull complete 15:58:07 52ebb69f0ebf: Pull complete 15:58:09 5abe8eddf0d5: Pull complete 15:58:09 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:58:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:58:09 ---> 6cb57ee374ae 15:58:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:58:12 ---> Running in 0a402878e499 15:58:12 Removing intermediate container 0a402878e499 15:58:12 ---> 23cbf39d0790 15:58:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:12 ---> Running in 4408316a1400 15:58:13 Removing intermediate container 4408316a1400 15:58:13 ---> 7d00cfa5041e 15:58:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:58:13 ---> Running in 2b6e6fefb2dd 15:58:13 Removing intermediate container 2b6e6fefb2dd 15:58:13 ---> 5339b3b4d524 15:58:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:58:13 ---> Running in 9e38d85a2985 15:58:14 Removing intermediate container 9e38d85a2985 15:58:14 ---> dfc2de010012 15:58:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:14 ---> Running in 2db7619079d7 15:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:58:17 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:58:17 (2/4) Installing libedit (20221030.3.1-r0) 15:58:17 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:58:17 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:58:17 Executing busybox-1.35.0-r29.trigger 15:58:17 OK: 268 MiB in 57 packages 15:58:19 Removing intermediate container 2db7619079d7 15:58:19 ---> f59bd026ed98 15:58:19 Step 8/12 : WORKDIR /device-snmp-go 15:58:19 ---> Running in 0ca93f89b96f 15:58:19 Removing intermediate container 0ca93f89b96f 15:58:19 ---> 1d372b73b496 15:58:19 Step 9/12 : COPY go.mod vendor* ./ 15:58:20 ---> 9de24641b458 15:58:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:20 ---> Running in 5908296416c7 15:59:28 Removing intermediate container 5908296416c7 15:59:28 ---> e900cce0c561 15:59:28 Step 11/12 : COPY . . 15:59:28 ---> 8eb3660dc21e 15:59:28 Step 12/12 : RUN ${MAKE} 15:59:28 ---> Running in 06a756e0b9b6 15:59:28 noop 15:59:28 Removing intermediate container 06a756e0b9b6 15:59:28 ---> 6ad4b5bae59a 15:59:28 Successfully built 6ad4b5bae59a 15:59:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:28 + docker inspect -f . ci-base-image-arm64 15:59:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:28 prd-ubuntu20.04-docker-arm64-4c-16g-6712 does not seem to be running inside a container 15:59:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/67 -v /w/workspace/device-snmp-go/67:/w/workspace/device-snmp-go/67:rw,z -v /w/workspace/device-snmp-go/67@tmp:/w/workspace/device-snmp-go/67@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 15:59:30 $ docker top 2c53160b48919b461c64692b9addedc38733760e44b29332a18eb5c74de5c2ed -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:31 + go version 15:59:31 go version go1.20.2 linux/arm64 [Pipeline] } 15:59:31 $ docker stop --time=1 2c53160b48919b461c64692b9addedc38733760e44b29332a18eb5c74de5c2ed 15:59:33 $ docker rm -f --volumes 2c53160b48919b461c64692b9addedc38733760e44b29332a18eb5c74de5c2ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:33 + docker inspect -f . ci-base-image-arm64 15:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:34 prd-ubuntu20.04-docker-arm64-4c-16g-6712 does not seem to be running inside a container 15:59:34 $ 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/67 -v /w/workspace/device-snmp-go/67:/w/workspace/device-snmp-go/67:rw,z -v /w/workspace/device-snmp-go/67@tmp:/w/workspace/device-snmp-go/67@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 15:59:35 $ docker top 8b3b50cf58287640693f0fe7f3e0bbeec3e25d4bb162087ff377bf1537a35f29 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:36 + git config --global --add safe.directory /w/workspace/device-snmp-go/67 [Pipeline] fileExists [Pipeline] sh 15:59:37 + make test 15:59:37 go test ./... -coverprofile=coverage.out 16:00:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:03:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:03:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.060s coverage: 0.0% of statements 16:03:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:03:00 go vet ./... 16:03:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:03:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:03:33 ./bin/test-attribution-txt.sh [Pipeline] echo 16:03:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:03:33 $ docker stop --time=1 8b3b50cf58287640693f0fe7f3e0bbeec3e25d4bb162087ff377bf1537a35f29 16:03:35 $ docker rm -f --volumes 8b3b50cf58287640693f0fe7f3e0bbeec3e25d4bb162087ff377bf1537a35f29 [Pipeline] // withDockerContainer [Pipeline] sh 16:03:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:03:36 Warning: overwriting stash ‘coverage-report’ 16:03:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:03:37 + ls -al . 16:03:37 total 164 16:03:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 15:59 . 16:03:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:57 .. 16:03:37 -rw-rw-r-- 1 jenkins jenkins 6 Apr 3 15:57 .dockerignore 16:03:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 15:57 .git 16:03:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:57 .github 16:03:37 -rw-rw-r-- 1 jenkins jenkins 328 Apr 3 15:57 .gitignore 16:03:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 3 15:57 .golangci.yml 16:03:37 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 3 15:57 Attribution.txt 16:03:37 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 3 15:57 CHANGELOG.md 16:03:37 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 3 15:57 Dockerfile 16:03:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 3 15:57 GOVERNANCE.md 16:03:37 -rw-rw-r-- 1 jenkins jenkins 656 Apr 3 15:57 Jenkinsfile 16:03:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 3 15:57 LICENSE 16:03:37 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 3 15:57 Makefile 16:03:37 -rw-rw-r-- 1 jenkins jenkins 620 Apr 3 15:57 OWNERS.md 16:03:37 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 3 15:57 README.md 16:03:37 -rw-rw-r-- 1 jenkins jenkins 12 Apr 3 15:54 VERSION 16:03:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 3 15:57 bin 16:03:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:57 cmd 16:03:37 -rw-r--r-- 1 jenkins jenkins 7630 Apr 3 16:02 coverage.out 16:03:37 -rw-rw-r-- 1 jenkins jenkins 3280 Apr 3 15:57 go.mod 16:03:37 -rw-rw-r-- 1 jenkins jenkins 31151 Apr 3 15:57 go.sum 16:03:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:57 internal 16:03:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:57 snap 16:03:37 -rw-rw-r-- 1 jenkins jenkins 228 Apr 3 15:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:38 + 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=6fac14ed47bda9a50d3a81c52d17c8dba926fadd --label arch=arm64 --label version=3.0.0-dev.10 . 16:03:38 Sending build context to Docker daemon 2.976MB 16:03:38 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 16:03:38 Step 2/24 : FROM ${BASE} AS builder 16:03:38 ---> 6ad4b5bae59a 16:03:38 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:03:38 ---> Running in b35aa228188b 16:03:38 Removing intermediate container b35aa228188b 16:03:38 ---> acf1a2e7a8d2 16:03:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:03:38 ---> Running in dea7b43ae8e9 16:03:39 Removing intermediate container dea7b43ae8e9 16:03:39 ---> 4a61baf23e36 16:03:39 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:03:39 ---> Running in db4dc7ef72d0 16:03:39 Removing intermediate container db4dc7ef72d0 16:03:39 ---> 849b6e854720 16:03:39 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:03:39 ---> Running in 7e4721687e4e 16:03:40 Removing intermediate container 7e4721687e4e 16:03:40 ---> 9dbac1eabc1d 16:03:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:03:40 ---> Running in 01d46a6aadc2 16:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:03:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:03:43 OK: 268 MiB in 57 packages 16:03:44 Removing intermediate container 01d46a6aadc2 16:03:44 ---> b3031e033b66 16:03:44 Step 8/24 : WORKDIR /device-snmp-go 16:03:44 ---> Running in d4ddcf11589b 16:03:45 Removing intermediate container d4ddcf11589b 16:03:45 ---> 1ed779cee2f5 16:03:45 Step 9/24 : COPY go.mod vendor* ./ 16:03:45 ---> 4b90f5304e53 16:03:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:03:46 ---> Running in ecb40f742a96 16:03:48 Removing intermediate container ecb40f742a96 16:03:48 ---> 6f7a1642549f 16:03:48 Step 11/24 : COPY . . 16:03:49 ---> 584da568c1f1 16:03:49 Step 12/24 : RUN ${MAKE} 16:03:49 ---> Running in d8f796d2258f 16:03:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 16:06:27 Removing intermediate container d8f796d2258f 16:06:27 ---> 053148e36c20 16:06:27 Step 13/24 : FROM alpine:3.17 16:06:27 3.17: Pulling from library/alpine 16:06:27 c41833b44d91: Pulling fs layer 16:06:27 c41833b44d91: Verifying Checksum 16:06:27 c41833b44d91: Download complete 16:06:27 c41833b44d91: Pull complete 16:06:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:06:27 Status: Downloaded newer image for alpine:3.17 16:06:27 ---> 51e60588ff2c 16:06:27 Step 14/24 : RUN apk add --update --no-cache dumb-init 16:06:27 ---> Running in fc88b323f097 16:06:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:06:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:06:27 (1/1) Installing dumb-init (1.2.5-r2) 16:06:27 Executing busybox-1.35.0-r29.trigger 16:06:27 OK: 8 MiB in 16 packages 16:06:27 Removing intermediate container fc88b323f097 16:06:27 ---> d020939b0d50 16:06:27 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:06:27 ---> 8c4554f21015 16:06:27 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:06:28 ---> cf799a949e57 16:06:28 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:06:28 ---> 54be56435d56 16:06:28 Step 18/24 : EXPOSE 59993 16:06:28 ---> Running in 3d2f19874eea 16:06:29 Removing intermediate container 3d2f19874eea 16:06:29 ---> b5ac3d6a1894 16:06:29 Step 19/24 : EXPOSE 161 16:06:29 ---> Running in fae79e029cb8 16:06:29 Removing intermediate container fae79e029cb8 16:06:29 ---> d041d7a78835 16:06:29 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:06:29 ---> Running in 426d132586ab 16:06:29 Removing intermediate container 426d132586ab 16:06:29 ---> 52ae59b68d80 16:06:29 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:06:29 ---> Running in 7ced326432d4 16:06:30 Removing intermediate container 7ced326432d4 16:06:30 ---> ffd553626d75 16:06:30 Step 22/24 : LABEL arch=arm64 16:06:30 ---> Running in 1ee1846eeaa6 16:06:30 Removing intermediate container 1ee1846eeaa6 16:06:30 ---> 3b8e38df3182 16:06:30 Step 23/24 : LABEL git_sha=6fac14ed47bda9a50d3a81c52d17c8dba926fadd 16:06:30 ---> Running in ffc46277c559 16:06:30 Removing intermediate container ffc46277c559 16:06:30 ---> 9e90c083fd7b 16:06:30 Step 24/24 : LABEL version=3.0.0-dev.10 16:06:30 ---> Running in 64fb895c8968 16:06:31 Removing intermediate container 64fb895c8968 16:06:31 ---> 3d8ef1496046 16:06:31 [Warning] One or more build-args [ARCH] were not consumed 16:06:31 Successfully built 3d8ef1496046 16:06:31 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 16:06:31 provisioning config files... 16:06:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/67@tmp/config13803986170058229101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:31 ---> docker-login.sh 16:06:31 nexus3.edgexfoundry.org:10001 16:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:31 Configure a credential helper to remove this warning. See 16:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:31 16:06:31 Login Succeeded 16:06:31 nexus3.edgexfoundry.org:10002 16:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:32 Configure a credential helper to remove this warning. See 16:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:32 16:06:32 Login Succeeded 16:06:32 nexus3.edgexfoundry.org:10003 16:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:32 Configure a credential helper to remove this warning. See 16:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:32 16:06:32 Login Succeeded 16:06:32 nexus3.edgexfoundry.org:10004 16:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:32 Configure a credential helper to remove this warning. See 16:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:32 16:06:32 Login Succeeded 16:06:33 docker.io 16:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:33 Configure a credential helper to remove this warning. See 16:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:33 16:06:33 Login Succeeded 16:06:33 ---> docker-login.sh ends [Pipeline] } 16:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:06:33 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 16:06:33 6fac14ed47bda9a50d3a81c52d17c8dba926fadd 16:06:33 latest 16:06:33 3.0.0-dev.10 16:06:33 6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 16:06:33 main 16:06:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:34 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:34 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:6fac14ed47bda9a50d3a81c52d17c8dba926fadd 16:06:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:06:34 4c6ee968fa6c: Preparing 16:06:34 a084b4cc2ff7: Preparing 16:06:34 8f758a091374: Preparing 16:06:34 2883a3cc53f1: Preparing 16:06:34 26cbea5cba74: Preparing 16:06:34 26cbea5cba74: Layer already exists 16:06:34 a084b4cc2ff7: Pushed 16:06:34 4c6ee968fa6c: Pushed 16:06:34 2883a3cc53f1: Pushed 16:06:40 8f758a091374: Pushed 16:06:40 6fac14ed47bda9a50d3a81c52d17c8dba926fadd: digest: sha256:aa94145c4e3eedeed539102ba8ac18f34012723b0057a81338748e7cb2a3be2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:40 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:41 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 16:06:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:06:41 4c6ee968fa6c: Preparing 16:06:41 a084b4cc2ff7: Preparing 16:06:41 8f758a091374: Preparing 16:06:41 2883a3cc53f1: Preparing 16:06:41 26cbea5cba74: Preparing 16:06:41 4c6ee968fa6c: Layer already exists 16:06:41 8f758a091374: Layer already exists 16:06:41 26cbea5cba74: Layer already exists 16:06:41 a084b4cc2ff7: Layer already exists 16:06:41 2883a3cc53f1: Layer already exists 16:06:41 latest: digest: sha256:aa94145c4e3eedeed539102ba8ac18f34012723b0057a81338748e7cb2a3be2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:41 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:42 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.10 16:06:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:06:42 4c6ee968fa6c: Preparing 16:06:42 a084b4cc2ff7: Preparing 16:06:42 8f758a091374: Preparing 16:06:42 2883a3cc53f1: Preparing 16:06:42 26cbea5cba74: Preparing 16:06:42 4c6ee968fa6c: Layer already exists 16:06:42 2883a3cc53f1: Layer already exists 16:06:42 26cbea5cba74: Layer already exists 16:06:42 a084b4cc2ff7: Layer already exists 16:06:42 8f758a091374: Layer already exists 16:06:42 3.0.0-dev.10: digest: sha256:aa94145c4e3eedeed539102ba8ac18f34012723b0057a81338748e7cb2a3be2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:42 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:42 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 16:06:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:06:42 4c6ee968fa6c: Preparing 16:06:42 a084b4cc2ff7: Preparing 16:06:42 8f758a091374: Preparing 16:06:42 2883a3cc53f1: Preparing 16:06:42 26cbea5cba74: Preparing 16:06:42 4c6ee968fa6c: Layer already exists 16:06:42 26cbea5cba74: Layer already exists 16:06:42 a084b4cc2ff7: Layer already exists 16:06:42 8f758a091374: Layer already exists 16:06:42 2883a3cc53f1: Layer already exists 16:06:42 6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10: digest: sha256:aa94145c4e3eedeed539102ba8ac18f34012723b0057a81338748e7cb2a3be2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:43 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 16:06:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:06:43 4c6ee968fa6c: Preparing 16:06:43 a084b4cc2ff7: Preparing 16:06:43 8f758a091374: Preparing 16:06:43 2883a3cc53f1: Preparing 16:06:43 26cbea5cba74: Preparing 16:06:43 a084b4cc2ff7: Layer already exists 16:06:43 26cbea5cba74: Layer already exists 16:06:43 2883a3cc53f1: Layer already exists 16:06:43 4c6ee968fa6c: Layer already exists 16:06:43 8f758a091374: Layer already exists 16:06:43 main: digest: sha256:aa94145c4e3eedeed539102ba8ac18f34012723b0057a81338748e7cb2a3be2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:06:44 ===================================================== [Pipeline] echo 16:06:44 taggedImages: 16:06:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:6fac14ed47bda9a50d3a81c52d17c8dba926fadd 16:06:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 16:06:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.10 16:06:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:6fac14ed47bda9a50d3a81c52d17c8dba926fadd-3.0.0-dev.10 16:06:44 - 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 16:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:06:44 16:06:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:06:44 arm64: Pulling from edgex-lftools-log-publisher 16:06:44 8998bd30e6a1: Pulling fs layer 16:06:44 04944245beec: Pulling fs layer 16:06:44 699f458cf7ca: Pulling fs layer 16:06:44 765212b225bb: Pulling fs layer 16:06:44 f23df028b6ca: Pulling fs layer 16:06:44 d65c8cfc05b1: Pulling fs layer 16:06:44 2437ff75d9bd: Pulling fs layer 16:06:44 d65c8cfc05b1: Waiting 16:06:44 765212b225bb: Waiting 16:06:44 f23df028b6ca: Waiting 16:06:44 2437ff75d9bd: Waiting 16:06:45 04944245beec: Verifying Checksum 16:06:45 04944245beec: Download complete 16:06:45 765212b225bb: Verifying Checksum 16:06:45 765212b225bb: Download complete 16:06:45 f23df028b6ca: Verifying Checksum 16:06:45 f23df028b6ca: Download complete 16:06:45 d65c8cfc05b1: Verifying Checksum 16:06:45 d65c8cfc05b1: Download complete 16:06:45 699f458cf7ca: Verifying Checksum 16:06:45 699f458cf7ca: Download complete 16:06:45 8998bd30e6a1: Verifying Checksum 16:06:45 8998bd30e6a1: Download complete 16:06:48 2437ff75d9bd: Verifying Checksum 16:06:48 2437ff75d9bd: Download complete 16:06:49 8998bd30e6a1: Pull complete 16:06:50 04944245beec: Pull complete 16:06:51 699f458cf7ca: Pull complete 16:06:51 765212b225bb: Pull complete 16:06:52 f23df028b6ca: Pull complete 16:06:52 d65c8cfc05b1: Pull complete 16:07:07 2437ff75d9bd: Pull complete 16:07:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:08 prd-ubuntu20.04-docker-arm64-4c-16g-6712 does not seem to be running inside a container 16:07:08 $ 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/67 -v /w/workspace/device-snmp-go/67:/w/workspace/device-snmp-go/67:rw,z -v /w/workspace/device-snmp-go/67@tmp:/w/workspace/device-snmp-go/67@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 16:07:11 $ docker top c18c09357c9413b391173a569509c537397c9695cf0dd75770a763ffcd8a9fea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:11 ---> job-cost.sh 16:07:11 lf-activate-venv: SKIPPING 16:07:11 INFO: No Stack... 16:07:12 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:13 INFO: Archiving Costs [Pipeline] sh 16:07:13 + cat /w/workspace/device-snmp-go/67/archives/cost.csv 16:07:13 + cut -d, -f6 [Pipeline] lock 16:07:13 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] 16:07:13 Resource [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] did not exist. Created. 16:07:13 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:14 /w/workspace/device-snmp-go/67@tmp/durable-04e87eeb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:15 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:15 Warning: overwriting stash ‘stack-cost’ 16:07:15 Stashed 1 file(s) [Pipeline] } 16:07:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-67-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:15 $ docker stop --time=1 c18c09357c9413b391173a569509c537397c9695cf0dd75770a763ffcd8a9fea 16:07:16 $ docker rm -f --volumes c18c09357c9413b391173a569509c537397c9695cf0dd75770a763ffcd8a9fea [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 16:07:17 provisioning config files... 16:07:17 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4971285260099430787tmp [Pipeline] { [Pipeline] sh 16:07:17 + set +x 16:07:17 + curl -s https://codecov.io/bash 16:07:17 + bash -s -- 16:07:17 16:07:17 _____ _ 16:07:17 / ____| | | 16:07:17 | | ___ __| | ___ ___ _____ __ 16:07:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:07:17 | |___| (_) | (_| | __/ (_| (_) \ V / 16:07:17 \_____\___/ \__,_|\___|\___\___/ \_/ 16:07:17 Bash-1.0.6 16:07:17 16:07:17 16:07:17 ==> git version 2.25.1 found 16:07:17 ==> 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 16:07:17 Release-Date: 2020-01-08 16:07:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:07:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:07:17 ==> Jenkins CI detected. 16:07:17 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 16:07:17 project root: . 16:07:17 --> token set from env 16:07:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:07:17 ==> Running gcov in . (disable via -X gcov) 16:07:17 ==> Python coveragepy not found 16:07:17 ==> Searching for coverage reports in: 16:07:17 + . 16:07:17 -> Found 1 reports 16:07:17 ==> Detecting git/mercurial file structure 16:07:17 ==> Reading reports 16:07:17 + ./coverage.out bytes=7630 16:07:17 ==> Appending adjustments 16:07:17 https://docs.codecov.io/docs/fixing-reports 16:07:17 + Found adjustments 16:07:17 ==> Gzipping contents 16:07:17 4.0K /tmp/codecov.SiS3LX.gz 16:07:17 ==> Uploading reports 16:07:17 url: https://codecov.io 16:07:17 query: branch=main&commit=6fac14ed47bda9a50d3a81c52d17c8dba926fadd&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:17 -> Pinging Codecov 16:07:17 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=6fac14ed47bda9a50d3a81c52d17c8dba926fadd&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:17 -> Uploading to 16:07:17 https://storage.googleapis.com/codecov/v4/raw/2023-04-03/6C56EA5C29638FB4528AC87E60AF5AE0/6fac14ed47bda9a50d3a81c52d17c8dba926fadd/1a072f58-a0ff-4893-9910-896cbc194526.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230403%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230403T160717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a1a19a2bb0919e8148b56fe2339e0d55b579456992185a43b87a534abebe2d6 16:07:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:17 Dload Upload Total Spent Left Speed 16:07:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1439 0 0 100 1439 0 5369 --:--:-- --:--:-- --:--:-- 5369 16:07:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] } 16:07:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:07:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:07:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:18 16:07:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:07:18 df9b9388f04a: Pulling fs layer 16:07:18 52dc419b0ee2: Pulling fs layer 16:07:18 25bc292e5bac: Pulling fs layer 16:07:18 114826534d7a: Pulling fs layer 16:07:18 4657fd5d0bcf: Pulling fs layer 16:07:18 6ad1cebc031e: Pulling fs layer 16:07:18 8a3aa393b2d8: Pulling fs layer 16:07:18 4657fd5d0bcf: Waiting 16:07:18 6ad1cebc031e: Waiting 16:07:18 114826534d7a: Waiting 16:07:18 8a3aa393b2d8: Waiting 16:07:18 25bc292e5bac: Verifying Checksum 16:07:18 25bc292e5bac: Download complete 16:07:18 52dc419b0ee2: Verifying Checksum 16:07:18 52dc419b0ee2: Download complete 16:07:18 4657fd5d0bcf: Verifying Checksum 16:07:18 4657fd5d0bcf: Download complete 16:07:18 df9b9388f04a: Verifying Checksum 16:07:18 df9b9388f04a: Download complete 16:07:19 6ad1cebc031e: Verifying Checksum 16:07:19 6ad1cebc031e: Download complete 16:07:19 df9b9388f04a: Pull complete 16:07:19 52dc419b0ee2: Pull complete 16:07:19 25bc292e5bac: Pull complete 16:07:19 114826534d7a: Download complete 16:07:19 8a3aa393b2d8: Verifying Checksum 16:07:19 8a3aa393b2d8: Download complete 16:07:22 114826534d7a: Pull complete 16:07:22 4657fd5d0bcf: Pull complete 16:07:22 6ad1cebc031e: Pull complete 16:07:26 8a3aa393b2d8: Pull complete 16:07:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:07:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:26 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 16:07:26 $ 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 16:07:28 $ docker top 693139224ba64c9273c6035aed62f9f8423a1e69ab5c6abbcfba9ac9ae3d9753 -eo pid,comm [Pipeline] { [Pipeline] echo 16:07:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 16:07:28 + set -o pipefail 16:07:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 16:07:36 16:07:36 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 16:07:36 16:07:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/22bbe392-316c-45e0-beb3-434d85f55839 16:07:36 16:07:36 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:07:36 16:07:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:07:36 16:07:36 16:07:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:07:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:07:36 More details here: https://snyk.co/ue1NS [Pipeline] } 16:07:36 $ docker stop --time=1 693139224ba64c9273c6035aed62f9f8423a1e69ab5c6abbcfba9ac9ae3d9753 16:07:38 $ docker rm -f --volumes 693139224ba64c9273c6035aed62f9f8423a1e69ab5c6abbcfba9ac9ae3d9753 [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 16:07:39 + git log --format=format:%s -1 6fac14ed47bda9a50d3a81c52d17c8dba926fadd [Pipeline] sh 16:07:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:07:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:40 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 16:07:40 $ 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 16:07:40 $ docker top 6b607b533d457033373c192121c8c245943a84fa54120abb98e8215bbf07bd9f -eo pid,comm 16:07:40 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). 16:07:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:07:40 [ssh-agent] Looking for ssh-agent implementation... 16:07:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:07:40 $ docker exec 6b607b533d457033373c192121c8c245943a84fa54120abb98e8215bbf07bd9f ssh-agent 16:07:41 SSH_AUTH_SOCK=/tmp/ssh-10uApteojL6G/agent.32 16:07:41 SSH_AGENT_PID=38 16:07:41 Running ssh-add (command line suppressed) 16:07:41 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7947089410945579764.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7947089410945579764.key) 16:07:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:07:41 + git semver tag 16:07:41 2023-04-03 16:07:41,688 [run_tag] DEBUG tag force:False 16:07:41 2023-04-03 16:07:41,688 [check_head_tag] DEBUG check head tag 16:07:41 2023-04-03 16:07:41,688 [execute] INFO git cat-file --batch-check 16:07:41 2023-04-03 16:07:41,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 16:07:41 2023-04-03 16:07:41,692 [execute] INFO git cat-file --batch 16:07:41 2023-04-03 16:07:41,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 16:07:41 2023-04-03 16:07:41,708 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 16:07:41 2023-04-03 16:07:41,708 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 16:07:41 2023-04-03 16:07:41,708 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 16:07:41 2023-04-03 16:07:41,713 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 16:07:41 3.0.0-dev.10 [Pipeline] } 16:07:41 $ docker exec --env ******** --env ******** 6b607b533d457033373c192121c8c245943a84fa54120abb98e8215bbf07bd9f ssh-agent -k 16:07:41 unset SSH_AUTH_SOCK; 16:07:41 unset SSH_AGENT_PID; 16:07:41 echo Agent pid 38 killed; 16:07:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:07:42 + git semver [Pipeline] } 16:07:42 $ docker stop --time=1 6b607b533d457033373c192121c8c245943a84fa54120abb98e8215bbf07bd9f 16:07:43 $ docker rm -f --volumes 6b607b533d457033373c192121c8c245943a84fa54120abb98e8215bbf07bd9f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:07:44 16:07:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:07:44 0.23.1-centos7: Pulling from edgex-lftools 16:07:44 ab5ef0e58194: Pulling fs layer 16:07:44 9712f1f96733: Pulling fs layer 16:07:44 63f879dbbcfc: Pulling fs layer 16:07:44 0d9ebad4ef96: Pulling fs layer 16:07:44 e9a5061849ea: Pulling fs layer 16:07:44 d747dcd14b5f: Pulling fs layer 16:07:44 2de7ff778b66: Pulling fs layer 16:07:44 d747dcd14b5f: Waiting 16:07:44 0d9ebad4ef96: Waiting 16:07:44 2de7ff778b66: Waiting 16:07:44 e9a5061849ea: Waiting 16:07:44 9712f1f96733: Verifying Checksum 16:07:44 9712f1f96733: Download complete 16:07:44 63f879dbbcfc: Verifying Checksum 16:07:44 63f879dbbcfc: Download complete 16:07:44 e9a5061849ea: Verifying Checksum 16:07:44 e9a5061849ea: Download complete 16:07:44 d747dcd14b5f: Verifying Checksum 16:07:44 d747dcd14b5f: Download complete 16:07:44 ab5ef0e58194: Verifying Checksum 16:07:44 ab5ef0e58194: Download complete 16:07:44 0d9ebad4ef96: Verifying Checksum 16:07:44 0d9ebad4ef96: Download complete 16:07:44 2de7ff778b66: Verifying Checksum 16:07:44 2de7ff778b66: Download complete 16:07:47 ab5ef0e58194: Pull complete 16:07:47 9712f1f96733: Pull complete 16:07:48 63f879dbbcfc: Pull complete 16:07:51 0d9ebad4ef96: Pull complete 16:07:51 e9a5061849ea: Pull complete 16:07:51 d747dcd14b5f: Pull complete 16:07:52 2de7ff778b66: Pull complete 16:07:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:07:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:52 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 16:07:52 $ 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 16:07:55 $ docker top 25e26ebedf9c5163cd54798e9ad0ac7dc110694c3b20193f1f6b8e85e7976073 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:07:55 provisioning config files... 16:07:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14169925507361073426tmp 16:07:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1931336777429022613tmp 16:07:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13276542763992502997tmp [Pipeline] { [Pipeline] echo 16:07:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:07:56 ---> sigul-configuration.sh 16:07:56 gpg: directory `/root/.gnupg' created 16:07:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:07:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:07:56 gpg: keyring `/root/.gnupg/secring.gpg' created 16:07:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:07:56 gpg: CAST5 encrypted data 16:07:56 gpg: encrypted with 1 passphrase 16:07:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:07:56 + mkdir /home/jenkins 16:07:56 + mkdir /home/jenkins/sigul [Pipeline] sh 16:07:56 + 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 16:07:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:07:56 ---> sigul-install.sh 16:07:56 Sigul already installed; skipping installation. [Pipeline] sh 16:07:57 + git tag --list 16:07:57 1.0.0 16:07:57 v0.0.0 16:07:57 v1.1.0 16:07:57 v1.1.1 16:07:57 v1.2.2 16:07:57 v1.3.0 16:07:57 v1.3.1 16:07:57 v2.0.0 16:07:57 v2.1.0 16:07:57 v2.1.1 16:07:57 v2.1.1-dev.2 16:07:57 v2.1.1-dev.3 16:07:57 v2.2.0 16:07:57 v2.2.1-dev.1 16:07:57 v2.2.1-dev.2 16:07:57 v2.2.1-dev.3 16:07:57 v2.2.1-dev.4 16:07:57 v2.2.1-dev.5 16:07:57 v2.2.1-dev.6 16:07:57 v2.2.1-dev.7 16:07:57 v2.3.0 16:07:57 v2.3.0-dev.10 16:07:57 v2.3.0-dev.11 16:07:57 v2.3.0-dev.12 16:07:57 v2.3.0-dev.13 16:07:57 v2.3.0-dev.14 16:07:57 v2.3.0-dev.15 16:07:57 v2.3.0-dev.16 16:07:57 v2.3.0-dev.17 16:07:57 v2.3.0-dev.18 16:07:57 v2.3.0-dev.19 16:07:57 v2.3.0-dev.20 16:07:57 v2.3.0-dev.21 16:07:57 v2.3.0-dev.22 16:07:57 v2.3.0-dev.23 16:07:57 v2.3.0-dev.24 16:07:57 v2.3.0-dev.7 16:07:57 v2.3.0-dev.8 16:07:57 v2.3.0-dev.9 16:07:57 v3.0.0-dev.1 16:07:57 v3.0.0-dev.10 16:07:57 v3.0.0-dev.2 16:07:57 v3.0.0-dev.3 16:07:57 v3.0.0-dev.4 16:07:57 v3.0.0-dev.5 16:07:57 v3.0.0-dev.6 16:07:57 v3.0.0-dev.7 16:07:57 v3.0.0-dev.8 16:07:57 v3.0.0-dev.9 [Pipeline] sh 16:07:57 + lftools sign git-tag v3.0.0-dev.10 16:07:58 Signing Git tag with Sigul... 16:07:58 Signing v3.0.0-dev.10 [Pipeline] echo 16:07:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:07:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:07:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:07:58 $ docker stop --time=1 25e26ebedf9c5163cd54798e9ad0ac7dc110694c3b20193f1f6b8e85e7976073 16:07:59 $ docker rm -f --volumes 25e26ebedf9c5163cd54798e9ad0ac7dc110694c3b20193f1f6b8e85e7976073 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:08:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:00 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 16:08:00 $ 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 16:08:01 $ docker top be2f57af254775c78b209f298539215df08c328ca1e12488c43ecf2b18c42f64 -eo pid,comm 16:08:01 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). 16:08:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:01 [ssh-agent] Looking for ssh-agent implementation... 16:08:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:01 $ docker exec be2f57af254775c78b209f298539215df08c328ca1e12488c43ecf2b18c42f64 ssh-agent 16:08:01 SSH_AUTH_SOCK=/tmp/ssh-MQ5zvj56L7X8/agent.32 16:08:01 SSH_AGENT_PID=38 16:08:01 Running ssh-add (command line suppressed) 16:08:01 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7485244568705844388.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7485244568705844388.key) 16:08:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:01 + git semver bump pre 16:08:02 2023-04-03 16:08:02,070 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 16:08:02 2023-04-03 16:08:02,070 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev 16:08:02 2023-04-03 16:08:02,070 [bump_version] DEBUG bumped version:3.0.0-dev.11 16:08:02 2023-04-03 16:08:02,070 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 16:08:02 2023-04-03 16:08:02,071 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 16:08:02 2023-04-03 16:08:02,071 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 16:08:02 2023-04-03 16:08:02,072 [execute] INFO git cat-file --batch-check 16:08:02 2023-04-03 16:08:02,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:02 2023-04-03 16:08:02,078 [execute] INFO git cat-file --batch 16:08:02 2023-04-03 16:08:02,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:02 2023-04-03 16:08:02,083 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 16:08:02 3.0.0-dev.11 [Pipeline] } 16:08:02 $ docker exec --env ******** --env ******** be2f57af254775c78b209f298539215df08c328ca1e12488c43ecf2b18c42f64 ssh-agent -k 16:08:02 unset SSH_AUTH_SOCK; 16:08:02 unset SSH_AGENT_PID; 16:08:02 echo Agent pid 38 killed; 16:08:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:02 + git semver [Pipeline] } 16:08:02 $ docker stop --time=1 be2f57af254775c78b209f298539215df08c328ca1e12488c43ecf2b18c42f64 16:08:04 $ docker rm -f --volumes be2f57af254775c78b209f298539215df08c328ca1e12488c43ecf2b18c42f64 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:04 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 16:08:04 $ 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 16:08:05 $ docker top cd6de071850482ea956c2cd78c98cd41fc9fe720c1b5722047aafabc47a761e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:05 [ssh-agent] Looking for ssh-agent implementation... 16:08:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:05 $ docker exec cd6de071850482ea956c2cd78c98cd41fc9fe720c1b5722047aafabc47a761e3 ssh-agent 16:08:05 SSH_AUTH_SOCK=/tmp/ssh-B7d7wDlE0R9X/agent.32 16:08:05 SSH_AGENT_PID=38 16:08:05 Running ssh-add (command line suppressed) 16:08:05 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15510027991423298801.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15510027991423298801.key) 16:08:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:05 + git semver push 16:08:06 2023-04-03 16:08:06,182 [run_push] DEBUG push 16:08:06 2023-04-03 16:08:06,183 [execute] INFO git cat-file --batch-check 16:08:06 2023-04-03 16:08:06,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:06 2023-04-03 16:08:06,186 [execute] INFO git rev-list f6a3b14b557e06962368deb2015a0701e7bf7e73 -- 16:08:06 2023-04-03 16:08:06,186 [execute] DEBUG Popen(['git', 'rev-list', 'f6a3b14b557e06962368deb2015a0701e7bf7e73', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:06 2023-04-03 16:08:06,194 [execute] INFO git fetch -v origin 16:08:06 2023-04-03 16:08:06,194 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:08:06 2023-04-03 16:08:06,659 [run_push] DEBUG no remote changes detected 16:08:06 2023-04-03 16:08:06,659 [execute] INFO git push origin semver 16:08:06 2023-04-03 16:08:06,660 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:07 2023-04-03 16:08:07,502 [run_push] DEBUG push all version tags 16:08:07 2023-04-03 16:08:07,502 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:08:07 2023-04-03 16:08:07,503 [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) 16:08:08 2023-04-03 16:08:08,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 16:08:08 3.0.0-dev.11 [Pipeline] } 16:08:08 $ docker exec --env ******** --env ******** cd6de071850482ea956c2cd78c98cd41fc9fe720c1b5722047aafabc47a761e3 ssh-agent -k 16:08:08 unset SSH_AUTH_SOCK; 16:08:08 unset SSH_AGENT_PID; 16:08:08 echo Agent pid 38 killed; 16:08:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:09 + git semver [Pipeline] } 16:08:09 $ docker stop --time=1 cd6de071850482ea956c2cd78c98cd41fc9fe720c1b5722047aafabc47a761e3 16:08:10 $ docker rm -f --volumes cd6de071850482ea956c2cd78c98cd41fc9fe720c1b5722047aafabc47a761e3 [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 16:08:11 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 16:08:11 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 16:08:11 total 16 16:08:11 drwxr-xr-x 3 root root 4096 Apr 3 15:56 . 16:08:11 drwxrwxr-x 10 jenkins jenkins 4096 Apr 3 16:07 .. 16:08:11 drwxr-xr-x 2 root root 4096 Apr 3 15:56 cost 16:08:11 -rw-r--r-- 1 root root 85 Apr 3 15:56 cost.csv 16:08:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 16:08:11 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 16:08:11 total 16 16:08:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 3 15:56 . 16:08:11 drwxrwxr-x 10 jenkins jenkins 4096 Apr 3 16:07 .. 16:08:11 drwxr-xr-x 2 jenkins jenkins 4096 Apr 3 15:56 cost 16:08:11 -rw-r--r-- 1 jenkins jenkins 85 Apr 3 15:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:12 ---> package-listing.sh 16:08:12 ++ facter osfamily 16:08:12 ++ tr '[:upper:]' '[:lower:]' 16:08:12 + OS_FAMILY=debian 16:08:12 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 16:08:12 + START_PACKAGES=/tmp/packages_start.txt 16:08:12 + END_PACKAGES=/tmp/packages_end.txt 16:08:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:12 + PACKAGES=/tmp/packages_start.txt 16:08:12 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 16:08:12 + PACKAGES=/tmp/packages_end.txt 16:08:12 + case "${OS_FAMILY}" in 16:08:12 + dpkg -l 16:08:12 + grep '^ii' 16:08:12 + '[' -f /tmp/packages_start.txt ']' 16:08:12 + '[' -f /tmp/packages_end.txt ']' 16:08:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:12 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 16:08:12 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 16:08:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 16:08:12 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 16:08:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:13 prd-ubuntu20.04-docker-8c-8g-6707 does not seem to be running inside a container 16:08:13 $ 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 16:08:13 $ docker top 29ae11fe6425ee9e7e5f6ca188117cc49dba7fcff4dee518ccb0411a88c56d26 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:14 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:14 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:14 + ls /var/log/sa-host 16:08:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:14 provisioning config files... 16:08:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1232910921721537795tmp [Pipeline] { [Pipeline] echo 16:08:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:15 ---> create-netrc.sh [Pipeline] } 16:08:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:15 ---> python-tools-install.sh [Pipeline] echo 16:08:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:15 ---> sudo-logs.sh 16:08:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:16 ---> job-cost.sh 16:08:16 lf-activate-venv: SKIPPING 16:08:16 DEBUG: total: 0.2199999988079071 16:08:16 INFO: Retrieving Stack Cost... 16:08:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:16 INFO: Archiving Costs [Pipeline] echo 16:08:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:17 ---> logs-deploy.sh 16:08:17 lf-activate-venv: SKIPPING 16:08:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/67 16:08:17 INFO: archiving workspace using pattern(s): 16:08:18 Archives upload complete. 16:08:18 INFO: archiving logs to Nexus