Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d829a2c887c40068ff6155ebb33a7321d05cdfd6 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-ssh8874410611469083926.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-ssh12674060337479013541.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-ssh6728049767698588334.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-ssh14752210204507590216.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-ssh10305798820274538158.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 ‘prd-ubuntu20.04-docker-8c-8g-330’ is offline ‘prd-ubuntu20.04-docker-8c-8g-335’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-332’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-337 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 d829a2c887c40068ff6155ebb33a7321d05cdfd6 (main) Commit message: "Merge pull request #263 from lenny-intel/go-1.20" > 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 d829a2c887c40068ff6155ebb33a7321d05cdfd6 # timeout=10 > git rev-list --no-walk 82433e1744898ef8ca7a6a52854ffd2316e26b0f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T02:57:44.044Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T02:57:44.100Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T02:57:44.115Z] ========================================================= [2023-03-15T02:57:44.115Z] EdgeX Global Pipelines Version Info [2023-03-15T02:57:44.115Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:57:44.822Z] ------------------- [2023-03-15T02:57:44.822Z] stable info: [2023-03-15T02:57:44.822Z] ------------------- [2023-03-15T02:57:44.822Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T02:57:44.822Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T02:57:44.822Z] Message: update stable to v1.0.245 [2023-03-15T02:57:45.393Z] ------------------- [2023-03-15T02:57:45.393Z] experimental info: [2023-03-15T02:57:45.393Z] ------------------- [2023-03-15T02:57:45.393Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T02:57:45.393Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T02:57:45.393Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T02:57:45.546Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-15T02:57:45.557Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-15T02:57:45.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T02:57:45.581Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T02:57:45.594Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T02:57:45.604Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T02:57:45.620Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T02:57:45.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T02:57:45.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T02:57:45.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T02:57:45.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T02:57:45.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-15T02:57:45.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T02:57:45.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T02:57:45.715Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:57:45.726Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:57:45.737Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:57:45.749Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:57:45.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T02:57:45.772Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T02:57:45.785Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T02:57:45.796Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T02:57:45.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T02:57:45.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T02:57:45.829Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T02:57:45.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T02:57:45.851Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T02:57:45.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T02:57:45.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T02:57:45.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T02:57:45.899Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d829a2c887c40068ff6155ebb33a7321d05cdfd6 [Pipeline] echo [2023-03-15T02:57:45.911Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d829a2c [Pipeline] echo [2023-03-15T02:57:45.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:57:45.960Z] provisioning config files... [2023-03-15T02:57:45.979Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7090876332448564798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:57:46.279Z] ---> docker-login.sh [2023-03-15T02:57:46.279Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:57:46.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:46.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:46.867Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:46.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:46.867Z] [2023-03-15T02:57:46.867Z] Login Succeeded [2023-03-15T02:57:46.867Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:57:47.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:47.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:47.126Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:47.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:47.126Z] [2023-03-15T02:57:47.126Z] Login Succeeded [2023-03-15T02:57:47.126Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:57:47.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:47.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:47.126Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:47.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:47.126Z] [2023-03-15T02:57:47.126Z] Login Succeeded [2023-03-15T02:57:47.126Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:57:47.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:47.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:47.386Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:47.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:47.386Z] [2023-03-15T02:57:47.386Z] Login Succeeded [2023-03-15T02:57:47.386Z] docker.io [2023-03-15T02:57:47.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:47.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:47.645Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:47.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:47.645Z] [2023-03-15T02:57:47.645Z] Login Succeeded [2023-03-15T02:57:47.645Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:57:47.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T02:57:48.008Z] + git rev-list -1 --merges d829a2c887c40068ff6155ebb33a7321d05cdfd6~1..d829a2c887c40068ff6155ebb33a7321d05cdfd6 [Pipeline] echo [2023-03-15T02:57:48.050Z] -----------> git rev-list -1 --merges d829a2c887c40068ff6155ebb33a7321d05cdfd6~1..d829a2c887c40068ff6155ebb33a7321d05cdfd6 d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T02:57:48.050Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6 [false] [Pipeline] sh [2023-03-15T02:57:48.340Z] + git log --format=format:%s -1 d829a2c887c40068ff6155ebb33a7321d05cdfd6 [Pipeline] echo [2023-03-15T02:57:48.354Z] ========================================================= [2023-03-15T02:57:48.354Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T02:57:48.354Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:57:48.668Z] + git log --format=format:%s -1 d829a2c887c40068ff6155ebb33a7321d05cdfd6 [Pipeline] echo [2023-03-15T02:57:48.678Z] [semverPrep] GIT_COMMIT: d829a2c887c40068ff6155ebb33a7321d05cdfd6, Commit Message: Merge pull request #263 from lenny-intel/go-1.20 [Pipeline] echo [2023-03-15T02:57:48.688Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T02:57:49.030Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T02:57:49.030Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T02:57:49.030Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T02:57:49.030Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T02:57:49.030Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T02:57:49.030Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T02:57:49.030Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:49.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:57:49.376Z] [2023-03-15T02:57:49.376Z] 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-15T02:57:49.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:57:49.937Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T02:57:49.937Z] b85a868b505f: Pulling fs layer [2023-03-15T02:57:49.937Z] e2be974225ed: Pulling fs layer [2023-03-15T02:57:49.937Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T02:57:49.937Z] 988bab9f4d93: Pulling fs layer [2023-03-15T02:57:49.937Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T02:57:49.937Z] eaf3925da568: Pulling fs layer [2023-03-15T02:57:49.937Z] bab4dde63d76: Pulling fs layer [2023-03-15T02:57:49.937Z] bde34c3a00c8: Pulling fs layer [2023-03-15T02:57:49.938Z] 988bab9f4d93: Waiting [2023-03-15T02:57:49.938Z] 1469e6f7b9e6: Waiting [2023-03-15T02:57:49.938Z] eaf3925da568: Waiting [2023-03-15T02:57:49.938Z] bab4dde63d76: Waiting [2023-03-15T02:57:49.938Z] b352a97aabf1: Pulling fs layer [2023-03-15T02:57:49.938Z] 4872d77fe225: Pulling fs layer [2023-03-15T02:57:49.938Z] 5851b861e8e6: Pulling fs layer [2023-03-15T02:57:49.938Z] bde34c3a00c8: Waiting [2023-03-15T02:57:49.938Z] b352a97aabf1: Waiting [2023-03-15T02:57:49.938Z] 5851b861e8e6: Waiting [2023-03-15T02:57:49.938Z] 4872d77fe225: Waiting [2023-03-15T02:57:49.938Z] e2be974225ed: Verifying Checksum [2023-03-15T02:57:49.938Z] e2be974225ed: Download complete [2023-03-15T02:57:49.938Z] 988bab9f4d93: Download complete [2023-03-15T02:57:50.227Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T02:57:50.227Z] 339a4e72a1f5: Download complete [2023-03-15T02:57:50.227Z] eaf3925da568: Verifying Checksum [2023-03-15T02:57:50.227Z] eaf3925da568: Download complete [2023-03-15T02:57:50.227Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T02:57:50.227Z] 1469e6f7b9e6: Download complete [2023-03-15T02:57:50.227Z] bde34c3a00c8: Verifying Checksum [2023-03-15T02:57:50.227Z] bde34c3a00c8: Download complete [2023-03-15T02:57:50.227Z] 4872d77fe225: Verifying Checksum [2023-03-15T02:57:50.227Z] 4872d77fe225: Download complete [2023-03-15T02:57:50.227Z] 5851b861e8e6: Verifying Checksum [2023-03-15T02:57:50.227Z] 5851b861e8e6: Download complete [2023-03-15T02:57:50.227Z] b85a868b505f: Verifying Checksum [2023-03-15T02:57:50.227Z] b85a868b505f: Download complete [2023-03-15T02:57:50.487Z] bab4dde63d76: Verifying Checksum [2023-03-15T02:57:50.487Z] bab4dde63d76: Download complete [2023-03-15T02:57:51.893Z] b85a868b505f: Pull complete [2023-03-15T02:57:51.893Z] e2be974225ed: Pull complete [2023-03-15T02:57:52.838Z] 339a4e72a1f5: Pull complete [2023-03-15T02:57:52.838Z] 988bab9f4d93: Pull complete [2023-03-15T02:57:53.097Z] 1469e6f7b9e6: Pull complete [2023-03-15T02:57:53.097Z] eaf3925da568: Pull complete [2023-03-15T02:57:55.001Z] bab4dde63d76: Pull complete [2023-03-15T02:57:55.001Z] bde34c3a00c8: Pull complete [2023-03-15T02:57:55.001Z] b352a97aabf1: Pull complete [2023-03-15T02:57:55.261Z] 4872d77fe225: Pull complete [2023-03-15T02:57:55.261Z] 5851b861e8e6: Pull complete [2023-03-15T02:57:55.261Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T02:57:55.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:57:55.261Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:57:55.383Z] prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container [2023-03-15T02:57:55.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T02:57:58.281Z] $ docker top 0c39ce58fe459b06911cc0d86d6564aec0a6c14127c6a5c7c703ba71b918d5c2 -eo pid,comm [2023-03-15T02:57:58.331Z] 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-15T02:57:58.331Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T02:57:58.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:57:58.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:57:58.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:57:58.496Z] $ docker exec 0c39ce58fe459b06911cc0d86d6564aec0a6c14127c6a5c7c703ba71b918d5c2 ssh-agent [2023-03-15T02:57:58.596Z] SSH_AUTH_SOCK=/tmp/ssh-IrYaqrxKdB8W/agent.33 [2023-03-15T02:57:58.596Z] SSH_AGENT_PID=39 [2023-03-15T02:57:58.603Z] Running ssh-add (command line suppressed) [2023-03-15T02:57:58.698Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10652662342207422978.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10652662342207422978.key) [2023-03-15T02:57:58.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:57:59.002Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T02:57:59.022Z] $ docker exec --env ******** --env ******** 0c39ce58fe459b06911cc0d86d6564aec0a6c14127c6a5c7c703ba71b918d5c2 ssh-agent -k [2023-03-15T02:57:59.114Z] unset SSH_AUTH_SOCK; [2023-03-15T02:57:59.115Z] unset SSH_AGENT_PID; [2023-03-15T02:57:59.116Z] echo Agent pid 39 killed; [2023-03-15T02:57:59.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T02:57:59.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:57:59.146Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:57:59.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:57:59.273Z] $ docker exec 0c39ce58fe459b06911cc0d86d6564aec0a6c14127c6a5c7c703ba71b918d5c2 ssh-agent [2023-03-15T02:57:59.369Z] SSH_AUTH_SOCK=/tmp/ssh-ekhGqPneRbnd/agent.71 [2023-03-15T02:57:59.369Z] SSH_AGENT_PID=77 [2023-03-15T02:57:59.374Z] Running ssh-add (command line suppressed) [2023-03-15T02:57:59.476Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5468241619108542341.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5468241619108542341.key) [2023-03-15T02:57:59.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:57:59.772Z] + git semver init [2023-03-15T02:58:00.031Z] 2023-03-15 02:57:59,949 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T02:58:00.031Z] 2023-03-15 02:57:59,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-15T02:58:00.031Z] 2023-03-15 02:57:59,950 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-15T02:58:00.031Z] 2023-03-15 02:57:59,950 [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-15T02:58:00.966Z] 2023-03-15 02:58:00,770 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-03-15T02:58:00.966Z] 2023-03-15 02:58:00,770 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-03-15T02:58:00.966Z] 2023-03-15 02:58:00,770 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-15T02:58:00.966Z] 2023-03-15 02:58:00,770 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-15T02:58:00.966Z] 3.0.0-dev.8 [Pipeline] } [2023-03-15T02:58:00.978Z] $ docker exec --env ******** --env ******** 0c39ce58fe459b06911cc0d86d6564aec0a6c14127c6a5c7c703ba71b918d5c2 ssh-agent -k [2023-03-15T02:58:01.082Z] unset SSH_AUTH_SOCK; [2023-03-15T02:58:01.082Z] unset SSH_AGENT_PID; [2023-03-15T02:58:01.084Z] echo Agent pid 77 killed; [2023-03-15T02:58:01.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T02:58:01.394Z] + git semver [Pipeline] } [2023-03-15T02:58:01.672Z] $ docker stop --time=1 0c39ce58fe459b06911cc0d86d6564aec0a6c14127c6a5c7c703ba71b918d5c2 [2023-03-15T02:58:02.957Z] $ docker rm -f --volumes 0c39ce58fe459b06911cc0d86d6564aec0a6c14127c6a5c7c703ba71b918d5c2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:58:03.280Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T02:58:03.476Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T02:58:03.478Z] [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-15T02:58:03.581Z] provisioning config files... [2023-03-15T02:58:03.591Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13664738349877127245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:58:03.882Z] ---> docker-login.sh [2023-03-15T02:58:03.882Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:58:03.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:03.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:03.882Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:03.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:03.882Z] [2023-03-15T02:58:03.882Z] Login Succeeded [2023-03-15T02:58:03.882Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:58:03.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:03.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:03.882Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:03.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:03.882Z] [2023-03-15T02:58:03.882Z] Login Succeeded [2023-03-15T02:58:03.882Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:58:04.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:04.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:04.143Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:04.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:04.143Z] [2023-03-15T02:58:04.143Z] Login Succeeded [2023-03-15T02:58:04.143Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:58:04.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:04.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:04.143Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:04.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:04.143Z] [2023-03-15T02:58:04.143Z] Login Succeeded [2023-03-15T02:58:04.143Z] docker.io [2023-03-15T02:58:04.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:04.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:04.659Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:04.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:04.659Z] [2023-03-15T02:58:04.659Z] Login Succeeded [2023-03-15T02:58:04.659Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:58:04.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:58:04.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:58:04.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:58:04.750Z] ========================================================= [2023-03-15T02:58:04.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T02:58:04.750Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:05.059Z] + 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-15T02:58:05.059Z] Sending build context to Docker daemon 5.712MB [2023-03-15T02:58:05.059Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:58:05.059Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:58:05.059Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T02:58:05.059Z] 63b65145d645: Pulling fs layer [2023-03-15T02:58:05.059Z] a2d21d5440eb: Pulling fs layer [2023-03-15T02:58:05.059Z] 935e6c44a52c: Pulling fs layer [2023-03-15T02:58:05.059Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T02:58:05.059Z] 30dea6a524f1: Pulling fs layer [2023-03-15T02:58:05.059Z] a2aff8979fd8: Pulling fs layer [2023-03-15T02:58:05.059Z] 6808be2612f2: Pulling fs layer [2023-03-15T02:58:05.059Z] f25807f1079a: Pulling fs layer [2023-03-15T02:58:05.059Z] 30dea6a524f1: Waiting [2023-03-15T02:58:05.059Z] a2aff8979fd8: Waiting [2023-03-15T02:58:05.059Z] 6808be2612f2: Waiting [2023-03-15T02:58:05.059Z] f25807f1079a: Waiting [2023-03-15T02:58:05.059Z] 94cc34f8dd06: Waiting [2023-03-15T02:58:05.322Z] a2d21d5440eb: Verifying Checksum [2023-03-15T02:58:05.322Z] a2d21d5440eb: Download complete [2023-03-15T02:58:05.322Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T02:58:05.322Z] 94cc34f8dd06: Download complete [2023-03-15T02:58:05.322Z] 30dea6a524f1: Download complete [2023-03-15T02:58:05.322Z] 63b65145d645: Verifying Checksum [2023-03-15T02:58:05.322Z] 63b65145d645: Download complete [2023-03-15T02:58:05.322Z] a2aff8979fd8: Verifying Checksum [2023-03-15T02:58:05.322Z] a2aff8979fd8: Download complete [2023-03-15T02:58:05.586Z] 63b65145d645: Pull complete [2023-03-15T02:58:05.586Z] a2d21d5440eb: Pull complete [2023-03-15T02:58:05.845Z] f25807f1079a: Verifying Checksum [2023-03-15T02:58:05.845Z] f25807f1079a: Download complete [2023-03-15T02:58:05.845Z] 935e6c44a52c: Verifying Checksum [2023-03-15T02:58:05.845Z] 935e6c44a52c: Download complete [2023-03-15T02:58:06.406Z] 6808be2612f2: Verifying Checksum [2023-03-15T02:58:06.406Z] 6808be2612f2: Download complete [2023-03-15T02:58:08.933Z] 935e6c44a52c: Pull complete [2023-03-15T02:58:08.933Z] 94cc34f8dd06: Pull complete [2023-03-15T02:58:08.933Z] 30dea6a524f1: Pull complete [2023-03-15T02:58:09.189Z] a2aff8979fd8: Pull complete [2023-03-15T02:58:11.087Z] 6808be2612f2: Pull complete [2023-03-15T02:58:12.018Z] f25807f1079a: Pull complete [2023-03-15T02:58:12.018Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T02:58:12.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T02:58:12.018Z] ---> 3b553350e43f [2023-03-15T02:58:12.018Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:58:16.214Z] ---> Running in 0e8570b451f4 [2023-03-15T02:58:16.214Z] Removing intermediate container 0e8570b451f4 [2023-03-15T02:58:16.214Z] ---> 783938bc0d0a [2023-03-15T02:58:16.214Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:58:16.214Z] ---> Running in f8285844f4f8 [2023-03-15T02:58:16.214Z] Removing intermediate container f8285844f4f8 [2023-03-15T02:58:16.214Z] ---> 38bae2d1a08d [2023-03-15T02:58:16.214Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:58:16.214Z] ---> Running in 7b90ff21b116 [2023-03-15T02:58:16.214Z] Removing intermediate container 7b90ff21b116 [2023-03-15T02:58:16.214Z] ---> d5f861046abe [2023-03-15T02:58:16.214Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:58:16.214Z] ---> Running in 8484874df468 [2023-03-15T02:58:16.214Z] Removing intermediate container 8484874df468 [2023-03-15T02:58:16.214Z] ---> 8958b3c04b8b [2023-03-15T02:58:16.214Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:58:16.214Z] ---> Running in bc6c09af5f56 [2023-03-15T02:58:16.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:58:16.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:58:16.730Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:58:16.730Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:58:16.730Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:58:16.991Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:58:16.991Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:58:16.991Z] OK: 269 MiB in 57 packages [2023-03-15T02:58:17.249Z] Removing intermediate container bc6c09af5f56 [2023-03-15T02:58:17.249Z] ---> e2fc504527e2 [2023-03-15T02:58:17.249Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-15T02:58:17.249Z] ---> Running in 03c6693c1450 [2023-03-15T02:58:17.507Z] Removing intermediate container 03c6693c1450 [2023-03-15T02:58:17.507Z] ---> 975dc1bae7ee [2023-03-15T02:58:17.507Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:58:17.507Z] ---> 054d1ea0bf3a [2023-03-15T02:58:17.507Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:58:17.507Z] ---> Running in eee736dd96c9 [2023-03-15T02:58:18.546Z] Still waiting to schedule task [2023-03-15T02:58:18.547Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T02:58:49.581Z] Removing intermediate container eee736dd96c9 [2023-03-15T02:58:49.581Z] ---> 85ebd2c13c8e [2023-03-15T02:58:49.581Z] Step 11/12 : COPY . . [2023-03-15T02:58:49.581Z] ---> ca8fc6dbbd76 [2023-03-15T02:58:49.581Z] Step 12/12 : RUN ${MAKE} [2023-03-15T02:58:49.581Z] ---> Running in fd93d5aee32b [2023-03-15T02:58:49.581Z] noop [2023-03-15T02:58:49.581Z] Removing intermediate container fd93d5aee32b [2023-03-15T02:58:49.581Z] ---> 276ef11f3bde [2023-03-15T02:58:49.581Z] Successfully built 276ef11f3bde [2023-03-15T02:58:49.581Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:49.892Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:58:49.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:58:49.958Z] prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container [2023-03-15T02:58:49.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:58:50.344Z] $ docker top d2582a0df47e92132c5cf368b86385303e5dcf3109a69c41e7db00ee21abe80c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:58:50.676Z] + go version [2023-03-15T02:58:50.676Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T02:58:50.689Z] $ docker stop --time=1 d2582a0df47e92132c5cf368b86385303e5dcf3109a69c41e7db00ee21abe80c [2023-03-15T02:58:51.987Z] $ docker rm -f --volumes d2582a0df47e92132c5cf368b86385303e5dcf3109a69c41e7db00ee21abe80c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:52.383Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:58:52.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:58:52.453Z] prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container [2023-03-15T02:58:52.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:58:52.809Z] $ docker top 6d2d2bcabe2227c61de71cf4c8416f011a97c10358ea6a74b274a9abaefc6a9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:58:53.148Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:58:53.446Z] + make test [2023-03-15T02:58:53.446Z] go test ./... -coverprofile=coverage.out [2023-03-15T02:58:57.628Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-15T02:59:07.608Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-15T02:59:07.608Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-03-15T02:59:12.866Z] go vet ./... [2023-03-15T02:59:15.390Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:59:15.390Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:59:15.390Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:59:15.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:59:15.412Z] $ docker stop --time=1 6d2d2bcabe2227c61de71cf4c8416f011a97c10358ea6a74b274a9abaefc6a9a [2023-03-15T02:59:19.457Z] $ docker rm -f --volumes 6d2d2bcabe2227c61de71cf4c8416f011a97c10358ea6a74b274a9abaefc6a9a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:59:19.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:59:20.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T02:59:20.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:59:20.797Z] + ls -al . [2023-03-15T02:59:20.797Z] total 172 [2023-03-15T02:59:20.798Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 02:58 . [2023-03-15T02:59:20.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:57 .. [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 02:57 .dockerignore [2023-03-15T02:59:20.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:58 .git [2023-03-15T02:59:20.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:57 .github [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 15 02:57 .gitignore [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:57 .golangci.yml [2023-03-15T02:59:20.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:58 .semver [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 15 02:57 Attribution.txt [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 15 02:57 CHANGELOG.md [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 15 02:57 Dockerfile [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:57 GOVERNANCE.md [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 02:57 Jenkinsfile [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:57 LICENSE [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 15 02:57 Makefile [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 02:57 OWNERS.md [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 15 02:57 README.md [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 15 02:58 VERSION [2023-03-15T02:59:20.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:57 bin [2023-03-15T02:59:20.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:57 cmd [2023-03-15T02:59:20.798Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 02:59 coverage.out [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 15 02:57 go.mod [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 15 02:57 go.sum [2023-03-15T02:59:20.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:57 internal [2023-03-15T02:59:20.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:57 snap [2023-03-15T02:59:20.798Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 15 02:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:21.097Z] + 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=d829a2c887c40068ff6155ebb33a7321d05cdfd6 --label arch=amd64 --label version=3.0.0-dev.8 . [2023-03-15T02:59:21.097Z] Sending build context to Docker daemon 5.72MB [2023-03-15T02:59:21.097Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:59:21.097Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T02:59:21.097Z] ---> 276ef11f3bde [2023-03-15T02:59:21.097Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:59:21.356Z] ---> Running in db14463c3820 [2023-03-15T02:59:21.356Z] Removing intermediate container db14463c3820 [2023-03-15T02:59:21.356Z] ---> 07729dd810e5 [2023-03-15T02:59:21.356Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:59:21.356Z] ---> Running in 72d5196d74fe [2023-03-15T02:59:21.356Z] Removing intermediate container 72d5196d74fe [2023-03-15T02:59:21.356Z] ---> be8d0f0fc9e8 [2023-03-15T02:59:21.356Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:59:21.356Z] ---> Running in e977d497a235 [2023-03-15T02:59:21.614Z] Removing intermediate container e977d497a235 [2023-03-15T02:59:21.614Z] ---> b847491e936f [2023-03-15T02:59:21.614Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:59:21.614Z] ---> Running in 7bb50a10949d [2023-03-15T02:59:21.614Z] Removing intermediate container 7bb50a10949d [2023-03-15T02:59:21.614Z] ---> 7862cff6adb3 [2023-03-15T02:59:21.614Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:59:21.614Z] ---> Running in 68561a9ea153 [2023-03-15T02:59:21.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:59:22.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:59:22.707Z] OK: 269 MiB in 57 packages [2023-03-15T02:59:23.644Z] Removing intermediate container 68561a9ea153 [2023-03-15T02:59:23.644Z] ---> 1ea4bdf11f75 [2023-03-15T02:59:23.644Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-15T02:59:23.903Z] ---> Running in 58c1a3d41c4e [2023-03-15T02:59:24.162Z] Removing intermediate container 58c1a3d41c4e [2023-03-15T02:59:24.162Z] ---> da72cfec853b [2023-03-15T02:59:24.162Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T02:59:24.422Z] ---> 7af0cbb4ac0c [2023-03-15T02:59:24.422Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:59:24.422Z] ---> Running in 92343cb0067a [2023-03-15T02:59:25.801Z] Removing intermediate container 92343cb0067a [2023-03-15T02:59:25.801Z] ---> 2d63e6767047 [2023-03-15T02:59:25.801Z] Step 11/24 : COPY . . [2023-03-15T02:59:25.801Z] ---> 1d2e5cdbcfd9 [2023-03-15T02:59:25.801Z] Step 12/24 : RUN ${MAKE} [2023-03-15T02:59:25.801Z] ---> Running in f325d8081466 [2023-03-15T02:59:26.058Z] 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-15T02:59:44.129Z] Removing intermediate container f325d8081466 [2023-03-15T02:59:44.129Z] ---> 45de9f223953 [2023-03-15T02:59:44.129Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T02:59:44.129Z] 3.17: Pulling from library/alpine [2023-03-15T02:59:44.129Z] 63b65145d645: Already exists [2023-03-15T02:59:44.388Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T02:59:44.388Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T02:59:44.388Z] ---> b2aa39c304c2 [2023-03-15T02:59:44.388Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T02:59:44.388Z] ---> Running in 008a0464f28b [2023-03-15T02:59:44.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:59:44.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:59:45.166Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T02:59:45.166Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:59:45.166Z] OK: 7 MiB in 16 packages [2023-03-15T02:59:45.424Z] Removing intermediate container 008a0464f28b [2023-03-15T02:59:45.424Z] ---> 4eafb69cb0ca [2023-03-15T02:59:45.424Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-15T02:59:46.484Z] ---> bd63df78b0e5 [2023-03-15T02:59:46.484Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-15T02:59:46.484Z] ---> 9bc8dc8f8ebf [2023-03-15T02:59:46.484Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-15T02:59:46.484Z] ---> 8849d63520f9 [2023-03-15T02:59:46.484Z] Step 18/24 : EXPOSE 59993 [2023-03-15T02:59:46.484Z] ---> Running in 4b9a850b77f1 [2023-03-15T02:59:46.484Z] Removing intermediate container 4b9a850b77f1 [2023-03-15T02:59:46.484Z] ---> 45cd9955fb72 [2023-03-15T02:59:46.484Z] Step 19/24 : EXPOSE 161 [2023-03-15T02:59:46.743Z] ---> Running in dcdd50e9dda0 [2023-03-15T02:59:46.743Z] Removing intermediate container dcdd50e9dda0 [2023-03-15T02:59:46.743Z] ---> eeebda814f09 [2023-03-15T02:59:46.743Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-15T02:59:46.743Z] ---> Running in 6f6742af1064 [2023-03-15T02:59:46.743Z] Removing intermediate container 6f6742af1064 [2023-03-15T02:59:46.743Z] ---> 9684610b795c [2023-03-15T02:59:46.743Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T02:59:46.743Z] ---> Running in b9b741021888 [2023-03-15T02:59:47.002Z] Removing intermediate container b9b741021888 [2023-03-15T02:59:47.002Z] ---> 529ec99dfc62 [2023-03-15T02:59:47.002Z] Step 22/24 : LABEL arch=amd64 [2023-03-15T02:59:47.002Z] ---> Running in 3f43adea3b4b [2023-03-15T02:59:47.002Z] Removing intermediate container 3f43adea3b4b [2023-03-15T02:59:47.002Z] ---> b50ba70b1c72 [2023-03-15T02:59:47.002Z] Step 23/24 : LABEL git_sha=d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T02:59:47.002Z] ---> Running in bff47da2c98c [2023-03-15T02:59:47.002Z] Removing intermediate container bff47da2c98c [2023-03-15T02:59:47.002Z] ---> 25ee00efd21f [2023-03-15T02:59:47.002Z] Step 24/24 : LABEL version=3.0.0-dev.8 [2023-03-15T02:59:47.002Z] ---> Running in b40c3d4e7b59 [2023-03-15T02:59:47.268Z] Removing intermediate container b40c3d4e7b59 [2023-03-15T02:59:47.268Z] ---> fdb3a6cb5fd7 [2023-03-15T02:59:47.268Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:59:47.268Z] Successfully built fdb3a6cb5fd7 [2023-03-15T02:59:47.268Z] 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-15T02:59:47.362Z] provisioning config files... [2023-03-15T02:59:47.371Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16536150255877307531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:59:47.691Z] ---> docker-login.sh [2023-03-15T02:59:47.691Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:59:47.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:59:47.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:59:47.691Z] Configure a credential helper to remove this warning. See [2023-03-15T02:59:47.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:59:47.691Z] [2023-03-15T02:59:47.691Z] Login Succeeded [2023-03-15T02:59:47.691Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:59:47.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:59:47.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:59:47.691Z] Configure a credential helper to remove this warning. See [2023-03-15T02:59:47.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:59:47.691Z] [2023-03-15T02:59:47.691Z] Login Succeeded [2023-03-15T02:59:47.691Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:59:47.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:59:47.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:59:47.949Z] Configure a credential helper to remove this warning. See [2023-03-15T02:59:47.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:59:47.950Z] [2023-03-15T02:59:47.950Z] Login Succeeded [2023-03-15T02:59:47.950Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:59:47.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:59:47.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:59:47.950Z] Configure a credential helper to remove this warning. See [2023-03-15T02:59:47.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:59:47.950Z] [2023-03-15T02:59:47.950Z] Login Succeeded [2023-03-15T02:59:47.950Z] docker.io [2023-03-15T02:59:47.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:59:48.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:59:48.208Z] Configure a credential helper to remove this warning. See [2023-03-15T02:59:48.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:59:48.208Z] [2023-03-15T02:59:48.208Z] Login Succeeded [2023-03-15T02:59:48.208Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:59:48.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:59:48.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:59:48.268Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-03-15T02:59:48.268Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T02:59:48.268Z] latest [2023-03-15T02:59:48.268Z] 3.0.0-dev.8 [2023-03-15T02:59:48.268Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [2023-03-15T02:59:48.268Z] main [2023-03-15T02:59:48.268Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:48.605Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d829a2c887c40068ff6155ebb33a7321d05cdfd6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:48.916Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T02:59:48.916Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-15T02:59:48.916Z] db3ec4558dc2: Preparing [2023-03-15T02:59:48.916Z] e34902cd35fb: Preparing [2023-03-15T02:59:48.916Z] bf8faad1c769: Preparing [2023-03-15T02:59:48.916Z] 2141a577dcf6: Preparing [2023-03-15T02:59:48.916Z] 7cd52847ad77: Preparing [2023-03-15T02:59:48.916Z] 7cd52847ad77: Layer already exists [2023-03-15T02:59:48.916Z] e34902cd35fb: Pushed [2023-03-15T02:59:48.916Z] db3ec4558dc2: Pushed [2023-03-15T02:59:48.916Z] 2141a577dcf6: Pushed [2023-03-15T02:59:51.455Z] bf8faad1c769: Pushed [2023-03-15T02:59:51.455Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6: digest: sha256:0c5435d64bc6e3af6e48970a199188499ca206ae0472220092bbdd262bdb1c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:51.758Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:52.055Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-15T02:59:52.055Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-15T02:59:52.055Z] db3ec4558dc2: Preparing [2023-03-15T02:59:52.055Z] e34902cd35fb: Preparing [2023-03-15T02:59:52.055Z] bf8faad1c769: Preparing [2023-03-15T02:59:52.055Z] 2141a577dcf6: Preparing [2023-03-15T02:59:52.055Z] 7cd52847ad77: Preparing [2023-03-15T02:59:52.055Z] 7cd52847ad77: Layer already exists [2023-03-15T02:59:52.055Z] 2141a577dcf6: Layer already exists [2023-03-15T02:59:52.055Z] bf8faad1c769: Layer already exists [2023-03-15T02:59:52.055Z] db3ec4558dc2: Layer already exists [2023-03-15T02:59:52.055Z] e34902cd35fb: Layer already exists [2023-03-15T02:59:52.055Z] latest: digest: sha256:0c5435d64bc6e3af6e48970a199188499ca206ae0472220092bbdd262bdb1c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:52.356Z] + 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-15T02:59:52.655Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.8 [2023-03-15T02:59:52.655Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-15T02:59:52.655Z] db3ec4558dc2: Preparing [2023-03-15T02:59:52.655Z] e34902cd35fb: Preparing [2023-03-15T02:59:52.655Z] bf8faad1c769: Preparing [2023-03-15T02:59:52.655Z] 2141a577dcf6: Preparing [2023-03-15T02:59:52.655Z] 7cd52847ad77: Preparing [2023-03-15T02:59:52.655Z] db3ec4558dc2: Layer already exists [2023-03-15T02:59:52.655Z] 2141a577dcf6: Layer already exists [2023-03-15T02:59:52.655Z] 7cd52847ad77: Layer already exists [2023-03-15T02:59:52.655Z] bf8faad1c769: Layer already exists [2023-03-15T02:59:52.655Z] e34902cd35fb: Layer already exists [2023-03-15T02:59:52.655Z] 3.0.0-dev.8: digest: sha256:0c5435d64bc6e3af6e48970a199188499ca206ae0472220092bbdd262bdb1c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:52.962Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:53.257Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [2023-03-15T02:59:53.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-15T02:59:53.258Z] db3ec4558dc2: Preparing [2023-03-15T02:59:53.258Z] e34902cd35fb: Preparing [2023-03-15T02:59:53.258Z] bf8faad1c769: Preparing [2023-03-15T02:59:53.258Z] 2141a577dcf6: Preparing [2023-03-15T02:59:53.258Z] 7cd52847ad77: Preparing [2023-03-15T02:59:53.258Z] 7cd52847ad77: Layer already exists [2023-03-15T02:59:53.258Z] db3ec4558dc2: Layer already exists [2023-03-15T02:59:53.258Z] e34902cd35fb: Layer already exists [2023-03-15T02:59:53.258Z] 2141a577dcf6: Layer already exists [2023-03-15T02:59:53.258Z] bf8faad1c769: Layer already exists [2023-03-15T02:59:53.258Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8: digest: sha256:0c5435d64bc6e3af6e48970a199188499ca206ae0472220092bbdd262bdb1c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:53.560Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:53.858Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-03-15T02:59:53.858Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-15T02:59:53.858Z] db3ec4558dc2: Preparing [2023-03-15T02:59:53.858Z] e34902cd35fb: Preparing [2023-03-15T02:59:53.858Z] bf8faad1c769: Preparing [2023-03-15T02:59:53.858Z] 2141a577dcf6: Preparing [2023-03-15T02:59:53.858Z] 7cd52847ad77: Preparing [2023-03-15T02:59:53.858Z] 7cd52847ad77: Layer already exists [2023-03-15T02:59:53.858Z] e34902cd35fb: Layer already exists [2023-03-15T02:59:53.858Z] db3ec4558dc2: Layer already exists [2023-03-15T02:59:53.858Z] 2141a577dcf6: Layer already exists [2023-03-15T02:59:53.858Z] bf8faad1c769: Layer already exists [2023-03-15T02:59:53.858Z] main: digest: sha256:0c5435d64bc6e3af6e48970a199188499ca206ae0472220092bbdd262bdb1c25 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:59:53.893Z] ===================================================== [Pipeline] echo [2023-03-15T02:59:53.897Z] taggedImages: [2023-03-15T02:59:53.897Z] - nexus3.edgexfoundry.org:10004/device-snmp:d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T02:59:53.897Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-15T02:59:53.897Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.8 [2023-03-15T02:59:53.897Z] - nexus3.edgexfoundry.org:10004/device-snmp:d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [2023-03-15T02:59:53.897Z] - 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-15T02:59:54.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:59:54.253Z] [2023-03-15T02:59:54.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:59:54.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:59:54.545Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T02:59:54.545Z] 5eb5b503b376: Pulling fs layer [2023-03-15T02:59:54.545Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T02:59:54.545Z] ec43610c2a17: Pulling fs layer [2023-03-15T02:59:54.545Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T02:59:54.545Z] 33b1e0a273af: Pulling fs layer [2023-03-15T02:59:54.545Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T02:59:54.545Z] 2f39f015ded8: Pulling fs layer [2023-03-15T02:59:54.545Z] 3a2ae6a8a46f: Waiting [2023-03-15T02:59:54.545Z] 33b1e0a273af: Waiting [2023-03-15T02:59:54.545Z] 5d3b04190fa2: Waiting [2023-03-15T02:59:54.545Z] 2f39f015ded8: Waiting [2023-03-15T02:59:54.545Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T02:59:54.545Z] 5c69ac0246d0: Download complete [2023-03-15T02:59:54.545Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T02:59:54.545Z] 3a2ae6a8a46f: Download complete [2023-03-15T02:59:54.803Z] 33b1e0a273af: Verifying Checksum [2023-03-15T02:59:54.803Z] 33b1e0a273af: Download complete [2023-03-15T02:59:54.803Z] ec43610c2a17: Verifying Checksum [2023-03-15T02:59:54.803Z] ec43610c2a17: Download complete [2023-03-15T02:59:54.803Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T02:59:54.803Z] 5d3b04190fa2: Download complete [2023-03-15T02:59:54.803Z] 5eb5b503b376: Verifying Checksum [2023-03-15T02:59:54.803Z] 5eb5b503b376: Download complete [2023-03-15T02:59:55.366Z] 2f39f015ded8: Download complete [2023-03-15T02:59:55.930Z] 5eb5b503b376: Pull complete [2023-03-15T02:59:55.930Z] 5c69ac0246d0: Pull complete [2023-03-15T02:59:56.492Z] ec43610c2a17: Pull complete [2023-03-15T02:59:56.492Z] 3a2ae6a8a46f: Pull complete [2023-03-15T02:59:56.749Z] 33b1e0a273af: Pull complete [2023-03-15T02:59:56.749Z] 5d3b04190fa2: Pull complete [2023-03-15T03:00:00.930Z] 2f39f015ded8: Pull complete [2023-03-15T03:00:00.930Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T03:00:00.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T03:00:00.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:00:01.000Z] prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container [2023-03-15T03:00:01.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T03:00:04.162Z] $ docker top ab47973b3e4d72b67d6a1eaacc2763bc96b28dcfdfee187e1ae7da9cad08a806 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:04.514Z] ---> job-cost.sh [2023-03-15T03:00:04.514Z] lf-activate-venv: SKIPPING [2023-03-15T03:00:04.514Z] INFO: No Stack... [2023-03-15T03:00:04.772Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T03:00:05.031Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T03:00:05.315Z] + + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csvcut [2023-03-15T03:00:05.315Z] -d, -f6 [Pipeline] lock [2023-03-15T03:00:05.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] [2023-03-15T03:00:05.332Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] did not exist. Created. [2023-03-15T03:00:05.332Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T03:00:05.624Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T03:00:05.653Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T03:00:05.667Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T03:00:05.687Z] $ docker stop --time=1 ab47973b3e4d72b67d6a1eaacc2763bc96b28dcfdfee187e1ae7da9cad08a806 [2023-03-15T03:00:06.830Z] $ docker rm -f --volumes ab47973b3e4d72b67d6a1eaacc2763bc96b28dcfdfee187e1ae7da9cad08a806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T03:01:26.421Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-344 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-03-15T03:01:26.433Z] Running in /w/workspace/device-snmp-go/64 [Pipeline] { [Pipeline] checkout [2023-03-15T03:01:26.490Z] Selected Git installation does not exist. Using Default [2023-03-15T03:01:26.490Z] The recommended git tool is: NONE [2023-03-15T03:01:38.445Z] using credential edgex-jenkins-ssh [2023-03-15T03:01:38.469Z] Cloning the remote Git repository [2023-03-15T03:01:38.545Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-15T03:01:38.698Z] > git init /w/workspace/device-snmp-go/64 # timeout=10 [2023-03-15T03:01:39.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-15T03:01:39.009Z] > git --version # timeout=10 [2023-03-15T03:01:39.056Z] > git --version # 'git version 2.25.1' [2023-03-15T03:01:39.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T03:01:39.354Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T03:01:40.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-15T03:01:40.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T03:01:42.477Z] Avoid second fetch [2023-03-15T03:01:42.478Z] Checking out Revision d829a2c887c40068ff6155ebb33a7321d05cdfd6 (main) [2023-03-15T03:01:42.509Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T03:01:42.654Z] > git checkout -f d829a2c887c40068ff6155ebb33a7321d05cdfd6 # timeout=10 [2023-03-15T03:01:43.707Z] Commit message: "Merge pull request #263 from lenny-intel/go-1.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T03:01:44.789Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T03:01:44.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T03:01:44.789Z] Dload Upload Total Spent Left Speed [2023-03-15T03:01:44.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 157k 0 --:--:-- --:--:-- --:--:-- 155k [Pipeline] sh [2023-03-15T03:01:45.585Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T03:01:45.954Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T03:01:45.954Z] + sudo tee /etc/docker/daemon.new [2023-03-15T03:01:45.954Z] { [2023-03-15T03:01:45.954Z] "registry-mirrors": [ [2023-03-15T03:01:45.954Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T03:01:45.954Z] ], [2023-03-15T03:01:45.954Z] "bip": "10.250.0.254/24", [2023-03-15T03:01:45.954Z] "hosts": [ [2023-03-15T03:01:45.954Z] "tcp://0.0.0.0:5555", [2023-03-15T03:01:45.954Z] "unix:///var/run/docker.sock" [2023-03-15T03:01:45.954Z] ], [2023-03-15T03:01:45.954Z] "mtu": 1458, [2023-03-15T03:01:45.954Z] "selinux-enabled": true, [2023-03-15T03:01:45.954Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T03:01:45.954Z] } [Pipeline] sh [2023-03-15T03:01:46.318Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T03:01:46.683Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T03:02:05.028Z] provisioning config files... [2023-03-15T03:02:05.065Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/64@tmp/config9595041328443632635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:02:05.450Z] ---> docker-login.sh [2023-03-15T03:02:05.450Z] nexus3.edgexfoundry.org:10001 [2023-03-15T03:02:06.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:02:06.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:02:06.321Z] Configure a credential helper to remove this warning. See [2023-03-15T03:02:06.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:02:06.321Z] [2023-03-15T03:02:06.321Z] Login Succeeded [2023-03-15T03:02:06.321Z] nexus3.edgexfoundry.org:10002 [2023-03-15T03:02:06.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:02:06.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:02:06.594Z] Configure a credential helper to remove this warning. See [2023-03-15T03:02:06.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:02:06.594Z] [2023-03-15T03:02:06.594Z] Login Succeeded [2023-03-15T03:02:06.594Z] nexus3.edgexfoundry.org:10003 [2023-03-15T03:02:06.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:02:07.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:02:07.149Z] Configure a credential helper to remove this warning. See [2023-03-15T03:02:07.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:02:07.149Z] [2023-03-15T03:02:07.149Z] Login Succeeded [2023-03-15T03:02:07.149Z] nexus3.edgexfoundry.org:10004 [2023-03-15T03:02:07.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:02:07.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:02:07.428Z] Configure a credential helper to remove this warning. See [2023-03-15T03:02:07.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:02:07.428Z] [2023-03-15T03:02:07.428Z] Login Succeeded [2023-03-15T03:02:07.428Z] docker.io [2023-03-15T03:02:07.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:02:07.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:02:07.978Z] Configure a credential helper to remove this warning. See [2023-03-15T03:02:07.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:02:07.978Z] [2023-03-15T03:02:07.978Z] Login Succeeded [2023-03-15T03:02:07.978Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T03:02:07.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T03:02:08.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T03:02:08.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T03:02:08.410Z] ========================================================= [2023-03-15T03:02:08.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T03:02:08.410Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:02:08.787Z] + 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-15T03:02:09.064Z] Sending build context to Docker daemon 2.959MB [2023-03-15T03:02:09.064Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T03:02:09.064Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T03:02:09.362Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T03:02:09.362Z] af6eaf76a39c: Pulling fs layer [2023-03-15T03:02:09.362Z] 55522c791124: Pulling fs layer [2023-03-15T03:02:09.362Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T03:02:09.362Z] 169dfbe0d373: Pulling fs layer [2023-03-15T03:02:09.362Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T03:02:09.362Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T03:02:09.362Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T03:02:09.362Z] 169dfbe0d373: Waiting [2023-03-15T03:02:09.362Z] e1ff8fa3b103: Waiting [2023-03-15T03:02:09.362Z] 52ebb69f0ebf: Waiting [2023-03-15T03:02:09.362Z] 5abe8eddf0d5: Waiting [2023-03-15T03:02:09.362Z] 55522c791124: Download complete [2023-03-15T03:02:09.362Z] 169dfbe0d373: Verifying Checksum [2023-03-15T03:02:09.362Z] 169dfbe0d373: Download complete [2023-03-15T03:02:09.652Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T03:02:09.652Z] e1ff8fa3b103: Download complete [2023-03-15T03:02:09.652Z] af6eaf76a39c: Verifying Checksum [2023-03-15T03:02:09.652Z] af6eaf76a39c: Download complete [2023-03-15T03:02:10.634Z] af6eaf76a39c: Pull complete [2023-03-15T03:02:11.234Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T03:02:11.234Z] 5abe8eddf0d5: Download complete [2023-03-15T03:02:11.234Z] 55522c791124: Pull complete [2023-03-15T03:02:12.253Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T03:02:12.253Z] 52ebb69f0ebf: Download complete [2023-03-15T03:02:12.253Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T03:02:12.253Z] ce5c4a1c91eb: Download complete [2023-03-15T03:02:24.630Z] ce5c4a1c91eb: Pull complete [2023-03-15T03:02:24.630Z] 169dfbe0d373: Pull complete [2023-03-15T03:02:24.630Z] e1ff8fa3b103: Pull complete [2023-03-15T03:02:31.330Z] 52ebb69f0ebf: Pull complete [2023-03-15T03:02:32.880Z] 5abe8eddf0d5: Pull complete [2023-03-15T03:02:32.880Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T03:02:32.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T03:02:32.880Z] ---> 6cb57ee374ae [2023-03-15T03:02:32.880Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T03:02:35.519Z] ---> Running in 95764b78ff1d [2023-03-15T03:02:35.519Z] Removing intermediate container 95764b78ff1d [2023-03-15T03:02:35.519Z] ---> c4de92485ea7 [2023-03-15T03:02:35.519Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T03:02:35.519Z] ---> Running in a6d9b3afbbee [2023-03-15T03:02:35.800Z] Removing intermediate container a6d9b3afbbee [2023-03-15T03:02:35.800Z] ---> b1d6207af783 [2023-03-15T03:02:35.800Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T03:02:36.084Z] ---> Running in 3e92b030430a [2023-03-15T03:02:36.356Z] Removing intermediate container 3e92b030430a [2023-03-15T03:02:36.356Z] ---> b7b10611b27a [2023-03-15T03:02:36.356Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T03:02:36.628Z] ---> Running in 8d7d5b31547d [2023-03-15T03:02:36.930Z] Removing intermediate container 8d7d5b31547d [2023-03-15T03:02:36.930Z] ---> 74e5f37f1342 [2023-03-15T03:02:36.930Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T03:02:36.930Z] ---> Running in 2b385ae86586 [2023-03-15T03:02:38.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T03:02:38.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T03:02:40.426Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T03:02:40.427Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T03:02:40.427Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T03:02:40.701Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T03:02:40.701Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T03:02:40.701Z] OK: 268 MiB in 57 packages [2023-03-15T03:02:43.312Z] Removing intermediate container 2b385ae86586 [2023-03-15T03:02:43.312Z] ---> c189219dcbe6 [2023-03-15T03:02:43.312Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-15T03:02:43.312Z] ---> Running in d8acb2e53fe7 [2023-03-15T03:02:43.312Z] Removing intermediate container d8acb2e53fe7 [2023-03-15T03:02:43.312Z] ---> c006a08d3d9f [2023-03-15T03:02:43.312Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T03:02:43.902Z] ---> 23bb92a27c34 [2023-03-15T03:02:43.902Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T03:02:43.902Z] ---> Running in e0ebe546df33 [2023-03-15T03:03:52.176Z] Removing intermediate container e0ebe546df33 [2023-03-15T03:03:52.176Z] ---> 8c81e4d1761c [2023-03-15T03:03:52.176Z] Step 11/12 : COPY . . [2023-03-15T03:03:52.176Z] ---> 16de86291399 [2023-03-15T03:03:52.176Z] Step 12/12 : RUN ${MAKE} [2023-03-15T03:03:52.176Z] ---> Running in a3142b9bfaa1 [2023-03-15T03:03:52.176Z] noop [2023-03-15T03:03:53.164Z] Removing intermediate container a3142b9bfaa1 [2023-03-15T03:03:53.164Z] ---> ca709c207faf [2023-03-15T03:03:53.164Z] Successfully built ca709c207faf [2023-03-15T03:03:53.164Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:03:53.541Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T03:03:53.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:03:53.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-344 does not seem to be running inside a container [2023-03-15T03:03:53.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/64 -v /w/workspace/device-snmp-go/64:/w/workspace/device-snmp-go/64:rw,z -v /w/workspace/device-snmp-go/64@tmp:/w/workspace/device-snmp-go/64@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-15T03:03:55.284Z] $ docker top 2e9d76d59e016d6628b6120a88d9066b643b7b29adc48a59a1cdeb129d080f2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T03:03:56.165Z] + go version [2023-03-15T03:03:56.165Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T03:03:56.195Z] $ docker stop --time=1 2e9d76d59e016d6628b6120a88d9066b643b7b29adc48a59a1cdeb129d080f2a [2023-03-15T03:03:57.939Z] $ docker rm -f --volumes 2e9d76d59e016d6628b6120a88d9066b643b7b29adc48a59a1cdeb129d080f2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:03:58.504Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T03:03:58.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:03:58.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-344 does not seem to be running inside a container [2023-03-15T03:03:58.821Z] $ 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/64 -v /w/workspace/device-snmp-go/64:/w/workspace/device-snmp-go/64:rw,z -v /w/workspace/device-snmp-go/64@tmp:/w/workspace/device-snmp-go/64@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-15T03:04:00.224Z] $ docker top 06a4f56290ef1b8f772c49d327f42bf6257860d22ffdda452fb7b65e6aee4f6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T03:04:01.116Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/64 [Pipeline] fileExists [Pipeline] sh [2023-03-15T03:04:01.789Z] + make test [2023-03-15T03:04:01.789Z] go test ./... -coverprofile=coverage.out [2023-03-15T03:04:40.730Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-15T03:07:02.524Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-15T03:07:02.524Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements [2023-03-15T03:07:02.524Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T03:07:02.524Z] go vet ./... [2023-03-15T03:07:32.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T03:07:32.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T03:07:32.402Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T03:07:32.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T03:07:32.440Z] $ docker stop --time=1 06a4f56290ef1b8f772c49d327f42bf6257860d22ffdda452fb7b65e6aee4f6e [2023-03-15T03:07:37.079Z] $ docker rm -f --volumes 06a4f56290ef1b8f772c49d327f42bf6257860d22ffdda452fb7b65e6aee4f6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T03:07:38.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T03:07:38.372Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T03:07:38.995Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T03:07:39.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T03:07:39.739Z] + ls -al . [2023-03-15T03:07:39.739Z] total 168 [2023-03-15T03:07:39.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 03:04 . [2023-03-15T03:07:39.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 03:01 .. [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 03:01 .dockerignore [2023-03-15T03:07:39.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 03:01 .git [2023-03-15T03:07:39.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 03:01 .github [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 15 03:01 .gitignore [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 03:01 .golangci.yml [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 15 03:01 Attribution.txt [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 15 03:01 CHANGELOG.md [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 15 03:01 Dockerfile [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 03:01 GOVERNANCE.md [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 03:01 Jenkinsfile [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 03:01 LICENSE [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 15 03:01 Makefile [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 03:01 OWNERS.md [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 15 03:01 README.md [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 15 02:58 VERSION [2023-03-15T03:07:39.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 03:01 bin [2023-03-15T03:07:39.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 03:01 cmd [2023-03-15T03:07:39.740Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 03:06 coverage.out [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 15 03:01 go.mod [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 15 03:01 go.sum [2023-03-15T03:07:39.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 03:01 internal [2023-03-15T03:07:39.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 03:01 snap [2023-03-15T03:07:39.740Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 15 03:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:07:40.096Z] + 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=d829a2c887c40068ff6155ebb33a7321d05cdfd6 --label arch=arm64 --label version=3.0.0-dev.8 . [2023-03-15T03:07:40.365Z] Sending build context to Docker daemon 2.967MB [2023-03-15T03:07:40.365Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T03:07:40.365Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T03:07:40.365Z] ---> ca709c207faf [2023-03-15T03:07:40.365Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T03:07:40.635Z] ---> Running in 67bcdc00d54f [2023-03-15T03:07:41.226Z] Removing intermediate container 67bcdc00d54f [2023-03-15T03:07:41.226Z] ---> 89ee71ae70b1 [2023-03-15T03:07:41.226Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T03:07:41.226Z] ---> Running in 871f36e97a64 [2023-03-15T03:07:41.497Z] Removing intermediate container 871f36e97a64 [2023-03-15T03:07:41.497Z] ---> b4ce2b51a1af [2023-03-15T03:07:41.497Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T03:07:41.497Z] ---> Running in 5704cfb64fa1 [2023-03-15T03:07:42.089Z] Removing intermediate container 5704cfb64fa1 [2023-03-15T03:07:42.089Z] ---> df5de454e298 [2023-03-15T03:07:42.089Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T03:07:42.089Z] ---> Running in 641f6049e83f [2023-03-15T03:07:42.365Z] Removing intermediate container 641f6049e83f [2023-03-15T03:07:42.365Z] ---> 91dcc0730ce4 [2023-03-15T03:07:42.365Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T03:07:42.633Z] ---> Running in 8a470b44c0a1 [2023-03-15T03:07:44.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T03:07:44.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T03:07:46.091Z] OK: 268 MiB in 57 packages [2023-03-15T03:07:47.063Z] Removing intermediate container 8a470b44c0a1 [2023-03-15T03:07:47.063Z] ---> 7326f2905982 [2023-03-15T03:07:47.063Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-15T03:07:47.332Z] ---> Running in 29874b69d41e [2023-03-15T03:07:47.603Z] Removing intermediate container 29874b69d41e [2023-03-15T03:07:47.603Z] ---> 1bf8ba90ed91 [2023-03-15T03:07:47.603Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T03:07:49.555Z] ---> 194f213c4b65 [2023-03-15T03:07:49.555Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T03:07:49.555Z] ---> Running in 22b7886016d6 [2023-03-15T03:07:52.929Z] Removing intermediate container 22b7886016d6 [2023-03-15T03:07:52.929Z] ---> 163ae758d986 [2023-03-15T03:07:52.929Z] Step 11/24 : COPY . . [2023-03-15T03:07:53.514Z] ---> 1d57e17bd862 [2023-03-15T03:07:53.514Z] Step 12/24 : RUN ${MAKE} [2023-03-15T03:07:53.786Z] ---> Running in 853af962651d [2023-03-15T03:07:54.745Z] 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-15T03:10:31.515Z] Removing intermediate container 853af962651d [2023-03-15T03:10:31.515Z] ---> 21032cfcaf10 [2023-03-15T03:10:31.515Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T03:10:31.515Z] 3.17: Pulling from library/alpine [2023-03-15T03:10:31.515Z] af6eaf76a39c: Already exists [2023-03-15T03:10:31.515Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T03:10:31.515Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T03:10:31.515Z] ---> d74e625d9115 [2023-03-15T03:10:31.515Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T03:10:31.515Z] ---> Running in 4b250f3c1884 [2023-03-15T03:10:31.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T03:10:31.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T03:10:31.515Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T03:10:31.515Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T03:10:31.515Z] OK: 8 MiB in 16 packages [2023-03-15T03:10:31.515Z] Removing intermediate container 4b250f3c1884 [2023-03-15T03:10:31.515Z] ---> fe82dc6e8751 [2023-03-15T03:10:31.515Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-15T03:10:32.480Z] ---> 4d90d7234feb [2023-03-15T03:10:32.480Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-15T03:10:33.069Z] ---> f57f4935500a [2023-03-15T03:10:33.069Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-15T03:10:33.342Z] ---> 9864bc177d50 [2023-03-15T03:10:33.342Z] Step 18/24 : EXPOSE 59993 [2023-03-15T03:10:33.609Z] ---> Running in 4eec163324ff [2023-03-15T03:10:33.877Z] Removing intermediate container 4eec163324ff [2023-03-15T03:10:33.877Z] ---> 85b862ea26b6 [2023-03-15T03:10:33.877Z] Step 19/24 : EXPOSE 161 [2023-03-15T03:10:33.877Z] ---> Running in b60889d2db0f [2023-03-15T03:10:34.146Z] Removing intermediate container b60889d2db0f [2023-03-15T03:10:34.146Z] ---> 13f48cbfcdfc [2023-03-15T03:10:34.146Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-15T03:10:34.419Z] ---> Running in fc9583dd398e [2023-03-15T03:10:34.686Z] Removing intermediate container fc9583dd398e [2023-03-15T03:10:34.686Z] ---> 8b5cdb893105 [2023-03-15T03:10:34.686Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T03:10:34.686Z] ---> Running in 11549a42c60f [2023-03-15T03:10:34.967Z] Removing intermediate container 11549a42c60f [2023-03-15T03:10:34.967Z] ---> fd13df62b789 [2023-03-15T03:10:34.967Z] Step 22/24 : LABEL arch=arm64 [2023-03-15T03:10:35.236Z] ---> Running in fd48fe9bd770 [2023-03-15T03:10:35.505Z] Removing intermediate container fd48fe9bd770 [2023-03-15T03:10:35.505Z] ---> 17ee27710182 [2023-03-15T03:10:35.505Z] Step 23/24 : LABEL git_sha=d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T03:10:35.505Z] ---> Running in 204a2248d8b6 [2023-03-15T03:10:35.774Z] Removing intermediate container 204a2248d8b6 [2023-03-15T03:10:35.774Z] ---> 5db6b80f1333 [2023-03-15T03:10:35.774Z] Step 24/24 : LABEL version=3.0.0-dev.8 [2023-03-15T03:10:36.041Z] ---> Running in e62185c5c227 [2023-03-15T03:10:36.309Z] Removing intermediate container e62185c5c227 [2023-03-15T03:10:36.309Z] ---> f2805451c4a0 [2023-03-15T03:10:36.309Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T03:10:36.309Z] Successfully built f2805451c4a0 [2023-03-15T03:10:36.309Z] 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-15T03:10:36.444Z] provisioning config files... [2023-03-15T03:10:36.462Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/64@tmp/config12028277091253858284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:10:36.808Z] ---> docker-login.sh [2023-03-15T03:10:36.808Z] nexus3.edgexfoundry.org:10001 [2023-03-15T03:10:37.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:10:37.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:10:37.075Z] Configure a credential helper to remove this warning. See [2023-03-15T03:10:37.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:10:37.075Z] [2023-03-15T03:10:37.075Z] Login Succeeded [2023-03-15T03:10:37.075Z] nexus3.edgexfoundry.org:10002 [2023-03-15T03:10:37.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:10:37.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:10:37.614Z] Configure a credential helper to remove this warning. See [2023-03-15T03:10:37.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:10:37.614Z] [2023-03-15T03:10:37.614Z] Login Succeeded [2023-03-15T03:10:37.614Z] nexus3.edgexfoundry.org:10003 [2023-03-15T03:10:37.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:10:37.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:10:37.884Z] Configure a credential helper to remove this warning. See [2023-03-15T03:10:37.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:10:37.884Z] [2023-03-15T03:10:37.884Z] Login Succeeded [2023-03-15T03:10:37.884Z] nexus3.edgexfoundry.org:10004 [2023-03-15T03:10:38.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:10:38.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:10:38.421Z] Configure a credential helper to remove this warning. See [2023-03-15T03:10:38.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:10:38.421Z] [2023-03-15T03:10:38.421Z] Login Succeeded [2023-03-15T03:10:38.421Z] docker.io [2023-03-15T03:10:38.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:10:38.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:10:38.960Z] Configure a credential helper to remove this warning. See [2023-03-15T03:10:38.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:10:38.960Z] [2023-03-15T03:10:38.960Z] Login Succeeded [2023-03-15T03:10:38.960Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T03:10:38.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T03:10:39.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T03:10:39.030Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-03-15T03:10:39.030Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T03:10:39.030Z] latest [2023-03-15T03:10:39.030Z] 3.0.0-dev.8 [2023-03-15T03:10:39.030Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [2023-03-15T03:10:39.030Z] main [2023-03-15T03:10:39.030Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:10:39.389Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d829a2c887c40068ff6155ebb33a7321d05cdfd6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:10:39.818Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T03:10:39.818Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-15T03:10:39.818Z] d6234f9b353d: Preparing [2023-03-15T03:10:39.818Z] 71eef776f366: Preparing [2023-03-15T03:10:39.818Z] 535b1ecd122c: Preparing [2023-03-15T03:10:39.818Z] ce669808f099: Preparing [2023-03-15T03:10:39.818Z] edf70074bd40: Preparing [2023-03-15T03:10:40.103Z] edf70074bd40: Layer already exists [2023-03-15T03:11:36.586Z] 71eef776f366: Pushed [2023-03-15T03:11:36.586Z] ce669808f099: Pushed [2023-03-15T03:11:36.586Z] d6234f9b353d: Pushed [2023-03-15T03:11:36.586Z] 535b1ecd122c: Pushed [2023-03-15T03:11:36.586Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6: digest: sha256:6730b93342433e2503afce47bf2a30ab1016fcc71ca5f264eeaff40bd09e8b94 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:36.934Z] + 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-15T03:11:37.276Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-15T03:11:37.276Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-15T03:11:37.276Z] d6234f9b353d: Preparing [2023-03-15T03:11:37.276Z] 71eef776f366: Preparing [2023-03-15T03:11:37.276Z] 535b1ecd122c: Preparing [2023-03-15T03:11:37.276Z] ce669808f099: Preparing [2023-03-15T03:11:37.276Z] edf70074bd40: Preparing [2023-03-15T03:11:37.276Z] edf70074bd40: Layer already exists [2023-03-15T03:11:37.276Z] 71eef776f366: Layer already exists [2023-03-15T03:11:37.276Z] 535b1ecd122c: Layer already exists [2023-03-15T03:11:37.276Z] d6234f9b353d: Layer already exists [2023-03-15T03:11:37.276Z] ce669808f099: Layer already exists [2023-03-15T03:11:37.542Z] latest: digest: sha256:6730b93342433e2503afce47bf2a30ab1016fcc71ca5f264eeaff40bd09e8b94 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:37.889Z] + 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-15T03:11:38.234Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.8 [2023-03-15T03:11:38.234Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-15T03:11:38.234Z] d6234f9b353d: Preparing [2023-03-15T03:11:38.234Z] 71eef776f366: Preparing [2023-03-15T03:11:38.234Z] 535b1ecd122c: Preparing [2023-03-15T03:11:38.234Z] ce669808f099: Preparing [2023-03-15T03:11:38.234Z] edf70074bd40: Preparing [2023-03-15T03:11:38.234Z] 71eef776f366: Layer already exists [2023-03-15T03:11:38.234Z] edf70074bd40: Layer already exists [2023-03-15T03:11:38.234Z] 535b1ecd122c: Layer already exists [2023-03-15T03:11:38.234Z] ce669808f099: Layer already exists [2023-03-15T03:11:38.234Z] d6234f9b353d: Layer already exists [2023-03-15T03:11:38.234Z] 3.0.0-dev.8: digest: sha256:6730b93342433e2503afce47bf2a30ab1016fcc71ca5f264eeaff40bd09e8b94 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:38.580Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:38.921Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [2023-03-15T03:11:38.921Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-15T03:11:38.921Z] d6234f9b353d: Preparing [2023-03-15T03:11:38.921Z] 71eef776f366: Preparing [2023-03-15T03:11:38.921Z] 535b1ecd122c: Preparing [2023-03-15T03:11:38.921Z] ce669808f099: Preparing [2023-03-15T03:11:38.921Z] edf70074bd40: Preparing [2023-03-15T03:11:38.921Z] edf70074bd40: Layer already exists [2023-03-15T03:11:38.921Z] 535b1ecd122c: Layer already exists [2023-03-15T03:11:38.921Z] d6234f9b353d: Layer already exists [2023-03-15T03:11:38.921Z] ce669808f099: Layer already exists [2023-03-15T03:11:38.921Z] 71eef776f366: Layer already exists [2023-03-15T03:11:38.921Z] d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8: digest: sha256:6730b93342433e2503afce47bf2a30ab1016fcc71ca5f264eeaff40bd09e8b94 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:39.535Z] + 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-15T03:11:39.887Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-03-15T03:11:39.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-15T03:11:39.887Z] d6234f9b353d: Preparing [2023-03-15T03:11:39.887Z] 71eef776f366: Preparing [2023-03-15T03:11:39.887Z] 535b1ecd122c: Preparing [2023-03-15T03:11:39.887Z] ce669808f099: Preparing [2023-03-15T03:11:39.887Z] edf70074bd40: Preparing [2023-03-15T03:11:39.887Z] d6234f9b353d: Layer already exists [2023-03-15T03:11:39.887Z] 535b1ecd122c: Layer already exists [2023-03-15T03:11:39.887Z] edf70074bd40: Layer already exists [2023-03-15T03:11:39.887Z] ce669808f099: Layer already exists [2023-03-15T03:11:39.887Z] 71eef776f366: Layer already exists [2023-03-15T03:11:40.157Z] main: digest: sha256:6730b93342433e2503afce47bf2a30ab1016fcc71ca5f264eeaff40bd09e8b94 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T03:11:40.206Z] ===================================================== [Pipeline] echo [2023-03-15T03:11:40.215Z] taggedImages: [2023-03-15T03:11:40.215Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d829a2c887c40068ff6155ebb33a7321d05cdfd6 [2023-03-15T03:11:40.215Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-15T03:11:40.215Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.8 [2023-03-15T03:11:40.215Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d829a2c887c40068ff6155ebb33a7321d05cdfd6-3.0.0-dev.8 [2023-03-15T03:11:40.215Z] - 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-15T03:11:40.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T03:11:40.652Z] [2023-03-15T03:11:40.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:41.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T03:11:41.279Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T03:11:41.279Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T03:11:41.279Z] 04944245beec: Pulling fs layer [2023-03-15T03:11:41.279Z] 699f458cf7ca: Pulling fs layer [2023-03-15T03:11:41.279Z] 765212b225bb: Pulling fs layer [2023-03-15T03:11:41.279Z] f23df028b6ca: Pulling fs layer [2023-03-15T03:11:41.279Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T03:11:41.279Z] 765212b225bb: Waiting [2023-03-15T03:11:41.279Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T03:11:41.279Z] f23df028b6ca: Waiting [2023-03-15T03:11:41.279Z] d65c8cfc05b1: Waiting [2023-03-15T03:11:41.279Z] 2437ff75d9bd: Waiting [2023-03-15T03:11:41.279Z] 04944245beec: Verifying Checksum [2023-03-15T03:11:41.279Z] 04944245beec: Download complete [2023-03-15T03:11:41.279Z] 765212b225bb: Verifying Checksum [2023-03-15T03:11:41.279Z] 765212b225bb: Download complete [2023-03-15T03:11:41.554Z] f23df028b6ca: Verifying Checksum [2023-03-15T03:11:41.554Z] f23df028b6ca: Download complete [2023-03-15T03:11:41.554Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T03:11:41.554Z] d65c8cfc05b1: Download complete [2023-03-15T03:11:41.554Z] 699f458cf7ca: Verifying Checksum [2023-03-15T03:11:41.554Z] 699f458cf7ca: Download complete [2023-03-15T03:11:42.146Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T03:11:42.146Z] 8998bd30e6a1: Download complete [2023-03-15T03:11:44.751Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T03:11:44.751Z] 2437ff75d9bd: Download complete [2023-03-15T03:11:46.708Z] 8998bd30e6a1: Pull complete [2023-03-15T03:11:46.978Z] 04944245beec: Pull complete [2023-03-15T03:11:48.934Z] 699f458cf7ca: Pull complete [2023-03-15T03:11:48.934Z] 765212b225bb: Pull complete [2023-03-15T03:11:49.521Z] f23df028b6ca: Pull complete [2023-03-15T03:11:49.792Z] d65c8cfc05b1: Pull complete [2023-03-15T03:12:04.810Z] 2437ff75d9bd: Pull complete [2023-03-15T03:12:04.810Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T03:12:04.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T03:12:04.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:12:05.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-344 does not seem to be running inside a container [2023-03-15T03:12:05.129Z] $ 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/64 -v /w/workspace/device-snmp-go/64:/w/workspace/device-snmp-go/64:rw,z -v /w/workspace/device-snmp-go/64@tmp:/w/workspace/device-snmp-go/64@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-15T03:12:07.994Z] $ docker top 0b1992968579685694c9001cca536f3f7a7de8b970fec4119fea0558c2c4ca5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:08.854Z] ---> job-cost.sh [2023-03-15T03:12:08.854Z] lf-activate-venv: SKIPPING [2023-03-15T03:12:08.854Z] INFO: No Stack... [2023-03-15T03:12:09.439Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T03:12:10.025Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T03:12:10.671Z] + + cut -d, -f6 [2023-03-15T03:12:10.671Z] cat /w/workspace/device-snmp-go/64/archives/cost.csv [Pipeline] lock [2023-03-15T03:12:10.751Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] [2023-03-15T03:12:10.757Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] did not exist. Created. [2023-03-15T03:12:10.758Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T03:12:11.419Z] /w/workspace/device-snmp-go/64@tmp/durable-607845a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T03:12:12.086Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T03:12:12.111Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T03:12:12.162Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T03:12:12.174Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T03:12:12.200Z] $ docker stop --time=1 0b1992968579685694c9001cca536f3f7a7de8b970fec4119fea0558c2c4ca5b [2023-03-15T03:12:13.735Z] $ docker rm -f --volumes 0b1992968579685694c9001cca536f3f7a7de8b970fec4119fea0558c2c4ca5b [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-15T03:12:14.083Z] provisioning config files... [2023-03-15T03:12:14.090Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7959806137312495043tmp [Pipeline] { [Pipeline] sh [2023-03-15T03:12:14.387Z] + set +x [2023-03-15T03:12:14.388Z] + curl+ -s https://codecov.io/bash [2023-03-15T03:12:14.388Z] bash -s -- [2023-03-15T03:12:14.388Z] [2023-03-15T03:12:14.388Z] _____ _ [2023-03-15T03:12:14.388Z] / ____| | | [2023-03-15T03:12:14.388Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T03:12:14.388Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T03:12:14.388Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T03:12:14.388Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T03:12:14.388Z] Bash-1.0.6 [2023-03-15T03:12:14.388Z] [2023-03-15T03:12:14.388Z] [2023-03-15T03:12:14.388Z] ==> git version 2.25.1 found [2023-03-15T03:12:14.388Z] ==> 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-15T03:12:14.388Z] Release-Date: 2020-01-08 [2023-03-15T03:12:14.388Z] 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-15T03:12:14.388Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T03:12:14.388Z] ==> Jenkins CI detected. [2023-03-15T03:12:14.388Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-03-15T03:12:14.388Z] project root: . [2023-03-15T03:12:14.388Z] --> token set from env [2023-03-15T03:12:14.388Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T03:12:14.388Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T03:12:14.388Z] ==> Python coveragepy not found [2023-03-15T03:12:14.388Z] ==> Searching for coverage reports in: [2023-03-15T03:12:14.388Z] + . [2023-03-15T03:12:14.388Z] -> Found 1 reports [2023-03-15T03:12:14.388Z] ==> Detecting git/mercurial file structure [2023-03-15T03:12:14.388Z] ==> Reading reports [2023-03-15T03:12:14.388Z] + ./coverage.out bytes=7631 [2023-03-15T03:12:14.388Z] ==> Appending adjustments [2023-03-15T03:12:14.388Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T03:12:14.646Z] + Found adjustments [2023-03-15T03:12:14.646Z] ==> Gzipping contents [2023-03-15T03:12:14.646Z] 4.0K /tmp/codecov.hyHGJx.gz [2023-03-15T03:12:14.646Z] ==> Uploading reports [2023-03-15T03:12:14.646Z] url: https://codecov.io [2023-03-15T03:12:14.646Z] query: branch=main&commit=d829a2c887c40068ff6155ebb33a7321d05cdfd6&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T03:12:14.646Z] -> Pinging Codecov [2023-03-15T03:12:14.646Z] 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=d829a2c887c40068ff6155ebb33a7321d05cdfd6&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T03:12:14.646Z] -> Uploading to [2023-03-15T03:12:14.646Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/6C56EA5C29638FB4528AC87E60AF5AE0/d829a2c887c40068ff6155ebb33a7321d05cdfd6/7cf854bd-f94c-4fa3-a102-caadb82f4795.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T031214Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=719c8f9d98a2bedaa1641c385f0227294bf5d58eab39eb6d40ca99b21626a710 [2023-03-15T03:12:14.646Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T03:12:14.646Z] Dload Upload Total Spent Left Speed [2023-03-15T03:12:14.906Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 6253 --:--:-- --:--:-- --:--:-- 6253 [2023-03-15T03:12:14.906Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d829a2c887c40068ff6155ebb33a7321d05cdfd6 [Pipeline] } [2023-03-15T03:12:14.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T03:12:15.022Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T03:12:15.033Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:12:15.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T03:12:15.321Z] [2023-03-15T03:12:15.321Z] 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-15T03:12:15.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T03:12:15.613Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T03:12:15.613Z] df9b9388f04a: Pulling fs layer [2023-03-15T03:12:15.613Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T03:12:15.613Z] 25bc292e5bac: Pulling fs layer [2023-03-15T03:12:15.613Z] 114826534d7a: Pulling fs layer [2023-03-15T03:12:15.613Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T03:12:15.613Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T03:12:15.613Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T03:12:15.613Z] 4657fd5d0bcf: Waiting [2023-03-15T03:12:15.613Z] 114826534d7a: Waiting [2023-03-15T03:12:15.613Z] 8a3aa393b2d8: Waiting [2023-03-15T03:12:15.613Z] 25bc292e5bac: Download complete [2023-03-15T03:12:15.613Z] 52dc419b0ee2: Download complete [2023-03-15T03:12:15.613Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T03:12:15.613Z] 4657fd5d0bcf: Download complete [2023-03-15T03:12:15.613Z] df9b9388f04a: Download complete [2023-03-15T03:12:15.873Z] df9b9388f04a: Pull complete [2023-03-15T03:12:15.873Z] 52dc419b0ee2: Pull complete [2023-03-15T03:12:15.873Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T03:12:15.873Z] 6ad1cebc031e: Download complete [2023-03-15T03:12:15.873Z] 25bc292e5bac: Pull complete [2023-03-15T03:12:16.438Z] 114826534d7a: Verifying Checksum [2023-03-15T03:12:16.438Z] 114826534d7a: Download complete [2023-03-15T03:12:16.695Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T03:12:16.695Z] 8a3aa393b2d8: Download complete [2023-03-15T03:12:20.045Z] 114826534d7a: Pull complete [2023-03-15T03:12:20.045Z] 4657fd5d0bcf: Pull complete [2023-03-15T03:12:20.045Z] 6ad1cebc031e: Pull complete [2023-03-15T03:12:22.572Z] 8a3aa393b2d8: Pull complete [2023-03-15T03:12:22.572Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T03:12:22.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T03:12:22.831Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:12:22.902Z] prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container [2023-03-15T03:12:22.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-15T03:12:27.265Z] $ docker top bae210d22ad0c23310df5a678756b7a9470ba4d67f8eaeb27d3b4e82d86baf1a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T03:12:27.338Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-03-15T03:12:27.616Z] + set -o pipefail [2023-03-15T03:12:27.616Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-03-15T03:12:32.907Z] [2023-03-15T03:12:32.907Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main... [2023-03-15T03:12:32.907Z] [2023-03-15T03:12:32.907Z] Server returned unexpected error for the monitor request. Status code: 503 [2023-03-15T03:12:32.907Z] [Pipeline] } [2023-03-15T03:12:33.854Z] $ docker stop --time=1 bae210d22ad0c23310df5a678756b7a9470ba4d67f8eaeb27d3b4e82d86baf1a [2023-03-15T03:12:36.617Z] $ docker rm -f --volumes bae210d22ad0c23310df5a678756b7a9470ba4d67f8eaeb27d3b4e82d86baf1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T03:12:36.873Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-15T03:12:37.467Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-03-15T03:12:37.467Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-15T03:12:37.467Z] total 16 [2023-03-15T03:12:37.467Z] drwxr-xr-x 3 root root 4096 Mar 15 03:00 . [2023-03-15T03:12:37.467Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 03:00 .. [2023-03-15T03:12:37.467Z] drwxr-xr-x 2 root root 4096 Mar 15 03:00 cost [2023-03-15T03:12:37.467Z] -rw-r--r-- 1 root root 85 Mar 15 03:00 cost.csv [2023-03-15T03:12:37.467Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-15T03:12:37.467Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-15T03:12:37.467Z] total 16 [2023-03-15T03:12:37.467Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 03:00 . [2023-03-15T03:12:37.467Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 03:00 .. [2023-03-15T03:12:37.467Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 03:00 cost [2023-03-15T03:12:37.467Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 15 03:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:37.768Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:38.620Z] ---> package-listing.sh [2023-03-15T03:12:38.620Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T03:12:38.620Z] ++ facter osfamily [2023-03-15T03:12:38.878Z] + OS_FAMILY=debian [2023-03-15T03:12:38.878Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-03-15T03:12:38.878Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T03:12:38.878Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T03:12:38.878Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T03:12:38.878Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T03:12:38.878Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-15T03:12:38.878Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T03:12:38.878Z] + case "${OS_FAMILY}" in [2023-03-15T03:12:38.878Z] + dpkg -l [2023-03-15T03:12:38.878Z] + grep '^ii' [2023-03-15T03:12:38.878Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T03:12:38.878Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T03:12:38.878Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T03:12:38.878Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-15T03:12:38.878Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-03-15T03:12:38.878Z] + 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-15T03:12:38.886Z] 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-15T03:12:39.164Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:12:39.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T03:12:39.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:12:39.797Z] prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container [2023-03-15T03:12:39.825Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T03:12:40.157Z] $ docker top 850bd3703556c3b432ad2702fb3f9609850b568d866325f9087feb18087d3763 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T03:12:40.496Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T03:12:40.778Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T03:12:41.057Z] + ls /var/log/sa-host [2023-03-15T03:12:41.057Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T03:12:41.120Z] provisioning config files... [2023-03-15T03:12:41.128Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11814132026510087893tmp [Pipeline] { [Pipeline] echo [2023-03-15T03:12:41.139Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:41.419Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T03:12:41.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:41.743Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T03:12:41.751Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:42.033Z] ---> sudo-logs.sh [2023-03-15T03:12:42.033Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T03:12:42.055Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:42.335Z] ---> job-cost.sh [2023-03-15T03:12:42.335Z] lf-activate-venv: SKIPPING [2023-03-15T03:12:42.335Z] DEBUG: total: 0.2199999988079071 [2023-03-15T03:12:42.335Z] INFO: Retrieving Stack Cost... [2023-03-15T03:12:42.593Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T03:12:43.160Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T03:12:43.172Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:43.469Z] ---> logs-deploy.sh [2023-03-15T03:12:43.469Z] lf-activate-venv: SKIPPING [2023-03-15T03:12:43.469Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/64 [2023-03-15T03:12:43.469Z] INFO: archiving workspace using pattern(s): [2023-03-15T03:12:44.405Z] Archives upload complete. [2023-03-15T03:12:44.405Z] INFO: archiving logs to Nexus