Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99a3003bf1ce8196f615f02073f77889c060ae6d 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-ssh15721656839529768476.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13161755476469915646.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15213535078449128683.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7134230806344194733.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-ssh12364410642658644401.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13862 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 99a3003bf1ce8196f615f02073f77889c060ae6d (main) Commit message: "Merge pull request #301 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" > 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 99a3003bf1ce8196f615f02073f77889c060ae6d # timeout=10 > git rev-list --no-walk 59e8a49adf84218e27872d7b6b42bd2fec737482 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T06:42:43.811Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T06:42:43.868Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T06:42:43.883Z] ========================================================= [2023-05-05T06:42:43.883Z] EdgeX Global Pipelines Version Info [2023-05-05T06:42:43.883Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:44.610Z] ------------------- [2023-05-05T06:42:44.610Z] stable info: [2023-05-05T06:42:44.610Z] ------------------- [2023-05-05T06:42:44.610Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T06:42:44.610Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:42:44.610Z] Message: update stable to v1.0.249 [2023-05-05T06:42:45.181Z] ------------------- [2023-05-05T06:42:45.181Z] experimental info: [2023-05-05T06:42:45.181Z] ------------------- [2023-05-05T06:42:45.181Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T06:42:45.181Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:42:45.181Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T06:42:45.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-05T06:42:45.371Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-05T06:42:45.388Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T06:42:45.400Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T06:42:45.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T06:42:45.428Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T06:42:45.445Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T06:42:45.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T06:42:45.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T06:42:45.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T06:42:45.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T06:42:45.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-05T06:42:45.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T06:42:45.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T06:42:45.558Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:42:45.571Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:42:45.585Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:42:45.598Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:42:45.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T06:42:45.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T06:42:45.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T06:42:45.667Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T06:42:45.681Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T06:42:45.693Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T06:42:45.707Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T06:42:45.720Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T06:42:45.734Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T06:42:45.749Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-05T06:42:45.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-05T06:42:45.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-05T06:42:45.784Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] echo [2023-05-05T06:42:45.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99a3003 [Pipeline] echo [2023-05-05T06:42:45.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:42:45.847Z] provisioning config files... [2023-05-05T06:42:45.861Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2111853339609624367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:42:46.168Z] ---> docker-login.sh [2023-05-05T06:42:46.168Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:42:46.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:42:46.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:42:46.429Z] Configure a credential helper to remove this warning. See [2023-05-05T06:42:46.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:42:46.429Z] [2023-05-05T06:42:46.429Z] Login Succeeded [2023-05-05T06:42:46.429Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:42:46.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:42:46.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:42:46.429Z] Configure a credential helper to remove this warning. See [2023-05-05T06:42:46.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:42:46.429Z] [2023-05-05T06:42:46.429Z] Login Succeeded [2023-05-05T06:42:46.429Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:42:46.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:42:46.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:42:46.688Z] Configure a credential helper to remove this warning. See [2023-05-05T06:42:46.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:42:46.688Z] [2023-05-05T06:42:46.688Z] Login Succeeded [2023-05-05T06:42:46.688Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:42:46.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:42:46.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:42:46.688Z] Configure a credential helper to remove this warning. See [2023-05-05T06:42:46.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:42:46.688Z] [2023-05-05T06:42:46.688Z] Login Succeeded [2023-05-05T06:42:46.688Z] docker.io [2023-05-05T06:42:46.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:42:46.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:42:46.948Z] Configure a credential helper to remove this warning. See [2023-05-05T06:42:46.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:42:46.948Z] [2023-05-05T06:42:46.948Z] Login Succeeded [2023-05-05T06:42:46.948Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:42:46.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T06:42:47.303Z] + git rev-list -1 --merges 99a3003bf1ce8196f615f02073f77889c060ae6d~1..99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] echo [2023-05-05T06:42:47.349Z] -----------> git rev-list -1 --merges 99a3003bf1ce8196f615f02073f77889c060ae6d~1..99a3003bf1ce8196f615f02073f77889c060ae6d 99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:42:47.349Z] 99a3003bf1ce8196f615f02073f77889c060ae6d [false] [Pipeline] sh [2023-05-05T06:42:47.637Z] + git log --format=format:%s -1 99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] echo [2023-05-05T06:42:47.650Z] ========================================================= [2023-05-05T06:42:47.650Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T06:42:47.651Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:42:47.965Z] + git log --format=format:%s -1 99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] echo [2023-05-05T06:42:47.974Z] [semverPrep] GIT_COMMIT: 99a3003bf1ce8196f615f02073f77889c060ae6d, Commit Message: Merge pull request #301 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82 [Pipeline] echo [2023-05-05T06:42:47.982Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T06:42:48.353Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:42:48.353Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T06:42:48.353Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T06:42:48.353Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T06:42:48.353Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T06:42:48.353Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T06:42:48.353Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:42:48.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:42:48.781Z] [2023-05-05T06:42:48.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:42:49.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:42:49.088Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T06:42:49.088Z] b85a868b505f: Pulling fs layer [2023-05-05T06:42:49.088Z] e2be974225ed: Pulling fs layer [2023-05-05T06:42:49.088Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T06:42:49.088Z] 988bab9f4d93: Pulling fs layer [2023-05-05T06:42:49.088Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T06:42:49.088Z] eaf3925da568: Pulling fs layer [2023-05-05T06:42:49.088Z] bab4dde63d76: Pulling fs layer [2023-05-05T06:42:49.088Z] bde34c3a00c8: Pulling fs layer [2023-05-05T06:42:49.088Z] b352a97aabf1: Pulling fs layer [2023-05-05T06:42:49.088Z] 4872d77fe225: Pulling fs layer [2023-05-05T06:42:49.088Z] 5851b861e8e6: Pulling fs layer [2023-05-05T06:42:49.088Z] bab4dde63d76: Waiting [2023-05-05T06:42:49.088Z] bde34c3a00c8: Waiting [2023-05-05T06:42:49.088Z] b352a97aabf1: Waiting [2023-05-05T06:42:49.088Z] 1469e6f7b9e6: Waiting [2023-05-05T06:42:49.088Z] 988bab9f4d93: Waiting [2023-05-05T06:42:49.088Z] 4872d77fe225: Waiting [2023-05-05T06:42:49.088Z] 5851b861e8e6: Waiting [2023-05-05T06:42:49.088Z] eaf3925da568: Waiting [2023-05-05T06:42:49.088Z] e2be974225ed: Verifying Checksum [2023-05-05T06:42:49.088Z] e2be974225ed: Download complete [2023-05-05T06:42:49.088Z] 988bab9f4d93: Download complete [2023-05-05T06:42:49.088Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T06:42:49.088Z] 1469e6f7b9e6: Download complete [2023-05-05T06:42:49.088Z] eaf3925da568: Verifying Checksum [2023-05-05T06:42:49.088Z] eaf3925da568: Download complete [2023-05-05T06:42:49.347Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T06:42:49.348Z] 339a4e72a1f5: Download complete [2023-05-05T06:42:49.348Z] bde34c3a00c8: Verifying Checksum [2023-05-05T06:42:49.348Z] bde34c3a00c8: Download complete [2023-05-05T06:42:49.348Z] b352a97aabf1: Download complete [2023-05-05T06:42:49.348Z] 4872d77fe225: Download complete [2023-05-05T06:42:49.348Z] 5851b861e8e6: Download complete [2023-05-05T06:42:49.348Z] b85a868b505f: Verifying Checksum [2023-05-05T06:42:49.348Z] b85a868b505f: Download complete [2023-05-05T06:42:49.606Z] bab4dde63d76: Verifying Checksum [2023-05-05T06:42:49.606Z] bab4dde63d76: Download complete [2023-05-05T06:42:50.543Z] b85a868b505f: Pull complete [2023-05-05T06:42:50.802Z] e2be974225ed: Pull complete [2023-05-05T06:42:51.373Z] 339a4e72a1f5: Pull complete [2023-05-05T06:42:51.373Z] 988bab9f4d93: Pull complete [2023-05-05T06:42:51.634Z] 1469e6f7b9e6: Pull complete [2023-05-05T06:42:51.634Z] eaf3925da568: Pull complete [2023-05-05T06:42:53.546Z] bab4dde63d76: Pull complete [2023-05-05T06:42:53.546Z] bde34c3a00c8: Pull complete [2023-05-05T06:42:53.807Z] b352a97aabf1: Pull complete [2023-05-05T06:42:53.807Z] 4872d77fe225: Pull complete [2023-05-05T06:42:53.807Z] 5851b861e8e6: Pull complete [2023-05-05T06:42:54.067Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T06:42:54.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:42:54.067Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:42:54.164Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:42:54.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:42:56.367Z] $ docker top adc69fcac3516721dab242731c06ff04aac08797665382e52bb234a02bf22d9a -eo pid,comm [2023-05-05T06:42:56.434Z] 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-05-05T06:42:56.434Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:42:56.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:42:56.469Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:42:56.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:42:56.588Z] $ docker exec adc69fcac3516721dab242731c06ff04aac08797665382e52bb234a02bf22d9a ssh-agent [2023-05-05T06:42:56.707Z] SSH_AUTH_SOCK=/tmp/ssh-R4L5gYaZSPHW/agent.32 [2023-05-05T06:42:56.707Z] SSH_AGENT_PID=38 [2023-05-05T06:42:56.715Z] Running ssh-add (command line suppressed) [2023-05-05T06:42:56.829Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12738355937396086437.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12738355937396086437.key) [2023-05-05T06:42:56.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:42:57.137Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T06:42:57.146Z] $ docker exec --env ******** --env ******** adc69fcac3516721dab242731c06ff04aac08797665382e52bb234a02bf22d9a ssh-agent -k [2023-05-05T06:42:57.250Z] unset SSH_AUTH_SOCK; [2023-05-05T06:42:57.250Z] unset SSH_AGENT_PID; [2023-05-05T06:42:57.251Z] echo Agent pid 38 killed; [2023-05-05T06:42:57.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T06:42:57.310Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:42:57.310Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:42:57.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:42:57.415Z] $ docker exec adc69fcac3516721dab242731c06ff04aac08797665382e52bb234a02bf22d9a ssh-agent [2023-05-05T06:42:57.553Z] SSH_AUTH_SOCK=/tmp/ssh-orxZI8cLhDuB/agent.70 [2023-05-05T06:42:57.553Z] SSH_AGENT_PID=76 [2023-05-05T06:42:57.559Z] Running ssh-add (command line suppressed) [2023-05-05T06:42:57.675Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16166348421436875621.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16166348421436875621.key) [2023-05-05T06:42:57.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:42:57.990Z] + git semver init [2023-05-05T06:42:58.250Z] 2023-05-05 06:42:58,184 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T06:42:58.250Z] 2023-05-05 06:42:58,185 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-05T06:42:58.250Z] 2023-05-05 06:42:58,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-05T06:42:58.250Z] 2023-05-05 06:42:58,185 [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-05-05T06:42:59.190Z] 2023-05-05 06:42:59,136 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-05T06:42:59.190Z] 2023-05-05 06:42:59,136 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-05T06:42:59.190Z] 2023-05-05 06:42:59,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:42:59.190Z] 2023-05-05 06:42:59,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:42:59.190Z] 3.0.0-dev.19 [Pipeline] } [2023-05-05T06:42:59.193Z] $ docker exec --env ******** --env ******** adc69fcac3516721dab242731c06ff04aac08797665382e52bb234a02bf22d9a ssh-agent -k [2023-05-05T06:42:59.304Z] unset SSH_AUTH_SOCK; [2023-05-05T06:42:59.304Z] unset SSH_AGENT_PID; [2023-05-05T06:42:59.305Z] echo Agent pid 76 killed; [2023-05-05T06:42:59.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:42:59.643Z] + git semver [Pipeline] } [2023-05-05T06:43:00.220Z] $ docker stop --time=1 adc69fcac3516721dab242731c06ff04aac08797665382e52bb234a02bf22d9a [2023-05-05T06:43:01.912Z] $ docker rm -f --volumes adc69fcac3516721dab242731c06ff04aac08797665382e52bb234a02bf22d9a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:43:02.252Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T06:43:02.466Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T06:43:02.469Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.19 [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-05-05T06:43:02.608Z] provisioning config files... [2023-05-05T06:43:02.618Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6192117059541649531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:43:02.913Z] ---> docker-login.sh [2023-05-05T06:43:02.913Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:43:02.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:43:02.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:43:02.914Z] Configure a credential helper to remove this warning. See [2023-05-05T06:43:02.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:43:02.914Z] [2023-05-05T06:43:02.914Z] Login Succeeded [2023-05-05T06:43:02.914Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:43:02.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:43:02.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:43:02.914Z] Configure a credential helper to remove this warning. See [2023-05-05T06:43:02.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:43:02.914Z] [2023-05-05T06:43:02.914Z] Login Succeeded [2023-05-05T06:43:02.914Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:43:03.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:43:03.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:43:03.175Z] Configure a credential helper to remove this warning. See [2023-05-05T06:43:03.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:43:03.175Z] [2023-05-05T06:43:03.175Z] Login Succeeded [2023-05-05T06:43:03.175Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:43:03.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:43:03.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:43:03.175Z] Configure a credential helper to remove this warning. See [2023-05-05T06:43:03.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:43:03.175Z] [2023-05-05T06:43:03.175Z] Login Succeeded [2023-05-05T06:43:03.175Z] docker.io [2023-05-05T06:43:03.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:43:03.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:43:03.695Z] Configure a credential helper to remove this warning. See [2023-05-05T06:43:03.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:43:03.695Z] [2023-05-05T06:43:03.695Z] Login Succeeded [2023-05-05T06:43:03.695Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:43:03.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:43:03.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:43:03.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:43:03.791Z] ========================================================= [2023-05-05T06:43:03.791Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T06:43:03.791Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:43:04.096Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-05T06:43:04.096Z] Sending build context to Docker daemon 5.799MB [2023-05-05T06:43:04.096Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:43:04.096Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T06:43:04.096Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T06:43:04.096Z] f56be85fc22e: Pulling fs layer [2023-05-05T06:43:04.096Z] 85791d961cd3: Pulling fs layer [2023-05-05T06:43:04.096Z] d694b5ae8c79: Pulling fs layer [2023-05-05T06:43:04.096Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T06:43:04.096Z] 4d19c01a9841: Pulling fs layer [2023-05-05T06:43:04.096Z] 9325e15d5711: Pulling fs layer [2023-05-05T06:43:04.096Z] 556b6ee489ea: Pulling fs layer [2023-05-05T06:43:04.096Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T06:43:04.096Z] 9f32a84ed3da: Waiting [2023-05-05T06:43:04.096Z] 4d19c01a9841: Waiting [2023-05-05T06:43:04.096Z] 9325e15d5711: Waiting [2023-05-05T06:43:04.096Z] 556b6ee489ea: Waiting [2023-05-05T06:43:04.096Z] c5a4b2cf53e6: Waiting [2023-05-05T06:43:04.096Z] 85791d961cd3: Download complete [2023-05-05T06:43:04.096Z] 9f32a84ed3da: Verifying Checksum [2023-05-05T06:43:04.096Z] 9f32a84ed3da: Download complete [2023-05-05T06:43:04.096Z] 4d19c01a9841: Verifying Checksum [2023-05-05T06:43:04.096Z] 4d19c01a9841: Download complete [2023-05-05T06:43:04.355Z] f56be85fc22e: Verifying Checksum [2023-05-05T06:43:04.355Z] f56be85fc22e: Download complete [2023-05-05T06:43:04.355Z] 9325e15d5711: Verifying Checksum [2023-05-05T06:43:04.355Z] 9325e15d5711: Download complete [2023-05-05T06:43:04.355Z] f56be85fc22e: Pull complete [2023-05-05T06:43:04.613Z] 85791d961cd3: Pull complete [2023-05-05T06:43:04.613Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T06:43:04.613Z] c5a4b2cf53e6: Download complete [2023-05-05T06:43:04.876Z] d694b5ae8c79: Verifying Checksum [2023-05-05T06:43:04.876Z] d694b5ae8c79: Download complete [2023-05-05T06:43:05.134Z] 556b6ee489ea: Verifying Checksum [2023-05-05T06:43:05.134Z] 556b6ee489ea: Download complete [2023-05-05T06:43:08.422Z] d694b5ae8c79: Pull complete [2023-05-05T06:43:08.422Z] 9f32a84ed3da: Pull complete [2023-05-05T06:43:08.422Z] 4d19c01a9841: Pull complete [2023-05-05T06:43:08.422Z] 9325e15d5711: Pull complete [2023-05-05T06:43:10.792Z] 556b6ee489ea: Pull complete [2023-05-05T06:43:12.169Z] c5a4b2cf53e6: Pull complete [2023-05-05T06:43:12.169Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T06:43:12.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T06:43:12.169Z] ---> c4be618373d6 [2023-05-05T06:43:12.169Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:43:16.409Z] ---> Running in 50b74e2bc669 [2023-05-05T06:43:16.409Z] Removing intermediate container 50b74e2bc669 [2023-05-05T06:43:16.409Z] ---> f2827026245d [2023-05-05T06:43:16.409Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:43:16.409Z] ---> Running in 4d219c099438 [2023-05-05T06:43:16.409Z] Removing intermediate container 4d219c099438 [2023-05-05T06:43:16.409Z] ---> 1904d5bc42c8 [2023-05-05T06:43:16.409Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:43:16.409Z] ---> Running in dcdf0a211e09 [2023-05-05T06:43:16.409Z] Removing intermediate container dcdf0a211e09 [2023-05-05T06:43:16.409Z] ---> 43b147abe809 [2023-05-05T06:43:16.409Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:43:16.409Z] ---> Running in 2b1922e772d8 [2023-05-05T06:43:16.409Z] Removing intermediate container 2b1922e772d8 [2023-05-05T06:43:16.409Z] ---> 25ec0c38c57f [2023-05-05T06:43:16.409Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:43:16.409Z] ---> Running in 36e92f5f31ba [2023-05-05T06:43:16.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:43:16.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:43:17.248Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:43:17.248Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T06:43:17.248Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:43:17.248Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:43:17.248Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:43:17.248Z] OK: 269 MiB in 57 packages [2023-05-05T06:43:17.575Z] Still waiting to schedule task [2023-05-05T06:43:17.576Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T06:43:17.817Z] Removing intermediate container 36e92f5f31ba [2023-05-05T06:43:17.817Z] ---> 6532f5ed63d5 [2023-05-05T06:43:17.817Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-05T06:43:17.817Z] ---> Running in 138247422eb6 [2023-05-05T06:43:17.817Z] Removing intermediate container 138247422eb6 [2023-05-05T06:43:17.817Z] ---> e5aad4e515aa [2023-05-05T06:43:17.817Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T06:43:17.817Z] ---> f82e2a6c12fa [2023-05-05T06:43:17.817Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:43:17.817Z] ---> Running in 22918acb8670 [2023-05-05T06:43:44.385Z] Removing intermediate container 22918acb8670 [2023-05-05T06:43:44.385Z] ---> 89c607578aea [2023-05-05T06:43:44.385Z] Step 11/12 : COPY . . [2023-05-05T06:43:44.385Z] ---> 8996377134c9 [2023-05-05T06:43:44.385Z] Step 12/12 : RUN ${MAKE} [2023-05-05T06:43:44.385Z] ---> Running in 837cdf4805fc [2023-05-05T06:43:44.385Z] noop [2023-05-05T06:43:44.385Z] Removing intermediate container 837cdf4805fc [2023-05-05T06:43:44.385Z] ---> 0fcf9f64e4b7 [2023-05-05T06:43:44.385Z] Successfully built 0fcf9f64e4b7 [2023-05-05T06:43:44.385Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:43:44.688Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:43:44.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:43:44.749Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:43:44.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:43:45.379Z] $ docker top c2a0b0e7e5d014a7ed27c32d0cf683cb1c3ab21366c08f9b57b57c811d381f78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:43:45.695Z] + go version [2023-05-05T06:43:45.695Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T06:43:45.714Z] $ docker stop --time=1 c2a0b0e7e5d014a7ed27c32d0cf683cb1c3ab21366c08f9b57b57c811d381f78 [2023-05-05T06:43:47.384Z] $ docker rm -f --volumes c2a0b0e7e5d014a7ed27c32d0cf683cb1c3ab21366c08f9b57b57c811d381f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:43:47.823Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:43:47.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:43:47.887Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:43:47.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:43:48.260Z] $ docker top 8aaa24586fcec25598465d236b9616667935a7a047a2d9a9a17ba7af227fed43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:43:48.606Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:43:48.904Z] + make test [2023-05-05T06:43:48.904Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:43:54.174Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-05T06:44:04.142Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-05T06:44:04.142Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2023-05-05T06:44:08.323Z] go vet ./... [2023-05-05T06:44:11.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:44:11.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:44:11.601Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:44:11.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:44:11.631Z] $ docker stop --time=1 8aaa24586fcec25598465d236b9616667935a7a047a2d9a9a17ba7af227fed43 [2023-05-05T06:44:14.622Z] $ docker rm -f --volumes 8aaa24586fcec25598465d236b9616667935a7a047a2d9a9a17ba7af227fed43 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:44:15.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:44:15.128Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T06:44:15.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:44:15.953Z] + ls -al . [2023-05-05T06:44:15.954Z] total 172 [2023-05-05T06:44:15.954Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:43 . [2023-05-05T06:44:15.954Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:42 .. [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 6 May 5 06:42 .dockerignore [2023-05-05T06:44:15.954Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:42 .git [2023-05-05T06:44:15.954Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:42 .github [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 328 May 5 06:42 .gitignore [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:42 .golangci.yml [2023-05-05T06:44:15.954Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:42 .semver [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 5 06:42 Attribution.txt [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 5 06:42 CHANGELOG.md [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 5 06:42 Dockerfile [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:42 GOVERNANCE.md [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 656 May 5 06:42 Jenkinsfile [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:42 LICENSE [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 5 06:42 Makefile [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:42 OWNERS.md [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 5 06:42 README.md [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:43 VERSION [2023-05-05T06:44:15.954Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:42 bin [2023-05-05T06:44:15.954Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:42 cmd [2023-05-05T06:44:15.954Z] -rw-r--r-- 1 jenkins jenkins 8837 May 5 06:44 coverage.out [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 5 06:42 go.mod [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 5 06:42 go.sum [2023-05-05T06:44:15.954Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:42 internal [2023-05-05T06:44:15.954Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:42 snap [2023-05-05T06:44:15.954Z] -rw-rw-r-- 1 jenkins jenkins 228 May 5 06:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:16.269Z] + 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=99a3003bf1ce8196f615f02073f77889c060ae6d --label arch=amd64 --label version=3.0.0-dev.19 . [2023-05-05T06:44:16.269Z] Sending build context to Docker daemon 5.809MB [2023-05-05T06:44:16.269Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:44:16.269Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-05T06:44:16.269Z] ---> 0fcf9f64e4b7 [2023-05-05T06:44:16.269Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:44:16.269Z] ---> Running in b92e0b3b580b [2023-05-05T06:44:16.571Z] Removing intermediate container b92e0b3b580b [2023-05-05T06:44:16.571Z] ---> 5abc155b36ae [2023-05-05T06:44:16.571Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:44:16.571Z] ---> Running in 370d5e4de9da [2023-05-05T06:44:16.571Z] Removing intermediate container 370d5e4de9da [2023-05-05T06:44:16.571Z] ---> 4be2beddd0a8 [2023-05-05T06:44:16.571Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:44:16.571Z] ---> Running in 84126273244d [2023-05-05T06:44:16.571Z] Removing intermediate container 84126273244d [2023-05-05T06:44:16.571Z] ---> fb6fd2b35c81 [2023-05-05T06:44:16.571Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:44:16.571Z] ---> Running in 93c5b8567798 [2023-05-05T06:44:16.845Z] Removing intermediate container 93c5b8567798 [2023-05-05T06:44:16.845Z] ---> 7ef5732f033c [2023-05-05T06:44:16.845Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:44:16.845Z] ---> Running in 2aad60620377 [2023-05-05T06:44:17.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:44:17.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:44:17.385Z] OK: 269 MiB in 57 packages [2023-05-05T06:44:17.655Z] Removing intermediate container 2aad60620377 [2023-05-05T06:44:17.655Z] ---> f5d1fd1a7878 [2023-05-05T06:44:17.655Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-05T06:44:17.655Z] ---> Running in 31bf6310eadb [2023-05-05T06:44:17.655Z] Removing intermediate container 31bf6310eadb [2023-05-05T06:44:17.655Z] ---> 828fc61b35dd [2023-05-05T06:44:17.655Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-05T06:44:17.655Z] ---> 3957e16ae9dd [2023-05-05T06:44:17.655Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:44:17.930Z] ---> Running in ced1225d85e9 [2023-05-05T06:44:18.878Z] Removing intermediate container ced1225d85e9 [2023-05-05T06:44:18.878Z] ---> 2dc0e3b13889 [2023-05-05T06:44:18.878Z] Step 11/24 : COPY . . [2023-05-05T06:44:19.449Z] ---> 39e655b3d5c9 [2023-05-05T06:44:19.449Z] Step 12/24 : RUN ${MAKE} [2023-05-05T06:44:19.449Z] ---> Running in 3b0586dede91 [2023-05-05T06:44:19.709Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-05T06:44:41.661Z] Removing intermediate container 3b0586dede91 [2023-05-05T06:44:41.661Z] ---> 81fd2ff19f44 [2023-05-05T06:44:41.661Z] Step 13/24 : FROM alpine:3.17 [2023-05-05T06:44:41.661Z] 3.17: Pulling from library/alpine [2023-05-05T06:44:41.661Z] f56be85fc22e: Already exists [2023-05-05T06:44:41.661Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:44:41.661Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:44:41.661Z] ---> 9ed4aefc74f6 [2023-05-05T06:44:41.661Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:44:41.661Z] ---> Running in d88c8437a6f8 [2023-05-05T06:44:41.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:44:41.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:44:41.661Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:44:41.661Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:44:41.661Z] OK: 7 MiB in 16 packages [2023-05-05T06:44:41.661Z] Removing intermediate container d88c8437a6f8 [2023-05-05T06:44:41.661Z] ---> 87e81a90c098 [2023-05-05T06:44:41.661Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-05T06:44:41.661Z] ---> 3b9938eb850d [2023-05-05T06:44:41.661Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-05T06:44:41.661Z] ---> 2bfc771c03ba [2023-05-05T06:44:41.661Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-05T06:44:41.661Z] ---> 55157e1155e7 [2023-05-05T06:44:41.661Z] Step 18/24 : EXPOSE 59993 [2023-05-05T06:44:41.661Z] ---> Running in eafabeb3c436 [2023-05-05T06:44:41.661Z] Removing intermediate container eafabeb3c436 [2023-05-05T06:44:41.661Z] ---> 3f522882bad0 [2023-05-05T06:44:41.661Z] Step 19/24 : EXPOSE 161 [2023-05-05T06:44:41.661Z] ---> Running in 2db5cee61e72 [2023-05-05T06:44:41.661Z] Removing intermediate container 2db5cee61e72 [2023-05-05T06:44:41.661Z] ---> b1b0637cb759 [2023-05-05T06:44:41.661Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-05T06:44:41.661Z] ---> Running in dc42d875891c [2023-05-05T06:44:41.661Z] Removing intermediate container dc42d875891c [2023-05-05T06:44:41.661Z] ---> c6209dc817ad [2023-05-05T06:44:41.661Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T06:44:41.661Z] ---> Running in fed9aeae2d55 [2023-05-05T06:44:41.661Z] Removing intermediate container fed9aeae2d55 [2023-05-05T06:44:41.661Z] ---> 61ca31a839ca [2023-05-05T06:44:41.661Z] Step 22/24 : LABEL arch=amd64 [2023-05-05T06:44:41.661Z] ---> Running in b08f81448e1a [2023-05-05T06:44:41.661Z] Removing intermediate container b08f81448e1a [2023-05-05T06:44:41.661Z] ---> 6c9be5097343 [2023-05-05T06:44:41.661Z] Step 23/24 : LABEL git_sha=99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:44:41.661Z] ---> Running in 20a20838fdbd [2023-05-05T06:44:41.661Z] Removing intermediate container 20a20838fdbd [2023-05-05T06:44:41.661Z] ---> fad18e19764b [2023-05-05T06:44:41.661Z] Step 24/24 : LABEL version=3.0.0-dev.19 [2023-05-05T06:44:41.661Z] ---> Running in a8e918e43532 [2023-05-05T06:44:41.661Z] Removing intermediate container a8e918e43532 [2023-05-05T06:44:41.661Z] ---> 29bf243ad0e1 [2023-05-05T06:44:41.661Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:44:41.661Z] Successfully built 29bf243ad0e1 [2023-05-05T06:44:41.661Z] 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-05-05T06:44:41.768Z] provisioning config files... [2023-05-05T06:44:41.775Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1676341480526366762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:44:42.067Z] ---> docker-login.sh [2023-05-05T06:44:42.067Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:44:42.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:44:42.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:44:42.067Z] Configure a credential helper to remove this warning. See [2023-05-05T06:44:42.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:44:42.067Z] [2023-05-05T06:44:42.067Z] Login Succeeded [2023-05-05T06:44:42.067Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:44:42.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:44:42.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:44:42.067Z] Configure a credential helper to remove this warning. See [2023-05-05T06:44:42.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:44:42.067Z] [2023-05-05T06:44:42.067Z] Login Succeeded [2023-05-05T06:44:42.067Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:44:42.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:44:42.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:44:42.325Z] Configure a credential helper to remove this warning. See [2023-05-05T06:44:42.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:44:42.325Z] [2023-05-05T06:44:42.325Z] Login Succeeded [2023-05-05T06:44:42.325Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:44:42.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:44:42.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:44:42.325Z] Configure a credential helper to remove this warning. See [2023-05-05T06:44:42.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:44:42.325Z] [2023-05-05T06:44:42.325Z] Login Succeeded [2023-05-05T06:44:42.325Z] docker.io [2023-05-05T06:44:42.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:44:42.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:44:42.584Z] Configure a credential helper to remove this warning. See [2023-05-05T06:44:42.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:44:42.584Z] [2023-05-05T06:44:42.584Z] Login Succeeded [2023-05-05T06:44:42.584Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:44:42.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:44:42.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:44:42.633Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-05T06:44:42.633Z] 99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:44:42.633Z] latest [2023-05-05T06:44:42.633Z] 3.0.0-dev.19 [2023-05-05T06:44:42.633Z] 99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [2023-05-05T06:44:42.633Z] main [2023-05-05T06:44:42.633Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:42.936Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:43.236Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:44:43.236Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:44:43.236Z] ca34b180cb89: Preparing [2023-05-05T06:44:43.236Z] 699577a04068: Preparing [2023-05-05T06:44:43.236Z] 8fa196f27087: Preparing [2023-05-05T06:44:43.236Z] ede68ec1980d: Preparing [2023-05-05T06:44:43.236Z] f1417ff83b31: Preparing [2023-05-05T06:44:43.236Z] f1417ff83b31: Layer already exists [2023-05-05T06:44:43.236Z] ca34b180cb89: Pushed [2023-05-05T06:44:43.236Z] ede68ec1980d: Pushed [2023-05-05T06:44:43.236Z] 699577a04068: Pushed [2023-05-05T06:44:45.774Z] 8fa196f27087: Pushed [2023-05-05T06:44:45.774Z] 99a3003bf1ce8196f615f02073f77889c060ae6d: digest: sha256:ec2018f1f29a215fae56410656f03b5f12402b90a92aae02452a3c9293d60fd3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:46.078Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:46.375Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-05T06:44:46.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:44:46.375Z] ca34b180cb89: Preparing [2023-05-05T06:44:46.375Z] 699577a04068: Preparing [2023-05-05T06:44:46.375Z] 8fa196f27087: Preparing [2023-05-05T06:44:46.375Z] ede68ec1980d: Preparing [2023-05-05T06:44:46.375Z] f1417ff83b31: Preparing [2023-05-05T06:44:46.375Z] f1417ff83b31: Layer already exists [2023-05-05T06:44:46.375Z] 8fa196f27087: Layer already exists [2023-05-05T06:44:46.376Z] ede68ec1980d: Layer already exists [2023-05-05T06:44:46.376Z] 699577a04068: Layer already exists [2023-05-05T06:44:46.376Z] ca34b180cb89: Layer already exists [2023-05-05T06:44:46.376Z] latest: digest: sha256:ec2018f1f29a215fae56410656f03b5f12402b90a92aae02452a3c9293d60fd3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:46.684Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:46.988Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.19 [2023-05-05T06:44:46.988Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:44:46.988Z] ca34b180cb89: Preparing [2023-05-05T06:44:46.988Z] 699577a04068: Preparing [2023-05-05T06:44:46.988Z] 8fa196f27087: Preparing [2023-05-05T06:44:46.988Z] ede68ec1980d: Preparing [2023-05-05T06:44:46.988Z] f1417ff83b31: Preparing [2023-05-05T06:44:46.988Z] ede68ec1980d: Layer already exists [2023-05-05T06:44:46.988Z] ca34b180cb89: Layer already exists [2023-05-05T06:44:46.988Z] 699577a04068: Layer already exists [2023-05-05T06:44:46.988Z] 8fa196f27087: Layer already exists [2023-05-05T06:44:46.988Z] f1417ff83b31: Layer already exists [2023-05-05T06:44:46.988Z] 3.0.0-dev.19: digest: sha256:ec2018f1f29a215fae56410656f03b5f12402b90a92aae02452a3c9293d60fd3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:47.296Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:47.601Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [2023-05-05T06:44:47.601Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:44:47.601Z] ca34b180cb89: Preparing [2023-05-05T06:44:47.601Z] 699577a04068: Preparing [2023-05-05T06:44:47.601Z] 8fa196f27087: Preparing [2023-05-05T06:44:47.601Z] ede68ec1980d: Preparing [2023-05-05T06:44:47.601Z] f1417ff83b31: Preparing [2023-05-05T06:44:47.601Z] ca34b180cb89: Layer already exists [2023-05-05T06:44:47.601Z] ede68ec1980d: Layer already exists [2023-05-05T06:44:47.601Z] 8fa196f27087: Layer already exists [2023-05-05T06:44:47.601Z] f1417ff83b31: Layer already exists [2023-05-05T06:44:47.601Z] 699577a04068: Layer already exists [2023-05-05T06:44:47.601Z] 99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19: digest: sha256:ec2018f1f29a215fae56410656f03b5f12402b90a92aae02452a3c9293d60fd3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:47.914Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:48.220Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-05T06:44:48.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:44:48.220Z] ca34b180cb89: Preparing [2023-05-05T06:44:48.220Z] 699577a04068: Preparing [2023-05-05T06:44:48.220Z] 8fa196f27087: Preparing [2023-05-05T06:44:48.220Z] ede68ec1980d: Preparing [2023-05-05T06:44:48.220Z] f1417ff83b31: Preparing [2023-05-05T06:44:48.220Z] 8fa196f27087: Layer already exists [2023-05-05T06:44:48.220Z] ca34b180cb89: Layer already exists [2023-05-05T06:44:48.220Z] f1417ff83b31: Layer already exists [2023-05-05T06:44:48.220Z] ede68ec1980d: Layer already exists [2023-05-05T06:44:48.220Z] 699577a04068: Layer already exists [2023-05-05T06:44:48.220Z] main: digest: sha256:ec2018f1f29a215fae56410656f03b5f12402b90a92aae02452a3c9293d60fd3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:44:48.277Z] ===================================================== [Pipeline] echo [2023-05-05T06:44:48.284Z] taggedImages: [2023-05-05T06:44:48.284Z] - nexus3.edgexfoundry.org:10004/device-snmp:99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:44:48.284Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-05T06:44:48.284Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.19 [2023-05-05T06:44:48.284Z] - nexus3.edgexfoundry.org:10004/device-snmp:99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [2023-05-05T06:44:48.284Z] - 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-05-05T06:44:48.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:44:48.648Z] [2023-05-05T06:44:48.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:44:48.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:44:48.955Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T06:44:48.955Z] 5eb5b503b376: Pulling fs layer [2023-05-05T06:44:48.955Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T06:44:48.955Z] ec43610c2a17: Pulling fs layer [2023-05-05T06:44:48.955Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T06:44:48.955Z] 33b1e0a273af: Pulling fs layer [2023-05-05T06:44:48.955Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T06:44:48.955Z] 2f39f015ded8: Pulling fs layer [2023-05-05T06:44:48.955Z] 33b1e0a273af: Waiting [2023-05-05T06:44:48.955Z] 5d3b04190fa2: Waiting [2023-05-05T06:44:48.955Z] 2f39f015ded8: Waiting [2023-05-05T06:44:48.955Z] 3a2ae6a8a46f: Waiting [2023-05-05T06:44:48.955Z] 5c69ac0246d0: Verifying Checksum [2023-05-05T06:44:48.955Z] 5c69ac0246d0: Download complete [2023-05-05T06:44:48.955Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-05T06:44:48.955Z] 3a2ae6a8a46f: Download complete [2023-05-05T06:44:48.955Z] 33b1e0a273af: Verifying Checksum [2023-05-05T06:44:48.955Z] 33b1e0a273af: Download complete [2023-05-05T06:44:48.955Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T06:44:48.955Z] 5d3b04190fa2: Download complete [2023-05-05T06:44:48.955Z] ec43610c2a17: Verifying Checksum [2023-05-05T06:44:48.955Z] ec43610c2a17: Download complete [2023-05-05T06:44:49.214Z] 5eb5b503b376: Verifying Checksum [2023-05-05T06:44:49.214Z] 5eb5b503b376: Download complete [2023-05-05T06:44:49.780Z] 2f39f015ded8: Verifying Checksum [2023-05-05T06:44:49.780Z] 2f39f015ded8: Download complete [2023-05-05T06:44:50.344Z] 5eb5b503b376: Pull complete [2023-05-05T06:44:50.344Z] 5c69ac0246d0: Pull complete [2023-05-05T06:44:50.602Z] ec43610c2a17: Pull complete [2023-05-05T06:44:50.861Z] 3a2ae6a8a46f: Pull complete [2023-05-05T06:44:51.119Z] 33b1e0a273af: Pull complete [2023-05-05T06:44:51.119Z] 5d3b04190fa2: Pull complete [2023-05-05T06:44:55.308Z] 2f39f015ded8: Pull complete [2023-05-05T06:44:55.308Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T06:44:55.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:44:55.308Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:44:55.386Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:44:55.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:44:58.764Z] $ docker top ded81e59be102979777b4c37ab951776499ba7ee34f98807082bd33b54ad64e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:44:59.134Z] ---> job-cost.sh [2023-05-05T06:44:59.134Z] lf-activate-venv: SKIPPING [2023-05-05T06:44:59.134Z] INFO: No Stack... [2023-05-05T06:44:59.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:44:59.661Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:44:59.961Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-05T06:44:59.961Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T06:44:59.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] [2023-05-05T06:44:59.981Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] did not exist. Created. [2023-05-05T06:44:59.981Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:45:00.277Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T06:45:00.306Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:45:00.315Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:45:00.338Z] $ docker stop --time=1 ded81e59be102979777b4c37ab951776499ba7ee34f98807082bd33b54ad64e1 [2023-05-05T06:45:01.481Z] $ docker rm -f --volumes ded81e59be102979777b4c37ab951776499ba7ee34f98807082bd33b54ad64e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T06:45:52.275Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13864 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-05T06:45:52.288Z] Running in /w/workspace/device-snmp-go/76 [Pipeline] { [Pipeline] checkout [2023-05-05T06:45:52.329Z] Selected Git installation does not exist. Using Default [2023-05-05T06:45:52.329Z] The recommended git tool is: NONE [2023-05-05T06:45:57.723Z] using credential edgex-jenkins-ssh [2023-05-05T06:45:57.741Z] Cloning the remote Git repository [2023-05-05T06:45:57.799Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-05T06:45:57.920Z] > git init /w/workspace/device-snmp-go/76 # timeout=10 [2023-05-05T06:45:58.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-05T06:45:58.077Z] > git --version # timeout=10 [2023-05-05T06:45:58.096Z] > git --version # 'git version 2.25.1' [2023-05-05T06:45:58.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T06:45:58.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:45:59.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-05T06:45:59.343Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:46:00.282Z] Avoid second fetch [2023-05-05T06:46:00.282Z] Checking out Revision 99a3003bf1ce8196f615f02073f77889c060ae6d (main) [2023-05-05T06:46:00.896Z] Commit message: "Merge pull request #301 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" [2023-05-05T06:46:00.302Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T06:46:00.377Z] > git checkout -f 99a3003bf1ce8196f615f02073f77889c060ae6d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:46:01.790Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T06:46:01.790Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:46:01.790Z] Dload Upload Total Spent Left Speed [2023-05-05T06:46:01.790Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-05-05T06:46:02.308Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T06:46:02.640Z] + sudo tee /etc/docker/daemon.new [2023-05-05T06:46:02.640Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-05T06:46:02.640Z] { [2023-05-05T06:46:02.640Z] "registry-mirrors": [ [2023-05-05T06:46:02.640Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T06:46:02.640Z] ], [2023-05-05T06:46:02.640Z] "bip": "10.250.0.254/24", [2023-05-05T06:46:02.640Z] "hosts": [ [2023-05-05T06:46:02.640Z] "tcp://0.0.0.0:5555", [2023-05-05T06:46:02.640Z] "unix:///var/run/docker.sock" [2023-05-05T06:46:02.640Z] ], [2023-05-05T06:46:02.640Z] "mtu": 1458, [2023-05-05T06:46:02.640Z] "selinux-enabled": true, [2023-05-05T06:46:02.640Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T06:46:02.640Z] } [Pipeline] sh [2023-05-05T06:46:02.990Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T06:46:03.323Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:46:21.604Z] provisioning config files... [2023-05-05T06:46:21.629Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/76@tmp/config8105376428269888260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:46:21.981Z] ---> docker-login.sh [2023-05-05T06:46:21.981Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:46:22.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:46:22.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:46:22.529Z] Configure a credential helper to remove this warning. See [2023-05-05T06:46:22.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:46:22.529Z] [2023-05-05T06:46:22.529Z] Login Succeeded [2023-05-05T06:46:22.529Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:46:22.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:46:23.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:46:23.068Z] Configure a credential helper to remove this warning. See [2023-05-05T06:46:23.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:46:23.068Z] [2023-05-05T06:46:23.068Z] Login Succeeded [2023-05-05T06:46:23.068Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:46:23.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:46:23.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:46:23.338Z] Configure a credential helper to remove this warning. See [2023-05-05T06:46:23.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:46:23.338Z] [2023-05-05T06:46:23.338Z] Login Succeeded [2023-05-05T06:46:23.338Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:46:23.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:46:23.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:46:23.609Z] Configure a credential helper to remove this warning. See [2023-05-05T06:46:23.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:46:23.609Z] [2023-05-05T06:46:23.609Z] Login Succeeded [2023-05-05T06:46:23.609Z] docker.io [2023-05-05T06:46:23.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:46:24.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:46:24.157Z] Configure a credential helper to remove this warning. See [2023-05-05T06:46:24.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:46:24.157Z] [2023-05-05T06:46:24.157Z] Login Succeeded [2023-05-05T06:46:24.157Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:46:24.175Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:46:24.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:46:24.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:46:24.501Z] ========================================================= [2023-05-05T06:46:24.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T06:46:24.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:46:24.846Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-05T06:46:25.115Z] Sending build context to Docker daemon 3.002MB [2023-05-05T06:46:25.115Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:46:25.115Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T06:46:25.388Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T06:46:25.388Z] c41833b44d91: Pulling fs layer [2023-05-05T06:46:25.388Z] ed15518f5707: Pulling fs layer [2023-05-05T06:46:25.388Z] feae8fd75edb: Pulling fs layer [2023-05-05T06:46:25.388Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T06:46:25.388Z] 3cdef696dda3: Pulling fs layer [2023-05-05T06:46:25.388Z] 2ced38df9373: Pulling fs layer [2023-05-05T06:46:25.388Z] 58f1dce35555: Pulling fs layer [2023-05-05T06:46:25.388Z] 242c74f7c9fa: Waiting [2023-05-05T06:46:25.388Z] 3cdef696dda3: Waiting [2023-05-05T06:46:25.388Z] 58f1dce35555: Waiting [2023-05-05T06:46:25.388Z] 2ced38df9373: Waiting [2023-05-05T06:46:25.388Z] ed15518f5707: Verifying Checksum [2023-05-05T06:46:25.388Z] ed15518f5707: Download complete [2023-05-05T06:46:25.388Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T06:46:25.388Z] 242c74f7c9fa: Download complete [2023-05-05T06:46:25.388Z] 3cdef696dda3: Verifying Checksum [2023-05-05T06:46:25.388Z] 3cdef696dda3: Download complete [2023-05-05T06:46:25.388Z] c41833b44d91: Verifying Checksum [2023-05-05T06:46:25.388Z] c41833b44d91: Download complete [2023-05-05T06:46:26.362Z] c41833b44d91: Pull complete [2023-05-05T06:46:26.973Z] 58f1dce35555: Verifying Checksum [2023-05-05T06:46:26.973Z] 58f1dce35555: Download complete [2023-05-05T06:46:26.973Z] ed15518f5707: Pull complete [2023-05-05T06:46:27.950Z] 2ced38df9373: Verifying Checksum [2023-05-05T06:46:27.950Z] 2ced38df9373: Download complete [2023-05-05T06:46:27.950Z] feae8fd75edb: Verifying Checksum [2023-05-05T06:46:27.950Z] feae8fd75edb: Download complete [2023-05-05T06:46:40.311Z] feae8fd75edb: Pull complete [2023-05-05T06:46:40.311Z] 242c74f7c9fa: Pull complete [2023-05-05T06:46:40.311Z] 3cdef696dda3: Pull complete [2023-05-05T06:46:45.671Z] 2ced38df9373: Pull complete [2023-05-05T06:46:48.278Z] 58f1dce35555: Pull complete [2023-05-05T06:46:48.278Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T06:46:48.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T06:46:48.278Z] ---> fadd8f120f05 [2023-05-05T06:46:48.278Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:46:50.863Z] ---> Running in 8c3790fd5c4c [2023-05-05T06:46:50.863Z] Removing intermediate container 8c3790fd5c4c [2023-05-05T06:46:50.863Z] ---> 2ebbf8972836 [2023-05-05T06:46:50.863Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:46:50.863Z] ---> Running in 1cd28a2f061b [2023-05-05T06:46:51.133Z] Removing intermediate container 1cd28a2f061b [2023-05-05T06:46:51.133Z] ---> dd5a348f118a [2023-05-05T06:46:51.133Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:46:51.133Z] ---> Running in 3b213a61aa06 [2023-05-05T06:46:51.408Z] Removing intermediate container 3b213a61aa06 [2023-05-05T06:46:51.408Z] ---> a1e860e38651 [2023-05-05T06:46:51.408Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:46:51.685Z] ---> Running in 3199c4521b25 [2023-05-05T06:46:51.961Z] Removing intermediate container 3199c4521b25 [2023-05-05T06:46:51.961Z] ---> 1f17d0ba188f [2023-05-05T06:46:51.961Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:46:51.961Z] ---> Running in c4812ac028ed [2023-05-05T06:46:53.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:46:53.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:46:55.066Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:46:55.066Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T06:46:55.066Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:46:55.066Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:46:55.066Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:46:55.066Z] OK: 268 MiB in 57 packages [2023-05-05T06:46:57.663Z] Removing intermediate container c4812ac028ed [2023-05-05T06:46:57.663Z] ---> d58525bb4ce9 [2023-05-05T06:46:57.663Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-05T06:46:57.933Z] ---> Running in 9c24effc10d4 [2023-05-05T06:46:58.206Z] Removing intermediate container 9c24effc10d4 [2023-05-05T06:46:58.206Z] ---> 0d406e117244 [2023-05-05T06:46:58.206Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T06:46:58.794Z] ---> af6eabaebb88 [2023-05-05T06:46:58.794Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:46:58.794Z] ---> Running in cef0b0675d5c [2023-05-05T06:48:06.719Z] Removing intermediate container cef0b0675d5c [2023-05-05T06:48:06.719Z] ---> bd37e24bb750 [2023-05-05T06:48:06.719Z] Step 11/12 : COPY . . [2023-05-05T06:48:06.719Z] ---> b41f6707f12d [2023-05-05T06:48:06.719Z] Step 12/12 : RUN ${MAKE} [2023-05-05T06:48:06.719Z] ---> Running in 414760036c71 [2023-05-05T06:48:06.719Z] noop [2023-05-05T06:48:06.719Z] Removing intermediate container 414760036c71 [2023-05-05T06:48:06.719Z] ---> 61c1b25efa9b [2023-05-05T06:48:06.719Z] Successfully built 61c1b25efa9b [2023-05-05T06:48:06.719Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:48:07.077Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:48:07.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:48:07.323Z] prd-ubuntu20.04-docker-arm64-4c-16g-13864 does not seem to be running inside a container [2023-05-05T06:48:07.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/76 -v /w/workspace/device-snmp-go/76:/w/workspace/device-snmp-go/76:rw,z -v /w/workspace/device-snmp-go/76@tmp:/w/workspace/device-snmp-go/76@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-05-05T06:48:08.695Z] $ docker top e8078541a3fd7b81e6fa78b3825f738f7fb332168425bff3d19bf663412bca82 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:48:09.568Z] + go version [2023-05-05T06:48:09.568Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T06:48:09.590Z] $ docker stop --time=1 e8078541a3fd7b81e6fa78b3825f738f7fb332168425bff3d19bf663412bca82 [2023-05-05T06:48:11.226Z] $ docker rm -f --volumes e8078541a3fd7b81e6fa78b3825f738f7fb332168425bff3d19bf663412bca82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:48:11.790Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:48:11.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:48:11.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-13864 does not seem to be running inside a container [2023-05-05T06:48:12.053Z] $ 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/76 -v /w/workspace/device-snmp-go/76:/w/workspace/device-snmp-go/76:rw,z -v /w/workspace/device-snmp-go/76@tmp:/w/workspace/device-snmp-go/76@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-05-05T06:48:13.289Z] $ docker top 56b76f15abb298360477ff333998e03981c580baf47802d14847335620fa09bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:48:14.159Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/76 [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:48:14.810Z] + make test [2023-05-05T06:48:14.810Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:48:53.715Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-05T06:51:15.475Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-05T06:51:15.475Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2023-05-05T06:51:15.475Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-05T06:51:15.475Z] go vet ./... [2023-05-05T06:51:33.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:51:33.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:51:33.741Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:51:33.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:51:33.779Z] $ docker stop --time=1 56b76f15abb298360477ff333998e03981c580baf47802d14847335620fa09bd [2023-05-05T06:51:35.676Z] $ docker rm -f --volumes 56b76f15abb298360477ff333998e03981c580baf47802d14847335620fa09bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:51:36.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:51:36.836Z] Warning: overwriting stash ‘coverage-report’ [2023-05-05T06:51:37.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:51:37.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:51:38.038Z] + ls -al . [2023-05-05T06:51:38.038Z] total 168 [2023-05-05T06:51:38.038Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:48 . [2023-05-05T06:51:38.038Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:45 .. [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 6 May 5 06:46 .dockerignore [2023-05-05T06:51:38.038Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:46 .git [2023-05-05T06:51:38.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:46 .github [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 328 May 5 06:46 .gitignore [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:46 .golangci.yml [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 5 06:46 Attribution.txt [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 5 06:46 CHANGELOG.md [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 5 06:46 Dockerfile [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:46 GOVERNANCE.md [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 656 May 5 06:46 Jenkinsfile [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:46 LICENSE [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 5 06:46 Makefile [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:46 OWNERS.md [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 5 06:46 README.md [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:43 VERSION [2023-05-05T06:51:38.038Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:46 bin [2023-05-05T06:51:38.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:46 cmd [2023-05-05T06:51:38.038Z] -rw-r--r-- 1 jenkins jenkins 8837 May 5 06:51 coverage.out [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 5 06:46 go.mod [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 5 06:46 go.sum [2023-05-05T06:51:38.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:46 internal [2023-05-05T06:51:38.038Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:46 snap [2023-05-05T06:51:38.038Z] -rw-rw-r-- 1 jenkins jenkins 228 May 5 06:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:51:38.382Z] + 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=99a3003bf1ce8196f615f02073f77889c060ae6d --label arch=arm64 --label version=3.0.0-dev.19 . [2023-05-05T06:51:38.651Z] Sending build context to Docker daemon 3.012MB [2023-05-05T06:51:38.651Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:51:38.651Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-05T06:51:38.651Z] ---> 61c1b25efa9b [2023-05-05T06:51:38.651Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:51:40.607Z] ---> Running in 8f533ff8107f [2023-05-05T06:51:41.197Z] Removing intermediate container 8f533ff8107f [2023-05-05T06:51:41.197Z] ---> 450d5e12d60b [2023-05-05T06:51:41.197Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:51:41.197Z] ---> Running in 479111a2ce07 [2023-05-05T06:51:41.467Z] Removing intermediate container 479111a2ce07 [2023-05-05T06:51:41.467Z] ---> 82beda5563dd [2023-05-05T06:51:41.467Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:51:41.467Z] ---> Running in 11a43cd67037 [2023-05-05T06:51:41.737Z] Removing intermediate container 11a43cd67037 [2023-05-05T06:51:41.737Z] ---> 7d3cb192ffd2 [2023-05-05T06:51:41.737Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:51:42.009Z] ---> Running in 13f971d4475f [2023-05-05T06:51:42.278Z] Removing intermediate container 13f971d4475f [2023-05-05T06:51:42.278Z] ---> e423ed2895f3 [2023-05-05T06:51:42.278Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:51:42.278Z] ---> Running in de5c03cc825f [2023-05-05T06:51:43.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:51:44.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:51:45.186Z] OK: 268 MiB in 57 packages [2023-05-05T06:51:46.157Z] Removing intermediate container de5c03cc825f [2023-05-05T06:51:46.157Z] ---> 8fa1970afe4f [2023-05-05T06:51:46.157Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-05T06:51:46.157Z] ---> Running in 9ff52f18c18e [2023-05-05T06:51:46.745Z] Removing intermediate container 9ff52f18c18e [2023-05-05T06:51:46.745Z] ---> 34d64f911f70 [2023-05-05T06:51:46.745Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-05T06:51:47.028Z] ---> af3dc81454a2 [2023-05-05T06:51:47.028Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:51:47.300Z] ---> Running in 0496b852e4a8 [2023-05-05T06:51:49.895Z] Removing intermediate container 0496b852e4a8 [2023-05-05T06:51:49.895Z] ---> 800bcf9757cb [2023-05-05T06:51:49.895Z] Step 11/24 : COPY . . [2023-05-05T06:51:50.860Z] ---> 3d138c97d5be [2023-05-05T06:51:50.860Z] Step 12/24 : RUN ${MAKE} [2023-05-05T06:51:50.860Z] ---> Running in 5269c7953cd1 [2023-05-05T06:51:51.826Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-05T06:54:28.585Z] Removing intermediate container 5269c7953cd1 [2023-05-05T06:54:28.585Z] ---> 28a61ee1d0aa [2023-05-05T06:54:28.585Z] Step 13/24 : FROM alpine:3.17 [2023-05-05T06:54:28.585Z] 3.17: Pulling from library/alpine [2023-05-05T06:54:28.585Z] c41833b44d91: Already exists [2023-05-05T06:54:28.585Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:54:28.585Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:54:28.585Z] ---> 51e60588ff2c [2023-05-05T06:54:28.585Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:54:28.585Z] ---> Running in 0a787c49db88 [2023-05-05T06:54:28.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:54:28.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:54:28.585Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:54:28.585Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:54:28.585Z] OK: 8 MiB in 16 packages [2023-05-05T06:54:28.585Z] Removing intermediate container 0a787c49db88 [2023-05-05T06:54:28.585Z] ---> 332e268ff451 [2023-05-05T06:54:28.585Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-05T06:54:28.585Z] ---> fb6128ca5fe2 [2023-05-05T06:54:28.585Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-05T06:54:28.585Z] ---> 86ac5286c32a [2023-05-05T06:54:28.585Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-05T06:54:28.585Z] ---> 2c95aee445b0 [2023-05-05T06:54:28.585Z] Step 18/24 : EXPOSE 59993 [2023-05-05T06:54:28.585Z] ---> Running in e65080d4e542 [2023-05-05T06:54:28.585Z] Removing intermediate container e65080d4e542 [2023-05-05T06:54:28.585Z] ---> 83166a6cee9d [2023-05-05T06:54:28.585Z] Step 19/24 : EXPOSE 161 [2023-05-05T06:54:28.586Z] ---> Running in 4356edc11392 [2023-05-05T06:54:28.586Z] Removing intermediate container 4356edc11392 [2023-05-05T06:54:28.586Z] ---> a5f2801389a7 [2023-05-05T06:54:28.586Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-05T06:54:28.586Z] ---> Running in 1fcbeba35234 [2023-05-05T06:54:28.586Z] Removing intermediate container 1fcbeba35234 [2023-05-05T06:54:28.586Z] ---> 523819a0acff [2023-05-05T06:54:28.586Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T06:54:28.586Z] ---> Running in 717f206fe42a [2023-05-05T06:54:28.586Z] Removing intermediate container 717f206fe42a [2023-05-05T06:54:28.586Z] ---> 65829d652551 [2023-05-05T06:54:28.586Z] Step 22/24 : LABEL arch=arm64 [2023-05-05T06:54:28.586Z] ---> Running in 0ec0430890fe [2023-05-05T06:54:28.586Z] Removing intermediate container 0ec0430890fe [2023-05-05T06:54:28.586Z] ---> 4f05e2e02871 [2023-05-05T06:54:28.586Z] Step 23/24 : LABEL git_sha=99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:54:28.586Z] ---> Running in 3426008a0c27 [2023-05-05T06:54:28.586Z] Removing intermediate container 3426008a0c27 [2023-05-05T06:54:28.586Z] ---> 2920bfedf33c [2023-05-05T06:54:28.586Z] Step 24/24 : LABEL version=3.0.0-dev.19 [2023-05-05T06:54:28.586Z] ---> Running in 64eb6bbd8f33 [2023-05-05T06:54:28.586Z] Removing intermediate container 64eb6bbd8f33 [2023-05-05T06:54:28.586Z] ---> c8f31eefcda4 [2023-05-05T06:54:28.586Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:54:28.586Z] Successfully built c8f31eefcda4 [2023-05-05T06:54:28.586Z] 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-05-05T06:54:28.709Z] provisioning config files... [2023-05-05T06:54:28.724Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/76@tmp/config7825989355574714359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:54:29.062Z] ---> docker-login.sh [2023-05-05T06:54:29.062Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:54:29.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:54:29.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:54:29.331Z] Configure a credential helper to remove this warning. See [2023-05-05T06:54:29.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:54:29.331Z] [2023-05-05T06:54:29.331Z] Login Succeeded [2023-05-05T06:54:29.331Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:54:29.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:54:29.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:54:29.870Z] Configure a credential helper to remove this warning. See [2023-05-05T06:54:29.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:54:29.870Z] [2023-05-05T06:54:29.870Z] Login Succeeded [2023-05-05T06:54:29.870Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:54:30.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:54:30.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:54:30.139Z] Configure a credential helper to remove this warning. See [2023-05-05T06:54:30.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:54:30.139Z] [2023-05-05T06:54:30.139Z] Login Succeeded [2023-05-05T06:54:30.139Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:54:30.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:54:30.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:54:30.680Z] Configure a credential helper to remove this warning. See [2023-05-05T06:54:30.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:54:30.680Z] [2023-05-05T06:54:30.680Z] Login Succeeded [2023-05-05T06:54:30.680Z] docker.io [2023-05-05T06:54:30.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:54:31.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:54:31.218Z] Configure a credential helper to remove this warning. See [2023-05-05T06:54:31.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:54:31.218Z] [2023-05-05T06:54:31.218Z] Login Succeeded [2023-05-05T06:54:31.218Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:54:31.232Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:54:31.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:54:31.275Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-05T06:54:31.275Z] 99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:54:31.275Z] latest [2023-05-05T06:54:31.275Z] 3.0.0-dev.19 [2023-05-05T06:54:31.275Z] 99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [2023-05-05T06:54:31.275Z] main [2023-05-05T06:54:31.275Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:31.617Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:31.964Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:54:31.964Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:54:31.964Z] 9d4ba6590aa2: Preparing [2023-05-05T06:54:31.964Z] 6409e1260283: Preparing [2023-05-05T06:54:31.964Z] c89d23a95631: Preparing [2023-05-05T06:54:31.964Z] 1d879723b66b: Preparing [2023-05-05T06:54:31.964Z] 26cbea5cba74: Preparing [2023-05-05T06:54:31.964Z] 26cbea5cba74: Layer already exists [2023-05-05T06:54:32.232Z] 6409e1260283: Pushed [2023-05-05T06:54:32.232Z] 1d879723b66b: Pushed [2023-05-05T06:54:32.232Z] 9d4ba6590aa2: Pushed [2023-05-05T06:54:38.895Z] c89d23a95631: Pushed [2023-05-05T06:54:38.895Z] 99a3003bf1ce8196f615f02073f77889c060ae6d: digest: sha256:29439400646457e65384f1ca5b304932347f0a021dcfb1bd8af7cc26c0fb24ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:39.246Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:39.580Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-05T06:54:39.580Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:54:39.580Z] 9d4ba6590aa2: Preparing [2023-05-05T06:54:39.580Z] 6409e1260283: Preparing [2023-05-05T06:54:39.580Z] c89d23a95631: Preparing [2023-05-05T06:54:39.580Z] 1d879723b66b: Preparing [2023-05-05T06:54:39.580Z] 26cbea5cba74: Preparing [2023-05-05T06:54:39.580Z] 1d879723b66b: Layer already exists [2023-05-05T06:54:39.580Z] 9d4ba6590aa2: Layer already exists [2023-05-05T06:54:39.580Z] c89d23a95631: Layer already exists [2023-05-05T06:54:39.580Z] 26cbea5cba74: Layer already exists [2023-05-05T06:54:39.580Z] 6409e1260283: Layer already exists [2023-05-05T06:54:39.849Z] latest: digest: sha256:29439400646457e65384f1ca5b304932347f0a021dcfb1bd8af7cc26c0fb24ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:40.198Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:40.543Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.19 [2023-05-05T06:54:40.543Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:54:40.543Z] 9d4ba6590aa2: Preparing [2023-05-05T06:54:40.543Z] 6409e1260283: Preparing [2023-05-05T06:54:40.543Z] c89d23a95631: Preparing [2023-05-05T06:54:40.543Z] 1d879723b66b: Preparing [2023-05-05T06:54:40.543Z] 26cbea5cba74: Preparing [2023-05-05T06:54:40.543Z] c89d23a95631: Layer already exists [2023-05-05T06:54:40.543Z] 6409e1260283: Layer already exists [2023-05-05T06:54:40.543Z] 9d4ba6590aa2: Layer already exists [2023-05-05T06:54:40.543Z] 1d879723b66b: Layer already exists [2023-05-05T06:54:40.543Z] 26cbea5cba74: Layer already exists [2023-05-05T06:54:40.543Z] 3.0.0-dev.19: digest: sha256:29439400646457e65384f1ca5b304932347f0a021dcfb1bd8af7cc26c0fb24ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:40.894Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:41.250Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [2023-05-05T06:54:41.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:54:41.250Z] 9d4ba6590aa2: Preparing [2023-05-05T06:54:41.250Z] 6409e1260283: Preparing [2023-05-05T06:54:41.250Z] c89d23a95631: Preparing [2023-05-05T06:54:41.250Z] 1d879723b66b: Preparing [2023-05-05T06:54:41.250Z] 26cbea5cba74: Preparing [2023-05-05T06:54:41.250Z] 9d4ba6590aa2: Layer already exists [2023-05-05T06:54:41.250Z] 26cbea5cba74: Layer already exists [2023-05-05T06:54:41.251Z] 6409e1260283: Layer already exists [2023-05-05T06:54:41.251Z] c89d23a95631: Layer already exists [2023-05-05T06:54:41.251Z] 1d879723b66b: Layer already exists [2023-05-05T06:54:41.251Z] 99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19: digest: sha256:29439400646457e65384f1ca5b304932347f0a021dcfb1bd8af7cc26c0fb24ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:41.888Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:42.236Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-05T06:54:42.236Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:54:42.236Z] 9d4ba6590aa2: Preparing [2023-05-05T06:54:42.236Z] 6409e1260283: Preparing [2023-05-05T06:54:42.236Z] c89d23a95631: Preparing [2023-05-05T06:54:42.236Z] 1d879723b66b: Preparing [2023-05-05T06:54:42.236Z] 26cbea5cba74: Preparing [2023-05-05T06:54:42.236Z] 1d879723b66b: Layer already exists [2023-05-05T06:54:42.236Z] 9d4ba6590aa2: Layer already exists [2023-05-05T06:54:42.236Z] 26cbea5cba74: Layer already exists [2023-05-05T06:54:42.236Z] 6409e1260283: Layer already exists [2023-05-05T06:54:42.236Z] c89d23a95631: Layer already exists [2023-05-05T06:54:42.236Z] main: digest: sha256:29439400646457e65384f1ca5b304932347f0a021dcfb1bd8af7cc26c0fb24ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:54:42.560Z] ===================================================== [Pipeline] echo [2023-05-05T06:54:42.567Z] taggedImages: [2023-05-05T06:54:42.567Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:99a3003bf1ce8196f615f02073f77889c060ae6d [2023-05-05T06:54:42.567Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-05T06:54:42.567Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.19 [2023-05-05T06:54:42.567Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:99a3003bf1ce8196f615f02073f77889c060ae6d-3.0.0-dev.19 [2023-05-05T06:54:42.567Z] - 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-05-05T06:54:42.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:54:42.968Z] [2023-05-05T06:54:42.968Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:54:43.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:54:43.603Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T06:54:43.603Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T06:54:43.603Z] 04944245beec: Pulling fs layer [2023-05-05T06:54:43.603Z] 699f458cf7ca: Pulling fs layer [2023-05-05T06:54:43.603Z] 765212b225bb: Pulling fs layer [2023-05-05T06:54:43.603Z] f23df028b6ca: Pulling fs layer [2023-05-05T06:54:43.603Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T06:54:43.603Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T06:54:43.603Z] 765212b225bb: Waiting [2023-05-05T06:54:43.603Z] d65c8cfc05b1: Waiting [2023-05-05T06:54:43.603Z] 2437ff75d9bd: Waiting [2023-05-05T06:54:43.603Z] f23df028b6ca: Waiting [2023-05-05T06:54:43.603Z] 04944245beec: Verifying Checksum [2023-05-05T06:54:43.603Z] 04944245beec: Download complete [2023-05-05T06:54:43.603Z] 765212b225bb: Verifying Checksum [2023-05-05T06:54:43.603Z] 765212b225bb: Download complete [2023-05-05T06:54:43.603Z] f23df028b6ca: Verifying Checksum [2023-05-05T06:54:43.603Z] f23df028b6ca: Download complete [2023-05-05T06:54:43.603Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T06:54:43.603Z] d65c8cfc05b1: Download complete [2023-05-05T06:54:43.896Z] 699f458cf7ca: Verifying Checksum [2023-05-05T06:54:43.896Z] 699f458cf7ca: Download complete [2023-05-05T06:54:44.185Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T06:54:44.185Z] 8998bd30e6a1: Download complete [2023-05-05T06:54:46.803Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T06:54:46.804Z] 2437ff75d9bd: Download complete [2023-05-05T06:54:50.154Z] 8998bd30e6a1: Pull complete [2023-05-05T06:54:50.155Z] 04944245beec: Pull complete [2023-05-05T06:54:51.568Z] 699f458cf7ca: Pull complete [2023-05-05T06:54:51.838Z] 765212b225bb: Pull complete [2023-05-05T06:54:52.801Z] f23df028b6ca: Pull complete [2023-05-05T06:54:53.071Z] d65c8cfc05b1: Pull complete [2023-05-05T06:55:08.097Z] 2437ff75d9bd: Pull complete [2023-05-05T06:55:08.097Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T06:55:08.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:55:08.097Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:55:08.319Z] prd-ubuntu20.04-docker-arm64-4c-16g-13864 does not seem to be running inside a container [2023-05-05T06:55:08.395Z] $ 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/76 -v /w/workspace/device-snmp-go/76:/w/workspace/device-snmp-go/76:rw,z -v /w/workspace/device-snmp-go/76@tmp:/w/workspace/device-snmp-go/76@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-05-05T06:55:11.356Z] $ docker top 8928d75d9a84f7edaeb06e5ad76f960a3b9e6e9498ed887ac69cfd738caf4380 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:55:12.309Z] ---> job-cost.sh [2023-05-05T06:55:12.309Z] lf-activate-venv: SKIPPING [2023-05-05T06:55:12.309Z] INFO: No Stack... [2023-05-05T06:55:12.626Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T06:55:13.592Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:55:14.240Z] + cat /w/workspace/device-snmp-go/76/archives/cost.csv [2023-05-05T06:55:14.241Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T06:55:14.324Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] [2023-05-05T06:55:14.334Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] did not exist. Created. [2023-05-05T06:55:14.334Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:55:15.025Z] /w/workspace/device-snmp-go/76@tmp/durable-b34657bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T06:55:15.690Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T06:55:15.708Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T06:55:15.761Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:55:15.768Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:55:15.787Z] $ docker stop --time=1 8928d75d9a84f7edaeb06e5ad76f960a3b9e6e9498ed887ac69cfd738caf4380 [2023-05-05T06:55:17.335Z] $ docker rm -f --volumes 8928d75d9a84f7edaeb06e5ad76f960a3b9e6e9498ed887ac69cfd738caf4380 [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-05-05T06:55:17.797Z] provisioning config files... [2023-05-05T06:55:17.804Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8144816074598447582tmp [Pipeline] { [Pipeline] sh [2023-05-05T06:55:18.101Z] + set +x [2023-05-05T06:55:18.102Z] + curl -s https://codecov.io/bash [2023-05-05T06:55:18.102Z] + bash -s -- [2023-05-05T06:55:18.102Z] [2023-05-05T06:55:18.102Z] _____ _ [2023-05-05T06:55:18.102Z] / ____| | | [2023-05-05T06:55:18.102Z] | | ___ __| | ___ ___ _____ __ [2023-05-05T06:55:18.102Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-05T06:55:18.102Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-05T06:55:18.102Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-05T06:55:18.102Z] Bash-1.0.6 [2023-05-05T06:55:18.102Z] [2023-05-05T06:55:18.102Z] [2023-05-05T06:55:18.102Z] ==> git version 2.25.1 found [2023-05-05T06:55:18.102Z] ==> 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-05-05T06:55:18.102Z] Release-Date: 2020-01-08 [2023-05-05T06:55:18.102Z] 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-05-05T06:55:18.102Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-05T06:55:18.102Z] ==> Jenkins CI detected. [2023-05-05T06:55:18.102Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-05T06:55:18.102Z] project root: . [2023-05-05T06:55:18.102Z] --> token set from env [2023-05-05T06:55:18.102Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-05T06:55:18.102Z] ==> Running gcov in . (disable via -X gcov) [2023-05-05T06:55:18.102Z] ==> Python coveragepy not found [2023-05-05T06:55:18.102Z] ==> Searching for coverage reports in: [2023-05-05T06:55:18.102Z] + . [2023-05-05T06:55:18.102Z] -> Found 1 reports [2023-05-05T06:55:18.102Z] ==> Detecting git/mercurial file structure [2023-05-05T06:55:18.102Z] ==> Reading reports [2023-05-05T06:55:18.102Z] + ./coverage.out bytes=8837 [2023-05-05T06:55:18.102Z] ==> Appending adjustments [2023-05-05T06:55:18.102Z] https://docs.codecov.io/docs/fixing-reports [2023-05-05T06:55:18.362Z] + Found adjustments [2023-05-05T06:55:18.362Z] ==> Gzipping contents [2023-05-05T06:55:18.362Z] 4.0K /tmp/codecov.dwW7p6.gz [2023-05-05T06:55:18.362Z] ==> Uploading reports [2023-05-05T06:55:18.362Z] url: https://codecov.io [2023-05-05T06:55:18.362Z] query: branch=main&commit=99a3003bf1ce8196f615f02073f77889c060ae6d&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:55:18.362Z] -> Pinging Codecov [2023-05-05T06:55:18.362Z] 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=99a3003bf1ce8196f615f02073f77889c060ae6d&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:55:18.362Z] -> Uploading to [2023-05-05T06:55:18.362Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-05/6C56EA5C29638FB4528AC87E60AF5AE0/99a3003bf1ce8196f615f02073f77889c060ae6d/3e5e566f-ec50-41f8-bfeb-508d4dce5434.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T065518Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c25539371202517a3082da5f460a759a29541d8b4242c70440fb4920bab4b85 [2023-05-05T06:55:18.362Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:55:18.362Z] Dload Upload Total Spent Left Speed [2023-05-05T06:55:18.621Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7257 --:--:-- --:--:-- --:--:-- 7225 100 1604 0 0 100 1604 0 6825 --:--:-- --:--:-- --:--:-- 6796 [2023-05-05T06:55:18.621Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] } [2023-05-05T06:55:18.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-05T06:55:18.842Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-05T06:55:18.856Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:55:19.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:55:19.147Z] [2023-05-05T06:55:19.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:55:19.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:55:19.445Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-05T06:55:19.445Z] df9b9388f04a: Pulling fs layer [2023-05-05T06:55:19.445Z] 52dc419b0ee2: Pulling fs layer [2023-05-05T06:55:19.445Z] 25bc292e5bac: Pulling fs layer [2023-05-05T06:55:19.445Z] 114826534d7a: Pulling fs layer [2023-05-05T06:55:19.445Z] 4657fd5d0bcf: Pulling fs layer [2023-05-05T06:55:19.445Z] 6ad1cebc031e: Pulling fs layer [2023-05-05T06:55:19.445Z] 8a3aa393b2d8: Pulling fs layer [2023-05-05T06:55:19.445Z] 8a3aa393b2d8: Waiting [2023-05-05T06:55:19.445Z] 4657fd5d0bcf: Waiting [2023-05-05T06:55:19.445Z] 6ad1cebc031e: Waiting [2023-05-05T06:55:19.445Z] 114826534d7a: Waiting [2023-05-05T06:55:19.445Z] 25bc292e5bac: Download complete [2023-05-05T06:55:19.445Z] 52dc419b0ee2: Verifying Checksum [2023-05-05T06:55:19.445Z] 52dc419b0ee2: Download complete [2023-05-05T06:55:19.445Z] 4657fd5d0bcf: Verifying Checksum [2023-05-05T06:55:19.445Z] 4657fd5d0bcf: Download complete [2023-05-05T06:55:19.445Z] df9b9388f04a: Download complete [2023-05-05T06:55:19.704Z] 6ad1cebc031e: Verifying Checksum [2023-05-05T06:55:19.704Z] 6ad1cebc031e: Download complete [2023-05-05T06:55:19.704Z] df9b9388f04a: Pull complete [2023-05-05T06:55:19.704Z] 52dc419b0ee2: Pull complete [2023-05-05T06:55:19.704Z] 25bc292e5bac: Pull complete [2023-05-05T06:55:20.271Z] 114826534d7a: Verifying Checksum [2023-05-05T06:55:20.271Z] 114826534d7a: Download complete [2023-05-05T06:55:20.271Z] 8a3aa393b2d8: Verifying Checksum [2023-05-05T06:55:20.271Z] 8a3aa393b2d8: Download complete [2023-05-05T06:55:23.552Z] 114826534d7a: Pull complete [2023-05-05T06:55:23.552Z] 4657fd5d0bcf: Pull complete [2023-05-05T06:55:23.552Z] 6ad1cebc031e: Pull complete [2023-05-05T06:55:26.081Z] 8a3aa393b2d8: Pull complete [2023-05-05T06:55:26.081Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-05T06:55:26.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:55:26.081Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:55:26.161Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:55:26.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-05T06:55:29.154Z] $ docker top 3dbfee74688c3e7cac651cd04ead80fce4f8c653a71038696db418c233c589a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-05T06:55:29.206Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-05T06:55:29.492Z] + set -o pipefail [2023-05-05T06:55:29.492Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-05T06:55:34.764Z] [2023-05-05T06:55:34.764Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-05T06:55:34.764Z] [2023-05-05T06:55:34.764Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/6ea4b5e4-ec78-431d-be33-8705a36ef5c4 [2023-05-05T06:55:34.764Z] [2023-05-05T06:55:34.764Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-05T06:55:34.764Z] [2023-05-05T06:55:34.764Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-05T06:55:34.764Z] [2023-05-05T06:55:35.703Z] [2023-05-05T06:55:35.703Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-05T06:55:35.703Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-05T06:55:35.703Z] More details here: https://snyk.co/ue1NS [2023-05-05T06:55:35.703Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-05T06:55:35.703Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-05T06:55:35.727Z] $ docker stop --time=1 3dbfee74688c3e7cac651cd04ead80fce4f8c653a71038696db418c233c589a1 [2023-05-05T06:55:38.592Z] $ docker rm -f --volumes 3dbfee74688c3e7cac651cd04ead80fce4f8c653a71038696db418c233c589a1 [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-05-05T06:55:39.270Z] + git log --format=format:%s -1 99a3003bf1ce8196f615f02073f77889c060ae6d [Pipeline] sh [2023-05-05T06:55:39.564Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:55:39.564Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:55:39.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:55:39.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:55:39.939Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:55:39.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:55:40.386Z] $ docker top fb7d6dcb7766d0f8eea179ee4ffc8f8680631d2f6fa4f6c58cc4747ac9d29f9e -eo pid,comm [2023-05-05T06:55:40.420Z] 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-05-05T06:55:40.420Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:55:40.461Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:55:40.461Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:55:40.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:55:40.576Z] $ docker exec fb7d6dcb7766d0f8eea179ee4ffc8f8680631d2f6fa4f6c58cc4747ac9d29f9e ssh-agent [2023-05-05T06:55:40.679Z] SSH_AUTH_SOCK=/tmp/ssh-G2LXBJixA40W/agent.32 [2023-05-05T06:55:40.679Z] SSH_AGENT_PID=38 [2023-05-05T06:55:40.684Z] Running ssh-add (command line suppressed) [2023-05-05T06:55:40.789Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14038033170866204893.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14038033170866204893.key) [2023-05-05T06:55:40.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:55:41.078Z] + git semver tag [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,278 [run_tag] DEBUG tag force:False [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,278 [check_head_tag] DEBUG check head tag [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,279 [execute] INFO git cat-file --batch-check [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,283 [execute] INFO git cat-file --batch [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,299 [execute] INFO git tag -a v3.0.0-dev.19 -m v3.0.0-dev.19 [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,299 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.19', '-m', 'v3.0.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:55:41.337Z] 2023-05-05 06:55:41,306 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:55:41.337Z] 3.0.0-dev.19 [Pipeline] } [2023-05-05T06:55:41.360Z] $ docker exec --env ******** --env ******** fb7d6dcb7766d0f8eea179ee4ffc8f8680631d2f6fa4f6c58cc4747ac9d29f9e ssh-agent -k [2023-05-05T06:55:41.462Z] unset SSH_AUTH_SOCK; [2023-05-05T06:55:41.463Z] unset SSH_AGENT_PID; [2023-05-05T06:55:41.463Z] echo Agent pid 38 killed; [2023-05-05T06:55:41.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:55:41.761Z] + git semver [Pipeline] } [2023-05-05T06:55:42.047Z] $ docker stop --time=1 fb7d6dcb7766d0f8eea179ee4ffc8f8680631d2f6fa4f6c58cc4747ac9d29f9e [2023-05-05T06:55:43.314Z] $ docker rm -f --volumes fb7d6dcb7766d0f8eea179ee4ffc8f8680631d2f6fa4f6c58cc4747ac9d29f9e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:55:43.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:55:43.690Z] [2023-05-05T06:55:43.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:55:43.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:55:43.991Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-05T06:55:43.991Z] ab5ef0e58194: Pulling fs layer [2023-05-05T06:55:43.991Z] 9712f1f96733: Pulling fs layer [2023-05-05T06:55:43.991Z] 63f879dbbcfc: Pulling fs layer [2023-05-05T06:55:43.991Z] 0d9ebad4ef96: Pulling fs layer [2023-05-05T06:55:43.991Z] e9a5061849ea: Pulling fs layer [2023-05-05T06:55:43.991Z] d747dcd14b5f: Pulling fs layer [2023-05-05T06:55:43.991Z] 2de7ff778b66: Pulling fs layer [2023-05-05T06:55:43.991Z] e9a5061849ea: Waiting [2023-05-05T06:55:43.991Z] d747dcd14b5f: Waiting [2023-05-05T06:55:43.991Z] 0d9ebad4ef96: Waiting [2023-05-05T06:55:43.991Z] 2de7ff778b66: Waiting [2023-05-05T06:55:43.991Z] 9712f1f96733: Verifying Checksum [2023-05-05T06:55:43.991Z] 9712f1f96733: Download complete [2023-05-05T06:55:44.250Z] 63f879dbbcfc: Verifying Checksum [2023-05-05T06:55:44.250Z] 63f879dbbcfc: Download complete [2023-05-05T06:55:44.508Z] 0d9ebad4ef96: Verifying Checksum [2023-05-05T06:55:44.508Z] 0d9ebad4ef96: Download complete [2023-05-05T06:55:44.508Z] e9a5061849ea: Verifying Checksum [2023-05-05T06:55:44.508Z] e9a5061849ea: Download complete [2023-05-05T06:55:44.508Z] ab5ef0e58194: Verifying Checksum [2023-05-05T06:55:44.508Z] ab5ef0e58194: Download complete [2023-05-05T06:55:44.508Z] 2de7ff778b66: Verifying Checksum [2023-05-05T06:55:44.508Z] 2de7ff778b66: Download complete [2023-05-05T06:55:47.036Z] ab5ef0e58194: Pull complete [2023-05-05T06:55:47.036Z] 9712f1f96733: Pull complete [2023-05-05T06:55:47.974Z] 63f879dbbcfc: Pull complete [2023-05-05T06:55:51.259Z] 0d9ebad4ef96: Pull complete [2023-05-05T06:55:51.518Z] e9a5061849ea: Pull complete [2023-05-05T06:55:51.518Z] d747dcd14b5f: Pull complete [2023-05-05T06:55:52.896Z] 2de7ff778b66: Pull complete [2023-05-05T06:55:52.896Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-05T06:55:52.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:55:52.896Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:55:52.977Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:55:53.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-05T06:55:56.300Z] $ docker top 55e5a161e55e5ba18c2e3edf0744e5c3f32461049d0a02ab04ab9bcf8fea59d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:55:56.357Z] provisioning config files... [2023-05-05T06:55:56.363Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10688389058939656714tmp [2023-05-05T06:55:56.374Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17923098620363789915tmp [2023-05-05T06:55:56.383Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7867396790913361048tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:55:56.398Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:55:56.682Z] ---> sigul-configuration.sh [2023-05-05T06:55:56.682Z] gpg: directory `/root/.gnupg' created [2023-05-05T06:55:56.682Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-05T06:55:56.682Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-05T06:55:56.682Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-05T06:55:56.682Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-05T06:55:56.682Z] gpg: CAST5 encrypted data [2023-05-05T06:55:56.682Z] gpg: encrypted with 1 passphrase [2023-05-05T06:55:56.682Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-05T06:55:56.968Z] + mkdir /home/jenkins [2023-05-05T06:55:56.968Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-05T06:55:57.254Z] + 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-05-05T06:55:57.262Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:55:57.546Z] ---> sigul-install.sh [2023-05-05T06:55:57.546Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-05T06:55:57.829Z] + git tag --list [2023-05-05T06:55:57.830Z] 1.0.0 [2023-05-05T06:55:57.830Z] v0.0.0 [2023-05-05T06:55:57.830Z] v1.1.0 [2023-05-05T06:55:57.830Z] v1.1.1 [2023-05-05T06:55:57.830Z] v1.2.2 [2023-05-05T06:55:57.830Z] v1.3.0 [2023-05-05T06:55:57.830Z] v1.3.1 [2023-05-05T06:55:57.830Z] v2.0.0 [2023-05-05T06:55:57.830Z] v2.1.0 [2023-05-05T06:55:57.830Z] v2.1.1 [2023-05-05T06:55:57.830Z] v2.1.1-dev.2 [2023-05-05T06:55:57.830Z] v2.1.1-dev.3 [2023-05-05T06:55:57.830Z] v2.2.0 [2023-05-05T06:55:57.830Z] v2.2.1-dev.1 [2023-05-05T06:55:57.830Z] v2.2.1-dev.2 [2023-05-05T06:55:57.830Z] v2.2.1-dev.3 [2023-05-05T06:55:57.830Z] v2.2.1-dev.4 [2023-05-05T06:55:57.830Z] v2.2.1-dev.5 [2023-05-05T06:55:57.830Z] v2.2.1-dev.6 [2023-05-05T06:55:57.830Z] v2.2.1-dev.7 [2023-05-05T06:55:57.830Z] v2.3.0 [2023-05-05T06:55:57.830Z] v2.3.0-dev.10 [2023-05-05T06:55:57.830Z] v2.3.0-dev.11 [2023-05-05T06:55:57.830Z] v2.3.0-dev.12 [2023-05-05T06:55:57.830Z] v2.3.0-dev.13 [2023-05-05T06:55:57.830Z] v2.3.0-dev.14 [2023-05-05T06:55:57.830Z] v2.3.0-dev.15 [2023-05-05T06:55:57.830Z] v2.3.0-dev.16 [2023-05-05T06:55:57.830Z] v2.3.0-dev.17 [2023-05-05T06:55:57.830Z] v2.3.0-dev.18 [2023-05-05T06:55:57.830Z] v2.3.0-dev.19 [2023-05-05T06:55:57.830Z] v2.3.0-dev.20 [2023-05-05T06:55:57.830Z] v2.3.0-dev.21 [2023-05-05T06:55:57.830Z] v2.3.0-dev.22 [2023-05-05T06:55:57.830Z] v2.3.0-dev.23 [2023-05-05T06:55:57.830Z] v2.3.0-dev.24 [2023-05-05T06:55:57.830Z] v2.3.0-dev.7 [2023-05-05T06:55:57.830Z] v2.3.0-dev.8 [2023-05-05T06:55:57.830Z] v2.3.0-dev.9 [2023-05-05T06:55:57.830Z] v3.0.0-dev.1 [2023-05-05T06:55:57.830Z] v3.0.0-dev.10 [2023-05-05T06:55:57.830Z] v3.0.0-dev.11 [2023-05-05T06:55:57.830Z] v3.0.0-dev.12 [2023-05-05T06:55:57.830Z] v3.0.0-dev.13 [2023-05-05T06:55:57.830Z] v3.0.0-dev.14 [2023-05-05T06:55:57.830Z] v3.0.0-dev.15 [2023-05-05T06:55:57.830Z] v3.0.0-dev.16 [2023-05-05T06:55:57.830Z] v3.0.0-dev.17 [2023-05-05T06:55:57.830Z] v3.0.0-dev.18 [2023-05-05T06:55:57.830Z] v3.0.0-dev.19 [2023-05-05T06:55:57.830Z] v3.0.0-dev.2 [2023-05-05T06:55:57.830Z] v3.0.0-dev.3 [2023-05-05T06:55:57.830Z] v3.0.0-dev.4 [2023-05-05T06:55:57.830Z] v3.0.0-dev.5 [2023-05-05T06:55:57.830Z] v3.0.0-dev.6 [2023-05-05T06:55:57.830Z] v3.0.0-dev.7 [2023-05-05T06:55:57.830Z] v3.0.0-dev.8 [2023-05-05T06:55:57.830Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-05T06:55:58.118Z] + lftools sign git-tag v3.0.0-dev.19 [2023-05-05T06:55:58.688Z] Signing Git tag with Sigul... [2023-05-05T06:55:58.688Z] Signing v3.0.0-dev.19 [2023-05-05T06:57:50.166Z] ERROR: I/O error: NSPR connection reset [Pipeline] echo [2023-05-05T06:57:50.174Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:57:50.462Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-05T06:57:50.471Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-05T06:57:50.504Z] $ docker stop --time=1 55e5a161e55e5ba18c2e3edf0744e5c3f32461049d0a02ab04ab9bcf8fea59d3 [2023-05-05T06:57:51.793Z] $ docker rm -f --volumes 55e5a161e55e5ba18c2e3edf0744e5c3f32461049d0a02ab04ab9bcf8fea59d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-05T06:57:52.181Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:57:52.181Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:57:52.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:57:52.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:57:52.553Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:57:52.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:57:52.918Z] $ docker top 15ab82826dee2291c4ab60614332ecb5b49396b4767919a297c158f047ead1ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:57:52.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:57:52.988Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:57:53.102Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:57:53.121Z] $ docker exec 15ab82826dee2291c4ab60614332ecb5b49396b4767919a297c158f047ead1ba ssh-agent [2023-05-05T06:57:53.209Z] SSH_AUTH_SOCK=/tmp/ssh-RgK3ZdHWb9bF/agent.32 [2023-05-05T06:57:53.209Z] SSH_AGENT_PID=38 [2023-05-05T06:57:53.215Z] Running ssh-add (command line suppressed) [2023-05-05T06:57:53.339Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10328936422631537957.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10328936422631537957.key) [2023-05-05T06:57:53.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:57:53.624Z] + git semver bump pre [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,816 [bump_version] DEBUG bumping version:3.0.0-dev.19 on axis:pre with prefix:dev [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,816 [bump_version] DEBUG bumped version:3.0.0-dev.20 [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,816 [write_version] DEBUG write version:3.0.0-dev.20 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,816 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,819 [execute] INFO git cat-file --batch-check [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,824 [execute] INFO git cat-file --batch [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:57:53.884Z] 2023-05-05 06:57:53,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:57:53.884Z] 3.0.0-dev.20 [Pipeline] } [2023-05-05T06:57:53.910Z] $ docker exec --env ******** --env ******** 15ab82826dee2291c4ab60614332ecb5b49396b4767919a297c158f047ead1ba ssh-agent -k [2023-05-05T06:57:54.007Z] unset SSH_AUTH_SOCK; [2023-05-05T06:57:54.007Z] unset SSH_AGENT_PID; [2023-05-05T06:57:54.007Z] echo Agent pid 38 killed; [2023-05-05T06:57:54.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:57:54.301Z] + git semver [Pipeline] } [2023-05-05T06:57:54.588Z] $ docker stop --time=1 15ab82826dee2291c4ab60614332ecb5b49396b4767919a297c158f047ead1ba [2023-05-05T06:57:55.877Z] $ docker rm -f --volumes 15ab82826dee2291c4ab60614332ecb5b49396b4767919a297c158f047ead1ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:57:56.190Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:57:56.190Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:57:56.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:57:56.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:57:56.562Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:57:56.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:57:57.050Z] $ docker top 14ddc9f5a2989dbe6fd20c52a1a7585fd15d2e98894cb732d9b56b52322d39cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:57:57.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:57:57.119Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:57:57.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:57:57.247Z] $ docker exec 14ddc9f5a2989dbe6fd20c52a1a7585fd15d2e98894cb732d9b56b52322d39cf ssh-agent [2023-05-05T06:57:57.323Z] SSH_AUTH_SOCK=/tmp/ssh-K8n6BR1KpJ6V/agent.32 [2023-05-05T06:57:57.323Z] SSH_AGENT_PID=38 [2023-05-05T06:57:57.327Z] Running ssh-add (command line suppressed) [2023-05-05T06:57:57.439Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6142256864600548325.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6142256864600548325.key) [2023-05-05T06:57:57.447Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:57:57.732Z] + git semver push [2023-05-05T06:57:57.991Z] 2023-05-05 06:57:57,919 [run_push] DEBUG push [2023-05-05T06:57:57.991Z] 2023-05-05 06:57:57,920 [execute] INFO git cat-file --batch-check [2023-05-05T06:57:57.991Z] 2023-05-05 06:57:57,920 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:57:57.991Z] 2023-05-05 06:57:57,924 [execute] INFO git rev-list 24fcb04aca60c82e3c3882e825f8b8850735ec27 -- [2023-05-05T06:57:57.992Z] 2023-05-05 06:57:57,924 [execute] DEBUG Popen(['git', 'rev-list', '24fcb04aca60c82e3c3882e825f8b8850735ec27', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:57:57.992Z] 2023-05-05 06:57:57,931 [execute] INFO git fetch -v origin [2023-05-05T06:57:57.992Z] 2023-05-05 06:57:57,931 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-05T06:57:58.560Z] 2023-05-05 06:57:58,400 [run_push] DEBUG no remote changes detected [2023-05-05T06:57:58.560Z] 2023-05-05 06:57:58,401 [execute] INFO git push origin semver [2023-05-05T06:57:58.560Z] 2023-05-05 06:57:58,401 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:57:59.128Z] 2023-05-05 06:57:59,127 [run_push] DEBUG push all version tags [2023-05-05T06:57:59.128Z] 2023-05-05 06:57:59,128 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-05T06:57:59.128Z] 2023-05-05 06:57:59,128 [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-05-05T06:58:00.065Z] 2023-05-05 06:57:59,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:58:00.065Z] 3.0.0-dev.20 [Pipeline] } [2023-05-05T06:58:00.089Z] $ docker exec --env ******** --env ******** 14ddc9f5a2989dbe6fd20c52a1a7585fd15d2e98894cb732d9b56b52322d39cf ssh-agent -k [2023-05-05T06:58:00.198Z] unset SSH_AUTH_SOCK; [2023-05-05T06:58:00.199Z] unset SSH_AGENT_PID; [2023-05-05T06:58:00.199Z] echo Agent pid 38 killed; [2023-05-05T06:58:00.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:58:00.488Z] + git semver [Pipeline] } [2023-05-05T06:58:00.775Z] $ docker stop --time=1 14ddc9f5a2989dbe6fd20c52a1a7585fd15d2e98894cb732d9b56b52322d39cf [2023-05-05T06:58:02.034Z] $ docker rm -f --volumes 14ddc9f5a2989dbe6fd20c52a1a7585fd15d2e98894cb732d9b56b52322d39cf [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-05-05T06:58:02.558Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-05T06:58:02.558Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-05T06:58:02.558Z] total 16 [2023-05-05T06:58:02.558Z] drwxr-xr-x 3 root root 4096 May 5 06:44 . [2023-05-05T06:58:02.558Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:55 .. [2023-05-05T06:58:02.558Z] drwxr-xr-x 2 root root 4096 May 5 06:44 cost [2023-05-05T06:58:02.558Z] -rw-r--r-- 1 root root 85 May 5 06:44 cost.csv [2023-05-05T06:58:02.558Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-05T06:58:02.558Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-05T06:58:02.558Z] total 16 [2023-05-05T06:58:02.558Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:44 . [2023-05-05T06:58:02.558Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:55 .. [2023-05-05T06:58:02.558Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:44 cost [2023-05-05T06:58:02.558Z] -rw-r--r-- 1 jenkins jenkins 85 May 5 06:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:58:02.845Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:58:03.704Z] ---> package-listing.sh [2023-05-05T06:58:03.704Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T06:58:03.704Z] ++ facter osfamily [2023-05-05T06:58:03.963Z] + OS_FAMILY=debian [2023-05-05T06:58:03.963Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-05T06:58:03.963Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T06:58:03.963Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T06:58:03.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T06:58:03.963Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T06:58:03.963Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-05T06:58:03.963Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T06:58:03.963Z] + case "${OS_FAMILY}" in [2023-05-05T06:58:03.963Z] + dpkg -l [2023-05-05T06:58:03.963Z] + grep '^ii' [2023-05-05T06:58:03.963Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T06:58:03.963Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T06:58:03.963Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T06:58:03.963Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-05T06:58:03.963Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-05T06:58:03.963Z] + 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-05-05T06:58:03.974Z] 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-05-05T06:58:04.251Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:58:04.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:58:04.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:58:04.881Z] prd-ubuntu20.04-docker-8c-8g-13862 does not seem to be running inside a container [2023-05-05T06:58:04.923Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:58:05.123Z] $ docker top 551ee8ca5082e0541842acda7e6cd6005c64c0225756824cd1c204baa4fa307d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:58:05.450Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T06:58:05.736Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T06:58:06.022Z] + ls /var/log/sa-host [2023-05-05T06:58:06.022Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:58:06.176Z] provisioning config files... [2023-05-05T06:58:06.185Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12875025523270413840tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:58:06.197Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:58:06.481Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T06:58:06.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:58:06.832Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T06:58:06.840Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:58:07.124Z] ---> sudo-logs.sh [2023-05-05T06:58:07.124Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T06:58:07.144Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:58:07.426Z] ---> job-cost.sh [2023-05-05T06:58:07.426Z] lf-activate-venv: SKIPPING [2023-05-05T06:58:07.426Z] DEBUG: total: 0.2199999988079071 [2023-05-05T06:58:07.426Z] INFO: Retrieving Stack Cost... [2023-05-05T06:58:07.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:58:08.254Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T06:58:08.262Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:58:08.542Z] ---> logs-deploy.sh [2023-05-05T06:58:08.542Z] lf-activate-venv: SKIPPING [2023-05-05T06:58:08.542Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/76 [2023-05-05T06:58:08.542Z] INFO: archiving workspace using pattern(s): [2023-05-05T06:58:09.478Z] Archives upload complete. [2023-05-05T06:58:09.478Z] INFO: archiving logs to Nexus