Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 035feacf7376206129236edf6c51b035a5ab8cee 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-ssh18081597091295148108.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3769102582236545570.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh4208407691380113446.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11216371892792586198.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-ssh7266396813963421810.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-17179’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17182 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 035feacf7376206129236edf6c51b035a5ab8cee (main) Commit message: "Merge pull request #331 from cloudxxx8/changelog" > 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 035feacf7376206129236edf6c51b035a5ab8cee # timeout=10 > git rev-list --no-walk 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-10T02:07:34.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-10T02:07:34.473Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-10T02:07:34.494Z] ========================================================= [2023-11-10T02:07:34.494Z] EdgeX Global Pipelines Version Info [2023-11-10T02:07:34.494Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:07:35.222Z] ------------------- [2023-11-10T02:07:35.222Z] stable info: [2023-11-10T02:07:35.222Z] ------------------- [2023-11-10T02:07:35.222Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-10T02:07:35.222Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-10T02:07:35.222Z] Message: update stable to v1.0.257 [2023-11-10T02:07:35.796Z] ------------------- [2023-11-10T02:07:35.796Z] experimental info: [2023-11-10T02:07:35.796Z] ------------------- [2023-11-10T02:07:35.796Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-10T02:07:35.797Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-10T02:07:35.797Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-10T02:07:35.966Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-11-10T02:07:35.982Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-11-10T02:07:35.997Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-10T02:07:36.012Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-10T02:07:36.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-10T02:07:36.038Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-10T02:07:36.051Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-10T02:07:36.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-10T02:07:36.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-10T02:07:36.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-10T02:07:36.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-10T02:07:36.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-11-10T02:07:36.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-10T02:07:36.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-10T02:07:36.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-10T02:07:36.197Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-10T02:07:36.216Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-10T02:07:36.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-10T02:07:36.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-10T02:07:36.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-10T02:07:36.289Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-10T02:07:36.307Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-10T02:07:36.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-10T02:07:36.344Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-10T02:07:36.355Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-10T02:07:36.369Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-10T02:07:36.381Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-10T02:07:36.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-10T02:07:36.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-10T02:07:36.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-10T02:07:36.428Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] echo [2023-11-10T02:07:36.440Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 035feac [Pipeline] echo [2023-11-10T02:07:36.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:07:36.500Z] provisioning config files... [2023-11-10T02:07:36.512Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10571724658059871137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:07:36.816Z] ---> docker-login.sh [2023-11-10T02:07:36.816Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:07:38.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:38.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:38.198Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:38.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:38.198Z] [2023-11-10T02:07:38.198Z] Login Succeeded [2023-11-10T02:07:38.198Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:07:38.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:38.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:38.198Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:38.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:38.198Z] [2023-11-10T02:07:38.198Z] Login Succeeded [2023-11-10T02:07:38.198Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:07:38.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:38.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:38.459Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:38.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:38.459Z] [2023-11-10T02:07:38.459Z] Login Succeeded [2023-11-10T02:07:38.459Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:07:38.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:38.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:38.459Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:38.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:38.459Z] [2023-11-10T02:07:38.459Z] Login Succeeded [2023-11-10T02:07:38.459Z] docker.io [2023-11-10T02:07:38.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:38.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:38.719Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:38.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:38.719Z] [2023-11-10T02:07:38.719Z] Login Succeeded [2023-11-10T02:07:38.719Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:07:38.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-10T02:07:39.098Z] + git rev-list -1 --merges 035feacf7376206129236edf6c51b035a5ab8cee~1..035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] echo [2023-11-10T02:07:39.147Z] -----------> git rev-list -1 --merges 035feacf7376206129236edf6c51b035a5ab8cee~1..035feacf7376206129236edf6c51b035a5ab8cee 035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:07:39.147Z] 035feacf7376206129236edf6c51b035a5ab8cee [false] [Pipeline] sh [2023-11-10T02:07:39.437Z] + git log --format=format:%s -1 035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] echo [2023-11-10T02:07:39.453Z] ========================================================= [2023-11-10T02:07:39.453Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-10T02:07:39.453Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-10T02:07:39.770Z] + git log --format=format:%s -1 035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] echo [2023-11-10T02:07:39.781Z] [semverPrep] GIT_COMMIT: 035feacf7376206129236edf6c51b035a5ab8cee, Commit Message: Merge pull request #331 from cloudxxx8/changelog [Pipeline] echo [2023-11-10T02:07:39.789Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-10T02:07:40.131Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:07:40.131Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-10T02:07:40.131Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-10T02:07:40.131Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-10T02:07:40.131Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-10T02:07:40.131Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-10T02:07:40.131Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:07:40.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:07:40.487Z] [2023-11-10T02:07:40.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:07:40.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:07:40.788Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-10T02:07:40.788Z] b85a868b505f: Pulling fs layer [2023-11-10T02:07:40.788Z] e2be974225ed: Pulling fs layer [2023-11-10T02:07:40.788Z] 339a4e72a1f5: Pulling fs layer [2023-11-10T02:07:40.788Z] 988bab9f4d93: Pulling fs layer [2023-11-10T02:07:40.788Z] 1469e6f7b9e6: Pulling fs layer [2023-11-10T02:07:40.788Z] eaf3925da568: Pulling fs layer [2023-11-10T02:07:40.788Z] bab4dde63d76: Pulling fs layer [2023-11-10T02:07:40.788Z] bde34c3a00c8: Pulling fs layer [2023-11-10T02:07:40.788Z] b352a97aabf1: Pulling fs layer [2023-11-10T02:07:40.788Z] 4872d77fe225: Pulling fs layer [2023-11-10T02:07:40.788Z] 5851b861e8e6: Pulling fs layer [2023-11-10T02:07:40.788Z] 988bab9f4d93: Waiting [2023-11-10T02:07:40.788Z] eaf3925da568: Waiting [2023-11-10T02:07:40.788Z] b352a97aabf1: Waiting [2023-11-10T02:07:40.788Z] 4872d77fe225: Waiting [2023-11-10T02:07:40.788Z] bab4dde63d76: Waiting [2023-11-10T02:07:40.788Z] 1469e6f7b9e6: Waiting [2023-11-10T02:07:40.788Z] bde34c3a00c8: Waiting [2023-11-10T02:07:40.788Z] e2be974225ed: Verifying Checksum [2023-11-10T02:07:40.788Z] e2be974225ed: Download complete [2023-11-10T02:07:40.788Z] 988bab9f4d93: Verifying Checksum [2023-11-10T02:07:40.789Z] 988bab9f4d93: Download complete [2023-11-10T02:07:40.789Z] 1469e6f7b9e6: Download complete [2023-11-10T02:07:41.049Z] eaf3925da568: Verifying Checksum [2023-11-10T02:07:41.049Z] eaf3925da568: Download complete [2023-11-10T02:07:41.049Z] 339a4e72a1f5: Verifying Checksum [2023-11-10T02:07:41.049Z] 339a4e72a1f5: Download complete [2023-11-10T02:07:41.049Z] bde34c3a00c8: Verifying Checksum [2023-11-10T02:07:41.049Z] bde34c3a00c8: Download complete [2023-11-10T02:07:41.049Z] b352a97aabf1: Download complete [2023-11-10T02:07:41.049Z] 4872d77fe225: Download complete [2023-11-10T02:07:41.049Z] 5851b861e8e6: Verifying Checksum [2023-11-10T02:07:41.049Z] 5851b861e8e6: Download complete [2023-11-10T02:07:41.049Z] b85a868b505f: Verifying Checksum [2023-11-10T02:07:41.049Z] b85a868b505f: Download complete [2023-11-10T02:07:41.308Z] bab4dde63d76: Verifying Checksum [2023-11-10T02:07:42.244Z] b85a868b505f: Pull complete [2023-11-10T02:07:42.504Z] e2be974225ed: Pull complete [2023-11-10T02:07:43.073Z] 339a4e72a1f5: Pull complete [2023-11-10T02:07:43.073Z] 988bab9f4d93: Pull complete [2023-11-10T02:07:43.330Z] 1469e6f7b9e6: Pull complete [2023-11-10T02:07:43.330Z] eaf3925da568: Pull complete [2023-11-10T02:07:45.244Z] bab4dde63d76: Pull complete [2023-11-10T02:07:45.244Z] bde34c3a00c8: Pull complete [2023-11-10T02:07:45.244Z] b352a97aabf1: Pull complete [2023-11-10T02:07:45.244Z] 4872d77fe225: Pull complete [2023-11-10T02:07:45.244Z] 5851b861e8e6: Pull complete [2023-11-10T02:07:45.244Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-10T02:07:45.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:07:45.505Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:07:45.606Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:07:45.644Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-10T02:07:49.459Z] $ docker top 44d4e42d63f6662a216add4b89fc6ecadb54b79e68df6332be22c314301ca4bd -eo pid,comm [2023-11-10T02:07:49.504Z] 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). [2023-11-10T02:07:49.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:07:49.548Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:07:49.548Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:07:49.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:07:49.668Z] $ docker exec 44d4e42d63f6662a216add4b89fc6ecadb54b79e68df6332be22c314301ca4bd ssh-agent [2023-11-10T02:07:49.754Z] SSH_AUTH_SOCK=/tmp/ssh-pAs3I4Z1i3da/agent.33 [2023-11-10T02:07:49.754Z] SSH_AGENT_PID=39 [2023-11-10T02:07:49.762Z] Running ssh-add (command line suppressed) [2023-11-10T02:07:49.869Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1779614534433388918.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1779614534433388918.key) [2023-11-10T02:07:49.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:07:50.168Z] + git tag --points-at HEAD [Pipeline] } [2023-11-10T02:07:50.189Z] $ docker exec --env ******** --env ******** 44d4e42d63f6662a216add4b89fc6ecadb54b79e68df6332be22c314301ca4bd ssh-agent -k [2023-11-10T02:07:50.283Z] unset SSH_AUTH_SOCK; [2023-11-10T02:07:50.284Z] unset SSH_AGENT_PID; [2023-11-10T02:07:50.284Z] echo Agent pid 39 killed; [2023-11-10T02:07:50.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-10T02:07:50.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:07:50.320Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:07:50.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:07:50.428Z] $ docker exec 44d4e42d63f6662a216add4b89fc6ecadb54b79e68df6332be22c314301ca4bd ssh-agent [2023-11-10T02:07:50.525Z] SSH_AUTH_SOCK=/tmp/ssh-OcoZCh0UnlC3/agent.72 [2023-11-10T02:07:50.526Z] SSH_AGENT_PID=79 [2023-11-10T02:07:50.530Z] Running ssh-add (command line suppressed) [2023-11-10T02:07:50.628Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17673929869752408579.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17673929869752408579.key) [2023-11-10T02:07:50.640Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:07:50.932Z] + git semver init [2023-11-10T02:07:51.192Z] 2023-11-10 02:07:51,099 [run_init] DEBUG init version:0.0.0 force:False [2023-11-10T02:07:51.192Z] 2023-11-10 02:07:51,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-11-10T02:07:51.192Z] 2023-11-10 02:07:51,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-11-10T02:07:51.192Z] 2023-11-10 02:07:51,101 [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) [2023-11-10T02:07:52.130Z] 2023-11-10 02:07:51,956 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-11-10T02:07:52.130Z] 2023-11-10 02:07:51,956 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-11-10T02:07:52.130Z] 2023-11-10 02:07:51,956 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:07:52.130Z] 2023-11-10 02:07:51,956 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:07:52.130Z] 3.1.0-dev.11 [Pipeline] } [2023-11-10T02:07:52.144Z] $ docker exec --env ******** --env ******** 44d4e42d63f6662a216add4b89fc6ecadb54b79e68df6332be22c314301ca4bd ssh-agent -k [2023-11-10T02:07:52.240Z] unset SSH_AUTH_SOCK; [2023-11-10T02:07:52.241Z] unset SSH_AGENT_PID; [2023-11-10T02:07:52.242Z] echo Agent pid 79 killed; [2023-11-10T02:07:52.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:07:52.544Z] + git semver [Pipeline] } [2023-11-10T02:07:52.820Z] $ docker stop --time=1 44d4e42d63f6662a216add4b89fc6ecadb54b79e68df6332be22c314301ca4bd [2023-11-10T02:07:54.116Z] $ docker rm -f --volumes 44d4e42d63f6662a216add4b89fc6ecadb54b79e68df6332be22c314301ca4bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:07:54.457Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-10T02:07:54.678Z] Stashed 1 file(s) [Pipeline] echo [2023-11-10T02:07:54.682Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:07:54.852Z] provisioning config files... [2023-11-10T02:07:54.874Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14067127662040922207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:07:55.171Z] ---> docker-login.sh [2023-11-10T02:07:55.171Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:07:55.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:55.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:55.171Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:55.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:55.171Z] [2023-11-10T02:07:55.171Z] Login Succeeded [2023-11-10T02:07:55.171Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:07:55.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:55.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:55.171Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:55.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:55.171Z] [2023-11-10T02:07:55.171Z] Login Succeeded [2023-11-10T02:07:55.171Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:07:55.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:55.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:55.430Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:55.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:55.430Z] [2023-11-10T02:07:55.430Z] Login Succeeded [2023-11-10T02:07:55.430Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:07:55.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:55.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:55.430Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:55.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:55.430Z] [2023-11-10T02:07:55.430Z] Login Succeeded [2023-11-10T02:07:55.430Z] docker.io [2023-11-10T02:07:55.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:55.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:55.689Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:55.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:55.689Z] [2023-11-10T02:07:55.689Z] Login Succeeded [2023-11-10T02:07:55.689Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:07:55.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-10T02:07:55.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:07:55.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:07:55.800Z] ========================================================= [2023-11-10T02:07:55.800Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-10T02:07:55.800Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:07:56.192Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-10T02:07:56.192Z] Sending build context to Docker daemon 5.759MB [2023-11-10T02:07:56.192Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:07:56.192Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-10T02:07:56.451Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-10T02:07:56.451Z] 7264a8db6415: Pulling fs layer [2023-11-10T02:07:56.451Z] c4d48a809fc2: Pulling fs layer [2023-11-10T02:07:56.451Z] 4f1c88b9dad5: Pulling fs layer [2023-11-10T02:07:56.451Z] ad3a456e5733: Pulling fs layer [2023-11-10T02:07:56.451Z] 33e27b845d1e: Pulling fs layer [2023-11-10T02:07:56.451Z] c68163c4e522: Pulling fs layer [2023-11-10T02:07:56.451Z] 50da416c3ac9: Pulling fs layer [2023-11-10T02:07:56.451Z] 23d2d4c4bb30: Pulling fs layer [2023-11-10T02:07:56.451Z] ad3a456e5733: Waiting [2023-11-10T02:07:56.451Z] 33e27b845d1e: Waiting [2023-11-10T02:07:56.451Z] c68163c4e522: Waiting [2023-11-10T02:07:56.451Z] 50da416c3ac9: Waiting [2023-11-10T02:07:56.451Z] 23d2d4c4bb30: Waiting [2023-11-10T02:07:56.451Z] c4d48a809fc2: Download complete [2023-11-10T02:07:56.451Z] ad3a456e5733: Verifying Checksum [2023-11-10T02:07:56.451Z] ad3a456e5733: Download complete [2023-11-10T02:07:56.451Z] 7264a8db6415: Verifying Checksum [2023-11-10T02:07:56.451Z] 7264a8db6415: Download complete [2023-11-10T02:07:56.451Z] 33e27b845d1e: Verifying Checksum [2023-11-10T02:07:56.451Z] 33e27b845d1e: Download complete [2023-11-10T02:07:56.451Z] c68163c4e522: Verifying Checksum [2023-11-10T02:07:56.451Z] c68163c4e522: Download complete [2023-11-10T02:07:56.727Z] 7264a8db6415: Pull complete [2023-11-10T02:07:56.727Z] 23d2d4c4bb30: Verifying Checksum [2023-11-10T02:07:56.727Z] 23d2d4c4bb30: Download complete [2023-11-10T02:07:56.985Z] 4f1c88b9dad5: Download complete [2023-11-10T02:07:56.985Z] c4d48a809fc2: Pull complete [2023-11-10T02:07:57.549Z] 50da416c3ac9: Verifying Checksum [2023-11-10T02:07:57.549Z] 50da416c3ac9: Download complete [2023-11-10T02:08:00.097Z] 4f1c88b9dad5: Pull complete [2023-11-10T02:08:00.358Z] ad3a456e5733: Pull complete [2023-11-10T02:08:00.625Z] 33e27b845d1e: Pull complete [2023-11-10T02:08:00.625Z] c68163c4e522: Pull complete [2023-11-10T02:08:03.154Z] 50da416c3ac9: Pull complete [2023-11-10T02:08:03.726Z] 23d2d4c4bb30: Pull complete [2023-11-10T02:08:03.726Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-10T02:08:03.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-10T02:08:03.726Z] ---> 0786185ac409 [2023-11-10T02:08:03.726Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:08:09.798Z] Still waiting to schedule task [2023-11-10T02:08:09.798Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17177’ [2023-11-10T02:08:10.299Z] ---> Running in 09e9956cb4f2 [2023-11-10T02:08:10.299Z] Removing intermediate container 09e9956cb4f2 [2023-11-10T02:08:10.299Z] ---> 49cb79e3ffbc [2023-11-10T02:08:10.299Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:08:10.299Z] ---> Running in 8e8c4cca44cd [2023-11-10T02:08:10.299Z] Removing intermediate container 8e8c4cca44cd [2023-11-10T02:08:10.299Z] ---> 1ebb12d2a512 [2023-11-10T02:08:10.299Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:08:10.299Z] ---> Running in 8879ed682699 [2023-11-10T02:08:10.299Z] Removing intermediate container 8879ed682699 [2023-11-10T02:08:10.299Z] ---> c34c4851bf27 [2023-11-10T02:08:10.299Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:08:10.299Z] ---> Running in 397d9fac1455 [2023-11-10T02:08:10.299Z] Removing intermediate container 397d9fac1455 [2023-11-10T02:08:10.299Z] ---> 30ddc8915925 [2023-11-10T02:08:10.299Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:08:10.299Z] ---> Running in eed13ea6266e [2023-11-10T02:08:10.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-10T02:08:10.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-10T02:08:10.818Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-10T02:08:10.818Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-10T02:08:10.818Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-10T02:08:10.818Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-10T02:08:10.818Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:08:10.818Z] OK: 268 MiB in 56 packages [2023-11-10T02:08:11.387Z] Removing intermediate container eed13ea6266e [2023-11-10T02:08:11.387Z] ---> 49a432050262 [2023-11-10T02:08:11.387Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-10T02:08:11.387Z] ---> Running in 872b13c0e1ac [2023-11-10T02:08:11.644Z] Removing intermediate container 872b13c0e1ac [2023-11-10T02:08:11.644Z] ---> 766425b0bfdf [2023-11-10T02:08:11.644Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-10T02:08:11.644Z] ---> 00ab49dbf9bc [2023-11-10T02:08:11.644Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:08:11.644Z] ---> Running in a20b2f09c153 [2023-11-10T02:09:07.894Z] Removing intermediate container a20b2f09c153 [2023-11-10T02:09:07.894Z] ---> 1fb6cf97e8c0 [2023-11-10T02:09:07.894Z] Step 11/12 : COPY . . [2023-11-10T02:09:07.894Z] ---> cec80bb86229 [2023-11-10T02:09:07.894Z] Step 12/12 : RUN ${MAKE} [2023-11-10T02:09:07.894Z] ---> Running in 983d1d6b3a02 [2023-11-10T02:09:07.894Z] noop [2023-11-10T02:09:07.894Z] Removing intermediate container 983d1d6b3a02 [2023-11-10T02:09:07.894Z] ---> 38c2b2234e81 [2023-11-10T02:09:07.894Z] Successfully built 38c2b2234e81 [2023-11-10T02:09:07.894Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:09:08.207Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-10T02:09:08.207Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:09:08.271Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:09:08.302Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-11-10T02:09:08.622Z] $ docker top 2abceadc08cd30a0e83285bf107845661eaff084c8044db412ecd3383428d342 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:09:08.962Z] + go version [2023-11-10T02:09:08.962Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-10T02:09:08.973Z] $ docker stop --time=1 2abceadc08cd30a0e83285bf107845661eaff084c8044db412ecd3383428d342 [2023-11-10T02:09:10.378Z] $ docker rm -f --volumes 2abceadc08cd30a0e83285bf107845661eaff084c8044db412ecd3383428d342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:09:10.813Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-10T02:09:10.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:09:10.891Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:09:10.927Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-11-10T02:09:11.250Z] $ docker top 9c17833b1f40c80294b4d033df7df33f4c32faef69451d8e4a8604006459c4bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:09:11.601Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-10T02:09:11.904Z] + make test [2023-11-10T02:09:11.904Z] go test ./... -coverprofile=coverage.out [2023-11-10T02:09:13.284Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-10T02:09:23.252Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-10T02:09:23.252Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-11-10T02:09:28.511Z] go vet ./... [2023-11-10T02:09:32.694Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-10T02:09:32.694Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-10T02:09:32.694Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-10T02:09:32.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-10T02:09:32.719Z] $ docker stop --time=1 9c17833b1f40c80294b4d033df7df33f4c32faef69451d8e4a8604006459c4bb [2023-11-10T02:09:36.761Z] $ docker rm -f --volumes 9c17833b1f40c80294b4d033df7df33f4c32faef69451d8e4a8604006459c4bb [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:09:37.217Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-10T02:09:37.260Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-10T02:09:37.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-10T02:09:38.025Z] + ls -al . [2023-11-10T02:09:38.025Z] total 172 [2023-11-10T02:09:38.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:09 . [2023-11-10T02:09:38.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:07 .. [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 10 02:07 .dockerignore [2023-11-10T02:09:38.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:09 .git [2023-11-10T02:09:38.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 .github [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 10 02:07 .gitignore [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 02:07 .golangci.yml [2023-11-10T02:09:38.025Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:07 .semver [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 10 02:07 Attribution.txt [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 10 02:07 CHANGELOG.md [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 1462 Nov 10 02:07 Dockerfile [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:07 GOVERNANCE.md [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 10 02:07 Jenkinsfile [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 02:07 LICENSE [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 10 02:07 Makefile [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 02:07 OWNERS.md [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 10 02:07 README.md [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 10 02:07 VERSION [2023-11-10T02:09:38.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:07 bin [2023-11-10T02:09:38.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 cmd [2023-11-10T02:09:38.025Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 10 02:09 coverage.out [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 3712 Nov 10 02:07 go.mod [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 34822 Nov 10 02:07 go.sum [2023-11-10T02:09:38.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 internal [2023-11-10T02:09:38.025Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 10 02:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:09:38.419Z] + 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=035feacf7376206129236edf6c51b035a5ab8cee --label arch=amd64 --label version=3.1.0-dev.11 . [2023-11-10T02:09:38.419Z] Sending build context to Docker daemon 5.769MB [2023-11-10T02:09:38.419Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:09:38.419Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-10T02:09:38.419Z] ---> 38c2b2234e81 [2023-11-10T02:09:38.419Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:09:38.685Z] ---> Running in e7e680fa9883 [2023-11-10T02:09:38.685Z] Removing intermediate container e7e680fa9883 [2023-11-10T02:09:38.685Z] ---> bf68807ea251 [2023-11-10T02:09:38.685Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:09:38.685Z] ---> Running in 65d21c5b985f [2023-11-10T02:09:38.685Z] Removing intermediate container 65d21c5b985f [2023-11-10T02:09:38.685Z] ---> b05a2b4909a3 [2023-11-10T02:09:38.685Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:09:38.685Z] ---> Running in 91e7562b70e2 [2023-11-10T02:09:38.949Z] Removing intermediate container 91e7562b70e2 [2023-11-10T02:09:38.949Z] ---> 775191d17337 [2023-11-10T02:09:38.949Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:09:38.949Z] ---> Running in 130ab1f746a6 [2023-11-10T02:09:38.949Z] Removing intermediate container 130ab1f746a6 [2023-11-10T02:09:38.949Z] ---> bc47eb1f9be8 [2023-11-10T02:09:38.949Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:09:38.949Z] ---> Running in 7ec74ec2178c [2023-11-10T02:09:39.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-10T02:09:39.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-10T02:09:39.728Z] OK: 268 MiB in 56 packages [2023-11-10T02:09:39.985Z] Removing intermediate container 7ec74ec2178c [2023-11-10T02:09:39.985Z] ---> 2c8b3cbf2141 [2023-11-10T02:09:39.985Z] Step 8/24 : WORKDIR /device-snmp-go [2023-11-10T02:09:39.985Z] ---> Running in 7a7efc8b61b7 [2023-11-10T02:09:39.985Z] Removing intermediate container 7a7efc8b61b7 [2023-11-10T02:09:39.985Z] ---> 5d2318702deb [2023-11-10T02:09:39.985Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-10T02:09:40.243Z] ---> 40346602a1b5 [2023-11-10T02:09:40.243Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:09:40.243Z] ---> Running in be83d02a7f00 [2023-11-10T02:09:40.808Z] Removing intermediate container be83d02a7f00 [2023-11-10T02:09:40.808Z] ---> 749c9352ac36 [2023-11-10T02:09:40.808Z] Step 11/24 : COPY . . [2023-11-10T02:09:41.387Z] ---> 7ce17f20bd9f [2023-11-10T02:09:41.387Z] Step 12/24 : RUN ${MAKE} [2023-11-10T02:09:41.387Z] ---> Running in 1d41645a7565 [2023-11-10T02:09:41.646Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-10T02:10:03.634Z] Removing intermediate container 1d41645a7565 [2023-11-10T02:10:03.634Z] ---> 9be94f0a6cf4 [2023-11-10T02:10:03.634Z] Step 13/24 : FROM alpine:3.18 [2023-11-10T02:10:03.893Z] 3.18: Pulling from library/alpine [2023-11-10T02:10:03.893Z] 96526aa774ef: Pulling fs layer [2023-11-10T02:10:04.151Z] 96526aa774ef: Download complete [2023-11-10T02:10:04.151Z] 96526aa774ef: Pull complete [2023-11-10T02:10:04.409Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-10T02:10:04.409Z] Status: Downloaded newer image for alpine:3.18 [2023-11-10T02:10:04.409Z] ---> 8ca4688f4f35 [2023-11-10T02:10:04.409Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-11-10T02:10:04.409Z] ---> Running in 3d1ddcca4e36 [2023-11-10T02:10:04.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-10T02:10:04.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-10T02:10:04.926Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-10T02:10:04.926Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:10:04.926Z] OK: 7 MiB in 16 packages [2023-11-10T02:10:05.184Z] Removing intermediate container 3d1ddcca4e36 [2023-11-10T02:10:05.184Z] ---> 8b78a5309d7e [2023-11-10T02:10:05.184Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-11-10T02:10:06.558Z] ---> b1f47aa04c87 [2023-11-10T02:10:06.558Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-10T02:10:06.816Z] ---> f7ca2baa8619 [2023-11-10T02:10:06.816Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-10T02:10:07.750Z] ---> ab1c57c841c2 [2023-11-10T02:10:07.750Z] Step 18/24 : EXPOSE 59993 [2023-11-10T02:10:08.008Z] ---> Running in 01e7937be891 [2023-11-10T02:10:08.587Z] Removing intermediate container 01e7937be891 [2023-11-10T02:10:08.587Z] ---> 4e5ad8c690fa [2023-11-10T02:10:08.587Z] Step 19/24 : EXPOSE 161 [2023-11-10T02:10:08.845Z] ---> Running in b2d97aa14eec [2023-11-10T02:10:08.845Z] Removing intermediate container b2d97aa14eec [2023-11-10T02:10:08.845Z] ---> 10f7b9b1516f [2023-11-10T02:10:08.845Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-11-10T02:10:08.845Z] ---> Running in e9fc4e11042e [2023-11-10T02:10:08.845Z] Removing intermediate container e9fc4e11042e [2023-11-10T02:10:08.845Z] ---> 21bd56fef4ba [2023-11-10T02:10:08.845Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-10T02:10:08.845Z] ---> Running in 304ffa8e15ab [2023-11-10T02:10:08.845Z] Removing intermediate container 304ffa8e15ab [2023-11-10T02:10:08.845Z] ---> b81f82d13f31 [2023-11-10T02:10:08.845Z] Step 22/24 : LABEL arch=amd64 [2023-11-10T02:10:09.103Z] ---> Running in 6f23f6cda22d [2023-11-10T02:10:09.104Z] Removing intermediate container 6f23f6cda22d [2023-11-10T02:10:09.104Z] ---> 669438441df0 [2023-11-10T02:10:09.104Z] Step 23/24 : LABEL git_sha=035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:10:09.104Z] ---> Running in d7e06ff55926 [2023-11-10T02:10:09.104Z] Removing intermediate container d7e06ff55926 [2023-11-10T02:10:09.104Z] ---> 390e4194f771 [2023-11-10T02:10:09.104Z] Step 24/24 : LABEL version=3.1.0-dev.11 [2023-11-10T02:10:09.104Z] ---> Running in d5989468b412 [2023-11-10T02:10:09.363Z] Removing intermediate container d5989468b412 [2023-11-10T02:10:09.363Z] ---> cdee282793ae [2023-11-10T02:10:09.363Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-10T02:10:09.363Z] Successfully built cdee282793ae [2023-11-10T02:10:09.363Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:10:09.485Z] provisioning config files... [2023-11-10T02:10:09.589Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9902040206211621729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:10:09.921Z] ---> docker-login.sh [2023-11-10T02:10:09.921Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:10:09.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:09.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:09.921Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:09.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:09.921Z] [2023-11-10T02:10:09.921Z] Login Succeeded [2023-11-10T02:10:09.921Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:10:09.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:09.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:09.921Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:09.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:09.921Z] [2023-11-10T02:10:09.921Z] Login Succeeded [2023-11-10T02:10:09.921Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:10:10.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:10.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:10.179Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:10.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:10.179Z] [2023-11-10T02:10:10.179Z] Login Succeeded [2023-11-10T02:10:10.179Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:10:10.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:10.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:10.179Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:10.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:10.179Z] [2023-11-10T02:10:10.179Z] Login Succeeded [2023-11-10T02:10:10.179Z] docker.io [2023-11-10T02:10:10.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:10.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:10.696Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:10.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:10.696Z] [2023-11-10T02:10:10.696Z] Login Succeeded [2023-11-10T02:10:10.696Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:10:10.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:10:10.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:10:10.757Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-11-10T02:10:10.757Z] 035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:10:10.757Z] latest [2023-11-10T02:10:10.757Z] 3.1.0-dev.11 [2023-11-10T02:10:10.757Z] 035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [2023-11-10T02:10:10.757Z] main [2023-11-10T02:10:10.757Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:11.083Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:11.446Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:10:11.446Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-10T02:10:11.446Z] 0d148776bb76: Preparing [2023-11-10T02:10:11.446Z] abc0fa5eed2d: Preparing [2023-11-10T02:10:11.446Z] 501adb9f1cf0: Preparing [2023-11-10T02:10:11.446Z] 0c050ac5217d: Preparing [2023-11-10T02:10:11.446Z] cc2447e1835a: Preparing [2023-11-10T02:10:11.706Z] abc0fa5eed2d: Pushed [2023-11-10T02:10:11.706Z] 0c050ac5217d: Pushed [2023-11-10T02:10:11.706Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:11.706Z] 0d148776bb76: Pushed [2023-11-10T02:10:14.243Z] 501adb9f1cf0: Pushed [2023-11-10T02:10:14.501Z] 035feacf7376206129236edf6c51b035a5ab8cee: digest: sha256:65120582b0861d3cd32948322be90868c943dcfcb11a30f9f7516dd5a0ecc1b8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:14.818Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:15.127Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-11-10T02:10:15.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-10T02:10:15.127Z] 0d148776bb76: Preparing [2023-11-10T02:10:15.127Z] abc0fa5eed2d: Preparing [2023-11-10T02:10:15.127Z] 501adb9f1cf0: Preparing [2023-11-10T02:10:15.127Z] 0c050ac5217d: Preparing [2023-11-10T02:10:15.127Z] cc2447e1835a: Preparing [2023-11-10T02:10:15.127Z] 0d148776bb76: Layer already exists [2023-11-10T02:10:15.127Z] 0c050ac5217d: Layer already exists [2023-11-10T02:10:15.127Z] 501adb9f1cf0: Layer already exists [2023-11-10T02:10:15.127Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:15.127Z] abc0fa5eed2d: Layer already exists [2023-11-10T02:10:15.127Z] latest: digest: sha256:65120582b0861d3cd32948322be90868c943dcfcb11a30f9f7516dd5a0ecc1b8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:15.437Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:15.749Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.11 [2023-11-10T02:10:15.749Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-10T02:10:15.749Z] 0d148776bb76: Preparing [2023-11-10T02:10:15.749Z] abc0fa5eed2d: Preparing [2023-11-10T02:10:15.749Z] 501adb9f1cf0: Preparing [2023-11-10T02:10:15.749Z] 0c050ac5217d: Preparing [2023-11-10T02:10:15.749Z] cc2447e1835a: Preparing [2023-11-10T02:10:15.749Z] 501adb9f1cf0: Layer already exists [2023-11-10T02:10:15.749Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:15.749Z] 0c050ac5217d: Layer already exists [2023-11-10T02:10:15.749Z] 0d148776bb76: Layer already exists [2023-11-10T02:10:15.749Z] abc0fa5eed2d: Layer already exists [2023-11-10T02:10:15.749Z] 3.1.0-dev.11: digest: sha256:65120582b0861d3cd32948322be90868c943dcfcb11a30f9f7516dd5a0ecc1b8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:16.069Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:16.383Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [2023-11-10T02:10:16.383Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-10T02:10:16.383Z] 0d148776bb76: Preparing [2023-11-10T02:10:16.383Z] abc0fa5eed2d: Preparing [2023-11-10T02:10:16.383Z] 501adb9f1cf0: Preparing [2023-11-10T02:10:16.383Z] 0c050ac5217d: Preparing [2023-11-10T02:10:16.383Z] cc2447e1835a: Preparing [2023-11-10T02:10:16.383Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:16.383Z] abc0fa5eed2d: Layer already exists [2023-11-10T02:10:16.383Z] 0c050ac5217d: Layer already exists [2023-11-10T02:10:16.383Z] 0d148776bb76: Layer already exists [2023-11-10T02:10:16.383Z] 501adb9f1cf0: Layer already exists [2023-11-10T02:10:16.383Z] 035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11: digest: sha256:65120582b0861d3cd32948322be90868c943dcfcb11a30f9f7516dd5a0ecc1b8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:16.693Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:17.004Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-11-10T02:10:17.005Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-10T02:10:17.005Z] 0d148776bb76: Preparing [2023-11-10T02:10:17.005Z] abc0fa5eed2d: Preparing [2023-11-10T02:10:17.005Z] 501adb9f1cf0: Preparing [2023-11-10T02:10:17.005Z] 0c050ac5217d: Preparing [2023-11-10T02:10:17.005Z] cc2447e1835a: Preparing [2023-11-10T02:10:17.005Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:17.005Z] abc0fa5eed2d: Layer already exists [2023-11-10T02:10:17.005Z] 501adb9f1cf0: Layer already exists [2023-11-10T02:10:17.005Z] 0d148776bb76: Layer already exists [2023-11-10T02:10:17.005Z] 0c050ac5217d: Layer already exists [2023-11-10T02:10:17.005Z] main: digest: sha256:65120582b0861d3cd32948322be90868c943dcfcb11a30f9f7516dd5a0ecc1b8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:10:17.055Z] ===================================================== [Pipeline] echo [2023-11-10T02:10:17.066Z] taggedImages: [2023-11-10T02:10:17.066Z] - nexus3.edgexfoundry.org:10004/device-snmp:035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:10:17.066Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-11-10T02:10:17.066Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.11 [2023-11-10T02:10:17.066Z] - nexus3.edgexfoundry.org:10004/device-snmp:035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [2023-11-10T02:10:17.066Z] - 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 [2023-11-10T02:10:17.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:10:17.445Z] [2023-11-10T02:10:17.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:17.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:10:17.747Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-10T02:10:17.747Z] 5eb5b503b376: Pulling fs layer [2023-11-10T02:10:17.747Z] 5c69ac0246d0: Pulling fs layer [2023-11-10T02:10:17.747Z] ec43610c2a17: Pulling fs layer [2023-11-10T02:10:17.747Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-10T02:10:17.747Z] 33b1e0a273af: Pulling fs layer [2023-11-10T02:10:17.747Z] 5d3b04190fa2: Pulling fs layer [2023-11-10T02:10:17.747Z] 2f39f015ded8: Pulling fs layer [2023-11-10T02:10:17.747Z] 3a2ae6a8a46f: Waiting [2023-11-10T02:10:17.747Z] 33b1e0a273af: Waiting [2023-11-10T02:10:17.747Z] 5d3b04190fa2: Waiting [2023-11-10T02:10:17.747Z] 2f39f015ded8: Waiting [2023-11-10T02:10:17.747Z] 5c69ac0246d0: Verifying Checksum [2023-11-10T02:10:17.747Z] 5c69ac0246d0: Download complete [2023-11-10T02:10:17.747Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-10T02:10:17.747Z] 3a2ae6a8a46f: Download complete [2023-11-10T02:10:17.747Z] ec43610c2a17: Verifying Checksum [2023-11-10T02:10:17.747Z] ec43610c2a17: Download complete [2023-11-10T02:10:17.747Z] 33b1e0a273af: Verifying Checksum [2023-11-10T02:10:17.747Z] 33b1e0a273af: Download complete [2023-11-10T02:10:17.747Z] 5d3b04190fa2: Download complete [2023-11-10T02:10:18.004Z] 5eb5b503b376: Verifying Checksum [2023-11-10T02:10:18.004Z] 5eb5b503b376: Download complete [2023-11-10T02:10:18.578Z] 2f39f015ded8: Download complete [2023-11-10T02:10:19.143Z] 5eb5b503b376: Pull complete [2023-11-10T02:10:19.400Z] 5c69ac0246d0: Pull complete [2023-11-10T02:10:19.659Z] ec43610c2a17: Pull complete [2023-11-10T02:10:19.917Z] 3a2ae6a8a46f: Pull complete [2023-11-10T02:10:19.917Z] 33b1e0a273af: Pull complete [2023-11-10T02:10:20.176Z] 5d3b04190fa2: Pull complete [2023-11-10T02:10:24.358Z] 2f39f015ded8: Pull complete [2023-11-10T02:10:24.358Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-10T02:10:24.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:10:24.358Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:10:24.446Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:10:24.481Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-10T02:10:29.856Z] $ docker top 3dd71813641d1551bfc805e4de18956a546ce618aa39aba93469d9197ebe0310 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:10:30.230Z] ---> job-cost.sh [2023-11-10T02:10:30.230Z] lf-activate-venv: SKIPPING [2023-11-10T02:10:30.230Z] INFO: No Stack... [2023-11-10T02:10:30.489Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-10T02:10:30.748Z] INFO: Archiving Costs [Pipeline] sh [2023-11-10T02:10:31.040Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-11-10T02:10:31.040Z] + cut -d, -f6 [Pipeline] lock [2023-11-10T02:10:31.057Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] [2023-11-10T02:10:31.063Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] did not exist. Created. [2023-11-10T02:10:31.063Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-10T02:10:31.376Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-10T02:10:31.403Z] Stashed 1 file(s) [Pipeline] } [2023-11-10T02:10:31.409Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-10T02:10:31.428Z] $ docker stop --time=1 3dd71813641d1551bfc805e4de18956a546ce618aa39aba93469d9197ebe0310 [2023-11-10T02:10:32.575Z] $ docker rm -f --volumes 3dd71813641d1551bfc805e4de18956a546ce618aa39aba93469d9197ebe0310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-10T02:11:15.863Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17187 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-11-10T02:11:15.877Z] Running in /w/workspace/device-snmp-go/97 [Pipeline] { [Pipeline] checkout [2023-11-10T02:11:15.918Z] Selected Git installation does not exist. Using Default [2023-11-10T02:11:15.918Z] The recommended git tool is: NONE [2023-11-10T02:11:24.273Z] using credential edgex-jenkins-ssh [2023-11-10T02:11:24.292Z] Cloning the remote Git repository [2023-11-10T02:11:24.370Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-11-10T02:11:24.502Z] > git init /w/workspace/device-snmp-go/97 # timeout=10 [2023-11-10T02:11:24.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-10T02:11:24.706Z] > git --version # timeout=10 [2023-11-10T02:11:24.731Z] > git --version # 'git version 2.25.1' [2023-11-10T02:11:24.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-10T02:11:24.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-10T02:11:26.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-10T02:11:26.076Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-10T02:11:27.299Z] Avoid second fetch [2023-11-10T02:11:27.299Z] Checking out Revision 035feacf7376206129236edf6c51b035a5ab8cee (main) [2023-11-10T02:11:27.324Z] > git config core.sparsecheckout # timeout=10 [2023-11-10T02:11:27.423Z] > git checkout -f 035feacf7376206129236edf6c51b035a5ab8cee # timeout=10 [2023-11-10T02:11:28.143Z] Commit message: "Merge pull request #331 from cloudxxx8/changelog" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-10T02:11:29.103Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-10T02:11:29.103Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-10T02:11:29.103Z] Dload Upload Total Spent Left Speed [2023-11-10T02:11:29.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 174k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh [2023-11-10T02:11:29.736Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-10T02:11:30.108Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-10T02:11:30.108Z] + sudo tee /etc/docker/daemon.new [2023-11-10T02:11:30.108Z] { [2023-11-10T02:11:30.108Z] "registry-mirrors": [ [2023-11-10T02:11:30.108Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-10T02:11:30.108Z] ], [2023-11-10T02:11:30.108Z] "bip": "10.250.0.254/24", [2023-11-10T02:11:30.108Z] "hosts": [ [2023-11-10T02:11:30.108Z] "tcp://0.0.0.0:5555", [2023-11-10T02:11:30.108Z] "unix:///var/run/docker.sock" [2023-11-10T02:11:30.108Z] ], [2023-11-10T02:11:30.108Z] "mtu": 1458, [2023-11-10T02:11:30.108Z] "selinux-enabled": true, [2023-11-10T02:11:30.108Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-10T02:11:30.108Z] } [Pipeline] sh [2023-11-10T02:11:30.471Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-10T02:11:30.847Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:11:53.076Z] provisioning config files... [2023-11-10T02:11:53.114Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/97@tmp/config4884238142883876777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:11:53.511Z] ---> docker-login.sh [2023-11-10T02:11:53.512Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:11:54.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:54.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:54.396Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:54.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:54.396Z] [2023-11-10T02:11:54.396Z] Login Succeeded [2023-11-10T02:11:54.396Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:11:54.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:54.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:54.958Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:54.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:54.958Z] [2023-11-10T02:11:54.958Z] Login Succeeded [2023-11-10T02:11:54.958Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:11:55.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:55.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:55.237Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:55.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:55.237Z] [2023-11-10T02:11:55.237Z] Login Succeeded [2023-11-10T02:11:55.237Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:11:55.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:55.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:55.791Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:55.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:55.791Z] [2023-11-10T02:11:55.791Z] Login Succeeded [2023-11-10T02:11:55.791Z] docker.io [2023-11-10T02:11:56.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:56.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:56.342Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:56.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:56.342Z] [2023-11-10T02:11:56.342Z] Login Succeeded [2023-11-10T02:11:56.342Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:11:56.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-10T02:11:56.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:11:56.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:11:56.771Z] ========================================================= [2023-11-10T02:11:56.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-10T02:11:56.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:11:57.150Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-10T02:11:57.424Z] Sending build context to Docker daemon 2.96MB [2023-11-10T02:11:57.424Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:11:57.424Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-10T02:11:57.707Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-10T02:11:57.707Z] 9fda8d8052c6: Pulling fs layer [2023-11-10T02:11:57.707Z] 5d54e960e981: Pulling fs layer [2023-11-10T02:11:57.707Z] c4a7e357bf2a: Pulling fs layer [2023-11-10T02:11:57.707Z] f0e02332f6b5: Pulling fs layer [2023-11-10T02:11:57.707Z] f0e02332f6b5: Waiting [2023-11-10T02:11:57.707Z] cefa15bbcfad: Pulling fs layer [2023-11-10T02:11:57.707Z] 17808c966233: Pulling fs layer [2023-11-10T02:11:57.707Z] f4c1fc716caa: Pulling fs layer [2023-11-10T02:11:57.707Z] cefa15bbcfad: Waiting [2023-11-10T02:11:57.707Z] 17808c966233: Waiting [2023-11-10T02:11:57.707Z] f4c1fc716caa: Waiting [2023-11-10T02:11:57.707Z] 5d54e960e981: Verifying Checksum [2023-11-10T02:11:57.707Z] 5d54e960e981: Download complete [2023-11-10T02:11:57.988Z] f0e02332f6b5: Verifying Checksum [2023-11-10T02:11:57.988Z] f0e02332f6b5: Download complete [2023-11-10T02:11:57.988Z] cefa15bbcfad: Verifying Checksum [2023-11-10T02:11:57.988Z] cefa15bbcfad: Download complete [2023-11-10T02:11:57.988Z] 9fda8d8052c6: Download complete [2023-11-10T02:11:58.592Z] f4c1fc716caa: Download complete [2023-11-10T02:11:58.876Z] 9fda8d8052c6: Pull complete [2023-11-10T02:11:59.866Z] 5d54e960e981: Pull complete [2023-11-10T02:12:00.461Z] c4a7e357bf2a: Verifying Checksum [2023-11-10T02:12:00.461Z] c4a7e357bf2a: Download complete [2023-11-10T02:12:01.447Z] 17808c966233: Verifying Checksum [2023-11-10T02:12:01.447Z] 17808c966233: Download complete [2023-11-10T02:12:13.911Z] c4a7e357bf2a: Pull complete [2023-11-10T02:12:13.911Z] f0e02332f6b5: Pull complete [2023-11-10T02:12:14.193Z] cefa15bbcfad: Pull complete [2023-11-10T02:12:24.332Z] 17808c966233: Pull complete [2023-11-10T02:12:24.606Z] f4c1fc716caa: Pull complete [2023-11-10T02:12:24.606Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-10T02:12:24.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-10T02:12:24.606Z] ---> ea914061e18c [2023-11-10T02:12:24.606Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:12:26.032Z] ---> Running in 8c1b2bcca37d [2023-11-10T02:12:26.032Z] Removing intermediate container 8c1b2bcca37d [2023-11-10T02:12:26.032Z] ---> 90f5646c5b35 [2023-11-10T02:12:26.032Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:12:26.302Z] ---> Running in 83aa053db178 [2023-11-10T02:12:26.570Z] Removing intermediate container 83aa053db178 [2023-11-10T02:12:26.570Z] ---> 4a4ef9f313d9 [2023-11-10T02:12:26.570Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:12:26.570Z] ---> Running in c3f349bb0d65 [2023-11-10T02:12:27.163Z] Removing intermediate container c3f349bb0d65 [2023-11-10T02:12:27.163Z] ---> 5cef15c30a4e [2023-11-10T02:12:27.163Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:12:27.163Z] ---> Running in f95125fafb56 [2023-11-10T02:12:27.541Z] Removing intermediate container f95125fafb56 [2023-11-10T02:12:27.541Z] ---> 62e73c8c6d40 [2023-11-10T02:12:27.541Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:12:27.822Z] ---> Running in 38372b8dba0a [2023-11-10T02:12:29.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-10T02:12:29.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-10T02:12:31.013Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-10T02:12:31.013Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-10T02:12:31.013Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-10T02:12:31.013Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-10T02:12:31.013Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:12:31.013Z] OK: 270 MiB in 56 packages [2023-11-10T02:12:33.641Z] Removing intermediate container 38372b8dba0a [2023-11-10T02:12:33.641Z] ---> a381f8aa02b1 [2023-11-10T02:12:33.641Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-10T02:12:33.641Z] ---> Running in 8f71bafbfa4e [2023-11-10T02:12:33.915Z] Removing intermediate container 8f71bafbfa4e [2023-11-10T02:12:33.915Z] ---> b0d2e98d68cd [2023-11-10T02:12:33.915Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-10T02:12:34.516Z] ---> 01464f0b9a6f [2023-11-10T02:12:34.516Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:12:34.516Z] ---> Running in 2a080ba88a35 [2023-11-10T02:14:11.251Z] Removing intermediate container 2a080ba88a35 [2023-11-10T02:14:11.251Z] ---> 0ed8aa2827b1 [2023-11-10T02:14:11.251Z] Step 11/12 : COPY . . [2023-11-10T02:14:11.251Z] ---> 99609db48828 [2023-11-10T02:14:11.251Z] Step 12/12 : RUN ${MAKE} [2023-11-10T02:14:11.251Z] ---> Running in 17df076ba681 [2023-11-10T02:14:11.251Z] noop [2023-11-10T02:14:11.251Z] Removing intermediate container 17df076ba681 [2023-11-10T02:14:11.251Z] ---> 660db4a2b615 [2023-11-10T02:14:11.251Z] Successfully built 660db4a2b615 [2023-11-10T02:14:11.251Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:14:11.643Z] + docker inspect -f . ci-base-image-arm64 [2023-11-10T02:14:11.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:14:11.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-17187 does not seem to be running inside a container [2023-11-10T02:14:12.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/97 -v /w/workspace/device-snmp-go/97:/w/workspace/device-snmp-go/97:rw,z -v /w/workspace/device-snmp-go/97@tmp:/w/workspace/device-snmp-go/97@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 [2023-11-10T02:14:13.557Z] $ docker top 950b27c6633dd1c5a6e1b5f7f78200fc95209b3ccb163bd05c3a9ddc9f310255 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:14:14.461Z] + go version [2023-11-10T02:14:14.461Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-10T02:14:14.492Z] $ docker stop --time=1 950b27c6633dd1c5a6e1b5f7f78200fc95209b3ccb163bd05c3a9ddc9f310255 [2023-11-10T02:14:16.920Z] $ docker rm -f --volumes 950b27c6633dd1c5a6e1b5f7f78200fc95209b3ccb163bd05c3a9ddc9f310255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:14:17.525Z] + docker inspect -f . ci-base-image-arm64 [2023-11-10T02:14:17.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:14:17.748Z] prd-ubuntu20.04-docker-arm64-4c-16g-17187 does not seem to be running inside a container [2023-11-10T02:14:17.842Z] $ 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/97 -v /w/workspace/device-snmp-go/97:/w/workspace/device-snmp-go/97:rw,z -v /w/workspace/device-snmp-go/97@tmp:/w/workspace/device-snmp-go/97@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 [2023-11-10T02:14:19.284Z] $ docker top d6d67be163353d09c01a29553a1dc249dc8e29b11f6c2acafc8e69cfccac8230 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:14:20.249Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/97 [Pipeline] fileExists [Pipeline] sh [2023-11-10T02:14:20.937Z] + make test [2023-11-10T02:14:20.937Z] go test ./... -coverprofile=coverage.out [2023-11-10T02:14:26.342Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-10T02:17:03.216Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-10T02:17:03.216Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.065s coverage: 0.0% of statements [2023-11-10T02:17:03.216Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-10T02:17:03.216Z] go vet ./... [2023-11-10T02:17:30.369Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-10T02:17:30.369Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-10T02:17:30.369Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-10T02:17:30.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-10T02:17:30.415Z] $ docker stop --time=1 d6d67be163353d09c01a29553a1dc249dc8e29b11f6c2acafc8e69cfccac8230 [2023-11-10T02:17:32.501Z] $ docker rm -f --volumes d6d67be163353d09c01a29553a1dc249dc8e29b11f6c2acafc8e69cfccac8230 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:17:33.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-10T02:17:33.982Z] Warning: overwriting stash ‘coverage-report’ [2023-11-10T02:17:34.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-10T02:17:35.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-10T02:17:35.459Z] + ls -al . [2023-11-10T02:17:35.459Z] total 168 [2023-11-10T02:17:35.459Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 10 02:14 . [2023-11-10T02:17:35.459Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:11 .. [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 10 02:11 .dockerignore [2023-11-10T02:17:35.459Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:11 .git [2023-11-10T02:17:35.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:11 .github [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 10 02:11 .gitignore [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 02:11 .golangci.yml [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 10 02:11 Attribution.txt [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 10 02:11 CHANGELOG.md [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 1462 Nov 10 02:11 Dockerfile [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:11 GOVERNANCE.md [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 10 02:11 Jenkinsfile [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 02:11 LICENSE [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 10 02:11 Makefile [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 02:11 OWNERS.md [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 10 02:11 README.md [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 10 02:07 VERSION [2023-11-10T02:17:35.459Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:11 bin [2023-11-10T02:17:35.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:11 cmd [2023-11-10T02:17:35.459Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 10 02:16 coverage.out [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 3712 Nov 10 02:11 go.mod [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 34822 Nov 10 02:11 go.sum [2023-11-10T02:17:35.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:11 internal [2023-11-10T02:17:35.459Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 10 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:17:35.818Z] + 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=035feacf7376206129236edf6c51b035a5ab8cee --label arch=arm64 --label version=3.1.0-dev.11 . [2023-11-10T02:17:36.099Z] Sending build context to Docker daemon 2.97MB [2023-11-10T02:17:36.377Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:17:36.377Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-10T02:17:36.377Z] ---> 660db4a2b615 [2023-11-10T02:17:36.377Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:17:38.340Z] ---> Running in 414b7e24f25c [2023-11-10T02:17:38.609Z] Removing intermediate container 414b7e24f25c [2023-11-10T02:17:38.609Z] ---> 0c89781ede4a [2023-11-10T02:17:38.609Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:17:38.609Z] ---> Running in 26bd70d84108 [2023-11-10T02:17:38.884Z] Removing intermediate container 26bd70d84108 [2023-11-10T02:17:38.884Z] ---> 7c5c087112a0 [2023-11-10T02:17:38.884Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:17:39.156Z] ---> Running in 2dfdcaea064f [2023-11-10T02:17:39.429Z] Removing intermediate container 2dfdcaea064f [2023-11-10T02:17:39.429Z] ---> 67bd6f7b9dee [2023-11-10T02:17:39.429Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:17:39.429Z] ---> Running in 6e62beaa0529 [2023-11-10T02:17:40.034Z] Removing intermediate container 6e62beaa0529 [2023-11-10T02:17:40.034Z] ---> 80d511026c58 [2023-11-10T02:17:40.034Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:17:40.034Z] ---> Running in 4f72bc11952f [2023-11-10T02:17:41.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-10T02:17:41.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-10T02:17:43.718Z] OK: 270 MiB in 56 packages [2023-11-10T02:17:44.699Z] Removing intermediate container 4f72bc11952f [2023-11-10T02:17:44.699Z] ---> 300f51260fe2 [2023-11-10T02:17:44.699Z] Step 8/24 : WORKDIR /device-snmp-go [2023-11-10T02:17:44.700Z] ---> Running in 058fb3cada51 [2023-11-10T02:17:45.298Z] Removing intermediate container 058fb3cada51 [2023-11-10T02:17:45.298Z] ---> 4911b517f4e2 [2023-11-10T02:17:45.298Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-10T02:17:45.893Z] ---> 43285a1103c0 [2023-11-10T02:17:45.893Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:17:45.893Z] ---> Running in 72f6890d2b80 [2023-11-10T02:17:48.511Z] Removing intermediate container 72f6890d2b80 [2023-11-10T02:17:48.512Z] ---> 25a568f46b68 [2023-11-10T02:17:48.512Z] Step 11/24 : COPY . . [2023-11-10T02:17:49.490Z] ---> 506ba40283a2 [2023-11-10T02:17:49.490Z] Step 12/24 : RUN ${MAKE} [2023-11-10T02:17:49.490Z] ---> Running in c5930c90f961 [2023-11-10T02:17:50.922Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-10T02:20:27.766Z] Removing intermediate container c5930c90f961 [2023-11-10T02:20:27.766Z] ---> e35a3195b4cb [2023-11-10T02:20:27.766Z] Step 13/24 : FROM alpine:3.18 [2023-11-10T02:20:27.766Z] 3.18: Pulling from library/alpine [2023-11-10T02:20:27.766Z] 579b34f0a95b: Pulling fs layer [2023-11-10T02:20:27.766Z] 579b34f0a95b: Download complete [2023-11-10T02:20:27.766Z] 579b34f0a95b: Pull complete [2023-11-10T02:20:27.766Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-10T02:20:27.766Z] Status: Downloaded newer image for alpine:3.18 [2023-11-10T02:20:27.766Z] ---> 3cc203321400 [2023-11-10T02:20:27.766Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-11-10T02:20:27.766Z] ---> Running in 150e778bf790 [2023-11-10T02:20:27.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-10T02:20:27.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-10T02:20:27.766Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-10T02:20:27.766Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:20:27.766Z] OK: 8 MiB in 16 packages [2023-11-10T02:20:27.766Z] Removing intermediate container 150e778bf790 [2023-11-10T02:20:27.766Z] ---> 5ccb5bf395d9 [2023-11-10T02:20:27.766Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-11-10T02:20:27.766Z] ---> 6d8e8b3e7ab8 [2023-11-10T02:20:27.766Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-10T02:20:27.766Z] ---> 866e9d88a8ae [2023-11-10T02:20:27.766Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-10T02:20:27.766Z] ---> 97bfcd7116fa [2023-11-10T02:20:27.766Z] Step 18/24 : EXPOSE 59993 [2023-11-10T02:20:27.766Z] ---> Running in 518e77f08e19 [2023-11-10T02:20:27.766Z] Removing intermediate container 518e77f08e19 [2023-11-10T02:20:27.766Z] ---> 5ea80aadee53 [2023-11-10T02:20:27.766Z] Step 19/24 : EXPOSE 161 [2023-11-10T02:20:27.766Z] ---> Running in 33e36de90e34 [2023-11-10T02:20:27.766Z] Removing intermediate container 33e36de90e34 [2023-11-10T02:20:27.766Z] ---> e913a84d9a0a [2023-11-10T02:20:27.766Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-11-10T02:20:27.766Z] ---> Running in 534ff4de9971 [2023-11-10T02:20:27.766Z] Removing intermediate container 534ff4de9971 [2023-11-10T02:20:27.766Z] ---> 9aabb2ea6058 [2023-11-10T02:20:27.766Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-10T02:20:27.766Z] ---> Running in 6ddb66a3afe4 [2023-11-10T02:20:27.766Z] Removing intermediate container 6ddb66a3afe4 [2023-11-10T02:20:27.766Z] ---> 70ae92c47464 [2023-11-10T02:20:27.766Z] Step 22/24 : LABEL arch=arm64 [2023-11-10T02:20:27.766Z] ---> Running in e9b09af1f454 [2023-11-10T02:20:28.036Z] Removing intermediate container e9b09af1f454 [2023-11-10T02:20:28.036Z] ---> 7155858dc46d [2023-11-10T02:20:28.036Z] Step 23/24 : LABEL git_sha=035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:20:28.306Z] ---> Running in 17458855d2d9 [2023-11-10T02:20:28.574Z] Removing intermediate container 17458855d2d9 [2023-11-10T02:20:28.574Z] ---> 4bfefc86e3f1 [2023-11-10T02:20:28.574Z] Step 24/24 : LABEL version=3.1.0-dev.11 [2023-11-10T02:20:28.574Z] ---> Running in 8066ec3c4304 [2023-11-10T02:20:29.162Z] Removing intermediate container 8066ec3c4304 [2023-11-10T02:20:29.162Z] ---> 0650e1c89ffb [2023-11-10T02:20:29.162Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-10T02:20:29.162Z] Successfully built 0650e1c89ffb [2023-11-10T02:20:29.162Z] 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 [2023-11-10T02:20:29.279Z] provisioning config files... [2023-11-10T02:20:29.297Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/97@tmp/config4299348751927028179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:20:29.652Z] ---> docker-login.sh [2023-11-10T02:20:29.652Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:20:29.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:20:29.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:20:29.926Z] Configure a credential helper to remove this warning. See [2023-11-10T02:20:29.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:20:29.926Z] [2023-11-10T02:20:29.926Z] Login Succeeded [2023-11-10T02:20:29.926Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:20:30.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:20:30.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:20:30.474Z] Configure a credential helper to remove this warning. See [2023-11-10T02:20:30.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:20:30.474Z] [2023-11-10T02:20:30.474Z] Login Succeeded [2023-11-10T02:20:30.474Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:20:30.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:20:30.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:20:30.748Z] Configure a credential helper to remove this warning. See [2023-11-10T02:20:30.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:20:30.748Z] [2023-11-10T02:20:30.748Z] Login Succeeded [2023-11-10T02:20:30.748Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:20:31.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:20:31.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:20:31.294Z] Configure a credential helper to remove this warning. See [2023-11-10T02:20:31.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:20:31.294Z] [2023-11-10T02:20:31.294Z] Login Succeeded [2023-11-10T02:20:31.294Z] docker.io [2023-11-10T02:20:31.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:20:32.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:20:32.153Z] Configure a credential helper to remove this warning. See [2023-11-10T02:20:32.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:20:32.153Z] [2023-11-10T02:20:32.153Z] Login Succeeded [2023-11-10T02:20:32.153Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:20:32.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:20:32.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:20:32.216Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-11-10T02:20:32.216Z] 035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:20:32.216Z] latest [2023-11-10T02:20:32.216Z] 3.1.0-dev.11 [2023-11-10T02:20:32.216Z] 035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [2023-11-10T02:20:32.216Z] main [2023-11-10T02:20:32.216Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:32.576Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:32.932Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:20:32.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-10T02:20:32.932Z] 3895294885f8: Preparing [2023-11-10T02:20:32.932Z] a5c3d0465c8a: Preparing [2023-11-10T02:20:32.932Z] 47c09edfdb7c: Preparing [2023-11-10T02:20:32.932Z] 81d0f7a88231: Preparing [2023-11-10T02:20:32.932Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:20:33.199Z] a5c3d0465c8a: Pushed [2023-11-10T02:20:33.199Z] 3895294885f8: Pushed [2023-11-10T02:20:33.199Z] 81d0f7a88231: Pushed [2023-11-10T02:20:36.648Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:20:38.670Z] 47c09edfdb7c: Pushed [2023-11-10T02:20:38.943Z] 035feacf7376206129236edf6c51b035a5ab8cee: digest: sha256:e5c7d32c2585e08f8231b87e6157751f0a945479c82826c8bf882f3fdb5b32f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:39.329Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:39.716Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-11-10T02:20:39.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-10T02:20:39.716Z] 3895294885f8: Preparing [2023-11-10T02:20:39.716Z] a5c3d0465c8a: Preparing [2023-11-10T02:20:39.716Z] 47c09edfdb7c: Preparing [2023-11-10T02:20:39.716Z] 81d0f7a88231: Preparing [2023-11-10T02:20:39.716Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:20:39.716Z] 81d0f7a88231: Layer already exists [2023-11-10T02:20:39.716Z] 3895294885f8: Layer already exists [2023-11-10T02:20:39.716Z] a5c3d0465c8a: Layer already exists [2023-11-10T02:20:39.716Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:20:39.716Z] 47c09edfdb7c: Layer already exists [2023-11-10T02:20:39.987Z] latest: digest: sha256:e5c7d32c2585e08f8231b87e6157751f0a945479c82826c8bf882f3fdb5b32f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:40.362Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:40.731Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.11 [2023-11-10T02:20:40.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-10T02:20:40.731Z] 3895294885f8: Preparing [2023-11-10T02:20:40.731Z] a5c3d0465c8a: Preparing [2023-11-10T02:20:40.731Z] 47c09edfdb7c: Preparing [2023-11-10T02:20:40.731Z] 81d0f7a88231: Preparing [2023-11-10T02:20:40.731Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:20:40.731Z] 3895294885f8: Layer already exists [2023-11-10T02:20:40.731Z] 81d0f7a88231: Layer already exists [2023-11-10T02:20:40.731Z] 47c09edfdb7c: Layer already exists [2023-11-10T02:20:40.731Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:20:40.731Z] a5c3d0465c8a: Layer already exists [2023-11-10T02:20:41.000Z] 3.1.0-dev.11: digest: sha256:e5c7d32c2585e08f8231b87e6157751f0a945479c82826c8bf882f3fdb5b32f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:41.411Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:41.781Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [2023-11-10T02:20:41.782Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-10T02:20:41.782Z] 3895294885f8: Preparing [2023-11-10T02:20:41.782Z] a5c3d0465c8a: Preparing [2023-11-10T02:20:41.782Z] 47c09edfdb7c: Preparing [2023-11-10T02:20:41.782Z] 81d0f7a88231: Preparing [2023-11-10T02:20:41.782Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:20:41.782Z] 3895294885f8: Layer already exists [2023-11-10T02:20:41.782Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:20:41.782Z] 81d0f7a88231: Layer already exists [2023-11-10T02:20:41.782Z] 47c09edfdb7c: Layer already exists [2023-11-10T02:20:41.782Z] a5c3d0465c8a: Layer already exists [2023-11-10T02:20:42.061Z] 035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11: digest: sha256:e5c7d32c2585e08f8231b87e6157751f0a945479c82826c8bf882f3fdb5b32f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:42.448Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:42.820Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-11-10T02:20:42.820Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-10T02:20:42.820Z] 3895294885f8: Preparing [2023-11-10T02:20:42.820Z] a5c3d0465c8a: Preparing [2023-11-10T02:20:42.820Z] 47c09edfdb7c: Preparing [2023-11-10T02:20:42.820Z] 81d0f7a88231: Preparing [2023-11-10T02:20:42.820Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:20:42.820Z] a5c3d0465c8a: Layer already exists [2023-11-10T02:20:42.820Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:20:42.820Z] 81d0f7a88231: Layer already exists [2023-11-10T02:20:42.820Z] 3895294885f8: Layer already exists [2023-11-10T02:20:42.820Z] 47c09edfdb7c: Layer already exists [2023-11-10T02:20:43.094Z] main: digest: sha256:e5c7d32c2585e08f8231b87e6157751f0a945479c82826c8bf882f3fdb5b32f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:20:43.162Z] ===================================================== [Pipeline] echo [2023-11-10T02:20:43.175Z] taggedImages: [2023-11-10T02:20:43.175Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:035feacf7376206129236edf6c51b035a5ab8cee [2023-11-10T02:20:43.175Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-11-10T02:20:43.175Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.11 [2023-11-10T02:20:43.175Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:035feacf7376206129236edf6c51b035a5ab8cee-3.1.0-dev.11 [2023-11-10T02:20:43.175Z] - 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 [2023-11-10T02:20:43.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-10T02:20:43.644Z] [2023-11-10T02:20:43.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:44.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-10T02:20:44.279Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-10T02:20:44.279Z] 8998bd30e6a1: Pulling fs layer [2023-11-10T02:20:44.279Z] 04944245beec: Pulling fs layer [2023-11-10T02:20:44.279Z] 699f458cf7ca: Pulling fs layer [2023-11-10T02:20:44.279Z] 765212b225bb: Pulling fs layer [2023-11-10T02:20:44.279Z] f23df028b6ca: Pulling fs layer [2023-11-10T02:20:44.279Z] d65c8cfc05b1: Pulling fs layer [2023-11-10T02:20:44.279Z] 2437ff75d9bd: Pulling fs layer [2023-11-10T02:20:44.279Z] 765212b225bb: Waiting [2023-11-10T02:20:44.279Z] d65c8cfc05b1: Waiting [2023-11-10T02:20:44.279Z] 2437ff75d9bd: Waiting [2023-11-10T02:20:44.279Z] f23df028b6ca: Waiting [2023-11-10T02:20:44.279Z] 04944245beec: Verifying Checksum [2023-11-10T02:20:44.279Z] 04944245beec: Download complete [2023-11-10T02:20:44.279Z] 765212b225bb: Verifying Checksum [2023-11-10T02:20:44.279Z] 765212b225bb: Download complete [2023-11-10T02:20:44.552Z] f23df028b6ca: Download complete [2023-11-10T02:20:44.552Z] d65c8cfc05b1: Verifying Checksum [2023-11-10T02:20:44.552Z] d65c8cfc05b1: Download complete [2023-11-10T02:20:44.552Z] 699f458cf7ca: Verifying Checksum [2023-11-10T02:20:44.552Z] 699f458cf7ca: Download complete [2023-11-10T02:20:45.150Z] 8998bd30e6a1: Download complete [2023-11-10T02:20:47.762Z] 2437ff75d9bd: Verifying Checksum [2023-11-10T02:20:47.762Z] 2437ff75d9bd: Download complete [2023-11-10T02:20:49.716Z] 8998bd30e6a1: Pull complete [2023-11-10T02:20:51.659Z] 04944245beec: Pull complete [2023-11-10T02:20:53.163Z] 699f458cf7ca: Pull complete [2023-11-10T02:20:53.442Z] 765212b225bb: Pull complete [2023-11-10T02:20:54.399Z] f23df028b6ca: Pull complete [2023-11-10T02:20:54.399Z] d65c8cfc05b1: Pull complete [2023-11-10T02:21:12.618Z] 2437ff75d9bd: Pull complete [2023-11-10T02:21:12.618Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-10T02:21:12.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-10T02:21:12.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:12.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-17187 does not seem to be running inside a container [2023-11-10T02:21:12.942Z] $ 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/97 -v /w/workspace/device-snmp-go/97:/w/workspace/device-snmp-go/97:rw,z -v /w/workspace/device-snmp-go/97@tmp:/w/workspace/device-snmp-go/97@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 [2023-11-10T02:21:16.275Z] $ docker top 9fce672e8f2f8952b25d74594e488d80349bd1b223854e91954e4659c97a1692 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:17.167Z] ---> job-cost.sh [2023-11-10T02:21:17.167Z] lf-activate-venv: SKIPPING [2023-11-10T02:21:17.167Z] INFO: No Stack... [2023-11-10T02:21:17.752Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-10T02:21:18.342Z] INFO: Archiving Costs [Pipeline] sh [2023-11-10T02:21:18.988Z] + cat /w/workspace/device-snmp-go/97/archives/cost.csv [2023-11-10T02:21:18.988Z] + cut -d, -f6 [Pipeline] lock [2023-11-10T02:21:19.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] [2023-11-10T02:21:19.080Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] did not exist. Created. [2023-11-10T02:21:19.080Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-10T02:21:19.739Z] /w/workspace/device-snmp-go/97@tmp/durable-be27b9b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-10T02:21:20.416Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-10T02:21:20.441Z] Warning: overwriting stash ‘stack-cost’ [2023-11-10T02:21:20.497Z] Stashed 1 file(s) [Pipeline] } [2023-11-10T02:21:20.505Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-10T02:21:20.533Z] $ docker stop --time=1 9fce672e8f2f8952b25d74594e488d80349bd1b223854e91954e4659c97a1692 [2023-11-10T02:21:22.137Z] $ docker rm -f --volumes 9fce672e8f2f8952b25d74594e488d80349bd1b223854e91954e4659c97a1692 [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 [2023-11-10T02:21:22.566Z] provisioning config files... [2023-11-10T02:21:22.576Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14839552797177312430tmp [Pipeline] { [Pipeline] sh [2023-11-10T02:21:22.876Z] + set +x [2023-11-10T02:21:22.876Z] + curl -s https://codecov.io/bash [2023-11-10T02:21:22.876Z] + bash -s -- [2023-11-10T02:21:22.876Z] [2023-11-10T02:21:22.876Z] _____ _ [2023-11-10T02:21:22.876Z] / ____| | | [2023-11-10T02:21:22.876Z] | | ___ __| | ___ ___ _____ __ [2023-11-10T02:21:22.876Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-10T02:21:22.876Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-10T02:21:22.876Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-10T02:21:22.876Z] Bash-1.0.6 [2023-11-10T02:21:22.876Z] [2023-11-10T02:21:22.876Z] [2023-11-10T02:21:22.876Z] ==> git version 2.25.1 found [2023-11-10T02:21:22.876Z] ==> 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 [2023-11-10T02:21:22.876Z] Release-Date: 2020-01-08 [2023-11-10T02:21:22.876Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-10T02:21:22.876Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-10T02:21:22.876Z] ==> Jenkins CI detected. [2023-11-10T02:21:22.876Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-11-10T02:21:22.876Z] project root: . [2023-11-10T02:21:22.876Z] --> token set from env [2023-11-10T02:21:22.876Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-10T02:21:22.876Z] ==> Running gcov in . (disable via -X gcov) [2023-11-10T02:21:22.876Z] ==> Python coveragepy not found [2023-11-10T02:21:22.876Z] ==> Searching for coverage reports in: [2023-11-10T02:21:22.876Z] + . [2023-11-10T02:21:22.876Z] -> Found 1 reports [2023-11-10T02:21:22.876Z] ==> Detecting git/mercurial file structure [2023-11-10T02:21:22.876Z] ==> Reading reports [2023-11-10T02:21:22.876Z] + ./coverage.out bytes=8837 [2023-11-10T02:21:22.876Z] ==> Appending adjustments [2023-11-10T02:21:22.876Z] https://docs.codecov.io/docs/fixing-reports [2023-11-10T02:21:23.135Z] + Found adjustments [2023-11-10T02:21:23.135Z] ==> Gzipping contents [2023-11-10T02:21:23.135Z] 4.0K /tmp/codecov.viS1T1.gz [2023-11-10T02:21:23.135Z] ==> Uploading reports [2023-11-10T02:21:23.135Z] url: https://codecov.io [2023-11-10T02:21:23.135Z] query: branch=main&commit=035feacf7376206129236edf6c51b035a5ab8cee&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-10T02:21:23.135Z] -> Pinging Codecov [2023-11-10T02:21:23.135Z] 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=035feacf7376206129236edf6c51b035a5ab8cee&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-10T02:21:23.135Z] -> Uploading to [2023-11-10T02:21:23.135Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-10/6C56EA5C29638FB4528AC87E60AF5AE0/035feacf7376206129236edf6c51b035a5ab8cee/8589257e-24c2-436b-afa5-5a3bb0e5f043.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231110T022123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c0acae9f6d75f4d5fd88a5979468e86d9e73ddb7e843a5a90840f723736dd3b [2023-11-10T02:21:23.135Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-10T02:21:23.135Z] Dload Upload Total Spent Left Speed [2023-11-10T02:21:23.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5498 --:--:-- --:--:-- --:--:-- 5498 [2023-11-10T02:21:23.395Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] } [2023-11-10T02:21:23.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-10T02:21:23.542Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-10T02:21:23.552Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:23.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-10T02:21:23.853Z] [2023-11-10T02:21:23.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:24.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-10T02:21:24.152Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-10T02:21:24.152Z] df9b9388f04a: Pulling fs layer [2023-11-10T02:21:24.152Z] 52dc419b0ee2: Pulling fs layer [2023-11-10T02:21:24.152Z] 25bc292e5bac: Pulling fs layer [2023-11-10T02:21:24.152Z] 114826534d7a: Pulling fs layer [2023-11-10T02:21:24.152Z] 4657fd5d0bcf: Pulling fs layer [2023-11-10T02:21:24.152Z] 6ad1cebc031e: Pulling fs layer [2023-11-10T02:21:24.152Z] 8a3aa393b2d8: Pulling fs layer [2023-11-10T02:21:24.152Z] 114826534d7a: Waiting [2023-11-10T02:21:24.152Z] 4657fd5d0bcf: Waiting [2023-11-10T02:21:24.152Z] 6ad1cebc031e: Waiting [2023-11-10T02:21:24.152Z] 8a3aa393b2d8: Waiting [2023-11-10T02:21:24.152Z] 25bc292e5bac: Download complete [2023-11-10T02:21:24.152Z] 52dc419b0ee2: Verifying Checksum [2023-11-10T02:21:24.152Z] 52dc419b0ee2: Download complete [2023-11-10T02:21:24.152Z] 4657fd5d0bcf: Verifying Checksum [2023-11-10T02:21:24.152Z] 4657fd5d0bcf: Download complete [2023-11-10T02:21:24.152Z] df9b9388f04a: Download complete [2023-11-10T02:21:24.412Z] 6ad1cebc031e: Verifying Checksum [2023-11-10T02:21:24.412Z] 6ad1cebc031e: Download complete [2023-11-10T02:21:24.412Z] df9b9388f04a: Pull complete [2023-11-10T02:21:24.412Z] 52dc419b0ee2: Pull complete [2023-11-10T02:21:24.412Z] 25bc292e5bac: Pull complete [2023-11-10T02:21:24.977Z] 114826534d7a: Verifying Checksum [2023-11-10T02:21:24.977Z] 114826534d7a: Download complete [2023-11-10T02:21:24.977Z] 8a3aa393b2d8: Verifying Checksum [2023-11-10T02:21:28.370Z] 114826534d7a: Pull complete [2023-11-10T02:21:28.370Z] 4657fd5d0bcf: Pull complete [2023-11-10T02:21:28.370Z] 6ad1cebc031e: Pull complete [2023-11-10T02:21:30.905Z] 8a3aa393b2d8: Pull complete [2023-11-10T02:21:30.906Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-10T02:21:30.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-10T02:21:30.906Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:30.995Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:21:31.025Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-10T02:21:35.421Z] $ docker top 866790a25a9d9e3ff86a2c34f4c899b37ffb081addba6c4482321ae45735a12e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-10T02:21:35.490Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-11-10T02:21:35.767Z] + set -o pipefail [2023-11-10T02:21:35.767Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-11-10T02:21:41.030Z] [2023-11-10T02:21:41.030Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-11-10T02:21:41.030Z] [2023-11-10T02:21:41.030Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/7676a37b-a972-43c9-a76c-ceff4e320266 [2023-11-10T02:21:41.030Z] [2023-11-10T02:21:41.030Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-10T02:21:41.030Z] [2023-11-10T02:21:41.289Z] [2023-11-10T02:21:41.289Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-10T02:21:41.289Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-10T02:21:41.289Z] More details here: https://snyk.co/ue1NS [2023-11-10T02:21:41.289Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-10T02:21:41.289Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-10T02:21:41.300Z] $ docker stop --time=1 866790a25a9d9e3ff86a2c34f4c899b37ffb081addba6c4482321ae45735a12e [2023-11-10T02:21:45.895Z] $ docker rm -f --volumes 866790a25a9d9e3ff86a2c34f4c899b37ffb081addba6c4482321ae45735a12e [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 [2023-11-10T02:21:46.625Z] + git log --format=format:%s -1 035feacf7376206129236edf6c51b035a5ab8cee [Pipeline] sh [2023-11-10T02:21:46.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:21:46.914Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:47.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:21:47.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:47.284Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:21:47.311Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-10T02:21:47.749Z] $ docker top 8e6602caa6efb6d7b95328612aad994c8c1612dc8974abf5f6166d0be8374430 -eo pid,comm [2023-11-10T02:21:47.796Z] 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). [2023-11-10T02:21:47.796Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:21:47.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:21:47.838Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:21:47.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:21:47.950Z] $ docker exec 8e6602caa6efb6d7b95328612aad994c8c1612dc8974abf5f6166d0be8374430 ssh-agent [2023-11-10T02:21:48.061Z] SSH_AUTH_SOCK=/tmp/ssh-f6Eo9Aa9NnHe/agent.32 [2023-11-10T02:21:48.061Z] SSH_AGENT_PID=38 [2023-11-10T02:21:48.066Z] Running ssh-add (command line suppressed) [2023-11-10T02:21:48.163Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12565513259994284494.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12565513259994284494.key) [2023-11-10T02:21:48.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:21:48.464Z] + git semver tag [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,636 [run_tag] DEBUG tag force:False [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,636 [check_head_tag] DEBUG check head tag [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,637 [execute] INFO git cat-file --batch-check [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,640 [execute] INFO git cat-file --batch [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,652 [execute] INFO git tag -a v3.1.0-dev.11 -m v3.1.0-dev.11 [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,652 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.11', '-m', 'v3.1.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-10T02:21:48.723Z] 2023-11-10 02:21:48,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:21:48.723Z] 3.1.0-dev.11 [Pipeline] } [2023-11-10T02:21:48.733Z] $ docker exec --env ******** --env ******** 8e6602caa6efb6d7b95328612aad994c8c1612dc8974abf5f6166d0be8374430 ssh-agent -k [2023-11-10T02:21:48.840Z] unset SSH_AUTH_SOCK; [2023-11-10T02:21:48.840Z] unset SSH_AGENT_PID; [2023-11-10T02:21:48.841Z] echo Agent pid 38 killed; [2023-11-10T02:21:48.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:21:49.153Z] + git semver [Pipeline] } [2023-11-10T02:21:49.428Z] $ docker stop --time=1 8e6602caa6efb6d7b95328612aad994c8c1612dc8974abf5f6166d0be8374430 [2023-11-10T02:21:50.692Z] $ docker rm -f --volumes 8e6602caa6efb6d7b95328612aad994c8c1612dc8974abf5f6166d0be8374430 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:51.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-10T02:21:51.076Z] [2023-11-10T02:21:51.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:51.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-10T02:21:51.376Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-10T02:21:51.376Z] ab5ef0e58194: Pulling fs layer [2023-11-10T02:21:51.376Z] 9712f1f96733: Pulling fs layer [2023-11-10T02:21:51.376Z] 63f879dbbcfc: Pulling fs layer [2023-11-10T02:21:51.376Z] 0d9ebad4ef96: Pulling fs layer [2023-11-10T02:21:51.376Z] e9a5061849ea: Pulling fs layer [2023-11-10T02:21:51.376Z] d747dcd14b5f: Pulling fs layer [2023-11-10T02:21:51.376Z] 2de7ff778b66: Pulling fs layer [2023-11-10T02:21:51.376Z] 0d9ebad4ef96: Waiting [2023-11-10T02:21:51.376Z] e9a5061849ea: Waiting [2023-11-10T02:21:51.376Z] 9712f1f96733: Verifying Checksum [2023-11-10T02:21:51.376Z] 9712f1f96733: Download complete [2023-11-10T02:21:51.635Z] 63f879dbbcfc: Verifying Checksum [2023-11-10T02:21:51.635Z] 63f879dbbcfc: Download complete [2023-11-10T02:21:51.896Z] 0d9ebad4ef96: Verifying Checksum [2023-11-10T02:21:51.896Z] 0d9ebad4ef96: Download complete [2023-11-10T02:21:51.896Z] e9a5061849ea: Verifying Checksum [2023-11-10T02:21:51.896Z] e9a5061849ea: Download complete [2023-11-10T02:21:51.896Z] d747dcd14b5f: Download complete [2023-11-10T02:21:51.896Z] ab5ef0e58194: Verifying Checksum [2023-11-10T02:21:51.896Z] ab5ef0e58194: Download complete [2023-11-10T02:21:51.896Z] 2de7ff778b66: Verifying Checksum [2023-11-10T02:21:51.896Z] 2de7ff778b66: Download complete [2023-11-10T02:21:54.427Z] ab5ef0e58194: Pull complete [2023-11-10T02:21:54.427Z] 9712f1f96733: Pull complete [2023-11-10T02:21:54.992Z] 63f879dbbcfc: Pull complete [2023-11-10T02:21:58.344Z] 0d9ebad4ef96: Pull complete [2023-11-10T02:21:58.604Z] e9a5061849ea: Pull complete [2023-11-10T02:21:58.604Z] d747dcd14b5f: Pull complete [2023-11-10T02:21:59.538Z] 2de7ff778b66: Pull complete [2023-11-10T02:21:59.538Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-10T02:21:59.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-10T02:21:59.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:59.637Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:21:59.665Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-10T02:22:05.150Z] $ docker top 0bcdb7d64e00a7aca1310dccbfeef67428966ff2f7d03296a4f233689243d602 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:22:05.224Z] provisioning config files... [2023-11-10T02:22:05.231Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11856152231876057301tmp [2023-11-10T02:22:05.241Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13413474230297546441tmp [2023-11-10T02:22:05.250Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6581515823044312295tmp [Pipeline] { [Pipeline] echo [2023-11-10T02:22:05.265Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:05.548Z] ---> sigul-configuration.sh [2023-11-10T02:22:05.548Z] gpg: directory `/root/.gnupg' created [2023-11-10T02:22:05.548Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-10T02:22:05.548Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-10T02:22:05.548Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-10T02:22:05.548Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-10T02:22:05.548Z] gpg: CAST5 encrypted data [2023-11-10T02:22:05.548Z] gpg: encrypted with 1 passphrase [2023-11-10T02:22:05.548Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-10T02:22:05.834Z] + mkdir /home/jenkins [2023-11-10T02:22:05.834Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-10T02:22:06.117Z] + 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 [2023-11-10T02:22:06.127Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:06.413Z] ---> sigul-install.sh [2023-11-10T02:22:06.413Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-10T02:22:06.696Z] + git tag --list [2023-11-10T02:22:06.696Z] 1.0.0 [2023-11-10T02:22:06.696Z] v0.0.0 [2023-11-10T02:22:06.696Z] v1.1.0 [2023-11-10T02:22:06.696Z] v1.1.1 [2023-11-10T02:22:06.696Z] v1.2.2 [2023-11-10T02:22:06.696Z] v1.3.0 [2023-11-10T02:22:06.696Z] v1.3.1 [2023-11-10T02:22:06.696Z] v2.0.0 [2023-11-10T02:22:06.696Z] v2.1.0 [2023-11-10T02:22:06.696Z] v2.1.1 [2023-11-10T02:22:06.696Z] v2.2.0 [2023-11-10T02:22:06.696Z] v2.3.0 [2023-11-10T02:22:06.696Z] v3.0 [2023-11-10T02:22:06.696Z] v3.0.0 [2023-11-10T02:22:06.696Z] v3.1.0-dev.1 [2023-11-10T02:22:06.696Z] v3.1.0-dev.10 [2023-11-10T02:22:06.696Z] v3.1.0-dev.11 [2023-11-10T02:22:06.696Z] v3.1.0-dev.2 [2023-11-10T02:22:06.696Z] v3.1.0-dev.3 [2023-11-10T02:22:06.696Z] v3.1.0-dev.4 [2023-11-10T02:22:06.696Z] v3.1.0-dev.5 [2023-11-10T02:22:06.696Z] v3.1.0-dev.6 [2023-11-10T02:22:06.696Z] v3.1.0-dev.7 [2023-11-10T02:22:06.696Z] v3.1.0-dev.8 [2023-11-10T02:22:06.696Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-10T02:22:06.986Z] + lftools sign git-tag v3.1.0-dev.11 [2023-11-10T02:22:07.555Z] Signing Git tag with Sigul... [2023-11-10T02:22:07.555Z] Signing v3.1.0-dev.11 [Pipeline] echo [2023-11-10T02:22:07.823Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:08.105Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-10T02:22:08.113Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-10T02:22:08.132Z] $ docker stop --time=1 0bcdb7d64e00a7aca1310dccbfeef67428966ff2f7d03296a4f233689243d602 [2023-11-10T02:22:09.412Z] $ docker rm -f --volumes 0bcdb7d64e00a7aca1310dccbfeef67428966ff2f7d03296a4f233689243d602 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-10T02:22:09.809Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:22:09.809Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:22:10.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:22:10.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:22:10.182Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:22:10.212Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-10T02:22:10.514Z] $ docker top 771b3bdda7596fd7d28d94d8ae2d6295b637dd6ea43e81972613f56f5e8e47b3 -eo pid,comm [2023-11-10T02:22:10.556Z] 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). [2023-11-10T02:22:10.556Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:22:10.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:22:10.611Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:22:10.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:22:10.721Z] $ docker exec 771b3bdda7596fd7d28d94d8ae2d6295b637dd6ea43e81972613f56f5e8e47b3 ssh-agent [2023-11-10T02:22:10.829Z] SSH_AUTH_SOCK=/tmp/ssh-VK2FI2PKIqBv/agent.33 [2023-11-10T02:22:10.829Z] SSH_AGENT_PID=39 [2023-11-10T02:22:10.833Z] Running ssh-add (command line suppressed) [2023-11-10T02:22:10.927Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16664420336384927208.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16664420336384927208.key) [2023-11-10T02:22:10.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:22:11.236Z] + git semver bump pre [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,415 [bump_version] DEBUG bumping version:3.1.0-dev.11 on axis:pre with prefix:dev [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,415 [bump_version] DEBUG bumped version:3.1.0-dev.12 [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,415 [write_version] DEBUG write version:3.1.0-dev.12 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,415 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,418 [execute] INFO git cat-file --batch-check [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,424 [execute] INFO git cat-file --batch [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-10T02:22:11.495Z] 2023-11-10 02:22:11,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:22:11.495Z] 3.1.0-dev.12 [Pipeline] } [2023-11-10T02:22:11.507Z] $ docker exec --env ******** --env ******** 771b3bdda7596fd7d28d94d8ae2d6295b637dd6ea43e81972613f56f5e8e47b3 ssh-agent -k [2023-11-10T02:22:11.596Z] unset SSH_AUTH_SOCK; [2023-11-10T02:22:11.596Z] unset SSH_AGENT_PID; [2023-11-10T02:22:11.596Z] echo Agent pid 39 killed; [2023-11-10T02:22:11.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:22:11.918Z] + git semver [Pipeline] } [2023-11-10T02:22:12.187Z] $ docker stop --time=1 771b3bdda7596fd7d28d94d8ae2d6295b637dd6ea43e81972613f56f5e8e47b3 [2023-11-10T02:22:13.434Z] $ docker rm -f --volumes 771b3bdda7596fd7d28d94d8ae2d6295b637dd6ea43e81972613f56f5e8e47b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:22:13.782Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:22:13.782Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:22:14.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:22:14.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:22:14.229Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:22:14.354Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-10T02:22:14.688Z] $ docker top 8e9c7a55c646f01fb34c69460cac03c56c20d3bdff845acf7b9018ad686772c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:22:14.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:22:14.783Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:22:14.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:22:14.905Z] $ docker exec 8e9c7a55c646f01fb34c69460cac03c56c20d3bdff845acf7b9018ad686772c2 ssh-agent [2023-11-10T02:22:15.013Z] SSH_AUTH_SOCK=/tmp/ssh-n35lw4yTYi7e/agent.33 [2023-11-10T02:22:15.013Z] SSH_AGENT_PID=39 [2023-11-10T02:22:15.016Z] Running ssh-add (command line suppressed) [2023-11-10T02:22:15.110Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_795215849161646007.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_795215849161646007.key) [2023-11-10T02:22:15.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:22:15.414Z] + git semver push [2023-11-10T02:22:15.674Z] 2023-11-10 02:22:15,586 [run_push] DEBUG push [2023-11-10T02:22:15.674Z] 2023-11-10 02:22:15,586 [execute] INFO git cat-file --batch-check [2023-11-10T02:22:15.674Z] 2023-11-10 02:22:15,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-10T02:22:15.674Z] 2023-11-10 02:22:15,591 [execute] INFO git rev-list 4b83355c311613d8cc5dce46382dfe162004072f -- [2023-11-10T02:22:15.674Z] 2023-11-10 02:22:15,591 [execute] DEBUG Popen(['git', 'rev-list', '4b83355c311613d8cc5dce46382dfe162004072f', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-10T02:22:15.674Z] 2023-11-10 02:22:15,599 [execute] INFO git fetch -v origin [2023-11-10T02:22:15.674Z] 2023-11-10 02:22:15,599 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-10T02:22:16.241Z] 2023-11-10 02:22:16,126 [run_push] DEBUG no remote changes detected [2023-11-10T02:22:16.241Z] 2023-11-10 02:22:16,126 [execute] INFO git push origin semver [2023-11-10T02:22:16.241Z] 2023-11-10 02:22:16,127 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-10T02:22:17.179Z] 2023-11-10 02:22:16,907 [run_push] DEBUG push all version tags [2023-11-10T02:22:17.179Z] 2023-11-10 02:22:16,908 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-10T02:22:17.179Z] 2023-11-10 02:22:16,908 [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) [2023-11-10T02:22:17.745Z] 2023-11-10 02:22:17,617 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-10T02:22:17.745Z] 3.1.0-dev.12 [Pipeline] } [2023-11-10T02:22:17.754Z] $ docker exec --env ******** --env ******** 8e9c7a55c646f01fb34c69460cac03c56c20d3bdff845acf7b9018ad686772c2 ssh-agent -k [2023-11-10T02:22:17.841Z] unset SSH_AUTH_SOCK; [2023-11-10T02:22:17.842Z] unset SSH_AGENT_PID; [2023-11-10T02:22:17.842Z] echo Agent pid 39 killed; [2023-11-10T02:22:17.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:22:18.232Z] + git semver [Pipeline] } [2023-11-10T02:22:18.505Z] $ docker stop --time=1 8e9c7a55c646f01fb34c69460cac03c56c20d3bdff845acf7b9018ad686772c2 [2023-11-10T02:22:19.809Z] $ docker rm -f --volumes 8e9c7a55c646f01fb34c69460cac03c56c20d3bdff845acf7b9018ad686772c2 [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 [2023-11-10T02:22:20.413Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-11-10T02:22:20.413Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-11-10T02:22:20.413Z] total 16 [2023-11-10T02:22:20.413Z] drwxr-xr-x 3 root root 4096 Nov 10 02:10 . [2023-11-10T02:22:20.413Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:22 .. [2023-11-10T02:22:20.413Z] drwxr-xr-x 2 root root 4096 Nov 10 02:10 cost [2023-11-10T02:22:20.413Z] -rw-r--r-- 1 root root 85 Nov 10 02:10 cost.csv [2023-11-10T02:22:20.413Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-11-10T02:22:20.413Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-11-10T02:22:20.413Z] total 16 [2023-11-10T02:22:20.413Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:10 . [2023-11-10T02:22:20.413Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:22 .. [2023-11-10T02:22:20.413Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 02:10 cost [2023-11-10T02:22:20.413Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 10 02:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:20.706Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:21.563Z] ---> package-listing.sh [2023-11-10T02:22:21.564Z] ++ facter osfamily [2023-11-10T02:22:21.564Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-10T02:22:21.823Z] + OS_FAMILY=debian [2023-11-10T02:22:21.824Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-11-10T02:22:21.824Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-10T02:22:21.824Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-10T02:22:21.824Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-10T02:22:21.824Z] + PACKAGES=/tmp/packages_start.txt [2023-11-10T02:22:21.824Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-11-10T02:22:21.824Z] + PACKAGES=/tmp/packages_end.txt [2023-11-10T02:22:21.824Z] + case "${OS_FAMILY}" in [2023-11-10T02:22:21.824Z] + dpkg -l [2023-11-10T02:22:21.824Z] + grep '^ii' [2023-11-10T02:22:21.824Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-10T02:22:21.824Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-10T02:22:21.824Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-10T02:22:21.824Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-11-10T02:22:21.824Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-11-10T02:22:21.824Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2023-11-10T02:22:21.835Z] 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 [2023-11-10T02:22:22.115Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:22:22.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:22:22.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:22:22.755Z] prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container [2023-11-10T02:22:22.784Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-10T02:22:22.982Z] $ docker top c3e7c3aee98e4665d02ef6e8fd17d3292d4187ca4a3efff3544a6bd367b495c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:22:23.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-10T02:22:23.607Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-10T02:22:23.899Z] + ls /var/log/sa-host [2023-11-10T02:22:23.899Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:22:23.994Z] provisioning config files... [2023-11-10T02:22:24.003Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10341027236076410548tmp [Pipeline] { [Pipeline] echo [2023-11-10T02:22:24.018Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:24.305Z] ---> create-netrc.sh [Pipeline] } [2023-11-10T02:22:24.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:24.644Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-10T02:22:24.652Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:24.934Z] ---> sudo-logs.sh [2023-11-10T02:22:24.934Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-10T02:22:24.955Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:25.239Z] ---> job-cost.sh [2023-11-10T02:22:25.239Z] lf-activate-venv: SKIPPING [2023-11-10T02:22:25.239Z] DEBUG: total: 0.2199999988079071 [2023-11-10T02:22:25.239Z] INFO: Retrieving Stack Cost... [2023-11-10T02:22:25.499Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-10T02:22:26.065Z] INFO: Archiving Costs [Pipeline] echo [2023-11-10T02:22:26.077Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:22:26.360Z] ---> logs-deploy.sh [2023-11-10T02:22:26.361Z] lf-activate-venv: SKIPPING [2023-11-10T02:22:26.361Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/97 [2023-11-10T02:22:26.361Z] INFO: archiving workspace using pattern(s): [2023-11-10T02:22:27.299Z] Archives upload complete. [2023-11-10T02:22:27.299Z] INFO: archiving logs to Nexus