Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9f5e79f7f6757774f639370f81fc5ed0e697313 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-ssh9743651798190548914.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14439577679674245467.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6910680754089077678.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13206934777819783249.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-ssh5448268365226517177.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9939 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 c9f5e79f7f6757774f639370f81fc5ed0e697313 (main) Commit message: "feat!: Remove snap packaging (#322)" > 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 c9f5e79f7f6757774f639370f81fc5ed0e697313 # timeout=10 > git rev-list --no-walk ab96bded2e0807d2a2691bb0f6e58e8413531895 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T15:41:15.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T15:41:15.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T15:41:15.614Z] ========================================================= [2023-10-24T15:41:15.614Z] EdgeX Global Pipelines Version Info [2023-10-24T15:41:15.614Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:41:23.438Z] ------------------- [2023-10-24T15:41:23.438Z] stable info: [2023-10-24T15:41:23.438Z] ------------------- [2023-10-24T15:41:23.438Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T15:41:23.438Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:41:23.438Z] Message: update stable to v1.0.254 [2023-10-24T15:41:31.346Z] ------------------- [2023-10-24T15:41:31.346Z] experimental info: [2023-10-24T15:41:31.346Z] ------------------- [2023-10-24T15:41:31.346Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T15:41:31.346Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:41:31.346Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T15:41:31.529Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-10-24T15:41:31.543Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-10-24T15:41:31.555Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T15:41:31.570Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T15:41:31.583Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T15:41:31.598Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T15:41:31.609Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T15:41:31.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T15:41:31.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T15:41:31.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T15:41:31.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T15:41:31.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-10-24T15:41:31.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T15:41:31.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T15:41:31.731Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:41:31.749Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:41:31.767Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:41:31.786Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:41:31.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T15:41:31.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T15:41:31.853Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T15:41:31.870Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T15:41:31.890Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T15:41:31.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T15:41:31.930Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T15:41:31.949Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T15:41:31.967Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T15:41:31.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T15:41:32.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T15:41:32.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T15:41:32.038Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] echo [2023-10-24T15:41:32.054Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9f5e79 [Pipeline] echo [2023-10-24T15:41:32.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:41:32.129Z] provisioning config files... [2023-10-24T15:41:32.141Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5359250033830248093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:41:32.445Z] ---> docker-login.sh [2023-10-24T15:41:32.445Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:41:32.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:32.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:32.716Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:32.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:32.716Z] [2023-10-24T15:41:32.716Z] Login Succeeded [2023-10-24T15:41:32.716Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:41:32.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:32.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:32.716Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:32.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:32.716Z] [2023-10-24T15:41:32.716Z] Login Succeeded [2023-10-24T15:41:32.978Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:41:32.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:32.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:32.978Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:32.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:32.978Z] [2023-10-24T15:41:32.978Z] Login Succeeded [2023-10-24T15:41:32.978Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:41:32.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:32.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:32.978Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:32.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:32.978Z] [2023-10-24T15:41:32.978Z] Login Succeeded [2023-10-24T15:41:32.978Z] docker.io [2023-10-24T15:41:33.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:33.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:33.499Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:33.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:33.499Z] [2023-10-24T15:41:33.499Z] Login Succeeded [2023-10-24T15:41:33.499Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:41:33.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T15:41:34.085Z] + git rev-list -1 --merges c9f5e79f7f6757774f639370f81fc5ed0e697313~1..c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] echo [2023-10-24T15:41:34.137Z] -----------> git rev-list -1 --merges c9f5e79f7f6757774f639370f81fc5ed0e697313~1..c9f5e79f7f6757774f639370f81fc5ed0e697313 c9f5e79f7f6757774f639370f81fc5ed0e697313 [false] [Pipeline] sh [2023-10-24T15:41:34.426Z] + git log --format=format:%s -1 c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] echo [2023-10-24T15:41:34.443Z] ========================================================= [2023-10-24T15:41:34.443Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T15:41:34.443Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:41:34.797Z] + git log --format=format:%s -1 c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] echo [2023-10-24T15:41:34.809Z] [semverPrep] GIT_COMMIT: c9f5e79f7f6757774f639370f81fc5ed0e697313, Commit Message: feat!: Remove snap packaging (#322) [Pipeline] echo [2023-10-24T15:41:34.820Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T15:41:35.237Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:41:35.237Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T15:41:35.237Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T15:41:35.237Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T15:41:35.237Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T15:41:35.237Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T15:41:35.237Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:41:35.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:41:35.587Z] [2023-10-24T15:41:35.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:41:35.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:41:35.889Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T15:41:35.889Z] b85a868b505f: Pulling fs layer [2023-10-24T15:41:35.889Z] e2be974225ed: Pulling fs layer [2023-10-24T15:41:35.889Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T15:41:35.889Z] 988bab9f4d93: Pulling fs layer [2023-10-24T15:41:35.889Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T15:41:35.889Z] eaf3925da568: Pulling fs layer [2023-10-24T15:41:35.889Z] bab4dde63d76: Pulling fs layer [2023-10-24T15:41:35.889Z] bde34c3a00c8: Pulling fs layer [2023-10-24T15:41:35.889Z] b352a97aabf1: Pulling fs layer [2023-10-24T15:41:35.889Z] 4872d77fe225: Pulling fs layer [2023-10-24T15:41:35.889Z] 5851b861e8e6: Pulling fs layer [2023-10-24T15:41:35.889Z] bab4dde63d76: Waiting [2023-10-24T15:41:35.889Z] 988bab9f4d93: Waiting [2023-10-24T15:41:35.889Z] 1469e6f7b9e6: Waiting [2023-10-24T15:41:35.889Z] eaf3925da568: Waiting [2023-10-24T15:41:35.889Z] 4872d77fe225: Waiting [2023-10-24T15:41:35.889Z] bde34c3a00c8: Waiting [2023-10-24T15:41:35.889Z] 5851b861e8e6: Waiting [2023-10-24T15:41:35.889Z] b352a97aabf1: Waiting [2023-10-24T15:41:35.889Z] e2be974225ed: Download complete [2023-10-24T15:41:35.889Z] 988bab9f4d93: Verifying Checksum [2023-10-24T15:41:35.889Z] 988bab9f4d93: Download complete [2023-10-24T15:41:36.151Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T15:41:36.151Z] 1469e6f7b9e6: Download complete [2023-10-24T15:41:36.151Z] eaf3925da568: Verifying Checksum [2023-10-24T15:41:36.151Z] eaf3925da568: Download complete [2023-10-24T15:41:36.151Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T15:41:36.151Z] 339a4e72a1f5: Download complete [2023-10-24T15:41:36.151Z] bde34c3a00c8: Download complete [2023-10-24T15:41:36.151Z] b352a97aabf1: Download complete [2023-10-24T15:41:36.151Z] 4872d77fe225: Download complete [2023-10-24T15:41:36.151Z] 5851b861e8e6: Verifying Checksum [2023-10-24T15:41:36.151Z] 5851b861e8e6: Download complete [2023-10-24T15:41:36.151Z] b85a868b505f: Verifying Checksum [2023-10-24T15:41:36.151Z] b85a868b505f: Download complete [2023-10-24T15:41:36.410Z] bab4dde63d76: Verifying Checksum [2023-10-24T15:41:36.410Z] bab4dde63d76: Download complete [2023-10-24T15:41:37.348Z] b85a868b505f: Pull complete [2023-10-24T15:41:37.348Z] e2be974225ed: Pull complete [2023-10-24T15:41:37.915Z] 339a4e72a1f5: Pull complete [2023-10-24T15:41:37.915Z] 988bab9f4d93: Pull complete [2023-10-24T15:41:38.175Z] 1469e6f7b9e6: Pull complete [2023-10-24T15:41:38.175Z] eaf3925da568: Pull complete [2023-10-24T15:41:40.085Z] bab4dde63d76: Pull complete [2023-10-24T15:41:40.085Z] bde34c3a00c8: Pull complete [2023-10-24T15:41:40.085Z] b352a97aabf1: Pull complete [2023-10-24T15:41:40.085Z] 4872d77fe225: Pull complete [2023-10-24T15:41:40.085Z] 5851b861e8e6: Pull complete [2023-10-24T15:41:40.085Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T15:41:40.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:41:40.345Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:41:40.443Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:41:40.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T15:41:44.095Z] $ docker top 7d940ddb7e0f06fddc0cf1cc40bdd3c5a3fbe797e76edf6f3aedca9d719e04c4 -eo pid,comm [2023-10-24T15:41:43.858Z] 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-10-24T15:41:43.858Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:41:43.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:41:43.898Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:41:44.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:41:44.306Z] $ docker exec 7d940ddb7e0f06fddc0cf1cc40bdd3c5a3fbe797e76edf6f3aedca9d719e04c4 ssh-agent [2023-10-24T15:41:44.130Z] SSH_AUTH_SOCK=/tmp/ssh-V2GUAlR0zxo2/agent.32 [2023-10-24T15:41:44.130Z] SSH_AGENT_PID=39 [2023-10-24T15:41:44.136Z] Running ssh-add (command line suppressed) [2023-10-24T15:41:44.525Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16591025306011325059.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16591025306011325059.key) [2023-10-24T15:41:44.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:41:44.530Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T15:41:44.835Z] $ docker exec --env ******** --env ******** 7d940ddb7e0f06fddc0cf1cc40bdd3c5a3fbe797e76edf6f3aedca9d719e04c4 ssh-agent -k [2023-10-24T15:41:44.934Z] unset SSH_AUTH_SOCK; [2023-10-24T15:41:44.934Z] unset SSH_AGENT_PID; [2023-10-24T15:41:44.935Z] echo Agent pid 39 killed; [2023-10-24T15:41:44.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T15:41:44.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:41:44.674Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:41:44.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:41:45.085Z] $ docker exec 7d940ddb7e0f06fddc0cf1cc40bdd3c5a3fbe797e76edf6f3aedca9d719e04c4 ssh-agent [2023-10-24T15:41:44.904Z] SSH_AUTH_SOCK=/tmp/ssh-sPVkxGcsy22i/agent.72 [2023-10-24T15:41:44.904Z] SSH_AGENT_PID=78 [2023-10-24T15:41:44.910Z] Running ssh-add (command line suppressed) [2023-10-24T15:41:45.317Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18128923701644977266.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18128923701644977266.key) [2023-10-24T15:41:45.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:41:45.322Z] + git semver init [2023-10-24T15:41:45.581Z] 2023-10-24 15:41:45,804 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T15:41:45.581Z] 2023-10-24 15:41:45,805 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-24T15:41:45.582Z] 2023-10-24 15:41:45,805 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-24T15:41:45.582Z] 2023-10-24 15:41:45,805 [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-10-24T15:41:46.518Z] 2023-10-24 15:41:46,743 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-10-24T15:41:46.518Z] 2023-10-24 15:41:46,743 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-10-24T15:41:46.518Z] 2023-10-24 15:41:46,744 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:41:46.518Z] 2023-10-24 15:41:46,744 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:41:46.518Z] 3.1.0-dev.7 [Pipeline] } [2023-10-24T15:41:46.836Z] $ docker exec --env ******** --env ******** 7d940ddb7e0f06fddc0cf1cc40bdd3c5a3fbe797e76edf6f3aedca9d719e04c4 ssh-agent -k [2023-10-24T15:41:46.925Z] unset SSH_AUTH_SOCK; [2023-10-24T15:41:46.926Z] unset SSH_AGENT_PID; [2023-10-24T15:41:46.926Z] echo Agent pid 78 killed; [2023-10-24T15:41:46.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:41:46.942Z] + git semver [Pipeline] } [2023-10-24T15:41:47.526Z] $ docker stop --time=1 7d940ddb7e0f06fddc0cf1cc40bdd3c5a3fbe797e76edf6f3aedca9d719e04c4 [2023-10-24T15:41:48.814Z] $ docker rm -f --volumes 7d940ddb7e0f06fddc0cf1cc40bdd3c5a3fbe797e76edf6f3aedca9d719e04c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:41:48.830Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T15:41:49.047Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T15:41:49.050Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [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-10-24T15:41:49.224Z] provisioning config files... [2023-10-24T15:41:49.234Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config450901512575393232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:41:49.528Z] ---> docker-login.sh [2023-10-24T15:41:49.528Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:41:49.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:49.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:49.528Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:49.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:49.528Z] [2023-10-24T15:41:49.528Z] Login Succeeded [2023-10-24T15:41:49.528Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:41:49.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:49.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:49.528Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:49.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:49.528Z] [2023-10-24T15:41:49.528Z] Login Succeeded [2023-10-24T15:41:49.528Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:41:49.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:49.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:49.786Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:49.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:49.786Z] [2023-10-24T15:41:49.786Z] Login Succeeded [2023-10-24T15:41:49.786Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:41:49.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:49.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:49.786Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:49.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:49.786Z] [2023-10-24T15:41:49.786Z] Login Succeeded [2023-10-24T15:41:49.786Z] docker.io [2023-10-24T15:41:50.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:41:50.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:41:50.303Z] Configure a credential helper to remove this warning. See [2023-10-24T15:41:50.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:41:50.303Z] [2023-10-24T15:41:50.303Z] Login Succeeded [2023-10-24T15:41:50.303Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:41:50.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:41:50.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:41:50.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:41:50.407Z] ========================================================= [2023-10-24T15:41:50.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T15:41:50.407Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:41:50.726Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:41:50.726Z] Sending build context to Docker daemon 5.703MB [2023-10-24T15:41:50.726Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:41:50.726Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T15:41:50.726Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T15:41:50.726Z] 7264a8db6415: Pulling fs layer [2023-10-24T15:41:50.726Z] c4d48a809fc2: Pulling fs layer [2023-10-24T15:41:50.726Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T15:41:50.726Z] ad3a456e5733: Pulling fs layer [2023-10-24T15:41:50.726Z] 33e27b845d1e: Pulling fs layer [2023-10-24T15:41:50.726Z] c68163c4e522: Pulling fs layer [2023-10-24T15:41:50.726Z] 50da416c3ac9: Pulling fs layer [2023-10-24T15:41:50.726Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T15:41:50.726Z] 33e27b845d1e: Waiting [2023-10-24T15:41:50.726Z] c68163c4e522: Waiting [2023-10-24T15:41:50.726Z] 50da416c3ac9: Waiting [2023-10-24T15:41:50.726Z] 23d2d4c4bb30: Waiting [2023-10-24T15:41:50.726Z] ad3a456e5733: Waiting [2023-10-24T15:41:50.726Z] c4d48a809fc2: Download complete [2023-10-24T15:41:50.726Z] ad3a456e5733: Verifying Checksum [2023-10-24T15:41:50.726Z] ad3a456e5733: Download complete [2023-10-24T15:41:50.726Z] 33e27b845d1e: Verifying Checksum [2023-10-24T15:41:50.726Z] 33e27b845d1e: Download complete [2023-10-24T15:41:50.986Z] 7264a8db6415: Verifying Checksum [2023-10-24T15:41:50.986Z] 7264a8db6415: Download complete [2023-10-24T15:41:50.986Z] c68163c4e522: Verifying Checksum [2023-10-24T15:41:50.986Z] c68163c4e522: Download complete [2023-10-24T15:41:50.986Z] 7264a8db6415: Pull complete [2023-10-24T15:41:51.245Z] c4d48a809fc2: Pull complete [2023-10-24T15:41:51.245Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T15:41:51.245Z] 23d2d4c4bb30: Download complete [2023-10-24T15:41:51.503Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T15:41:51.503Z] 4f1c88b9dad5: Download complete [2023-10-24T15:41:51.761Z] 50da416c3ac9: Verifying Checksum [2023-10-24T15:41:51.761Z] 50da416c3ac9: Download complete [2023-10-24T15:41:54.288Z] 4f1c88b9dad5: Pull complete [2023-10-24T15:41:54.288Z] ad3a456e5733: Pull complete [2023-10-24T15:41:54.546Z] 33e27b845d1e: Pull complete [2023-10-24T15:41:54.546Z] c68163c4e522: Pull complete [2023-10-24T15:41:57.072Z] 50da416c3ac9: Pull complete [2023-10-24T15:41:57.072Z] 23d2d4c4bb30: Pull complete [2023-10-24T15:41:57.333Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T15:41:57.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T15:41:57.333Z] ---> 0786185ac409 [2023-10-24T15:41:57.333Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:42:01.542Z] ---> Running in 5f19d2d2df72 [2023-10-24T15:42:01.542Z] Removing intermediate container 5f19d2d2df72 [2023-10-24T15:42:01.542Z] ---> 6cc4f744f399 [2023-10-24T15:42:01.542Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:42:01.542Z] ---> Running in 8e9bc00763a8 [2023-10-24T15:42:01.542Z] Removing intermediate container 8e9bc00763a8 [2023-10-24T15:42:01.542Z] ---> ec2380970748 [2023-10-24T15:42:01.542Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:42:01.542Z] ---> Running in 7c6e97f5aa63 [2023-10-24T15:42:01.542Z] Removing intermediate container 7c6e97f5aa63 [2023-10-24T15:42:01.542Z] ---> 5d1653b4e3bc [2023-10-24T15:42:01.542Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:42:01.542Z] ---> Running in 0c332734897f [2023-10-24T15:42:01.799Z] Removing intermediate container 0c332734897f [2023-10-24T15:42:01.799Z] ---> d1f5eaef85f8 [2023-10-24T15:42:01.799Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:42:01.799Z] ---> Running in fb98a5288009 [2023-10-24T15:42:02.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:42:02.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:42:02.316Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:42:02.316Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T15:42:02.316Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:42:02.316Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:42:02.316Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:42:02.316Z] OK: 268 MiB in 56 packages [2023-10-24T15:42:02.883Z] Removing intermediate container fb98a5288009 [2023-10-24T15:42:02.883Z] ---> 2870c03b7b13 [2023-10-24T15:42:02.883Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-24T15:42:02.883Z] ---> Running in 35d943701b7a [2023-10-24T15:42:02.883Z] Removing intermediate container 35d943701b7a [2023-10-24T15:42:02.883Z] ---> e024db7cf6b0 [2023-10-24T15:42:02.883Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T15:42:03.142Z] ---> ee774eca755c [2023-10-24T15:42:03.142Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:42:03.142Z] ---> Running in e67e1c955ca6 [2023-10-24T15:42:04.170Z] Still waiting to schedule task [2023-10-24T15:42:04.171Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T15:42:59.364Z] Removing intermediate container e67e1c955ca6 [2023-10-24T15:42:59.364Z] ---> 3533569fe751 [2023-10-24T15:42:59.364Z] Step 11/12 : COPY . . [2023-10-24T15:42:59.364Z] ---> 5a0aeaa1617d [2023-10-24T15:42:59.364Z] Step 12/12 : RUN ${MAKE} [2023-10-24T15:42:59.364Z] ---> Running in 21c04e5068f5 [2023-10-24T15:42:59.364Z] noop [2023-10-24T15:42:59.364Z] Removing intermediate container 21c04e5068f5 [2023-10-24T15:42:59.364Z] ---> 2cbffec704b5 [2023-10-24T15:42:59.364Z] Successfully built 2cbffec704b5 [2023-10-24T15:42:59.364Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:42:59.666Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:42:59.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:42:59.737Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:42:59.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:43:00.069Z] $ docker top f3ee3128e55e2288a0fd616b52c7c53e06853bbd9cc2837373de986000b57801 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:43:00.423Z] + go version [2023-10-24T15:43:00.423Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T15:43:00.424Z] $ docker stop --time=1 f3ee3128e55e2288a0fd616b52c7c53e06853bbd9cc2837373de986000b57801 [2023-10-24T15:43:01.690Z] $ docker rm -f --volumes f3ee3128e55e2288a0fd616b52c7c53e06853bbd9cc2837373de986000b57801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:02.089Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:43:02.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:43:02.159Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:43:02.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:43:02.502Z] $ docker top 38f8c0313a33aad52c744d81211af4358486d163de4533f580466c4c8b6abee8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:43:02.854Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:43:03.147Z] + make test [2023-10-24T15:43:03.147Z] go test ./... -coverprofile=coverage.out [2023-10-24T15:43:04.524Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-24T15:43:14.490Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-24T15:43:14.490Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2023-10-24T15:43:19.746Z] go vet ./... [2023-10-24T15:43:23.022Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:43:23.022Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:43:23.022Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:43:23.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:43:23.028Z] $ docker stop --time=1 38f8c0313a33aad52c744d81211af4358486d163de4533f580466c4c8b6abee8 [2023-10-24T15:43:26.507Z] $ docker rm -f --volumes 38f8c0313a33aad52c744d81211af4358486d163de4533f580466c4c8b6abee8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:43:26.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:43:27.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T15:43:27.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:43:28.068Z] + ls -al . [2023-10-24T15:43:28.068Z] total 172 [2023-10-24T15:43:28.068Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:43 . [2023-10-24T15:43:28.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:41 .. [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 15:41 .dockerignore [2023-10-24T15:43:28.068Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:43 .git [2023-10-24T15:43:28.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:41 .github [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 15:41 .gitignore [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:41 .golangci.yml [2023-10-24T15:43:28.068Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:41 .semver [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 15:41 Attribution.txt [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 15:41 CHANGELOG.md [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 15:41 Dockerfile [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:41 GOVERNANCE.md [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 15:41 Jenkinsfile [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:41 LICENSE [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 15:41 Makefile [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 15:41 OWNERS.md [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 15:41 README.md [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 15:41 VERSION [2023-10-24T15:43:28.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:41 bin [2023-10-24T15:43:28.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:41 cmd [2023-10-24T15:43:28.068Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 15:43 coverage.out [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 15:41 go.mod [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 15:41 go.sum [2023-10-24T15:43:28.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:41 internal [2023-10-24T15:43:28.068Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 15:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:28.387Z] + 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=c9f5e79f7f6757774f639370f81fc5ed0e697313 --label arch=amd64 --label version=3.1.0-dev.7 . [2023-10-24T15:43:28.388Z] Sending build context to Docker daemon 5.713MB [2023-10-24T15:43:28.388Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:43:28.388Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-24T15:43:28.388Z] ---> 2cbffec704b5 [2023-10-24T15:43:28.388Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:43:28.646Z] ---> Running in 2c9bf375ceef [2023-10-24T15:43:28.646Z] Removing intermediate container 2c9bf375ceef [2023-10-24T15:43:28.646Z] ---> 52ad899d6a15 [2023-10-24T15:43:28.646Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:43:28.646Z] ---> Running in 5067cbbf88aa [2023-10-24T15:43:28.646Z] Removing intermediate container 5067cbbf88aa [2023-10-24T15:43:28.646Z] ---> 2266ec9cddf3 [2023-10-24T15:43:28.646Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:43:28.646Z] ---> Running in 54a11503da87 [2023-10-24T15:43:28.904Z] Removing intermediate container 54a11503da87 [2023-10-24T15:43:28.904Z] ---> 671559857018 [2023-10-24T15:43:28.904Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:43:28.904Z] ---> Running in a59d03e9f311 [2023-10-24T15:43:28.904Z] Removing intermediate container a59d03e9f311 [2023-10-24T15:43:28.904Z] ---> 93aa4c836dc8 [2023-10-24T15:43:28.904Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:43:28.904Z] ---> Running in be37c149c97c [2023-10-24T15:43:29.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:43:29.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:43:29.421Z] OK: 268 MiB in 56 packages [2023-10-24T15:43:29.680Z] Removing intermediate container be37c149c97c [2023-10-24T15:43:29.680Z] ---> 275afb30cc30 [2023-10-24T15:43:29.680Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-24T15:43:29.680Z] ---> Running in 2c8540418e7e [2023-10-24T15:43:29.940Z] Removing intermediate container 2c8540418e7e [2023-10-24T15:43:29.940Z] ---> d941f467597e [2023-10-24T15:43:29.940Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-24T15:43:29.940Z] ---> c2941b9fa705 [2023-10-24T15:43:29.940Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:43:29.940Z] ---> Running in c629b889248b [2023-10-24T15:43:30.506Z] Removing intermediate container c629b889248b [2023-10-24T15:43:30.506Z] ---> 0804e3d09a8b [2023-10-24T15:43:30.506Z] Step 11/24 : COPY . . [2023-10-24T15:43:31.073Z] ---> bc508ecb934d [2023-10-24T15:43:31.073Z] Step 12/24 : RUN ${MAKE} [2023-10-24T15:43:31.073Z] ---> Running in c080b41bdafc [2023-10-24T15:43:31.073Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-24T15:43:53.014Z] Removing intermediate container c080b41bdafc [2023-10-24T15:43:53.014Z] ---> f93b2aeeeebd [2023-10-24T15:43:53.014Z] Step 13/24 : FROM alpine:3.18 [2023-10-24T15:43:53.014Z] 3.18: Pulling from library/alpine [2023-10-24T15:43:53.014Z] 96526aa774ef: Pulling fs layer [2023-10-24T15:43:53.014Z] 96526aa774ef: Verifying Checksum [2023-10-24T15:43:53.014Z] 96526aa774ef: Download complete [2023-10-24T15:43:53.014Z] 96526aa774ef: Pull complete [2023-10-24T15:43:53.014Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:43:53.014Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:43:53.014Z] ---> 8ca4688f4f35 [2023-10-24T15:43:53.014Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-24T15:43:53.014Z] ---> Running in 2aa3942a4158 [2023-10-24T15:43:53.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:43:53.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:43:53.014Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T15:43:53.014Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:43:53.014Z] OK: 7 MiB in 16 packages [2023-10-24T15:43:53.014Z] Removing intermediate container 2aa3942a4158 [2023-10-24T15:43:53.014Z] ---> 8314a38c437f [2023-10-24T15:43:53.014Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-24T15:43:53.014Z] ---> e60077456313 [2023-10-24T15:43:53.014Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-24T15:43:53.014Z] ---> 221cc0a24ce0 [2023-10-24T15:43:53.014Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-24T15:43:53.014Z] ---> dfdc780a1f4b [2023-10-24T15:43:53.014Z] Step 18/24 : EXPOSE 59993 [2023-10-24T15:43:53.014Z] ---> Running in f0d6c58d0759 [2023-10-24T15:43:53.014Z] Removing intermediate container f0d6c58d0759 [2023-10-24T15:43:53.014Z] ---> 43d960ce95c3 [2023-10-24T15:43:53.014Z] Step 19/24 : EXPOSE 161 [2023-10-24T15:43:53.014Z] ---> Running in e2568f8f083c [2023-10-24T15:43:53.014Z] Removing intermediate container e2568f8f083c [2023-10-24T15:43:53.014Z] ---> ec8d6c336da6 [2023-10-24T15:43:53.014Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-24T15:43:53.014Z] ---> Running in 0e049e73a87e [2023-10-24T15:43:53.014Z] Removing intermediate container 0e049e73a87e [2023-10-24T15:43:53.014Z] ---> 21bc381a11df [2023-10-24T15:43:53.014Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T15:43:53.014Z] ---> Running in 940818e3a33e [2023-10-24T15:43:53.014Z] Removing intermediate container 940818e3a33e [2023-10-24T15:43:53.014Z] ---> 3a5c4c1b9192 [2023-10-24T15:43:53.014Z] Step 22/24 : LABEL arch=amd64 [2023-10-24T15:43:53.014Z] ---> Running in 02cc00b18326 [2023-10-24T15:43:53.272Z] Removing intermediate container 02cc00b18326 [2023-10-24T15:43:53.272Z] ---> e3ee6561bb85 [2023-10-24T15:43:53.272Z] Step 23/24 : LABEL git_sha=c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:43:53.272Z] ---> Running in d9153208c48c [2023-10-24T15:43:53.272Z] Removing intermediate container d9153208c48c [2023-10-24T15:43:53.272Z] ---> 88903f60b9f0 [2023-10-24T15:43:53.272Z] Step 24/24 : LABEL version=3.1.0-dev.7 [2023-10-24T15:43:53.272Z] ---> Running in 2e3d370fd797 [2023-10-24T15:43:53.272Z] Removing intermediate container 2e3d370fd797 [2023-10-24T15:43:53.272Z] ---> a764ea5a810a [2023-10-24T15:43:53.272Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:43:53.272Z] Successfully built a764ea5a810a [2023-10-24T15:43:53.272Z] 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-10-24T15:43:53.367Z] provisioning config files... [2023-10-24T15:43:53.374Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4220675293920165165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:43:53.668Z] ---> docker-login.sh [2023-10-24T15:43:53.668Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:43:53.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:43:53.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:43:53.668Z] Configure a credential helper to remove this warning. See [2023-10-24T15:43:53.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:43:53.668Z] [2023-10-24T15:43:53.668Z] Login Succeeded [2023-10-24T15:43:53.668Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:43:53.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:43:53.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:43:53.668Z] Configure a credential helper to remove this warning. See [2023-10-24T15:43:53.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:43:53.668Z] [2023-10-24T15:43:53.668Z] Login Succeeded [2023-10-24T15:43:53.668Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:43:53.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:43:53.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:43:53.928Z] Configure a credential helper to remove this warning. See [2023-10-24T15:43:53.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:43:53.928Z] [2023-10-24T15:43:53.928Z] Login Succeeded [2023-10-24T15:43:53.928Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:43:53.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:43:53.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:43:53.928Z] Configure a credential helper to remove this warning. See [2023-10-24T15:43:53.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:43:53.928Z] [2023-10-24T15:43:53.928Z] Login Succeeded [2023-10-24T15:43:53.928Z] docker.io [2023-10-24T15:43:53.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:43:54.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:43:54.186Z] Configure a credential helper to remove this warning. See [2023-10-24T15:43:54.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:43:54.186Z] [2023-10-24T15:43:54.186Z] Login Succeeded [2023-10-24T15:43:54.186Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:43:54.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:43:54.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:43:54.249Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-10-24T15:43:54.249Z] c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:43:54.249Z] latest [2023-10-24T15:43:54.249Z] 3.1.0-dev.7 [2023-10-24T15:43:54.249Z] c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [2023-10-24T15:43:54.249Z] main [2023-10-24T15:43:54.249Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:54.576Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:54.877Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:43:54.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T15:43:54.877Z] b37c3ed5fd69: Preparing [2023-10-24T15:43:54.877Z] 250b011571fc: Preparing [2023-10-24T15:43:54.877Z] c3bdf24780d5: Preparing [2023-10-24T15:43:54.877Z] d0f26c380475: Preparing [2023-10-24T15:43:54.877Z] cc2447e1835a: Preparing [2023-10-24T15:43:54.877Z] cc2447e1835a: Layer already exists [2023-10-24T15:43:54.877Z] b37c3ed5fd69: Pushed [2023-10-24T15:43:54.877Z] 250b011571fc: Pushed [2023-10-24T15:43:54.877Z] d0f26c380475: Pushed [2023-10-24T15:43:57.408Z] c3bdf24780d5: Pushed [2023-10-24T15:43:57.408Z] c9f5e79f7f6757774f639370f81fc5ed0e697313: digest: sha256:b8b48c4382f78e3125c0390b65a0c9a2aa3bf4de0b5657f487cfedd0c499b20f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:57.979Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:58.288Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-24T15:43:58.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T15:43:58.288Z] b37c3ed5fd69: Preparing [2023-10-24T15:43:58.288Z] 250b011571fc: Preparing [2023-10-24T15:43:58.288Z] c3bdf24780d5: Preparing [2023-10-24T15:43:58.288Z] d0f26c380475: Preparing [2023-10-24T15:43:58.288Z] cc2447e1835a: Preparing [2023-10-24T15:43:58.288Z] 250b011571fc: Layer already exists [2023-10-24T15:43:58.288Z] b37c3ed5fd69: Layer already exists [2023-10-24T15:43:58.288Z] c3bdf24780d5: Layer already exists [2023-10-24T15:43:58.288Z] d0f26c380475: Layer already exists [2023-10-24T15:43:58.288Z] cc2447e1835a: Layer already exists [2023-10-24T15:43:58.288Z] latest: digest: sha256:b8b48c4382f78e3125c0390b65a0c9a2aa3bf4de0b5657f487cfedd0c499b20f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:58.594Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:58.900Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.7 [2023-10-24T15:43:58.900Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T15:43:58.900Z] b37c3ed5fd69: Preparing [2023-10-24T15:43:58.900Z] 250b011571fc: Preparing [2023-10-24T15:43:58.900Z] c3bdf24780d5: Preparing [2023-10-24T15:43:58.900Z] d0f26c380475: Preparing [2023-10-24T15:43:58.900Z] cc2447e1835a: Preparing [2023-10-24T15:43:58.900Z] b37c3ed5fd69: Layer already exists [2023-10-24T15:43:58.900Z] d0f26c380475: Layer already exists [2023-10-24T15:43:58.900Z] cc2447e1835a: Layer already exists [2023-10-24T15:43:58.900Z] 250b011571fc: Layer already exists [2023-10-24T15:43:58.900Z] c3bdf24780d5: Layer already exists [2023-10-24T15:43:58.900Z] 3.1.0-dev.7: digest: sha256:b8b48c4382f78e3125c0390b65a0c9a2aa3bf4de0b5657f487cfedd0c499b20f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:59.208Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:59.523Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [2023-10-24T15:43:59.523Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T15:43:59.523Z] b37c3ed5fd69: Preparing [2023-10-24T15:43:59.523Z] 250b011571fc: Preparing [2023-10-24T15:43:59.523Z] c3bdf24780d5: Preparing [2023-10-24T15:43:59.523Z] d0f26c380475: Preparing [2023-10-24T15:43:59.523Z] cc2447e1835a: Preparing [2023-10-24T15:43:59.523Z] cc2447e1835a: Layer already exists [2023-10-24T15:43:59.523Z] 250b011571fc: Layer already exists [2023-10-24T15:43:59.523Z] d0f26c380475: Layer already exists [2023-10-24T15:43:59.523Z] b37c3ed5fd69: Layer already exists [2023-10-24T15:43:59.523Z] c3bdf24780d5: Layer already exists [2023-10-24T15:43:59.523Z] c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7: digest: sha256:b8b48c4382f78e3125c0390b65a0c9a2aa3bf4de0b5657f487cfedd0c499b20f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:43:59.840Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:44:00.145Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-10-24T15:44:00.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T15:44:00.145Z] b37c3ed5fd69: Preparing [2023-10-24T15:44:00.145Z] 250b011571fc: Preparing [2023-10-24T15:44:00.145Z] c3bdf24780d5: Preparing [2023-10-24T15:44:00.145Z] d0f26c380475: Preparing [2023-10-24T15:44:00.145Z] cc2447e1835a: Preparing [2023-10-24T15:44:00.145Z] c3bdf24780d5: Layer already exists [2023-10-24T15:44:00.145Z] b37c3ed5fd69: Layer already exists [2023-10-24T15:44:00.145Z] d0f26c380475: Layer already exists [2023-10-24T15:44:00.145Z] cc2447e1835a: Layer already exists [2023-10-24T15:44:00.145Z] 250b011571fc: Layer already exists [2023-10-24T15:44:00.145Z] main: digest: sha256:b8b48c4382f78e3125c0390b65a0c9a2aa3bf4de0b5657f487cfedd0c499b20f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:44:00.182Z] ===================================================== [Pipeline] echo [2023-10-24T15:44:00.189Z] taggedImages: [2023-10-24T15:44:00.189Z] - nexus3.edgexfoundry.org:10004/device-snmp:c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:44:00.189Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-24T15:44:00.189Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.7 [2023-10-24T15:44:00.189Z] - nexus3.edgexfoundry.org:10004/device-snmp:c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [2023-10-24T15:44:00.189Z] - 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-10-24T15:44:00.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:44:00.566Z] [2023-10-24T15:44:00.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:44:00.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:44:00.866Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T15:44:00.866Z] 5eb5b503b376: Pulling fs layer [2023-10-24T15:44:00.866Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T15:44:00.866Z] ec43610c2a17: Pulling fs layer [2023-10-24T15:44:00.866Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T15:44:00.866Z] 33b1e0a273af: Pulling fs layer [2023-10-24T15:44:00.866Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T15:44:00.866Z] 2f39f015ded8: Pulling fs layer [2023-10-24T15:44:00.866Z] 33b1e0a273af: Waiting [2023-10-24T15:44:00.866Z] 3a2ae6a8a46f: Waiting [2023-10-24T15:44:00.866Z] 5d3b04190fa2: Waiting [2023-10-24T15:44:00.866Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T15:44:00.866Z] 3a2ae6a8a46f: Download complete [2023-10-24T15:44:01.129Z] ec43610c2a17: Verifying Checksum [2023-10-24T15:44:01.129Z] ec43610c2a17: Download complete [2023-10-24T15:44:01.129Z] 33b1e0a273af: Verifying Checksum [2023-10-24T15:44:01.129Z] 33b1e0a273af: Download complete [2023-10-24T15:44:01.129Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T15:44:01.129Z] 5eb5b503b376: Verifying Checksum [2023-10-24T15:44:01.129Z] 5eb5b503b376: Download complete [2023-10-24T15:44:01.695Z] 2f39f015ded8: Download complete [2023-10-24T15:44:02.261Z] 5eb5b503b376: Pull complete [2023-10-24T15:44:02.520Z] 5c69ac0246d0: Pull complete [2023-10-24T15:44:02.779Z] ec43610c2a17: Pull complete [2023-10-24T15:44:02.779Z] 3a2ae6a8a46f: Pull complete [2023-10-24T15:44:03.036Z] 33b1e0a273af: Pull complete [2023-10-24T15:44:03.036Z] 5d3b04190fa2: Pull complete [2023-10-24T15:44:07.233Z] 2f39f015ded8: Pull complete [2023-10-24T15:44:07.233Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T15:44:07.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:44:07.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:44:07.334Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:44:07.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T15:44:11.610Z] $ docker top b87dd9e3f2194b64c747d885184ae656ab33142ef0deffc9d6cf2a36fc5c4782 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:44:11.985Z] ---> job-cost.sh [2023-10-24T15:44:11.985Z] lf-activate-venv: SKIPPING [2023-10-24T15:44:11.985Z] INFO: No Stack... [2023-10-24T15:44:12.243Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:44:12.811Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:44:13.105Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-10-24T15:44:13.105Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T15:44:13.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] [2023-10-24T15:44:13.124Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] did not exist. Created. [2023-10-24T15:44:13.124Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:44:13.427Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T15:44:13.457Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:44:13.466Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:44:13.468Z] $ docker stop --time=1 b87dd9e3f2194b64c747d885184ae656ab33142ef0deffc9d6cf2a36fc5c4782 [2023-10-24T15:44:14.621Z] $ docker rm -f --volumes b87dd9e3f2194b64c747d885184ae656ab33142ef0deffc9d6cf2a36fc5c4782 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T15:45:17.629Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9941 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-10-24T15:45:17.645Z] Running in /w/workspace/device-snmp-go/93 [Pipeline] { [Pipeline] checkout [2023-10-24T15:45:17.685Z] Selected Git installation does not exist. Using Default [2023-10-24T15:45:17.685Z] The recommended git tool is: NONE [2023-10-24T15:45:23.774Z] using credential edgex-jenkins-ssh [2023-10-24T15:45:23.795Z] Cloning the remote Git repository [2023-10-24T15:45:23.860Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-10-24T15:45:24.014Z] > git init /w/workspace/device-snmp-go/93 # timeout=10 [2023-10-24T15:45:24.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-10-24T15:45:24.227Z] > git --version # timeout=10 [2023-10-24T15:45:24.250Z] > git --version # 'git version 2.25.1' [2023-10-24T15:45:24.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:45:24.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:45:26.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-10-24T15:45:26.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:45:28.020Z] Avoid second fetch [2023-10-24T15:45:28.021Z] Checking out Revision c9f5e79f7f6757774f639370f81fc5ed0e697313 (main) [2023-10-24T15:45:28.894Z] Commit message: "feat!: Remove snap packaging (#322)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:45:28.045Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T15:45:28.148Z] > git checkout -f c9f5e79f7f6757774f639370f81fc5ed0e697313 # timeout=10 [2023-10-24T15:45:29.932Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T15:45:29.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:45:29.932Z] Dload Upload Total Spent Left Speed [2023-10-24T15:45:29.932Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-10-24T15:45:30.615Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T15:45:30.989Z] + sudo tee /etc/docker/daemon.new [2023-10-24T15:45:30.989Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T15:45:30.989Z] { [2023-10-24T15:45:30.989Z] "registry-mirrors": [ [2023-10-24T15:45:30.989Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T15:45:30.989Z] ], [2023-10-24T15:45:30.989Z] "bip": "10.250.0.254/24", [2023-10-24T15:45:30.989Z] "hosts": [ [2023-10-24T15:45:30.989Z] "tcp://0.0.0.0:5555", [2023-10-24T15:45:30.989Z] "unix:///var/run/docker.sock" [2023-10-24T15:45:30.989Z] ], [2023-10-24T15:45:30.989Z] "mtu": 1458, [2023-10-24T15:45:30.989Z] "selinux-enabled": true, [2023-10-24T15:45:30.989Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T15:45:30.989Z] } [Pipeline] sh [2023-10-24T15:45:31.337Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T15:45:31.703Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:45:50.003Z] provisioning config files... [2023-10-24T15:45:50.035Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/93@tmp/config17667079301277617237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:45:50.400Z] ---> docker-login.sh [2023-10-24T15:45:50.400Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:45:50.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:53.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:53.586Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:53.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:53.586Z] [2023-10-24T15:45:53.586Z] Login Succeeded [2023-10-24T15:45:53.586Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:45:53.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:53.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:53.862Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:53.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:53.862Z] [2023-10-24T15:45:53.862Z] Login Succeeded [2023-10-24T15:45:53.863Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:45:54.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:54.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:54.140Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:54.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:54.140Z] [2023-10-24T15:45:54.140Z] Login Succeeded [2023-10-24T15:45:54.140Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:45:54.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:54.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:54.682Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:54.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:54.682Z] [2023-10-24T15:45:54.682Z] Login Succeeded [2023-10-24T15:45:54.682Z] docker.io [2023-10-24T15:45:54.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:55.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:55.228Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:55.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:55.228Z] [2023-10-24T15:45:55.228Z] Login Succeeded [2023-10-24T15:45:55.228Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:45:55.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:45:55.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:45:55.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:45:55.581Z] ========================================================= [2023-10-24T15:45:55.581Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T15:45:55.581Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:55.923Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:45:56.222Z] Sending build context to Docker daemon 2.928MB [2023-10-24T15:45:56.222Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:45:56.222Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T15:45:56.500Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T15:45:56.500Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T15:45:56.500Z] 5d54e960e981: Pulling fs layer [2023-10-24T15:45:56.500Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T15:45:56.500Z] f0e02332f6b5: Pulling fs layer [2023-10-24T15:45:56.500Z] cefa15bbcfad: Pulling fs layer [2023-10-24T15:45:56.500Z] f0e02332f6b5: Waiting [2023-10-24T15:45:56.500Z] 17808c966233: Pulling fs layer [2023-10-24T15:45:56.500Z] cefa15bbcfad: Waiting [2023-10-24T15:45:56.500Z] 17808c966233: Waiting [2023-10-24T15:45:56.500Z] f4c1fc716caa: Pulling fs layer [2023-10-24T15:45:56.500Z] f4c1fc716caa: Waiting [2023-10-24T15:45:56.500Z] 5d54e960e981: Verifying Checksum [2023-10-24T15:45:56.500Z] 5d54e960e981: Download complete [2023-10-24T15:45:56.500Z] f0e02332f6b5: Verifying Checksum [2023-10-24T15:45:56.500Z] f0e02332f6b5: Download complete [2023-10-24T15:45:56.500Z] cefa15bbcfad: Download complete [2023-10-24T15:45:56.500Z] 9fda8d8052c6: Download complete [2023-10-24T15:45:57.099Z] f4c1fc716caa: Verifying Checksum [2023-10-24T15:45:57.099Z] f4c1fc716caa: Download complete [2023-10-24T15:45:57.689Z] 9fda8d8052c6: Pull complete [2023-10-24T15:45:58.351Z] 5d54e960e981: Pull complete [2023-10-24T15:45:58.618Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T15:45:58.618Z] c4a7e357bf2a: Download complete [2023-10-24T15:45:59.580Z] 17808c966233: Verifying Checksum [2023-10-24T15:45:59.580Z] 17808c966233: Download complete [2023-10-24T15:46:11.911Z] c4a7e357bf2a: Pull complete [2023-10-24T15:46:11.911Z] f0e02332f6b5: Pull complete [2023-10-24T15:46:11.911Z] cefa15bbcfad: Pull complete [2023-10-24T15:46:22.272Z] 17808c966233: Pull complete [2023-10-24T15:46:24.227Z] f4c1fc716caa: Pull complete [2023-10-24T15:46:24.227Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T15:46:24.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T15:46:24.227Z] ---> ea914061e18c [2023-10-24T15:46:24.227Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:46:25.188Z] ---> Running in 1d6641337675 [2023-10-24T15:46:25.458Z] Removing intermediate container 1d6641337675 [2023-10-24T15:46:25.458Z] ---> b16d1d630e7a [2023-10-24T15:46:25.458Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:46:25.458Z] ---> Running in 774a2911f022 [2023-10-24T15:46:25.742Z] Removing intermediate container 774a2911f022 [2023-10-24T15:46:25.742Z] ---> 87bfbaa11c03 [2023-10-24T15:46:25.742Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:46:25.742Z] ---> Running in 0dbeb0b90888 [2023-10-24T15:46:26.332Z] Removing intermediate container 0dbeb0b90888 [2023-10-24T15:46:26.332Z] ---> ffeb01530525 [2023-10-24T15:46:26.332Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:46:26.332Z] ---> Running in 288ce93352ab [2023-10-24T15:46:26.604Z] Removing intermediate container 288ce93352ab [2023-10-24T15:46:26.604Z] ---> 3bc07219b1c6 [2023-10-24T15:46:26.604Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:46:26.604Z] ---> Running in 5d9a073610e5 [2023-10-24T15:46:28.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:46:28.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:46:29.268Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:46:29.268Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T15:46:29.268Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:46:29.538Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:46:29.538Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:46:29.538Z] OK: 270 MiB in 56 packages [2023-10-24T15:46:30.504Z] Removing intermediate container 5d9a073610e5 [2023-10-24T15:46:30.504Z] ---> 699b44f292e8 [2023-10-24T15:46:30.504Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-24T15:46:30.776Z] ---> Running in 2e7634cb0a1a [2023-10-24T15:46:31.045Z] Removing intermediate container 2e7634cb0a1a [2023-10-24T15:46:31.045Z] ---> abb32fa9471e [2023-10-24T15:46:31.045Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T15:46:31.312Z] ---> 4312c99d50d4 [2023-10-24T15:46:31.312Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:46:31.580Z] ---> Running in 035ed63599e4 [2023-10-24T15:48:08.257Z] Removing intermediate container 035ed63599e4 [2023-10-24T15:48:08.257Z] ---> ceafbf9a667c [2023-10-24T15:48:08.257Z] Step 11/12 : COPY . . [2023-10-24T15:48:08.257Z] ---> d24d074e89dc [2023-10-24T15:48:08.257Z] Step 12/12 : RUN ${MAKE} [2023-10-24T15:48:08.257Z] ---> Running in 5c4faac12446 [2023-10-24T15:48:08.257Z] noop [2023-10-24T15:48:08.257Z] Removing intermediate container 5c4faac12446 [2023-10-24T15:48:08.257Z] ---> 647dd3a23da2 [2023-10-24T15:48:08.257Z] Successfully built 647dd3a23da2 [2023-10-24T15:48:08.257Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:48:08.605Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:48:08.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:48:08.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-9941 does not seem to be running inside a container [2023-10-24T15:48:08.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/93 -v /w/workspace/device-snmp-go/93:/w/workspace/device-snmp-go/93:rw,z -v /w/workspace/device-snmp-go/93@tmp:/w/workspace/device-snmp-go/93@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-10-24T15:48:10.298Z] $ docker top 11f6210c61225bdd607f54c7e943f1ec6499bec5a1bc64ee8ab74547315dc815 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:48:11.165Z] + go version [2023-10-24T15:48:11.165Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T15:48:11.185Z] $ docker stop --time=1 11f6210c61225bdd607f54c7e943f1ec6499bec5a1bc64ee8ab74547315dc815 [2023-10-24T15:48:12.836Z] $ docker rm -f --volumes 11f6210c61225bdd607f54c7e943f1ec6499bec5a1bc64ee8ab74547315dc815 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:48:13.399Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:48:13.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:48:13.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-9941 does not seem to be running inside a container [2023-10-24T15:48:13.663Z] $ 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/93 -v /w/workspace/device-snmp-go/93:/w/workspace/device-snmp-go/93:rw,z -v /w/workspace/device-snmp-go/93@tmp:/w/workspace/device-snmp-go/93@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-10-24T15:48:14.922Z] $ docker top 47313f55170c22ba7aa74aaee4d4f7c02b0dfcf0d98a84fa2c4dd1f3846c03f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:48:15.759Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/93 [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:48:16.415Z] + make test [2023-10-24T15:48:16.415Z] go test ./... -coverprofile=coverage.out [2023-10-24T15:48:20.678Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-24T15:49:57.385Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-24T15:49:57.385Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements [2023-10-24T15:49:57.385Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T15:49:57.385Z] go vet ./... [2023-10-24T15:50:19.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:50:19.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:50:19.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:50:19.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:50:19.502Z] $ docker stop --time=1 47313f55170c22ba7aa74aaee4d4f7c02b0dfcf0d98a84fa2c4dd1f3846c03f1 [2023-10-24T15:50:21.484Z] $ docker rm -f --volumes 47313f55170c22ba7aa74aaee4d4f7c02b0dfcf0d98a84fa2c4dd1f3846c03f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:50:22.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:50:22.698Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T15:50:23.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:50:23.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:50:23.932Z] + ls -al . [2023-10-24T15:50:23.932Z] total 168 [2023-10-24T15:50:23.932Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 15:48 . [2023-10-24T15:50:23.932Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:45 .. [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 15:45 .dockerignore [2023-10-24T15:50:23.932Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:45 .git [2023-10-24T15:50:23.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:45 .github [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 15:45 .gitignore [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:45 .golangci.yml [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 15:45 Attribution.txt [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 15:45 CHANGELOG.md [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 15:45 Dockerfile [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:45 GOVERNANCE.md [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 15:45 Jenkinsfile [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:45 LICENSE [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 15:45 Makefile [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 15:45 OWNERS.md [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 15:45 README.md [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 15:41 VERSION [2023-10-24T15:50:23.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:45 bin [2023-10-24T15:50:23.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:45 cmd [2023-10-24T15:50:23.932Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 15:49 coverage.out [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 15:45 go.mod [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 15:45 go.sum [2023-10-24T15:50:23.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:45 internal [2023-10-24T15:50:23.932Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 15:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:50:24.275Z] + 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=c9f5e79f7f6757774f639370f81fc5ed0e697313 --label arch=arm64 --label version=3.1.0-dev.7 . [2023-10-24T15:50:24.541Z] Sending build context to Docker daemon 2.938MB [2023-10-24T15:50:24.541Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:50:24.541Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-24T15:50:24.541Z] ---> 647dd3a23da2 [2023-10-24T15:50:24.541Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:50:24.808Z] ---> Running in 47c2d6f31ba2 [2023-10-24T15:50:25.074Z] Removing intermediate container 47c2d6f31ba2 [2023-10-24T15:50:25.074Z] ---> 52766b0b175a [2023-10-24T15:50:25.074Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:50:25.074Z] ---> Running in b171b2450e6d [2023-10-24T15:50:25.343Z] Removing intermediate container b171b2450e6d [2023-10-24T15:50:25.343Z] ---> b7016644ea72 [2023-10-24T15:50:25.343Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:50:25.609Z] ---> Running in c30a742fcdc7 [2023-10-24T15:50:25.877Z] Removing intermediate container c30a742fcdc7 [2023-10-24T15:50:25.877Z] ---> a40475840fae [2023-10-24T15:50:25.877Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:50:25.877Z] ---> Running in 3ffac629fa7f [2023-10-24T15:50:26.145Z] Removing intermediate container 3ffac629fa7f [2023-10-24T15:50:26.145Z] ---> 87b79653e065 [2023-10-24T15:50:26.145Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:50:26.412Z] ---> Running in bd3431a198f9 [2023-10-24T15:50:27.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:50:27.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:50:29.056Z] OK: 270 MiB in 56 packages [2023-10-24T15:50:30.021Z] Removing intermediate container bd3431a198f9 [2023-10-24T15:50:30.021Z] ---> e3946d5af914 [2023-10-24T15:50:30.021Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-24T15:50:30.021Z] ---> Running in 5d8f2ac87da1 [2023-10-24T15:50:30.289Z] Removing intermediate container 5d8f2ac87da1 [2023-10-24T15:50:30.289Z] ---> 5537c18e7afe [2023-10-24T15:50:30.289Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-24T15:50:30.874Z] ---> 9bc6693d3c9b [2023-10-24T15:50:30.874Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:50:30.874Z] ---> Running in 6943bcce02c6 [2023-10-24T15:50:33.466Z] Removing intermediate container 6943bcce02c6 [2023-10-24T15:50:33.466Z] ---> 27f2f2e46b41 [2023-10-24T15:50:33.466Z] Step 11/24 : COPY . . [2023-10-24T15:50:34.054Z] ---> 6f2ea8fd9ef6 [2023-10-24T15:50:34.054Z] Step 12/24 : RUN ${MAKE} [2023-10-24T15:50:34.054Z] ---> Running in 087ff5be8ff6 [2023-10-24T15:50:35.015Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-24T15:52:56.842Z] Removing intermediate container 087ff5be8ff6 [2023-10-24T15:52:56.842Z] ---> 04fab1ec255e [2023-10-24T15:52:56.842Z] Step 13/24 : FROM alpine:3.18 [2023-10-24T15:52:56.842Z] 3.18: Pulling from library/alpine [2023-10-24T15:52:56.842Z] 579b34f0a95b: Pulling fs layer [2023-10-24T15:52:56.842Z] 579b34f0a95b: Verifying Checksum [2023-10-24T15:52:56.842Z] 579b34f0a95b: Download complete [2023-10-24T15:52:56.842Z] 579b34f0a95b: Pull complete [2023-10-24T15:52:56.842Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:52:56.842Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:52:56.842Z] ---> 3cc203321400 [2023-10-24T15:52:56.842Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-24T15:52:56.842Z] ---> Running in 0bdb95fc7160 [2023-10-24T15:52:56.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:52:56.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:52:56.842Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T15:52:56.842Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:52:56.842Z] OK: 8 MiB in 16 packages [2023-10-24T15:52:56.842Z] Removing intermediate container 0bdb95fc7160 [2023-10-24T15:52:56.842Z] ---> 688dbb78d830 [2023-10-24T15:52:56.842Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-24T15:52:56.842Z] ---> 48b141b1cfbe [2023-10-24T15:52:56.842Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-24T15:52:56.842Z] ---> df7a008a7ea8 [2023-10-24T15:52:56.842Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-24T15:52:56.842Z] ---> 1d34a34b6f4b [2023-10-24T15:52:56.842Z] Step 18/24 : EXPOSE 59993 [2023-10-24T15:52:56.842Z] ---> Running in 5b797a55dae5 [2023-10-24T15:52:56.842Z] Removing intermediate container 5b797a55dae5 [2023-10-24T15:52:56.842Z] ---> 963f1f4e09e4 [2023-10-24T15:52:56.842Z] Step 19/24 : EXPOSE 161 [2023-10-24T15:52:56.842Z] ---> Running in c10c7141a038 [2023-10-24T15:52:56.842Z] Removing intermediate container c10c7141a038 [2023-10-24T15:52:56.842Z] ---> 2c9383527aa1 [2023-10-24T15:52:56.842Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-24T15:52:56.842Z] ---> Running in c5f9d4b6d930 [2023-10-24T15:52:56.842Z] Removing intermediate container c5f9d4b6d930 [2023-10-24T15:52:56.842Z] ---> d2d549a63aaf [2023-10-24T15:52:56.842Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T15:52:56.842Z] ---> Running in 5629c2e90a30 [2023-10-24T15:52:56.842Z] Removing intermediate container 5629c2e90a30 [2023-10-24T15:52:56.842Z] ---> fdfcb957e238 [2023-10-24T15:52:56.842Z] Step 22/24 : LABEL arch=arm64 [2023-10-24T15:52:56.842Z] ---> Running in c8e753d7d643 [2023-10-24T15:52:56.842Z] Removing intermediate container c8e753d7d643 [2023-10-24T15:52:56.842Z] ---> 7eac9e483479 [2023-10-24T15:52:56.842Z] Step 23/24 : LABEL git_sha=c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:52:56.842Z] ---> Running in 06e7a43244ac [2023-10-24T15:52:56.842Z] Removing intermediate container 06e7a43244ac [2023-10-24T15:52:56.842Z] ---> 5c9ea03d64cd [2023-10-24T15:52:56.842Z] Step 24/24 : LABEL version=3.1.0-dev.7 [2023-10-24T15:52:56.842Z] ---> Running in 883ab6c21ac2 [2023-10-24T15:52:56.842Z] Removing intermediate container 883ab6c21ac2 [2023-10-24T15:52:56.842Z] ---> b3d0cb442cb6 [2023-10-24T15:52:56.842Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:52:56.842Z] Successfully built b3d0cb442cb6 [2023-10-24T15:52:56.842Z] 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-10-24T15:52:56.979Z] provisioning config files... [2023-10-24T15:52:56.993Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/93@tmp/config16719249260074870400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:52:57.343Z] ---> docker-login.sh [2023-10-24T15:52:57.343Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:52:57.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:57.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:57.616Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:57.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:57.616Z] [2023-10-24T15:52:57.616Z] Login Succeeded [2023-10-24T15:52:57.616Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:52:57.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:58.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:58.162Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:58.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:58.162Z] [2023-10-24T15:52:58.162Z] Login Succeeded [2023-10-24T15:52:58.162Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:52:58.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:58.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:58.432Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:58.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:58.432Z] [2023-10-24T15:52:58.432Z] Login Succeeded [2023-10-24T15:52:58.432Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:52:58.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:58.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:58.978Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:58.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:58.978Z] [2023-10-24T15:52:58.978Z] Login Succeeded [2023-10-24T15:52:58.978Z] docker.io [2023-10-24T15:52:59.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:59.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:59.517Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:59.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:59.517Z] [2023-10-24T15:52:59.517Z] Login Succeeded [2023-10-24T15:52:59.517Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:52:59.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:52:59.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:52:59.596Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-10-24T15:52:59.596Z] c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:52:59.596Z] latest [2023-10-24T15:52:59.596Z] 3.1.0-dev.7 [2023-10-24T15:52:59.596Z] c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [2023-10-24T15:52:59.596Z] main [2023-10-24T15:52:59.596Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:52:59.983Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:00.354Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:53:00.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T15:53:00.354Z] 73dbc43e2720: Preparing [2023-10-24T15:53:00.354Z] 5534ac02c5c5: Preparing [2023-10-24T15:53:00.354Z] 20169bb661cb: Preparing [2023-10-24T15:53:00.354Z] da0d9e80702e: Preparing [2023-10-24T15:53:00.354Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:53:00.631Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:53:00.631Z] da0d9e80702e: Pushed [2023-10-24T15:53:00.631Z] 73dbc43e2720: Pushed [2023-10-24T15:53:00.631Z] 5534ac02c5c5: Pushed [2023-10-24T15:53:07.311Z] 20169bb661cb: Pushed [2023-10-24T15:53:07.311Z] c9f5e79f7f6757774f639370f81fc5ed0e697313: digest: sha256:b98b46f998ef7d3fa288de11a125098cbb198931c38ed90dba63e612a1b961ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:07.676Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:08.032Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-24T15:53:08.032Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T15:53:08.032Z] 73dbc43e2720: Preparing [2023-10-24T15:53:08.032Z] 5534ac02c5c5: Preparing [2023-10-24T15:53:08.032Z] 20169bb661cb: Preparing [2023-10-24T15:53:08.032Z] da0d9e80702e: Preparing [2023-10-24T15:53:08.032Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:53:08.032Z] 20169bb661cb: Layer already exists [2023-10-24T15:53:08.032Z] da0d9e80702e: Layer already exists [2023-10-24T15:53:08.032Z] 5534ac02c5c5: Layer already exists [2023-10-24T15:53:08.032Z] 73dbc43e2720: Layer already exists [2023-10-24T15:53:08.032Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:53:08.301Z] latest: digest: sha256:b98b46f998ef7d3fa288de11a125098cbb198931c38ed90dba63e612a1b961ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:08.662Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:09.122Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.7 [2023-10-24T15:53:09.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T15:53:09.122Z] 73dbc43e2720: Preparing [2023-10-24T15:53:09.122Z] 5534ac02c5c5: Preparing [2023-10-24T15:53:09.122Z] 20169bb661cb: Preparing [2023-10-24T15:53:09.122Z] da0d9e80702e: Preparing [2023-10-24T15:53:09.122Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:53:09.122Z] 20169bb661cb: Layer already exists [2023-10-24T15:53:09.395Z] 5534ac02c5c5: Layer already exists [2023-10-24T15:53:09.395Z] da0d9e80702e: Layer already exists [2023-10-24T15:53:09.395Z] 73dbc43e2720: Layer already exists [2023-10-24T15:53:09.395Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:53:09.395Z] 3.1.0-dev.7: digest: sha256:b98b46f998ef7d3fa288de11a125098cbb198931c38ed90dba63e612a1b961ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:09.778Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:10.165Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [2023-10-24T15:53:10.165Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T15:53:10.165Z] 73dbc43e2720: Preparing [2023-10-24T15:53:10.165Z] 5534ac02c5c5: Preparing [2023-10-24T15:53:10.165Z] 20169bb661cb: Preparing [2023-10-24T15:53:10.165Z] da0d9e80702e: Preparing [2023-10-24T15:53:10.165Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:53:10.165Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:53:10.165Z] 20169bb661cb: Layer already exists [2023-10-24T15:53:10.165Z] 73dbc43e2720: Layer already exists [2023-10-24T15:53:10.165Z] 5534ac02c5c5: Layer already exists [2023-10-24T15:53:10.165Z] da0d9e80702e: Layer already exists [2023-10-24T15:53:10.437Z] c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7: digest: sha256:b98b46f998ef7d3fa288de11a125098cbb198931c38ed90dba63e612a1b961ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:10.822Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:12.613Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-10-24T15:53:12.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T15:53:12.613Z] 73dbc43e2720: Preparing [2023-10-24T15:53:12.613Z] 5534ac02c5c5: Preparing [2023-10-24T15:53:12.613Z] 20169bb661cb: Preparing [2023-10-24T15:53:12.613Z] da0d9e80702e: Preparing [2023-10-24T15:53:12.613Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:53:12.613Z] 73dbc43e2720: Layer already exists [2023-10-24T15:53:12.613Z] 5534ac02c5c5: Layer already exists [2023-10-24T15:53:12.613Z] da0d9e80702e: Layer already exists [2023-10-24T15:53:12.613Z] 20169bb661cb: Layer already exists [2023-10-24T15:53:12.613Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:53:12.896Z] main: digest: sha256:b98b46f998ef7d3fa288de11a125098cbb198931c38ed90dba63e612a1b961ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:53:12.955Z] ===================================================== [Pipeline] echo [2023-10-24T15:53:12.968Z] taggedImages: [2023-10-24T15:53:12.968Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c9f5e79f7f6757774f639370f81fc5ed0e697313 [2023-10-24T15:53:12.968Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-24T15:53:12.968Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.7 [2023-10-24T15:53:12.968Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c9f5e79f7f6757774f639370f81fc5ed0e697313-3.1.0-dev.7 [2023-10-24T15:53:12.968Z] - 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-10-24T15:53:13.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:53:13.348Z] [2023-10-24T15:53:13.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:13.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:53:13.963Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T15:53:13.964Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T15:53:13.964Z] 04944245beec: Pulling fs layer [2023-10-24T15:53:13.964Z] 699f458cf7ca: Pulling fs layer [2023-10-24T15:53:13.964Z] 765212b225bb: Pulling fs layer [2023-10-24T15:53:13.964Z] f23df028b6ca: Pulling fs layer [2023-10-24T15:53:13.964Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T15:53:13.964Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T15:53:13.964Z] f23df028b6ca: Waiting [2023-10-24T15:53:13.964Z] d65c8cfc05b1: Waiting [2023-10-24T15:53:13.964Z] 2437ff75d9bd: Waiting [2023-10-24T15:53:13.964Z] 765212b225bb: Waiting [2023-10-24T15:53:13.964Z] 04944245beec: Verifying Checksum [2023-10-24T15:53:13.964Z] 04944245beec: Download complete [2023-10-24T15:53:13.964Z] 765212b225bb: Verifying Checksum [2023-10-24T15:53:13.964Z] 765212b225bb: Download complete [2023-10-24T15:53:13.964Z] f23df028b6ca: Verifying Checksum [2023-10-24T15:53:13.964Z] f23df028b6ca: Download complete [2023-10-24T15:53:13.964Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T15:53:13.964Z] d65c8cfc05b1: Download complete [2023-10-24T15:53:14.234Z] 699f458cf7ca: Verifying Checksum [2023-10-24T15:53:14.234Z] 699f458cf7ca: Download complete [2023-10-24T15:53:14.816Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T15:53:14.816Z] 8998bd30e6a1: Download complete [2023-10-24T15:53:17.394Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T15:53:17.394Z] 2437ff75d9bd: Download complete [2023-10-24T15:53:19.978Z] 8998bd30e6a1: Pull complete [2023-10-24T15:53:20.247Z] 04944245beec: Pull complete [2023-10-24T15:53:22.191Z] 699f458cf7ca: Pull complete [2023-10-24T15:53:22.191Z] 765212b225bb: Pull complete [2023-10-24T15:53:23.155Z] f23df028b6ca: Pull complete [2023-10-24T15:53:23.155Z] d65c8cfc05b1: Pull complete [2023-10-24T15:53:41.376Z] 2437ff75d9bd: Pull complete [2023-10-24T15:53:41.376Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T15:53:41.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:53:41.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:53:41.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-9941 does not seem to be running inside a container [2023-10-24T15:53:41.639Z] $ 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/93 -v /w/workspace/device-snmp-go/93:/w/workspace/device-snmp-go/93:rw,z -v /w/workspace/device-snmp-go/93@tmp:/w/workspace/device-snmp-go/93@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-10-24T15:53:44.492Z] $ docker top 5e24fa9e9bf5bdf34f9af3f3c59596561a01bedb013abb51d0f14e4fd9c8ca5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:53:45.318Z] ---> job-cost.sh [2023-10-24T15:53:45.319Z] lf-activate-venv: SKIPPING [2023-10-24T15:53:45.319Z] INFO: No Stack... [2023-10-24T15:53:45.584Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T15:53:46.540Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:53:47.173Z] + cat /w/workspace/device-snmp-go/93/archives/cost.csv [2023-10-24T15:53:47.173Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T15:53:47.233Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] [2023-10-24T15:53:47.240Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] did not exist. Created. [2023-10-24T15:53:47.240Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:53:47.889Z] /w/workspace/device-snmp-go/93@tmp/durable-5ff6b690/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T15:53:48.220Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T15:53:48.508Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T15:53:48.556Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:53:48.562Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:53:48.585Z] $ docker stop --time=1 5e24fa9e9bf5bdf34f9af3f3c59596561a01bedb013abb51d0f14e4fd9c8ca5a [2023-10-24T15:53:50.093Z] $ docker rm -f --volumes 5e24fa9e9bf5bdf34f9af3f3c59596561a01bedb013abb51d0f14e4fd9c8ca5a [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-10-24T15:53:50.481Z] provisioning config files... [2023-10-24T15:53:50.487Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6963663612735738693tmp [Pipeline] { [Pipeline] sh [2023-10-24T15:53:50.782Z] + set +x [2023-10-24T15:53:50.782Z] + curl -s https://codecov.io/bash [2023-10-24T15:53:50.782Z] + bash -s -- [2023-10-24T15:53:50.782Z] [2023-10-24T15:53:50.782Z] _____ _ [2023-10-24T15:53:50.782Z] / ____| | | [2023-10-24T15:53:50.782Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T15:53:50.782Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T15:53:50.782Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T15:53:50.782Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T15:53:50.782Z] Bash-1.0.6 [2023-10-24T15:53:50.782Z] [2023-10-24T15:53:50.782Z] [2023-10-24T15:53:50.782Z] ==> git version 2.25.1 found [2023-10-24T15:53:50.782Z] ==> 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-10-24T15:53:50.782Z] Release-Date: 2020-01-08 [2023-10-24T15:53:50.782Z] 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-10-24T15:53:50.782Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T15:53:50.782Z] ==> Jenkins CI detected. [2023-10-24T15:53:50.782Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-10-24T15:53:50.782Z] project root: . [2023-10-24T15:53:50.782Z] --> token set from env [2023-10-24T15:53:50.782Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T15:53:50.782Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T15:53:50.782Z] ==> Python coveragepy not found [2023-10-24T15:53:50.782Z] ==> Searching for coverage reports in: [2023-10-24T15:53:50.782Z] + . [2023-10-24T15:53:50.782Z] -> Found 1 reports [2023-10-24T15:53:50.782Z] ==> Detecting git/mercurial file structure [2023-10-24T15:53:50.782Z] ==> Reading reports [2023-10-24T15:53:50.782Z] + ./coverage.out bytes=8837 [2023-10-24T15:53:51.041Z] ==> Appending adjustments [2023-10-24T15:53:51.041Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T15:53:51.041Z] + Found adjustments [2023-10-24T15:53:51.041Z] ==> Gzipping contents [2023-10-24T15:53:51.041Z] 4.0K /tmp/codecov.Rxx3ZN.gz [2023-10-24T15:53:51.041Z] ==> Uploading reports [2023-10-24T15:53:51.041Z] url: https://codecov.io [2023-10-24T15:53:51.041Z] query: branch=main&commit=c9f5e79f7f6757774f639370f81fc5ed0e697313&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T15:53:51.041Z] -> Pinging Codecov [2023-10-24T15:53:51.041Z] 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=c9f5e79f7f6757774f639370f81fc5ed0e697313&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T15:53:51.041Z] -> Uploading to [2023-10-24T15:53:51.042Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/6C56EA5C29638FB4528AC87E60AF5AE0/c9f5e79f7f6757774f639370f81fc5ed0e697313/bc4a67f5-5664-4968-968d-11f8f1d359bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T155350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52b69958624a269b5b77d7d57797c5e09f257543a6640f2fb243440a66aa8e3a [2023-10-24T15:53:51.042Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:53:51.042Z] Dload Upload Total Spent Left Speed [2023-10-24T15:53:51.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 4982 --:--:-- --:--:-- --:--:-- 4982 [2023-10-24T15:53:51.300Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] } [2023-10-24T15:53:51.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T15:53:51.498Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T15:53:51.512Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:51.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T15:53:51.804Z] [2023-10-24T15:53:51.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:53:52.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T15:53:52.095Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T15:53:52.095Z] df9b9388f04a: Pulling fs layer [2023-10-24T15:53:52.095Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T15:53:52.095Z] 25bc292e5bac: Pulling fs layer [2023-10-24T15:53:52.095Z] 114826534d7a: Pulling fs layer [2023-10-24T15:53:52.095Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T15:53:52.095Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T15:53:52.095Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T15:53:52.095Z] 114826534d7a: Waiting [2023-10-24T15:53:52.095Z] 4657fd5d0bcf: Waiting [2023-10-24T15:53:52.095Z] 6ad1cebc031e: Waiting [2023-10-24T15:53:52.095Z] 8a3aa393b2d8: Waiting [2023-10-24T15:53:52.095Z] 25bc292e5bac: Verifying Checksum [2023-10-24T15:53:52.095Z] 25bc292e5bac: Download complete [2023-10-24T15:53:52.095Z] 52dc419b0ee2: Download complete [2023-10-24T15:53:52.095Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T15:53:52.095Z] df9b9388f04a: Verifying Checksum [2023-10-24T15:53:52.095Z] df9b9388f04a: Download complete [2023-10-24T15:53:52.356Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T15:53:52.356Z] 6ad1cebc031e: Download complete [2023-10-24T15:53:52.356Z] df9b9388f04a: Pull complete [2023-10-24T15:53:52.356Z] 52dc419b0ee2: Pull complete [2023-10-24T15:53:52.356Z] 25bc292e5bac: Pull complete [2023-10-24T15:53:52.922Z] 114826534d7a: Verifying Checksum [2023-10-24T15:53:52.922Z] 114826534d7a: Download complete [2023-10-24T15:53:52.922Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T15:53:52.922Z] 8a3aa393b2d8: Download complete [2023-10-24T15:53:56.198Z] 114826534d7a: Pull complete [2023-10-24T15:53:56.198Z] 4657fd5d0bcf: Pull complete [2023-10-24T15:53:56.759Z] 6ad1cebc031e: Pull complete [2023-10-24T15:54:00.034Z] 8a3aa393b2d8: Pull complete [2023-10-24T15:54:00.034Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T15:54:00.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T15:54:00.034Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:54:00.111Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:54:00.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T15:54:07.378Z] $ docker top 93dcdece0b1aa3b5b58b4171e4264e27876e746fbbf85e9c15057356c78c1e14 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T15:54:07.469Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-10-24T15:54:07.745Z] + set -o pipefail [2023-10-24T15:54:07.746Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-10-24T15:54:16.663Z] [2023-10-24T15:54:16.663Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-10-24T15:54:16.663Z] [2023-10-24T15:54:16.663Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/26042139-4277-4ede-adb7-e730775468f7 [2023-10-24T15:54:16.663Z] [2023-10-24T15:54:16.663Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T15:54:16.663Z] [2023-10-24T15:54:16.663Z] [2023-10-24T15:54:16.663Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T15:54:16.663Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T15:54:16.663Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T15:54:16.649Z] $ docker stop --time=1 93dcdece0b1aa3b5b58b4171e4264e27876e746fbbf85e9c15057356c78c1e14 [2023-10-24T15:54:20.910Z] $ docker rm -f --volumes 93dcdece0b1aa3b5b58b4171e4264e27876e746fbbf85e9c15057356c78c1e14 [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-10-24T15:54:21.661Z] + git log --format=format:%s -1 c9f5e79f7f6757774f639370f81fc5ed0e697313 [Pipeline] sh [2023-10-24T15:54:21.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:54:21.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:54:22.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:54:22.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:54:22.324Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:54:22.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T15:54:22.790Z] $ docker top dea852c987b227abdf29c8babe5f91040919f2197f15ccb9fa90c97b5518d888 -eo pid,comm [2023-10-24T15:54:22.861Z] 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-10-24T15:54:22.861Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:54:22.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:54:22.900Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:54:23.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:54:22.986Z] $ docker exec dea852c987b227abdf29c8babe5f91040919f2197f15ccb9fa90c97b5518d888 ssh-agent [2023-10-24T15:54:23.113Z] SSH_AUTH_SOCK=/tmp/ssh-LeRR3fX0d2Jl/agent.32 [2023-10-24T15:54:23.113Z] SSH_AGENT_PID=38 [2023-10-24T15:54:23.117Z] Running ssh-add (command line suppressed) [2023-10-24T15:54:23.191Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3243899640601677810.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3243899640601677810.key) [2023-10-24T15:54:23.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:54:23.516Z] + git semver tag [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,662 [run_tag] DEBUG tag force:False [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,662 [check_head_tag] DEBUG check head tag [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,663 [execute] INFO git cat-file --batch-check [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,667 [execute] INFO git cat-file --batch [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,677 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,677 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,678 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:54:23.775Z] 2023-10-24 15:54:23,682 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:54:23.775Z] 3.1.0-dev.7 [Pipeline] } [2023-10-24T15:54:23.760Z] $ docker exec --env ******** --env ******** dea852c987b227abdf29c8babe5f91040919f2197f15ccb9fa90c97b5518d888 ssh-agent -k [2023-10-24T15:54:23.852Z] unset SSH_AUTH_SOCK; [2023-10-24T15:54:23.853Z] unset SSH_AGENT_PID; [2023-10-24T15:54:23.853Z] echo Agent pid 38 killed; [2023-10-24T15:54:23.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:54:24.187Z] + git semver [Pipeline] } [2023-10-24T15:54:24.434Z] $ docker stop --time=1 dea852c987b227abdf29c8babe5f91040919f2197f15ccb9fa90c97b5518d888 [2023-10-24T15:54:25.717Z] $ docker rm -f --volumes dea852c987b227abdf29c8babe5f91040919f2197f15ccb9fa90c97b5518d888 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:54:26.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T15:54:26.198Z] [2023-10-24T15:54:26.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:54:26.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T15:54:26.499Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T15:54:26.499Z] ab5ef0e58194: Pulling fs layer [2023-10-24T15:54:26.499Z] 9712f1f96733: Pulling fs layer [2023-10-24T15:54:26.499Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T15:54:26.499Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T15:54:26.499Z] e9a5061849ea: Pulling fs layer [2023-10-24T15:54:26.499Z] d747dcd14b5f: Pulling fs layer [2023-10-24T15:54:26.499Z] 2de7ff778b66: Pulling fs layer [2023-10-24T15:54:26.499Z] e9a5061849ea: Waiting [2023-10-24T15:54:26.499Z] d747dcd14b5f: Waiting [2023-10-24T15:54:26.499Z] 2de7ff778b66: Waiting [2023-10-24T15:54:26.499Z] 0d9ebad4ef96: Waiting [2023-10-24T15:54:26.499Z] 9712f1f96733: Verifying Checksum [2023-10-24T15:54:26.499Z] 9712f1f96733: Download complete [2023-10-24T15:54:26.757Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T15:54:26.758Z] 63f879dbbcfc: Download complete [2023-10-24T15:54:27.017Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T15:54:27.017Z] 0d9ebad4ef96: Download complete [2023-10-24T15:54:27.017Z] e9a5061849ea: Verifying Checksum [2023-10-24T15:54:27.017Z] e9a5061849ea: Download complete [2023-10-24T15:54:27.017Z] d747dcd14b5f: Verifying Checksum [2023-10-24T15:54:27.017Z] d747dcd14b5f: Download complete [2023-10-24T15:54:27.017Z] ab5ef0e58194: Download complete [2023-10-24T15:54:27.017Z] 2de7ff778b66: Verifying Checksum [2023-10-24T15:54:27.017Z] 2de7ff778b66: Download complete [2023-10-24T15:54:29.544Z] ab5ef0e58194: Pull complete [2023-10-24T15:54:29.544Z] 9712f1f96733: Pull complete [2023-10-24T15:54:30.478Z] 63f879dbbcfc: Pull complete [2023-10-24T15:54:34.659Z] 0d9ebad4ef96: Pull complete [2023-10-24T15:54:34.659Z] e9a5061849ea: Pull complete [2023-10-24T15:54:34.659Z] d747dcd14b5f: Pull complete [2023-10-24T15:54:35.224Z] 2de7ff778b66: Pull complete [2023-10-24T15:54:35.224Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T15:54:35.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T15:54:35.224Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:54:35.299Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:54:35.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-24T15:54:42.111Z] $ docker top 103ec6c23e9fee4d6ab81861d51629aecabb89f53daf6bcfb0bbcee5c85c9374 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:54:42.203Z] provisioning config files... [2023-10-24T15:54:42.209Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12882777874478616332tmp [2023-10-24T15:54:42.218Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5110746374134226171tmp [2023-10-24T15:54:42.226Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10924606318176822874tmp [Pipeline] { [Pipeline] echo [2023-10-24T15:54:42.241Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:54:42.520Z] ---> sigul-configuration.sh [2023-10-24T15:54:42.520Z] gpg: directory `/root/.gnupg' created [2023-10-24T15:54:42.520Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T15:54:42.520Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T15:54:42.520Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T15:54:42.520Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T15:54:42.520Z] gpg: CAST5 encrypted data [2023-10-24T15:54:42.520Z] gpg: encrypted with 1 passphrase [2023-10-24T15:54:42.520Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T15:54:42.802Z] + mkdir /home/jenkins [2023-10-24T15:54:42.802Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T15:54:43.083Z] + 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-10-24T15:54:43.091Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:54:43.375Z] ---> sigul-install.sh [2023-10-24T15:54:43.375Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T15:54:43.659Z] + git tag --list [2023-10-24T15:54:43.659Z] 1.0.0 [2023-10-24T15:54:43.659Z] v0.0.0 [2023-10-24T15:54:43.659Z] v1.1.0 [2023-10-24T15:54:43.659Z] v1.1.1 [2023-10-24T15:54:43.659Z] v1.2.2 [2023-10-24T15:54:43.659Z] v1.3.0 [2023-10-24T15:54:43.659Z] v1.3.1 [2023-10-24T15:54:43.659Z] v2.0.0 [2023-10-24T15:54:43.659Z] v2.1.0 [2023-10-24T15:54:43.659Z] v2.1.1 [2023-10-24T15:54:43.659Z] v2.2.0 [2023-10-24T15:54:43.659Z] v2.3.0 [2023-10-24T15:54:43.659Z] v3.0 [2023-10-24T15:54:43.659Z] v3.0.0 [2023-10-24T15:54:43.659Z] v3.1.0-dev.1 [2023-10-24T15:54:43.659Z] v3.1.0-dev.2 [2023-10-24T15:54:43.659Z] v3.1.0-dev.3 [2023-10-24T15:54:43.659Z] v3.1.0-dev.4 [2023-10-24T15:54:43.659Z] v3.1.0-dev.5 [2023-10-24T15:54:43.659Z] v3.1.0-dev.6 [2023-10-24T15:54:43.659Z] v3.1.0-dev.7 [Pipeline] sh [2023-10-24T15:54:43.944Z] + lftools sign git-tag v3.1.0-dev.7 [2023-10-24T15:54:44.516Z] Signing Git tag with Sigul... [2023-10-24T15:54:44.516Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-10-24T15:54:44.782Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:54:45.061Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T15:54:45.067Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T15:54:45.067Z] $ docker stop --time=1 103ec6c23e9fee4d6ab81861d51629aecabb89f53daf6bcfb0bbcee5c85c9374 [2023-10-24T15:54:46.362Z] $ docker rm -f --volumes 103ec6c23e9fee4d6ab81861d51629aecabb89f53daf6bcfb0bbcee5c85c9374 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T15:54:46.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:54:46.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:54:47.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:54:47.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:54:47.153Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:54:47.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T15:54:47.509Z] $ docker top 262544237c3f3244a91bff679076f2df879e477ce15d172a0d0258a46f251224 -eo pid,comm [2023-10-24T15:54:47.573Z] 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-10-24T15:54:47.573Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:54:47.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:54:47.609Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:54:47.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:54:47.688Z] $ docker exec 262544237c3f3244a91bff679076f2df879e477ce15d172a0d0258a46f251224 ssh-agent [2023-10-24T15:54:47.813Z] SSH_AUTH_SOCK=/tmp/ssh-vVpnQUJntZuC/agent.32 [2023-10-24T15:54:47.813Z] SSH_AGENT_PID=38 [2023-10-24T15:54:47.817Z] Running ssh-add (command line suppressed) [2023-10-24T15:54:47.890Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5585617198768001790.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5585617198768001790.key) [2023-10-24T15:54:47.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:54:48.207Z] + git semver bump pre [2023-10-24T15:54:48.465Z] 2023-10-24 15:54:48,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:54:48.465Z] 2023-10-24 15:54:48,345 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-10-24T15:54:48.465Z] 2023-10-24 15:54:48,345 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-10-24T15:54:48.465Z] 2023-10-24 15:54:48,345 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-10-24T15:54:48.466Z] 2023-10-24 15:54:48,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:54:48.466Z] 2023-10-24 15:54:48,345 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:54:48.466Z] 2023-10-24 15:54:48,346 [execute] INFO git cat-file --batch-check [2023-10-24T15:54:48.466Z] 2023-10-24 15:54:48,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:54:48.466Z] 2023-10-24 15:54:48,352 [execute] INFO git cat-file --batch [2023-10-24T15:54:48.466Z] 2023-10-24 15:54:48,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:54:48.466Z] 2023-10-24 15:54:48,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:54:48.466Z] 3.1.0-dev.8 [Pipeline] } [2023-10-24T15:54:48.452Z] $ docker exec --env ******** --env ******** 262544237c3f3244a91bff679076f2df879e477ce15d172a0d0258a46f251224 ssh-agent -k [2023-10-24T15:54:48.561Z] unset SSH_AUTH_SOCK; [2023-10-24T15:54:48.561Z] unset SSH_AGENT_PID; [2023-10-24T15:54:48.562Z] echo Agent pid 38 killed; [2023-10-24T15:54:48.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:54:48.898Z] + git semver [Pipeline] } [2023-10-24T15:54:49.145Z] $ docker stop --time=1 262544237c3f3244a91bff679076f2df879e477ce15d172a0d0258a46f251224 [2023-10-24T15:54:50.382Z] $ docker rm -f --volumes 262544237c3f3244a91bff679076f2df879e477ce15d172a0d0258a46f251224 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:54:50.727Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:54:50.727Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:54:51.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:54:51.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:54:51.076Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:54:51.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T15:54:51.413Z] $ docker top 525df9fba7c0b4f7c4ae66a8031329da000559b485697c94f2f940dd8e8b82ff -eo pid,comm [2023-10-24T15:54:51.481Z] 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-10-24T15:54:51.481Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:54:51.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:54:51.517Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:54:51.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:54:51.601Z] $ docker exec 525df9fba7c0b4f7c4ae66a8031329da000559b485697c94f2f940dd8e8b82ff ssh-agent [2023-10-24T15:54:51.743Z] SSH_AUTH_SOCK=/tmp/ssh-jWcDZ9LdXZlX/agent.32 [2023-10-24T15:54:51.743Z] SSH_AGENT_PID=38 [2023-10-24T15:54:51.747Z] Running ssh-add (command line suppressed) [2023-10-24T15:54:51.819Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8011808542480704895.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8011808542480704895.key) [2023-10-24T15:54:51.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:54:52.139Z] + git semver push [2023-10-24T15:54:52.397Z] 2023-10-24 15:54:52,287 [run_push] DEBUG push [2023-10-24T15:54:52.397Z] 2023-10-24 15:54:52,288 [execute] INFO git cat-file --batch-check [2023-10-24T15:54:52.397Z] 2023-10-24 15:54:52,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:54:52.397Z] 2023-10-24 15:54:52,291 [execute] INFO git rev-list 5832c4c9be04b740a9e3c4dee8e16d4b98a1e311 -- [2023-10-24T15:54:52.397Z] 2023-10-24 15:54:52,291 [execute] DEBUG Popen(['git', 'rev-list', '5832c4c9be04b740a9e3c4dee8e16d4b98a1e311', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:54:52.397Z] 2023-10-24 15:54:52,298 [execute] INFO git fetch -v origin [2023-10-24T15:54:52.397Z] 2023-10-24 15:54:52,298 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T15:54:52.965Z] 2023-10-24 15:54:52,840 [run_push] DEBUG no remote changes detected [2023-10-24T15:54:52.965Z] 2023-10-24 15:54:52,841 [execute] INFO git push origin semver [2023-10-24T15:54:52.965Z] 2023-10-24 15:54:52,841 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:54:53.900Z] 2023-10-24 15:54:53,685 [run_push] DEBUG push all version tags [2023-10-24T15:54:53.900Z] 2023-10-24 15:54:53,686 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T15:54:53.900Z] 2023-10-24 15:54:53,686 [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-10-24T15:54:54.833Z] 2023-10-24 15:54:54,470 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T15:54:54.833Z] 3.1.0-dev.8 [Pipeline] } [2023-10-24T15:54:54.820Z] $ docker exec --env ******** --env ******** 525df9fba7c0b4f7c4ae66a8031329da000559b485697c94f2f940dd8e8b82ff ssh-agent -k [2023-10-24T15:54:54.902Z] unset SSH_AUTH_SOCK; [2023-10-24T15:54:54.902Z] unset SSH_AGENT_PID; [2023-10-24T15:54:54.902Z] echo Agent pid 38 killed; [2023-10-24T15:54:54.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:54:55.234Z] + git semver [Pipeline] } [2023-10-24T15:54:55.483Z] $ docker stop --time=1 525df9fba7c0b4f7c4ae66a8031329da000559b485697c94f2f940dd8e8b82ff [2023-10-24T15:54:56.736Z] $ docker rm -f --volumes 525df9fba7c0b4f7c4ae66a8031329da000559b485697c94f2f940dd8e8b82ff [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-10-24T15:54:57.306Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-10-24T15:54:57.306Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-24T15:54:57.306Z] total 16 [2023-10-24T15:54:57.306Z] drwxr-xr-x 3 root root 4096 Oct 24 15:44 . [2023-10-24T15:54:57.306Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:54 .. [2023-10-24T15:54:57.306Z] drwxr-xr-x 2 root root 4096 Oct 24 15:44 cost [2023-10-24T15:54:57.306Z] -rw-r--r-- 1 root root 85 Oct 24 15:44 cost.csv [2023-10-24T15:54:57.306Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-24T15:54:57.306Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-24T15:54:57.306Z] total 16 [2023-10-24T15:54:57.306Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:44 . [2023-10-24T15:54:57.306Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:54 .. [2023-10-24T15:54:57.306Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:44 cost [2023-10-24T15:54:57.306Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 24 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:54:57.594Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:54:58.449Z] ---> package-listing.sh [2023-10-24T15:54:58.450Z] ++ facter osfamily [2023-10-24T15:54:58.450Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T15:54:58.708Z] + OS_FAMILY=debian [2023-10-24T15:54:58.708Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-10-24T15:54:58.708Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T15:54:58.708Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T15:54:58.708Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T15:54:58.708Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T15:54:58.708Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-24T15:54:58.708Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T15:54:58.708Z] + case "${OS_FAMILY}" in [2023-10-24T15:54:58.708Z] + dpkg -l [2023-10-24T15:54:58.708Z] + grep '^ii' [2023-10-24T15:54:58.708Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T15:54:58.708Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T15:54:58.708Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T15:54:58.708Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-24T15:54:58.708Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-10-24T15:54:58.708Z] + 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-10-24T15:54:58.717Z] 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-10-24T15:54:59.068Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:54:59.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:54:59.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:54:59.804Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-10-24T15:54:59.813Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T15:55:00.003Z] $ docker top e9b6f7ac2fc2bde6621fa6b67d3fa3af238fa30b1a0aa9bd041f014a38f77d29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:55:00.365Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T15:55:00.652Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T15:55:00.933Z] + ls /var/log/sa-host [2023-10-24T15:55:00.933Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:55:01.100Z] provisioning config files... [2023-10-24T15:55:01.110Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6776046383194776230tmp [Pipeline] { [Pipeline] echo [2023-10-24T15:55:01.127Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:55:01.408Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T15:55:01.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:55:01.752Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T15:55:01.760Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:55:02.041Z] ---> sudo-logs.sh [2023-10-24T15:55:02.041Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T15:55:02.068Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:55:02.352Z] ---> job-cost.sh [2023-10-24T15:55:02.352Z] lf-activate-venv: SKIPPING [2023-10-24T15:55:02.352Z] DEBUG: total: 0.2199999988079071 [2023-10-24T15:55:02.352Z] INFO: Retrieving Stack Cost... [2023-10-24T15:55:02.918Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:55:03.485Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T15:55:03.495Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:55:03.776Z] ---> logs-deploy.sh [2023-10-24T15:55:03.776Z] lf-activate-venv: SKIPPING [2023-10-24T15:55:03.776Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/93 [2023-10-24T15:55:03.776Z] INFO: archiving workspace using pattern(s): [2023-10-24T15:55:04.713Z] Archives upload complete. [2023-10-24T15:55:04.713Z] INFO: archiving logs to Nexus