Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 965f04e6862849b37eeb3a58b1f16c31f2ab2615 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-ssh6134203074868174932.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10628965248362722425.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2961859913177618542.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2884255667212652841.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-ssh3253839222071096377.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2452 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 (main) Commit message: "refactor(snap): Update command and metadata sourcing (#266)" > 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 > git rev-list --no-walk d829a2c887c40068ff6155ebb33a7321d05cdfd6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T15:17:24.095Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T15:17:24.149Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T15:17:24.161Z] ========================================================= [2023-03-16T15:17:24.161Z] EdgeX Global Pipelines Version Info [2023-03-16T15:17:24.161Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:17:24.858Z] ------------------- [2023-03-16T15:17:24.858Z] stable info: [2023-03-16T15:17:24.858Z] ------------------- [2023-03-16T15:17:24.858Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T15:17:24.858Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T15:17:24.858Z] Message: update stable to v1.0.245 [2023-03-16T15:17:25.427Z] ------------------- [2023-03-16T15:17:25.427Z] experimental info: [2023-03-16T15:17:25.427Z] ------------------- [2023-03-16T15:17:25.428Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T15:17:25.428Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T15:17:25.428Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T15:17:25.583Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-16T15:17:25.595Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-16T15:17:25.608Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T15:17:25.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T15:17:25.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T15:17:25.641Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T15:17:25.652Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T15:17:25.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T15:17:25.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T15:17:25.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T15:17:25.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T15:17:25.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-16T15:17:25.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T15:17:25.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T15:17:25.747Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T15:17:25.762Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T15:17:25.778Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T15:17:25.790Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T15:17:25.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T15:17:25.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T15:17:25.834Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-16T15:17:25.844Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-16T15:17:25.855Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T15:17:25.870Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T15:17:25.886Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T15:17:25.902Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T15:17:25.915Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T15:17:25.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-16T15:17:25.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-16T15:17:25.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-16T15:17:25.958Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] echo [2023-03-16T15:17:25.969Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 965f04e [Pipeline] echo [2023-03-16T15:17:25.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:17:26.020Z] provisioning config files... [2023-03-16T15:17:26.034Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11242719165302740218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:17:26.336Z] ---> docker-login.sh [2023-03-16T15:17:26.336Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:17:26.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:26.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:26.597Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:26.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:26.597Z] [2023-03-16T15:17:26.597Z] Login Succeeded [2023-03-16T15:17:26.597Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:17:26.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:26.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:26.858Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:26.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:26.858Z] [2023-03-16T15:17:26.858Z] Login Succeeded [2023-03-16T15:17:26.858Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:17:26.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:26.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:26.858Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:26.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:26.858Z] [2023-03-16T15:17:26.858Z] Login Succeeded [2023-03-16T15:17:26.858Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:17:27.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:27.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:27.118Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:27.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:27.118Z] [2023-03-16T15:17:27.118Z] Login Succeeded [2023-03-16T15:17:27.118Z] docker.io [2023-03-16T15:17:27.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:27.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:27.379Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:27.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:27.379Z] [2023-03-16T15:17:27.379Z] Login Succeeded [2023-03-16T15:17:27.379Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:17:27.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T15:17:27.732Z] + git rev-list -1 --merges 965f04e6862849b37eeb3a58b1f16c31f2ab2615~1..965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] echo [2023-03-16T15:17:27.773Z] -----------> git rev-list -1 --merges 965f04e6862849b37eeb3a58b1f16c31f2ab2615~1..965f04e6862849b37eeb3a58b1f16c31f2ab2615 965f04e6862849b37eeb3a58b1f16c31f2ab2615 [false] [Pipeline] sh [2023-03-16T15:17:28.057Z] + git log --format=format:%s -1 965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] echo [2023-03-16T15:17:28.072Z] ========================================================= [2023-03-16T15:17:28.072Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T15:17:28.072Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:17:28.392Z] + git log --format=format:%s -1 965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] echo [2023-03-16T15:17:28.404Z] [semverPrep] GIT_COMMIT: 965f04e6862849b37eeb3a58b1f16c31f2ab2615, Commit Message: refactor(snap): Update command and metadata sourcing (#266) [Pipeline] echo [2023-03-16T15:17:28.412Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T15:17:28.756Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T15:17:28.756Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T15:17:28.756Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T15:17:28.756Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T15:17:28.756Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T15:17:28.756Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T15:17:28.756Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:17:29.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:17:29.106Z] [2023-03-16T15:17:29.106Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:17:29.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:17:29.410Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T15:17:29.410Z] b85a868b505f: Pulling fs layer [2023-03-16T15:17:29.410Z] e2be974225ed: Pulling fs layer [2023-03-16T15:17:29.410Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T15:17:29.410Z] 988bab9f4d93: Pulling fs layer [2023-03-16T15:17:29.410Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T15:17:29.410Z] eaf3925da568: Pulling fs layer [2023-03-16T15:17:29.410Z] bab4dde63d76: Pulling fs layer [2023-03-16T15:17:29.410Z] bde34c3a00c8: Pulling fs layer [2023-03-16T15:17:29.410Z] b352a97aabf1: Pulling fs layer [2023-03-16T15:17:29.410Z] 4872d77fe225: Pulling fs layer [2023-03-16T15:17:29.410Z] 5851b861e8e6: Pulling fs layer [2023-03-16T15:17:29.410Z] bab4dde63d76: Waiting [2023-03-16T15:17:29.410Z] bde34c3a00c8: Waiting [2023-03-16T15:17:29.410Z] b352a97aabf1: Waiting [2023-03-16T15:17:29.410Z] 4872d77fe225: Waiting [2023-03-16T15:17:29.410Z] 5851b861e8e6: Waiting [2023-03-16T15:17:29.410Z] 988bab9f4d93: Waiting [2023-03-16T15:17:29.410Z] eaf3925da568: Waiting [2023-03-16T15:17:29.410Z] 1469e6f7b9e6: Waiting [2023-03-16T15:17:29.410Z] e2be974225ed: Verifying Checksum [2023-03-16T15:17:29.410Z] e2be974225ed: Download complete [2023-03-16T15:17:29.670Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T15:17:29.670Z] 1469e6f7b9e6: Download complete [2023-03-16T15:17:29.670Z] eaf3925da568: Verifying Checksum [2023-03-16T15:17:29.670Z] eaf3925da568: Download complete [2023-03-16T15:17:29.670Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T15:17:29.670Z] 339a4e72a1f5: Download complete [2023-03-16T15:17:29.670Z] bde34c3a00c8: Download complete [2023-03-16T15:17:29.670Z] b352a97aabf1: Download complete [2023-03-16T15:17:29.670Z] 4872d77fe225: Verifying Checksum [2023-03-16T15:17:29.670Z] 4872d77fe225: Download complete [2023-03-16T15:17:29.670Z] 5851b861e8e6: Download complete [2023-03-16T15:17:29.670Z] b85a868b505f: Verifying Checksum [2023-03-16T15:17:29.670Z] b85a868b505f: Download complete [2023-03-16T15:17:29.929Z] bab4dde63d76: Verifying Checksum [2023-03-16T15:17:29.929Z] bab4dde63d76: Download complete [2023-03-16T15:17:30.865Z] b85a868b505f: Pull complete [2023-03-16T15:17:31.124Z] e2be974225ed: Pull complete [2023-03-16T15:17:31.383Z] 339a4e72a1f5: Pull complete [2023-03-16T15:17:31.645Z] 988bab9f4d93: Pull complete [2023-03-16T15:17:31.914Z] 1469e6f7b9e6: Pull complete [2023-03-16T15:17:31.914Z] eaf3925da568: Pull complete [2023-03-16T15:17:33.817Z] bab4dde63d76: Pull complete [2023-03-16T15:17:33.817Z] bde34c3a00c8: Pull complete [2023-03-16T15:17:33.817Z] b352a97aabf1: Pull complete [2023-03-16T15:17:33.817Z] 4872d77fe225: Pull complete [2023-03-16T15:17:33.817Z] 5851b861e8e6: Pull complete [2023-03-16T15:17:33.817Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T15:17:33.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:17:33.817Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:17:33.911Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:17:33.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T15:17:35.181Z] $ docker top 9f7b6f9298f23391c8880cfa957020fe2f0cd21e9551b73fc4a3a26c2c83f745 -eo pid,comm [2023-03-16T15:17:35.230Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-16T15:17:35.230Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T15:17:35.269Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:17:35.269Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:17:35.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:17:35.378Z] $ docker exec 9f7b6f9298f23391c8880cfa957020fe2f0cd21e9551b73fc4a3a26c2c83f745 ssh-agent [2023-03-16T15:17:35.478Z] SSH_AUTH_SOCK=/tmp/ssh-8XA7SCWZquJP/agent.32 [2023-03-16T15:17:35.478Z] SSH_AGENT_PID=38 [2023-03-16T15:17:35.484Z] Running ssh-add (command line suppressed) [2023-03-16T15:17:35.585Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13968765599722367142.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13968765599722367142.key) [2023-03-16T15:17:35.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:17:35.888Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T15:17:35.902Z] $ docker exec --env ******** --env ******** 9f7b6f9298f23391c8880cfa957020fe2f0cd21e9551b73fc4a3a26c2c83f745 ssh-agent -k [2023-03-16T15:17:35.991Z] unset SSH_AUTH_SOCK; [2023-03-16T15:17:35.991Z] unset SSH_AGENT_PID; [2023-03-16T15:17:35.991Z] echo Agent pid 38 killed; [2023-03-16T15:17:35.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T15:17:36.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:17:36.029Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:17:36.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:17:36.140Z] $ docker exec 9f7b6f9298f23391c8880cfa957020fe2f0cd21e9551b73fc4a3a26c2c83f745 ssh-agent [2023-03-16T15:17:36.249Z] SSH_AUTH_SOCK=/tmp/ssh-7DCIenocsZDV/agent.70 [2023-03-16T15:17:36.249Z] SSH_AGENT_PID=76 [2023-03-16T15:17:36.254Z] Running ssh-add (command line suppressed) [2023-03-16T15:17:36.358Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11943299018798557139.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11943299018798557139.key) [2023-03-16T15:17:36.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:17:36.656Z] + git semver init [2023-03-16T15:17:36.917Z] 2023-03-16 15:17:36,836 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T15:17:36.917Z] 2023-03-16 15:17:36,837 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-16T15:17:36.917Z] 2023-03-16 15:17:36,837 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-16T15:17:36.917Z] 2023-03-16 15:17:36,837 [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-03-16T15:17:37.858Z] 2023-03-16 15:17:37,562 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-03-16T15:17:37.858Z] 2023-03-16 15:17:37,563 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-03-16T15:17:37.858Z] 2023-03-16 15:17:37,563 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:17:37.858Z] 2023-03-16 15:17:37,563 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:17:37.858Z] 3.0.0-dev.8 [Pipeline] } [2023-03-16T15:17:37.873Z] $ docker exec --env ******** --env ******** 9f7b6f9298f23391c8880cfa957020fe2f0cd21e9551b73fc4a3a26c2c83f745 ssh-agent -k [2023-03-16T15:17:37.968Z] unset SSH_AUTH_SOCK; [2023-03-16T15:17:37.968Z] unset SSH_AGENT_PID; [2023-03-16T15:17:37.968Z] echo Agent pid 76 killed; [2023-03-16T15:17:37.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T15:17:38.279Z] + git semver [Pipeline] } [2023-03-16T15:17:38.557Z] $ docker stop --time=1 9f7b6f9298f23391c8880cfa957020fe2f0cd21e9551b73fc4a3a26c2c83f745 [2023-03-16T15:17:39.846Z] $ docker rm -f --volumes 9f7b6f9298f23391c8880cfa957020fe2f0cd21e9551b73fc4a3a26c2c83f745 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:17:40.172Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T15:17:40.382Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T15:17:40.385Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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-03-16T15:17:40.561Z] provisioning config files... [2023-03-16T15:17:40.569Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10796840355920215081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:17:40.869Z] ---> docker-login.sh [2023-03-16T15:17:40.869Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:17:40.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:40.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:40.869Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:40.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:40.869Z] [2023-03-16T15:17:40.869Z] Login Succeeded [2023-03-16T15:17:40.869Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:17:40.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:40.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:40.869Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:40.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:40.869Z] [2023-03-16T15:17:40.869Z] Login Succeeded [2023-03-16T15:17:40.869Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:17:41.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:41.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:41.129Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:41.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:41.129Z] [2023-03-16T15:17:41.129Z] Login Succeeded [2023-03-16T15:17:41.129Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:17:41.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:41.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:41.129Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:41.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:41.129Z] [2023-03-16T15:17:41.129Z] Login Succeeded [2023-03-16T15:17:41.129Z] docker.io [2023-03-16T15:17:41.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:17:41.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:17:41.387Z] Configure a credential helper to remove this warning. See [2023-03-16T15:17:41.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:17:41.387Z] [2023-03-16T15:17:41.387Z] Login Succeeded [2023-03-16T15:17:41.387Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:17:41.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T15:17:41.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:17:41.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:17:41.469Z] ========================================================= [2023-03-16T15:17:41.469Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T15:17:41.469Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:17:41.770Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T15:17:41.770Z] Sending build context to Docker daemon 5.715MB [2023-03-16T15:17:41.770Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:17:41.770Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T15:17:41.770Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T15:17:41.770Z] 63b65145d645: Pulling fs layer [2023-03-16T15:17:41.770Z] a2d21d5440eb: Pulling fs layer [2023-03-16T15:17:41.770Z] 935e6c44a52c: Pulling fs layer [2023-03-16T15:17:41.770Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T15:17:41.770Z] 30dea6a524f1: Pulling fs layer [2023-03-16T15:17:41.770Z] a2aff8979fd8: Pulling fs layer [2023-03-16T15:17:41.770Z] 6808be2612f2: Pulling fs layer [2023-03-16T15:17:41.770Z] f25807f1079a: Pulling fs layer [2023-03-16T15:17:41.770Z] a2aff8979fd8: Waiting [2023-03-16T15:17:41.770Z] 94cc34f8dd06: Waiting [2023-03-16T15:17:41.770Z] 6808be2612f2: Waiting [2023-03-16T15:17:41.770Z] 30dea6a524f1: Waiting [2023-03-16T15:17:41.770Z] f25807f1079a: Waiting [2023-03-16T15:17:41.770Z] a2d21d5440eb: Download complete [2023-03-16T15:17:41.770Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T15:17:41.770Z] 94cc34f8dd06: Download complete [2023-03-16T15:17:42.033Z] 30dea6a524f1: Download complete [2023-03-16T15:17:42.033Z] 63b65145d645: Verifying Checksum [2023-03-16T15:17:42.033Z] 63b65145d645: Download complete [2023-03-16T15:17:42.033Z] a2aff8979fd8: Verifying Checksum [2023-03-16T15:17:42.033Z] a2aff8979fd8: Download complete [2023-03-16T15:17:42.033Z] 63b65145d645: Pull complete [2023-03-16T15:17:42.309Z] a2d21d5440eb: Pull complete [2023-03-16T15:17:42.589Z] f25807f1079a: Verifying Checksum [2023-03-16T15:17:42.589Z] f25807f1079a: Download complete [2023-03-16T15:17:42.850Z] 935e6c44a52c: Verifying Checksum [2023-03-16T15:17:42.850Z] 935e6c44a52c: Download complete [2023-03-16T15:17:43.108Z] 6808be2612f2: Verifying Checksum [2023-03-16T15:17:43.108Z] 6808be2612f2: Download complete [2023-03-16T15:17:45.638Z] 935e6c44a52c: Pull complete [2023-03-16T15:17:45.638Z] 94cc34f8dd06: Pull complete [2023-03-16T15:17:45.638Z] 30dea6a524f1: Pull complete [2023-03-16T15:17:45.896Z] a2aff8979fd8: Pull complete [2023-03-16T15:17:48.433Z] 6808be2612f2: Pull complete [2023-03-16T15:17:48.694Z] f25807f1079a: Pull complete [2023-03-16T15:17:48.694Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T15:17:48.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T15:17:48.694Z] ---> 3b553350e43f [2023-03-16T15:17:48.694Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:17:50.602Z] ---> Running in 1b8c04abc97b [2023-03-16T15:17:50.602Z] Removing intermediate container 1b8c04abc97b [2023-03-16T15:17:50.602Z] ---> 144961c04a67 [2023-03-16T15:17:50.602Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:17:50.602Z] ---> Running in c6ae0bd7c841 [2023-03-16T15:17:50.602Z] Removing intermediate container c6ae0bd7c841 [2023-03-16T15:17:50.602Z] ---> 82b8c80046c8 [2023-03-16T15:17:50.602Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:17:50.602Z] ---> Running in be91d9f51ebb [2023-03-16T15:17:50.602Z] Removing intermediate container be91d9f51ebb [2023-03-16T15:17:50.602Z] ---> 7860ac6ab590 [2023-03-16T15:17:50.602Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:17:50.602Z] ---> Running in 029a19606761 [2023-03-16T15:17:50.861Z] Removing intermediate container 029a19606761 [2023-03-16T15:17:50.861Z] ---> d4979f6aa905 [2023-03-16T15:17:50.861Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:17:50.861Z] ---> Running in ab26683d4d87 [2023-03-16T15:17:51.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T15:17:51.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T15:17:51.377Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T15:17:51.377Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T15:17:51.377Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T15:17:51.377Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T15:17:51.636Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:17:51.636Z] OK: 269 MiB in 57 packages [2023-03-16T15:17:51.894Z] Removing intermediate container ab26683d4d87 [2023-03-16T15:17:51.894Z] ---> fba9fabe6ef2 [2023-03-16T15:17:51.894Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-16T15:17:51.894Z] ---> Running in 7a04bc803a27 [2023-03-16T15:17:51.894Z] Removing intermediate container 7a04bc803a27 [2023-03-16T15:17:51.894Z] ---> 79ba1013aac7 [2023-03-16T15:17:51.894Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T15:17:52.153Z] ---> 2b1f3973904e [2023-03-16T15:17:52.153Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:17:52.153Z] ---> Running in 318ff4502c08 [2023-03-16T15:17:55.465Z] Still waiting to schedule task [2023-03-16T15:17:55.466Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-16T15:18:10.244Z] Removing intermediate container 318ff4502c08 [2023-03-16T15:18:10.244Z] ---> d9900a27ace8 [2023-03-16T15:18:10.244Z] Step 11/12 : COPY . . [2023-03-16T15:18:10.244Z] ---> 0bc408e62dbb [2023-03-16T15:18:10.244Z] Step 12/12 : RUN ${MAKE} [2023-03-16T15:18:10.244Z] ---> Running in d8b88b97498d [2023-03-16T15:18:10.244Z] noop [2023-03-16T15:18:10.504Z] Removing intermediate container d8b88b97498d [2023-03-16T15:18:10.504Z] ---> 1a02fe7a8c4b [2023-03-16T15:18:10.504Z] Successfully built 1a02fe7a8c4b [2023-03-16T15:18:10.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:18:10.807Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T15:18:10.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:18:10.874Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:18:10.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T15:18:11.233Z] $ docker top 97c0afc10b6fc8446a8884059e95f2e6e9e83803f08eed2cca09b31e3882d95b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:18:11.571Z] + go version [2023-03-16T15:18:11.571Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T15:18:11.584Z] $ docker stop --time=1 97c0afc10b6fc8446a8884059e95f2e6e9e83803f08eed2cca09b31e3882d95b [2023-03-16T15:18:12.864Z] $ docker rm -f --volumes 97c0afc10b6fc8446a8884059e95f2e6e9e83803f08eed2cca09b31e3882d95b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:18:13.235Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T15:18:13.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:18:13.301Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:18:13.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T15:18:13.628Z] $ docker top e12c397c6bb1d800f710e9175a7c8c5948f1dc24d34466f4f53a47f898839afa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:18:13.964Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-16T15:18:14.257Z] + make test [2023-03-16T15:18:14.257Z] go test ./... -coverprofile=coverage.out [2023-03-16T15:18:18.439Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-16T15:18:28.404Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-16T15:18:28.404Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2023-03-16T15:18:33.691Z] go vet ./... [2023-03-16T15:18:37.873Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T15:18:37.873Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T15:18:37.873Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T15:18:37.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T15:18:37.898Z] $ docker stop --time=1 e12c397c6bb1d800f710e9175a7c8c5948f1dc24d34466f4f53a47f898839afa [2023-03-16T15:18:39.782Z] $ docker rm -f --volumes e12c397c6bb1d800f710e9175a7c8c5948f1dc24d34466f4f53a47f898839afa [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:18:40.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T15:18:40.293Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T15:18:40.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T15:18:41.037Z] + ls -al . [2023-03-16T15:18:41.037Z] total 172 [2023-03-16T15:18:41.037Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 15:18 . [2023-03-16T15:18:41.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:17 .. [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 16 15:17 .dockerignore [2023-03-16T15:18:41.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:17 .git [2023-03-16T15:18:41.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:17 .github [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 16 15:17 .gitignore [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:17 .golangci.yml [2023-03-16T15:18:41.037Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:17 .semver [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 16 15:17 Attribution.txt [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 16 15:17 CHANGELOG.md [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 16 15:17 Dockerfile [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:17 GOVERNANCE.md [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 16 15:17 Jenkinsfile [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:17 LICENSE [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 16 15:17 Makefile [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:17 OWNERS.md [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 16 15:17 README.md [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 15:17 VERSION [2023-03-16T15:18:41.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:17 bin [2023-03-16T15:18:41.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:17 cmd [2023-03-16T15:18:41.037Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 16 15:18 coverage.out [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 16 15:17 go.mod [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 16 15:17 go.sum [2023-03-16T15:18:41.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:17 internal [2023-03-16T15:18:41.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:17 snap [2023-03-16T15:18:41.037Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 16 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:18:41.337Z] + 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=965f04e6862849b37eeb3a58b1f16c31f2ab2615 --label arch=amd64 --label version=3.0.0-dev.8 . [2023-03-16T15:18:41.337Z] Sending build context to Docker daemon 5.724MB [2023-03-16T15:18:41.337Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:18:41.337Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-16T15:18:41.337Z] ---> 1a02fe7a8c4b [2023-03-16T15:18:41.337Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:18:41.337Z] ---> Running in d4bcbfd27983 [2023-03-16T15:18:41.337Z] Removing intermediate container d4bcbfd27983 [2023-03-16T15:18:41.337Z] ---> 072234eb74dd [2023-03-16T15:18:41.337Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:18:41.595Z] ---> Running in b0c2b3ea2c59 [2023-03-16T15:18:41.595Z] Removing intermediate container b0c2b3ea2c59 [2023-03-16T15:18:41.595Z] ---> 685dbc2c5471 [2023-03-16T15:18:41.595Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:18:41.595Z] ---> Running in 7616a4dd1a94 [2023-03-16T15:18:41.595Z] Removing intermediate container 7616a4dd1a94 [2023-03-16T15:18:41.595Z] ---> 85a9c3d901d3 [2023-03-16T15:18:41.595Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:18:41.595Z] ---> Running in 98d8aad92451 [2023-03-16T15:18:41.854Z] Removing intermediate container 98d8aad92451 [2023-03-16T15:18:41.854Z] ---> ac9bef300cc1 [2023-03-16T15:18:41.855Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:18:41.855Z] ---> Running in 8e7f438d164b [2023-03-16T15:18:42.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T15:18:42.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T15:18:42.462Z] OK: 269 MiB in 57 packages [2023-03-16T15:18:42.721Z] Removing intermediate container 8e7f438d164b [2023-03-16T15:18:42.721Z] ---> 3ee3a1272fad [2023-03-16T15:18:42.721Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-16T15:18:42.987Z] ---> Running in 7096deabb902 [2023-03-16T15:18:42.987Z] Removing intermediate container 7096deabb902 [2023-03-16T15:18:42.987Z] ---> 9b4f6fceb524 [2023-03-16T15:18:42.987Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-16T15:18:42.987Z] ---> a505c18720ac [2023-03-16T15:18:42.987Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:18:42.987Z] ---> Running in 8ef713bb2b41 [2023-03-16T15:18:43.964Z] Removing intermediate container 8ef713bb2b41 [2023-03-16T15:18:43.964Z] ---> 358340c7780d [2023-03-16T15:18:43.964Z] Step 11/24 : COPY . . [2023-03-16T15:18:43.964Z] ---> 50a1e34a25b9 [2023-03-16T15:18:43.964Z] Step 12/24 : RUN ${MAKE} [2023-03-16T15:18:44.222Z] ---> Running in f55998e6ec52 [2023-03-16T15:18:44.482Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-16T15:19:02.560Z] Removing intermediate container f55998e6ec52 [2023-03-16T15:19:02.560Z] ---> 91498bc363cb [2023-03-16T15:19:02.560Z] Step 13/24 : FROM alpine:3.17 [2023-03-16T15:19:02.560Z] 3.17: Pulling from library/alpine [2023-03-16T15:19:02.560Z] 63b65145d645: Already exists [2023-03-16T15:19:02.560Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T15:19:02.560Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T15:19:02.560Z] ---> b2aa39c304c2 [2023-03-16T15:19:02.560Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-16T15:19:02.560Z] ---> Running in 0cf95fdb38d7 [2023-03-16T15:19:02.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T15:19:02.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T15:19:02.560Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T15:19:02.560Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:19:02.560Z] OK: 7 MiB in 16 packages [2023-03-16T15:19:02.560Z] Removing intermediate container 0cf95fdb38d7 [2023-03-16T15:19:02.560Z] ---> 87cb7e3f372d [2023-03-16T15:19:02.560Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-16T15:19:02.560Z] ---> ab2a092dad87 [2023-03-16T15:19:02.560Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-16T15:19:02.560Z] ---> a2bcd5d31414 [2023-03-16T15:19:02.560Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-16T15:19:02.818Z] ---> e1b85e70fac4 [2023-03-16T15:19:02.818Z] Step 18/24 : EXPOSE 59993 [2023-03-16T15:19:02.818Z] ---> Running in 18fd229d1914 [2023-03-16T15:19:02.818Z] Removing intermediate container 18fd229d1914 [2023-03-16T15:19:02.818Z] ---> e95e5f3a0f28 [2023-03-16T15:19:02.818Z] Step 19/24 : EXPOSE 161 [2023-03-16T15:19:02.818Z] ---> Running in 1e3828903af9 [2023-03-16T15:19:02.818Z] Removing intermediate container 1e3828903af9 [2023-03-16T15:19:02.818Z] ---> 01c06d153baf [2023-03-16T15:19:02.818Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-16T15:19:02.818Z] ---> Running in ecbfccd745d6 [2023-03-16T15:19:03.076Z] Removing intermediate container ecbfccd745d6 [2023-03-16T15:19:03.076Z] ---> af993dfbdfc7 [2023-03-16T15:19:03.076Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T15:19:03.076Z] ---> Running in 537f81bfd2d9 [2023-03-16T15:19:03.076Z] Removing intermediate container 537f81bfd2d9 [2023-03-16T15:19:03.076Z] ---> e828f70f6fe9 [2023-03-16T15:19:03.076Z] Step 22/24 : LABEL arch=amd64 [2023-03-16T15:19:03.076Z] ---> Running in e4859f537326 [2023-03-16T15:19:03.076Z] Removing intermediate container e4859f537326 [2023-03-16T15:19:03.076Z] ---> cd45d671f39f [2023-03-16T15:19:03.076Z] Step 23/24 : LABEL git_sha=965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:19:03.076Z] ---> Running in e7cdcf57b279 [2023-03-16T15:19:03.335Z] Removing intermediate container e7cdcf57b279 [2023-03-16T15:19:03.335Z] ---> 37a9ec581c77 [2023-03-16T15:19:03.335Z] Step 24/24 : LABEL version=3.0.0-dev.8 [2023-03-16T15:19:03.335Z] ---> Running in 8c1436fe4734 [2023-03-16T15:19:03.335Z] Removing intermediate container 8c1436fe4734 [2023-03-16T15:19:03.335Z] ---> 9428e8299de3 [2023-03-16T15:19:03.335Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T15:19:03.335Z] Successfully built 9428e8299de3 [2023-03-16T15:19:03.336Z] 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-03-16T15:19:03.454Z] provisioning config files... [2023-03-16T15:19:03.461Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16719553962666035851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:19:03.755Z] ---> docker-login.sh [2023-03-16T15:19:03.755Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:19:03.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:19:03.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:19:03.755Z] Configure a credential helper to remove this warning. See [2023-03-16T15:19:03.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:19:03.755Z] [2023-03-16T15:19:03.755Z] Login Succeeded [2023-03-16T15:19:03.755Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:19:03.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:19:04.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:19:04.014Z] Configure a credential helper to remove this warning. See [2023-03-16T15:19:04.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:19:04.014Z] [2023-03-16T15:19:04.014Z] Login Succeeded [2023-03-16T15:19:04.014Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:19:04.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:19:04.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:19:04.014Z] Configure a credential helper to remove this warning. See [2023-03-16T15:19:04.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:19:04.014Z] [2023-03-16T15:19:04.014Z] Login Succeeded [2023-03-16T15:19:04.014Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:19:04.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:19:04.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:19:04.272Z] Configure a credential helper to remove this warning. See [2023-03-16T15:19:04.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:19:04.272Z] [2023-03-16T15:19:04.272Z] Login Succeeded [2023-03-16T15:19:04.272Z] docker.io [2023-03-16T15:19:04.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:19:04.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:19:04.272Z] Configure a credential helper to remove this warning. See [2023-03-16T15:19:04.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:19:04.272Z] [2023-03-16T15:19:04.272Z] Login Succeeded [2023-03-16T15:19:04.530Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:19:04.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-16T15:19:04.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:19:04.594Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-03-16T15:19:04.594Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:19:04.594Z] latest [2023-03-16T15:19:04.594Z] 3.0.0-dev.8 [2023-03-16T15:19:04.594Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [2023-03-16T15:19:04.594Z] main [2023-03-16T15:19:04.594Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:04.912Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:05.209Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:19:05.209Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-16T15:19:05.209Z] c2885768d307: Preparing [2023-03-16T15:19:05.209Z] 774c5c6badcc: Preparing [2023-03-16T15:19:05.209Z] 1b271352fefe: Preparing [2023-03-16T15:19:05.209Z] 544440e1c612: Preparing [2023-03-16T15:19:05.209Z] 7cd52847ad77: Preparing [2023-03-16T15:19:05.209Z] 7cd52847ad77: Layer already exists [2023-03-16T15:19:05.209Z] 774c5c6badcc: Pushed [2023-03-16T15:19:05.209Z] 544440e1c612: Pushed [2023-03-16T15:19:05.209Z] c2885768d307: Pushed [2023-03-16T15:19:07.739Z] 1b271352fefe: Pushed [2023-03-16T15:19:08.003Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615: digest: sha256:09c1818378b8257ece2c0775b78ec8425331a53df7dbb7253190bda8a3af7baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:08.305Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:08.605Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-16T15:19:08.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-16T15:19:08.605Z] c2885768d307: Preparing [2023-03-16T15:19:08.605Z] 774c5c6badcc: Preparing [2023-03-16T15:19:08.605Z] 1b271352fefe: Preparing [2023-03-16T15:19:08.605Z] 544440e1c612: Preparing [2023-03-16T15:19:08.605Z] 7cd52847ad77: Preparing [2023-03-16T15:19:08.605Z] 7cd52847ad77: Layer already exists [2023-03-16T15:19:08.605Z] 544440e1c612: Layer already exists [2023-03-16T15:19:08.605Z] c2885768d307: Layer already exists [2023-03-16T15:19:08.605Z] 774c5c6badcc: Layer already exists [2023-03-16T15:19:08.605Z] 1b271352fefe: Layer already exists [2023-03-16T15:19:08.605Z] latest: digest: sha256:09c1818378b8257ece2c0775b78ec8425331a53df7dbb7253190bda8a3af7baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:08.910Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:09.212Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.8 [2023-03-16T15:19:09.212Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-16T15:19:09.212Z] c2885768d307: Preparing [2023-03-16T15:19:09.212Z] 774c5c6badcc: Preparing [2023-03-16T15:19:09.212Z] 1b271352fefe: Preparing [2023-03-16T15:19:09.212Z] 544440e1c612: Preparing [2023-03-16T15:19:09.212Z] 7cd52847ad77: Preparing [2023-03-16T15:19:09.212Z] 7cd52847ad77: Layer already exists [2023-03-16T15:19:09.212Z] c2885768d307: Layer already exists [2023-03-16T15:19:09.212Z] 774c5c6badcc: Layer already exists [2023-03-16T15:19:09.212Z] 544440e1c612: Layer already exists [2023-03-16T15:19:09.212Z] 1b271352fefe: Layer already exists [2023-03-16T15:19:09.212Z] 3.0.0-dev.8: digest: sha256:09c1818378b8257ece2c0775b78ec8425331a53df7dbb7253190bda8a3af7baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:09.517Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:09.819Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [2023-03-16T15:19:09.819Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-16T15:19:09.819Z] c2885768d307: Preparing [2023-03-16T15:19:09.819Z] 774c5c6badcc: Preparing [2023-03-16T15:19:09.819Z] 1b271352fefe: Preparing [2023-03-16T15:19:09.819Z] 544440e1c612: Preparing [2023-03-16T15:19:09.819Z] 7cd52847ad77: Preparing [2023-03-16T15:19:09.819Z] 774c5c6badcc: Layer already exists [2023-03-16T15:19:09.819Z] 7cd52847ad77: Layer already exists [2023-03-16T15:19:09.819Z] 1b271352fefe: Layer already exists [2023-03-16T15:19:09.819Z] 544440e1c612: Layer already exists [2023-03-16T15:19:09.819Z] c2885768d307: Layer already exists [2023-03-16T15:19:09.819Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8: digest: sha256:09c1818378b8257ece2c0775b78ec8425331a53df7dbb7253190bda8a3af7baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:10.121Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:10.417Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-03-16T15:19:10.417Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-16T15:19:10.417Z] c2885768d307: Preparing [2023-03-16T15:19:10.417Z] 774c5c6badcc: Preparing [2023-03-16T15:19:10.417Z] 1b271352fefe: Preparing [2023-03-16T15:19:10.417Z] 544440e1c612: Preparing [2023-03-16T15:19:10.417Z] 7cd52847ad77: Preparing [2023-03-16T15:19:10.417Z] 7cd52847ad77: Layer already exists [2023-03-16T15:19:10.417Z] 774c5c6badcc: Layer already exists [2023-03-16T15:19:10.417Z] c2885768d307: Layer already exists [2023-03-16T15:19:10.417Z] 1b271352fefe: Layer already exists [2023-03-16T15:19:10.417Z] 544440e1c612: Layer already exists [2023-03-16T15:19:10.417Z] main: digest: sha256:09c1818378b8257ece2c0775b78ec8425331a53df7dbb7253190bda8a3af7baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-16T15:19:10.455Z] ===================================================== [Pipeline] echo [2023-03-16T15:19:10.460Z] taggedImages: [2023-03-16T15:19:10.460Z] - nexus3.edgexfoundry.org:10004/device-snmp:965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:19:10.460Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-16T15:19:10.460Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.8 [2023-03-16T15:19:10.460Z] - nexus3.edgexfoundry.org:10004/device-snmp:965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [2023-03-16T15:19:10.460Z] - 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-03-16T15:19:10.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:19:10.817Z] [2023-03-16T15:19:10.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:19:11.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:19:11.120Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T15:19:11.120Z] 5eb5b503b376: Pulling fs layer [2023-03-16T15:19:11.120Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T15:19:11.120Z] ec43610c2a17: Pulling fs layer [2023-03-16T15:19:11.120Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T15:19:11.120Z] 33b1e0a273af: Pulling fs layer [2023-03-16T15:19:11.120Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T15:19:11.120Z] 3a2ae6a8a46f: Waiting [2023-03-16T15:19:11.120Z] 33b1e0a273af: Waiting [2023-03-16T15:19:11.120Z] 5d3b04190fa2: Waiting [2023-03-16T15:19:11.120Z] 2f39f015ded8: Pulling fs layer [2023-03-16T15:19:11.120Z] 2f39f015ded8: Waiting [2023-03-16T15:19:11.120Z] 5c69ac0246d0: Verifying Checksum [2023-03-16T15:19:11.120Z] 5c69ac0246d0: Download complete [2023-03-16T15:19:11.120Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T15:19:11.120Z] 3a2ae6a8a46f: Download complete [2023-03-16T15:19:11.381Z] 33b1e0a273af: Verifying Checksum [2023-03-16T15:19:11.381Z] 33b1e0a273af: Download complete [2023-03-16T15:19:11.381Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T15:19:11.381Z] 5d3b04190fa2: Download complete [2023-03-16T15:19:11.381Z] ec43610c2a17: Verifying Checksum [2023-03-16T15:19:11.381Z] ec43610c2a17: Download complete [2023-03-16T15:19:11.381Z] 5eb5b503b376: Verifying Checksum [2023-03-16T15:19:11.381Z] 5eb5b503b376: Download complete [2023-03-16T15:19:11.947Z] 2f39f015ded8: Download complete [2023-03-16T15:19:12.515Z] 5eb5b503b376: Pull complete [2023-03-16T15:19:12.772Z] 5c69ac0246d0: Pull complete [2023-03-16T15:19:13.030Z] ec43610c2a17: Pull complete [2023-03-16T15:19:13.289Z] 3a2ae6a8a46f: Pull complete [2023-03-16T15:19:13.547Z] 33b1e0a273af: Pull complete [2023-03-16T15:19:13.547Z] 5d3b04190fa2: Pull complete [2023-03-16T15:19:17.733Z] 2f39f015ded8: Pull complete [2023-03-16T15:19:17.733Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T15:19:17.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:19:17.733Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:19:17.816Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:19:17.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T15:19:19.015Z] $ docker top 954daa474fbcb77e62d2e67b2ee733f559590a4ee01ee23737ab76a29f9614e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:19:19.382Z] ---> job-cost.sh [2023-03-16T15:19:19.382Z] lf-activate-venv: SKIPPING [2023-03-16T15:19:19.382Z] INFO: No Stack... [2023-03-16T15:19:19.948Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T15:19:20.207Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T15:19:20.493Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-03-16T15:19:20.493Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T15:19:20.506Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] [2023-03-16T15:19:20.513Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] did not exist. Created. [2023-03-16T15:19:20.514Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T15:19:20.816Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T15:19:20.842Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T15:19:20.848Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T15:19:20.871Z] $ docker stop --time=1 954daa474fbcb77e62d2e67b2ee733f559590a4ee01ee23737ab76a29f9614e3 [2023-03-16T15:19:22.035Z] $ docker rm -f --volumes 954daa474fbcb77e62d2e67b2ee733f559590a4ee01ee23737ab76a29f9614e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T15:21:07.730Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2454 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-03-16T15:21:07.740Z] Running in /w/workspace/device-snmp-go/65 [Pipeline] { [Pipeline] checkout [2023-03-16T15:21:07.777Z] Selected Git installation does not exist. Using Default [2023-03-16T15:21:07.777Z] The recommended git tool is: NONE [2023-03-16T15:21:14.065Z] using credential edgex-jenkins-ssh [2023-03-16T15:21:14.087Z] Cloning the remote Git repository [2023-03-16T15:21:14.147Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T15:21:14.266Z] > git init /w/workspace/device-snmp-go/65 # timeout=10 [2023-03-16T15:21:14.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T15:21:14.419Z] > git --version # timeout=10 [2023-03-16T15:21:14.443Z] > git --version # 'git version 2.25.1' [2023-03-16T15:21:14.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T15:21:14.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T15:21:15.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-16T15:21:15.750Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T15:21:16.743Z] Avoid second fetch [2023-03-16T15:21:16.743Z] Checking out Revision 965f04e6862849b37eeb3a58b1f16c31f2ab2615 (main) [2023-03-16T15:21:17.312Z] Commit message: "refactor(snap): Update command and metadata sourcing (#266)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:21:16.767Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T15:21:16.845Z] > git checkout -f 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 [2023-03-16T15:21:18.180Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T15:21:18.180Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T15:21:18.180Z] Dload Upload Total Spent Left Speed [2023-03-16T15:21:18.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-03-16T15:21:18.832Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T15:21:19.166Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T15:21:19.166Z] + sudo tee /etc/docker/daemon.new [2023-03-16T15:21:19.166Z] { [2023-03-16T15:21:19.166Z] "registry-mirrors": [ [2023-03-16T15:21:19.166Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T15:21:19.166Z] ], [2023-03-16T15:21:19.166Z] "bip": "10.250.0.254/24", [2023-03-16T15:21:19.166Z] "hosts": [ [2023-03-16T15:21:19.166Z] "tcp://0.0.0.0:5555", [2023-03-16T15:21:19.166Z] "unix:///var/run/docker.sock" [2023-03-16T15:21:19.166Z] ], [2023-03-16T15:21:19.166Z] "mtu": 1458, [2023-03-16T15:21:19.166Z] "selinux-enabled": true, [2023-03-16T15:21:19.166Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T15:21:19.166Z] } [Pipeline] sh [2023-03-16T15:21:19.511Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T15:21:19.858Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:21:38.129Z] provisioning config files... [2023-03-16T15:21:38.161Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/65@tmp/config6835596677682419316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:38.520Z] ---> docker-login.sh [2023-03-16T15:21:38.520Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:21:39.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:21:39.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:21:39.119Z] Configure a credential helper to remove this warning. See [2023-03-16T15:21:39.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:21:39.119Z] [2023-03-16T15:21:39.119Z] Login Succeeded [2023-03-16T15:21:39.119Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:21:39.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:21:39.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:21:39.658Z] Configure a credential helper to remove this warning. See [2023-03-16T15:21:39.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:21:39.658Z] [2023-03-16T15:21:39.658Z] Login Succeeded [2023-03-16T15:21:39.658Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:21:39.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:21:39.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:21:39.929Z] Configure a credential helper to remove this warning. See [2023-03-16T15:21:39.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:21:39.929Z] [2023-03-16T15:21:39.929Z] Login Succeeded [2023-03-16T15:21:39.929Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:21:40.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:21:40.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:21:40.198Z] Configure a credential helper to remove this warning. See [2023-03-16T15:21:40.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:21:40.199Z] [2023-03-16T15:21:40.199Z] Login Succeeded [2023-03-16T15:21:40.199Z] docker.io [2023-03-16T15:21:40.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:21:40.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:21:40.741Z] Configure a credential helper to remove this warning. See [2023-03-16T15:21:40.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:21:40.741Z] [2023-03-16T15:21:40.741Z] Login Succeeded [2023-03-16T15:21:40.741Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:21:40.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T15:21:41.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:21:41.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:21:41.048Z] ========================================================= [2023-03-16T15:21:41.048Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T15:21:41.048Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:21:41.396Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T15:21:41.663Z] Sending build context to Docker daemon 2.96MB [2023-03-16T15:21:41.663Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:21:41.663Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T15:21:42.249Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T15:21:42.249Z] af6eaf76a39c: Pulling fs layer [2023-03-16T15:21:42.249Z] 55522c791124: Pulling fs layer [2023-03-16T15:21:42.249Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T15:21:42.249Z] 169dfbe0d373: Pulling fs layer [2023-03-16T15:21:42.249Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T15:21:42.249Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T15:21:42.249Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T15:21:42.249Z] e1ff8fa3b103: Waiting [2023-03-16T15:21:42.249Z] 52ebb69f0ebf: Waiting [2023-03-16T15:21:42.249Z] 5abe8eddf0d5: Waiting [2023-03-16T15:21:42.249Z] 169dfbe0d373: Waiting [2023-03-16T15:21:42.249Z] 55522c791124: Download complete [2023-03-16T15:21:42.249Z] 169dfbe0d373: Download complete [2023-03-16T15:21:42.249Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T15:21:42.249Z] e1ff8fa3b103: Download complete [2023-03-16T15:21:42.518Z] af6eaf76a39c: Verifying Checksum [2023-03-16T15:21:42.518Z] af6eaf76a39c: Download complete [2023-03-16T15:21:43.494Z] af6eaf76a39c: Pull complete [2023-03-16T15:21:43.494Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T15:21:43.494Z] 5abe8eddf0d5: Download complete [2023-03-16T15:21:44.096Z] 55522c791124: Pull complete [2023-03-16T15:21:45.076Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T15:21:45.076Z] ce5c4a1c91eb: Download complete [2023-03-16T15:21:45.076Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T15:21:45.076Z] 52ebb69f0ebf: Download complete [2023-03-16T15:21:57.438Z] ce5c4a1c91eb: Pull complete [2023-03-16T15:21:57.438Z] 169dfbe0d373: Pull complete [2023-03-16T15:21:57.438Z] e1ff8fa3b103: Pull complete [2023-03-16T15:22:04.123Z] 52ebb69f0ebf: Pull complete [2023-03-16T15:22:05.673Z] 5abe8eddf0d5: Pull complete [2023-03-16T15:22:05.673Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T15:22:05.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T15:22:05.673Z] ---> 6cb57ee374ae [2023-03-16T15:22:05.673Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:22:07.677Z] ---> Running in 4491d93bd0f2 [2023-03-16T15:22:07.677Z] Removing intermediate container 4491d93bd0f2 [2023-03-16T15:22:07.677Z] ---> cd95f5bcc022 [2023-03-16T15:22:07.677Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:22:07.945Z] ---> Running in 56898e7d94e2 [2023-03-16T15:22:08.213Z] Removing intermediate container 56898e7d94e2 [2023-03-16T15:22:08.213Z] ---> f3b060d283f3 [2023-03-16T15:22:08.213Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:22:08.213Z] ---> Running in da93ac8adf01 [2023-03-16T15:22:08.482Z] Removing intermediate container da93ac8adf01 [2023-03-16T15:22:08.482Z] ---> 358d3a10a1ef [2023-03-16T15:22:08.482Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:22:08.753Z] ---> Running in 904a1c164708 [2023-03-16T15:22:09.021Z] Removing intermediate container 904a1c164708 [2023-03-16T15:22:09.021Z] ---> 1ff11cddde26 [2023-03-16T15:22:09.021Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:22:09.021Z] ---> Running in 5043303c87ac [2023-03-16T15:22:10.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T15:22:11.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T15:22:12.436Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T15:22:12.437Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T15:22:12.437Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T15:22:12.437Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T15:22:12.437Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:22:12.437Z] OK: 268 MiB in 57 packages [2023-03-16T15:22:13.403Z] Removing intermediate container 5043303c87ac [2023-03-16T15:22:13.403Z] ---> e7e7b6cae61b [2023-03-16T15:22:13.403Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-16T15:22:13.673Z] ---> Running in 71340cd9c8df [2023-03-16T15:22:13.941Z] Removing intermediate container 71340cd9c8df [2023-03-16T15:22:13.941Z] ---> f8e46c2fb067 [2023-03-16T15:22:13.941Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T15:22:14.541Z] ---> 9c2bd660c1aa [2023-03-16T15:22:14.541Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:22:14.541Z] ---> Running in f59acc7755d3 [2023-03-16T15:23:22.446Z] Removing intermediate container f59acc7755d3 [2023-03-16T15:23:22.446Z] ---> da2d54615f2d [2023-03-16T15:23:22.446Z] Step 11/12 : COPY . . [2023-03-16T15:23:22.446Z] ---> 73b8d0789034 [2023-03-16T15:23:22.446Z] Step 12/12 : RUN ${MAKE} [2023-03-16T15:23:22.446Z] ---> Running in 144ce84b47c3 [2023-03-16T15:23:22.446Z] noop [2023-03-16T15:23:22.446Z] Removing intermediate container 144ce84b47c3 [2023-03-16T15:23:22.446Z] ---> 0ef755026515 [2023-03-16T15:23:22.446Z] Successfully built 0ef755026515 [2023-03-16T15:23:22.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:23:22.809Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T15:23:22.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:23:23.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-2454 does not seem to be running inside a container [2023-03-16T15:23:23.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/65 -v /w/workspace/device-snmp-go/65:/w/workspace/device-snmp-go/65:rw,z -v /w/workspace/device-snmp-go/65@tmp:/w/workspace/device-snmp-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T15:23:24.444Z] $ docker top 03933b2acda3738200c9dd51d3a771ef1c6ddbd01b6c3421dc3a6be27ff767f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:23:25.298Z] + go version [2023-03-16T15:23:25.298Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T15:23:25.325Z] $ docker stop --time=1 03933b2acda3738200c9dd51d3a771ef1c6ddbd01b6c3421dc3a6be27ff767f4 [2023-03-16T15:23:26.949Z] $ docker rm -f --volumes 03933b2acda3738200c9dd51d3a771ef1c6ddbd01b6c3421dc3a6be27ff767f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:23:27.509Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T15:23:27.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:23:27.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-2454 does not seem to be running inside a container [2023-03-16T15:23:27.783Z] $ 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/65 -v /w/workspace/device-snmp-go/65:/w/workspace/device-snmp-go/65:rw,z -v /w/workspace/device-snmp-go/65@tmp:/w/workspace/device-snmp-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T15:23:28.949Z] $ docker top a74166232bf171a04e8d36a1538b46536d0963bff17a7c369290b81f893e5e9e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:23:29.461Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/65 [Pipeline] fileExists [Pipeline] sh [2023-03-16T15:23:29.788Z] + make test [2023-03-16T15:23:30.054Z] go test ./... -coverprofile=coverage.out [2023-03-16T15:24:08.953Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-16T15:26:30.737Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-16T15:26:30.737Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements [2023-03-16T15:26:30.737Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T15:26:30.737Z] go vet ./... [2023-03-16T15:26:57.490Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T15:26:57.490Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T15:26:57.490Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T15:26:57.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T15:26:57.524Z] $ docker stop --time=1 a74166232bf171a04e8d36a1538b46536d0963bff17a7c369290b81f893e5e9e [2023-03-16T15:26:59.373Z] $ docker rm -f --volumes a74166232bf171a04e8d36a1538b46536d0963bff17a7c369290b81f893e5e9e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:27:00.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T15:27:00.559Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T15:27:01.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:27:01.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T15:27:01.751Z] + ls -al . [2023-03-16T15:27:01.751Z] total 168 [2023-03-16T15:27:01.751Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:23 . [2023-03-16T15:27:01.751Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:21 .. [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 16 15:21 .dockerignore [2023-03-16T15:27:01.751Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:21 .git [2023-03-16T15:27:01.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:21 .github [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 16 15:21 .gitignore [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:21 .golangci.yml [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 16 15:21 Attribution.txt [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 16 15:21 CHANGELOG.md [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 16 15:21 Dockerfile [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:21 GOVERNANCE.md [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 16 15:21 Jenkinsfile [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:21 LICENSE [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 16 15:21 Makefile [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:21 OWNERS.md [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 16 15:21 README.md [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 15:17 VERSION [2023-03-16T15:27:01.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:21 bin [2023-03-16T15:27:01.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:21 cmd [2023-03-16T15:27:01.751Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 16 15:26 coverage.out [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 16 15:21 go.mod [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 16 15:21 go.sum [2023-03-16T15:27:01.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:21 internal [2023-03-16T15:27:01.751Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:21 snap [2023-03-16T15:27:01.751Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 16 15:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:27:02.087Z] + 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=965f04e6862849b37eeb3a58b1f16c31f2ab2615 --label arch=arm64 --label version=3.0.0-dev.8 . [2023-03-16T15:27:02.354Z] Sending build context to Docker daemon 2.969MB [2023-03-16T15:27:02.354Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:27:02.354Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-16T15:27:02.354Z] ---> 0ef755026515 [2023-03-16T15:27:02.354Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:27:02.621Z] ---> Running in ff2696b7d3f5 [2023-03-16T15:27:02.888Z] Removing intermediate container ff2696b7d3f5 [2023-03-16T15:27:02.888Z] ---> 6b9b0ae7dd8a [2023-03-16T15:27:02.888Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:27:02.888Z] ---> Running in 7bf860d7d5e8 [2023-03-16T15:27:03.156Z] Removing intermediate container 7bf860d7d5e8 [2023-03-16T15:27:03.156Z] ---> 33593b95eee3 [2023-03-16T15:27:03.156Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:27:03.425Z] ---> Running in 6e2adf204e88 [2023-03-16T15:27:03.695Z] Removing intermediate container 6e2adf204e88 [2023-03-16T15:27:03.695Z] ---> 5d3dcf664989 [2023-03-16T15:27:03.695Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:27:03.695Z] ---> Running in 936498140f8f [2023-03-16T15:27:03.964Z] Removing intermediate container 936498140f8f [2023-03-16T15:27:03.964Z] ---> ba0be87fb7d4 [2023-03-16T15:27:03.964Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:27:03.964Z] ---> Running in 9a384c13c8e9 [2023-03-16T15:27:04.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T15:27:05.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T15:27:06.930Z] OK: 268 MiB in 57 packages [2023-03-16T15:27:09.532Z] Removing intermediate container 9a384c13c8e9 [2023-03-16T15:27:09.532Z] ---> 76bea2a98d71 [2023-03-16T15:27:09.532Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-16T15:27:09.532Z] ---> Running in 37c69df7e4cb [2023-03-16T15:27:09.801Z] Removing intermediate container 37c69df7e4cb [2023-03-16T15:27:09.801Z] ---> 4c4338545872 [2023-03-16T15:27:09.801Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-16T15:27:10.392Z] ---> 0092a215618f [2023-03-16T15:27:10.392Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:27:10.392Z] ---> Running in ddf5acc77398 [2023-03-16T15:27:12.994Z] Removing intermediate container ddf5acc77398 [2023-03-16T15:27:12.994Z] ---> f3c85c899791 [2023-03-16T15:27:12.994Z] Step 11/24 : COPY . . [2023-03-16T15:27:13.964Z] ---> ceb44a60c401 [2023-03-16T15:27:13.964Z] Step 12/24 : RUN ${MAKE} [2023-03-16T15:27:14.236Z] ---> Running in 2600dd5f08e2 [2023-03-16T15:27:15.205Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-16T15:29:52.029Z] Removing intermediate container 2600dd5f08e2 [2023-03-16T15:29:52.029Z] ---> 5c401384be11 [2023-03-16T15:29:52.029Z] Step 13/24 : FROM alpine:3.17 [2023-03-16T15:29:52.029Z] 3.17: Pulling from library/alpine [2023-03-16T15:29:52.029Z] af6eaf76a39c: Already exists [2023-03-16T15:29:52.029Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T15:29:52.029Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T15:29:52.029Z] ---> d74e625d9115 [2023-03-16T15:29:52.029Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-16T15:29:52.029Z] ---> Running in 56c8bd56c1c0 [2023-03-16T15:29:52.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T15:29:52.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T15:29:54.046Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T15:29:54.046Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:29:54.046Z] OK: 8 MiB in 16 packages [2023-03-16T15:29:55.027Z] Removing intermediate container 56c8bd56c1c0 [2023-03-16T15:29:55.027Z] ---> b81b65578d91 [2023-03-16T15:29:55.027Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-16T15:29:56.982Z] ---> ed11b87d16bb [2023-03-16T15:29:56.982Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-16T15:29:57.252Z] ---> 4b021ea30124 [2023-03-16T15:29:57.252Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-16T15:29:57.846Z] ---> 556d1988183e [2023-03-16T15:29:57.846Z] Step 18/24 : EXPOSE 59993 [2023-03-16T15:29:57.846Z] ---> Running in 35d160b8e2ff [2023-03-16T15:29:58.436Z] Removing intermediate container 35d160b8e2ff [2023-03-16T15:29:58.436Z] ---> e971a2d3d5f0 [2023-03-16T15:29:58.436Z] Step 19/24 : EXPOSE 161 [2023-03-16T15:29:58.436Z] ---> Running in 693ea7a1be28 [2023-03-16T15:29:58.706Z] Removing intermediate container 693ea7a1be28 [2023-03-16T15:29:58.706Z] ---> 570a347d5bb3 [2023-03-16T15:29:58.706Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-16T15:29:58.706Z] ---> Running in 331b00f5b4a3 [2023-03-16T15:29:58.986Z] Removing intermediate container 331b00f5b4a3 [2023-03-16T15:29:58.986Z] ---> 0d9e755cfb6e [2023-03-16T15:29:58.986Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T15:29:59.260Z] ---> Running in b01939dee851 [2023-03-16T15:29:59.533Z] Removing intermediate container b01939dee851 [2023-03-16T15:29:59.533Z] ---> c80edc578747 [2023-03-16T15:29:59.533Z] Step 22/24 : LABEL arch=arm64 [2023-03-16T15:29:59.533Z] ---> Running in 063926999b4d [2023-03-16T15:30:00.125Z] Removing intermediate container 063926999b4d [2023-03-16T15:30:00.125Z] ---> 838f236bf5ce [2023-03-16T15:30:00.125Z] Step 23/24 : LABEL git_sha=965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:30:00.125Z] ---> Running in a1ed177c4be7 [2023-03-16T15:30:00.400Z] Removing intermediate container a1ed177c4be7 [2023-03-16T15:30:00.400Z] ---> 2120e3480314 [2023-03-16T15:30:00.400Z] Step 24/24 : LABEL version=3.0.0-dev.8 [2023-03-16T15:30:00.673Z] ---> Running in bc37f757d5c6 [2023-03-16T15:30:00.942Z] Removing intermediate container bc37f757d5c6 [2023-03-16T15:30:00.942Z] ---> 7162cb87cc63 [2023-03-16T15:30:00.942Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T15:30:00.942Z] Successfully built 7162cb87cc63 [2023-03-16T15:30:00.942Z] 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-03-16T15:30:01.028Z] provisioning config files... [2023-03-16T15:30:01.045Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/65@tmp/config13177953897000207892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:30:01.410Z] ---> docker-login.sh [2023-03-16T15:30:01.410Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:30:01.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:30:01.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:30:01.686Z] Configure a credential helper to remove this warning. See [2023-03-16T15:30:01.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:30:01.686Z] [2023-03-16T15:30:01.686Z] Login Succeeded [2023-03-16T15:30:01.686Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:30:01.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:30:02.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:30:02.233Z] Configure a credential helper to remove this warning. See [2023-03-16T15:30:02.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:30:02.233Z] [2023-03-16T15:30:02.233Z] Login Succeeded [2023-03-16T15:30:02.233Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:30:02.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:30:02.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:30:02.853Z] Configure a credential helper to remove this warning. See [2023-03-16T15:30:02.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:30:02.853Z] [2023-03-16T15:30:02.853Z] Login Succeeded [2023-03-16T15:30:02.853Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:30:03.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:30:03.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:30:03.125Z] Configure a credential helper to remove this warning. See [2023-03-16T15:30:03.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:30:03.125Z] [2023-03-16T15:30:03.125Z] Login Succeeded [2023-03-16T15:30:03.125Z] docker.io [2023-03-16T15:30:03.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:30:07.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:30:07.112Z] Configure a credential helper to remove this warning. See [2023-03-16T15:30:07.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:30:07.112Z] [2023-03-16T15:30:07.112Z] Login Succeeded [2023-03-16T15:30:07.112Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:30:07.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-16T15:30:07.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:30:07.184Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-03-16T15:30:07.184Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:30:07.184Z] latest [2023-03-16T15:30:07.184Z] 3.0.0-dev.8 [2023-03-16T15:30:07.184Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [2023-03-16T15:30:07.184Z] main [2023-03-16T15:30:07.184Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:07.549Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:07.899Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:30:07.899Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-16T15:30:07.899Z] 833613042d90: Preparing [2023-03-16T15:30:07.899Z] cabfe294b2ae: Preparing [2023-03-16T15:30:07.899Z] 74c5d39c49f7: Preparing [2023-03-16T15:30:07.899Z] 7dab09a2acfc: Preparing [2023-03-16T15:30:07.899Z] edf70074bd40: Preparing [2023-03-16T15:30:08.168Z] edf70074bd40: Layer already exists [2023-03-16T15:30:08.168Z] cabfe294b2ae: Pushed [2023-03-16T15:30:08.168Z] 833613042d90: Pushed [2023-03-16T15:30:08.168Z] 7dab09a2acfc: Pushed [2023-03-16T15:30:14.836Z] 74c5d39c49f7: Pushed [2023-03-16T15:30:14.836Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615: digest: sha256:ec57a96a63824bd4ae2035fd408146154fd89bb718cf556aa97fb6fe5af4ed28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:15.188Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:15.535Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-16T15:30:15.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-16T15:30:15.535Z] 833613042d90: Preparing [2023-03-16T15:30:15.535Z] cabfe294b2ae: Preparing [2023-03-16T15:30:15.535Z] 74c5d39c49f7: Preparing [2023-03-16T15:30:15.535Z] 7dab09a2acfc: Preparing [2023-03-16T15:30:15.535Z] edf70074bd40: Preparing [2023-03-16T15:30:15.535Z] edf70074bd40: Layer already exists [2023-03-16T15:30:15.535Z] 7dab09a2acfc: Layer already exists [2023-03-16T15:30:15.535Z] 833613042d90: Layer already exists [2023-03-16T15:30:15.535Z] 74c5d39c49f7: Layer already exists [2023-03-16T15:30:15.535Z] cabfe294b2ae: Layer already exists [2023-03-16T15:30:15.804Z] latest: digest: sha256:ec57a96a63824bd4ae2035fd408146154fd89bb718cf556aa97fb6fe5af4ed28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:16.168Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:16.531Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.8 [2023-03-16T15:30:16.531Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-16T15:30:16.531Z] 833613042d90: Preparing [2023-03-16T15:30:16.531Z] cabfe294b2ae: Preparing [2023-03-16T15:30:16.531Z] 74c5d39c49f7: Preparing [2023-03-16T15:30:16.531Z] 7dab09a2acfc: Preparing [2023-03-16T15:30:16.531Z] edf70074bd40: Preparing [2023-03-16T15:30:16.531Z] 74c5d39c49f7: Layer already exists [2023-03-16T15:30:16.531Z] cabfe294b2ae: Layer already exists [2023-03-16T15:30:16.531Z] 833613042d90: Layer already exists [2023-03-16T15:30:16.531Z] 7dab09a2acfc: Layer already exists [2023-03-16T15:30:16.531Z] edf70074bd40: Layer already exists [2023-03-16T15:30:16.801Z] 3.0.0-dev.8: digest: sha256:ec57a96a63824bd4ae2035fd408146154fd89bb718cf556aa97fb6fe5af4ed28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:17.159Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:17.507Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [2023-03-16T15:30:17.507Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-16T15:30:17.507Z] 833613042d90: Preparing [2023-03-16T15:30:17.507Z] cabfe294b2ae: Preparing [2023-03-16T15:30:17.507Z] 74c5d39c49f7: Preparing [2023-03-16T15:30:17.507Z] 7dab09a2acfc: Preparing [2023-03-16T15:30:17.507Z] edf70074bd40: Preparing [2023-03-16T15:30:17.507Z] 74c5d39c49f7: Layer already exists [2023-03-16T15:30:17.507Z] 7dab09a2acfc: Layer already exists [2023-03-16T15:30:17.507Z] edf70074bd40: Layer already exists [2023-03-16T15:30:17.507Z] 833613042d90: Layer already exists [2023-03-16T15:30:17.776Z] cabfe294b2ae: Layer already exists [2023-03-16T15:30:17.776Z] 965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8: digest: sha256:ec57a96a63824bd4ae2035fd408146154fd89bb718cf556aa97fb6fe5af4ed28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:18.128Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:18.490Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-03-16T15:30:18.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-16T15:30:18.490Z] 833613042d90: Preparing [2023-03-16T15:30:18.490Z] cabfe294b2ae: Preparing [2023-03-16T15:30:18.490Z] 74c5d39c49f7: Preparing [2023-03-16T15:30:18.490Z] 7dab09a2acfc: Preparing [2023-03-16T15:30:18.490Z] edf70074bd40: Preparing [2023-03-16T15:30:18.490Z] 74c5d39c49f7: Layer already exists [2023-03-16T15:30:18.490Z] cabfe294b2ae: Layer already exists [2023-03-16T15:30:18.490Z] 833613042d90: Layer already exists [2023-03-16T15:30:18.490Z] 7dab09a2acfc: Layer already exists [2023-03-16T15:30:18.490Z] edf70074bd40: Layer already exists [2023-03-16T15:30:18.773Z] main: digest: sha256:ec57a96a63824bd4ae2035fd408146154fd89bb718cf556aa97fb6fe5af4ed28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-16T15:30:18.827Z] ===================================================== [Pipeline] echo [2023-03-16T15:30:18.833Z] taggedImages: [2023-03-16T15:30:18.833Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:965f04e6862849b37eeb3a58b1f16c31f2ab2615 [2023-03-16T15:30:18.833Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-16T15:30:18.833Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.8 [2023-03-16T15:30:18.833Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:965f04e6862849b37eeb3a58b1f16c31f2ab2615-3.0.0-dev.8 [2023-03-16T15:30:18.833Z] - 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-03-16T15:30:19.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:30:19.236Z] [2023-03-16T15:30:19.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:19.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:30:19.844Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T15:30:19.844Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T15:30:19.844Z] 04944245beec: Pulling fs layer [2023-03-16T15:30:19.844Z] 699f458cf7ca: Pulling fs layer [2023-03-16T15:30:19.844Z] 765212b225bb: Pulling fs layer [2023-03-16T15:30:19.844Z] f23df028b6ca: Pulling fs layer [2023-03-16T15:30:19.844Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T15:30:19.844Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T15:30:19.844Z] f23df028b6ca: Waiting [2023-03-16T15:30:19.844Z] 04944245beec: Verifying Checksum [2023-03-16T15:30:19.844Z] 04944245beec: Download complete [2023-03-16T15:30:19.844Z] 765212b225bb: Verifying Checksum [2023-03-16T15:30:19.844Z] 765212b225bb: Download complete [2023-03-16T15:30:20.117Z] f23df028b6ca: Verifying Checksum [2023-03-16T15:30:20.117Z] f23df028b6ca: Download complete [2023-03-16T15:30:20.117Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T15:30:20.117Z] d65c8cfc05b1: Download complete [2023-03-16T15:30:20.117Z] 699f458cf7ca: Verifying Checksum [2023-03-16T15:30:20.117Z] 699f458cf7ca: Download complete [2023-03-16T15:30:20.708Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T15:30:20.708Z] 8998bd30e6a1: Download complete [2023-03-16T15:30:23.306Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T15:30:23.306Z] 2437ff75d9bd: Download complete [2023-03-16T15:30:24.724Z] 8998bd30e6a1: Pull complete [2023-03-16T15:30:25.313Z] 04944245beec: Pull complete [2023-03-16T15:30:26.727Z] 699f458cf7ca: Pull complete [2023-03-16T15:30:26.997Z] 765212b225bb: Pull complete [2023-03-16T15:30:27.965Z] f23df028b6ca: Pull complete [2023-03-16T15:30:28.239Z] d65c8cfc05b1: Pull complete [2023-03-16T15:30:43.264Z] 2437ff75d9bd: Pull complete [2023-03-16T15:30:43.264Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T15:30:43.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:30:43.264Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:30:43.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-2454 does not seem to be running inside a container [2023-03-16T15:30:43.571Z] $ 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/65 -v /w/workspace/device-snmp-go/65:/w/workspace/device-snmp-go/65:rw,z -v /w/workspace/device-snmp-go/65@tmp:/w/workspace/device-snmp-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T15:30:46.636Z] $ docker top dd2befe6ba370a3c009cb06d75919759ebb77024be770dde764a13a2264a8da4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:30:47.527Z] ---> job-cost.sh [2023-03-16T15:30:47.527Z] lf-activate-venv: SKIPPING [2023-03-16T15:30:47.527Z] INFO: No Stack... [2023-03-16T15:30:48.112Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T15:30:48.703Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T15:30:49.359Z] + cut -d, -f6 [2023-03-16T15:30:49.359Z] + cat /w/workspace/device-snmp-go/65/archives/cost.csv [Pipeline] lock [2023-03-16T15:30:49.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] [2023-03-16T15:30:49.460Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] did not exist. Created. [2023-03-16T15:30:49.460Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T15:30:50.144Z] /w/workspace/device-snmp-go/65@tmp/durable-be43d9f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T15:30:50.814Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T15:30:50.839Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T15:30:50.892Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T15:30:50.906Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T15:30:50.927Z] $ docker stop --time=1 dd2befe6ba370a3c009cb06d75919759ebb77024be770dde764a13a2264a8da4 [2023-03-16T15:30:52.489Z] $ docker rm -f --volumes dd2befe6ba370a3c009cb06d75919759ebb77024be770dde764a13a2264a8da4 [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-03-16T15:30:52.910Z] provisioning config files... [2023-03-16T15:30:52.917Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1251296546108127321tmp [Pipeline] { [Pipeline] sh [2023-03-16T15:30:53.208Z] + set +x [2023-03-16T15:30:53.208Z] + bash -s -- [2023-03-16T15:30:53.208Z] + curl -s https://codecov.io/bash [2023-03-16T15:30:53.208Z] [2023-03-16T15:30:53.208Z] _____ _ [2023-03-16T15:30:53.208Z] / ____| | | [2023-03-16T15:30:53.208Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T15:30:53.208Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T15:30:53.208Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T15:30:53.208Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T15:30:53.208Z] Bash-1.0.6 [2023-03-16T15:30:53.208Z] [2023-03-16T15:30:53.208Z] [2023-03-16T15:30:53.208Z] ==> git version 2.25.1 found [2023-03-16T15:30:53.208Z] ==> 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-03-16T15:30:53.208Z] Release-Date: 2020-01-08 [2023-03-16T15:30:53.208Z] 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-03-16T15:30:53.208Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T15:30:53.208Z] ==> Jenkins CI detected. [2023-03-16T15:30:53.208Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-03-16T15:30:53.208Z] project root: . [2023-03-16T15:30:53.208Z] --> token set from env [2023-03-16T15:30:53.208Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T15:30:53.208Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T15:30:53.208Z] ==> Python coveragepy not found [2023-03-16T15:30:53.208Z] ==> Searching for coverage reports in: [2023-03-16T15:30:53.208Z] + . [2023-03-16T15:30:53.208Z] -> Found 1 reports [2023-03-16T15:30:53.208Z] ==> Detecting git/mercurial file structure [2023-03-16T15:30:53.208Z] ==> Reading reports [2023-03-16T15:30:53.208Z] + ./coverage.out bytes=7631 [2023-03-16T15:30:53.208Z] ==> Appending adjustments [2023-03-16T15:30:53.208Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T15:30:53.467Z] + Found adjustments [2023-03-16T15:30:53.467Z] ==> Gzipping contents [2023-03-16T15:30:53.467Z] 4.0K /tmp/codecov.nCvPM4.gz [2023-03-16T15:30:53.467Z] ==> Uploading reports [2023-03-16T15:30:53.467Z] url: https://codecov.io [2023-03-16T15:30:53.467Z] query: branch=main&commit=965f04e6862849b37eeb3a58b1f16c31f2ab2615&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-16T15:30:53.467Z] -> Pinging Codecov [2023-03-16T15:30:53.467Z] 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=965f04e6862849b37eeb3a58b1f16c31f2ab2615&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-16T15:30:53.467Z] -> Uploading to [2023-03-16T15:30:53.467Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/6C56EA5C29638FB4528AC87E60AF5AE0/965f04e6862849b37eeb3a58b1f16c31f2ab2615/bb4cbdf2-cab7-4e37-9aa1-5022cb68fb04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T153053Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=515d53cbb16064d941348c7a41fcee81d59c7db7f0066e0e7c94da444f8afd8f [2023-03-16T15:30:53.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T15:30:53.726Z] Dload Upload Total Spent Left Speed [2023-03-16T15:30:53.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 6279 --:--:-- --:--:-- --:--:-- 6305 [2023-03-16T15:30:53.726Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] } [2023-03-16T15:30:53.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-16T15:30:53.929Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-16T15:30:53.945Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:54.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-16T15:30:54.249Z] [2023-03-16T15:30:54.249Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:30:54.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-16T15:30:54.548Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-16T15:30:54.548Z] df9b9388f04a: Pulling fs layer [2023-03-16T15:30:54.548Z] 52dc419b0ee2: Pulling fs layer [2023-03-16T15:30:54.548Z] 25bc292e5bac: Pulling fs layer [2023-03-16T15:30:54.548Z] 114826534d7a: Pulling fs layer [2023-03-16T15:30:54.549Z] 4657fd5d0bcf: Pulling fs layer [2023-03-16T15:30:54.549Z] 6ad1cebc031e: Pulling fs layer [2023-03-16T15:30:54.549Z] 114826534d7a: Waiting [2023-03-16T15:30:54.549Z] 4657fd5d0bcf: Waiting [2023-03-16T15:30:54.549Z] 8a3aa393b2d8: Pulling fs layer [2023-03-16T15:30:54.549Z] 6ad1cebc031e: Waiting [2023-03-16T15:30:54.549Z] 8a3aa393b2d8: Waiting [2023-03-16T15:30:54.549Z] 25bc292e5bac: Verifying Checksum [2023-03-16T15:30:54.549Z] 25bc292e5bac: Download complete [2023-03-16T15:30:54.549Z] 52dc419b0ee2: Verifying Checksum [2023-03-16T15:30:54.549Z] 52dc419b0ee2: Download complete [2023-03-16T15:30:54.549Z] 4657fd5d0bcf: Verifying Checksum [2023-03-16T15:30:54.549Z] 4657fd5d0bcf: Download complete [2023-03-16T15:30:54.549Z] df9b9388f04a: Download complete [2023-03-16T15:30:54.809Z] df9b9388f04a: Pull complete [2023-03-16T15:30:54.809Z] 6ad1cebc031e: Verifying Checksum [2023-03-16T15:30:54.809Z] 6ad1cebc031e: Download complete [2023-03-16T15:30:54.809Z] 52dc419b0ee2: Pull complete [2023-03-16T15:30:55.069Z] 25bc292e5bac: Pull complete [2023-03-16T15:30:55.328Z] 114826534d7a: Verifying Checksum [2023-03-16T15:30:55.328Z] 114826534d7a: Download complete [2023-03-16T15:30:55.585Z] 8a3aa393b2d8: Verifying Checksum [2023-03-16T15:30:55.585Z] 8a3aa393b2d8: Download complete [2023-03-16T15:30:58.861Z] 114826534d7a: Pull complete [2023-03-16T15:30:58.861Z] 4657fd5d0bcf: Pull complete [2023-03-16T15:30:59.119Z] 6ad1cebc031e: Pull complete [2023-03-16T15:31:01.645Z] 8a3aa393b2d8: Pull complete [2023-03-16T15:31:01.645Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-16T15:31:01.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-16T15:31:01.903Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:31:01.976Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:31:02.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-16T15:31:06.854Z] $ docker top 6088d896e119fad43a91155b7f30c9ab968cca6a30d88a0d275aba92ac7fbbe4 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-16T15:31:06.921Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-03-16T15:31:07.195Z] + set -o pipefail [2023-03-16T15:31:07.196Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-03-16T15:31:11.380Z] [2023-03-16T15:31:11.380Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-03-16T15:31:11.380Z] [2023-03-16T15:31:11.380Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/5b5ce77c-6477-4d37-84e4-aa28650bc967 [2023-03-16T15:31:11.380Z] [2023-03-16T15:31:11.380Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-16T15:31:11.380Z] [2023-03-16T15:31:11.380Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-16T15:31:11.380Z] [2023-03-16T15:31:11.380Z] [2023-03-16T15:31:11.380Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-16T15:31:11.380Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-16T15:31:11.380Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-16T15:31:11.389Z] $ docker stop --time=1 6088d896e119fad43a91155b7f30c9ab968cca6a30d88a0d275aba92ac7fbbe4 [2023-03-16T15:31:14.866Z] $ docker rm -f --volumes 6088d896e119fad43a91155b7f30c9ab968cca6a30d88a0d275aba92ac7fbbe4 [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-03-16T15:31:15.529Z] + git log --format=format:%s -1 965f04e6862849b37eeb3a58b1f16c31f2ab2615 [Pipeline] sh [2023-03-16T15:31:15.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T15:31:15.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:31:16.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:31:16.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:31:16.183Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:31:16.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T15:31:16.735Z] $ docker top cd248443807fe4b0c1f3cdf0d0e0b06d0f27253a89328d44a26a54b2313d9606 -eo pid,comm [2023-03-16T15:31:16.783Z] 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-03-16T15:31:16.783Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T15:31:16.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:31:16.832Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:31:16.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:31:16.960Z] $ docker exec cd248443807fe4b0c1f3cdf0d0e0b06d0f27253a89328d44a26a54b2313d9606 ssh-agent [2023-03-16T15:31:17.074Z] SSH_AUTH_SOCK=/tmp/ssh-J5RONsrIPDgW/agent.32 [2023-03-16T15:31:17.074Z] SSH_AGENT_PID=38 [2023-03-16T15:31:17.078Z] Running ssh-add (command line suppressed) [2023-03-16T15:31:17.185Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16432638448292475051.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16432638448292475051.key) [2023-03-16T15:31:17.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:31:17.481Z] + git semver tag [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,641 [run_tag] DEBUG tag force:False [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,641 [check_head_tag] DEBUG check head tag [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,642 [execute] INFO git cat-file --batch-check [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,646 [execute] INFO git cat-file --batch [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,662 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,663 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,663 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-16T15:31:17.741Z] 2023-03-16 15:31:17,668 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:31:17.741Z] 3.0.0-dev.8 [Pipeline] } [2023-03-16T15:31:17.750Z] $ docker exec --env ******** --env ******** cd248443807fe4b0c1f3cdf0d0e0b06d0f27253a89328d44a26a54b2313d9606 ssh-agent -k [2023-03-16T15:31:17.856Z] unset SSH_AUTH_SOCK; [2023-03-16T15:31:17.856Z] unset SSH_AGENT_PID; [2023-03-16T15:31:17.856Z] echo Agent pid 38 killed; [2023-03-16T15:31:17.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T15:31:18.177Z] + git semver [Pipeline] } [2023-03-16T15:31:18.449Z] $ docker stop --time=1 cd248443807fe4b0c1f3cdf0d0e0b06d0f27253a89328d44a26a54b2313d9606 [2023-03-16T15:31:19.719Z] $ docker rm -f --volumes cd248443807fe4b0c1f3cdf0d0e0b06d0f27253a89328d44a26a54b2313d9606 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:31:20.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-16T15:31:20.096Z] [2023-03-16T15:31:20.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:31:20.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-16T15:31:20.391Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-16T15:31:20.391Z] ab5ef0e58194: Pulling fs layer [2023-03-16T15:31:20.391Z] 9712f1f96733: Pulling fs layer [2023-03-16T15:31:20.391Z] 63f879dbbcfc: Pulling fs layer [2023-03-16T15:31:20.391Z] 0d9ebad4ef96: Pulling fs layer [2023-03-16T15:31:20.391Z] e9a5061849ea: Pulling fs layer [2023-03-16T15:31:20.391Z] d747dcd14b5f: Pulling fs layer [2023-03-16T15:31:20.391Z] 2de7ff778b66: Pulling fs layer [2023-03-16T15:31:20.391Z] 0d9ebad4ef96: Waiting [2023-03-16T15:31:20.391Z] e9a5061849ea: Waiting [2023-03-16T15:31:20.391Z] d747dcd14b5f: Waiting [2023-03-16T15:31:20.391Z] 2de7ff778b66: Waiting [2023-03-16T15:31:20.391Z] 9712f1f96733: Verifying Checksum [2023-03-16T15:31:20.391Z] 9712f1f96733: Download complete [2023-03-16T15:31:20.972Z] 63f879dbbcfc: Verifying Checksum [2023-03-16T15:31:20.972Z] 63f879dbbcfc: Download complete [2023-03-16T15:31:20.972Z] 0d9ebad4ef96: Verifying Checksum [2023-03-16T15:31:20.972Z] 0d9ebad4ef96: Download complete [2023-03-16T15:31:20.972Z] d747dcd14b5f: Verifying Checksum [2023-03-16T15:31:20.972Z] d747dcd14b5f: Download complete [2023-03-16T15:31:21.230Z] ab5ef0e58194: Download complete [2023-03-16T15:31:21.230Z] e9a5061849ea: Verifying Checksum [2023-03-16T15:31:21.230Z] e9a5061849ea: Download complete [2023-03-16T15:31:21.230Z] 2de7ff778b66: Verifying Checksum [2023-03-16T15:31:24.511Z] ab5ef0e58194: Pull complete [2023-03-16T15:31:24.511Z] 9712f1f96733: Pull complete [2023-03-16T15:31:24.770Z] 63f879dbbcfc: Pull complete [2023-03-16T15:31:28.958Z] 0d9ebad4ef96: Pull complete [2023-03-16T15:31:28.958Z] e9a5061849ea: Pull complete [2023-03-16T15:31:28.958Z] d747dcd14b5f: Pull complete [2023-03-16T15:31:30.334Z] 2de7ff778b66: Pull complete [2023-03-16T15:31:30.334Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-16T15:31:30.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-16T15:31:30.334Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:31:30.416Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:31:30.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-16T15:31:36.792Z] $ docker top 5d7f68be84bbe4ac8b58dd83d8dfd4f72547db45934f5e4825fd80df78e8be56 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:31:36.853Z] provisioning config files... [2023-03-16T15:31:36.859Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17384535157371083784tmp [2023-03-16T15:31:36.867Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14093850015647001032tmp [2023-03-16T15:31:36.875Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13403207113160862736tmp [Pipeline] { [Pipeline] echo [2023-03-16T15:31:36.889Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:37.166Z] ---> sigul-configuration.sh [2023-03-16T15:31:37.166Z] gpg: directory `/root/.gnupg' created [2023-03-16T15:31:37.166Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-16T15:31:37.166Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-16T15:31:37.166Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-16T15:31:37.166Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-16T15:31:37.166Z] gpg: CAST5 encrypted data [2023-03-16T15:31:37.166Z] gpg: encrypted with 1 passphrase [2023-03-16T15:31:37.166Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-16T15:31:37.450Z] + mkdir /home/jenkins [2023-03-16T15:31:37.450Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-16T15:31:37.733Z] + 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-03-16T15:31:37.741Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:38.020Z] ---> sigul-install.sh [2023-03-16T15:31:38.020Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-16T15:31:38.302Z] + git tag --list [2023-03-16T15:31:38.302Z] 1.0.0 [2023-03-16T15:31:38.302Z] v0.0.0 [2023-03-16T15:31:38.302Z] v1.1.0 [2023-03-16T15:31:38.302Z] v1.1.1 [2023-03-16T15:31:38.302Z] v1.2.2 [2023-03-16T15:31:38.302Z] v1.3.0 [2023-03-16T15:31:38.302Z] v1.3.1 [2023-03-16T15:31:38.302Z] v2.0.0 [2023-03-16T15:31:38.302Z] v2.1.0 [2023-03-16T15:31:38.302Z] v2.1.1 [2023-03-16T15:31:38.302Z] v2.1.1-dev.2 [2023-03-16T15:31:38.302Z] v2.1.1-dev.3 [2023-03-16T15:31:38.302Z] v2.2.0 [2023-03-16T15:31:38.302Z] v2.2.1-dev.1 [2023-03-16T15:31:38.302Z] v2.2.1-dev.2 [2023-03-16T15:31:38.302Z] v2.2.1-dev.3 [2023-03-16T15:31:38.302Z] v2.2.1-dev.4 [2023-03-16T15:31:38.302Z] v2.2.1-dev.5 [2023-03-16T15:31:38.302Z] v2.2.1-dev.6 [2023-03-16T15:31:38.302Z] v2.2.1-dev.7 [2023-03-16T15:31:38.302Z] v2.3.0 [2023-03-16T15:31:38.302Z] v2.3.0-dev.10 [2023-03-16T15:31:38.302Z] v2.3.0-dev.11 [2023-03-16T15:31:38.302Z] v2.3.0-dev.12 [2023-03-16T15:31:38.302Z] v2.3.0-dev.13 [2023-03-16T15:31:38.302Z] v2.3.0-dev.14 [2023-03-16T15:31:38.302Z] v2.3.0-dev.15 [2023-03-16T15:31:38.302Z] v2.3.0-dev.16 [2023-03-16T15:31:38.302Z] v2.3.0-dev.17 [2023-03-16T15:31:38.302Z] v2.3.0-dev.18 [2023-03-16T15:31:38.302Z] v2.3.0-dev.19 [2023-03-16T15:31:38.302Z] v2.3.0-dev.20 [2023-03-16T15:31:38.302Z] v2.3.0-dev.21 [2023-03-16T15:31:38.302Z] v2.3.0-dev.22 [2023-03-16T15:31:38.302Z] v2.3.0-dev.23 [2023-03-16T15:31:38.302Z] v2.3.0-dev.24 [2023-03-16T15:31:38.302Z] v2.3.0-dev.7 [2023-03-16T15:31:38.302Z] v2.3.0-dev.8 [2023-03-16T15:31:38.302Z] v2.3.0-dev.9 [2023-03-16T15:31:38.302Z] v3.0.0-dev.1 [2023-03-16T15:31:38.302Z] v3.0.0-dev.2 [2023-03-16T15:31:38.302Z] v3.0.0-dev.3 [2023-03-16T15:31:38.302Z] v3.0.0-dev.4 [2023-03-16T15:31:38.302Z] v3.0.0-dev.5 [2023-03-16T15:31:38.302Z] v3.0.0-dev.6 [2023-03-16T15:31:38.302Z] v3.0.0-dev.7 [2023-03-16T15:31:38.302Z] v3.0.0-dev.8 [Pipeline] sh [2023-03-16T15:31:38.583Z] + lftools sign git-tag v3.0.0-dev.8 [2023-03-16T15:31:39.149Z] Signing Git tag with Sigul... [2023-03-16T15:31:39.149Z] Signing v3.0.0-dev.8 [Pipeline] echo [2023-03-16T15:31:39.414Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:39.695Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-16T15:31:39.701Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-16T15:31:39.716Z] $ docker stop --time=1 5d7f68be84bbe4ac8b58dd83d8dfd4f72547db45934f5e4825fd80df78e8be56 [2023-03-16T15:31:41.002Z] $ docker rm -f --volumes 5d7f68be84bbe4ac8b58dd83d8dfd4f72547db45934f5e4825fd80df78e8be56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-16T15:31:41.398Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T15:31:41.398Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:31:41.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:31:41.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:31:41.760Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:31:41.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T15:31:42.134Z] $ docker top 3237f37d90dad47447ea0774df0fa97aa9586f14d08a6538cd18687d8b583ed9 -eo pid,comm [2023-03-16T15:31:42.184Z] 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-03-16T15:31:42.184Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T15:31:42.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:31:42.219Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:31:42.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:31:42.338Z] $ docker exec 3237f37d90dad47447ea0774df0fa97aa9586f14d08a6538cd18687d8b583ed9 ssh-agent [2023-03-16T15:31:42.442Z] SSH_AUTH_SOCK=/tmp/ssh-oV0NKh59Ns3g/agent.33 [2023-03-16T15:31:42.442Z] SSH_AGENT_PID=39 [2023-03-16T15:31:42.447Z] Running ssh-add (command line suppressed) [2023-03-16T15:31:42.549Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1774924834494506209.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1774924834494506209.key) [2023-03-16T15:31:42.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:31:42.844Z] + git semver bump pre [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,024 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,024 [bump_version] DEBUG bumped version:3.0.0-dev.9 [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,024 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,024 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,026 [execute] INFO git cat-file --batch-check [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,030 [execute] INFO git cat-file --batch [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T15:31:43.104Z] 2023-03-16 15:31:43,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:31:43.104Z] 3.0.0-dev.9 [Pipeline] } [2023-03-16T15:31:43.113Z] $ docker exec --env ******** --env ******** 3237f37d90dad47447ea0774df0fa97aa9586f14d08a6538cd18687d8b583ed9 ssh-agent -k [2023-03-16T15:31:43.222Z] unset SSH_AUTH_SOCK; [2023-03-16T15:31:43.222Z] unset SSH_AGENT_PID; [2023-03-16T15:31:43.222Z] echo Agent pid 39 killed; [2023-03-16T15:31:43.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T15:31:43.535Z] + git semver [Pipeline] } [2023-03-16T15:31:43.807Z] $ docker stop --time=1 3237f37d90dad47447ea0774df0fa97aa9586f14d08a6538cd18687d8b583ed9 [2023-03-16T15:31:45.072Z] $ docker rm -f --volumes 3237f37d90dad47447ea0774df0fa97aa9586f14d08a6538cd18687d8b583ed9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:31:45.500Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T15:31:45.500Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:31:45.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:31:45.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:31:45.887Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:31:45.915Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T15:31:46.745Z] $ docker top 876252b1ffba27b58b8d6806dce3532cd589eb25c7b4313cf4638edfbd671001 -eo pid,comm [2023-03-16T15:31:46.791Z] 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-03-16T15:31:46.791Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T15:31:46.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:31:46.834Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:31:46.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:31:46.948Z] $ docker exec 876252b1ffba27b58b8d6806dce3532cd589eb25c7b4313cf4638edfbd671001 ssh-agent [2023-03-16T15:31:47.055Z] SSH_AUTH_SOCK=/tmp/ssh-uRiuqB6HiNur/agent.32 [2023-03-16T15:31:47.055Z] SSH_AGENT_PID=38 [2023-03-16T15:31:47.059Z] Running ssh-add (command line suppressed) [2023-03-16T15:31:47.154Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15628299623461330190.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15628299623461330190.key) [2023-03-16T15:31:47.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:31:47.464Z] + git semver push [2023-03-16T15:31:48.029Z] 2023-03-16 15:31:47,771 [run_push] DEBUG push [2023-03-16T15:31:48.029Z] 2023-03-16 15:31:47,773 [execute] INFO git cat-file --batch-check [2023-03-16T15:31:48.029Z] 2023-03-16 15:31:47,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T15:31:48.029Z] 2023-03-16 15:31:47,778 [execute] INFO git rev-list c3030485435b579d08ad1965bfbf632fc0656084 -- [2023-03-16T15:31:48.029Z] 2023-03-16 15:31:47,778 [execute] DEBUG Popen(['git', 'rev-list', 'c3030485435b579d08ad1965bfbf632fc0656084', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-16T15:31:48.029Z] 2023-03-16 15:31:47,783 [execute] INFO git fetch -v origin [2023-03-16T15:31:48.029Z] 2023-03-16 15:31:47,784 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-16T15:31:48.286Z] 2023-03-16 15:31:48,246 [run_push] DEBUG no remote changes detected [2023-03-16T15:31:48.286Z] 2023-03-16 15:31:48,246 [execute] INFO git push origin semver [2023-03-16T15:31:48.286Z] 2023-03-16 15:31:48,247 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-16T15:31:49.356Z] 2023-03-16 15:31:49,115 [run_push] DEBUG push all version tags [2023-03-16T15:31:49.356Z] 2023-03-16 15:31:49,115 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-16T15:31:49.356Z] 2023-03-16 15:31:49,115 [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-03-16T15:31:50.291Z] 2023-03-16 15:31:49,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-16T15:31:50.291Z] 3.0.0-dev.9 [Pipeline] } [2023-03-16T15:31:50.300Z] $ docker exec --env ******** --env ******** 876252b1ffba27b58b8d6806dce3532cd589eb25c7b4313cf4638edfbd671001 ssh-agent -k [2023-03-16T15:31:50.407Z] unset SSH_AUTH_SOCK; [2023-03-16T15:31:50.407Z] unset SSH_AGENT_PID; [2023-03-16T15:31:50.407Z] echo Agent pid 38 killed; [2023-03-16T15:31:50.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T15:31:50.722Z] + git semver [Pipeline] } [2023-03-16T15:31:50.993Z] $ docker stop --time=1 876252b1ffba27b58b8d6806dce3532cd589eb25c7b4313cf4638edfbd671001 [2023-03-16T15:31:52.284Z] $ docker rm -f --volumes 876252b1ffba27b58b8d6806dce3532cd589eb25c7b4313cf4638edfbd671001 [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-03-16T15:31:52.827Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-03-16T15:31:52.827Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-16T15:31:52.827Z] total 16 [2023-03-16T15:31:52.827Z] drwxr-xr-x 3 root root 4096 Mar 16 15:19 . [2023-03-16T15:31:52.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:31 .. [2023-03-16T15:31:52.827Z] drwxr-xr-x 2 root root 4096 Mar 16 15:19 cost [2023-03-16T15:31:52.827Z] -rw-r--r-- 1 root root 85 Mar 16 15:19 cost.csv [2023-03-16T15:31:52.827Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-16T15:31:52.827Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-16T15:31:52.827Z] total 16 [2023-03-16T15:31:52.827Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:19 . [2023-03-16T15:31:52.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:31 .. [2023-03-16T15:31:52.827Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 15:19 cost [2023-03-16T15:31:52.827Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 16 15:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:53.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:53.971Z] ---> package-listing.sh [2023-03-16T15:31:53.971Z] ++ facter osfamily [2023-03-16T15:31:53.971Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T15:31:54.230Z] + OS_FAMILY=debian [2023-03-16T15:31:54.230Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-03-16T15:31:54.230Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T15:31:54.230Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T15:31:54.230Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T15:31:54.230Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T15:31:54.230Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-16T15:31:54.230Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T15:31:54.230Z] + case "${OS_FAMILY}" in [2023-03-16T15:31:54.230Z] + dpkg -l [2023-03-16T15:31:54.230Z] + grep '^ii' [2023-03-16T15:31:54.230Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T15:31:54.230Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T15:31:54.230Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T15:31:54.230Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-16T15:31:54.230Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-03-16T15:31:54.230Z] + 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-03-16T15:31:54.329Z] 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-03-16T15:31:54.661Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:31:55.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:31:55.013Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:31:55.083Z] prd-ubuntu20.04-docker-8c-8g-2452 does not seem to be running inside a container [2023-03-16T15:31:55.116Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T15:31:55.357Z] $ docker top 6c38cdacb60b6e39399c950b50686b68c67b255086a121e40f26a3524deee333 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:31:55.700Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T15:31:55.985Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T15:31:56.271Z] + ls /var/log/sa-host [2023-03-16T15:31:56.271Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:31:56.417Z] provisioning config files... [2023-03-16T15:31:56.425Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5938941466385683670tmp [Pipeline] { [Pipeline] echo [2023-03-16T15:31:56.439Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:56.717Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T15:31:56.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:57.049Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T15:31:57.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:57.339Z] ---> sudo-logs.sh [2023-03-16T15:31:57.339Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T15:31:57.371Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:57.653Z] ---> job-cost.sh [2023-03-16T15:31:57.653Z] lf-activate-venv: SKIPPING [2023-03-16T15:31:57.653Z] DEBUG: total: 0.2199999988079071 [2023-03-16T15:31:57.653Z] INFO: Retrieving Stack Cost... [2023-03-16T15:31:57.912Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T15:31:58.480Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T15:31:58.491Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:58.786Z] ---> logs-deploy.sh [2023-03-16T15:31:58.786Z] lf-activate-venv: SKIPPING [2023-03-16T15:31:58.786Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/65 [2023-03-16T15:31:58.786Z] INFO: archiving workspace using pattern(s): [2023-03-16T15:31:59.721Z] Archives upload complete. [2023-03-16T15:31:59.721Z] INFO: archiving logs to Nexus