Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9857977cf1224abf0980974ddd92ec9b34aea725 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-ssh7774502030190746470.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2887049699464855263.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh907022868355126638.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3130814144936612456.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-ssh17808635520197315382.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8432’ Running on prd-ubuntu20.04-docker-8c-8g-8434 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 9857977cf1224abf0980974ddd92ec9b34aea725 (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 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 Commit message: "Merge pull request #284 from weichou1229/interface-change" > git rev-list --no-walk e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T09:01:49.147Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T09:01:49.184Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T09:01:49.199Z] ========================================================= [2023-04-13T09:01:49.199Z] EdgeX Global Pipelines Version Info [2023-04-13T09:01:49.199Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:01:49.942Z] ------------------- [2023-04-13T09:01:49.942Z] stable info: [2023-04-13T09:01:49.942Z] ------------------- [2023-04-13T09:01:49.942Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T09:01:49.942Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T09:01:49.942Z] Message: update stable to v1.0.248 [2023-04-13T09:01:50.511Z] ------------------- [2023-04-13T09:01:50.511Z] experimental info: [2023-04-13T09:01:50.511Z] ------------------- [2023-04-13T09:01:50.511Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T09:01:50.511Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T09:01:50.511Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T09:01:50.685Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-04-13T09:01:50.696Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-04-13T09:01:50.705Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T09:01:50.713Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T09:01:50.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T09:01:50.729Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T09:01:50.743Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T09:01:50.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T09:01:50.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T09:01:50.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T09:01:50.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T09:01:50.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-04-13T09:01:50.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T09:01:50.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T09:01:50.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T09:01:50.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T09:01:50.869Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T09:01:50.881Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T09:01:50.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T09:01:50.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T09:01:50.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T09:01:50.936Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T09:01:50.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T09:01:50.964Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T09:01:50.975Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T09:01:50.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T09:01:50.997Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T09:01:51.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-13T09:01:51.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-13T09:01:51.035Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-13T09:01:51.051Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo [2023-04-13T09:01:51.063Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9857977 [Pipeline] echo [2023-04-13T09:01:51.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T09:01:51.115Z] provisioning config files... [2023-04-13T09:01:51.128Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1541323446461756097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:01:51.427Z] ---> docker-login.sh [2023-04-13T09:01:51.427Z] nexus3.edgexfoundry.org:10001 [2023-04-13T09:01:51.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:01:51.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:01:51.692Z] Configure a credential helper to remove this warning. See [2023-04-13T09:01:51.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:01:51.692Z] [2023-04-13T09:01:51.692Z] Login Succeeded [2023-04-13T09:01:51.692Z] nexus3.edgexfoundry.org:10002 [2023-04-13T09:01:51.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:01:51.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:01:51.952Z] Configure a credential helper to remove this warning. See [2023-04-13T09:01:51.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:01:51.952Z] [2023-04-13T09:01:51.952Z] Login Succeeded [2023-04-13T09:01:51.952Z] nexus3.edgexfoundry.org:10003 [2023-04-13T09:01:51.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:01:51.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:01:51.952Z] Configure a credential helper to remove this warning. See [2023-04-13T09:01:51.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:01:51.952Z] [2023-04-13T09:01:51.952Z] Login Succeeded [2023-04-13T09:01:51.952Z] nexus3.edgexfoundry.org:10004 [2023-04-13T09:01:51.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:01:51.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:01:51.952Z] Configure a credential helper to remove this warning. See [2023-04-13T09:01:51.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:01:51.952Z] [2023-04-13T09:01:52.211Z] Login Succeeded [2023-04-13T09:01:52.211Z] docker.io [2023-04-13T09:01:52.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:01:52.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:01:52.471Z] Configure a credential helper to remove this warning. See [2023-04-13T09:01:52.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:01:52.471Z] [2023-04-13T09:01:52.471Z] Login Succeeded [2023-04-13T09:01:52.471Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T09:01:52.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T09:01:52.859Z] + git rev-list -1 --merges 9857977cf1224abf0980974ddd92ec9b34aea725~1..9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo [2023-04-13T09:01:52.899Z] -----------> git rev-list -1 --merges 9857977cf1224abf0980974ddd92ec9b34aea725~1..9857977cf1224abf0980974ddd92ec9b34aea725 9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:01:52.900Z] 9857977cf1224abf0980974ddd92ec9b34aea725 [false] [Pipeline] sh [2023-04-13T09:01:53.187Z] + git log --format=format:%s -1 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo [2023-04-13T09:01:53.203Z] ========================================================= [2023-04-13T09:01:53.203Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T09:01:53.203Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T09:01:53.535Z] + git log --format=format:%s -1 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo [2023-04-13T09:01:53.546Z] [semverPrep] GIT_COMMIT: 9857977cf1224abf0980974ddd92ec9b34aea725, Commit Message: Merge pull request #284 from weichou1229/interface-change [Pipeline] echo [2023-04-13T09:01:53.556Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T09:01:53.899Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T09:01:53.899Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T09:01:53.899Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T09:01:53.899Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T09:01:53.899Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T09:01:53.899Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T09:01:53.899Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:01:54.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T09:01:54.249Z] [2023-04-13T09:01:54.249Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:01:54.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T09:01:54.554Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T09:01:54.554Z] b85a868b505f: Pulling fs layer [2023-04-13T09:01:54.554Z] e2be974225ed: Pulling fs layer [2023-04-13T09:01:54.554Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T09:01:54.554Z] 988bab9f4d93: Pulling fs layer [2023-04-13T09:01:54.554Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T09:01:54.554Z] eaf3925da568: Pulling fs layer [2023-04-13T09:01:54.554Z] bab4dde63d76: Pulling fs layer [2023-04-13T09:01:54.554Z] bde34c3a00c8: Pulling fs layer [2023-04-13T09:01:54.554Z] b352a97aabf1: Pulling fs layer [2023-04-13T09:01:54.554Z] 4872d77fe225: Pulling fs layer [2023-04-13T09:01:54.554Z] 5851b861e8e6: Pulling fs layer [2023-04-13T09:01:54.554Z] bab4dde63d76: Waiting [2023-04-13T09:01:54.554Z] bde34c3a00c8: Waiting [2023-04-13T09:01:54.554Z] 5851b861e8e6: Waiting [2023-04-13T09:01:54.554Z] b352a97aabf1: Waiting [2023-04-13T09:01:54.554Z] 988bab9f4d93: Waiting [2023-04-13T09:01:54.554Z] 1469e6f7b9e6: Waiting [2023-04-13T09:01:54.554Z] eaf3925da568: Waiting [2023-04-13T09:01:54.554Z] 4872d77fe225: Waiting [2023-04-13T09:01:54.816Z] e2be974225ed: Verifying Checksum [2023-04-13T09:01:54.816Z] e2be974225ed: Download complete [2023-04-13T09:01:54.816Z] 988bab9f4d93: Verifying Checksum [2023-04-13T09:01:54.816Z] 988bab9f4d93: Download complete [2023-04-13T09:01:54.816Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T09:01:54.816Z] 1469e6f7b9e6: Download complete [2023-04-13T09:01:54.816Z] eaf3925da568: Verifying Checksum [2023-04-13T09:01:54.816Z] eaf3925da568: Download complete [2023-04-13T09:01:54.817Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T09:01:54.817Z] 339a4e72a1f5: Download complete [2023-04-13T09:01:54.817Z] bde34c3a00c8: Verifying Checksum [2023-04-13T09:01:54.817Z] bde34c3a00c8: Download complete [2023-04-13T09:01:54.817Z] b352a97aabf1: Verifying Checksum [2023-04-13T09:01:54.817Z] b352a97aabf1: Download complete [2023-04-13T09:01:54.817Z] 4872d77fe225: Verifying Checksum [2023-04-13T09:01:54.817Z] 4872d77fe225: Download complete [2023-04-13T09:01:54.817Z] 5851b861e8e6: Verifying Checksum [2023-04-13T09:01:54.817Z] 5851b861e8e6: Download complete [2023-04-13T09:01:55.074Z] b85a868b505f: Download complete [2023-04-13T09:01:55.332Z] bab4dde63d76: Verifying Checksum [2023-04-13T09:01:55.332Z] bab4dde63d76: Download complete [2023-04-13T09:01:56.267Z] b85a868b505f: Pull complete [2023-04-13T09:01:56.527Z] e2be974225ed: Pull complete [2023-04-13T09:01:57.096Z] 339a4e72a1f5: Pull complete [2023-04-13T09:01:57.096Z] 988bab9f4d93: Pull complete [2023-04-13T09:01:57.356Z] 1469e6f7b9e6: Pull complete [2023-04-13T09:01:57.356Z] eaf3925da568: Pull complete [2023-04-13T09:01:59.260Z] bab4dde63d76: Pull complete [2023-04-13T09:01:59.520Z] bde34c3a00c8: Pull complete [2023-04-13T09:01:59.779Z] b352a97aabf1: Pull complete [2023-04-13T09:01:59.779Z] 4872d77fe225: Pull complete [2023-04-13T09:02:00.040Z] 5851b861e8e6: Pull complete [2023-04-13T09:02:00.040Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T09:02:00.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T09:02:00.040Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:02:00.142Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:02:00.175Z] $ 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-04-13T09:02:05.989Z] $ docker top b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 -eo pid,comm [2023-04-13T09:02:06.038Z] 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-04-13T09:02:06.038Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T09:02:06.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T09:02:06.077Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T09:02:06.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T09:02:06.197Z] $ docker exec b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent [2023-04-13T09:02:06.299Z] SSH_AUTH_SOCK=/tmp/ssh-9l6BcFBxZ60Z/agent.31 [2023-04-13T09:02:06.299Z] SSH_AGENT_PID=37 [2023-04-13T09:02:06.305Z] Running ssh-add (command line suppressed) [2023-04-13T09:02:06.422Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7543465613834287697.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7543465613834287697.key) [2023-04-13T09:02:06.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T09:02:06.717Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T09:02:06.740Z] $ docker exec --env ******** --env ******** b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent -k [2023-04-13T09:02:06.840Z] unset SSH_AUTH_SOCK; [2023-04-13T09:02:06.840Z] unset SSH_AGENT_PID; [2023-04-13T09:02:06.840Z] echo Agent pid 37 killed; [2023-04-13T09:02:06.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T09:02:06.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T09:02:06.872Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T09:02:06.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T09:02:06.990Z] $ docker exec b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent [2023-04-13T09:02:07.090Z] SSH_AUTH_SOCK=/tmp/ssh-7PpCXxSOaJs3/agent.69 [2023-04-13T09:02:07.090Z] SSH_AGENT_PID=75 [2023-04-13T09:02:07.095Z] Running ssh-add (command line suppressed) [2023-04-13T09:02:07.195Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18042580642056882775.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18042580642056882775.key) [2023-04-13T09:02:07.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T09:02:07.491Z] + git semver init [2023-04-13T09:02:07.750Z] 2023-04-13 09:02:07,662 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T09:02:07.750Z] 2023-04-13 09:02:07,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-13T09:02:07.750Z] 2023-04-13 09:02:07,665 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-13T09:02:07.750Z] 2023-04-13 09:02:07,666 [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-04-13T09:02:08.687Z] 2023-04-13 09:02:08,490 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-04-13T09:02:08.687Z] 2023-04-13 09:02:08,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-04-13T09:02:08.687Z] 2023-04-13 09:02:08,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:02:08.687Z] 2023-04-13 09:02:08,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:02:08.687Z] 3.0.0-dev.12 [Pipeline] } [2023-04-13T09:02:08.699Z] $ docker exec --env ******** --env ******** b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent -k [2023-04-13T09:02:08.803Z] unset SSH_AUTH_SOCK; [2023-04-13T09:02:08.804Z] unset SSH_AGENT_PID; [2023-04-13T09:02:08.804Z] echo Agent pid 75 killed; [2023-04-13T09:02:08.810Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T09:02:09.115Z] + git semver [Pipeline] } [2023-04-13T09:02:09.388Z] $ docker stop --time=1 b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 [2023-04-13T09:02:10.669Z] $ docker rm -f --volumes b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T09:02:11.012Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T09:02:11.215Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T09:02:11.218Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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-04-13T09:02:11.363Z] provisioning config files... [2023-04-13T09:02:11.372Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3187823964029632314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:02:11.671Z] ---> docker-login.sh [2023-04-13T09:02:11.671Z] nexus3.edgexfoundry.org:10001 [2023-04-13T09:02:11.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:02:11.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:02:11.671Z] Configure a credential helper to remove this warning. See [2023-04-13T09:02:11.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:02:11.671Z] [2023-04-13T09:02:11.671Z] Login Succeeded [2023-04-13T09:02:11.671Z] nexus3.edgexfoundry.org:10002 [2023-04-13T09:02:11.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:02:11.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:02:11.671Z] Configure a credential helper to remove this warning. See [2023-04-13T09:02:11.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:02:11.671Z] [2023-04-13T09:02:11.671Z] Login Succeeded [2023-04-13T09:02:11.671Z] nexus3.edgexfoundry.org:10003 [2023-04-13T09:02:11.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:02:11.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:02:11.931Z] Configure a credential helper to remove this warning. See [2023-04-13T09:02:11.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:02:11.931Z] [2023-04-13T09:02:11.931Z] Login Succeeded [2023-04-13T09:02:11.931Z] nexus3.edgexfoundry.org:10004 [2023-04-13T09:02:11.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:02:11.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:02:11.931Z] Configure a credential helper to remove this warning. See [2023-04-13T09:02:11.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:02:11.931Z] [2023-04-13T09:02:11.931Z] Login Succeeded [2023-04-13T09:02:11.931Z] docker.io [2023-04-13T09:02:11.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:02:12.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:02:12.192Z] Configure a credential helper to remove this warning. See [2023-04-13T09:02:12.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:02:12.192Z] [2023-04-13T09:02:12.192Z] Login Succeeded [2023-04-13T09:02:12.192Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T09:02:12.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T09:02:12.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T09:02:12.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T09:02:12.280Z] ========================================================= [2023-04-13T09:02:12.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T09:02:12.281Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:02:12.581Z] + 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-04-13T09:02:12.581Z] Sending build context to Docker daemon 5.755MB [2023-04-13T09:02:12.581Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T09:02:12.581Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T09:02:12.845Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T09:02:12.845Z] 63b65145d645: Pulling fs layer [2023-04-13T09:02:12.845Z] a2d21d5440eb: Pulling fs layer [2023-04-13T09:02:12.845Z] 935e6c44a52c: Pulling fs layer [2023-04-13T09:02:12.845Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T09:02:12.845Z] 30dea6a524f1: Pulling fs layer [2023-04-13T09:02:12.845Z] a2aff8979fd8: Pulling fs layer [2023-04-13T09:02:12.845Z] 6808be2612f2: Pulling fs layer [2023-04-13T09:02:12.845Z] f25807f1079a: Pulling fs layer [2023-04-13T09:02:12.845Z] 30dea6a524f1: Waiting [2023-04-13T09:02:12.845Z] f25807f1079a: Waiting [2023-04-13T09:02:12.845Z] a2aff8979fd8: Waiting [2023-04-13T09:02:12.845Z] 6808be2612f2: Waiting [2023-04-13T09:02:12.845Z] a2d21d5440eb: Verifying Checksum [2023-04-13T09:02:12.845Z] a2d21d5440eb: Download complete [2023-04-13T09:02:12.845Z] 94cc34f8dd06: Download complete [2023-04-13T09:02:12.845Z] 30dea6a524f1: Verifying Checksum [2023-04-13T09:02:12.845Z] 30dea6a524f1: Download complete [2023-04-13T09:02:12.845Z] 63b65145d645: Verifying Checksum [2023-04-13T09:02:12.845Z] 63b65145d645: Download complete [2023-04-13T09:02:12.845Z] a2aff8979fd8: Verifying Checksum [2023-04-13T09:02:12.845Z] a2aff8979fd8: Download complete [2023-04-13T09:02:12.845Z] 63b65145d645: Pull complete [2023-04-13T09:02:13.106Z] a2d21d5440eb: Pull complete [2023-04-13T09:02:13.366Z] f25807f1079a: Verifying Checksum [2023-04-13T09:02:13.366Z] f25807f1079a: Download complete [2023-04-13T09:02:13.625Z] 935e6c44a52c: Verifying Checksum [2023-04-13T09:02:13.625Z] 935e6c44a52c: Download complete [2023-04-13T09:02:13.883Z] 6808be2612f2: Verifying Checksum [2023-04-13T09:02:13.883Z] 6808be2612f2: Download complete [2023-04-13T09:02:17.168Z] 935e6c44a52c: Pull complete [2023-04-13T09:02:17.168Z] 94cc34f8dd06: Pull complete [2023-04-13T09:02:17.168Z] 30dea6a524f1: Pull complete [2023-04-13T09:02:17.427Z] a2aff8979fd8: Pull complete [2023-04-13T09:02:19.962Z] 6808be2612f2: Pull complete [2023-04-13T09:02:20.528Z] f25807f1079a: Pull complete [2023-04-13T09:02:20.528Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T09:02:20.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T09:02:20.528Z] ---> 3b553350e43f [2023-04-13T09:02:20.528Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T09:02:26.313Z] Still waiting to schedule task [2023-04-13T09:02:26.314Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8433’ [2023-04-13T09:02:28.645Z] ---> Running in ef0d0effe6a7 [2023-04-13T09:02:28.645Z] Removing intermediate container ef0d0effe6a7 [2023-04-13T09:02:28.645Z] ---> b8ff9ada4cd5 [2023-04-13T09:02:28.645Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T09:02:28.645Z] ---> Running in 20a9697e7dff [2023-04-13T09:02:28.645Z] Removing intermediate container 20a9697e7dff [2023-04-13T09:02:28.645Z] ---> b6e377a78b79 [2023-04-13T09:02:28.645Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T09:02:28.645Z] ---> Running in 86a41dbdcb9a [2023-04-13T09:02:28.645Z] Removing intermediate container 86a41dbdcb9a [2023-04-13T09:02:28.645Z] ---> ef3f7163ffdd [2023-04-13T09:02:28.645Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T09:02:28.645Z] ---> Running in 6a79549e3c4e [2023-04-13T09:02:28.645Z] Removing intermediate container 6a79549e3c4e [2023-04-13T09:02:28.645Z] ---> cb15395d5792 [2023-04-13T09:02:28.645Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T09:02:28.645Z] ---> Running in 7e911657fe3a [2023-04-13T09:02:28.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T09:02:28.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T09:02:28.905Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T09:02:28.905Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T09:02:28.905Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T09:02:28.905Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T09:02:28.905Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T09:02:28.905Z] OK: 269 MiB in 57 packages [2023-04-13T09:02:29.475Z] Removing intermediate container 7e911657fe3a [2023-04-13T09:02:29.475Z] ---> 962e46014910 [2023-04-13T09:02:29.475Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-13T09:02:29.734Z] ---> Running in c5be59d21354 [2023-04-13T09:02:29.734Z] Removing intermediate container c5be59d21354 [2023-04-13T09:02:29.734Z] ---> 54744bfec1f3 [2023-04-13T09:02:29.734Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T09:02:29.734Z] ---> 768b76f38e66 [2023-04-13T09:02:29.734Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T09:02:29.993Z] ---> Running in 81a134579070 [2023-04-13T09:03:16.674Z] Removing intermediate container 81a134579070 [2023-04-13T09:03:16.674Z] ---> fd84fa2f6e21 [2023-04-13T09:03:16.674Z] Step 11/12 : COPY . . [2023-04-13T09:03:16.674Z] ---> 8bc50196540f [2023-04-13T09:03:16.674Z] Step 12/12 : RUN ${MAKE} [2023-04-13T09:03:16.674Z] ---> Running in 5079a1d4f634 [2023-04-13T09:03:16.674Z] noop [2023-04-13T09:03:16.674Z] Removing intermediate container 5079a1d4f634 [2023-04-13T09:03:16.674Z] ---> eaf00a3d9918 [2023-04-13T09:03:16.674Z] Successfully built eaf00a3d9918 [2023-04-13T09:03:16.674Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:03:16.984Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T09:03:16.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:03:17.051Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:03:17.082Z] $ 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-04-13T09:03:17.419Z] $ docker top e1ad67734f29d17c7da56d0ea8d8ea77141ba8b1d7fa50849e043babacc46187 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T09:03:17.756Z] + go version [2023-04-13T09:03:17.756Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T09:03:17.769Z] $ docker stop --time=1 e1ad67734f29d17c7da56d0ea8d8ea77141ba8b1d7fa50849e043babacc46187 [2023-04-13T09:03:19.041Z] $ docker rm -f --volumes e1ad67734f29d17c7da56d0ea8d8ea77141ba8b1d7fa50849e043babacc46187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:03:19.418Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T09:03:19.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:03:19.484Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:03:19.515Z] $ 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-04-13T09:03:19.836Z] $ docker top 19f82435e05cd94b74ae34d30628328a3467df69249e00b675af3f8039616224 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T09:03:20.170Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-13T09:03:20.462Z] + make test [2023-04-13T09:03:20.462Z] go test ./... -coverprofile=coverage.out [2023-04-13T09:03:24.648Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-13T09:03:34.611Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-13T09:03:34.611Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-04-13T09:03:38.796Z] go vet ./... [2023-04-13T09:03:42.076Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T09:03:42.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T09:03:42.333Z] ./bin/test-attribution-txt.sh [2023-04-13T09:03:42.333Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T09:03:42.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T09:03:42.360Z] $ docker stop --time=1 19f82435e05cd94b74ae34d30628328a3467df69249e00b675af3f8039616224 [2023-04-13T09:03:45.743Z] $ docker rm -f --volumes 19f82435e05cd94b74ae34d30628328a3467df69249e00b675af3f8039616224 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T09:03:46.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T09:03:46.235Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T09:03:46.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T09:03:47.021Z] + ls -al . [2023-04-13T09:03:47.021Z] total 172 [2023-04-13T09:03:47.021Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:03 . [2023-04-13T09:03:47.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:01 .. [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:01 .dockerignore [2023-04-13T09:03:47.021Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:02 .git [2023-04-13T09:03:47.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:01 .github [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:01 .gitignore [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:01 .golangci.yml [2023-04-13T09:03:47.021Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:02 .semver [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 09:01 Attribution.txt [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 09:01 CHANGELOG.md [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 09:01 Dockerfile [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:01 GOVERNANCE.md [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:01 Jenkinsfile [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:01 LICENSE [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 09:01 Makefile [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:01 OWNERS.md [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 09:01 README.md [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:02 VERSION [2023-04-13T09:03:47.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:01 bin [2023-04-13T09:03:47.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:01 cmd [2023-04-13T09:03:47.021Z] -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 09:03 coverage.out [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 09:01 go.mod [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 09:01 go.sum [2023-04-13T09:03:47.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:01 internal [2023-04-13T09:03:47.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:01 snap [2023-04-13T09:03:47.021Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:03:47.324Z] + 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=9857977cf1224abf0980974ddd92ec9b34aea725 --label arch=amd64 --label version=3.0.0-dev.12 . [2023-04-13T09:03:47.325Z] Sending build context to Docker daemon 5.765MB [2023-04-13T09:03:47.325Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T09:03:47.325Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-13T09:03:47.325Z] ---> eaf00a3d9918 [2023-04-13T09:03:47.325Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-13T09:03:47.583Z] ---> Running in 8b9436449527 [2023-04-13T09:03:47.583Z] Removing intermediate container 8b9436449527 [2023-04-13T09:03:47.583Z] ---> bfb67329555d [2023-04-13T09:03:47.583Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T09:03:47.583Z] ---> Running in c8954e8b0357 [2023-04-13T09:03:47.842Z] Removing intermediate container c8954e8b0357 [2023-04-13T09:03:47.842Z] ---> 87fa771ec9df [2023-04-13T09:03:47.842Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T09:03:47.842Z] ---> Running in ad6fca2554f9 [2023-04-13T09:03:47.842Z] Removing intermediate container ad6fca2554f9 [2023-04-13T09:03:47.842Z] ---> 260753a05eda [2023-04-13T09:03:47.842Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T09:03:47.842Z] ---> Running in 92cf337fa424 [2023-04-13T09:03:47.842Z] Removing intermediate container 92cf337fa424 [2023-04-13T09:03:47.842Z] ---> b80c3c155a30 [2023-04-13T09:03:47.842Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T09:03:47.842Z] ---> Running in 84facfd452e6 [2023-04-13T09:03:48.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T09:03:48.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T09:03:48.617Z] OK: 269 MiB in 57 packages [2023-04-13T09:03:49.185Z] Removing intermediate container 84facfd452e6 [2023-04-13T09:03:49.185Z] ---> cf7967fa529c [2023-04-13T09:03:49.185Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-13T09:03:49.185Z] ---> Running in 8f5da1066012 [2023-04-13T09:03:49.185Z] Removing intermediate container 8f5da1066012 [2023-04-13T09:03:49.185Z] ---> c1692d6c6f47 [2023-04-13T09:03:49.185Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-13T09:03:49.185Z] ---> 4611636e6753 [2023-04-13T09:03:49.185Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T09:03:49.185Z] ---> Running in 3bc978eeee6a [2023-04-13T09:03:50.123Z] Removing intermediate container 3bc978eeee6a [2023-04-13T09:03:50.123Z] ---> 5a34b44c6c37 [2023-04-13T09:03:50.123Z] Step 11/24 : COPY . . [2023-04-13T09:03:50.381Z] ---> 4198bf0e46a9 [2023-04-13T09:03:50.381Z] Step 12/24 : RUN ${MAKE} [2023-04-13T09:03:50.381Z] ---> Running in 2386e6ad7ac0 [2023-04-13T09:03:50.639Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-13T09:04:12.637Z] Removing intermediate container 2386e6ad7ac0 [2023-04-13T09:04:12.637Z] ---> 7cdfa2959846 [2023-04-13T09:04:12.637Z] Step 13/24 : FROM alpine:3.17 [2023-04-13T09:04:12.637Z] 3.17: Pulling from library/alpine [2023-04-13T09:04:12.637Z] f56be85fc22e: Pulling fs layer [2023-04-13T09:04:12.637Z] f56be85fc22e: Verifying Checksum [2023-04-13T09:04:12.637Z] f56be85fc22e: Download complete [2023-04-13T09:04:12.637Z] f56be85fc22e: Pull complete [2023-04-13T09:04:12.637Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T09:04:12.637Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T09:04:12.637Z] ---> 9ed4aefc74f6 [2023-04-13T09:04:12.637Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-13T09:04:12.637Z] ---> Running in 2f0b287e5ad1 [2023-04-13T09:04:12.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T09:04:12.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T09:04:12.637Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T09:04:12.637Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T09:04:12.637Z] OK: 7 MiB in 16 packages [2023-04-13T09:04:12.637Z] Removing intermediate container 2f0b287e5ad1 [2023-04-13T09:04:12.637Z] ---> 2399e03526a3 [2023-04-13T09:04:12.637Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-13T09:04:13.570Z] ---> faf5e1770fb3 [2023-04-13T09:04:13.570Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-13T09:04:13.570Z] ---> aa4a1b810b6d [2023-04-13T09:04:13.570Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-13T09:04:13.881Z] ---> af2e41aac6b6 [2023-04-13T09:04:13.881Z] Step 18/24 : EXPOSE 59993 [2023-04-13T09:04:13.881Z] ---> Running in 8a2db5d8f915 [2023-04-13T09:04:13.881Z] Removing intermediate container 8a2db5d8f915 [2023-04-13T09:04:13.881Z] ---> 249adf67f581 [2023-04-13T09:04:13.881Z] Step 19/24 : EXPOSE 161 [2023-04-13T09:04:13.881Z] ---> Running in c06934c6f715 [2023-04-13T09:04:14.156Z] Removing intermediate container c06934c6f715 [2023-04-13T09:04:14.156Z] ---> 1c911c7534e3 [2023-04-13T09:04:14.156Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-13T09:04:14.156Z] ---> Running in cce3ce9d7772 [2023-04-13T09:04:14.156Z] Removing intermediate container cce3ce9d7772 [2023-04-13T09:04:14.156Z] ---> 604f8413a5dc [2023-04-13T09:04:14.156Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-13T09:04:14.156Z] ---> Running in ca7bea85e9d7 [2023-04-13T09:04:14.156Z] Removing intermediate container ca7bea85e9d7 [2023-04-13T09:04:14.156Z] ---> 1334cfd64381 [2023-04-13T09:04:14.156Z] Step 22/24 : LABEL arch=amd64 [2023-04-13T09:04:14.440Z] ---> Running in e24b629c91c5 [2023-04-13T09:04:14.440Z] Removing intermediate container e24b629c91c5 [2023-04-13T09:04:14.440Z] ---> 88bbbc468458 [2023-04-13T09:04:14.440Z] Step 23/24 : LABEL git_sha=9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:04:14.440Z] ---> Running in d446caccb549 [2023-04-13T09:04:14.440Z] Removing intermediate container d446caccb549 [2023-04-13T09:04:14.440Z] ---> 052fb0296623 [2023-04-13T09:04:14.440Z] Step 24/24 : LABEL version=3.0.0-dev.12 [2023-04-13T09:04:14.440Z] ---> Running in 873bd72be5b7 [2023-04-13T09:04:14.735Z] Removing intermediate container 873bd72be5b7 [2023-04-13T09:04:14.735Z] ---> 9e2cd198e660 [2023-04-13T09:04:14.735Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T09:04:14.735Z] Successfully built 9e2cd198e660 [2023-04-13T09:04:14.735Z] 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-04-13T09:04:14.806Z] provisioning config files... [2023-04-13T09:04:14.824Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11478124790546720659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:04:15.128Z] ---> docker-login.sh [2023-04-13T09:04:15.128Z] nexus3.edgexfoundry.org:10001 [2023-04-13T09:04:15.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:04:15.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:04:15.128Z] Configure a credential helper to remove this warning. See [2023-04-13T09:04:15.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:04:15.128Z] [2023-04-13T09:04:15.128Z] Login Succeeded [2023-04-13T09:04:15.128Z] nexus3.edgexfoundry.org:10002 [2023-04-13T09:04:15.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:04:15.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:04:15.128Z] Configure a credential helper to remove this warning. See [2023-04-13T09:04:15.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:04:15.128Z] [2023-04-13T09:04:15.128Z] Login Succeeded [2023-04-13T09:04:15.128Z] nexus3.edgexfoundry.org:10003 [2023-04-13T09:04:15.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:04:15.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:04:15.387Z] Configure a credential helper to remove this warning. See [2023-04-13T09:04:15.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:04:15.387Z] [2023-04-13T09:04:15.387Z] Login Succeeded [2023-04-13T09:04:15.387Z] nexus3.edgexfoundry.org:10004 [2023-04-13T09:04:15.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:04:15.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:04:15.387Z] Configure a credential helper to remove this warning. See [2023-04-13T09:04:15.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:04:15.387Z] [2023-04-13T09:04:15.387Z] Login Succeeded [2023-04-13T09:04:15.387Z] docker.io [2023-04-13T09:04:15.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:04:15.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:04:15.646Z] Configure a credential helper to remove this warning. See [2023-04-13T09:04:15.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:04:15.646Z] [2023-04-13T09:04:15.646Z] Login Succeeded [2023-04-13T09:04:15.646Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T09:04:15.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T09:04:15.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T09:04:15.707Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-04-13T09:04:15.707Z] 9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:04:15.707Z] latest [2023-04-13T09:04:15.707Z] 3.0.0-dev.12 [2023-04-13T09:04:15.707Z] 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [2023-04-13T09:04:15.707Z] main [2023-04-13T09:04:15.707Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:16.029Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:16.337Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:04:16.337Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-13T09:04:16.337Z] 19c66c926bc3: Preparing [2023-04-13T09:04:16.337Z] ca24b4771271: Preparing [2023-04-13T09:04:16.337Z] 249a0603b0da: Preparing [2023-04-13T09:04:16.337Z] 2dee28d83cd4: Preparing [2023-04-13T09:04:16.337Z] f1417ff83b31: Preparing [2023-04-13T09:04:16.337Z] f1417ff83b31: Layer already exists [2023-04-13T09:04:16.337Z] 2dee28d83cd4: Pushed [2023-04-13T09:04:16.337Z] 19c66c926bc3: Pushed [2023-04-13T09:04:16.337Z] ca24b4771271: Pushed [2023-04-13T09:04:18.868Z] 249a0603b0da: Pushed [2023-04-13T09:04:18.868Z] 9857977cf1224abf0980974ddd92ec9b34aea725: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:19.181Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:19.484Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-13T09:04:19.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-13T09:04:19.484Z] 19c66c926bc3: Preparing [2023-04-13T09:04:19.484Z] ca24b4771271: Preparing [2023-04-13T09:04:19.484Z] 249a0603b0da: Preparing [2023-04-13T09:04:19.484Z] 2dee28d83cd4: Preparing [2023-04-13T09:04:19.484Z] f1417ff83b31: Preparing [2023-04-13T09:04:19.484Z] 2dee28d83cd4: Layer already exists [2023-04-13T09:04:19.484Z] f1417ff83b31: Layer already exists [2023-04-13T09:04:19.484Z] ca24b4771271: Layer already exists [2023-04-13T09:04:19.484Z] 249a0603b0da: Layer already exists [2023-04-13T09:04:19.484Z] 19c66c926bc3: Layer already exists [2023-04-13T09:04:19.484Z] latest: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:19.792Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:20.100Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.12 [2023-04-13T09:04:20.100Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-13T09:04:20.100Z] 19c66c926bc3: Preparing [2023-04-13T09:04:20.100Z] ca24b4771271: Preparing [2023-04-13T09:04:20.100Z] 249a0603b0da: Preparing [2023-04-13T09:04:20.100Z] 2dee28d83cd4: Preparing [2023-04-13T09:04:20.100Z] f1417ff83b31: Preparing [2023-04-13T09:04:20.100Z] ca24b4771271: Layer already exists [2023-04-13T09:04:20.100Z] f1417ff83b31: Layer already exists [2023-04-13T09:04:20.100Z] 2dee28d83cd4: Layer already exists [2023-04-13T09:04:20.100Z] 19c66c926bc3: Layer already exists [2023-04-13T09:04:20.100Z] 249a0603b0da: Layer already exists [2023-04-13T09:04:20.100Z] 3.0.0-dev.12: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:20.408Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:20.710Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [2023-04-13T09:04:20.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-13T09:04:20.710Z] 19c66c926bc3: Preparing [2023-04-13T09:04:20.710Z] ca24b4771271: Preparing [2023-04-13T09:04:20.710Z] 249a0603b0da: Preparing [2023-04-13T09:04:20.710Z] 2dee28d83cd4: Preparing [2023-04-13T09:04:20.710Z] f1417ff83b31: Preparing [2023-04-13T09:04:20.710Z] 2dee28d83cd4: Layer already exists [2023-04-13T09:04:20.710Z] f1417ff83b31: Layer already exists [2023-04-13T09:04:20.710Z] ca24b4771271: Layer already exists [2023-04-13T09:04:20.710Z] 249a0603b0da: Layer already exists [2023-04-13T09:04:20.710Z] 19c66c926bc3: Layer already exists [2023-04-13T09:04:20.710Z] 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:21.023Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:21.328Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-04-13T09:04:21.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-13T09:04:21.328Z] 19c66c926bc3: Preparing [2023-04-13T09:04:21.328Z] ca24b4771271: Preparing [2023-04-13T09:04:21.328Z] 249a0603b0da: Preparing [2023-04-13T09:04:21.328Z] 2dee28d83cd4: Preparing [2023-04-13T09:04:21.328Z] f1417ff83b31: Preparing [2023-04-13T09:04:21.328Z] f1417ff83b31: Layer already exists [2023-04-13T09:04:21.328Z] 19c66c926bc3: Layer already exists [2023-04-13T09:04:21.328Z] ca24b4771271: Layer already exists [2023-04-13T09:04:21.328Z] 2dee28d83cd4: Layer already exists [2023-04-13T09:04:21.328Z] 249a0603b0da: Layer already exists [2023-04-13T09:04:21.328Z] main: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T09:04:21.367Z] ===================================================== [Pipeline] echo [2023-04-13T09:04:21.373Z] taggedImages: [2023-04-13T09:04:21.373Z] - nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:04:21.373Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-13T09:04:21.373Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.12 [2023-04-13T09:04:21.373Z] - nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [2023-04-13T09:04:21.373Z] - 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-04-13T09:04:21.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T09:04:21.788Z] [2023-04-13T09:04:21.788Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:04:22.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T09:04:22.085Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T09:04:22.085Z] 5eb5b503b376: Pulling fs layer [2023-04-13T09:04:22.085Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T09:04:22.085Z] ec43610c2a17: Pulling fs layer [2023-04-13T09:04:22.085Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T09:04:22.085Z] 33b1e0a273af: Pulling fs layer [2023-04-13T09:04:22.085Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T09:04:22.085Z] 2f39f015ded8: Pulling fs layer [2023-04-13T09:04:22.085Z] 5d3b04190fa2: Waiting [2023-04-13T09:04:22.085Z] 33b1e0a273af: Waiting [2023-04-13T09:04:22.085Z] 2f39f015ded8: Waiting [2023-04-13T09:04:22.085Z] 3a2ae6a8a46f: Waiting [2023-04-13T09:04:22.085Z] 5c69ac0246d0: Verifying Checksum [2023-04-13T09:04:22.085Z] 5c69ac0246d0: Download complete [2023-04-13T09:04:22.085Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-13T09:04:22.085Z] 3a2ae6a8a46f: Download complete [2023-04-13T09:04:22.085Z] 33b1e0a273af: Verifying Checksum [2023-04-13T09:04:22.085Z] 33b1e0a273af: Download complete [2023-04-13T09:04:22.085Z] 5d3b04190fa2: Verifying Checksum [2023-04-13T09:04:22.085Z] 5d3b04190fa2: Download complete [2023-04-13T09:04:22.344Z] ec43610c2a17: Verifying Checksum [2023-04-13T09:04:22.344Z] ec43610c2a17: Download complete [2023-04-13T09:04:22.344Z] 5eb5b503b376: Verifying Checksum [2023-04-13T09:04:22.344Z] 5eb5b503b376: Download complete [2023-04-13T09:04:22.908Z] 2f39f015ded8: Download complete [2023-04-13T09:04:23.474Z] 5eb5b503b376: Pull complete [2023-04-13T09:04:23.474Z] 5c69ac0246d0: Pull complete [2023-04-13T09:04:24.040Z] ec43610c2a17: Pull complete [2023-04-13T09:04:24.040Z] 3a2ae6a8a46f: Pull complete [2023-04-13T09:04:24.299Z] 33b1e0a273af: Pull complete [2023-04-13T09:04:24.299Z] 5d3b04190fa2: Pull complete [2023-04-13T09:04:28.479Z] 2f39f015ded8: Pull complete [2023-04-13T09:04:28.479Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T09:04:28.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T09:04:28.479Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:04:28.558Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:04:28.593Z] $ 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-04-13T09:04:33.466Z] $ docker top 8ce039fe2d6a164874361090fb1da191e42fd609ea901fc3ae664e66c7cd6fab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:04:33.827Z] ---> job-cost.sh [2023-04-13T09:04:33.827Z] lf-activate-venv: SKIPPING [2023-04-13T09:04:33.827Z] INFO: No Stack... [2023-04-13T09:04:34.085Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T09:04:34.652Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T09:04:34.940Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-04-13T09:04:34.940Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T09:04:34.950Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [2023-04-13T09:04:34.956Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] did not exist. Created. [2023-04-13T09:04:34.956Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T09:04:35.256Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T09:04:35.281Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T09:04:35.288Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T09:04:35.306Z] $ docker stop --time=1 8ce039fe2d6a164874361090fb1da191e42fd609ea901fc3ae664e66c7cd6fab [2023-04-13T09:04:36.479Z] $ docker rm -f --volumes 8ce039fe2d6a164874361090fb1da191e42fd609ea901fc3ae664e66c7cd6fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T09:04:45.133Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8436 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-04-13T09:04:45.146Z] Running in /w/workspace/device-snmp-go/69 [Pipeline] { [Pipeline] checkout [2023-04-13T09:04:45.188Z] Selected Git installation does not exist. Using Default [2023-04-13T09:04:45.188Z] The recommended git tool is: NONE [2023-04-13T09:04:50.942Z] using credential edgex-jenkins-ssh [2023-04-13T09:04:50.961Z] Cloning the remote Git repository [2023-04-13T09:04:51.017Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-04-13T09:04:51.124Z] > git init /w/workspace/device-snmp-go/69 # timeout=10 [2023-04-13T09:04:51.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-13T09:04:51.284Z] > git --version # timeout=10 [2023-04-13T09:04:51.305Z] > git --version # 'git version 2.25.1' [2023-04-13T09:04:51.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T09:04:51.491Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T09:04:52.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-13T09:04:52.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T09:04:53.575Z] Avoid second fetch [2023-04-13T09:04:53.575Z] Checking out Revision 9857977cf1224abf0980974ddd92ec9b34aea725 (main) [2023-04-13T09:04:53.596Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T09:04:53.688Z] > git checkout -f 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 [2023-04-13T09:04:54.233Z] Commit message: "Merge pull request #284 from weichou1229/interface-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T09:04:55.275Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T09:04:55.275Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T09:04:55.275Z] Dload Upload Total Spent Left Speed [2023-04-13T09:04:55.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-04-13T09:04:56.008Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T09:04:56.346Z] + + sudo teesudo /etc/docker/daemon.new jq [2023-04-13T09:04:56.346Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-13T09:04:56.346Z] { [2023-04-13T09:04:56.346Z] "registry-mirrors": [ [2023-04-13T09:04:56.346Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T09:04:56.346Z] ], [2023-04-13T09:04:56.346Z] "bip": "10.250.0.254/24", [2023-04-13T09:04:56.346Z] "hosts": [ [2023-04-13T09:04:56.346Z] "tcp://0.0.0.0:5555", [2023-04-13T09:04:56.346Z] "unix:///var/run/docker.sock" [2023-04-13T09:04:56.346Z] ], [2023-04-13T09:04:56.346Z] "mtu": 1458, [2023-04-13T09:04:56.346Z] "selinux-enabled": true, [2023-04-13T09:04:56.346Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T09:04:56.346Z] } [Pipeline] sh [2023-04-13T09:04:56.705Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T09:04:57.069Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T09:05:15.357Z] provisioning config files... [2023-04-13T09:05:15.384Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/69@tmp/config1818674124260631016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:05:15.747Z] ---> docker-login.sh [2023-04-13T09:05:15.747Z] nexus3.edgexfoundry.org:10001 [2023-04-13T09:05:16.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:05:16.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:05:16.338Z] Configure a credential helper to remove this warning. See [2023-04-13T09:05:16.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:05:16.338Z] [2023-04-13T09:05:16.338Z] Login Succeeded [2023-04-13T09:05:16.338Z] nexus3.edgexfoundry.org:10002 [2023-04-13T09:05:16.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:05:16.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:05:16.879Z] Configure a credential helper to remove this warning. See [2023-04-13T09:05:16.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:05:16.880Z] [2023-04-13T09:05:16.880Z] Login Succeeded [2023-04-13T09:05:16.880Z] nexus3.edgexfoundry.org:10003 [2023-04-13T09:05:17.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:05:17.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:05:17.150Z] Configure a credential helper to remove this warning. See [2023-04-13T09:05:17.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:05:17.150Z] [2023-04-13T09:05:17.150Z] Login Succeeded [2023-04-13T09:05:17.150Z] nexus3.edgexfoundry.org:10004 [2023-04-13T09:05:17.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:05:17.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:05:17.423Z] Configure a credential helper to remove this warning. See [2023-04-13T09:05:17.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:05:17.423Z] [2023-04-13T09:05:17.423Z] Login Succeeded [2023-04-13T09:05:17.423Z] docker.io [2023-04-13T09:05:17.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:05:17.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:05:17.966Z] Configure a credential helper to remove this warning. See [2023-04-13T09:05:17.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:05:17.966Z] [2023-04-13T09:05:17.966Z] Login Succeeded [2023-04-13T09:05:17.966Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T09:05:17.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T09:05:18.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T09:05:18.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T09:05:18.314Z] ========================================================= [2023-04-13T09:05:18.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T09:05:18.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:05:18.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-04-13T09:05:18.947Z] Sending build context to Docker daemon 2.981MB [2023-04-13T09:05:18.948Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T09:05:18.948Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T09:05:19.221Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T09:05:19.221Z] af6eaf76a39c: Pulling fs layer [2023-04-13T09:05:19.221Z] 55522c791124: Pulling fs layer [2023-04-13T09:05:19.221Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T09:05:19.221Z] 169dfbe0d373: Pulling fs layer [2023-04-13T09:05:19.221Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T09:05:19.221Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T09:05:19.221Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T09:05:19.221Z] 169dfbe0d373: Waiting [2023-04-13T09:05:19.221Z] e1ff8fa3b103: Waiting [2023-04-13T09:05:19.221Z] 52ebb69f0ebf: Waiting [2023-04-13T09:05:19.221Z] 5abe8eddf0d5: Waiting [2023-04-13T09:05:19.221Z] 55522c791124: Verifying Checksum [2023-04-13T09:05:19.221Z] 55522c791124: Download complete [2023-04-13T09:05:19.221Z] 169dfbe0d373: Verifying Checksum [2023-04-13T09:05:19.221Z] 169dfbe0d373: Download complete [2023-04-13T09:05:19.221Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T09:05:19.221Z] e1ff8fa3b103: Download complete [2023-04-13T09:05:19.221Z] af6eaf76a39c: Verifying Checksum [2023-04-13T09:05:19.221Z] af6eaf76a39c: Download complete [2023-04-13T09:05:20.210Z] af6eaf76a39c: Pull complete [2023-04-13T09:05:20.486Z] 5abe8eddf0d5: Verifying Checksum [2023-04-13T09:05:20.486Z] 5abe8eddf0d5: Download complete [2023-04-13T09:05:20.757Z] 55522c791124: Pull complete [2023-04-13T09:05:21.734Z] ce5c4a1c91eb: Verifying Checksum [2023-04-13T09:05:21.734Z] ce5c4a1c91eb: Download complete [2023-04-13T09:05:21.734Z] 52ebb69f0ebf: Download complete [2023-04-13T09:05:34.080Z] ce5c4a1c91eb: Pull complete [2023-04-13T09:05:34.080Z] 169dfbe0d373: Pull complete [2023-04-13T09:05:34.080Z] e1ff8fa3b103: Pull complete [2023-04-13T09:05:40.741Z] 52ebb69f0ebf: Pull complete [2023-04-13T09:05:41.719Z] 5abe8eddf0d5: Pull complete [2023-04-13T09:05:41.719Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T09:05:41.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T09:05:41.719Z] ---> 6cb57ee374ae [2023-04-13T09:05:41.719Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T09:05:43.705Z] ---> Running in 8989e48a6042 [2023-04-13T09:05:43.973Z] Removing intermediate container 8989e48a6042 [2023-04-13T09:05:43.973Z] ---> 2e612c46ff82 [2023-04-13T09:05:43.973Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T09:05:43.973Z] ---> Running in 60f5400419a0 [2023-04-13T09:05:44.242Z] Removing intermediate container 60f5400419a0 [2023-04-13T09:05:44.242Z] ---> e4c34dfd30b4 [2023-04-13T09:05:44.242Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T09:05:44.511Z] ---> Running in b2037699c5aa [2023-04-13T09:05:44.782Z] Removing intermediate container b2037699c5aa [2023-04-13T09:05:44.782Z] ---> 8be2867f84e7 [2023-04-13T09:05:44.782Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T09:05:44.782Z] ---> Running in d0fa52519aa2 [2023-04-13T09:05:45.049Z] Removing intermediate container d0fa52519aa2 [2023-04-13T09:05:45.049Z] ---> df4492ccf597 [2023-04-13T09:05:45.049Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T09:05:45.317Z] ---> Running in 0295bd92ba4f [2023-04-13T09:05:46.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T09:05:47.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T09:05:48.216Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T09:05:48.216Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T09:05:48.216Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T09:05:48.216Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T09:05:48.521Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T09:05:48.521Z] OK: 268 MiB in 57 packages [2023-04-13T09:05:49.545Z] Removing intermediate container 0295bd92ba4f [2023-04-13T09:05:49.545Z] ---> 1c0d47bfb85b [2023-04-13T09:05:49.545Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-13T09:05:49.545Z] ---> Running in ebd63099f29c [2023-04-13T09:05:49.829Z] Removing intermediate container ebd63099f29c [2023-04-13T09:05:49.829Z] ---> f4b6ef8dd5ce [2023-04-13T09:05:49.829Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T09:05:50.417Z] ---> 55068491e8f9 [2023-04-13T09:05:50.417Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T09:05:50.417Z] ---> Running in f269f34911ee [2023-04-13T09:06:58.330Z] Removing intermediate container f269f34911ee [2023-04-13T09:06:58.330Z] ---> d3314a646e09 [2023-04-13T09:06:58.330Z] Step 11/12 : COPY . . [2023-04-13T09:06:58.330Z] ---> 7b6ba69b202c [2023-04-13T09:06:58.330Z] Step 12/12 : RUN ${MAKE} [2023-04-13T09:06:58.330Z] ---> Running in 8d01321e688a [2023-04-13T09:06:58.330Z] noop [2023-04-13T09:06:58.330Z] Removing intermediate container 8d01321e688a [2023-04-13T09:06:58.330Z] ---> 8079003bfe56 [2023-04-13T09:06:58.330Z] Successfully built 8079003bfe56 [2023-04-13T09:06:58.330Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:06:58.676Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T09:06:58.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:06:58.898Z] prd-ubuntu20.04-docker-arm64-4c-16g-8436 does not seem to be running inside a container [2023-04-13T09:06:58.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/69 -v /w/workspace/device-snmp-go/69:/w/workspace/device-snmp-go/69:rw,z -v /w/workspace/device-snmp-go/69@tmp:/w/workspace/device-snmp-go/69@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-04-13T09:07:00.238Z] $ docker top 4dfe8763fab7df660a68ac19478b0a4de464547e3097b6c7b6b20b184ba148b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T09:07:01.056Z] + go version [2023-04-13T09:07:01.057Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T09:07:01.084Z] $ docker stop --time=1 4dfe8763fab7df660a68ac19478b0a4de464547e3097b6c7b6b20b184ba148b5 [2023-04-13T09:07:02.702Z] $ docker rm -f --volumes 4dfe8763fab7df660a68ac19478b0a4de464547e3097b6c7b6b20b184ba148b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:07:03.228Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T09:07:03.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:07:03.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-8436 does not seem to be running inside a container [2023-04-13T09:07:03.485Z] $ 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/69 -v /w/workspace/device-snmp-go/69:/w/workspace/device-snmp-go/69:rw,z -v /w/workspace/device-snmp-go/69@tmp:/w/workspace/device-snmp-go/69@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-04-13T09:07:04.691Z] $ docker top b5ee6cc1453b4ea057c71bbb8d8c2bcbdcecf1f0f58c95856b3af7476d2e58f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T09:07:05.194Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/69 [Pipeline] fileExists [Pipeline] sh [2023-04-13T09:07:05.795Z] + make test [2023-04-13T09:07:05.796Z] go test ./... -coverprofile=coverage.out [2023-04-13T09:07:44.911Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-13T09:09:51.638Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-13T09:09:51.638Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements [2023-04-13T09:09:51.638Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-13T09:09:51.638Z] go vet ./... [2023-04-13T09:10:30.542Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T09:10:30.542Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T09:10:30.542Z] ./bin/test-attribution-txt.sh [2023-04-13T09:10:30.542Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T09:10:30.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T09:10:30.585Z] $ docker stop --time=1 b5ee6cc1453b4ea057c71bbb8d8c2bcbdcecf1f0f58c95856b3af7476d2e58f7 [2023-04-13T09:10:32.520Z] $ docker rm -f --volumes b5ee6cc1453b4ea057c71bbb8d8c2bcbdcecf1f0f58c95856b3af7476d2e58f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T09:10:33.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T09:10:33.754Z] Warning: overwriting stash ‘coverage-report’ [2023-04-13T09:10:34.267Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T09:10:34.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T09:10:34.984Z] + ls -al . [2023-04-13T09:10:34.984Z] total 168 [2023-04-13T09:10:34.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:07 . [2023-04-13T09:10:34.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:04 .. [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:04 .dockerignore [2023-04-13T09:10:34.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:04 .git [2023-04-13T09:10:34.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:04 .github [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:04 .gitignore [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:04 .golangci.yml [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 09:04 Attribution.txt [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 09:04 CHANGELOG.md [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 09:04 Dockerfile [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:04 GOVERNANCE.md [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:04 Jenkinsfile [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:04 LICENSE [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 09:04 Makefile [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:04 OWNERS.md [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 09:04 README.md [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:02 VERSION [2023-04-13T09:10:34.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:04 bin [2023-04-13T09:10:34.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:04 cmd [2023-04-13T09:10:34.984Z] -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 09:09 coverage.out [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 09:04 go.mod [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 09:04 go.sum [2023-04-13T09:10:34.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:04 internal [2023-04-13T09:10:34.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:04 snap [2023-04-13T09:10:34.984Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 09:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:10:35.328Z] + 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=9857977cf1224abf0980974ddd92ec9b34aea725 --label arch=arm64 --label version=3.0.0-dev.12 . [2023-04-13T09:10:35.597Z] Sending build context to Docker daemon 2.991MB [2023-04-13T09:10:35.597Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T09:10:35.597Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-13T09:10:35.597Z] ---> 8079003bfe56 [2023-04-13T09:10:35.597Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-13T09:10:38.188Z] ---> Running in 541f92db13b3 [2023-04-13T09:10:38.466Z] Removing intermediate container 541f92db13b3 [2023-04-13T09:10:38.466Z] ---> d0282957efaf [2023-04-13T09:10:38.466Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T09:10:38.466Z] ---> Running in 54fabaae9d69 [2023-04-13T09:10:39.056Z] Removing intermediate container 54fabaae9d69 [2023-04-13T09:10:39.056Z] ---> e31ef4a30ebe [2023-04-13T09:10:39.056Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T09:10:39.056Z] ---> Running in 9b59eecae45c [2023-04-13T09:10:39.325Z] Removing intermediate container 9b59eecae45c [2023-04-13T09:10:39.325Z] ---> 9be1e852479a [2023-04-13T09:10:39.325Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T09:10:39.325Z] ---> Running in a3af0cfa7c1d [2023-04-13T09:10:39.596Z] Removing intermediate container a3af0cfa7c1d [2023-04-13T09:10:39.596Z] ---> d7048cd82221 [2023-04-13T09:10:39.596Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T09:10:39.596Z] ---> Running in d858bb769f81 [2023-04-13T09:10:41.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T09:10:41.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T09:10:42.610Z] OK: 268 MiB in 57 packages [2023-04-13T09:10:43.578Z] Removing intermediate container d858bb769f81 [2023-04-13T09:10:43.578Z] ---> d5fa0c3aad23 [2023-04-13T09:10:43.578Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-13T09:10:43.851Z] ---> Running in 003f8b3cc853 [2023-04-13T09:10:44.122Z] Removing intermediate container 003f8b3cc853 [2023-04-13T09:10:44.122Z] ---> b582b76e6ef5 [2023-04-13T09:10:44.122Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-13T09:10:44.711Z] ---> d8a69c41dc59 [2023-04-13T09:10:44.711Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T09:10:44.711Z] ---> Running in 805a6bbe0ea5 [2023-04-13T09:10:47.302Z] Removing intermediate container 805a6bbe0ea5 [2023-04-13T09:10:47.302Z] ---> 518e482a6c71 [2023-04-13T09:10:47.302Z] Step 11/24 : COPY . . [2023-04-13T09:10:48.271Z] ---> fc1043ce3fe9 [2023-04-13T09:10:48.271Z] Step 12/24 : RUN ${MAKE} [2023-04-13T09:10:48.271Z] ---> Running in 2b4bdc004139 [2023-04-13T09:10:49.242Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-13T09:13:10.985Z] Removing intermediate container 2b4bdc004139 [2023-04-13T09:13:10.985Z] ---> 5b88edcedd7f [2023-04-13T09:13:10.985Z] Step 13/24 : FROM alpine:3.17 [2023-04-13T09:13:10.985Z] 3.17: Pulling from library/alpine [2023-04-13T09:13:10.985Z] c41833b44d91: Pulling fs layer [2023-04-13T09:13:10.985Z] c41833b44d91: Verifying Checksum [2023-04-13T09:13:10.985Z] c41833b44d91: Download complete [2023-04-13T09:13:10.985Z] c41833b44d91: Pull complete [2023-04-13T09:13:10.985Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T09:13:10.985Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T09:13:10.985Z] ---> 51e60588ff2c [2023-04-13T09:13:10.985Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-13T09:13:10.985Z] ---> Running in eb251033940b [2023-04-13T09:13:11.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T09:13:12.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T09:13:13.881Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T09:13:13.881Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T09:13:13.881Z] OK: 8 MiB in 16 packages [2023-04-13T09:13:14.845Z] Removing intermediate container eb251033940b [2023-04-13T09:13:14.845Z] ---> 4eaf22b16b59 [2023-04-13T09:13:14.845Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-13T09:13:16.255Z] ---> ce2f6ad0315c [2023-04-13T09:13:16.255Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-13T09:13:18.204Z] ---> 4f321313fcb8 [2023-04-13T09:13:18.204Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-13T09:13:18.789Z] ---> bedf6bc86424 [2023-04-13T09:13:18.789Z] Step 18/24 : EXPOSE 59993 [2023-04-13T09:13:18.789Z] ---> Running in 4da11eb2d9d0 [2023-04-13T09:13:19.056Z] Removing intermediate container 4da11eb2d9d0 [2023-04-13T09:13:19.056Z] ---> 337a99e5918f [2023-04-13T09:13:19.056Z] Step 19/24 : EXPOSE 161 [2023-04-13T09:13:19.329Z] ---> Running in 3c3e5580c09d [2023-04-13T09:13:19.597Z] Removing intermediate container 3c3e5580c09d [2023-04-13T09:13:19.597Z] ---> f49ce98d998c [2023-04-13T09:13:19.597Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-13T09:13:19.597Z] ---> Running in d65993f9bdb0 [2023-04-13T09:13:19.866Z] Removing intermediate container d65993f9bdb0 [2023-04-13T09:13:19.866Z] ---> e8181e3288a8 [2023-04-13T09:13:19.866Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-13T09:13:19.866Z] ---> Running in 8be12a8aa08a [2023-04-13T09:13:20.451Z] Removing intermediate container 8be12a8aa08a [2023-04-13T09:13:20.451Z] ---> c9c9f3052f29 [2023-04-13T09:13:20.451Z] Step 22/24 : LABEL arch=arm64 [2023-04-13T09:13:20.451Z] ---> Running in b0d99c95fbe9 [2023-04-13T09:13:20.719Z] Removing intermediate container b0d99c95fbe9 [2023-04-13T09:13:20.719Z] ---> 03fdfb3b831f [2023-04-13T09:13:20.719Z] Step 23/24 : LABEL git_sha=9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:13:20.719Z] ---> Running in 2f67a3ccf4f3 [2023-04-13T09:13:20.988Z] Removing intermediate container 2f67a3ccf4f3 [2023-04-13T09:13:20.988Z] ---> 3678bca2cb54 [2023-04-13T09:13:20.988Z] Step 24/24 : LABEL version=3.0.0-dev.12 [2023-04-13T09:13:20.988Z] ---> Running in 9d64384240cf [2023-04-13T09:13:21.256Z] Removing intermediate container 9d64384240cf [2023-04-13T09:13:21.256Z] ---> 22aacef30d68 [2023-04-13T09:13:21.256Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T09:13:21.523Z] Successfully built 22aacef30d68 [2023-04-13T09:13:21.523Z] 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-04-13T09:13:21.631Z] provisioning config files... [2023-04-13T09:13:21.648Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/69@tmp/config784466175395744379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:13:21.982Z] ---> docker-login.sh [2023-04-13T09:13:21.982Z] nexus3.edgexfoundry.org:10001 [2023-04-13T09:13:22.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:13:22.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:13:22.251Z] Configure a credential helper to remove this warning. See [2023-04-13T09:13:22.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:13:22.251Z] [2023-04-13T09:13:22.251Z] Login Succeeded [2023-04-13T09:13:22.251Z] nexus3.edgexfoundry.org:10002 [2023-04-13T09:13:22.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:13:22.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:13:22.519Z] Configure a credential helper to remove this warning. See [2023-04-13T09:13:22.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:13:22.519Z] [2023-04-13T09:13:22.519Z] Login Succeeded [2023-04-13T09:13:22.519Z] nexus3.edgexfoundry.org:10003 [2023-04-13T09:13:22.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:13:23.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:13:23.057Z] Configure a credential helper to remove this warning. See [2023-04-13T09:13:23.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:13:23.057Z] [2023-04-13T09:13:23.057Z] Login Succeeded [2023-04-13T09:13:23.057Z] nexus3.edgexfoundry.org:10004 [2023-04-13T09:13:23.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:13:23.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:13:23.388Z] Configure a credential helper to remove this warning. See [2023-04-13T09:13:23.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:13:23.388Z] [2023-04-13T09:13:23.388Z] Login Succeeded [2023-04-13T09:13:23.388Z] docker.io [2023-04-13T09:13:23.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T09:13:23.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T09:13:23.933Z] Configure a credential helper to remove this warning. See [2023-04-13T09:13:23.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T09:13:23.933Z] [2023-04-13T09:13:23.933Z] Login Succeeded [2023-04-13T09:13:23.933Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T09:13:23.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T09:13:23.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T09:13:24.002Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-04-13T09:13:24.002Z] 9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:13:24.002Z] latest [2023-04-13T09:13:24.002Z] 3.0.0-dev.12 [2023-04-13T09:13:24.002Z] 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [2023-04-13T09:13:24.002Z] main [2023-04-13T09:13:24.002Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:24.355Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:24.733Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:13:24.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-13T09:13:24.734Z] f85f90b68dd2: Preparing [2023-04-13T09:13:24.734Z] 71d06d589123: Preparing [2023-04-13T09:13:24.734Z] 8d7718be7950: Preparing [2023-04-13T09:13:24.734Z] 52d324038e9e: Preparing [2023-04-13T09:13:24.734Z] 26cbea5cba74: Preparing [2023-04-13T09:13:24.734Z] 26cbea5cba74: Layer already exists [2023-04-13T09:13:25.008Z] 71d06d589123: Pushed [2023-04-13T09:13:25.008Z] f85f90b68dd2: Pushed [2023-04-13T09:13:25.008Z] 52d324038e9e: Pushed [2023-04-13T09:13:30.371Z] 8d7718be7950: Pushed [2023-04-13T09:13:30.371Z] 9857977cf1224abf0980974ddd92ec9b34aea725: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:30.725Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:31.077Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-13T09:13:31.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-13T09:13:31.078Z] f85f90b68dd2: Preparing [2023-04-13T09:13:31.078Z] 71d06d589123: Preparing [2023-04-13T09:13:31.078Z] 8d7718be7950: Preparing [2023-04-13T09:13:31.078Z] 52d324038e9e: Preparing [2023-04-13T09:13:31.078Z] 26cbea5cba74: Preparing [2023-04-13T09:13:31.078Z] 26cbea5cba74: Layer already exists [2023-04-13T09:13:31.078Z] 52d324038e9e: Layer already exists [2023-04-13T09:13:31.078Z] 71d06d589123: Layer already exists [2023-04-13T09:13:31.078Z] 8d7718be7950: Layer already exists [2023-04-13T09:13:31.078Z] f85f90b68dd2: Layer already exists [2023-04-13T09:13:31.347Z] latest: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:31.694Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:32.038Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.12 [2023-04-13T09:13:32.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-13T09:13:32.038Z] f85f90b68dd2: Preparing [2023-04-13T09:13:32.038Z] 71d06d589123: Preparing [2023-04-13T09:13:32.038Z] 8d7718be7950: Preparing [2023-04-13T09:13:32.038Z] 52d324038e9e: Preparing [2023-04-13T09:13:32.038Z] 26cbea5cba74: Preparing [2023-04-13T09:13:32.038Z] 71d06d589123: Layer already exists [2023-04-13T09:13:32.038Z] 52d324038e9e: Layer already exists [2023-04-13T09:13:32.038Z] 8d7718be7950: Layer already exists [2023-04-13T09:13:32.038Z] 26cbea5cba74: Layer already exists [2023-04-13T09:13:32.038Z] f85f90b68dd2: Layer already exists [2023-04-13T09:13:32.038Z] 3.0.0-dev.12: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:32.661Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:33.007Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [2023-04-13T09:13:33.007Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-13T09:13:33.007Z] f85f90b68dd2: Preparing [2023-04-13T09:13:33.007Z] 71d06d589123: Preparing [2023-04-13T09:13:33.007Z] 8d7718be7950: Preparing [2023-04-13T09:13:33.007Z] 52d324038e9e: Preparing [2023-04-13T09:13:33.007Z] 26cbea5cba74: Preparing [2023-04-13T09:13:33.007Z] f85f90b68dd2: Layer already exists [2023-04-13T09:13:33.007Z] 26cbea5cba74: Layer already exists [2023-04-13T09:13:33.007Z] 52d324038e9e: Layer already exists [2023-04-13T09:13:33.007Z] 8d7718be7950: Layer already exists [2023-04-13T09:13:33.007Z] 71d06d589123: Layer already exists [2023-04-13T09:13:33.007Z] 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:33.626Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:33.975Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-04-13T09:13:33.975Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-13T09:13:33.975Z] f85f90b68dd2: Preparing [2023-04-13T09:13:33.975Z] 71d06d589123: Preparing [2023-04-13T09:13:33.975Z] 8d7718be7950: Preparing [2023-04-13T09:13:33.975Z] 52d324038e9e: Preparing [2023-04-13T09:13:33.975Z] 26cbea5cba74: Preparing [2023-04-13T09:13:33.975Z] 71d06d589123: Layer already exists [2023-04-13T09:13:33.975Z] 8d7718be7950: Layer already exists [2023-04-13T09:13:33.975Z] 52d324038e9e: Layer already exists [2023-04-13T09:13:33.975Z] f85f90b68dd2: Layer already exists [2023-04-13T09:13:33.975Z] 26cbea5cba74: Layer already exists [2023-04-13T09:13:34.243Z] main: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T09:13:34.289Z] ===================================================== [Pipeline] echo [2023-04-13T09:13:34.295Z] taggedImages: [2023-04-13T09:13:34.295Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725 [2023-04-13T09:13:34.295Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-13T09:13:34.295Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.12 [2023-04-13T09:13:34.295Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [2023-04-13T09:13:34.295Z] - 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-04-13T09:13:34.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T09:13:34.659Z] [2023-04-13T09:13:34.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:13:34.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T09:13:34.999Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T09:13:34.999Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T09:13:34.999Z] 04944245beec: Pulling fs layer [2023-04-13T09:13:34.999Z] 699f458cf7ca: Pulling fs layer [2023-04-13T09:13:34.999Z] 765212b225bb: Pulling fs layer [2023-04-13T09:13:34.999Z] f23df028b6ca: Pulling fs layer [2023-04-13T09:13:34.999Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T09:13:34.999Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T09:13:34.999Z] 765212b225bb: Waiting [2023-04-13T09:13:34.999Z] f23df028b6ca: Waiting [2023-04-13T09:13:35.271Z] d65c8cfc05b1: Waiting [2023-04-13T09:13:35.271Z] 2437ff75d9bd: Waiting [2023-04-13T09:13:35.271Z] 04944245beec: Verifying Checksum [2023-04-13T09:13:35.271Z] 04944245beec: Download complete [2023-04-13T09:13:35.271Z] 765212b225bb: Verifying Checksum [2023-04-13T09:13:35.271Z] 765212b225bb: Download complete [2023-04-13T09:13:35.271Z] f23df028b6ca: Verifying Checksum [2023-04-13T09:13:35.271Z] f23df028b6ca: Download complete [2023-04-13T09:13:35.271Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T09:13:35.271Z] d65c8cfc05b1: Download complete [2023-04-13T09:13:35.541Z] 699f458cf7ca: Verifying Checksum [2023-04-13T09:13:35.541Z] 699f458cf7ca: Download complete [2023-04-13T09:13:35.809Z] 8998bd30e6a1: Download complete [2023-04-13T09:13:37.752Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T09:13:37.752Z] 2437ff75d9bd: Download complete [2023-04-13T09:13:39.695Z] 8998bd30e6a1: Pull complete [2023-04-13T09:13:39.962Z] 04944245beec: Pull complete [2023-04-13T09:13:41.373Z] 699f458cf7ca: Pull complete [2023-04-13T09:13:41.641Z] 765212b225bb: Pull complete [2023-04-13T09:13:42.226Z] f23df028b6ca: Pull complete [2023-04-13T09:13:46.487Z] d65c8cfc05b1: Pull complete [2023-04-13T09:14:01.487Z] 2437ff75d9bd: Pull complete [2023-04-13T09:14:01.487Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T09:14:01.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T09:14:01.487Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:14:01.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-8436 does not seem to be running inside a container [2023-04-13T09:14:01.767Z] $ 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/69 -v /w/workspace/device-snmp-go/69:/w/workspace/device-snmp-go/69:rw,z -v /w/workspace/device-snmp-go/69@tmp:/w/workspace/device-snmp-go/69@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-04-13T09:14:04.539Z] $ docker top cd8fb938f1d5df1e5ae6769e59ef34b698a1cfa79b343e18a6020d9c657f4f88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:14:05.357Z] ---> job-cost.sh [2023-04-13T09:14:05.357Z] lf-activate-venv: SKIPPING [2023-04-13T09:14:05.357Z] INFO: No Stack... [2023-04-13T09:14:05.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T09:14:06.524Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T09:14:07.162Z] + cat /w/workspace/device-snmp-go/69/archives/cost.csv [2023-04-13T09:14:07.162Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T09:14:07.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [2023-04-13T09:14:07.236Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] did not exist. Created. [2023-04-13T09:14:07.236Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T09:14:07.580Z] /w/workspace/device-snmp-go/69@tmp/durable-907299f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T09:14:08.505Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T09:14:08.522Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T09:14:08.570Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T09:14:08.577Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T09:14:08.606Z] $ docker stop --time=1 cd8fb938f1d5df1e5ae6769e59ef34b698a1cfa79b343e18a6020d9c657f4f88 [2023-04-13T09:14:10.117Z] $ docker rm -f --volumes cd8fb938f1d5df1e5ae6769e59ef34b698a1cfa79b343e18a6020d9c657f4f88 [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-04-13T09:14:10.516Z] provisioning config files... [2023-04-13T09:14:10.523Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4940228347123124799tmp [Pipeline] { [Pipeline] sh [2023-04-13T09:14:10.809Z] + set +x [2023-04-13T09:14:10.809Z] + curl -s https://codecov.io/bash [2023-04-13T09:14:10.809Z] + bash -s -- [2023-04-13T09:14:10.809Z] [2023-04-13T09:14:10.809Z] _____ _ [2023-04-13T09:14:10.809Z] / ____| | | [2023-04-13T09:14:10.809Z] | | ___ __| | ___ ___ _____ __ [2023-04-13T09:14:10.809Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-13T09:14:10.809Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-13T09:14:10.809Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-13T09:14:10.809Z] Bash-1.0.6 [2023-04-13T09:14:10.809Z] [2023-04-13T09:14:10.809Z] [2023-04-13T09:14:10.809Z] ==> git version 2.25.1 found [2023-04-13T09:14:10.809Z] ==> 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-04-13T09:14:10.809Z] Release-Date: 2020-01-08 [2023-04-13T09:14:10.809Z] 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-04-13T09:14:10.809Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-13T09:14:10.809Z] ==> Jenkins CI detected. [2023-04-13T09:14:10.809Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-04-13T09:14:10.809Z] project root: . [2023-04-13T09:14:10.809Z] --> token set from env [2023-04-13T09:14:10.809Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-13T09:14:10.809Z] ==> Running gcov in . (disable via -X gcov) [2023-04-13T09:14:10.809Z] ==> Python coveragepy not found [2023-04-13T09:14:10.809Z] ==> Searching for coverage reports in: [2023-04-13T09:14:10.809Z] + . [2023-04-13T09:14:10.809Z] -> Found 1 reports [2023-04-13T09:14:10.809Z] ==> Detecting git/mercurial file structure [2023-04-13T09:14:10.809Z] ==> Reading reports [2023-04-13T09:14:10.809Z] + ./coverage.out bytes=8751 [2023-04-13T09:14:10.809Z] ==> Appending adjustments [2023-04-13T09:14:10.809Z] https://docs.codecov.io/docs/fixing-reports [2023-04-13T09:14:11.068Z] + Found adjustments [2023-04-13T09:14:11.068Z] ==> Gzipping contents [2023-04-13T09:14:11.068Z] 4.0K /tmp/codecov.Acx008.gz [2023-04-13T09:14:11.068Z] ==> Uploading reports [2023-04-13T09:14:11.068Z] url: https://codecov.io [2023-04-13T09:14:11.068Z] query: branch=main&commit=9857977cf1224abf0980974ddd92ec9b34aea725&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-13T09:14:11.068Z] -> Pinging Codecov [2023-04-13T09:14:11.068Z] 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=9857977cf1224abf0980974ddd92ec9b34aea725&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-13T09:14:11.068Z] -> Uploading to [2023-04-13T09:14:11.068Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/9857977cf1224abf0980974ddd92ec9b34aea725/25dc9042-1c8f-4053-8e54-fe41ee4086de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T091410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6d7783a6fcb34f71300f75f6b342137862f36a371f7d6257d75ce0a3487c245 [2023-04-13T09:14:11.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T09:14:11.068Z] Dload Upload Total Spent Left Speed [2023-04-13T09:14:11.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1590 0 0 100 1590 0 6680 --:--:-- --:--:-- --:--:-- 6708 [2023-04-13T09:14:11.327Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] } [2023-04-13T09:14:11.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-13T09:14:11.527Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-13T09:14:11.537Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:14:11.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T09:14:11.827Z] [2023-04-13T09:14:11.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:14:12.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T09:14:12.123Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-13T09:14:12.123Z] df9b9388f04a: Pulling fs layer [2023-04-13T09:14:12.123Z] 52dc419b0ee2: Pulling fs layer [2023-04-13T09:14:12.123Z] 25bc292e5bac: Pulling fs layer [2023-04-13T09:14:12.123Z] 114826534d7a: Pulling fs layer [2023-04-13T09:14:12.123Z] 4657fd5d0bcf: Pulling fs layer [2023-04-13T09:14:12.123Z] 6ad1cebc031e: Pulling fs layer [2023-04-13T09:14:12.123Z] 8a3aa393b2d8: Pulling fs layer [2023-04-13T09:14:12.123Z] 4657fd5d0bcf: Waiting [2023-04-13T09:14:12.123Z] 8a3aa393b2d8: Waiting [2023-04-13T09:14:12.123Z] 114826534d7a: Waiting [2023-04-13T09:14:12.123Z] 6ad1cebc031e: Waiting [2023-04-13T09:14:12.123Z] 25bc292e5bac: Download complete [2023-04-13T09:14:12.123Z] 52dc419b0ee2: Verifying Checksum [2023-04-13T09:14:12.123Z] 52dc419b0ee2: Download complete [2023-04-13T09:14:12.123Z] 4657fd5d0bcf: Verifying Checksum [2023-04-13T09:14:12.123Z] 4657fd5d0bcf: Download complete [2023-04-13T09:14:12.123Z] df9b9388f04a: Download complete [2023-04-13T09:14:12.392Z] df9b9388f04a: Pull complete [2023-04-13T09:14:12.392Z] 6ad1cebc031e: Verifying Checksum [2023-04-13T09:14:12.392Z] 6ad1cebc031e: Download complete [2023-04-13T09:14:12.392Z] 52dc419b0ee2: Pull complete [2023-04-13T09:14:12.392Z] 25bc292e5bac: Pull complete [2023-04-13T09:14:12.957Z] 114826534d7a: Verifying Checksum [2023-04-13T09:14:12.957Z] 114826534d7a: Download complete [2023-04-13T09:14:12.957Z] 8a3aa393b2d8: Verifying Checksum [2023-04-13T09:14:12.957Z] 8a3aa393b2d8: Download complete [2023-04-13T09:14:16.237Z] 114826534d7a: Pull complete [2023-04-13T09:14:16.495Z] 4657fd5d0bcf: Pull complete [2023-04-13T09:14:16.753Z] 6ad1cebc031e: Pull complete [2023-04-13T09:14:19.280Z] 8a3aa393b2d8: Pull complete [2023-04-13T09:14:19.280Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-13T09:14:19.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T09:14:19.280Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:14:19.367Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:14:19.437Z] $ 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-04-13T09:14:24.856Z] $ docker top 35c054198379058b8e8e124fad690018575b700ab0161bfbd469fc771601274a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-13T09:14:24.915Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-04-13T09:14:25.190Z] + set -o pipefail [2023-04-13T09:14:25.190Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-04-13T09:14:29.377Z] [2023-04-13T09:14:29.377Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-04-13T09:14:29.377Z] [2023-04-13T09:14:29.377Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/24e4b838-c256-457b-985f-cb71807bbf82 [2023-04-13T09:14:29.377Z] [2023-04-13T09:14:29.377Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-13T09:14:29.377Z] [2023-04-13T09:14:29.377Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-13T09:14:29.377Z] [2023-04-13T09:14:29.377Z] [2023-04-13T09:14:29.377Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-13T09:14:29.377Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-13T09:14:29.377Z] More details here: https://snyk.co/ue1NS [2023-04-13T09:14:29.377Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-04-13T09:14:29.377Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-04-13T09:14:29.386Z] $ docker stop --time=1 35c054198379058b8e8e124fad690018575b700ab0161bfbd469fc771601274a [2023-04-13T09:14:33.580Z] $ docker rm -f --volumes 35c054198379058b8e8e124fad690018575b700ab0161bfbd469fc771601274a [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-04-13T09:14:34.261Z] + git log --format=format:%s -1 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] sh [2023-04-13T09:14:34.551Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T09:14:34.551Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:14:34.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T09:14:34.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:14:34.924Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:14:34.953Z] $ 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-04-13T09:14:35.502Z] $ docker top 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 -eo pid,comm [2023-04-13T09:14:35.553Z] 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-04-13T09:14:35.553Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T09:14:35.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T09:14:35.592Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T09:14:35.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T09:14:35.698Z] $ docker exec 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 ssh-agent [2023-04-13T09:14:35.801Z] SSH_AUTH_SOCK=/tmp/ssh-8eIMxhScIJEz/agent.33 [2023-04-13T09:14:35.801Z] SSH_AGENT_PID=39 [2023-04-13T09:14:35.805Z] Running ssh-add (command line suppressed) [2023-04-13T09:14:35.906Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15370227794299264371.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15370227794299264371.key) [2023-04-13T09:14:35.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T09:14:36.201Z] + git semver tag [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,356 [run_tag] DEBUG tag force:False [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,356 [check_head_tag] DEBUG check head tag [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,356 [execute] INFO git cat-file --batch-check [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,360 [execute] INFO git cat-file --batch [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,374 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,374 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,374 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-13T09:14:36.460Z] 2023-04-13 09:14:36,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:14:36.460Z] 3.0.0-dev.12 [Pipeline] } [2023-04-13T09:14:36.470Z] $ docker exec --env ******** --env ******** 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 ssh-agent -k [2023-04-13T09:14:36.559Z] unset SSH_AUTH_SOCK; [2023-04-13T09:14:36.559Z] unset SSH_AGENT_PID; [2023-04-13T09:14:36.559Z] echo Agent pid 39 killed; [2023-04-13T09:14:36.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T09:14:36.877Z] + git semver [Pipeline] } [2023-04-13T09:14:37.148Z] $ docker stop --time=1 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 [2023-04-13T09:14:38.410Z] $ docker rm -f --volumes 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:14:38.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T09:14:38.797Z] [2023-04-13T09:14:38.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:14:39.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T09:14:39.093Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-13T09:14:39.093Z] ab5ef0e58194: Pulling fs layer [2023-04-13T09:14:39.093Z] 9712f1f96733: Pulling fs layer [2023-04-13T09:14:39.093Z] 63f879dbbcfc: Pulling fs layer [2023-04-13T09:14:39.093Z] 0d9ebad4ef96: Pulling fs layer [2023-04-13T09:14:39.093Z] e9a5061849ea: Pulling fs layer [2023-04-13T09:14:39.093Z] d747dcd14b5f: Pulling fs layer [2023-04-13T09:14:39.093Z] 2de7ff778b66: Pulling fs layer [2023-04-13T09:14:39.093Z] 0d9ebad4ef96: Waiting [2023-04-13T09:14:39.093Z] d747dcd14b5f: Waiting [2023-04-13T09:14:39.093Z] e9a5061849ea: Waiting [2023-04-13T09:14:39.093Z] 2de7ff778b66: Waiting [2023-04-13T09:14:39.093Z] 9712f1f96733: Verifying Checksum [2023-04-13T09:14:39.093Z] 9712f1f96733: Download complete [2023-04-13T09:14:39.668Z] 63f879dbbcfc: Verifying Checksum [2023-04-13T09:14:39.668Z] 63f879dbbcfc: Download complete [2023-04-13T09:14:39.668Z] 0d9ebad4ef96: Verifying Checksum [2023-04-13T09:14:39.668Z] 0d9ebad4ef96: Download complete [2023-04-13T09:14:39.668Z] d747dcd14b5f: Download complete [2023-04-13T09:14:39.668Z] e9a5061849ea: Verifying Checksum [2023-04-13T09:14:39.668Z] e9a5061849ea: Download complete [2023-04-13T09:14:39.668Z] ab5ef0e58194: Verifying Checksum [2023-04-13T09:14:39.668Z] ab5ef0e58194: Download complete [2023-04-13T09:14:39.926Z] 2de7ff778b66: Download complete [2023-04-13T09:14:42.454Z] ab5ef0e58194: Pull complete [2023-04-13T09:14:42.454Z] 9712f1f96733: Pull complete [2023-04-13T09:14:43.017Z] 63f879dbbcfc: Pull complete [2023-04-13T09:14:46.293Z] 0d9ebad4ef96: Pull complete [2023-04-13T09:14:46.293Z] e9a5061849ea: Pull complete [2023-04-13T09:14:46.293Z] d747dcd14b5f: Pull complete [2023-04-13T09:14:47.225Z] 2de7ff778b66: Pull complete [2023-04-13T09:14:47.225Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-13T09:14:47.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T09:14:47.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:14:47.296Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:14:47.325Z] $ 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-04-13T09:14:53.720Z] $ docker top 95baf8bdd812e3c72e414f927f16b2d34df16ac27a917291a1582c99a98a86f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-13T09:14:53.778Z] provisioning config files... [2023-04-13T09:14:53.785Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6745017293701301469tmp [2023-04-13T09:14:53.795Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8939839662986111191tmp [2023-04-13T09:14:53.803Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5125580354253441778tmp [Pipeline] { [Pipeline] echo [2023-04-13T09:14:53.818Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:14:54.101Z] ---> sigul-configuration.sh [2023-04-13T09:14:54.101Z] gpg: directory `/root/.gnupg' created [2023-04-13T09:14:54.101Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-13T09:14:54.101Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-13T09:14:54.101Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-13T09:14:54.101Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-13T09:14:54.101Z] gpg: CAST5 encrypted data [2023-04-13T09:14:54.101Z] gpg: encrypted with 1 passphrase [2023-04-13T09:14:54.101Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-13T09:14:54.382Z] + mkdir /home/jenkins [2023-04-13T09:14:54.382Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-13T09:14:54.663Z] + 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-04-13T09:14:54.671Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:14:54.953Z] ---> sigul-install.sh [2023-04-13T09:14:54.953Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-13T09:14:55.235Z] + git tag --list [2023-04-13T09:14:55.235Z] 1.0.0 [2023-04-13T09:14:55.235Z] v0.0.0 [2023-04-13T09:14:55.235Z] v1.1.0 [2023-04-13T09:14:55.235Z] v1.1.1 [2023-04-13T09:14:55.235Z] v1.2.2 [2023-04-13T09:14:55.235Z] v1.3.0 [2023-04-13T09:14:55.235Z] v1.3.1 [2023-04-13T09:14:55.235Z] v2.0.0 [2023-04-13T09:14:55.235Z] v2.1.0 [2023-04-13T09:14:55.235Z] v2.1.1 [2023-04-13T09:14:55.235Z] v2.1.1-dev.2 [2023-04-13T09:14:55.235Z] v2.1.1-dev.3 [2023-04-13T09:14:55.235Z] v2.2.0 [2023-04-13T09:14:55.235Z] v2.2.1-dev.1 [2023-04-13T09:14:55.235Z] v2.2.1-dev.2 [2023-04-13T09:14:55.235Z] v2.2.1-dev.3 [2023-04-13T09:14:55.235Z] v2.2.1-dev.4 [2023-04-13T09:14:55.235Z] v2.2.1-dev.5 [2023-04-13T09:14:55.235Z] v2.2.1-dev.6 [2023-04-13T09:14:55.235Z] v2.2.1-dev.7 [2023-04-13T09:14:55.235Z] v2.3.0 [2023-04-13T09:14:55.235Z] v2.3.0-dev.10 [2023-04-13T09:14:55.235Z] v2.3.0-dev.11 [2023-04-13T09:14:55.235Z] v2.3.0-dev.12 [2023-04-13T09:14:55.235Z] v2.3.0-dev.13 [2023-04-13T09:14:55.235Z] v2.3.0-dev.14 [2023-04-13T09:14:55.235Z] v2.3.0-dev.15 [2023-04-13T09:14:55.235Z] v2.3.0-dev.16 [2023-04-13T09:14:55.235Z] v2.3.0-dev.17 [2023-04-13T09:14:55.235Z] v2.3.0-dev.18 [2023-04-13T09:14:55.235Z] v2.3.0-dev.19 [2023-04-13T09:14:55.235Z] v2.3.0-dev.20 [2023-04-13T09:14:55.235Z] v2.3.0-dev.21 [2023-04-13T09:14:55.235Z] v2.3.0-dev.22 [2023-04-13T09:14:55.235Z] v2.3.0-dev.23 [2023-04-13T09:14:55.235Z] v2.3.0-dev.24 [2023-04-13T09:14:55.235Z] v2.3.0-dev.7 [2023-04-13T09:14:55.235Z] v2.3.0-dev.8 [2023-04-13T09:14:55.235Z] v2.3.0-dev.9 [2023-04-13T09:14:55.235Z] v3.0.0-dev.1 [2023-04-13T09:14:55.235Z] v3.0.0-dev.10 [2023-04-13T09:14:55.235Z] v3.0.0-dev.11 [2023-04-13T09:14:55.235Z] v3.0.0-dev.12 [2023-04-13T09:14:55.235Z] v3.0.0-dev.2 [2023-04-13T09:14:55.235Z] v3.0.0-dev.3 [2023-04-13T09:14:55.235Z] v3.0.0-dev.4 [2023-04-13T09:14:55.235Z] v3.0.0-dev.5 [2023-04-13T09:14:55.235Z] v3.0.0-dev.6 [2023-04-13T09:14:55.235Z] v3.0.0-dev.7 [2023-04-13T09:14:55.235Z] v3.0.0-dev.8 [2023-04-13T09:14:55.235Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-13T09:14:55.520Z] + lftools sign git-tag v3.0.0-dev.12 [2023-04-13T09:14:56.088Z] Signing Git tag with Sigul... [2023-04-13T09:14:56.088Z] Signing v3.0.0-dev.12 [Pipeline] echo [2023-04-13T09:14:56.355Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:14:56.635Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-13T09:14:56.643Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-13T09:14:56.661Z] $ docker stop --time=1 95baf8bdd812e3c72e414f927f16b2d34df16ac27a917291a1582c99a98a86f8 [2023-04-13T09:14:58.044Z] $ docker rm -f --volumes 95baf8bdd812e3c72e414f927f16b2d34df16ac27a917291a1582c99a98a86f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-13T09:14:58.446Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T09:14:58.446Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:14:58.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T09:14:58.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:14:58.815Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:14:58.844Z] $ 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-04-13T09:14:59.185Z] $ docker top 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b -eo pid,comm [2023-04-13T09:14:59.230Z] 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-04-13T09:14:59.230Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T09:14:59.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T09:14:59.270Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T09:14:59.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T09:14:59.382Z] $ docker exec 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b ssh-agent [2023-04-13T09:14:59.490Z] SSH_AUTH_SOCK=/tmp/ssh-x4QARrsPiO5C/agent.31 [2023-04-13T09:14:59.490Z] SSH_AGENT_PID=37 [2023-04-13T09:14:59.495Z] Running ssh-add (command line suppressed) [2023-04-13T09:14:59.584Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10397286488592225891.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10397286488592225891.key) [2023-04-13T09:14:59.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T09:14:59.885Z] + git semver bump pre [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,074 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,075 [bump_version] DEBUG bumped version:3.0.0-dev.13 [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,075 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,075 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,078 [execute] INFO git cat-file --batch-check [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,084 [execute] INFO git cat-file --batch [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T09:15:00.144Z] 2023-04-13 09:15:00,090 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:15:00.144Z] 3.0.0-dev.13 [Pipeline] } [2023-04-13T09:15:00.153Z] $ docker exec --env ******** --env ******** 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b ssh-agent -k [2023-04-13T09:15:00.241Z] unset SSH_AUTH_SOCK; [2023-04-13T09:15:00.241Z] unset SSH_AGENT_PID; [2023-04-13T09:15:00.242Z] echo Agent pid 37 killed; [2023-04-13T09:15:00.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T09:15:00.552Z] + git semver [Pipeline] } [2023-04-13T09:15:00.824Z] $ docker stop --time=1 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b [2023-04-13T09:15:02.118Z] $ docker rm -f --volumes 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T09:15:02.445Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T09:15:02.445Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:15:02.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T09:15:02.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:15:02.795Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:15:02.822Z] $ 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-04-13T09:15:03.162Z] $ docker top e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 -eo pid,comm [2023-04-13T09:15:03.207Z] 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-04-13T09:15:03.207Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T09:15:03.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T09:15:03.236Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T09:15:03.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T09:15:03.351Z] $ docker exec e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 ssh-agent [2023-04-13T09:15:03.453Z] SSH_AUTH_SOCK=/tmp/ssh-b3J4g6cZJd1J/agent.20 [2023-04-13T09:15:03.453Z] SSH_AGENT_PID=39 [2023-04-13T09:15:03.457Z] Running ssh-add (command line suppressed) [2023-04-13T09:15:03.558Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11748900124556945468.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11748900124556945468.key) [2023-04-13T09:15:03.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T09:15:03.858Z] + git semver push [2023-04-13T09:15:04.117Z] 2023-04-13 09:15:04,042 [run_push] DEBUG push [2023-04-13T09:15:04.117Z] 2023-04-13 09:15:04,042 [execute] INFO git cat-file --batch-check [2023-04-13T09:15:04.117Z] 2023-04-13 09:15:04,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T09:15:04.117Z] 2023-04-13 09:15:04,046 [execute] INFO git rev-list 50cb33161e64a84730196755c95cc35a8ef1d355 -- [2023-04-13T09:15:04.117Z] 2023-04-13 09:15:04,046 [execute] DEBUG Popen(['git', 'rev-list', '50cb33161e64a84730196755c95cc35a8ef1d355', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-13T09:15:04.117Z] 2023-04-13 09:15:04,053 [execute] INFO git fetch -v origin [2023-04-13T09:15:04.117Z] 2023-04-13 09:15:04,053 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-13T09:15:04.686Z] 2023-04-13 09:15:04,539 [run_push] DEBUG no remote changes detected [2023-04-13T09:15:04.686Z] 2023-04-13 09:15:04,539 [execute] INFO git push origin semver [2023-04-13T09:15:04.686Z] 2023-04-13 09:15:04,540 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-13T09:15:05.622Z] 2023-04-13 09:15:05,360 [run_push] DEBUG push all version tags [2023-04-13T09:15:05.622Z] 2023-04-13 09:15:05,360 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-13T09:15:05.622Z] 2023-04-13 09:15:05,361 [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-04-13T09:15:06.205Z] 2023-04-13 09:15:06,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-13T09:15:06.205Z] 3.0.0-dev.13 [Pipeline] } [2023-04-13T09:15:06.214Z] $ docker exec --env ******** --env ******** e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 ssh-agent -k [2023-04-13T09:15:06.331Z] unset SSH_AUTH_SOCK; [2023-04-13T09:15:06.331Z] unset SSH_AGENT_PID; [2023-04-13T09:15:06.331Z] echo Agent pid 39 killed; [2023-04-13T09:15:06.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T09:15:06.644Z] + git semver [Pipeline] } [2023-04-13T09:15:06.916Z] $ docker stop --time=1 e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 [2023-04-13T09:15:08.222Z] $ docker rm -f --volumes e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 [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-04-13T09:15:08.764Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-04-13T09:15:08.764Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-13T09:15:08.764Z] total 16 [2023-04-13T09:15:08.764Z] drwxr-xr-x 3 root root 4096 Apr 13 09:04 . [2023-04-13T09:15:08.764Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:14 .. [2023-04-13T09:15:08.764Z] drwxr-xr-x 2 root root 4096 Apr 13 09:04 cost [2023-04-13T09:15:08.764Z] -rw-r--r-- 1 root root 85 Apr 13 09:04 cost.csv [2023-04-13T09:15:08.764Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-13T09:15:08.764Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-13T09:15:08.764Z] total 16 [2023-04-13T09:15:08.764Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:04 . [2023-04-13T09:15:08.764Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:14 .. [2023-04-13T09:15:08.764Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:04 cost [2023-04-13T09:15:08.764Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 13 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:15:09.052Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:15:09.907Z] ---> package-listing.sh [2023-04-13T09:15:09.907Z] ++ facter osfamily [2023-04-13T09:15:09.907Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T09:15:10.166Z] + OS_FAMILY=debian [2023-04-13T09:15:10.166Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-04-13T09:15:10.166Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T09:15:10.166Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T09:15:10.166Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T09:15:10.166Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T09:15:10.166Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-13T09:15:10.166Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T09:15:10.166Z] + case "${OS_FAMILY}" in [2023-04-13T09:15:10.166Z] + grep '^ii' [2023-04-13T09:15:10.166Z] + dpkg -l [2023-04-13T09:15:10.166Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T09:15:10.166Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T09:15:10.166Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T09:15:10.166Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-13T09:15:10.166Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-04-13T09:15:10.166Z] + 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-04-13T09:15:10.176Z] 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-04-13T09:15:10.539Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T09:15:11.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T09:15:11.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T09:15:11.200Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2023-04-13T09:15:11.225Z] $ 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-04-13T09:15:11.464Z] $ docker top 37cdfd2f4d4efbf5d45f338c19ef00d06bc85c43d33552d4a90e8625fbf929bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T09:15:11.805Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T09:15:12.087Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T09:15:12.368Z] + ls /var/log/sa-host [2023-04-13T09:15:12.368Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T09:15:12.431Z] provisioning config files... [2023-04-13T09:15:12.439Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3970624864009782446tmp [Pipeline] { [Pipeline] echo [2023-04-13T09:15:12.448Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:15:12.726Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T09:15:12.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:15:13.051Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T09:15:13.059Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:15:13.339Z] ---> sudo-logs.sh [2023-04-13T09:15:13.339Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T09:15:13.371Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:15:13.653Z] ---> job-cost.sh [2023-04-13T09:15:13.653Z] lf-activate-venv: SKIPPING [2023-04-13T09:15:13.653Z] DEBUG: total: 0.2199999988079071 [2023-04-13T09:15:13.653Z] INFO: Retrieving Stack Cost... [2023-04-13T09:15:14.220Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T09:15:14.786Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T09:15:14.798Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T09:15:15.079Z] ---> logs-deploy.sh [2023-04-13T09:15:15.079Z] lf-activate-venv: SKIPPING [2023-04-13T09:15:15.079Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/69 [2023-04-13T09:15:15.079Z] INFO: archiving workspace using pattern(s): [2023-04-13T09:15:16.013Z] Archives upload complete. [2023-04-13T09:15:16.013Z] INFO: archiving logs to Nexus