Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ebe46f8f6b5f4966359c01929413183d007dd065 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-ssh17492568035207971591.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-ssh4451937428033145347.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-ssh6388789127045742067.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-ssh2293272846872295629.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-ssh13076479833727426557.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 ‘prd-ubuntu20.04-docker-8c-8g-9118’ Running on prd-ubuntu20.04-docker-8c-8g-9120 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 ebe46f8f6b5f4966359c01929413183d007dd065 (main) Commit message: "Merge pull request #320 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > 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 ebe46f8f6b5f4966359c01929413183d007dd065 # timeout=10 > git rev-list --no-walk a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-12T07:25:23.268Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-12T07:25:23.314Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-12T07:25:23.326Z] ========================================================= [2023-10-12T07:25:23.326Z] EdgeX Global Pipelines Version Info [2023-10-12T07:25:23.326Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:25:24.044Z] ------------------- [2023-10-12T07:25:24.044Z] stable info: [2023-10-12T07:25:24.044Z] ------------------- [2023-10-12T07:25:24.044Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-12T07:25:24.044Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T07:25:24.044Z] Message: update stable to v1.0.254 [2023-10-12T07:25:24.616Z] ------------------- [2023-10-12T07:25:24.616Z] experimental info: [2023-10-12T07:25:24.616Z] ------------------- [2023-10-12T07:25:24.616Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-12T07:25:24.616Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T07:25:24.617Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-12T07:25:24.802Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-10-12T07:25:24.816Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-10-12T07:25:24.829Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-12T07:25:24.843Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-12T07:25:24.860Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-12T07:25:24.881Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-12T07:25:24.901Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-12T07:25:24.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-12T07:25:24.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-12T07:25:24.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-12T07:25:24.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-12T07:25:24.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-10-12T07:25:24.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-12T07:25:24.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-12T07:25:24.995Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T07:25:25.005Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T07:25:25.014Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T07:25:25.030Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T07:25:25.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-12T07:25:25.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-12T07:25:25.083Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-12T07:25:25.094Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-12T07:25:25.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-12T07:25:25.121Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-12T07:25:25.132Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-12T07:25:25.144Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-12T07:25:25.155Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-12T07:25:25.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-12T07:25:25.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-12T07:25:25.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-12T07:25:25.219Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] echo [2023-10-12T07:25:25.234Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebe46f8 [Pipeline] echo [2023-10-12T07:25:25.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:25:25.287Z] provisioning config files... [2023-10-12T07:25:25.302Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14824288172768925087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:25:25.609Z] ---> docker-login.sh [2023-10-12T07:25:25.609Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:25:25.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:25.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:25.870Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:25.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:25.870Z] [2023-10-12T07:25:25.870Z] Login Succeeded [2023-10-12T07:25:25.870Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:25:25.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:25.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:25.870Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:25.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:25.870Z] [2023-10-12T07:25:25.870Z] Login Succeeded [2023-10-12T07:25:25.870Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:25:26.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:26.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:26.130Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:26.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:26.130Z] [2023-10-12T07:25:26.130Z] Login Succeeded [2023-10-12T07:25:26.130Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:25:26.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:26.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:26.130Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:26.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:26.130Z] [2023-10-12T07:25:26.130Z] Login Succeeded [2023-10-12T07:25:26.130Z] docker.io [2023-10-12T07:25:26.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:26.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:26.704Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:26.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:26.704Z] [2023-10-12T07:25:26.704Z] Login Succeeded [2023-10-12T07:25:26.704Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:25:26.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-12T07:25:27.100Z] + git rev-list -1 --merges ebe46f8f6b5f4966359c01929413183d007dd065~1..ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] echo [2023-10-12T07:25:27.142Z] -----------> git rev-list -1 --merges ebe46f8f6b5f4966359c01929413183d007dd065~1..ebe46f8f6b5f4966359c01929413183d007dd065 ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:25:27.142Z] ebe46f8f6b5f4966359c01929413183d007dd065 [false] [Pipeline] sh [2023-10-12T07:25:27.431Z] + git log --format=format:%s -1 ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] echo [2023-10-12T07:25:27.444Z] ========================================================= [2023-10-12T07:25:27.444Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-12T07:25:27.444Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T07:25:27.757Z] + git log --format=format:%s -1 ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] echo [2023-10-12T07:25:27.770Z] [semverPrep] GIT_COMMIT: ebe46f8f6b5f4966359c01929413183d007dd065, Commit Message: Merge pull request #320 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo [2023-10-12T07:25:27.778Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-12T07:25:28.122Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:25:28.122Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-12T07:25:28.122Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-12T07:25:28.122Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-12T07:25:28.122Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-12T07:25:28.122Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-12T07:25:28.122Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:25:28.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:25:28.482Z] [2023-10-12T07:25:28.482Z] 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-12T07:25:28.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:25:28.789Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-12T07:25:28.789Z] b85a868b505f: Pulling fs layer [2023-10-12T07:25:28.789Z] e2be974225ed: Pulling fs layer [2023-10-12T07:25:28.789Z] 339a4e72a1f5: Pulling fs layer [2023-10-12T07:25:28.789Z] 988bab9f4d93: Pulling fs layer [2023-10-12T07:25:28.789Z] 1469e6f7b9e6: Pulling fs layer [2023-10-12T07:25:28.789Z] eaf3925da568: Pulling fs layer [2023-10-12T07:25:28.789Z] bab4dde63d76: Pulling fs layer [2023-10-12T07:25:28.789Z] bde34c3a00c8: Pulling fs layer [2023-10-12T07:25:28.789Z] b352a97aabf1: Pulling fs layer [2023-10-12T07:25:28.789Z] 4872d77fe225: Pulling fs layer [2023-10-12T07:25:28.789Z] 5851b861e8e6: Pulling fs layer [2023-10-12T07:25:28.789Z] bab4dde63d76: Waiting [2023-10-12T07:25:28.789Z] 5851b861e8e6: Waiting [2023-10-12T07:25:28.789Z] b352a97aabf1: Waiting [2023-10-12T07:25:28.789Z] bde34c3a00c8: Waiting [2023-10-12T07:25:28.789Z] 988bab9f4d93: Waiting [2023-10-12T07:25:28.789Z] eaf3925da568: Waiting [2023-10-12T07:25:28.789Z] 4872d77fe225: Waiting [2023-10-12T07:25:28.789Z] 1469e6f7b9e6: Waiting [2023-10-12T07:25:28.789Z] e2be974225ed: Verifying Checksum [2023-10-12T07:25:28.789Z] e2be974225ed: Download complete [2023-10-12T07:25:28.789Z] 988bab9f4d93: Download complete [2023-10-12T07:25:29.049Z] 1469e6f7b9e6: Verifying Checksum [2023-10-12T07:25:29.049Z] 1469e6f7b9e6: Download complete [2023-10-12T07:25:29.049Z] eaf3925da568: Verifying Checksum [2023-10-12T07:25:29.049Z] eaf3925da568: Download complete [2023-10-12T07:25:29.049Z] 339a4e72a1f5: Verifying Checksum [2023-10-12T07:25:29.049Z] 339a4e72a1f5: Download complete [2023-10-12T07:25:29.049Z] bde34c3a00c8: Verifying Checksum [2023-10-12T07:25:29.049Z] bde34c3a00c8: Download complete [2023-10-12T07:25:29.049Z] b352a97aabf1: Verifying Checksum [2023-10-12T07:25:29.049Z] b352a97aabf1: Download complete [2023-10-12T07:25:29.049Z] 4872d77fe225: Verifying Checksum [2023-10-12T07:25:29.049Z] 4872d77fe225: Download complete [2023-10-12T07:25:29.049Z] 5851b861e8e6: Verifying Checksum [2023-10-12T07:25:29.049Z] 5851b861e8e6: Download complete [2023-10-12T07:25:29.049Z] b85a868b505f: Verifying Checksum [2023-10-12T07:25:29.049Z] b85a868b505f: Download complete [2023-10-12T07:25:29.308Z] bab4dde63d76: Verifying Checksum [2023-10-12T07:25:29.308Z] bab4dde63d76: Download complete [2023-10-12T07:25:30.698Z] b85a868b505f: Pull complete [2023-10-12T07:25:30.698Z] e2be974225ed: Pull complete [2023-10-12T07:25:30.957Z] 339a4e72a1f5: Pull complete [2023-10-12T07:25:31.217Z] 988bab9f4d93: Pull complete [2023-10-12T07:25:31.476Z] 1469e6f7b9e6: Pull complete [2023-10-12T07:25:31.476Z] eaf3925da568: Pull complete [2023-10-12T07:25:33.378Z] bab4dde63d76: Pull complete [2023-10-12T07:25:33.378Z] bde34c3a00c8: Pull complete [2023-10-12T07:25:33.378Z] b352a97aabf1: Pull complete [2023-10-12T07:25:33.378Z] 4872d77fe225: Pull complete [2023-10-12T07:25:33.637Z] 5851b861e8e6: Pull complete [2023-10-12T07:25:33.637Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-12T07:25:33.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:25:33.637Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:25:33.739Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:25:33.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:25:38.401Z] $ docker top 98a35475e42a83afcd0350c3d6942ff3a1b70abc42e6883e9bba467482375b7a -eo pid,comm [2023-10-12T07:25:38.455Z] 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-12T07:25:38.455Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:25:38.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:25:38.491Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:25:38.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:25:38.609Z] $ docker exec 98a35475e42a83afcd0350c3d6942ff3a1b70abc42e6883e9bba467482375b7a ssh-agent [2023-10-12T07:25:38.709Z] SSH_AUTH_SOCK=/tmp/ssh-xSJTwE7C4fMS/agent.31 [2023-10-12T07:25:38.709Z] SSH_AGENT_PID=37 [2023-10-12T07:25:38.715Z] Running ssh-add (command line suppressed) [2023-10-12T07:25:38.812Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18079273607231858716.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18079273607231858716.key) [2023-10-12T07:25:38.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:25:39.114Z] + git tag --points-at HEAD [Pipeline] } [2023-10-12T07:25:39.131Z] $ docker exec --env ******** --env ******** 98a35475e42a83afcd0350c3d6942ff3a1b70abc42e6883e9bba467482375b7a ssh-agent -k [2023-10-12T07:25:39.219Z] unset SSH_AUTH_SOCK; [2023-10-12T07:25:39.220Z] unset SSH_AGENT_PID; [2023-10-12T07:25:39.220Z] echo Agent pid 37 killed; [2023-10-12T07:25:39.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-12T07:25:39.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:25:39.248Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:25:39.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:25:39.357Z] $ docker exec 98a35475e42a83afcd0350c3d6942ff3a1b70abc42e6883e9bba467482375b7a ssh-agent [2023-10-12T07:25:39.451Z] SSH_AUTH_SOCK=/tmp/ssh-DHGY7PLe4Guy/agent.70 [2023-10-12T07:25:39.451Z] SSH_AGENT_PID=75 [2023-10-12T07:25:39.455Z] Running ssh-add (command line suppressed) [2023-10-12T07:25:39.557Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13691049990817273157.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13691049990817273157.key) [2023-10-12T07:25:39.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:25:39.853Z] + git semver init [2023-10-12T07:25:40.113Z] 2023-10-12 07:25:40,034 [run_init] DEBUG init version:0.0.0 force:False [2023-10-12T07:25:40.113Z] 2023-10-12 07:25:40,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-12T07:25:40.113Z] 2023-10-12 07:25:40,036 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-12T07:25:40.113Z] 2023-10-12 07:25:40,037 [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-12T07:25:41.048Z] 2023-10-12 07:25:40,977 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-10-12T07:25:41.048Z] 2023-10-12 07:25:40,977 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-10-12T07:25:41.048Z] 2023-10-12 07:25:40,977 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:25:41.048Z] 2023-10-12 07:25:40,978 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:25:41.048Z] 3.1.0-dev.5 [Pipeline] } [2023-10-12T07:25:41.060Z] $ docker exec --env ******** --env ******** 98a35475e42a83afcd0350c3d6942ff3a1b70abc42e6883e9bba467482375b7a ssh-agent -k [2023-10-12T07:25:41.228Z] unset SSH_AUTH_SOCK; [2023-10-12T07:25:41.229Z] unset SSH_AGENT_PID; [2023-10-12T07:25:41.229Z] echo Agent pid 75 killed; [2023-10-12T07:25:41.235Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:25:41.539Z] + git semver [Pipeline] } [2023-10-12T07:25:41.814Z] $ docker stop --time=1 98a35475e42a83afcd0350c3d6942ff3a1b70abc42e6883e9bba467482375b7a [2023-10-12T07:25:43.625Z] $ docker rm -f --volumes 98a35475e42a83afcd0350c3d6942ff3a1b70abc42e6883e9bba467482375b7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:25:43.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-12T07:25:44.167Z] Stashed 1 file(s) [Pipeline] echo [2023-10-12T07:25:44.171Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.5 [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-12T07:25:44.323Z] provisioning config files... [2023-10-12T07:25:44.332Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3440791245620154600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:25:44.627Z] ---> docker-login.sh [2023-10-12T07:25:44.627Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:25:44.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:44.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:44.627Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:44.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:44.627Z] [2023-10-12T07:25:44.627Z] Login Succeeded [2023-10-12T07:25:44.627Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:25:44.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:44.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:44.627Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:44.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:44.627Z] [2023-10-12T07:25:44.627Z] Login Succeeded [2023-10-12T07:25:44.627Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:25:44.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:44.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:44.889Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:44.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:44.889Z] [2023-10-12T07:25:44.889Z] Login Succeeded [2023-10-12T07:25:44.889Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:25:44.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:44.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:44.889Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:44.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:44.889Z] [2023-10-12T07:25:44.889Z] Login Succeeded [2023-10-12T07:25:44.889Z] docker.io [2023-10-12T07:25:44.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:25:45.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:25:45.147Z] Configure a credential helper to remove this warning. See [2023-10-12T07:25:45.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:25:45.147Z] [2023-10-12T07:25:45.147Z] Login Succeeded [2023-10-12T07:25:45.147Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:25:45.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T07:25:45.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:25:45.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:25:45.230Z] ========================================================= [2023-10-12T07:25:45.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-12T07:25:45.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:25:45.537Z] + 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-12T07:25:45.538Z] Sending build context to Docker daemon 5.719MB [2023-10-12T07:25:45.796Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:25:45.796Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-12T07:25:45.796Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-12T07:25:45.796Z] 7264a8db6415: Pulling fs layer [2023-10-12T07:25:45.796Z] c4d48a809fc2: Pulling fs layer [2023-10-12T07:25:45.796Z] 4f1c88b9dad5: Pulling fs layer [2023-10-12T07:25:45.796Z] ad3a456e5733: Pulling fs layer [2023-10-12T07:25:45.796Z] 33e27b845d1e: Pulling fs layer [2023-10-12T07:25:45.796Z] c68163c4e522: Pulling fs layer [2023-10-12T07:25:45.796Z] 50da416c3ac9: Pulling fs layer [2023-10-12T07:25:45.796Z] 23d2d4c4bb30: Pulling fs layer [2023-10-12T07:25:45.796Z] ad3a456e5733: Waiting [2023-10-12T07:25:45.796Z] 33e27b845d1e: Waiting [2023-10-12T07:25:45.796Z] c68163c4e522: Waiting [2023-10-12T07:25:45.796Z] 23d2d4c4bb30: Waiting [2023-10-12T07:25:45.796Z] 50da416c3ac9: Waiting [2023-10-12T07:25:45.796Z] c4d48a809fc2: Verifying Checksum [2023-10-12T07:25:45.796Z] c4d48a809fc2: Download complete [2023-10-12T07:25:45.796Z] ad3a456e5733: Download complete [2023-10-12T07:25:45.796Z] 33e27b845d1e: Verifying Checksum [2023-10-12T07:25:45.796Z] 33e27b845d1e: Download complete [2023-10-12T07:25:45.796Z] 7264a8db6415: Verifying Checksum [2023-10-12T07:25:45.796Z] 7264a8db6415: Download complete [2023-10-12T07:25:45.796Z] c68163c4e522: Verifying Checksum [2023-10-12T07:25:45.796Z] c68163c4e522: Download complete [2023-10-12T07:25:46.055Z] 23d2d4c4bb30: Verifying Checksum [2023-10-12T07:25:46.055Z] 23d2d4c4bb30: Download complete [2023-10-12T07:25:46.314Z] 7264a8db6415: Pull complete [2023-10-12T07:25:46.314Z] 4f1c88b9dad5: Verifying Checksum [2023-10-12T07:25:46.314Z] 4f1c88b9dad5: Download complete [2023-10-12T07:25:46.314Z] c4d48a809fc2: Pull complete [2023-10-12T07:25:46.573Z] 50da416c3ac9: Verifying Checksum [2023-10-12T07:25:46.573Z] 50da416c3ac9: Download complete [2023-10-12T07:25:49.899Z] 4f1c88b9dad5: Pull complete [2023-10-12T07:25:49.899Z] ad3a456e5733: Pull complete [2023-10-12T07:25:49.899Z] 33e27b845d1e: Pull complete [2023-10-12T07:25:49.899Z] c68163c4e522: Pull complete [2023-10-12T07:25:51.800Z] 50da416c3ac9: Pull complete [2023-10-12T07:25:52.058Z] 23d2d4c4bb30: Pull complete [2023-10-12T07:25:52.058Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-12T07:25:52.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-12T07:25:52.058Z] ---> 0786185ac409 [2023-10-12T07:25:52.058Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:25:58.634Z] ---> Running in 8ccc403cd12a [2023-10-12T07:25:58.634Z] Removing intermediate container 8ccc403cd12a [2023-10-12T07:25:58.634Z] ---> 213bb63a2711 [2023-10-12T07:25:58.634Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:25:58.634Z] ---> Running in 4e223c5ec40a [2023-10-12T07:25:58.634Z] Removing intermediate container 4e223c5ec40a [2023-10-12T07:25:58.634Z] ---> 70b7aee0b195 [2023-10-12T07:25:58.634Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T07:25:58.634Z] ---> Running in 32db7667b2e0 [2023-10-12T07:25:58.634Z] Removing intermediate container 32db7667b2e0 [2023-10-12T07:25:58.634Z] ---> 7c15d7a3dc83 [2023-10-12T07:25:58.634Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T07:25:58.634Z] ---> Running in 17e253f0471b [2023-10-12T07:25:58.634Z] Removing intermediate container 17e253f0471b [2023-10-12T07:25:58.634Z] ---> 7720012399a1 [2023-10-12T07:25:58.634Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T07:25:58.634Z] ---> Running in 165db8d4a96a [2023-10-12T07:25:58.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T07:25:58.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T07:25:58.891Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-12T07:25:58.891Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-12T07:25:58.891Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-12T07:25:58.891Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-12T07:25:58.891Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:25:58.891Z] OK: 268 MiB in 56 packages [2023-10-12T07:25:59.284Z] Still waiting to schedule task [2023-10-12T07:25:59.285Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-12T07:25:59.459Z] Removing intermediate container 165db8d4a96a [2023-10-12T07:25:59.459Z] ---> b4fa96a8a3b6 [2023-10-12T07:25:59.459Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-12T07:25:59.459Z] ---> Running in c3aee6ea007d [2023-10-12T07:25:59.459Z] Removing intermediate container c3aee6ea007d [2023-10-12T07:25:59.459Z] ---> 8880110dc750 [2023-10-12T07:25:59.459Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-12T07:25:59.717Z] ---> bf7a4351121f [2023-10-12T07:25:59.717Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:25:59.717Z] ---> Running in f8ecc9427df4 [2023-10-12T07:27:07.431Z] Removing intermediate container f8ecc9427df4 [2023-10-12T07:27:07.431Z] ---> 71d0e41607bc [2023-10-12T07:27:07.431Z] Step 11/12 : COPY . . [2023-10-12T07:27:07.431Z] ---> 31f85b8cf934 [2023-10-12T07:27:07.431Z] Step 12/12 : RUN ${MAKE} [2023-10-12T07:27:07.431Z] ---> Running in 22937f92229d [2023-10-12T07:27:07.431Z] noop [2023-10-12T07:27:07.431Z] Removing intermediate container 22937f92229d [2023-10-12T07:27:07.431Z] ---> c12d025e8e5f [2023-10-12T07:27:07.431Z] Successfully built c12d025e8e5f [2023-10-12T07:27:07.431Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:27:07.739Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T07:27:07.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:27:07.811Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:27:07.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-12T07:27:08.181Z] $ docker top 53437fda3438d10a9e427bf5011aef8044a2fc14321c50af62f3c6e58699211c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:27:08.525Z] + go version [2023-10-12T07:27:08.525Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-12T07:27:08.536Z] $ docker stop --time=1 53437fda3438d10a9e427bf5011aef8044a2fc14321c50af62f3c6e58699211c [2023-10-12T07:27:09.818Z] $ docker rm -f --volumes 53437fda3438d10a9e427bf5011aef8044a2fc14321c50af62f3c6e58699211c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:27:10.213Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T07:27:10.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:27:10.293Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:27:10.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-12T07:27:10.639Z] $ docker top 0b209555358d9a58acf0f8ff6c55453c1ce04b5b675314b24dae7fe268c531b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:27:10.967Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-12T07:27:11.262Z] + make test [2023-10-12T07:27:11.262Z] go test ./... -coverprofile=coverage.out [2023-10-12T07:27:12.637Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-12T07:27:22.600Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-12T07:27:22.600Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-10-12T07:27:27.861Z] go vet ./... [2023-10-12T07:27:30.385Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T07:27:30.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T07:27:30.386Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T07:27:30.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T07:27:30.407Z] $ docker stop --time=1 0b209555358d9a58acf0f8ff6c55453c1ce04b5b675314b24dae7fe268c531b5 [2023-10-12T07:27:35.059Z] $ docker rm -f --volumes 0b209555358d9a58acf0f8ff6c55453c1ce04b5b675314b24dae7fe268c531b5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:27:35.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T07:27:35.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-12T07:27:36.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T07:27:36.322Z] + ls -al . [2023-10-12T07:27:36.322Z] total 176 [2023-10-12T07:27:36.322Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 07:27 . [2023-10-12T07:27:36.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:25 .. [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 12 07:25 .dockerignore [2023-10-12T07:27:36.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:27 .git [2023-10-12T07:27:36.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:25 .github [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 12 07:25 .gitignore [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 07:25 .golangci.yml [2023-10-12T07:27:36.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:25 .semver [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 12 07:25 Attribution.txt [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 12 07:25 CHANGELOG.md [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 12 07:25 Dockerfile [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:25 GOVERNANCE.md [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 12 07:25 Jenkinsfile [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 07:25 LICENSE [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 12 07:25 Makefile [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 07:25 OWNERS.md [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 10559 Oct 12 07:25 README.md [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 12 07:25 VERSION [2023-10-12T07:27:36.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:25 bin [2023-10-12T07:27:36.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:25 cmd [2023-10-12T07:27:36.322Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 12 07:27 coverage.out [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 12 07:25 go.mod [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 35353 Oct 12 07:25 go.sum [2023-10-12T07:27:36.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:25 internal [2023-10-12T07:27:36.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:25 snap [2023-10-12T07:27:36.322Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 12 07:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:27:36.681Z] + 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=ebe46f8f6b5f4966359c01929413183d007dd065 --label arch=amd64 --label version=3.1.0-dev.5 . [2023-10-12T07:27:36.681Z] Sending build context to Docker daemon 5.729MB [2023-10-12T07:27:36.681Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:27:36.681Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-12T07:27:36.681Z] ---> c12d025e8e5f [2023-10-12T07:27:36.681Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:27:36.953Z] ---> Running in faeb0e161599 [2023-10-12T07:27:36.953Z] Removing intermediate container faeb0e161599 [2023-10-12T07:27:36.953Z] ---> 5c187268630e [2023-10-12T07:27:36.953Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:27:36.953Z] ---> Running in 17e59ce4a6ca [2023-10-12T07:27:36.953Z] Removing intermediate container 17e59ce4a6ca [2023-10-12T07:27:36.953Z] ---> 6c7416b6cfaf [2023-10-12T07:27:36.953Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T07:27:36.953Z] ---> Running in a4f3bd8e2656 [2023-10-12T07:27:36.953Z] Removing intermediate container a4f3bd8e2656 [2023-10-12T07:27:36.953Z] ---> 0e6fbe959428 [2023-10-12T07:27:36.953Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T07:27:37.210Z] ---> Running in 603175df9b72 [2023-10-12T07:27:37.210Z] Removing intermediate container 603175df9b72 [2023-10-12T07:27:37.210Z] ---> 06b224e43649 [2023-10-12T07:27:37.210Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T07:27:37.210Z] ---> Running in f8630a5e8a6d [2023-10-12T07:27:37.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T07:27:37.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T07:27:37.984Z] OK: 268 MiB in 56 packages [2023-10-12T07:27:38.243Z] Removing intermediate container f8630a5e8a6d [2023-10-12T07:27:38.243Z] ---> 13aecd4734c8 [2023-10-12T07:27:38.243Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-12T07:27:38.243Z] ---> Running in eeb07acb5b90 [2023-10-12T07:27:38.243Z] Removing intermediate container eeb07acb5b90 [2023-10-12T07:27:38.243Z] ---> 2cccfadea91d [2023-10-12T07:27:38.243Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-12T07:27:38.501Z] ---> ea87657ca2cb [2023-10-12T07:27:38.501Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:27:38.501Z] ---> Running in 12f644752e8d [2023-10-12T07:27:39.066Z] Removing intermediate container 12f644752e8d [2023-10-12T07:27:39.066Z] ---> f471e7e7a447 [2023-10-12T07:27:39.066Z] Step 11/24 : COPY . . [2023-10-12T07:27:39.634Z] ---> 0ac26e128a4d [2023-10-12T07:27:39.634Z] Step 12/24 : RUN ${MAKE} [2023-10-12T07:27:39.634Z] ---> Running in 933ec280fe4f [2023-10-12T07:27:39.634Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-12T07:27:44.459Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9121 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-10-12T07:27:44.472Z] Running in /w/workspace/device-snmp-go/91 [Pipeline] { [Pipeline] checkout [2023-10-12T07:27:44.498Z] Selected Git installation does not exist. Using Default [2023-10-12T07:27:44.498Z] The recommended git tool is: NONE [2023-10-12T07:27:49.293Z] using credential edgex-jenkins-ssh [2023-10-12T07:27:49.312Z] Cloning the remote Git repository [2023-10-12T07:27:49.355Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-10-12T07:27:49.434Z] > git init /w/workspace/device-snmp-go/91 # timeout=10 [2023-10-12T07:27:49.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-10-12T07:27:49.576Z] > git --version # timeout=10 [2023-10-12T07:27:49.596Z] > git --version # 'git version 2.25.1' [2023-10-12T07:27:49.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T07:27:49.755Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T07:27:52.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-10-12T07:27:52.933Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T07:27:53.709Z] Avoid second fetch [2023-10-12T07:27:53.710Z] Checking out Revision ebe46f8f6b5f4966359c01929413183d007dd065 (main) [2023-10-12T07:27:54.209Z] Commit message: "Merge pull request #320 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T07:27:53.729Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T07:27:53.803Z] > git checkout -f ebe46f8f6b5f4966359c01929413183d007dd065 # timeout=10 [2023-10-12T07:27:55.171Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-12T07:27:55.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T07:27:55.171Z] Dload Upload Total Spent Left Speed [2023-10-12T07:27:55.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 79244 0 --:--:-- --:--:-- --:--:-- 78678 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-10-12T07:27:55.726Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-12T07:27:56.067Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-12T07:27:56.067Z] + sudo tee /etc/docker/daemon.new [2023-10-12T07:27:56.067Z] { [2023-10-12T07:27:56.067Z] "registry-mirrors": [ [2023-10-12T07:27:56.067Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-12T07:27:56.067Z] ], [2023-10-12T07:27:56.067Z] "bip": "10.250.0.254/24", [2023-10-12T07:27:56.067Z] "hosts": [ [2023-10-12T07:27:56.067Z] "tcp://0.0.0.0:5555", [2023-10-12T07:27:56.067Z] "unix:///var/run/docker.sock" [2023-10-12T07:27:56.067Z] ], [2023-10-12T07:27:56.067Z] "mtu": 1458, [2023-10-12T07:27:56.067Z] "selinux-enabled": true, [2023-10-12T07:27:56.067Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-12T07:27:56.067Z] } [Pipeline] sh [2023-10-12T07:27:56.406Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-12T07:27:56.744Z] + sudo service docker restart [2023-10-12T07:28:06.167Z] Removing intermediate container 933ec280fe4f [2023-10-12T07:28:06.167Z] ---> 526f815031ae [2023-10-12T07:28:06.167Z] Step 13/24 : FROM alpine:3.18 [2023-10-12T07:28:06.167Z] 3.18: Pulling from library/alpine [2023-10-12T07:28:06.167Z] 96526aa774ef: Pulling fs layer [2023-10-12T07:28:06.167Z] 96526aa774ef: Verifying Checksum [2023-10-12T07:28:06.167Z] 96526aa774ef: Download complete [2023-10-12T07:28:06.167Z] 96526aa774ef: Pull complete [2023-10-12T07:28:06.167Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T07:28:06.167Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T07:28:06.167Z] ---> 8ca4688f4f35 [2023-10-12T07:28:06.167Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-12T07:28:06.167Z] ---> Running in 99b9d1b49bc4 [2023-10-12T07:28:06.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T07:28:06.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T07:28:06.167Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-12T07:28:06.167Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:28:06.167Z] OK: 7 MiB in 16 packages [2023-10-12T07:28:06.167Z] Removing intermediate container 99b9d1b49bc4 [2023-10-12T07:28:06.167Z] ---> 75d35b4014fa [2023-10-12T07:28:06.167Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-12T07:28:06.167Z] ---> a0ac500a7fd3 [2023-10-12T07:28:06.167Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-12T07:28:06.167Z] ---> 1ba433be50f0 [2023-10-12T07:28:06.167Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-12T07:28:06.167Z] ---> eb5e1eb1add2 [2023-10-12T07:28:06.167Z] Step 18/24 : EXPOSE 59993 [2023-10-12T07:28:06.167Z] ---> Running in d4588cf49e17 [2023-10-12T07:28:06.167Z] Removing intermediate container d4588cf49e17 [2023-10-12T07:28:06.167Z] ---> 047c082a333b [2023-10-12T07:28:06.167Z] Step 19/24 : EXPOSE 161 [2023-10-12T07:28:06.167Z] ---> Running in abfea70f0c58 [2023-10-12T07:28:06.167Z] Removing intermediate container abfea70f0c58 [2023-10-12T07:28:06.167Z] ---> bc747fed1337 [2023-10-12T07:28:06.167Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-12T07:28:06.167Z] ---> Running in 46383d8f3472 [2023-10-12T07:28:06.167Z] Removing intermediate container 46383d8f3472 [2023-10-12T07:28:06.167Z] ---> e7df060146b3 [2023-10-12T07:28:06.167Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-12T07:28:06.167Z] ---> Running in b4be7397e362 [2023-10-12T07:28:06.167Z] Removing intermediate container b4be7397e362 [2023-10-12T07:28:06.167Z] ---> e1c5f81b1f06 [2023-10-12T07:28:06.167Z] Step 22/24 : LABEL arch=amd64 [2023-10-12T07:28:06.167Z] ---> Running in a3e662b27133 [2023-10-12T07:28:06.167Z] Removing intermediate container a3e662b27133 [2023-10-12T07:28:06.167Z] ---> 192cf0847f6d [2023-10-12T07:28:06.167Z] Step 23/24 : LABEL git_sha=ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:28:06.167Z] ---> Running in fccd0901be21 [2023-10-12T07:28:06.167Z] Removing intermediate container fccd0901be21 [2023-10-12T07:28:06.167Z] ---> b319f89d9e6b [2023-10-12T07:28:06.167Z] Step 24/24 : LABEL version=3.1.0-dev.5 [2023-10-12T07:28:06.167Z] ---> Running in 0894375939ca [2023-10-12T07:28:06.167Z] Removing intermediate container 0894375939ca [2023-10-12T07:28:06.167Z] ---> ae100c471570 [2023-10-12T07:28:06.167Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T07:28:06.167Z] Successfully built ae100c471570 [2023-10-12T07:28:06.167Z] 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-12T07:28:06.276Z] provisioning config files... [2023-10-12T07:28:06.287Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10324673189906279161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:28:06.579Z] ---> docker-login.sh [2023-10-12T07:28:06.579Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:28:06.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:06.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:06.579Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:06.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:06.579Z] [2023-10-12T07:28:06.579Z] Login Succeeded [2023-10-12T07:28:06.579Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:28:06.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:06.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:06.579Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:06.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:06.579Z] [2023-10-12T07:28:06.579Z] Login Succeeded [2023-10-12T07:28:06.579Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:28:06.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:06.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:06.838Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:06.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:06.838Z] [2023-10-12T07:28:06.838Z] Login Succeeded [2023-10-12T07:28:06.838Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:28:06.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:06.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:06.838Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:06.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:06.838Z] [2023-10-12T07:28:06.838Z] Login Succeeded [2023-10-12T07:28:06.838Z] docker.io [2023-10-12T07:28:06.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:07.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:07.097Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:07.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:07.097Z] [2023-10-12T07:28:07.097Z] Login Succeeded [2023-10-12T07:28:07.097Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:28:07.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:28:07.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:28:07.146Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-10-12T07:28:07.146Z] ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:28:07.146Z] latest [2023-10-12T07:28:07.146Z] 3.1.0-dev.5 [2023-10-12T07:28:07.146Z] ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [2023-10-12T07:28:07.146Z] main [2023-10-12T07:28:07.146Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:07.453Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:07.757Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:28:07.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-12T07:28:07.757Z] 931bb4288232: Preparing [2023-10-12T07:28:07.757Z] a8a3058e5953: Preparing [2023-10-12T07:28:07.757Z] 4c2edefcebd8: Preparing [2023-10-12T07:28:07.757Z] e4a979b3883e: Preparing [2023-10-12T07:28:07.757Z] cc2447e1835a: Preparing [2023-10-12T07:28:07.757Z] cc2447e1835a: Layer already exists [2023-10-12T07:28:07.757Z] a8a3058e5953: Pushed [2023-10-12T07:28:07.757Z] 931bb4288232: Pushed [2023-10-12T07:28:07.757Z] e4a979b3883e: Pushed [2023-10-12T07:28:10.292Z] 4c2edefcebd8: Pushed [2023-10-12T07:28:10.550Z] ebe46f8f6b5f4966359c01929413183d007dd065: digest: sha256:25d3bf8c677106b2cf826bf3fc49ff83f52e2ca73de140662a55eb6582b679bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:10.855Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:11.151Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-12T07:28:11.151Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-12T07:28:11.151Z] 931bb4288232: Preparing [2023-10-12T07:28:11.151Z] a8a3058e5953: Preparing [2023-10-12T07:28:11.151Z] 4c2edefcebd8: Preparing [2023-10-12T07:28:11.151Z] e4a979b3883e: Preparing [2023-10-12T07:28:11.151Z] cc2447e1835a: Preparing [2023-10-12T07:28:11.151Z] 4c2edefcebd8: Layer already exists [2023-10-12T07:28:11.151Z] a8a3058e5953: Layer already exists [2023-10-12T07:28:11.151Z] e4a979b3883e: Layer already exists [2023-10-12T07:28:11.151Z] 931bb4288232: Layer already exists [2023-10-12T07:28:11.152Z] cc2447e1835a: Layer already exists [2023-10-12T07:28:11.152Z] latest: digest: sha256:25d3bf8c677106b2cf826bf3fc49ff83f52e2ca73de140662a55eb6582b679bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:11.455Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:11.755Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.5 [2023-10-12T07:28:11.755Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-12T07:28:11.755Z] 931bb4288232: Preparing [2023-10-12T07:28:11.755Z] a8a3058e5953: Preparing [2023-10-12T07:28:11.755Z] 4c2edefcebd8: Preparing [2023-10-12T07:28:11.755Z] e4a979b3883e: Preparing [2023-10-12T07:28:11.755Z] cc2447e1835a: Preparing [2023-10-12T07:28:11.755Z] 4c2edefcebd8: Layer already exists [2023-10-12T07:28:11.755Z] 931bb4288232: Layer already exists [2023-10-12T07:28:11.755Z] e4a979b3883e: Layer already exists [2023-10-12T07:28:11.755Z] a8a3058e5953: Layer already exists [2023-10-12T07:28:11.755Z] cc2447e1835a: Layer already exists [2023-10-12T07:28:11.755Z] 3.1.0-dev.5: digest: sha256:25d3bf8c677106b2cf826bf3fc49ff83f52e2ca73de140662a55eb6582b679bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:12.064Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:12.371Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [2023-10-12T07:28:12.371Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-12T07:28:12.371Z] 931bb4288232: Preparing [2023-10-12T07:28:12.371Z] a8a3058e5953: Preparing [2023-10-12T07:28:12.371Z] 4c2edefcebd8: Preparing [2023-10-12T07:28:12.371Z] e4a979b3883e: Preparing [2023-10-12T07:28:12.371Z] cc2447e1835a: Preparing [2023-10-12T07:28:12.371Z] a8a3058e5953: Layer already exists [2023-10-12T07:28:12.371Z] e4a979b3883e: Layer already exists [2023-10-12T07:28:12.371Z] cc2447e1835a: Layer already exists [2023-10-12T07:28:12.371Z] 4c2edefcebd8: Layer already exists [2023-10-12T07:28:12.371Z] 931bb4288232: Layer already exists [2023-10-12T07:28:12.371Z] ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5: digest: sha256:25d3bf8c677106b2cf826bf3fc49ff83f52e2ca73de140662a55eb6582b679bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:12.673Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:12.974Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-10-12T07:28:12.974Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-12T07:28:12.974Z] 931bb4288232: Preparing [2023-10-12T07:28:12.974Z] a8a3058e5953: Preparing [2023-10-12T07:28:12.974Z] 4c2edefcebd8: Preparing [2023-10-12T07:28:12.974Z] e4a979b3883e: Preparing [2023-10-12T07:28:12.974Z] cc2447e1835a: Preparing [2023-10-12T07:28:12.974Z] 4c2edefcebd8: Layer already exists [2023-10-12T07:28:12.974Z] e4a979b3883e: Layer already exists [2023-10-12T07:28:12.974Z] cc2447e1835a: Layer already exists [2023-10-12T07:28:12.974Z] 931bb4288232: Layer already exists [2023-10-12T07:28:12.974Z] a8a3058e5953: Layer already exists [2023-10-12T07:28:12.974Z] main: digest: sha256:25d3bf8c677106b2cf826bf3fc49ff83f52e2ca73de140662a55eb6582b679bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:28:13.014Z] ===================================================== [Pipeline] echo [2023-10-12T07:28:13.020Z] taggedImages: [2023-10-12T07:28:13.020Z] - nexus3.edgexfoundry.org:10004/device-snmp:ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:28:13.020Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-12T07:28:13.020Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.5 [2023-10-12T07:28:13.020Z] - nexus3.edgexfoundry.org:10004/device-snmp:ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [2023-10-12T07:28:13.020Z] - 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-12T07:28:13.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T07:28:13.394Z] [2023-10-12T07:28:13.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:13.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:28:14.996Z] provisioning config files... [2023-10-12T07:28:15.024Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/91@tmp/config9042955718024858863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:28:15.067Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-12T07:28:15.067Z] 5eb5b503b376: Pulling fs layer [2023-10-12T07:28:15.067Z] 5c69ac0246d0: Pulling fs layer [2023-10-12T07:28:15.067Z] ec43610c2a17: Pulling fs layer [2023-10-12T07:28:15.067Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-12T07:28:15.067Z] 33b1e0a273af: Pulling fs layer [2023-10-12T07:28:15.067Z] 5d3b04190fa2: Pulling fs layer [2023-10-12T07:28:15.067Z] 2f39f015ded8: Pulling fs layer [2023-10-12T07:28:15.067Z] 33b1e0a273af: Waiting [2023-10-12T07:28:15.067Z] 5d3b04190fa2: Waiting [2023-10-12T07:28:15.067Z] 3a2ae6a8a46f: Waiting [2023-10-12T07:28:15.375Z] ---> docker-login.sh [2023-10-12T07:28:15.375Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:28:15.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:15.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:15.918Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:15.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:15.918Z] [2023-10-12T07:28:15.918Z] Login Succeeded [2023-10-12T07:28:15.918Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:28:16.005Z] 5c69ac0246d0: Verifying Checksum [2023-10-12T07:28:16.006Z] 5c69ac0246d0: Download complete [2023-10-12T07:28:16.006Z] 3a2ae6a8a46f: Download complete [2023-10-12T07:28:16.006Z] 33b1e0a273af: Verifying Checksum [2023-10-12T07:28:16.006Z] 33b1e0a273af: Download complete [2023-10-12T07:28:16.006Z] 5d3b04190fa2: Verifying Checksum [2023-10-12T07:28:16.006Z] 5d3b04190fa2: Download complete [2023-10-12T07:28:16.006Z] ec43610c2a17: Download complete [2023-10-12T07:28:16.006Z] 5eb5b503b376: Verifying Checksum [2023-10-12T07:28:16.006Z] 5eb5b503b376: Download complete [2023-10-12T07:28:16.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:16.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:16.187Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:16.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:16.187Z] [2023-10-12T07:28:16.187Z] Login Succeeded [2023-10-12T07:28:16.187Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:28:16.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:16.572Z] 2f39f015ded8: Download complete [2023-10-12T07:28:16.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:16.731Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:16.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:16.731Z] [2023-10-12T07:28:16.731Z] Login Succeeded [2023-10-12T07:28:16.731Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:28:16.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:16.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:16.999Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:16.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:16.999Z] [2023-10-12T07:28:16.999Z] Login Succeeded [2023-10-12T07:28:16.999Z] docker.io [2023-10-12T07:28:17.138Z] 5eb5b503b376: Pull complete [2023-10-12T07:28:17.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:28:17.397Z] 5c69ac0246d0: Pull complete [2023-10-12T07:28:17.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:28:17.539Z] Configure a credential helper to remove this warning. See [2023-10-12T07:28:17.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:28:17.539Z] [2023-10-12T07:28:17.539Z] Login Succeeded [2023-10-12T07:28:17.539Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:28:17.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-10-12T07:28:17.654Z] ec43610c2a17: Pull complete [Pipeline] echo [2023-10-12T07:28:17.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:28:17.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:28:17.813Z] ========================================================= [2023-10-12T07:28:17.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-12T07:28:17.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:28:17.913Z] 3a2ae6a8a46f: Pull complete [2023-10-12T07:28:17.913Z] 33b1e0a273af: Pull complete [2023-10-12T07:28:17.913Z] 5d3b04190fa2: Pull complete [2023-10-12T07:28:18.179Z] + 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-12T07:28:18.447Z] Sending build context to Docker daemon 2.947MB [2023-10-12T07:28:18.447Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:28:18.447Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-12T07:28:21.804Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-12T07:28:21.804Z] 9fda8d8052c6: Pulling fs layer [2023-10-12T07:28:21.804Z] 5d54e960e981: Pulling fs layer [2023-10-12T07:28:21.804Z] c4a7e357bf2a: Pulling fs layer [2023-10-12T07:28:21.804Z] f0e02332f6b5: Pulling fs layer [2023-10-12T07:28:21.804Z] cefa15bbcfad: Pulling fs layer [2023-10-12T07:28:21.804Z] 17808c966233: Pulling fs layer [2023-10-12T07:28:21.804Z] f4c1fc716caa: Pulling fs layer [2023-10-12T07:28:21.804Z] cefa15bbcfad: Waiting [2023-10-12T07:28:21.804Z] 17808c966233: Waiting [2023-10-12T07:28:21.804Z] f4c1fc716caa: Waiting [2023-10-12T07:28:21.804Z] f0e02332f6b5: Waiting [2023-10-12T07:28:21.804Z] 5d54e960e981: Verifying Checksum [2023-10-12T07:28:21.804Z] 5d54e960e981: Download complete [2023-10-12T07:28:21.804Z] f0e02332f6b5: Verifying Checksum [2023-10-12T07:28:21.804Z] f0e02332f6b5: Download complete [2023-10-12T07:28:21.804Z] cefa15bbcfad: Verifying Checksum [2023-10-12T07:28:21.804Z] cefa15bbcfad: Download complete [2023-10-12T07:28:21.804Z] 9fda8d8052c6: Verifying Checksum [2023-10-12T07:28:21.804Z] 9fda8d8052c6: Download complete [2023-10-12T07:28:22.074Z] f4c1fc716caa: Verifying Checksum [2023-10-12T07:28:22.074Z] f4c1fc716caa: Download complete [2023-10-12T07:28:22.097Z] 2f39f015ded8: Pull complete [2023-10-12T07:28:22.097Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-12T07:28:22.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T07:28:22.097Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:28:22.185Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:28:22.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-12T07:28:22.659Z] 9fda8d8052c6: Pull complete [2023-10-12T07:28:23.244Z] 5d54e960e981: Pull complete [2023-10-12T07:28:23.244Z] c4a7e357bf2a: Download complete [2023-10-12T07:28:24.668Z] 17808c966233: Verifying Checksum [2023-10-12T07:28:28.181Z] $ docker top 6b299edc8b9fd97e9d894ea0ece9abf98dba9833d0515093364069fc60573d4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:28:28.548Z] ---> job-cost.sh [2023-10-12T07:28:28.548Z] lf-activate-venv: SKIPPING [2023-10-12T07:28:28.548Z] INFO: No Stack... [2023-10-12T07:28:28.807Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T07:28:29.373Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T07:28:29.655Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-10-12T07:28:29.655Z] + cut -d, -f6 [Pipeline] lock [2023-10-12T07:28:29.668Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] [2023-10-12T07:28:29.674Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] did not exist. Created. [2023-10-12T07:28:29.674Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T07:28:29.980Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-12T07:28:29.999Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T07:28:30.006Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T07:28:30.023Z] $ docker stop --time=1 6b299edc8b9fd97e9d894ea0ece9abf98dba9833d0515093364069fc60573d4d [2023-10-12T07:28:31.164Z] $ docker rm -f --volumes 6b299edc8b9fd97e9d894ea0ece9abf98dba9833d0515093364069fc60573d4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-12T07:28:36.978Z] c4a7e357bf2a: Pull complete [2023-10-12T07:28:36.978Z] f0e02332f6b5: Pull complete [2023-10-12T07:28:36.978Z] cefa15bbcfad: Pull complete [2023-10-12T07:28:45.205Z] 17808c966233: Pull complete [2023-10-12T07:28:46.170Z] f4c1fc716caa: Pull complete [2023-10-12T07:28:46.170Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-12T07:28:46.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-12T07:28:46.170Z] ---> ea914061e18c [2023-10-12T07:28:46.170Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:28:47.134Z] ---> Running in 68511c3e9d9b [2023-10-12T07:28:47.134Z] Removing intermediate container 68511c3e9d9b [2023-10-12T07:28:47.134Z] ---> 8e13a5219680 [2023-10-12T07:28:47.134Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:28:47.402Z] ---> Running in 1bb8a5439d94 [2023-10-12T07:28:47.668Z] Removing intermediate container 1bb8a5439d94 [2023-10-12T07:28:47.668Z] ---> feb5062b3e18 [2023-10-12T07:28:47.668Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T07:28:47.668Z] ---> Running in 8dfc9db22f2d [2023-10-12T07:28:47.939Z] Removing intermediate container 8dfc9db22f2d [2023-10-12T07:28:47.939Z] ---> 7c2fa812af29 [2023-10-12T07:28:47.939Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T07:28:48.205Z] ---> Running in 8dadedb8ad25 [2023-10-12T07:28:48.474Z] Removing intermediate container 8dadedb8ad25 [2023-10-12T07:28:48.474Z] ---> 7174ce8ff19b [2023-10-12T07:28:48.474Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T07:28:48.474Z] ---> Running in fc6001cde582 [2023-10-12T07:28:49.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T07:28:49.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T07:28:50.935Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-12T07:28:50.935Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-12T07:28:50.935Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-12T07:28:51.226Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-12T07:28:51.226Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:28:51.226Z] OK: 270 MiB in 56 packages [2023-10-12T07:28:52.200Z] Removing intermediate container fc6001cde582 [2023-10-12T07:28:52.200Z] ---> 802b18f600b9 [2023-10-12T07:28:52.200Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-12T07:28:52.200Z] ---> Running in 6b9f477dca3e [2023-10-12T07:28:52.782Z] Removing intermediate container 6b9f477dca3e [2023-10-12T07:28:52.782Z] ---> e32f20a33c5c [2023-10-12T07:28:52.782Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-12T07:28:53.051Z] ---> 654550f70164 [2023-10-12T07:28:53.052Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:28:53.052Z] ---> Running in abb665a208cd [2023-10-12T07:30:29.659Z] Removing intermediate container abb665a208cd [2023-10-12T07:30:29.659Z] ---> 31c9d0b497a6 [2023-10-12T07:30:29.659Z] Step 11/12 : COPY . . [2023-10-12T07:30:29.659Z] ---> 317955152dd8 [2023-10-12T07:30:29.659Z] Step 12/12 : RUN ${MAKE} [2023-10-12T07:30:29.659Z] ---> Running in be7e4b05f3fe [2023-10-12T07:30:30.262Z] noop [2023-10-12T07:30:30.879Z] Removing intermediate container be7e4b05f3fe [2023-10-12T07:30:30.879Z] ---> 892be0d5c22d [2023-10-12T07:30:30.879Z] Successfully built 892be0d5c22d [2023-10-12T07:30:30.879Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:30:31.223Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T07:30:31.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:30:31.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-9121 does not seem to be running inside a container [2023-10-12T07:30:31.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/91 -v /w/workspace/device-snmp-go/91:/w/workspace/device-snmp-go/91:rw,z -v /w/workspace/device-snmp-go/91@tmp:/w/workspace/device-snmp-go/91@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-arm64 cat [2023-10-12T07:30:34.769Z] $ docker top 918aeaef39adde3bbf02fceeb94a7d16753a790cad8af6e4c173b8d24ec40e93 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:30:35.596Z] + go version [2023-10-12T07:30:35.596Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-12T07:30:35.615Z] $ docker stop --time=1 918aeaef39adde3bbf02fceeb94a7d16753a790cad8af6e4c173b8d24ec40e93 [2023-10-12T07:30:37.220Z] $ docker rm -f --volumes 918aeaef39adde3bbf02fceeb94a7d16753a790cad8af6e4c173b8d24ec40e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:30:37.749Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T07:30:37.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:30:37.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-9121 does not seem to be running inside a container [2023-10-12T07:30:37.993Z] $ 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/91 -v /w/workspace/device-snmp-go/91:/w/workspace/device-snmp-go/91:rw,z -v /w/workspace/device-snmp-go/91@tmp:/w/workspace/device-snmp-go/91@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-arm64 cat [2023-10-12T07:30:39.142Z] $ docker top 9522038759bdb7a78d3da1752138f7a02f0c5086a0ec7e265b555e52b6ebee00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:30:39.964Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/91 [Pipeline] fileExists [Pipeline] sh [2023-10-12T07:30:40.294Z] + make test [2023-10-12T07:30:40.562Z] go test ./... -coverprofile=coverage.out [2023-10-12T07:30:44.812Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-12T07:32:21.443Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-12T07:32:21.443Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2023-10-12T07:32:21.443Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-12T07:32:21.443Z] go vet ./... [2023-10-12T07:32:33.782Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T07:32:33.782Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T07:32:33.782Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T07:32:33.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T07:32:33.819Z] $ docker stop --time=1 9522038759bdb7a78d3da1752138f7a02f0c5086a0ec7e265b555e52b6ebee00 [2023-10-12T07:32:38.640Z] $ docker rm -f --volumes 9522038759bdb7a78d3da1752138f7a02f0c5086a0ec7e265b555e52b6ebee00 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:32:39.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T07:32:39.829Z] Warning: overwriting stash ‘coverage-report’ [2023-10-12T07:32:40.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T07:32:40.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T07:32:41.046Z] + ls -al . [2023-10-12T07:32:41.046Z] total 172 [2023-10-12T07:32:41.046Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:30 . [2023-10-12T07:32:41.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:27 .. [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 12 07:27 .dockerignore [2023-10-12T07:32:41.046Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:27 .git [2023-10-12T07:32:41.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:27 .github [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 12 07:27 .gitignore [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 07:27 .golangci.yml [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 12 07:27 Attribution.txt [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 12 07:27 CHANGELOG.md [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 12 07:27 Dockerfile [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:27 GOVERNANCE.md [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 12 07:27 Jenkinsfile [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 07:27 LICENSE [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 12 07:27 Makefile [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 07:27 OWNERS.md [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 10559 Oct 12 07:27 README.md [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 12 07:25 VERSION [2023-10-12T07:32:41.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:27 bin [2023-10-12T07:32:41.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:27 cmd [2023-10-12T07:32:41.046Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 12 07:32 coverage.out [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 12 07:27 go.mod [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 35353 Oct 12 07:27 go.sum [2023-10-12T07:32:41.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:27 internal [2023-10-12T07:32:41.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:27 snap [2023-10-12T07:32:41.046Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 12 07:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:32:41.445Z] + 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=ebe46f8f6b5f4966359c01929413183d007dd065 --label arch=arm64 --label version=3.1.0-dev.5 . [2023-10-12T07:32:41.712Z] Sending build context to Docker daemon 2.956MB [2023-10-12T07:32:41.712Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:32:41.712Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-12T07:32:41.712Z] ---> 892be0d5c22d [2023-10-12T07:32:41.712Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:32:41.712Z] ---> Running in e5794e357220 [2023-10-12T07:32:42.325Z] Removing intermediate container e5794e357220 [2023-10-12T07:32:42.326Z] ---> 7b870075bcb0 [2023-10-12T07:32:42.326Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:32:42.326Z] ---> Running in d0bd44b813cc [2023-10-12T07:32:42.593Z] Removing intermediate container d0bd44b813cc [2023-10-12T07:32:42.593Z] ---> 726bfb635538 [2023-10-12T07:32:42.593Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T07:32:42.593Z] ---> Running in b5f31c2113c8 [2023-10-12T07:32:42.862Z] Removing intermediate container b5f31c2113c8 [2023-10-12T07:32:42.862Z] ---> c1eb4c41fcd4 [2023-10-12T07:32:42.862Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T07:32:43.130Z] ---> Running in 8ba2ad68ba13 [2023-10-12T07:32:43.398Z] Removing intermediate container 8ba2ad68ba13 [2023-10-12T07:32:43.398Z] ---> af82b91d1c69 [2023-10-12T07:32:43.398Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T07:32:43.398Z] ---> Running in 4305081a02f6 [2023-10-12T07:32:44.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T07:32:44.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T07:32:46.239Z] OK: 270 MiB in 56 packages [2023-10-12T07:32:47.197Z] Removing intermediate container 4305081a02f6 [2023-10-12T07:32:47.197Z] ---> 6ff512db899a [2023-10-12T07:32:47.197Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-12T07:32:47.197Z] ---> Running in ea185b3f5b83 [2023-10-12T07:32:47.786Z] Removing intermediate container ea185b3f5b83 [2023-10-12T07:32:47.786Z] ---> 82764663d8ae [2023-10-12T07:32:47.786Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-12T07:32:48.054Z] ---> c10a09054876 [2023-10-12T07:32:48.054Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:32:48.321Z] ---> Running in 1a0cc66432cf [2023-10-12T07:32:52.588Z] Removing intermediate container 1a0cc66432cf [2023-10-12T07:32:52.588Z] ---> 227b1b521400 [2023-10-12T07:32:52.588Z] Step 11/24 : COPY . . [2023-10-12T07:32:52.856Z] ---> 2c901502b910 [2023-10-12T07:32:52.856Z] Step 12/24 : RUN ${MAKE} [2023-10-12T07:32:52.856Z] ---> Running in 699b411e88dc [2023-10-12T07:32:54.266Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-12T07:35:00.971Z] Removing intermediate container 699b411e88dc [2023-10-12T07:35:00.971Z] ---> 1d8afa1a5900 [2023-10-12T07:35:00.971Z] Step 13/24 : FROM alpine:3.18 [2023-10-12T07:35:00.971Z] 3.18: Pulling from library/alpine [2023-10-12T07:35:00.971Z] 579b34f0a95b: Pulling fs layer [2023-10-12T07:35:00.971Z] 579b34f0a95b: Verifying Checksum [2023-10-12T07:35:00.971Z] 579b34f0a95b: Download complete [2023-10-12T07:35:00.971Z] 579b34f0a95b: Pull complete [2023-10-12T07:35:00.971Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T07:35:00.971Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T07:35:00.971Z] ---> 3cc203321400 [2023-10-12T07:35:00.971Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-12T07:35:00.971Z] ---> Running in c3d5da051cd0 [2023-10-12T07:35:00.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T07:35:00.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T07:35:00.971Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-12T07:35:00.971Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:35:00.971Z] OK: 8 MiB in 16 packages [2023-10-12T07:35:00.971Z] Removing intermediate container c3d5da051cd0 [2023-10-12T07:35:00.971Z] ---> 4abbf2efd54a [2023-10-12T07:35:00.971Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-12T07:35:00.971Z] ---> 7e6b26ae5ff8 [2023-10-12T07:35:00.971Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-12T07:35:00.971Z] ---> 7c2e3a555409 [2023-10-12T07:35:00.971Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-12T07:35:00.971Z] ---> c730d96a705a [2023-10-12T07:35:00.971Z] Step 18/24 : EXPOSE 59993 [2023-10-12T07:35:00.971Z] ---> Running in f58a39d415d2 [2023-10-12T07:35:00.971Z] Removing intermediate container f58a39d415d2 [2023-10-12T07:35:00.971Z] ---> 49c6e383f424 [2023-10-12T07:35:00.971Z] Step 19/24 : EXPOSE 161 [2023-10-12T07:35:00.971Z] ---> Running in 93cebe684dc6 [2023-10-12T07:35:00.971Z] Removing intermediate container 93cebe684dc6 [2023-10-12T07:35:00.971Z] ---> fd2c3e42bb7d [2023-10-12T07:35:00.971Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-12T07:35:00.971Z] ---> Running in d3d8e4857425 [2023-10-12T07:35:00.971Z] Removing intermediate container d3d8e4857425 [2023-10-12T07:35:00.971Z] ---> f590fbcbb18d [2023-10-12T07:35:00.971Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-12T07:35:00.971Z] ---> Running in fe732aea9cb8 [2023-10-12T07:35:00.971Z] Removing intermediate container fe732aea9cb8 [2023-10-12T07:35:00.971Z] ---> 02deaaf5266f [2023-10-12T07:35:00.971Z] Step 22/24 : LABEL arch=arm64 [2023-10-12T07:35:00.971Z] ---> Running in 63d444361a73 [2023-10-12T07:35:00.971Z] Removing intermediate container 63d444361a73 [2023-10-12T07:35:00.971Z] ---> bec6ccf7ea7c [2023-10-12T07:35:00.971Z] Step 23/24 : LABEL git_sha=ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:35:00.971Z] ---> Running in ba4a91bfbe85 [2023-10-12T07:35:00.971Z] Removing intermediate container ba4a91bfbe85 [2023-10-12T07:35:00.971Z] ---> 85fc07c39f9a [2023-10-12T07:35:00.971Z] Step 24/24 : LABEL version=3.1.0-dev.5 [2023-10-12T07:35:00.971Z] ---> Running in 964677d9321f [2023-10-12T07:35:00.971Z] Removing intermediate container 964677d9321f [2023-10-12T07:35:00.971Z] ---> 9d85e0992b02 [2023-10-12T07:35:00.971Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T07:35:00.971Z] Successfully built 9d85e0992b02 [2023-10-12T07:35:00.971Z] 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-12T07:35:01.064Z] provisioning config files... [2023-10-12T07:35:01.078Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/91@tmp/config1818904676208325164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:35:01.420Z] ---> docker-login.sh [2023-10-12T07:35:01.420Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:35:01.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:35:01.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:35:01.690Z] Configure a credential helper to remove this warning. See [2023-10-12T07:35:01.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:35:01.690Z] [2023-10-12T07:35:01.690Z] Login Succeeded [2023-10-12T07:35:01.690Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:35:01.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:35:01.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:35:01.958Z] Configure a credential helper to remove this warning. See [2023-10-12T07:35:01.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:35:01.958Z] [2023-10-12T07:35:01.958Z] Login Succeeded [2023-10-12T07:35:01.958Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:35:02.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:35:02.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:35:02.492Z] Configure a credential helper to remove this warning. See [2023-10-12T07:35:02.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:35:02.492Z] [2023-10-12T07:35:02.492Z] Login Succeeded [2023-10-12T07:35:02.492Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:35:02.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:35:02.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:35:02.758Z] Configure a credential helper to remove this warning. See [2023-10-12T07:35:02.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:35:02.758Z] [2023-10-12T07:35:02.758Z] Login Succeeded [2023-10-12T07:35:02.758Z] docker.io [2023-10-12T07:35:03.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:35:03.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:35:03.293Z] Configure a credential helper to remove this warning. See [2023-10-12T07:35:03.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:35:03.293Z] [2023-10-12T07:35:03.293Z] Login Succeeded [2023-10-12T07:35:03.293Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:35:03.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:35:03.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:35:03.361Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-10-12T07:35:03.361Z] ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:35:03.361Z] latest [2023-10-12T07:35:03.361Z] 3.1.0-dev.5 [2023-10-12T07:35:03.361Z] ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [2023-10-12T07:35:03.361Z] main [2023-10-12T07:35:03.361Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:03.698Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:04.032Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:35:04.032Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-12T07:35:04.032Z] 6076539b5810: Preparing [2023-10-12T07:35:04.032Z] fa4c4a20d224: Preparing [2023-10-12T07:35:04.032Z] e1e2cf955e33: Preparing [2023-10-12T07:35:04.032Z] ae17ec4fac56: Preparing [2023-10-12T07:35:04.032Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:35:04.032Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:35:04.349Z] fa4c4a20d224: Pushed [2023-10-12T07:35:04.349Z] 6076539b5810: Pushed [2023-10-12T07:35:04.349Z] ae17ec4fac56: Pushed [2023-10-12T07:35:11.114Z] e1e2cf955e33: Pushed [2023-10-12T07:35:11.114Z] ebe46f8f6b5f4966359c01929413183d007dd065: digest: sha256:5e7ce630658f5a7d25a5d9915a739f0958bff00faa36cfc0b982cfcecdba553e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:11.453Z] + 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-12T07:35:11.791Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-12T07:35:11.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-12T07:35:13.197Z] 6076539b5810: Preparing [2023-10-12T07:35:13.197Z] fa4c4a20d224: Preparing [2023-10-12T07:35:13.197Z] e1e2cf955e33: Preparing [2023-10-12T07:35:13.197Z] ae17ec4fac56: Preparing [2023-10-12T07:35:13.197Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:35:13.197Z] e1e2cf955e33: Layer already exists [2023-10-12T07:35:13.197Z] 6076539b5810: Layer already exists [2023-10-12T07:35:13.197Z] ae17ec4fac56: Layer already exists [2023-10-12T07:35:13.197Z] fa4c4a20d224: Layer already exists [2023-10-12T07:35:13.197Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:35:13.197Z] latest: digest: sha256:5e7ce630658f5a7d25a5d9915a739f0958bff00faa36cfc0b982cfcecdba553e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:13.667Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:14.068Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.5 [2023-10-12T07:35:14.068Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-12T07:35:14.068Z] 6076539b5810: Preparing [2023-10-12T07:35:14.068Z] fa4c4a20d224: Preparing [2023-10-12T07:35:14.068Z] e1e2cf955e33: Preparing [2023-10-12T07:35:14.068Z] ae17ec4fac56: Preparing [2023-10-12T07:35:14.068Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:35:14.068Z] ae17ec4fac56: Layer already exists [2023-10-12T07:35:14.068Z] fa4c4a20d224: Layer already exists [2023-10-12T07:35:14.068Z] 6076539b5810: Layer already exists [2023-10-12T07:35:14.068Z] e1e2cf955e33: Layer already exists [2023-10-12T07:35:14.068Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:35:14.068Z] 3.1.0-dev.5: digest: sha256:5e7ce630658f5a7d25a5d9915a739f0958bff00faa36cfc0b982cfcecdba553e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:14.426Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:14.772Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [2023-10-12T07:35:14.772Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-12T07:35:14.772Z] 6076539b5810: Preparing [2023-10-12T07:35:14.772Z] fa4c4a20d224: Preparing [2023-10-12T07:35:14.772Z] e1e2cf955e33: Preparing [2023-10-12T07:35:14.772Z] ae17ec4fac56: Preparing [2023-10-12T07:35:14.772Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:35:14.772Z] e1e2cf955e33: Layer already exists [2023-10-12T07:35:14.772Z] ae17ec4fac56: Layer already exists [2023-10-12T07:35:14.772Z] fa4c4a20d224: Layer already exists [2023-10-12T07:35:14.772Z] 6076539b5810: Layer already exists [2023-10-12T07:35:14.772Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:35:14.772Z] ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5: digest: sha256:5e7ce630658f5a7d25a5d9915a739f0958bff00faa36cfc0b982cfcecdba553e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:15.412Z] + 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-12T07:35:15.755Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-10-12T07:35:15.755Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-12T07:35:15.755Z] 6076539b5810: Preparing [2023-10-12T07:35:15.755Z] fa4c4a20d224: Preparing [2023-10-12T07:35:15.755Z] e1e2cf955e33: Preparing [2023-10-12T07:35:15.755Z] ae17ec4fac56: Preparing [2023-10-12T07:35:15.755Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:35:15.755Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:35:15.755Z] e1e2cf955e33: Layer already exists [2023-10-12T07:35:15.755Z] fa4c4a20d224: Layer already exists [2023-10-12T07:35:15.755Z] 6076539b5810: Layer already exists [2023-10-12T07:35:15.755Z] ae17ec4fac56: Layer already exists [2023-10-12T07:35:15.755Z] main: digest: sha256:5e7ce630658f5a7d25a5d9915a739f0958bff00faa36cfc0b982cfcecdba553e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:35:16.076Z] ===================================================== [Pipeline] echo [2023-10-12T07:35:16.087Z] taggedImages: [2023-10-12T07:35:16.087Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ebe46f8f6b5f4966359c01929413183d007dd065 [2023-10-12T07:35:16.087Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-12T07:35:16.087Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.5 [2023-10-12T07:35:16.088Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ebe46f8f6b5f4966359c01929413183d007dd065-3.1.0-dev.5 [2023-10-12T07:35:16.088Z] - 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-12T07:35:16.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T07:35:16.464Z] [2023-10-12T07:35:16.464Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:16.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T07:35:16.786Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-12T07:35:16.786Z] 8998bd30e6a1: Pulling fs layer [2023-10-12T07:35:16.786Z] 04944245beec: Pulling fs layer [2023-10-12T07:35:16.786Z] 699f458cf7ca: Pulling fs layer [2023-10-12T07:35:16.786Z] 765212b225bb: Pulling fs layer [2023-10-12T07:35:16.786Z] f23df028b6ca: Pulling fs layer [2023-10-12T07:35:16.786Z] d65c8cfc05b1: Pulling fs layer [2023-10-12T07:35:16.786Z] 2437ff75d9bd: Pulling fs layer [2023-10-12T07:35:16.786Z] f23df028b6ca: Waiting [2023-10-12T07:35:16.786Z] d65c8cfc05b1: Waiting [2023-10-12T07:35:16.786Z] 2437ff75d9bd: Waiting [2023-10-12T07:35:16.786Z] 765212b225bb: Waiting [2023-10-12T07:35:17.054Z] 04944245beec: Verifying Checksum [2023-10-12T07:35:17.054Z] 04944245beec: Download complete [2023-10-12T07:35:17.054Z] 765212b225bb: Verifying Checksum [2023-10-12T07:35:17.054Z] 765212b225bb: Download complete [2023-10-12T07:35:17.054Z] f23df028b6ca: Verifying Checksum [2023-10-12T07:35:17.054Z] d65c8cfc05b1: Verifying Checksum [2023-10-12T07:35:17.054Z] d65c8cfc05b1: Download complete [2023-10-12T07:35:17.054Z] 699f458cf7ca: Verifying Checksum [2023-10-12T07:35:17.054Z] 699f458cf7ca: Download complete [2023-10-12T07:35:17.638Z] 8998bd30e6a1: Verifying Checksum [2023-10-12T07:35:17.639Z] 8998bd30e6a1: Download complete [2023-10-12T07:35:20.339Z] 2437ff75d9bd: Verifying Checksum [2023-10-12T07:35:20.339Z] 2437ff75d9bd: Download complete [2023-10-12T07:35:22.279Z] 8998bd30e6a1: Pull complete [2023-10-12T07:35:22.865Z] 04944245beec: Pull complete [2023-10-12T07:35:24.277Z] 699f458cf7ca: Pull complete [2023-10-12T07:35:24.543Z] 765212b225bb: Pull complete [2023-10-12T07:35:25.498Z] f23df028b6ca: Pull complete [2023-10-12T07:35:25.498Z] d65c8cfc05b1: Pull complete [2023-10-12T07:35:43.699Z] 2437ff75d9bd: Pull complete [2023-10-12T07:35:43.699Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-12T07:35:43.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T07:35:43.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:35:43.893Z] prd-ubuntu20.04-docker-arm64-4c-16g-9121 does not seem to be running inside a container [2023-10-12T07:35:43.959Z] $ 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/91 -v /w/workspace/device-snmp-go/91:/w/workspace/device-snmp-go/91:rw,z -v /w/workspace/device-snmp-go/91@tmp:/w/workspace/device-snmp-go/91@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:arm64 cat [2023-10-12T07:35:46.634Z] $ docker top b35768c91533f3b476874ccc0701e86c894a7a8b606e1475459d7d7e40704208 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:35:47.499Z] ---> job-cost.sh [2023-10-12T07:35:47.499Z] lf-activate-venv: SKIPPING [2023-10-12T07:35:47.499Z] INFO: No Stack... [2023-10-12T07:35:47.765Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-12T07:35:48.722Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T07:35:49.357Z] + + cat /w/workspace/device-snmp-go/91/archives/cost.csv [2023-10-12T07:35:49.357Z] cut -d, -f6 [Pipeline] lock [2023-10-12T07:35:49.431Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] [2023-10-12T07:35:49.437Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] did not exist. Created. [2023-10-12T07:35:49.437Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T07:35:50.088Z] /w/workspace/device-snmp-go/91@tmp/durable-d7c8df13/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-12T07:35:50.740Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-12T07:35:50.766Z] Warning: overwriting stash ‘stack-cost’ [2023-10-12T07:35:50.829Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T07:35:50.836Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T07:35:50.858Z] $ docker stop --time=1 b35768c91533f3b476874ccc0701e86c894a7a8b606e1475459d7d7e40704208 [2023-10-12T07:35:52.381Z] $ docker rm -f --volumes b35768c91533f3b476874ccc0701e86c894a7a8b606e1475459d7d7e40704208 [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-12T07:35:52.742Z] provisioning config files... [2023-10-12T07:35:52.749Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17734340305724753691tmp [Pipeline] { [Pipeline] sh [2023-10-12T07:35:53.039Z] + set +x [2023-10-12T07:35:53.039Z] + bash -s+ -- [2023-10-12T07:35:53.039Z] curl -s https://codecov.io/bash [2023-10-12T07:35:53.039Z] [2023-10-12T07:35:53.039Z] _____ _ [2023-10-12T07:35:53.039Z] / ____| | | [2023-10-12T07:35:53.039Z] | | ___ __| | ___ ___ _____ __ [2023-10-12T07:35:53.039Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-12T07:35:53.039Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-12T07:35:53.039Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-12T07:35:53.039Z] Bash-1.0.6 [2023-10-12T07:35:53.039Z] [2023-10-12T07:35:53.039Z] [2023-10-12T07:35:53.039Z] ==> git version 2.25.1 found [2023-10-12T07:35:53.039Z] ==> 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-12T07:35:53.039Z] Release-Date: 2020-01-08 [2023-10-12T07:35:53.039Z] 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-12T07:35:53.039Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-12T07:35:53.039Z] ==> Jenkins CI detected. [2023-10-12T07:35:53.039Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-10-12T07:35:53.039Z] project root: . [2023-10-12T07:35:53.039Z] --> token set from env [2023-10-12T07:35:53.039Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-12T07:35:53.039Z] ==> Running gcov in . (disable via -X gcov) [2023-10-12T07:35:53.039Z] ==> Python coveragepy not found [2023-10-12T07:35:53.039Z] ==> Searching for coverage reports in: [2023-10-12T07:35:53.039Z] + . [2023-10-12T07:35:53.039Z] -> Found 1 reports [2023-10-12T07:35:53.039Z] ==> Detecting git/mercurial file structure [2023-10-12T07:35:53.039Z] ==> Reading reports [2023-10-12T07:35:53.298Z] + ./coverage.out bytes=8837 [2023-10-12T07:35:53.298Z] ==> Appending adjustments [2023-10-12T07:35:53.298Z] https://docs.codecov.io/docs/fixing-reports [2023-10-12T07:35:53.298Z] + Found adjustments [2023-10-12T07:35:53.298Z] ==> Gzipping contents [2023-10-12T07:35:53.298Z] 4.0K /tmp/codecov.MrpPgy.gz [2023-10-12T07:35:53.298Z] ==> Uploading reports [2023-10-12T07:35:53.298Z] url: https://codecov.io [2023-10-12T07:35:53.298Z] query: branch=main&commit=ebe46f8f6b5f4966359c01929413183d007dd065&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-12T07:35:53.298Z] -> Pinging Codecov [2023-10-12T07:35:53.298Z] 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=ebe46f8f6b5f4966359c01929413183d007dd065&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-12T07:35:53.298Z] -> Uploading to [2023-10-12T07:35:53.298Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-12/6C56EA5C29638FB4528AC87E60AF5AE0/ebe46f8f6b5f4966359c01929413183d007dd065/146f66dc-ff25-493b-8e7f-3444a1606d6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T073553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1bcc03c05f93d34407affac4b79dd067f6ac9ddbab7268d103dac44fd4d5fad [2023-10-12T07:35:53.298Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T07:35:53.298Z] Dload Upload Total Spent Left Speed [2023-10-12T07:35:53.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 5259 --:--:-- --:--:-- --:--:-- 5259 [2023-10-12T07:35:53.868Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] } [2023-10-12T07:35:53.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-12T07:35:54.002Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-12T07:35:54.011Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:35:54.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-12T07:35:54.299Z] [2023-10-12T07:35:54.299Z] 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-12T07:35:54.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-12T07:35:54.602Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-12T07:35:54.602Z] df9b9388f04a: Pulling fs layer [2023-10-12T07:35:54.602Z] 52dc419b0ee2: Pulling fs layer [2023-10-12T07:35:54.602Z] 25bc292e5bac: Pulling fs layer [2023-10-12T07:35:54.602Z] 114826534d7a: Pulling fs layer [2023-10-12T07:35:54.602Z] 4657fd5d0bcf: Pulling fs layer [2023-10-12T07:35:54.602Z] 6ad1cebc031e: Pulling fs layer [2023-10-12T07:35:54.602Z] 8a3aa393b2d8: Pulling fs layer [2023-10-12T07:35:54.602Z] 114826534d7a: Waiting [2023-10-12T07:35:54.602Z] 4657fd5d0bcf: Waiting [2023-10-12T07:35:54.602Z] 6ad1cebc031e: Waiting [2023-10-12T07:35:54.602Z] 8a3aa393b2d8: Waiting [2023-10-12T07:35:54.602Z] 25bc292e5bac: Verifying Checksum [2023-10-12T07:35:54.602Z] 25bc292e5bac: Download complete [2023-10-12T07:35:54.602Z] 52dc419b0ee2: Verifying Checksum [2023-10-12T07:35:54.602Z] 52dc419b0ee2: Download complete [2023-10-12T07:35:54.602Z] 4657fd5d0bcf: Verifying Checksum [2023-10-12T07:35:54.602Z] 4657fd5d0bcf: Download complete [2023-10-12T07:35:54.602Z] df9b9388f04a: Verifying Checksum [2023-10-12T07:35:54.602Z] df9b9388f04a: Download complete [2023-10-12T07:35:54.861Z] df9b9388f04a: Pull complete [2023-10-12T07:35:54.861Z] 52dc419b0ee2: Pull complete [2023-10-12T07:35:55.119Z] 25bc292e5bac: Pull complete [2023-10-12T07:35:55.119Z] 6ad1cebc031e: Verifying Checksum [2023-10-12T07:35:55.119Z] 6ad1cebc031e: Download complete [2023-10-12T07:35:58.405Z] 114826534d7a: Verifying Checksum [2023-10-12T07:35:58.405Z] 114826534d7a: Download complete [2023-10-12T07:35:58.405Z] 8a3aa393b2d8: Verifying Checksum [2023-10-12T07:35:58.405Z] 8a3aa393b2d8: Download complete [2023-10-12T07:36:00.931Z] 114826534d7a: Pull complete [2023-10-12T07:36:00.931Z] 4657fd5d0bcf: Pull complete [2023-10-12T07:36:01.497Z] 6ad1cebc031e: Pull complete [2023-10-12T07:36:04.024Z] 8a3aa393b2d8: Pull complete [2023-10-12T07:36:04.024Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-12T07:36:04.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-12T07:36:04.024Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:36:04.112Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:36:04.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-12T07:36:11.240Z] $ docker top de8d8ea8eb35ebc3571fa68eb64af57a5c1fcb9f498de6874721bfb826eea714 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-12T07:36:11.298Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-10-12T07:36:11.589Z] + set -o pipefail [2023-10-12T07:36:11.589Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-10-12T07:36:19.705Z] [2023-10-12T07:36:19.705Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-10-12T07:36:19.705Z] [2023-10-12T07:36:19.705Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/621f3141-6b6f-45b3-8e63-b4cc518de6c5 [2023-10-12T07:36:19.705Z] [2023-10-12T07:36:19.705Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-12T07:36:19.705Z] [2023-10-12T07:36:19.705Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-12T07:36:19.705Z] [2023-10-12T07:36:19.705Z] [2023-10-12T07:36:19.705Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-12T07:36:19.705Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-12T07:36:19.705Z] More details here: https://snyk.co/ue1NS [2023-10-12T07:36:19.705Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-12T07:36:19.705Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-12T07:36:19.716Z] $ docker stop --time=1 de8d8ea8eb35ebc3571fa68eb64af57a5c1fcb9f498de6874721bfb826eea714 [2023-10-12T07:36:24.791Z] $ docker rm -f --volumes de8d8ea8eb35ebc3571fa68eb64af57a5c1fcb9f498de6874721bfb826eea714 [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-12T07:36:25.519Z] + git log --format=format:%s -1 ebe46f8f6b5f4966359c01929413183d007dd065 [Pipeline] sh [2023-10-12T07:36:25.807Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:36:25.807Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:36:26.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:36:26.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:36:26.170Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:36:26.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:36:26.669Z] $ docker top 1f8cd70be57fe7009cb03dc1fac719b413d75164e5a9f6560c9f88f7b034a32f -eo pid,comm [2023-10-12T07:36:26.711Z] 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-12T07:36:26.711Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:36:26.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:36:26.749Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:36:26.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:36:26.870Z] $ docker exec 1f8cd70be57fe7009cb03dc1fac719b413d75164e5a9f6560c9f88f7b034a32f ssh-agent [2023-10-12T07:36:26.970Z] SSH_AUTH_SOCK=/tmp/ssh-HcdYPMCkr2rK/agent.33 [2023-10-12T07:36:26.970Z] SSH_AGENT_PID=39 [2023-10-12T07:36:26.975Z] Running ssh-add (command line suppressed) [2023-10-12T07:36:27.084Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1647124102324234398.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1647124102324234398.key) [2023-10-12T07:36:27.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:36:27.383Z] + git semver tag [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,556 [run_tag] DEBUG tag force:False [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,556 [check_head_tag] DEBUG check head tag [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,557 [execute] INFO git cat-file --batch-check [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,560 [execute] INFO git cat-file --batch [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,568 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,568 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,568 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-12T07:36:27.642Z] 2023-10-12 07:36:27,571 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:36:27.642Z] 3.1.0-dev.5 [Pipeline] } [2023-10-12T07:36:27.654Z] $ docker exec --env ******** --env ******** 1f8cd70be57fe7009cb03dc1fac719b413d75164e5a9f6560c9f88f7b034a32f ssh-agent -k [2023-10-12T07:36:27.745Z] unset SSH_AUTH_SOCK; [2023-10-12T07:36:27.745Z] unset SSH_AGENT_PID; [2023-10-12T07:36:27.745Z] echo Agent pid 39 killed; [2023-10-12T07:36:27.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:36:28.062Z] + git semver [Pipeline] } [2023-10-12T07:36:28.336Z] $ docker stop --time=1 1f8cd70be57fe7009cb03dc1fac719b413d75164e5a9f6560c9f88f7b034a32f [2023-10-12T07:36:29.600Z] $ docker rm -f --volumes 1f8cd70be57fe7009cb03dc1fac719b413d75164e5a9f6560c9f88f7b034a32f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:36:29.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-12T07:36:29.984Z] [2023-10-12T07:36:29.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:36:30.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-12T07:36:30.284Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-12T07:36:30.284Z] ab5ef0e58194: Pulling fs layer [2023-10-12T07:36:30.284Z] 9712f1f96733: Pulling fs layer [2023-10-12T07:36:30.284Z] 63f879dbbcfc: Pulling fs layer [2023-10-12T07:36:30.284Z] 0d9ebad4ef96: Pulling fs layer [2023-10-12T07:36:30.284Z] e9a5061849ea: Pulling fs layer [2023-10-12T07:36:30.284Z] d747dcd14b5f: Pulling fs layer [2023-10-12T07:36:30.284Z] 2de7ff778b66: Pulling fs layer [2023-10-12T07:36:30.284Z] 0d9ebad4ef96: Waiting [2023-10-12T07:36:30.284Z] e9a5061849ea: Waiting [2023-10-12T07:36:30.284Z] d747dcd14b5f: Waiting [2023-10-12T07:36:30.284Z] 2de7ff778b66: Waiting [2023-10-12T07:36:30.284Z] 9712f1f96733: Verifying Checksum [2023-10-12T07:36:30.284Z] 9712f1f96733: Download complete [2023-10-12T07:36:31.661Z] 63f879dbbcfc: Verifying Checksum [2023-10-12T07:36:31.661Z] 63f879dbbcfc: Download complete [2023-10-12T07:36:31.919Z] e9a5061849ea: Verifying Checksum [2023-10-12T07:36:31.919Z] e9a5061849ea: Download complete [2023-10-12T07:36:31.919Z] d747dcd14b5f: Download complete [2023-10-12T07:36:32.485Z] 2de7ff778b66: Verifying Checksum [2023-10-12T07:36:32.485Z] 2de7ff778b66: Download complete [2023-10-12T07:36:32.485Z] 0d9ebad4ef96: Verifying Checksum [2023-10-12T07:36:32.485Z] 0d9ebad4ef96: Download complete [2023-10-12T07:36:32.744Z] ab5ef0e58194: Verifying Checksum [2023-10-12T07:36:32.744Z] ab5ef0e58194: Download complete [2023-10-12T07:36:35.274Z] ab5ef0e58194: Pull complete [2023-10-12T07:36:35.531Z] 9712f1f96733: Pull complete [2023-10-12T07:36:36.095Z] 63f879dbbcfc: Pull complete [2023-10-12T07:36:39.375Z] 0d9ebad4ef96: Pull complete [2023-10-12T07:36:39.633Z] e9a5061849ea: Pull complete [2023-10-12T07:36:39.633Z] d747dcd14b5f: Pull complete [2023-10-12T07:36:41.010Z] 2de7ff778b66: Pull complete [2023-10-12T07:36:41.010Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-12T07:36:41.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-12T07:36:41.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:36:41.094Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:36:41.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-12T07:36:51.612Z] $ docker top cb4d9bb38d8bdc357c1ff646c8a637b152237096010049579e0c8c359ceebc13 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:36:51.681Z] provisioning config files... [2023-10-12T07:36:51.689Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13441288576564559126tmp [2023-10-12T07:36:51.700Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1009228113053725459tmp [2023-10-12T07:36:51.710Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11032844514508969298tmp [Pipeline] { [Pipeline] echo [2023-10-12T07:36:51.725Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:36:52.006Z] ---> sigul-configuration.sh [2023-10-12T07:36:52.006Z] gpg: directory `/root/.gnupg' created [2023-10-12T07:36:52.006Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-12T07:36:52.006Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-12T07:36:52.006Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-12T07:36:52.006Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-12T07:36:52.006Z] gpg: CAST5 encrypted data [2023-10-12T07:36:52.006Z] gpg: encrypted with 1 passphrase [2023-10-12T07:36:52.006Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-12T07:36:52.284Z] + mkdir /home/jenkins [2023-10-12T07:36:52.285Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-12T07:36:52.568Z] + 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-12T07:36:52.576Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:36:52.860Z] ---> sigul-install.sh [2023-10-12T07:36:52.860Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-12T07:36:53.141Z] + git tag --list [2023-10-12T07:36:53.141Z] 1.0.0 [2023-10-12T07:36:53.141Z] v0.0.0 [2023-10-12T07:36:53.141Z] v1.1.0 [2023-10-12T07:36:53.141Z] v1.1.1 [2023-10-12T07:36:53.141Z] v1.2.2 [2023-10-12T07:36:53.141Z] v1.3.0 [2023-10-12T07:36:53.141Z] v1.3.1 [2023-10-12T07:36:53.141Z] v2.0.0 [2023-10-12T07:36:53.141Z] v2.1.0 [2023-10-12T07:36:53.141Z] v2.1.1 [2023-10-12T07:36:53.141Z] v2.2.0 [2023-10-12T07:36:53.141Z] v2.3.0 [2023-10-12T07:36:53.141Z] v3.0 [2023-10-12T07:36:53.141Z] v3.0.0 [2023-10-12T07:36:53.141Z] v3.1.0-dev.1 [2023-10-12T07:36:53.141Z] v3.1.0-dev.2 [2023-10-12T07:36:53.141Z] v3.1.0-dev.3 [2023-10-12T07:36:53.141Z] v3.1.0-dev.4 [2023-10-12T07:36:53.141Z] v3.1.0-dev.5 [Pipeline] sh [2023-10-12T07:36:53.426Z] + lftools sign git-tag v3.1.0-dev.5 [2023-10-12T07:36:53.992Z] Signing Git tag with Sigul... [2023-10-12T07:36:53.992Z] Signing v3.1.0-dev.5 [Pipeline] echo [2023-10-12T07:36:54.258Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:36:54.538Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-12T07:36:54.545Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-12T07:36:54.565Z] $ docker stop --time=1 cb4d9bb38d8bdc357c1ff646c8a637b152237096010049579e0c8c359ceebc13 [2023-10-12T07:36:55.908Z] $ docker rm -f --volumes cb4d9bb38d8bdc357c1ff646c8a637b152237096010049579e0c8c359ceebc13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-12T07:36:56.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:36:56.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:36:56.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:36:56.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:36:56.666Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:36:56.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:36:57.037Z] $ docker top 041d60b4211fb4b8b9760ce4163546163b1e64d7cf1387eef1e87f416e7e7cd1 -eo pid,comm [2023-10-12T07:36:57.087Z] 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-12T07:36:57.087Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:36:57.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:36:57.132Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:36:57.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:36:57.238Z] $ docker exec 041d60b4211fb4b8b9760ce4163546163b1e64d7cf1387eef1e87f416e7e7cd1 ssh-agent [2023-10-12T07:36:57.339Z] SSH_AUTH_SOCK=/tmp/ssh-fKaI8jf0ogfB/agent.33 [2023-10-12T07:36:57.339Z] SSH_AGENT_PID=39 [2023-10-12T07:36:57.344Z] Running ssh-add (command line suppressed) [2023-10-12T07:36:57.450Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4925075750675248645.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4925075750675248645.key) [2023-10-12T07:36:57.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:36:57.751Z] + git semver bump pre [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,906 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,906 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,906 [bump_version] DEBUG bumped version:3.1.0-dev.6 [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,906 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,906 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,907 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,909 [execute] INFO git cat-file --batch-check [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,909 [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-12T07:36:58.011Z] 2023-10-12 07:36:57,914 [execute] INFO git cat-file --batch [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,914 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T07:36:58.011Z] 2023-10-12 07:36:57,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:36:58.011Z] 3.1.0-dev.6 [Pipeline] } [2023-10-12T07:36:58.022Z] $ docker exec --env ******** --env ******** 041d60b4211fb4b8b9760ce4163546163b1e64d7cf1387eef1e87f416e7e7cd1 ssh-agent -k [2023-10-12T07:36:58.104Z] unset SSH_AUTH_SOCK; [2023-10-12T07:36:58.104Z] unset SSH_AGENT_PID; [2023-10-12T07:36:58.104Z] echo Agent pid 39 killed; [2023-10-12T07:36:58.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:36:58.416Z] + git semver [Pipeline] } [2023-10-12T07:36:58.685Z] $ docker stop --time=1 041d60b4211fb4b8b9760ce4163546163b1e64d7cf1387eef1e87f416e7e7cd1 [2023-10-12T07:36:59.929Z] $ docker rm -f --volumes 041d60b4211fb4b8b9760ce4163546163b1e64d7cf1387eef1e87f416e7e7cd1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:37:00.283Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:37:00.283Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:37:00.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:37:00.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:37:00.650Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:37:00.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:37:01.051Z] $ docker top d42cdc5e7114b4ccf460696023c9d1a6af17cf0c6991e3c0cf9e9fc41dc18360 -eo pid,comm [2023-10-12T07:37:01.095Z] 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-12T07:37:01.095Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:37:01.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:37:01.127Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:37:01.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:37:01.240Z] $ docker exec d42cdc5e7114b4ccf460696023c9d1a6af17cf0c6991e3c0cf9e9fc41dc18360 ssh-agent [2023-10-12T07:37:01.342Z] SSH_AUTH_SOCK=/tmp/ssh-hVXTh63FghqY/agent.32 [2023-10-12T07:37:01.342Z] SSH_AGENT_PID=37 [2023-10-12T07:37:01.347Z] Running ssh-add (command line suppressed) [2023-10-12T07:37:01.435Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4949133805933030716.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4949133805933030716.key) [2023-10-12T07:37:01.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:37:01.730Z] + git semver push [2023-10-12T07:37:01.989Z] 2023-10-12 07:37:01,906 [run_push] DEBUG push [2023-10-12T07:37:01.989Z] 2023-10-12 07:37:01,907 [execute] INFO git cat-file --batch-check [2023-10-12T07:37:01.989Z] 2023-10-12 07:37:01,908 [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-12T07:37:01.989Z] 2023-10-12 07:37:01,912 [execute] INFO git rev-list f9c5341ec38e1a3f50ddd1d40ad1dc05c50b2af1 -- [2023-10-12T07:37:01.989Z] 2023-10-12 07:37:01,912 [execute] DEBUG Popen(['git', 'rev-list', 'f9c5341ec38e1a3f50ddd1d40ad1dc05c50b2af1', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-12T07:37:01.989Z] 2023-10-12 07:37:01,921 [execute] INFO git fetch -v origin [2023-10-12T07:37:01.989Z] 2023-10-12 07:37:01,921 [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-12T07:37:02.556Z] 2023-10-12 07:37:02,464 [run_push] DEBUG no remote changes detected [2023-10-12T07:37:02.556Z] 2023-10-12 07:37:02,465 [execute] INFO git push origin semver [2023-10-12T07:37:02.556Z] 2023-10-12 07:37:02,465 [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-12T07:37:03.492Z] 2023-10-12 07:37:03,348 [run_push] DEBUG push all version tags [2023-10-12T07:37:03.492Z] 2023-10-12 07:37:03,349 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-12T07:37:03.492Z] 2023-10-12 07:37:03,349 [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-12T07:37:04.428Z] 2023-10-12 07:37:04,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-12T07:37:04.428Z] 3.1.0-dev.6 [Pipeline] } [2023-10-12T07:37:04.438Z] $ docker exec --env ******** --env ******** d42cdc5e7114b4ccf460696023c9d1a6af17cf0c6991e3c0cf9e9fc41dc18360 ssh-agent -k [2023-10-12T07:37:04.526Z] unset SSH_AUTH_SOCK; [2023-10-12T07:37:04.526Z] unset SSH_AGENT_PID; [2023-10-12T07:37:04.527Z] echo Agent pid 37 killed; [2023-10-12T07:37:04.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:37:04.837Z] + git semver [Pipeline] } [2023-10-12T07:37:05.113Z] $ docker stop --time=1 d42cdc5e7114b4ccf460696023c9d1a6af17cf0c6991e3c0cf9e9fc41dc18360 [2023-10-12T07:37:06.366Z] $ docker rm -f --volumes d42cdc5e7114b4ccf460696023c9d1a6af17cf0c6991e3c0cf9e9fc41dc18360 [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-12T07:37:06.898Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-10-12T07:37:06.898Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-12T07:37:06.898Z] total 16 [2023-10-12T07:37:06.898Z] drwxr-xr-x 3 root root 4096 Oct 12 07:28 . [2023-10-12T07:37:06.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 07:36 .. [2023-10-12T07:37:06.898Z] drwxr-xr-x 2 root root 4096 Oct 12 07:28 cost [2023-10-12T07:37:06.898Z] -rw-r--r-- 1 root root 85 Oct 12 07:28 cost.csv [2023-10-12T07:37:06.898Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-12T07:37:06.898Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-12T07:37:06.898Z] total 16 [2023-10-12T07:37:06.898Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:28 . [2023-10-12T07:37:06.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 07:36 .. [2023-10-12T07:37:06.898Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 07:28 cost [2023-10-12T07:37:06.898Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 12 07:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:37:07.195Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:37:08.054Z] ---> package-listing.sh [2023-10-12T07:37:08.054Z] ++ facter osfamily [2023-10-12T07:37:08.054Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-12T07:37:08.313Z] + OS_FAMILY=debian [2023-10-12T07:37:08.313Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-10-12T07:37:08.313Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-12T07:37:08.313Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-12T07:37:08.313Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-12T07:37:08.313Z] + PACKAGES=/tmp/packages_start.txt [2023-10-12T07:37:08.313Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-12T07:37:08.313Z] + PACKAGES=/tmp/packages_end.txt [2023-10-12T07:37:08.313Z] + case "${OS_FAMILY}" in [2023-10-12T07:37:08.313Z] + dpkg -l [2023-10-12T07:37:08.313Z] + grep '^ii' [2023-10-12T07:37:08.313Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-12T07:37:08.313Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-12T07:37:08.313Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-12T07:37:08.313Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-12T07:37:08.313Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-10-12T07:37:08.313Z] + 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-12T07:37:08.323Z] 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-12T07:37:08.599Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:37:09.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T07:37:09.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:37:09.223Z] prd-ubuntu20.04-docker-8c-8g-9120 does not seem to be running inside a container [2023-10-12T07:37:09.305Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-12T07:37:09.503Z] $ docker top 1bc368f7e3d52d14df92d070e426b0ffa5ea5fb7c1b2deefb76271319a14b026 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:37:09.894Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-12T07:37:10.202Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-12T07:37:10.486Z] + ls /var/log/sa-host [2023-10-12T07:37:10.486Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:37:10.552Z] provisioning config files... [2023-10-12T07:37:10.559Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3836522819411237067tmp [Pipeline] { [Pipeline] echo [2023-10-12T07:37:10.570Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:37:10.854Z] ---> create-netrc.sh [Pipeline] } [2023-10-12T07:37:10.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:37:11.196Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-12T07:37:11.205Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:37:11.495Z] ---> sudo-logs.sh [2023-10-12T07:37:11.495Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-12T07:37:11.525Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:37:11.972Z] ---> job-cost.sh [2023-10-12T07:37:11.973Z] lf-activate-venv: SKIPPING [2023-10-12T07:37:11.973Z] DEBUG: total: 0.2199999988079071 [2023-10-12T07:37:11.973Z] INFO: Retrieving Stack Cost... [2023-10-12T07:37:12.540Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T07:37:12.800Z] INFO: Archiving Costs [Pipeline] echo [2023-10-12T07:37:12.811Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:37:13.094Z] ---> logs-deploy.sh [2023-10-12T07:37:13.095Z] lf-activate-venv: SKIPPING [2023-10-12T07:37:13.095Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/91 [2023-10-12T07:37:13.095Z] INFO: archiving workspace using pattern(s): [2023-10-12T07:37:14.031Z] Archives upload complete. [2023-10-12T07:37:14.031Z] INFO: archiving logs to Nexus