Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e8a92f41847651f05b50cd748b4aa01e803b308d 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-ssh16971635299647989570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh10088967029327210059.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh5668872342429127767.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh12603574057151004708.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-ssh15617326634093583267.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4558 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 e8a92f41847651f05b50cd748b4aa01e803b308d (main) > 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 e8a92f41847651f05b50cd748b4aa01e803b308d # timeout=10 Commit message: "Merge pull request #316 from FelixTing/update-sdk" > git rev-list --no-walk 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T10:57:54.529Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T10:57:54.595Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T10:57:54.616Z] ========================================================= [2023-08-25T10:57:54.616Z] EdgeX Global Pipelines Version Info [2023-08-25T10:57:54.616Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:57:55.333Z] ------------------- [2023-08-25T10:57:55.333Z] stable info: [2023-08-25T10:57:55.333Z] ------------------- [2023-08-25T10:57:55.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T10:57:55.333Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T10:57:55.333Z] Message: update stable to v1.0.253 [2023-08-25T10:57:55.905Z] ------------------- [2023-08-25T10:57:55.905Z] experimental info: [2023-08-25T10:57:55.905Z] ------------------- [2023-08-25T10:57:55.905Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T10:57:55.905Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T10:57:55.905Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T10:57:56.070Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-08-25T10:57:56.082Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-08-25T10:57:56.099Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T10:57:56.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T10:57:56.131Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T10:57:56.143Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T10:57:56.155Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T10:57:56.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T10:57:56.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T10:57:56.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T10:57:56.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T10:57:56.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-08-25T10:57:56.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T10:57:56.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T10:57:56.275Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T10:57:56.287Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T10:57:56.303Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T10:57:56.318Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T10:57:56.327Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T10:57:56.336Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T10:57:56.344Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T10:57:56.353Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T10:57:56.362Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T10:57:56.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T10:57:56.381Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T10:57:56.390Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T10:57:56.399Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T10:57:56.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-25T10:57:56.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-25T10:57:56.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-25T10:57:56.436Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] echo [2023-08-25T10:57:56.444Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8a92f4 [Pipeline] echo [2023-08-25T10:57:56.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T10:57:56.498Z] provisioning config files... [2023-08-25T10:57:56.512Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12738571498186809156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:57:56.815Z] ---> docker-login.sh [2023-08-25T10:57:56.816Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:57:57.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:57.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:57.076Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:57.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:57.076Z] [2023-08-25T10:57:57.076Z] Login Succeeded [2023-08-25T10:57:57.076Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:57:57.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:57.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:57.076Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:57.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:57.076Z] [2023-08-25T10:57:57.076Z] Login Succeeded [2023-08-25T10:57:57.076Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:57:57.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:57.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:57.337Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:57.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:57.337Z] [2023-08-25T10:57:57.337Z] Login Succeeded [2023-08-25T10:57:57.337Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:57:57.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:57.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:57.337Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:57.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:57.337Z] [2023-08-25T10:57:57.337Z] Login Succeeded [2023-08-25T10:57:57.337Z] docker.io [2023-08-25T10:57:57.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:57.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:57.599Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:57.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:57.599Z] [2023-08-25T10:57:57.599Z] Login Succeeded [2023-08-25T10:57:57.599Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:57:57.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T10:57:57.951Z] + git rev-list -1 --merges e8a92f41847651f05b50cd748b4aa01e803b308d~1..e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] echo [2023-08-25T10:57:57.991Z] -----------> git rev-list -1 --merges e8a92f41847651f05b50cd748b4aa01e803b308d~1..e8a92f41847651f05b50cd748b4aa01e803b308d e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T10:57:57.991Z] e8a92f41847651f05b50cd748b4aa01e803b308d [false] [Pipeline] sh [2023-08-25T10:57:58.285Z] + git log --format=format:%s -1 e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] echo [2023-08-25T10:57:58.302Z] ========================================================= [2023-08-25T10:57:58.302Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T10:57:58.302Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T10:57:58.627Z] + git log --format=format:%s -1 e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] echo [2023-08-25T10:57:58.639Z] [semverPrep] GIT_COMMIT: e8a92f41847651f05b50cd748b4aa01e803b308d, Commit Message: Merge pull request #316 from FelixTing/update-sdk [Pipeline] echo [2023-08-25T10:57:58.649Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T10:57:59.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T10:57:59.008Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T10:57:59.008Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T10:57:59.008Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T10:57:59.008Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T10:57:59.008Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T10:57:59.008Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:57:59.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:57:59.364Z] [2023-08-25T10:57:59.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:57:59.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:57:59.666Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T10:57:59.666Z] b85a868b505f: Pulling fs layer [2023-08-25T10:57:59.666Z] e2be974225ed: Pulling fs layer [2023-08-25T10:57:59.666Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T10:57:59.666Z] 988bab9f4d93: Pulling fs layer [2023-08-25T10:57:59.666Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T10:57:59.666Z] eaf3925da568: Pulling fs layer [2023-08-25T10:57:59.666Z] bab4dde63d76: Pulling fs layer [2023-08-25T10:57:59.666Z] bde34c3a00c8: Pulling fs layer [2023-08-25T10:57:59.666Z] b352a97aabf1: Pulling fs layer [2023-08-25T10:57:59.666Z] 4872d77fe225: Pulling fs layer [2023-08-25T10:57:59.666Z] 5851b861e8e6: Pulling fs layer [2023-08-25T10:57:59.666Z] eaf3925da568: Waiting [2023-08-25T10:57:59.666Z] bab4dde63d76: Waiting [2023-08-25T10:57:59.666Z] bde34c3a00c8: Waiting [2023-08-25T10:57:59.666Z] b352a97aabf1: Waiting [2023-08-25T10:57:59.666Z] 988bab9f4d93: Waiting [2023-08-25T10:57:59.666Z] 1469e6f7b9e6: Waiting [2023-08-25T10:57:59.666Z] 4872d77fe225: Waiting [2023-08-25T10:57:59.666Z] 5851b861e8e6: Waiting [2023-08-25T10:57:59.666Z] e2be974225ed: Download complete [2023-08-25T10:57:59.666Z] 988bab9f4d93: Verifying Checksum [2023-08-25T10:57:59.666Z] 988bab9f4d93: Download complete [2023-08-25T10:57:59.666Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T10:57:59.666Z] 339a4e72a1f5: Download complete [2023-08-25T10:57:59.666Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T10:57:59.666Z] 1469e6f7b9e6: Download complete [2023-08-25T10:57:59.926Z] eaf3925da568: Verifying Checksum [2023-08-25T10:57:59.926Z] eaf3925da568: Download complete [2023-08-25T10:57:59.926Z] bde34c3a00c8: Verifying Checksum [2023-08-25T10:57:59.926Z] bde34c3a00c8: Download complete [2023-08-25T10:57:59.926Z] b352a97aabf1: Download complete [2023-08-25T10:57:59.926Z] 4872d77fe225: Verifying Checksum [2023-08-25T10:57:59.926Z] 4872d77fe225: Download complete [2023-08-25T10:57:59.926Z] 5851b861e8e6: Verifying Checksum [2023-08-25T10:57:59.926Z] 5851b861e8e6: Download complete [2023-08-25T10:57:59.926Z] b85a868b505f: Verifying Checksum [2023-08-25T10:57:59.926Z] b85a868b505f: Download complete [2023-08-25T10:58:00.185Z] bab4dde63d76: Download complete [2023-08-25T10:58:01.138Z] b85a868b505f: Pull complete [2023-08-25T10:58:01.400Z] e2be974225ed: Pull complete [2023-08-25T10:58:01.969Z] 339a4e72a1f5: Pull complete [2023-08-25T10:58:01.969Z] 988bab9f4d93: Pull complete [2023-08-25T10:58:02.231Z] 1469e6f7b9e6: Pull complete [2023-08-25T10:58:02.231Z] eaf3925da568: Pull complete [2023-08-25T10:58:04.138Z] bab4dde63d76: Pull complete [2023-08-25T10:58:04.396Z] bde34c3a00c8: Pull complete [2023-08-25T10:58:04.396Z] b352a97aabf1: Pull complete [2023-08-25T10:58:04.397Z] 4872d77fe225: Pull complete [2023-08-25T10:58:04.656Z] 5851b861e8e6: Pull complete [2023-08-25T10:58:04.656Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T10:58:04.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:58:04.656Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:58:04.762Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T10:58:04.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T10:58:05.982Z] $ docker top 764584bd7ed88bf0e23341b9fc9d88c89645f1029c6768cb347759adb3f57595 -eo pid,comm [2023-08-25T10:58:06.035Z] 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-08-25T10:58:06.035Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T10:58:06.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T10:58:06.075Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T10:58:06.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T10:58:06.198Z] $ docker exec 764584bd7ed88bf0e23341b9fc9d88c89645f1029c6768cb347759adb3f57595 ssh-agent [2023-08-25T10:58:06.291Z] SSH_AUTH_SOCK=/tmp/ssh-PD6LaNn78uHx/agent.33 [2023-08-25T10:58:06.291Z] SSH_AGENT_PID=39 [2023-08-25T10:58:06.298Z] Running ssh-add (command line suppressed) [2023-08-25T10:58:06.419Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15591139690530190963.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15591139690530190963.key) [2023-08-25T10:58:06.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T10:58:06.714Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T10:58:06.741Z] $ docker exec --env ******** --env ******** 764584bd7ed88bf0e23341b9fc9d88c89645f1029c6768cb347759adb3f57595 ssh-agent -k [2023-08-25T10:58:06.848Z] unset SSH_AUTH_SOCK; [2023-08-25T10:58:06.849Z] unset SSH_AGENT_PID; [2023-08-25T10:58:06.849Z] echo Agent pid 39 killed; [2023-08-25T10:58:06.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T10:58:06.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T10:58:06.881Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T10:58:06.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T10:58:07.006Z] $ docker exec 764584bd7ed88bf0e23341b9fc9d88c89645f1029c6768cb347759adb3f57595 ssh-agent [2023-08-25T10:58:07.096Z] SSH_AUTH_SOCK=/tmp/ssh-eg5zdOyMEntE/agent.72 [2023-08-25T10:58:07.096Z] SSH_AGENT_PID=78 [2023-08-25T10:58:07.101Z] Running ssh-add (command line suppressed) [2023-08-25T10:58:07.209Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5603567520406515027.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5603567520406515027.key) [2023-08-25T10:58:07.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T10:58:07.503Z] + git semver init [2023-08-25T10:58:07.764Z] 2023-08-25 10:58:07,715 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T10:58:07.764Z] 2023-08-25 10:58:07,717 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-08-25T10:58:07.764Z] 2023-08-25 10:58:07,718 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-08-25T10:58:07.764Z] 2023-08-25 10:58:07,718 [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-08-25T10:58:08.705Z] 2023-08-25 10:58:08,523 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-08-25T10:58:08.705Z] 2023-08-25 10:58:08,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-08-25T10:58:08.705Z] 2023-08-25 10:58:08,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T10:58:08.705Z] 2023-08-25 10:58:08,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T10:58:08.705Z] 3.1.0-dev.2 [Pipeline] } [2023-08-25T10:58:08.724Z] $ docker exec --env ******** --env ******** 764584bd7ed88bf0e23341b9fc9d88c89645f1029c6768cb347759adb3f57595 ssh-agent -k [2023-08-25T10:58:08.824Z] unset SSH_AUTH_SOCK; [2023-08-25T10:58:08.824Z] unset SSH_AGENT_PID; [2023-08-25T10:58:08.825Z] echo Agent pid 78 killed; [2023-08-25T10:58:08.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T10:58:09.138Z] + git semver [Pipeline] } [2023-08-25T10:58:09.420Z] $ docker stop --time=1 764584bd7ed88bf0e23341b9fc9d88c89645f1029c6768cb347759adb3f57595 [2023-08-25T10:58:10.718Z] $ docker rm -f --volumes 764584bd7ed88bf0e23341b9fc9d88c89645f1029c6768cb347759adb3f57595 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T10:58:11.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T10:58:11.286Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T10:58:11.289Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [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-08-25T10:58:11.447Z] provisioning config files... [2023-08-25T10:58:11.457Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14557916400586303532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:58:11.755Z] ---> docker-login.sh [2023-08-25T10:58:11.755Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:58:11.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:11.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:11.755Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:11.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:11.755Z] [2023-08-25T10:58:11.755Z] Login Succeeded [2023-08-25T10:58:11.755Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:58:11.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:11.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:11.755Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:11.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:11.755Z] [2023-08-25T10:58:11.755Z] Login Succeeded [2023-08-25T10:58:11.755Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:58:12.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:12.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:12.016Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:12.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:12.016Z] [2023-08-25T10:58:12.016Z] Login Succeeded [2023-08-25T10:58:12.016Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:58:12.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:12.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:12.016Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:12.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:12.016Z] [2023-08-25T10:58:12.016Z] Login Succeeded [2023-08-25T10:58:12.016Z] docker.io [2023-08-25T10:58:12.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:12.535Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:12.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:12.535Z] [2023-08-25T10:58:12.535Z] Login Succeeded [2023-08-25T10:58:12.535Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:58:12.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T10:58:12.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:58:12.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:58:12.622Z] ========================================================= [2023-08-25T10:58:12.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T10:58:12.622Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:12.937Z] + 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-08-25T10:58:12.937Z] Sending build context to Docker daemon 5.768MB [2023-08-25T10:58:12.937Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T10:58:12.937Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T10:58:12.937Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T10:58:12.937Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T10:58:12.937Z] 6911f1a30b25: Pulling fs layer [2023-08-25T10:58:12.937Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T10:58:12.937Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T10:58:12.937Z] ec0bb842ea78: Pulling fs layer [2023-08-25T10:58:12.937Z] 40a00589a448: Pulling fs layer [2023-08-25T10:58:12.937Z] 6c08303d61cc: Pulling fs layer [2023-08-25T10:58:12.937Z] 798269fcf238: Pulling fs layer [2023-08-25T10:58:12.937Z] ec0bb842ea78: Waiting [2023-08-25T10:58:12.937Z] 40a00589a448: Waiting [2023-08-25T10:58:12.937Z] 6c08303d61cc: Waiting [2023-08-25T10:58:12.937Z] 798269fcf238: Waiting [2023-08-25T10:58:12.937Z] 6863d3e3a2b1: Waiting [2023-08-25T10:58:12.937Z] 6911f1a30b25: Download complete [2023-08-25T10:58:12.937Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T10:58:12.937Z] 6863d3e3a2b1: Download complete [2023-08-25T10:58:12.937Z] ec0bb842ea78: Verifying Checksum [2023-08-25T10:58:12.937Z] ec0bb842ea78: Download complete [2023-08-25T10:58:13.201Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T10:58:13.201Z] 4db1b89c0bd1: Download complete [2023-08-25T10:58:13.201Z] 40a00589a448: Verifying Checksum [2023-08-25T10:58:13.201Z] 40a00589a448: Download complete [2023-08-25T10:58:13.201Z] 4db1b89c0bd1: Pull complete [2023-08-25T10:58:13.461Z] 6911f1a30b25: Pull complete [2023-08-25T10:58:13.722Z] 798269fcf238: Verifying Checksum [2023-08-25T10:58:13.722Z] 798269fcf238: Download complete [2023-08-25T10:58:13.984Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T10:58:13.984Z] e194b8c5c2a9: Download complete [2023-08-25T10:58:13.984Z] 6c08303d61cc: Verifying Checksum [2023-08-25T10:58:13.984Z] 6c08303d61cc: Download complete [2023-08-25T10:58:17.296Z] e194b8c5c2a9: Pull complete [2023-08-25T10:58:17.296Z] 6863d3e3a2b1: Pull complete [2023-08-25T10:58:17.556Z] ec0bb842ea78: Pull complete [2023-08-25T10:58:17.556Z] 40a00589a448: Pull complete [2023-08-25T10:58:20.091Z] 6c08303d61cc: Pull complete [2023-08-25T10:58:21.026Z] 798269fcf238: Pull complete [2023-08-25T10:58:21.026Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T10:58:21.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T10:58:21.026Z] ---> ec979cd7f677 [2023-08-25T10:58:21.026Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T10:58:22.939Z] ---> Running in 166933ef65a2 [2023-08-25T10:58:22.939Z] Removing intermediate container 166933ef65a2 [2023-08-25T10:58:22.939Z] ---> 5389d07bacf3 [2023-08-25T10:58:22.939Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T10:58:22.939Z] ---> Running in 20f2823a856e [2023-08-25T10:58:22.939Z] Removing intermediate container 20f2823a856e [2023-08-25T10:58:22.939Z] ---> 4851631883a4 [2023-08-25T10:58:22.939Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T10:58:22.939Z] ---> Running in 60b59878bd7e [2023-08-25T10:58:22.939Z] Removing intermediate container 60b59878bd7e [2023-08-25T10:58:22.939Z] ---> 3665f0a046b0 [2023-08-25T10:58:22.939Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T10:58:22.939Z] ---> Running in 63c29f09c06c [2023-08-25T10:58:23.199Z] Removing intermediate container 63c29f09c06c [2023-08-25T10:58:23.199Z] ---> f5894c157073 [2023-08-25T10:58:23.199Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T10:58:23.199Z] ---> Running in a34488096bc6 [2023-08-25T10:58:23.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T10:58:23.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T10:58:23.978Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T10:58:23.978Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T10:58:23.978Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T10:58:23.978Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T10:58:23.978Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T10:58:23.978Z] OK: 269 MiB in 57 packages [2023-08-25T10:58:24.546Z] Removing intermediate container a34488096bc6 [2023-08-25T10:58:24.546Z] ---> 019d9b707f98 [2023-08-25T10:58:24.546Z] Step 8/12 : WORKDIR /device-snmp-go [2023-08-25T10:58:24.546Z] ---> Running in b37910459ccf [2023-08-25T10:58:24.546Z] Removing intermediate container b37910459ccf [2023-08-25T10:58:24.546Z] ---> de1a273624c3 [2023-08-25T10:58:24.546Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T10:58:24.546Z] ---> cbb74dd8a79f [2023-08-25T10:58:24.546Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T10:58:24.546Z] ---> Running in 156b9f697ef1 [2023-08-25T10:58:26.397Z] Still waiting to schedule task [2023-08-25T10:58:26.397Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4560’ is offline [2023-08-25T10:58:46.486Z] Removing intermediate container 156b9f697ef1 [2023-08-25T10:58:46.486Z] ---> 4d8b4a9a53cd [2023-08-25T10:58:46.486Z] Step 11/12 : COPY . . [2023-08-25T10:58:46.486Z] ---> 2ecd28ef2f1e [2023-08-25T10:58:46.486Z] Step 12/12 : RUN ${MAKE} [2023-08-25T10:58:46.486Z] ---> Running in 7c1542776b10 [2023-08-25T10:58:46.486Z] noop [2023-08-25T10:58:46.486Z] Removing intermediate container 7c1542776b10 [2023-08-25T10:58:46.486Z] ---> 6f1651005495 [2023-08-25T10:58:46.486Z] Successfully built 6f1651005495 [2023-08-25T10:58:46.486Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:46.805Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T10:58:46.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:58:46.890Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T10:58:46.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T10:58:47.262Z] $ docker top eefa6ce9dfe021df25e31ace661fca4c476f74a2ad1e30c94a04754b33b3bb2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T10:58:47.624Z] + go version [2023-08-25T10:58:47.624Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T10:58:47.639Z] $ docker stop --time=1 eefa6ce9dfe021df25e31ace661fca4c476f74a2ad1e30c94a04754b33b3bb2b [2023-08-25T10:58:48.929Z] $ docker rm -f --volumes eefa6ce9dfe021df25e31ace661fca4c476f74a2ad1e30c94a04754b33b3bb2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:49.348Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T10:58:49.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:58:49.428Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T10:58:49.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T10:58:49.782Z] $ docker top 8b8d8bdb9a6152099010dc36d1503f07267b2a752d966e26f01db0c4414e3baf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T10:58:50.119Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-25T10:58:50.418Z] + make test [2023-08-25T10:58:50.418Z] go test ./... -coverprofile=coverage.out [2023-08-25T10:58:55.686Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-08-25T10:59:05.672Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-08-25T10:59:05.672Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-08-25T10:59:12.228Z] go vet ./... [2023-08-25T10:59:15.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T10:59:15.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T10:59:15.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T10:59:15.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T10:59:15.535Z] $ docker stop --time=1 8b8d8bdb9a6152099010dc36d1503f07267b2a752d966e26f01db0c4414e3baf [2023-08-25T10:59:18.519Z] $ docker rm -f --volumes 8b8d8bdb9a6152099010dc36d1503f07267b2a752d966e26f01db0c4414e3baf [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T10:59:18.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T10:59:19.044Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T10:59:19.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T10:59:19.731Z] + ls -al . [2023-08-25T10:59:19.731Z] total 176 [2023-08-25T10:59:19.731Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 10:58 . [2023-08-25T10:59:19.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 .. [2023-08-25T10:59:19.731Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 25 10:57 .dockerignore [2023-08-25T10:59:19.731Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:58 .git [2023-08-25T10:59:19.731Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:57 .github [2023-08-25T10:59:19.731Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 25 10:57 .gitignore [2023-08-25T10:59:19.731Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 10:57 .golangci.yml [2023-08-25T10:59:19.731Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:58 .semver [2023-08-25T10:59:19.731Z] -rw-rw-r-- 1 jenkins jenkins 10025 Aug 25 10:57 Attribution.txt [2023-08-25T10:59:19.731Z] -rw-rw-r-- 1 jenkins jenkins 10534 Aug 25 10:57 CHANGELOG.md [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 1423 Aug 25 10:57 Dockerfile [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:57 GOVERNANCE.md [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 25 10:57 Jenkinsfile [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 10:57 LICENSE [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 2240 Aug 25 10:57 Makefile [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 10:57 OWNERS.md [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 10559 Aug 25 10:57 README.md [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:58 VERSION [2023-08-25T10:59:19.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:57 bin [2023-08-25T10:59:19.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:57 cmd [2023-08-25T10:59:19.732Z] -rw-r--r-- 1 jenkins jenkins 8837 Aug 25 10:59 coverage.out [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 3710 Aug 25 10:57 go.mod [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 33759 Aug 25 10:57 go.sum [2023-08-25T10:59:19.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:57 internal [2023-08-25T10:59:19.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 snap [2023-08-25T10:59:19.732Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 25 10:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:20.035Z] + 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=e8a92f41847651f05b50cd748b4aa01e803b308d --label arch=amd64 --label version=3.1.0-dev.2 . [2023-08-25T10:59:20.035Z] Sending build context to Docker daemon 5.778MB [2023-08-25T10:59:20.035Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T10:59:20.035Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-25T10:59:20.035Z] ---> 6f1651005495 [2023-08-25T10:59:20.035Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-25T10:59:20.035Z] ---> Running in 7ec267235201 [2023-08-25T10:59:20.293Z] Removing intermediate container 7ec267235201 [2023-08-25T10:59:20.293Z] ---> b32d870b2152 [2023-08-25T10:59:20.293Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T10:59:20.293Z] ---> Running in 6b603455ea98 [2023-08-25T10:59:20.293Z] Removing intermediate container 6b603455ea98 [2023-08-25T10:59:20.293Z] ---> 394816d01b75 [2023-08-25T10:59:20.293Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T10:59:20.293Z] ---> Running in 42bf8bc2c809 [2023-08-25T10:59:20.293Z] Removing intermediate container 42bf8bc2c809 [2023-08-25T10:59:20.293Z] ---> 7bfb08d75212 [2023-08-25T10:59:20.293Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T10:59:20.550Z] ---> Running in 2441bb851334 [2023-08-25T10:59:20.550Z] Removing intermediate container 2441bb851334 [2023-08-25T10:59:20.550Z] ---> d6d049f847fc [2023-08-25T10:59:20.550Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T10:59:20.550Z] ---> Running in 8cdd67a73bd2 [2023-08-25T10:59:20.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:21.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:21.327Z] OK: 269 MiB in 57 packages [2023-08-25T10:59:21.586Z] Removing intermediate container 8cdd67a73bd2 [2023-08-25T10:59:21.586Z] ---> 225edc550bd1 [2023-08-25T10:59:21.586Z] Step 8/24 : WORKDIR /device-snmp-go [2023-08-25T10:59:21.586Z] ---> Running in 56188db3b73d [2023-08-25T10:59:21.844Z] Removing intermediate container 56188db3b73d [2023-08-25T10:59:21.844Z] ---> 153dbffa11bb [2023-08-25T10:59:21.844Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-25T10:59:21.844Z] ---> ff36dca527ed [2023-08-25T10:59:21.844Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T10:59:21.844Z] ---> Running in 9ce8a757d10a [2023-08-25T10:59:22.411Z] Removing intermediate container 9ce8a757d10a [2023-08-25T10:59:22.411Z] ---> aa73e6c5973c [2023-08-25T10:59:22.411Z] Step 11/24 : COPY . . [2023-08-25T10:59:22.670Z] ---> b6dece5ed677 [2023-08-25T10:59:22.670Z] Step 12/24 : RUN ${MAKE} [2023-08-25T10:59:22.670Z] ---> Running in c8c2080d4de4 [2023-08-25T10:59:22.927Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-08-25T10:59:45.098Z] Removing intermediate container c8c2080d4de4 [2023-08-25T10:59:45.098Z] ---> 8ea7f35eb8cc [2023-08-25T10:59:45.098Z] Step 13/24 : FROM alpine:3.17 [2023-08-25T10:59:45.098Z] 3.17: Pulling from library/alpine [2023-08-25T10:59:45.098Z] 9398808236ff: Pulling fs layer [2023-08-25T10:59:45.098Z] 9398808236ff: Verifying Checksum [2023-08-25T10:59:45.098Z] 9398808236ff: Download complete [2023-08-25T10:59:45.098Z] 9398808236ff: Pull complete [2023-08-25T10:59:45.098Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T10:59:45.098Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T10:59:45.098Z] ---> 1e0b8b5322fc [2023-08-25T10:59:45.098Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-08-25T10:59:45.098Z] ---> Running in 9af9f1ac4a47 [2023-08-25T10:59:45.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:45.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:45.098Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T10:59:45.098Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T10:59:45.098Z] OK: 7 MiB in 16 packages [2023-08-25T10:59:45.098Z] Removing intermediate container 9af9f1ac4a47 [2023-08-25T10:59:45.098Z] ---> 46090f3f3530 [2023-08-25T10:59:45.098Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-08-25T10:59:45.357Z] ---> 1ea0e9892d3e [2023-08-25T10:59:45.357Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-08-25T10:59:45.616Z] ---> c578f28e1c9a [2023-08-25T10:59:45.616Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-08-25T10:59:45.616Z] ---> b98060916164 [2023-08-25T10:59:45.616Z] Step 18/24 : EXPOSE 59993 [2023-08-25T10:59:45.616Z] ---> Running in dd70b2fa23ed [2023-08-25T10:59:45.875Z] Removing intermediate container dd70b2fa23ed [2023-08-25T10:59:45.875Z] ---> 7630250db43c [2023-08-25T10:59:45.875Z] Step 19/24 : EXPOSE 161 [2023-08-25T10:59:45.875Z] ---> Running in 19641b8c4ece [2023-08-25T10:59:45.875Z] Removing intermediate container 19641b8c4ece [2023-08-25T10:59:45.875Z] ---> 7b74702ee78f [2023-08-25T10:59:45.875Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-08-25T10:59:45.875Z] ---> Running in 6fd17d1ebb93 [2023-08-25T10:59:46.135Z] Removing intermediate container 6fd17d1ebb93 [2023-08-25T10:59:46.135Z] ---> 994c0fbb0c93 [2023-08-25T10:59:46.135Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T10:59:46.135Z] ---> Running in 92cdb78ea5bd [2023-08-25T10:59:46.135Z] Removing intermediate container 92cdb78ea5bd [2023-08-25T10:59:46.135Z] ---> 7916ff9134c4 [2023-08-25T10:59:46.135Z] Step 22/24 : LABEL arch=amd64 [2023-08-25T10:59:46.135Z] ---> Running in 7584ddf94117 [2023-08-25T10:59:46.135Z] Removing intermediate container 7584ddf94117 [2023-08-25T10:59:46.135Z] ---> cce6b5a00876 [2023-08-25T10:59:46.135Z] Step 23/24 : LABEL git_sha=e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T10:59:46.398Z] ---> Running in cb2ebbffed17 [2023-08-25T10:59:46.398Z] Removing intermediate container cb2ebbffed17 [2023-08-25T10:59:46.398Z] ---> 5c6765089980 [2023-08-25T10:59:46.398Z] Step 24/24 : LABEL version=3.1.0-dev.2 [2023-08-25T10:59:46.398Z] ---> Running in aaa527da7fce [2023-08-25T10:59:46.398Z] Removing intermediate container aaa527da7fce [2023-08-25T10:59:46.398Z] ---> 4f8b084318e8 [2023-08-25T10:59:46.398Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T10:59:46.398Z] Successfully built 4f8b084318e8 [2023-08-25T10:59:46.398Z] 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-08-25T10:59:46.498Z] provisioning config files... [2023-08-25T10:59:46.509Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6993129675405969555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:59:46.806Z] ---> docker-login.sh [2023-08-25T10:59:46.806Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:59:46.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:46.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:46.806Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:46.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:46.806Z] [2023-08-25T10:59:46.806Z] Login Succeeded [2023-08-25T10:59:46.806Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:59:46.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:47.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:47.067Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:47.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:47.067Z] [2023-08-25T10:59:47.067Z] Login Succeeded [2023-08-25T10:59:47.067Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:59:47.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:47.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:47.067Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:47.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:47.067Z] [2023-08-25T10:59:47.067Z] Login Succeeded [2023-08-25T10:59:47.067Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:59:47.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:47.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:47.326Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:47.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:47.326Z] [2023-08-25T10:59:47.326Z] Login Succeeded [2023-08-25T10:59:47.326Z] docker.io [2023-08-25T10:59:47.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:47.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:47.585Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:47.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:47.585Z] [2023-08-25T10:59:47.585Z] Login Succeeded [2023-08-25T10:59:47.585Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:59:47.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T10:59:47.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:59:47.649Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-08-25T10:59:47.649Z] e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T10:59:47.649Z] latest [2023-08-25T10:59:47.649Z] 3.1.0-dev.2 [2023-08-25T10:59:47.649Z] e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [2023-08-25T10:59:47.649Z] main [2023-08-25T10:59:47.649Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:47.968Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:48.278Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T10:59:48.278Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-25T10:59:48.278Z] cea7409cbf26: Preparing [2023-08-25T10:59:48.278Z] b28542713c60: Preparing [2023-08-25T10:59:48.278Z] 7e089d3d0d51: Preparing [2023-08-25T10:59:48.278Z] ab73dbcc641f: Preparing [2023-08-25T10:59:48.278Z] 36b50b131297: Preparing [2023-08-25T10:59:48.278Z] 36b50b131297: Layer already exists [2023-08-25T10:59:48.278Z] cea7409cbf26: Pushed [2023-08-25T10:59:48.278Z] b28542713c60: Pushed [2023-08-25T10:59:48.278Z] ab73dbcc641f: Pushed [2023-08-25T10:59:51.562Z] 7e089d3d0d51: Pushed [2023-08-25T10:59:51.562Z] e8a92f41847651f05b50cd748b4aa01e803b308d: digest: sha256:7865ab8bd87d91e4f68d29ded71d0284b9286a1a7b6aa14b8148a30bea388504 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:51.865Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:52.167Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-08-25T10:59:52.167Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-25T10:59:52.167Z] cea7409cbf26: Preparing [2023-08-25T10:59:52.167Z] b28542713c60: Preparing [2023-08-25T10:59:52.167Z] 7e089d3d0d51: Preparing [2023-08-25T10:59:52.167Z] ab73dbcc641f: Preparing [2023-08-25T10:59:52.167Z] 36b50b131297: Preparing [2023-08-25T10:59:52.167Z] cea7409cbf26: Layer already exists [2023-08-25T10:59:52.167Z] 7e089d3d0d51: Layer already exists [2023-08-25T10:59:52.167Z] 36b50b131297: Layer already exists [2023-08-25T10:59:52.167Z] ab73dbcc641f: Layer already exists [2023-08-25T10:59:52.167Z] b28542713c60: Layer already exists [2023-08-25T10:59:52.168Z] latest: digest: sha256:7865ab8bd87d91e4f68d29ded71d0284b9286a1a7b6aa14b8148a30bea388504 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:52.474Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:52.790Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.2 [2023-08-25T10:59:52.790Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-25T10:59:52.790Z] cea7409cbf26: Preparing [2023-08-25T10:59:52.790Z] b28542713c60: Preparing [2023-08-25T10:59:52.790Z] 7e089d3d0d51: Preparing [2023-08-25T10:59:52.790Z] ab73dbcc641f: Preparing [2023-08-25T10:59:52.790Z] 36b50b131297: Preparing [2023-08-25T10:59:52.790Z] cea7409cbf26: Layer already exists [2023-08-25T10:59:52.790Z] b28542713c60: Layer already exists [2023-08-25T10:59:52.790Z] 7e089d3d0d51: Layer already exists [2023-08-25T10:59:52.790Z] 36b50b131297: Layer already exists [2023-08-25T10:59:52.790Z] ab73dbcc641f: Layer already exists [2023-08-25T10:59:52.790Z] 3.1.0-dev.2: digest: sha256:7865ab8bd87d91e4f68d29ded71d0284b9286a1a7b6aa14b8148a30bea388504 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:53.103Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:53.406Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [2023-08-25T10:59:53.406Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-25T10:59:53.406Z] cea7409cbf26: Preparing [2023-08-25T10:59:53.406Z] b28542713c60: Preparing [2023-08-25T10:59:53.406Z] 7e089d3d0d51: Preparing [2023-08-25T10:59:53.406Z] ab73dbcc641f: Preparing [2023-08-25T10:59:53.406Z] 36b50b131297: Preparing [2023-08-25T10:59:53.406Z] ab73dbcc641f: Layer already exists [2023-08-25T10:59:53.406Z] cea7409cbf26: Layer already exists [2023-08-25T10:59:53.406Z] 36b50b131297: Layer already exists [2023-08-25T10:59:53.406Z] b28542713c60: Layer already exists [2023-08-25T10:59:53.406Z] 7e089d3d0d51: Layer already exists [2023-08-25T10:59:53.406Z] e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2: digest: sha256:7865ab8bd87d91e4f68d29ded71d0284b9286a1a7b6aa14b8148a30bea388504 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:53.712Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:54.017Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-08-25T10:59:54.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-25T10:59:54.017Z] cea7409cbf26: Preparing [2023-08-25T10:59:54.017Z] b28542713c60: Preparing [2023-08-25T10:59:54.017Z] 7e089d3d0d51: Preparing [2023-08-25T10:59:54.017Z] ab73dbcc641f: Preparing [2023-08-25T10:59:54.017Z] 36b50b131297: Preparing [2023-08-25T10:59:54.017Z] 36b50b131297: Layer already exists [2023-08-25T10:59:54.017Z] 7e089d3d0d51: Layer already exists [2023-08-25T10:59:54.017Z] cea7409cbf26: Layer already exists [2023-08-25T10:59:54.017Z] b28542713c60: Layer already exists [2023-08-25T10:59:54.017Z] ab73dbcc641f: Layer already exists [2023-08-25T10:59:54.017Z] main: digest: sha256:7865ab8bd87d91e4f68d29ded71d0284b9286a1a7b6aa14b8148a30bea388504 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T10:59:54.062Z] ===================================================== [Pipeline] echo [2023-08-25T10:59:54.069Z] taggedImages: [2023-08-25T10:59:54.069Z] - nexus3.edgexfoundry.org:10004/device-snmp:e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T10:59:54.069Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-08-25T10:59:54.069Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.2 [2023-08-25T10:59:54.069Z] - nexus3.edgexfoundry.org:10004/device-snmp:e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [2023-08-25T10:59:54.069Z] - 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-08-25T10:59:54.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T10:59:54.443Z] [2023-08-25T10:59:54.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:54.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T10:59:54.737Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T10:59:54.737Z] 5eb5b503b376: Pulling fs layer [2023-08-25T10:59:54.737Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T10:59:54.737Z] ec43610c2a17: Pulling fs layer [2023-08-25T10:59:54.737Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T10:59:54.737Z] 33b1e0a273af: Pulling fs layer [2023-08-25T10:59:54.737Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T10:59:54.737Z] 2f39f015ded8: Pulling fs layer [2023-08-25T10:59:54.737Z] 2f39f015ded8: Waiting [2023-08-25T10:59:54.737Z] 5d3b04190fa2: Waiting [2023-08-25T10:59:54.737Z] 3a2ae6a8a46f: Waiting [2023-08-25T10:59:54.737Z] 33b1e0a273af: Waiting [2023-08-25T10:59:54.737Z] 5c69ac0246d0: Download complete [2023-08-25T10:59:54.737Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T10:59:54.737Z] 3a2ae6a8a46f: Download complete [2023-08-25T10:59:54.737Z] 33b1e0a273af: Verifying Checksum [2023-08-25T10:59:54.737Z] 33b1e0a273af: Download complete [2023-08-25T10:59:54.737Z] ec43610c2a17: Verifying Checksum [2023-08-25T10:59:54.737Z] ec43610c2a17: Download complete [2023-08-25T10:59:54.737Z] 5d3b04190fa2: Verifying Checksum [2023-08-25T10:59:54.737Z] 5d3b04190fa2: Download complete [2023-08-25T10:59:54.995Z] 5eb5b503b376: Verifying Checksum [2023-08-25T10:59:54.995Z] 5eb5b503b376: Download complete [2023-08-25T10:59:55.561Z] 2f39f015ded8: Download complete [2023-08-25T10:59:56.522Z] 5eb5b503b376: Pull complete [2023-08-25T10:59:56.522Z] 5c69ac0246d0: Pull complete [2023-08-25T10:59:57.123Z] ec43610c2a17: Pull complete [2023-08-25T10:59:57.123Z] 3a2ae6a8a46f: Pull complete [2023-08-25T10:59:57.379Z] 33b1e0a273af: Pull complete [2023-08-25T10:59:57.379Z] 5d3b04190fa2: Pull complete [2023-08-25T11:00:01.560Z] 2f39f015ded8: Pull complete [2023-08-25T11:00:01.560Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T11:00:01.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:00:01.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:00:01.638Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T11:00:01.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T11:00:06.027Z] $ docker top 28a044929ec9ec2035c3ad3cee1c6d2e530760416602702d9ad938a1b1ee2327 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:06.397Z] ---> job-cost.sh [2023-08-25T11:00:06.397Z] lf-activate-venv: SKIPPING [2023-08-25T11:00:06.397Z] INFO: No Stack... [2023-08-25T11:00:06.683Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:00:06.942Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:00:07.227Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-08-25T11:00:07.227Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:00:07.237Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] [2023-08-25T11:00:07.243Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] did not exist. Created. [2023-08-25T11:00:07.243Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:00:07.549Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T11:00:07.572Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:00:07.580Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:00:07.602Z] $ docker stop --time=1 28a044929ec9ec2035c3ad3cee1c6d2e530760416602702d9ad938a1b1ee2327 [2023-08-25T11:00:08.751Z] $ docker rm -f --volumes 28a044929ec9ec2035c3ad3cee1c6d2e530760416602702d9ad938a1b1ee2327 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T11:01:12.159Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4565 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-08-25T11:01:12.172Z] Running in /w/workspace/device-snmp-go/88 [Pipeline] { [Pipeline] checkout [2023-08-25T11:01:12.201Z] Selected Git installation does not exist. Using Default [2023-08-25T11:01:12.201Z] The recommended git tool is: NONE [2023-08-25T11:01:17.827Z] using credential edgex-jenkins-ssh [2023-08-25T11:01:17.845Z] Cloning the remote Git repository [2023-08-25T11:01:17.891Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-08-25T11:01:18.008Z] > git init /w/workspace/device-snmp-go/88 # timeout=10 [2023-08-25T11:01:18.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-08-25T11:01:18.162Z] > git --version # timeout=10 [2023-08-25T11:01:18.185Z] > git --version # 'git version 2.25.1' [2023-08-25T11:01:18.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T11:01:18.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:01:19.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-08-25T11:01:19.447Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:01:20.550Z] Avoid second fetch [2023-08-25T11:01:20.551Z] Checking out Revision e8a92f41847651f05b50cd748b4aa01e803b308d (main) [2023-08-25T11:01:20.564Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T11:01:20.629Z] > git checkout -f e8a92f41847651f05b50cd748b4aa01e803b308d # timeout=10 [2023-08-25T11:01:21.120Z] Commit message: "Merge pull request #316 from FelixTing/update-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:01:21.960Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T11:01:21.960Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:01:21.960Z] Dload Upload Total Spent Left Speed [2023-08-25T11:01:21.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-08-25T11:01:22.683Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T11:01:23.011Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T11:01:23.011Z] + sudo tee /etc/docker/daemon.new [2023-08-25T11:01:23.011Z] { [2023-08-25T11:01:23.011Z] "registry-mirrors": [ [2023-08-25T11:01:23.011Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T11:01:23.011Z] ], [2023-08-25T11:01:23.011Z] "bip": "10.250.0.254/24", [2023-08-25T11:01:23.011Z] "hosts": [ [2023-08-25T11:01:23.011Z] "tcp://0.0.0.0:5555", [2023-08-25T11:01:23.011Z] "unix:///var/run/docker.sock" [2023-08-25T11:01:23.011Z] ], [2023-08-25T11:01:23.011Z] "mtu": 1458, [2023-08-25T11:01:23.011Z] "selinux-enabled": true, [2023-08-25T11:01:23.011Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T11:01:23.011Z] } [Pipeline] sh [2023-08-25T11:01:23.352Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T11:01:23.699Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:01:42.036Z] provisioning config files... [2023-08-25T11:01:42.064Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/88@tmp/config9764177877670413507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:01:42.425Z] ---> docker-login.sh [2023-08-25T11:01:42.425Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:01:43.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:43.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:43.013Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:43.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:43.013Z] [2023-08-25T11:01:43.014Z] Login Succeeded [2023-08-25T11:01:43.288Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:01:43.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:43.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:43.558Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:43.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:43.558Z] [2023-08-25T11:01:43.558Z] Login Succeeded [2023-08-25T11:01:43.558Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:01:43.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:43.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:43.828Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:43.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:43.828Z] [2023-08-25T11:01:43.828Z] Login Succeeded [2023-08-25T11:01:43.828Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:01:44.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:44.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:44.375Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:44.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:44.375Z] [2023-08-25T11:01:44.375Z] Login Succeeded [2023-08-25T11:01:44.375Z] docker.io [2023-08-25T11:01:44.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:01:44.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:01:44.923Z] Configure a credential helper to remove this warning. See [2023-08-25T11:01:44.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:01:44.923Z] [2023-08-25T11:01:44.923Z] Login Succeeded [2023-08-25T11:01:44.923Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:01:44.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T11:01:45.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:01:45.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:01:45.315Z] ========================================================= [2023-08-25T11:01:45.315Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T11:01:45.315Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:01:45.676Z] + 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-08-25T11:01:45.946Z] Sending build context to Docker daemon 2.97MB [2023-08-25T11:01:45.946Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:01:45.946Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T11:01:46.259Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T11:01:46.259Z] edb6bdbacee9: Pulling fs layer [2023-08-25T11:01:46.259Z] 5f9638ab2659: Pulling fs layer [2023-08-25T11:01:46.259Z] 8d51d6327a98: Pulling fs layer [2023-08-25T11:01:46.259Z] 8b374f2dd631: Pulling fs layer [2023-08-25T11:01:46.259Z] ec14aa9079de: Pulling fs layer [2023-08-25T11:01:46.259Z] 2f466654f4bb: Pulling fs layer [2023-08-25T11:01:46.259Z] 554e91adad29: Pulling fs layer [2023-08-25T11:01:46.259Z] 8b374f2dd631: Waiting [2023-08-25T11:01:46.259Z] ec14aa9079de: Waiting [2023-08-25T11:01:46.259Z] 2f466654f4bb: Waiting [2023-08-25T11:01:46.259Z] 554e91adad29: Waiting [2023-08-25T11:01:46.259Z] 5f9638ab2659: Download complete [2023-08-25T11:01:46.259Z] 8b374f2dd631: Verifying Checksum [2023-08-25T11:01:46.259Z] 8b374f2dd631: Download complete [2023-08-25T11:01:46.259Z] ec14aa9079de: Download complete [2023-08-25T11:01:46.259Z] edb6bdbacee9: Download complete [2023-08-25T11:01:47.254Z] edb6bdbacee9: Pull complete [2023-08-25T11:01:47.889Z] 554e91adad29: Verifying Checksum [2023-08-25T11:01:47.889Z] 554e91adad29: Download complete [2023-08-25T11:01:48.491Z] 5f9638ab2659: Pull complete [2023-08-25T11:01:49.085Z] 8d51d6327a98: Verifying Checksum [2023-08-25T11:01:49.085Z] 8d51d6327a98: Download complete [2023-08-25T11:01:49.085Z] 2f466654f4bb: Verifying Checksum [2023-08-25T11:01:49.085Z] 2f466654f4bb: Download complete [2023-08-25T11:01:59.197Z] 8d51d6327a98: Pull complete [2023-08-25T11:01:59.465Z] 8b374f2dd631: Pull complete [2023-08-25T11:01:59.734Z] ec14aa9079de: Pull complete [2023-08-25T11:02:06.390Z] 2f466654f4bb: Pull complete [2023-08-25T11:02:09.030Z] 554e91adad29: Pull complete [2023-08-25T11:02:09.030Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T11:02:09.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T11:02:09.030Z] ---> 1e15ea492957 [2023-08-25T11:02:09.030Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:02:10.987Z] ---> Running in fdf273096e90 [2023-08-25T11:02:11.261Z] Removing intermediate container fdf273096e90 [2023-08-25T11:02:11.261Z] ---> 2077ca7ae429 [2023-08-25T11:02:11.261Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:02:11.261Z] ---> Running in 64817f03c6ad [2023-08-25T11:02:11.533Z] Removing intermediate container 64817f03c6ad [2023-08-25T11:02:11.533Z] ---> 1c35bd196563 [2023-08-25T11:02:11.533Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:02:11.805Z] ---> Running in 67e3394ba982 [2023-08-25T11:02:12.076Z] Removing intermediate container 67e3394ba982 [2023-08-25T11:02:12.076Z] ---> 57c748665d8e [2023-08-25T11:02:12.076Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:02:12.076Z] ---> Running in d617e171d990 [2023-08-25T11:02:12.469Z] Removing intermediate container d617e171d990 [2023-08-25T11:02:12.470Z] ---> b80e1d566791 [2023-08-25T11:02:12.470Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:02:12.470Z] ---> Running in e9dcc949756b [2023-08-25T11:02:13.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:02:14.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:02:15.936Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T11:02:15.936Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T11:02:15.936Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T11:02:15.936Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T11:02:15.936Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:02:15.936Z] OK: 268 MiB in 57 packages [2023-08-25T11:02:16.935Z] Removing intermediate container e9dcc949756b [2023-08-25T11:02:16.935Z] ---> 953e1cbc4798 [2023-08-25T11:02:16.935Z] Step 8/12 : WORKDIR /device-snmp-go [2023-08-25T11:02:17.203Z] ---> Running in 16fa8bd6c748 [2023-08-25T11:02:17.475Z] Removing intermediate container 16fa8bd6c748 [2023-08-25T11:02:17.475Z] ---> cb0d305157e4 [2023-08-25T11:02:17.475Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T11:02:18.070Z] ---> e3e66aedd397 [2023-08-25T11:02:18.070Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:02:18.070Z] ---> Running in 49acb3bf654a [2023-08-25T11:03:39.777Z] Removing intermediate container 49acb3bf654a [2023-08-25T11:03:39.777Z] ---> 8a1d9a21ef9d [2023-08-25T11:03:39.777Z] Step 11/12 : COPY . . [2023-08-25T11:03:39.777Z] ---> 20146a3acdaa [2023-08-25T11:03:39.777Z] Step 12/12 : RUN ${MAKE} [2023-08-25T11:03:39.777Z] ---> Running in 6b9d43ba624d [2023-08-25T11:03:39.777Z] noop [2023-08-25T11:03:39.777Z] Removing intermediate container 6b9d43ba624d [2023-08-25T11:03:39.777Z] ---> 612129cc4bb6 [2023-08-25T11:03:39.777Z] Successfully built 612129cc4bb6 [2023-08-25T11:03:39.777Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:40.144Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:03:40.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:03:40.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-4565 does not seem to be running inside a container [2023-08-25T11:03:40.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/88 -v /w/workspace/device-snmp-go/88:/w/workspace/device-snmp-go/88:rw,z -v /w/workspace/device-snmp-go/88@tmp:/w/workspace/device-snmp-go/88@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-08-25T11:03:41.810Z] $ docker top 4d06c03a4d711392d4919c87406f9adddf2117679e11cae33e557dbeaa33cfb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:03:42.694Z] + go version [2023-08-25T11:03:42.694Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T11:03:42.716Z] $ docker stop --time=1 4d06c03a4d711392d4919c87406f9adddf2117679e11cae33e557dbeaa33cfb6 [2023-08-25T11:03:44.412Z] $ docker rm -f --volumes 4d06c03a4d711392d4919c87406f9adddf2117679e11cae33e557dbeaa33cfb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:44.984Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:03:44.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:03:45.197Z] prd-ubuntu20.04-docker-arm64-4c-16g-4565 does not seem to be running inside a container [2023-08-25T11:03:45.281Z] $ 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/88 -v /w/workspace/device-snmp-go/88:/w/workspace/device-snmp-go/88:rw,z -v /w/workspace/device-snmp-go/88@tmp:/w/workspace/device-snmp-go/88@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-08-25T11:03:46.608Z] $ docker top 05fa72fef9bdc177092e8046f3417c86cd8cff4e99428f2cf4e0e44616574026 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:03:47.472Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/88 [Pipeline] fileExists [Pipeline] sh [2023-08-25T11:03:48.143Z] + make test [2023-08-25T11:03:48.143Z] go test ./... -coverprofile=coverage.out [2023-08-25T11:04:27.081Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-08-25T11:07:18.904Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-08-25T11:07:18.904Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements [2023-08-25T11:07:18.904Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T11:07:18.904Z] go vet ./... [2023-08-25T11:07:45.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:07:45.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:07:45.630Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:07:45.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:07:45.660Z] $ docker stop --time=1 05fa72fef9bdc177092e8046f3417c86cd8cff4e99428f2cf4e0e44616574026 [2023-08-25T11:07:47.652Z] $ docker rm -f --volumes 05fa72fef9bdc177092e8046f3417c86cd8cff4e99428f2cf4e0e44616574026 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:07:48.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:07:49.013Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T11:07:49.564Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:07:49.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:07:50.295Z] + ls -al . [2023-08-25T11:07:50.295Z] total 172 [2023-08-25T11:07:50.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:03 . [2023-08-25T11:07:50.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:01 .. [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 25 11:01 .dockerignore [2023-08-25T11:07:50.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:01 .git [2023-08-25T11:07:50.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:01 .github [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 25 11:01 .gitignore [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:01 .golangci.yml [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 10025 Aug 25 11:01 Attribution.txt [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 10534 Aug 25 11:01 CHANGELOG.md [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 1423 Aug 25 11:01 Dockerfile [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:01 GOVERNANCE.md [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 25 11:01 Jenkinsfile [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:01 LICENSE [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 2240 Aug 25 11:01 Makefile [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 11:01 OWNERS.md [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 10559 Aug 25 11:01 README.md [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:58 VERSION [2023-08-25T11:07:50.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:01 bin [2023-08-25T11:07:50.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:01 cmd [2023-08-25T11:07:50.295Z] -rw-r--r-- 1 jenkins jenkins 8837 Aug 25 11:07 coverage.out [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 3710 Aug 25 11:01 go.mod [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 33759 Aug 25 11:01 go.sum [2023-08-25T11:07:50.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:01 internal [2023-08-25T11:07:50.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:01 snap [2023-08-25T11:07:50.295Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 25 11:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:07:50.645Z] + 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=e8a92f41847651f05b50cd748b4aa01e803b308d --label arch=arm64 --label version=3.1.0-dev.2 . [2023-08-25T11:07:50.915Z] Sending build context to Docker daemon 2.98MB [2023-08-25T11:07:50.915Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:07:50.915Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-25T11:07:50.915Z] ---> 612129cc4bb6 [2023-08-25T11:07:50.915Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:07:51.185Z] ---> Running in e86359bd7704 [2023-08-25T11:07:51.460Z] Removing intermediate container e86359bd7704 [2023-08-25T11:07:51.460Z] ---> 35d828eea45c [2023-08-25T11:07:51.460Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:07:51.460Z] ---> Running in bf219dc6c13c [2023-08-25T11:07:52.049Z] Removing intermediate container bf219dc6c13c [2023-08-25T11:07:52.049Z] ---> feb0fe60fa89 [2023-08-25T11:07:52.049Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:07:52.049Z] ---> Running in 95b0bbd458d0 [2023-08-25T11:07:52.321Z] Removing intermediate container 95b0bbd458d0 [2023-08-25T11:07:52.321Z] ---> 893935f82dc0 [2023-08-25T11:07:52.321Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:07:52.321Z] ---> Running in 6ac072e4cfd1 [2023-08-25T11:07:52.907Z] Removing intermediate container 6ac072e4cfd1 [2023-08-25T11:07:52.907Z] ---> 207bb7ac22b3 [2023-08-25T11:07:52.907Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:07:52.907Z] ---> Running in cf6137ceb67e [2023-08-25T11:07:53.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:07:54.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:07:55.887Z] OK: 268 MiB in 57 packages [2023-08-25T11:07:56.852Z] Removing intermediate container cf6137ceb67e [2023-08-25T11:07:56.852Z] ---> 8b23ec061bd3 [2023-08-25T11:07:56.852Z] Step 8/24 : WORKDIR /device-snmp-go [2023-08-25T11:07:56.852Z] ---> Running in a2669477d52d [2023-08-25T11:07:57.443Z] Removing intermediate container a2669477d52d [2023-08-25T11:07:57.443Z] ---> f0cccf007350 [2023-08-25T11:07:57.443Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-25T11:07:58.034Z] ---> 58b18c314e2b [2023-08-25T11:07:58.034Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:07:58.034Z] ---> Running in ad577c0cedad [2023-08-25T11:08:00.646Z] Removing intermediate container ad577c0cedad [2023-08-25T11:08:00.646Z] ---> 7abd140731df [2023-08-25T11:08:00.646Z] Step 11/24 : COPY . . [2023-08-25T11:08:01.234Z] ---> 3e191e3f0712 [2023-08-25T11:08:01.234Z] Step 12/24 : RUN ${MAKE} [2023-08-25T11:08:01.503Z] ---> Running in ac38cb1453f0 [2023-08-25T11:08:02.472Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-08-25T11:10:54.255Z] Removing intermediate container ac38cb1453f0 [2023-08-25T11:10:54.255Z] ---> 33419d4bf01c [2023-08-25T11:10:54.255Z] Step 13/24 : FROM alpine:3.17 [2023-08-25T11:10:54.255Z] 3.17: Pulling from library/alpine [2023-08-25T11:10:54.255Z] 4060ece20d7a: Pulling fs layer [2023-08-25T11:10:54.255Z] 4060ece20d7a: Verifying Checksum [2023-08-25T11:10:54.255Z] 4060ece20d7a: Download complete [2023-08-25T11:10:54.255Z] 4060ece20d7a: Pull complete [2023-08-25T11:10:54.255Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:10:54.255Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:10:54.255Z] ---> 8650cd65339b [2023-08-25T11:10:54.255Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-08-25T11:10:54.255Z] ---> Running in 9de4888f0b80 [2023-08-25T11:10:54.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:10:54.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:10:54.524Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T11:10:54.524Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:10:54.524Z] OK: 8 MiB in 16 packages [2023-08-25T11:10:56.471Z] Removing intermediate container 9de4888f0b80 [2023-08-25T11:10:56.471Z] ---> 485b203d071a [2023-08-25T11:10:56.471Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-08-25T11:10:58.422Z] ---> 639bec95fa32 [2023-08-25T11:10:58.422Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-08-25T11:10:58.690Z] ---> 898f33bb1b40 [2023-08-25T11:10:58.690Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-08-25T11:10:59.279Z] ---> d605e9563f22 [2023-08-25T11:10:59.279Z] Step 18/24 : EXPOSE 59993 [2023-08-25T11:10:59.279Z] ---> Running in 484fb8945b4a [2023-08-25T11:10:59.548Z] Removing intermediate container 484fb8945b4a [2023-08-25T11:10:59.548Z] ---> 9bfcaee2f863 [2023-08-25T11:10:59.548Z] Step 19/24 : EXPOSE 161 [2023-08-25T11:11:00.476Z] ---> Running in eee64a628d12 [2023-08-25T11:11:00.476Z] Removing intermediate container eee64a628d12 [2023-08-25T11:11:00.476Z] ---> d0cc1f66d586 [2023-08-25T11:11:00.476Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-08-25T11:11:00.476Z] ---> Running in 79aec169e861 [2023-08-25T11:11:00.476Z] Removing intermediate container 79aec169e861 [2023-08-25T11:11:00.476Z] ---> 41065f7f565c [2023-08-25T11:11:00.476Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T11:11:00.476Z] ---> Running in d31739c00f84 [2023-08-25T11:11:00.747Z] Removing intermediate container d31739c00f84 [2023-08-25T11:11:00.747Z] ---> 098be735bb6c [2023-08-25T11:11:00.747Z] Step 22/24 : LABEL arch=arm64 [2023-08-25T11:11:01.023Z] ---> Running in d1358b126b4b [2023-08-25T11:11:01.290Z] Removing intermediate container d1358b126b4b [2023-08-25T11:11:01.290Z] ---> a6620ea0b4bb [2023-08-25T11:11:01.290Z] Step 23/24 : LABEL git_sha=e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T11:11:01.290Z] ---> Running in 6ba098253159 [2023-08-25T11:11:01.561Z] Removing intermediate container 6ba098253159 [2023-08-25T11:11:01.561Z] ---> 7ec62e94ad55 [2023-08-25T11:11:01.561Z] Step 24/24 : LABEL version=3.1.0-dev.2 [2023-08-25T11:11:01.835Z] ---> Running in 9ceddb713e8f [2023-08-25T11:11:02.103Z] Removing intermediate container 9ceddb713e8f [2023-08-25T11:11:02.103Z] ---> 58b524ce714b [2023-08-25T11:11:02.103Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:11:02.103Z] Successfully built 58b524ce714b [2023-08-25T11:11:02.103Z] 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-08-25T11:11:02.192Z] provisioning config files... [2023-08-25T11:11:02.209Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/88@tmp/config10294768373805064670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:11:02.639Z] ---> docker-login.sh [2023-08-25T11:11:02.639Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:11:02.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:02.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:02.929Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:02.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:02.929Z] [2023-08-25T11:11:02.929Z] Login Succeeded [2023-08-25T11:11:02.929Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:11:03.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:03.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:03.204Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:03.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:03.204Z] [2023-08-25T11:11:03.204Z] Login Succeeded [2023-08-25T11:11:03.204Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:11:03.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:03.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:03.772Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:03.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:03.772Z] [2023-08-25T11:11:03.772Z] Login Succeeded [2023-08-25T11:11:03.772Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:11:04.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:04.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:04.054Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:04.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:04.054Z] [2023-08-25T11:11:04.054Z] Login Succeeded [2023-08-25T11:11:04.054Z] docker.io [2023-08-25T11:11:04.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:04.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:04.935Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:04.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:04.935Z] [2023-08-25T11:11:04.935Z] Login Succeeded [2023-08-25T11:11:04.935Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:11:04.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:11:04.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:11:05.013Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-08-25T11:11:05.013Z] e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T11:11:05.013Z] latest [2023-08-25T11:11:05.013Z] 3.1.0-dev.2 [2023-08-25T11:11:05.013Z] e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [2023-08-25T11:11:05.013Z] main [2023-08-25T11:11:05.013Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:05.402Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:05.757Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T11:11:05.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-25T11:11:05.757Z] 4d6ee8c4a789: Preparing [2023-08-25T11:11:05.757Z] 26fb27e4d53b: Preparing [2023-08-25T11:11:05.757Z] a4cf15d370e8: Preparing [2023-08-25T11:11:05.757Z] ec9b1dbb6ad0: Preparing [2023-08-25T11:11:05.757Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:05.757Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:06.027Z] 26fb27e4d53b: Pushed [2023-08-25T11:11:06.027Z] 4d6ee8c4a789: Pushed [2023-08-25T11:11:06.027Z] ec9b1dbb6ad0: Pushed [2023-08-25T11:11:12.682Z] a4cf15d370e8: Pushed [2023-08-25T11:11:12.682Z] e8a92f41847651f05b50cd748b4aa01e803b308d: digest: sha256:59773f4ae5256f10319a9de74c5f6bbc3a7dbfeca9c54ecfbc2103d57480ac47 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:13.047Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:13.402Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-08-25T11:11:13.402Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-25T11:11:13.402Z] 4d6ee8c4a789: Preparing [2023-08-25T11:11:13.402Z] 26fb27e4d53b: Preparing [2023-08-25T11:11:13.402Z] a4cf15d370e8: Preparing [2023-08-25T11:11:13.402Z] ec9b1dbb6ad0: Preparing [2023-08-25T11:11:13.402Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:13.402Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:13.402Z] a4cf15d370e8: Layer already exists [2023-08-25T11:11:13.402Z] ec9b1dbb6ad0: Layer already exists [2023-08-25T11:11:13.402Z] 4d6ee8c4a789: Layer already exists [2023-08-25T11:11:13.403Z] 26fb27e4d53b: Layer already exists [2023-08-25T11:11:13.670Z] latest: digest: sha256:59773f4ae5256f10319a9de74c5f6bbc3a7dbfeca9c54ecfbc2103d57480ac47 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:14.029Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:14.379Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.2 [2023-08-25T11:11:14.379Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-25T11:11:14.379Z] 4d6ee8c4a789: Preparing [2023-08-25T11:11:14.379Z] 26fb27e4d53b: Preparing [2023-08-25T11:11:14.379Z] a4cf15d370e8: Preparing [2023-08-25T11:11:14.379Z] ec9b1dbb6ad0: Preparing [2023-08-25T11:11:14.379Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:14.379Z] 26fb27e4d53b: Layer already exists [2023-08-25T11:11:14.379Z] a4cf15d370e8: Layer already exists [2023-08-25T11:11:14.379Z] ec9b1dbb6ad0: Layer already exists [2023-08-25T11:11:14.379Z] 4d6ee8c4a789: Layer already exists [2023-08-25T11:11:14.379Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:14.379Z] 3.1.0-dev.2: digest: sha256:59773f4ae5256f10319a9de74c5f6bbc3a7dbfeca9c54ecfbc2103d57480ac47 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:15.014Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:15.362Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [2023-08-25T11:11:15.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-25T11:11:15.362Z] 4d6ee8c4a789: Preparing [2023-08-25T11:11:15.362Z] 26fb27e4d53b: Preparing [2023-08-25T11:11:15.362Z] a4cf15d370e8: Preparing [2023-08-25T11:11:15.362Z] ec9b1dbb6ad0: Preparing [2023-08-25T11:11:15.362Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:15.362Z] a4cf15d370e8: Layer already exists [2023-08-25T11:11:15.362Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:15.362Z] ec9b1dbb6ad0: Layer already exists [2023-08-25T11:11:15.362Z] 26fb27e4d53b: Layer already exists [2023-08-25T11:11:15.362Z] 4d6ee8c4a789: Layer already exists [2023-08-25T11:11:15.362Z] e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2: digest: sha256:59773f4ae5256f10319a9de74c5f6bbc3a7dbfeca9c54ecfbc2103d57480ac47 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:15.988Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:16.352Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-08-25T11:11:16.352Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-25T11:11:16.352Z] 4d6ee8c4a789: Preparing [2023-08-25T11:11:16.352Z] 26fb27e4d53b: Preparing [2023-08-25T11:11:16.352Z] a4cf15d370e8: Preparing [2023-08-25T11:11:16.352Z] ec9b1dbb6ad0: Preparing [2023-08-25T11:11:16.352Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:16.352Z] ec9b1dbb6ad0: Layer already exists [2023-08-25T11:11:16.352Z] a4cf15d370e8: Layer already exists [2023-08-25T11:11:16.352Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:16.352Z] 26fb27e4d53b: Layer already exists [2023-08-25T11:11:16.352Z] 4d6ee8c4a789: Layer already exists [2023-08-25T11:11:16.621Z] main: digest: sha256:59773f4ae5256f10319a9de74c5f6bbc3a7dbfeca9c54ecfbc2103d57480ac47 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:11:16.667Z] ===================================================== [Pipeline] echo [2023-08-25T11:11:16.674Z] taggedImages: [2023-08-25T11:11:16.674Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:e8a92f41847651f05b50cd748b4aa01e803b308d [2023-08-25T11:11:16.674Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-08-25T11:11:16.674Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.2 [2023-08-25T11:11:16.674Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:e8a92f41847651f05b50cd748b4aa01e803b308d-3.1.0-dev.2 [2023-08-25T11:11:16.674Z] - 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-08-25T11:11:17.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:17.039Z] [2023-08-25T11:11:17.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:17.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:17.661Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T11:11:17.661Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T11:11:17.661Z] 04944245beec: Pulling fs layer [2023-08-25T11:11:17.661Z] 699f458cf7ca: Pulling fs layer [2023-08-25T11:11:17.661Z] 765212b225bb: Pulling fs layer [2023-08-25T11:11:17.661Z] f23df028b6ca: Pulling fs layer [2023-08-25T11:11:17.661Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T11:11:17.661Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T11:11:17.661Z] f23df028b6ca: Waiting [2023-08-25T11:11:17.661Z] d65c8cfc05b1: Waiting [2023-08-25T11:11:17.661Z] 2437ff75d9bd: Waiting [2023-08-25T11:11:17.661Z] 765212b225bb: Waiting [2023-08-25T11:11:17.661Z] 04944245beec: Verifying Checksum [2023-08-25T11:11:17.661Z] 04944245beec: Download complete [2023-08-25T11:11:17.661Z] 765212b225bb: Verifying Checksum [2023-08-25T11:11:17.661Z] 765212b225bb: Download complete [2023-08-25T11:11:17.940Z] f23df028b6ca: Verifying Checksum [2023-08-25T11:11:17.940Z] f23df028b6ca: Download complete [2023-08-25T11:11:17.940Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T11:11:17.940Z] d65c8cfc05b1: Download complete [2023-08-25T11:11:17.940Z] 699f458cf7ca: Verifying Checksum [2023-08-25T11:11:17.940Z] 699f458cf7ca: Download complete [2023-08-25T11:11:18.211Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T11:11:18.211Z] 8998bd30e6a1: Download complete [2023-08-25T11:11:20.808Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T11:11:20.808Z] 2437ff75d9bd: Download complete [2023-08-25T11:11:22.215Z] 8998bd30e6a1: Pull complete [2023-08-25T11:11:22.483Z] 04944245beec: Pull complete [2023-08-25T11:11:23.892Z] 699f458cf7ca: Pull complete [2023-08-25T11:11:24.159Z] 765212b225bb: Pull complete [2023-08-25T11:11:24.741Z] f23df028b6ca: Pull complete [2023-08-25T11:11:25.008Z] d65c8cfc05b1: Pull complete [2023-08-25T11:11:40.019Z] 2437ff75d9bd: Pull complete [2023-08-25T11:11:40.019Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T11:11:40.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:40.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:11:40.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-4565 does not seem to be running inside a container [2023-08-25T11:11:40.337Z] $ 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/88 -v /w/workspace/device-snmp-go/88:/w/workspace/device-snmp-go/88:rw,z -v /w/workspace/device-snmp-go/88@tmp:/w/workspace/device-snmp-go/88@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-08-25T11:11:43.397Z] $ docker top 598e89bf3f124a624cffbc57b390834603c0445c231a92d4d47cd2e1dd2ee297 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:11:44.282Z] ---> job-cost.sh [2023-08-25T11:11:44.282Z] lf-activate-venv: SKIPPING [2023-08-25T11:11:44.282Z] INFO: No Stack... [2023-08-25T11:11:44.866Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T11:11:45.450Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:11:46.096Z] + cat /w/workspace/device-snmp-go/88/archives/cost.csv [2023-08-25T11:11:46.096Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:11:46.174Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] [2023-08-25T11:11:46.183Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] did not exist. Created. [2023-08-25T11:11:46.183Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:11:46.844Z] /w/workspace/device-snmp-go/88@tmp/durable-2c9daaa4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T11:11:47.499Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T11:11:47.520Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T11:11:47.586Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:11:47.599Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:11:47.623Z] $ docker stop --time=1 598e89bf3f124a624cffbc57b390834603c0445c231a92d4d47cd2e1dd2ee297 [2023-08-25T11:11:49.178Z] $ docker rm -f --volumes 598e89bf3f124a624cffbc57b390834603c0445c231a92d4d47cd2e1dd2ee297 [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-08-25T11:11:49.574Z] provisioning config files... [2023-08-25T11:11:49.583Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15706782955749898346tmp [Pipeline] { [Pipeline] sh [2023-08-25T11:11:49.877Z] + set +x [2023-08-25T11:11:49.878Z] + curl -s+ https://codecov.io/bash [2023-08-25T11:11:49.878Z] bash -s -- [2023-08-25T11:11:49.878Z] [2023-08-25T11:11:49.878Z] _____ _ [2023-08-25T11:11:49.878Z] / ____| | | [2023-08-25T11:11:49.878Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T11:11:49.878Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T11:11:49.878Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T11:11:49.878Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T11:11:49.878Z] Bash-1.0.6 [2023-08-25T11:11:49.878Z] [2023-08-25T11:11:49.878Z] [2023-08-25T11:11:49.878Z] ==> git version 2.25.1 found [2023-08-25T11:11:49.878Z] ==> 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-08-25T11:11:49.878Z] Release-Date: 2020-01-08 [2023-08-25T11:11:49.878Z] 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-08-25T11:11:49.878Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T11:11:49.878Z] ==> Jenkins CI detected. [2023-08-25T11:11:49.878Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-08-25T11:11:49.878Z] project root: . [2023-08-25T11:11:49.878Z] --> token set from env [2023-08-25T11:11:49.878Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T11:11:49.878Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T11:11:49.878Z] ==> Python coveragepy not found [2023-08-25T11:11:49.878Z] ==> Searching for coverage reports in: [2023-08-25T11:11:49.878Z] + . [2023-08-25T11:11:49.878Z] -> Found 1 reports [2023-08-25T11:11:49.878Z] ==> Detecting git/mercurial file structure [2023-08-25T11:11:49.878Z] ==> Reading reports [2023-08-25T11:11:49.878Z] + ./coverage.out bytes=8837 [2023-08-25T11:11:49.878Z] ==> Appending adjustments [2023-08-25T11:11:49.878Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T11:11:50.136Z] + Found adjustments [2023-08-25T11:11:50.136Z] ==> Gzipping contents [2023-08-25T11:11:50.136Z] 4.0K /tmp/codecov.iYsTOp.gz [2023-08-25T11:11:50.136Z] ==> Uploading reports [2023-08-25T11:11:50.136Z] url: https://codecov.io [2023-08-25T11:11:50.136Z] query: branch=main&commit=e8a92f41847651f05b50cd748b4aa01e803b308d&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:11:50.136Z] -> Pinging Codecov [2023-08-25T11:11:50.136Z] 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=e8a92f41847651f05b50cd748b4aa01e803b308d&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:11:50.136Z] -> Uploading to [2023-08-25T11:11:50.136Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/6C56EA5C29638FB4528AC87E60AF5AE0/e8a92f41847651f05b50cd748b4aa01e803b308d/b2adce1e-0768-45ce-b265-7a90766a7d57.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T111150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ad231d30f303583d8e46306932497eca4f2adb46db3f487f2934635343118c0 [2023-08-25T11:11:50.136Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:11:50.136Z] Dload Upload Total Spent Left Speed [2023-08-25T11:11:50.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8623 --:--:-- --:--:-- --:--:-- 8623 [2023-08-25T11:11:50.396Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] } [2023-08-25T11:11:50.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-25T11:11:50.500Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-25T11:11:50.510Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:50.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:11:50.811Z] [2023-08-25T11:11:50.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:51.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:11:51.102Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-25T11:11:51.102Z] df9b9388f04a: Pulling fs layer [2023-08-25T11:11:51.102Z] 52dc419b0ee2: Pulling fs layer [2023-08-25T11:11:51.102Z] 25bc292e5bac: Pulling fs layer [2023-08-25T11:11:51.102Z] 114826534d7a: Pulling fs layer [2023-08-25T11:11:51.102Z] 4657fd5d0bcf: Pulling fs layer [2023-08-25T11:11:51.102Z] 6ad1cebc031e: Pulling fs layer [2023-08-25T11:11:51.102Z] 8a3aa393b2d8: Pulling fs layer [2023-08-25T11:11:51.102Z] 114826534d7a: Waiting [2023-08-25T11:11:51.102Z] 8a3aa393b2d8: Waiting [2023-08-25T11:11:51.102Z] 6ad1cebc031e: Waiting [2023-08-25T11:11:51.102Z] 4657fd5d0bcf: Waiting [2023-08-25T11:11:51.102Z] 25bc292e5bac: Download complete [2023-08-25T11:11:51.102Z] 52dc419b0ee2: Download complete [2023-08-25T11:11:51.102Z] 4657fd5d0bcf: Verifying Checksum [2023-08-25T11:11:51.102Z] 4657fd5d0bcf: Download complete [2023-08-25T11:11:51.102Z] df9b9388f04a: Download complete [2023-08-25T11:11:51.363Z] df9b9388f04a: Pull complete [2023-08-25T11:11:51.363Z] 6ad1cebc031e: Verifying Checksum [2023-08-25T11:11:51.363Z] 6ad1cebc031e: Download complete [2023-08-25T11:11:51.363Z] 52dc419b0ee2: Pull complete [2023-08-25T11:11:51.363Z] 25bc292e5bac: Pull complete [2023-08-25T11:11:51.934Z] 114826534d7a: Download complete [2023-08-25T11:11:51.934Z] 8a3aa393b2d8: Verifying Checksum [2023-08-25T11:11:51.934Z] 8a3aa393b2d8: Download complete [2023-08-25T11:11:55.211Z] 114826534d7a: Pull complete [2023-08-25T11:11:55.211Z] 4657fd5d0bcf: Pull complete [2023-08-25T11:11:55.468Z] 6ad1cebc031e: Pull complete [2023-08-25T11:11:58.745Z] 8a3aa393b2d8: Pull complete [2023-08-25T11:11:58.745Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-25T11:11:58.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:11:58.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:11:58.835Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T11:11:58.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-25T11:12:00.756Z] $ docker top 434ca98dbb40b2224518a5f4c34854751d793fdf2ee333b896b72d2285ef9413 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-25T11:12:00.824Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-08-25T11:12:01.101Z] + set -o pipefail [2023-08-25T11:12:01.101Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-08-25T11:12:06.375Z] [2023-08-25T11:12:06.375Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-08-25T11:12:06.375Z] [2023-08-25T11:12:06.376Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/93a92f61-32b2-4821-9f98-b0ad536d4b2c [2023-08-25T11:12:06.376Z] [2023-08-25T11:12:06.376Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-25T11:12:06.376Z] [2023-08-25T11:12:06.376Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-25T11:12:06.376Z] [2023-08-25T11:12:06.376Z] [2023-08-25T11:12:06.376Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-25T11:12:06.376Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-25T11:12:06.376Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-25T11:12:06.385Z] $ docker stop --time=1 434ca98dbb40b2224518a5f4c34854751d793fdf2ee333b896b72d2285ef9413 [2023-08-25T11:12:08.981Z] $ docker rm -f --volumes 434ca98dbb40b2224518a5f4c34854751d793fdf2ee333b896b72d2285ef9413 [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-08-25T11:12:09.684Z] + git log --format=format:%s -1 e8a92f41847651f05b50cd748b4aa01e803b308d [Pipeline] sh [2023-08-25T11:12:09.979Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:12:09.979Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:10.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:12:10.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:10.347Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T11:12:10.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:12:10.729Z] $ docker top 40456a3d20b06328a1cdf14f7497e3bc8e21c64a41860be4605a80d77e6e9399 -eo pid,comm [2023-08-25T11:12:10.776Z] 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-08-25T11:12:10.776Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:12:10.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:12:10.813Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:12:10.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:12:10.926Z] $ docker exec 40456a3d20b06328a1cdf14f7497e3bc8e21c64a41860be4605a80d77e6e9399 ssh-agent [2023-08-25T11:12:11.033Z] SSH_AUTH_SOCK=/tmp/ssh-hLSIgnFIUNYL/agent.32 [2023-08-25T11:12:11.033Z] SSH_AGENT_PID=38 [2023-08-25T11:12:11.037Z] Running ssh-add (command line suppressed) [2023-08-25T11:12:11.139Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4634499162318784043.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4634499162318784043.key) [2023-08-25T11:12:11.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:12:11.441Z] + git semver tag [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,639 [run_tag] DEBUG tag force:False [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,639 [check_head_tag] DEBUG check head tag [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,639 [execute] INFO git cat-file --batch-check [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,640 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,643 [execute] INFO git cat-file --batch [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,653 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,653 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:12:11.700Z] 2023-08-25 11:12:11,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T11:12:11.700Z] 3.1.0-dev.2 [Pipeline] } [2023-08-25T11:12:11.709Z] $ docker exec --env ******** --env ******** 40456a3d20b06328a1cdf14f7497e3bc8e21c64a41860be4605a80d77e6e9399 ssh-agent -k [2023-08-25T11:12:11.814Z] unset SSH_AUTH_SOCK; [2023-08-25T11:12:11.815Z] unset SSH_AGENT_PID; [2023-08-25T11:12:11.815Z] echo Agent pid 38 killed; [2023-08-25T11:12:11.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:12:12.133Z] + git semver [Pipeline] } [2023-08-25T11:12:12.404Z] $ docker stop --time=1 40456a3d20b06328a1cdf14f7497e3bc8e21c64a41860be4605a80d77e6e9399 [2023-08-25T11:12:13.694Z] $ docker rm -f --volumes 40456a3d20b06328a1cdf14f7497e3bc8e21c64a41860be4605a80d77e6e9399 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:14.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:14.078Z] [2023-08-25T11:12:14.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:14.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:14.370Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-25T11:12:14.370Z] ab5ef0e58194: Pulling fs layer [2023-08-25T11:12:14.370Z] 9712f1f96733: Pulling fs layer [2023-08-25T11:12:14.370Z] 63f879dbbcfc: Pulling fs layer [2023-08-25T11:12:14.370Z] 0d9ebad4ef96: Pulling fs layer [2023-08-25T11:12:14.370Z] e9a5061849ea: Pulling fs layer [2023-08-25T11:12:14.370Z] d747dcd14b5f: Pulling fs layer [2023-08-25T11:12:14.370Z] 2de7ff778b66: Pulling fs layer [2023-08-25T11:12:14.370Z] d747dcd14b5f: Waiting [2023-08-25T11:12:14.370Z] 0d9ebad4ef96: Waiting [2023-08-25T11:12:14.370Z] 2de7ff778b66: Waiting [2023-08-25T11:12:14.370Z] 9712f1f96733: Download complete [2023-08-25T11:12:14.629Z] 63f879dbbcfc: Verifying Checksum [2023-08-25T11:12:14.629Z] 63f879dbbcfc: Download complete [2023-08-25T11:12:14.888Z] e9a5061849ea: Verifying Checksum [2023-08-25T11:12:14.888Z] e9a5061849ea: Download complete [2023-08-25T11:12:14.888Z] d747dcd14b5f: Download complete [2023-08-25T11:12:14.888Z] 0d9ebad4ef96: Verifying Checksum [2023-08-25T11:12:14.888Z] 0d9ebad4ef96: Download complete [2023-08-25T11:12:15.146Z] ab5ef0e58194: Verifying Checksum [2023-08-25T11:12:15.146Z] ab5ef0e58194: Download complete [2023-08-25T11:12:15.146Z] 2de7ff778b66: Verifying Checksum [2023-08-25T11:12:15.146Z] 2de7ff778b66: Download complete [2023-08-25T11:12:17.676Z] ab5ef0e58194: Pull complete [2023-08-25T11:12:17.676Z] 9712f1f96733: Pull complete [2023-08-25T11:12:18.241Z] 63f879dbbcfc: Pull complete [2023-08-25T11:12:22.423Z] 0d9ebad4ef96: Pull complete [2023-08-25T11:12:22.423Z] e9a5061849ea: Pull complete [2023-08-25T11:12:22.423Z] d747dcd14b5f: Pull complete [2023-08-25T11:12:22.988Z] 2de7ff778b66: Pull complete [2023-08-25T11:12:22.988Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-25T11:12:22.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:22.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:23.065Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T11:12:23.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-25T11:12:25.292Z] $ docker top cfe8fc600a220fab51fdf140bd8bfcc8cfd1d9e3cf0b8609aa34de02db119016 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:12:25.361Z] provisioning config files... [2023-08-25T11:12:25.368Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11731168440545737738tmp [2023-08-25T11:12:25.378Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7503381944553376529tmp [2023-08-25T11:12:25.389Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7953795753657111673tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:12:25.405Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:25.687Z] ---> sigul-configuration.sh [2023-08-25T11:12:25.687Z] gpg: directory `/root/.gnupg' created [2023-08-25T11:12:25.687Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-25T11:12:25.687Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-25T11:12:25.687Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-25T11:12:25.687Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-25T11:12:25.687Z] gpg: CAST5 encrypted data [2023-08-25T11:12:25.687Z] gpg: encrypted with 1 passphrase [2023-08-25T11:12:25.687Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-25T11:12:25.967Z] + mkdir /home/jenkins [2023-08-25T11:12:25.967Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-25T11:12:26.249Z] + 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-08-25T11:12:26.257Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:26.535Z] ---> sigul-install.sh [2023-08-25T11:12:26.535Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-25T11:12:26.830Z] + git tag --list [2023-08-25T11:12:26.830Z] 1.0.0 [2023-08-25T11:12:26.830Z] v0.0.0 [2023-08-25T11:12:26.830Z] v1.1.0 [2023-08-25T11:12:26.830Z] v1.1.1 [2023-08-25T11:12:26.830Z] v1.2.2 [2023-08-25T11:12:26.830Z] v1.3.0 [2023-08-25T11:12:26.830Z] v1.3.1 [2023-08-25T11:12:26.830Z] v2.0.0 [2023-08-25T11:12:26.830Z] v2.1.0 [2023-08-25T11:12:26.830Z] v2.1.1 [2023-08-25T11:12:26.830Z] v2.2.0 [2023-08-25T11:12:26.830Z] v2.3.0 [2023-08-25T11:12:26.830Z] v3.0 [2023-08-25T11:12:26.830Z] v3.0.0 [2023-08-25T11:12:26.830Z] v3.1.0-dev.1 [2023-08-25T11:12:26.830Z] v3.1.0-dev.2 [Pipeline] sh [2023-08-25T11:12:27.115Z] + lftools sign git-tag v3.1.0-dev.2 [2023-08-25T11:12:27.683Z] Signing Git tag with Sigul... [2023-08-25T11:12:27.683Z] Signing v3.1.0-dev.2 [Pipeline] echo [2023-08-25T11:12:28.260Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:28.545Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-25T11:12:28.553Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-25T11:12:28.573Z] $ docker stop --time=1 cfe8fc600a220fab51fdf140bd8bfcc8cfd1d9e3cf0b8609aa34de02db119016 [2023-08-25T11:12:29.857Z] $ docker rm -f --volumes cfe8fc600a220fab51fdf140bd8bfcc8cfd1d9e3cf0b8609aa34de02db119016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-25T11:12:30.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:12:30.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:30.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:12:30.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:30.652Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T11:12:30.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:12:31.007Z] $ docker top 93334d0ab4e8336434146e4172c4b90a1fe4c87a6950914cb443ec53d9da8273 -eo pid,comm [2023-08-25T11:12:31.049Z] 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-08-25T11:12:31.049Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:12:31.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:12:31.086Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:12:31.193Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:12:31.196Z] $ docker exec 93334d0ab4e8336434146e4172c4b90a1fe4c87a6950914cb443ec53d9da8273 ssh-agent [2023-08-25T11:12:31.311Z] SSH_AUTH_SOCK=/tmp/ssh-yWNSnqTXGDdX/agent.32 [2023-08-25T11:12:31.311Z] SSH_AGENT_PID=38 [2023-08-25T11:12:31.316Z] Running ssh-add (command line suppressed) [2023-08-25T11:12:31.409Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11089216804676522285.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11089216804676522285.key) [2023-08-25T11:12:31.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:12:31.704Z] + git semver bump pre [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,874 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,874 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,874 [bump_version] DEBUG bumped version:3.1.0-dev.3 [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,874 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,874 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,875 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,876 [execute] INFO git cat-file --batch-check [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,882 [execute] INFO git cat-file --batch [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:31.963Z] 2023-08-25 11:12:31,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T11:12:31.963Z] 3.1.0-dev.3 [Pipeline] } [2023-08-25T11:12:31.972Z] $ docker exec --env ******** --env ******** 93334d0ab4e8336434146e4172c4b90a1fe4c87a6950914cb443ec53d9da8273 ssh-agent -k [2023-08-25T11:12:32.053Z] unset SSH_AUTH_SOCK; [2023-08-25T11:12:32.053Z] unset SSH_AGENT_PID; [2023-08-25T11:12:32.053Z] echo Agent pid 38 killed; [2023-08-25T11:12:32.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:12:32.366Z] + git semver [Pipeline] } [2023-08-25T11:12:32.638Z] $ docker stop --time=1 93334d0ab4e8336434146e4172c4b90a1fe4c87a6950914cb443ec53d9da8273 [2023-08-25T11:12:33.886Z] $ docker rm -f --volumes 93334d0ab4e8336434146e4172c4b90a1fe4c87a6950914cb443ec53d9da8273 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:12:34.229Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:12:34.229Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:34.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:12:34.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:34.590Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T11:12:34.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:12:34.948Z] $ docker top 72d087e01e162f0ffd8db9c7c3858ba1ca86f970160fa897a651290016fc62af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:12:35.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:12:35.034Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:12:35.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:12:35.134Z] $ docker exec 72d087e01e162f0ffd8db9c7c3858ba1ca86f970160fa897a651290016fc62af ssh-agent [2023-08-25T11:12:35.238Z] SSH_AUTH_SOCK=/tmp/ssh-5EyMybXgpbKG/agent.32 [2023-08-25T11:12:35.238Z] SSH_AGENT_PID=38 [2023-08-25T11:12:35.243Z] Running ssh-add (command line suppressed) [2023-08-25T11:12:35.343Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_109672703683664409.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_109672703683664409.key) [2023-08-25T11:12:35.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:12:35.639Z] + git semver push [2023-08-25T11:12:35.898Z] 2023-08-25 11:12:35,863 [run_push] DEBUG push [2023-08-25T11:12:35.898Z] 2023-08-25 11:12:35,864 [execute] INFO git cat-file --batch-check [2023-08-25T11:12:35.898Z] 2023-08-25 11:12:35,864 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:35.898Z] 2023-08-25 11:12:35,868 [execute] INFO git rev-list 6c89e1af5e3c7e65da7c0dff6075e5903b239e0c -- [2023-08-25T11:12:35.898Z] 2023-08-25 11:12:35,868 [execute] DEBUG Popen(['git', 'rev-list', '6c89e1af5e3c7e65da7c0dff6075e5903b239e0c', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:12:35.898Z] 2023-08-25 11:12:35,876 [execute] INFO git fetch -v origin [2023-08-25T11:12:35.898Z] 2023-08-25 11:12:35,876 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-25T11:12:36.464Z] 2023-08-25 11:12:36,348 [run_push] DEBUG no remote changes detected [2023-08-25T11:12:36.464Z] 2023-08-25 11:12:36,349 [execute] INFO git push origin semver [2023-08-25T11:12:36.464Z] 2023-08-25 11:12:36,349 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:12:37.404Z] 2023-08-25 11:12:37,187 [run_push] DEBUG push all version tags [2023-08-25T11:12:37.404Z] 2023-08-25 11:12:37,188 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-25T11:12:37.404Z] 2023-08-25 11:12:37,188 [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-08-25T11:12:38.342Z] 2023-08-25 11:12:38,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-25T11:12:38.342Z] 3.1.0-dev.3 [Pipeline] } [2023-08-25T11:12:38.352Z] $ docker exec --env ******** --env ******** 72d087e01e162f0ffd8db9c7c3858ba1ca86f970160fa897a651290016fc62af ssh-agent -k [2023-08-25T11:12:38.432Z] unset SSH_AUTH_SOCK; [2023-08-25T11:12:38.432Z] unset SSH_AGENT_PID; [2023-08-25T11:12:38.433Z] echo Agent pid 38 killed; [2023-08-25T11:12:38.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:12:38.747Z] + git semver [Pipeline] } [2023-08-25T11:12:39.017Z] $ docker stop --time=1 72d087e01e162f0ffd8db9c7c3858ba1ca86f970160fa897a651290016fc62af [2023-08-25T11:12:40.297Z] $ docker rm -f --volumes 72d087e01e162f0ffd8db9c7c3858ba1ca86f970160fa897a651290016fc62af [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-08-25T11:12:40.819Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-08-25T11:12:40.819Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-08-25T11:12:40.819Z] total 16 [2023-08-25T11:12:40.819Z] drwxr-xr-x 3 root root 4096 Aug 25 11:00 . [2023-08-25T11:12:40.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 11:12 .. [2023-08-25T11:12:40.819Z] drwxr-xr-x 2 root root 4096 Aug 25 11:00 cost [2023-08-25T11:12:40.819Z] -rw-r--r-- 1 root root 85 Aug 25 11:00 cost.csv [2023-08-25T11:12:40.819Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-08-25T11:12:40.819Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-08-25T11:12:40.819Z] total 16 [2023-08-25T11:12:40.819Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:00 . [2023-08-25T11:12:40.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 11:12 .. [2023-08-25T11:12:40.819Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 11:00 cost [2023-08-25T11:12:40.819Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 25 11:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:41.108Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:41.966Z] ---> package-listing.sh [2023-08-25T11:12:41.966Z] ++ facter osfamily [2023-08-25T11:12:41.966Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T11:12:42.225Z] + OS_FAMILY=debian [2023-08-25T11:12:42.225Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-08-25T11:12:42.225Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T11:12:42.225Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T11:12:42.225Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T11:12:42.225Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T11:12:42.225Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-08-25T11:12:42.225Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T11:12:42.225Z] + case "${OS_FAMILY}" in [2023-08-25T11:12:42.225Z] + dpkg -l [2023-08-25T11:12:42.225Z] + grep '^ii' [2023-08-25T11:12:42.225Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T11:12:42.225Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T11:12:42.225Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T11:12:42.225Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-08-25T11:12:42.225Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-08-25T11:12:42.225Z] + 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-08-25T11:12:42.235Z] 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-08-25T11:12:42.512Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:43.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:12:43.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:43.192Z] prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container [2023-08-25T11:12:43.268Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T11:12:43.470Z] $ docker top 3227cb3ca7f4eb6aaa47dff228ffa6dd85e20286ac7a7f1dad1b638824597c63 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:12:43.801Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T11:12:44.083Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T11:12:44.363Z] + ls /var/log/sa-host [2023-08-25T11:12:44.364Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:12:44.428Z] provisioning config files... [2023-08-25T11:12:44.435Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6737174260445406929tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:12:44.447Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:44.726Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T11:12:44.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:45.053Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T11:12:45.060Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:45.340Z] ---> sudo-logs.sh [2023-08-25T11:12:45.340Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T11:12:45.374Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:45.658Z] ---> job-cost.sh [2023-08-25T11:12:45.658Z] lf-activate-venv: SKIPPING [2023-08-25T11:12:45.658Z] DEBUG: total: 0.2199999988079071 [2023-08-25T11:12:45.658Z] INFO: Retrieving Stack Cost... [2023-08-25T11:12:46.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:12:46.483Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T11:12:46.495Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:46.777Z] ---> logs-deploy.sh [2023-08-25T11:12:46.777Z] lf-activate-venv: SKIPPING [2023-08-25T11:12:46.777Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/88 [2023-08-25T11:12:46.777Z] INFO: archiving workspace using pattern(s): [2023-08-25T11:12:47.712Z] Archives upload complete. [2023-08-25T11:12:47.712Z] INFO: archiving logs to Nexus