Pull request #279 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 224900f6885e44699053c83c13a1a421d11bcb33 rather than 62421059985c5c342f3f8b87a26ed32612a67d39 Obtained Jenkinsfile from 224900f6885e44699053c83c13a1a421d11bcb33 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-ssh8129656897642904277.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-ssh16009075187497277371.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/PR-279/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/PR-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14141709192491986152.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-ssh9010351154007043276.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/PR-279/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/PR-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6425903675846109846.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-6256’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6258 in /w/workspace/gexfoundry_device-snmp-go_PR-279 [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/gexfoundry_device-snmp-go_PR-279 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224900f6885e44699053c83c13a1a421d11bcb33 into PR head commit 62421059985c5c342f3f8b87a26ed32612a67d39 Merge succeeded, producing 62421059985c5c342f3f8b87a26ed32612a67d39 Checking out Revision 62421059985c5c342f3f8b87a26ed32612a67d39 (PR-279) > git config core.sparsecheckout # timeout=10 > git checkout -f 62421059985c5c342f3f8b87a26ed32612a67d39 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 224900f6885e44699053c83c13a1a421d11bcb33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 62421059985c5c342f3f8b87a26ed32612a67d39 # timeout=10 Commit message: "refactor!: Change configuration and device toml files to yaml" First time build. Skipping changelog. > git rev-list --no-walk eb672d49098cce593546c87cd0a7c6393e4e4b33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-29T21:55:40.628Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T21:55:40.671Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T21:55:40.683Z] ========================================================= [2023-03-29T21:55:40.683Z] EdgeX Global Pipelines Version Info [2023-03-29T21:55:40.683Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-29T21:55:41.389Z] ------------------- [2023-03-29T21:55:41.389Z] stable info: [2023-03-29T21:55:41.389Z] ------------------- [2023-03-29T21:55:41.389Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T21:55:41.389Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T21:55:41.389Z] Message: update stable to v1.0.245 [2023-03-29T21:55:41.960Z] ------------------- [2023-03-29T21:55:41.960Z] experimental info: [2023-03-29T21:55:41.960Z] ------------------- [2023-03-29T21:55:41.960Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T21:55:41.960Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T21:55:41.960Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T21:55:42.135Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-29T21:55:42.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-29T21:55:42.158Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T21:55:42.170Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T21:55:42.183Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T21:55:42.196Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T21:55:42.208Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T21:55:42.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T21:55:42.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T21:55:42.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T21:55:42.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T21:55:42.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-29T21:55:42.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T21:55:42.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T21:55:42.311Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T21:55:42.325Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T21:55:42.342Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T21:55:42.359Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T21:55:42.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T21:55:42.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T21:55:42.397Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-29T21:55:42.410Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-29T21:55:42.422Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T21:55:42.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T21:55:42.447Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T21:55:42.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T21:55:42.470Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T21:55:42.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo [2023-03-29T21:55:42.496Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo [2023-03-29T21:55:42.511Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo [2023-03-29T21:55:42.529Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo [2023-03-29T21:55:42.549Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6242105 [Pipeline] echo [2023-03-29T21:55:42.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T21:55:42.604Z] provisioning config files... [2023-03-29T21:55:42.618Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config16011544764746304246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T21:55:42.919Z] ---> docker-login.sh [2023-03-29T21:55:42.919Z] nexus3.edgexfoundry.org:10001 [2023-03-29T21:55:43.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:43.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:43.180Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:43.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:43.180Z] [2023-03-29T21:55:43.180Z] Login Succeeded [2023-03-29T21:55:43.180Z] nexus3.edgexfoundry.org:10002 [2023-03-29T21:55:43.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:43.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:43.442Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:43.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:43.442Z] [2023-03-29T21:55:43.442Z] Login Succeeded [2023-03-29T21:55:43.442Z] nexus3.edgexfoundry.org:10003 [2023-03-29T21:55:43.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:43.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:43.442Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:43.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:43.442Z] [2023-03-29T21:55:43.442Z] Login Succeeded [2023-03-29T21:55:43.442Z] nexus3.edgexfoundry.org:10004 [2023-03-29T21:55:43.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:43.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:43.702Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:43.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:43.702Z] [2023-03-29T21:55:43.702Z] Login Succeeded [2023-03-29T21:55:43.702Z] docker.io [2023-03-29T21:55:43.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:43.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:43.963Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:43.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:43.963Z] [2023-03-29T21:55:43.963Z] Login Succeeded [2023-03-29T21:55:43.963Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T21:55:43.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T21:55:44.340Z] + git rev-list -1 --merges 62421059985c5c342f3f8b87a26ed32612a67d39~1..62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo [2023-03-29T21:55:44.392Z] -----------> git rev-list -1 --merges 62421059985c5c342f3f8b87a26ed32612a67d39~1..62421059985c5c342f3f8b87a26ed32612a67d39 62421059985c5c342f3f8b87a26ed32612a67d39 [false] [Pipeline] sh [2023-03-29T21:55:44.684Z] + git log --format=format:%s -1 62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo [2023-03-29T21:55:44.698Z] ========================================================= [2023-03-29T21:55:44.698Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T21:55:44.698Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T21:55:45.014Z] + git log --format=format:%s -1 62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo [2023-03-29T21:55:45.028Z] [semverPrep] GIT_COMMIT: 62421059985c5c342f3f8b87a26ed32612a67d39, Commit Message: refactor!: Change configuration and device toml files to yaml [Pipeline] echo [2023-03-29T21:55:45.037Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T21:55:45.400Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T21:55:45.401Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T21:55:45.401Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T21:55:45.401Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T21:55:45.401Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T21:55:45.401Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T21:55:45.401Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T21:55:45.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T21:55:45.749Z] [2023-03-29T21:55:45.749Z] 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-29T21:55:46.050Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T21:55:46.050Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T21:55:46.050Z] b85a868b505f: Pulling fs layer [2023-03-29T21:55:46.050Z] e2be974225ed: Pulling fs layer [2023-03-29T21:55:46.050Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T21:55:46.050Z] 988bab9f4d93: Pulling fs layer [2023-03-29T21:55:46.050Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T21:55:46.050Z] eaf3925da568: Pulling fs layer [2023-03-29T21:55:46.050Z] bab4dde63d76: Pulling fs layer [2023-03-29T21:55:46.050Z] bde34c3a00c8: Pulling fs layer [2023-03-29T21:55:46.050Z] b352a97aabf1: Pulling fs layer [2023-03-29T21:55:46.050Z] 4872d77fe225: Pulling fs layer [2023-03-29T21:55:46.050Z] 5851b861e8e6: Pulling fs layer [2023-03-29T21:55:46.050Z] 988bab9f4d93: Waiting [2023-03-29T21:55:46.050Z] bab4dde63d76: Waiting [2023-03-29T21:55:46.050Z] 1469e6f7b9e6: Waiting [2023-03-29T21:55:46.050Z] eaf3925da568: Waiting [2023-03-29T21:55:46.050Z] bde34c3a00c8: Waiting [2023-03-29T21:55:46.050Z] b352a97aabf1: Waiting [2023-03-29T21:55:46.050Z] 4872d77fe225: Waiting [2023-03-29T21:55:46.050Z] e2be974225ed: Verifying Checksum [2023-03-29T21:55:46.050Z] 988bab9f4d93: Verifying Checksum [2023-03-29T21:55:46.050Z] 988bab9f4d93: Download complete [2023-03-29T21:55:46.320Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T21:55:46.320Z] 1469e6f7b9e6: Download complete [2023-03-29T21:55:46.320Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T21:55:46.320Z] 339a4e72a1f5: Download complete [2023-03-29T21:55:46.320Z] eaf3925da568: Verifying Checksum [2023-03-29T21:55:46.320Z] eaf3925da568: Download complete [2023-03-29T21:55:46.320Z] bde34c3a00c8: Verifying Checksum [2023-03-29T21:55:46.320Z] bde34c3a00c8: Download complete [2023-03-29T21:55:46.320Z] b352a97aabf1: Download complete [2023-03-29T21:55:46.320Z] 4872d77fe225: Download complete [2023-03-29T21:55:46.320Z] 5851b861e8e6: Download complete [2023-03-29T21:55:46.320Z] b85a868b505f: Download complete [2023-03-29T21:55:46.580Z] bab4dde63d76: Verifying Checksum [2023-03-29T21:55:46.580Z] bab4dde63d76: Download complete [2023-03-29T21:55:47.967Z] b85a868b505f: Pull complete [2023-03-29T21:55:47.967Z] e2be974225ed: Pull complete [2023-03-29T21:55:48.228Z] 339a4e72a1f5: Pull complete [2023-03-29T21:55:48.487Z] 988bab9f4d93: Pull complete [2023-03-29T21:55:48.747Z] 1469e6f7b9e6: Pull complete [2023-03-29T21:55:48.747Z] eaf3925da568: Pull complete [2023-03-29T21:55:50.655Z] bab4dde63d76: Pull complete [2023-03-29T21:55:50.655Z] bde34c3a00c8: Pull complete [2023-03-29T21:55:50.655Z] b352a97aabf1: Pull complete [2023-03-29T21:55:50.917Z] 4872d77fe225: Pull complete [2023-03-29T21:55:50.917Z] 5851b861e8e6: Pull complete [2023-03-29T21:55:50.917Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T21:55:50.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T21:55:50.917Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T21:55:51.008Z] prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container [2023-03-29T21:55:51.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T21:55:52.996Z] $ docker top 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 -eo pid,comm [2023-03-29T21:55:53.059Z] 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-29T21:55:53.059Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T21:55:53.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T21:55:53.095Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T21:55:53.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T21:55:53.221Z] $ docker exec 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent [2023-03-29T21:55:53.327Z] SSH_AUTH_SOCK=/tmp/ssh-klKiubAHrJ6e/agent.32 [2023-03-29T21:55:53.327Z] SSH_AGENT_PID=38 [2023-03-29T21:55:53.336Z] Running ssh-add (command line suppressed) [2023-03-29T21:55:53.435Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_10600422981241623399.key (/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_10600422981241623399.key) [2023-03-29T21:55:53.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T21:55:53.731Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T21:55:53.745Z] $ docker exec --env ******** --env ******** 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent -k [2023-03-29T21:55:53.829Z] unset SSH_AUTH_SOCK; [2023-03-29T21:55:53.829Z] unset SSH_AGENT_PID; [2023-03-29T21:55:53.829Z] echo Agent pid 38 killed; [2023-03-29T21:55:53.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T21:55:53.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T21:55:53.861Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T21:55:53.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T21:55:53.988Z] $ docker exec 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent [2023-03-29T21:55:54.099Z] SSH_AUTH_SOCK=/tmp/ssh-u1sI7QzVmzcC/agent.71 [2023-03-29T21:55:54.099Z] SSH_AGENT_PID=77 [2023-03-29T21:55:54.104Z] Running ssh-add (command line suppressed) [2023-03-29T21:55:54.212Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_17789635334042352877.key (/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_17789635334042352877.key) [2023-03-29T21:55:54.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T21:55:54.512Z] + git semver init [2023-03-29T21:55:54.774Z] 2023-03-29 21:55:54,698 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T21:55:54.774Z] 2023-03-29 21:55:54,699 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver [2023-03-29T21:55:54.774Z] 2023-03-29 21:55:54,699 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-279/.semver [2023-03-29T21:55:54.774Z] 2023-03-29 21:55:54,700 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-279, universal_newlines=False, shell=None, istream=None) [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,562 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-279/.git/info/exclude [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,562 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 with force:False [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,563 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,567 [execute] INFO git cat-file --batch-check [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,573 [execute] INFO git cat-file --batch [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T21:55:55.718Z] 2023-03-29 21:55:55,578 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 [2023-03-29T21:55:55.718Z] 0.0.0 [Pipeline] } [2023-03-29T21:55:55.732Z] $ docker exec --env ******** --env ******** 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent -k [2023-03-29T21:55:55.829Z] unset SSH_AUTH_SOCK; [2023-03-29T21:55:55.830Z] unset SSH_AGENT_PID; [2023-03-29T21:55:55.830Z] echo Agent pid 77 killed; [2023-03-29T21:55:55.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T21:55:56.152Z] + git semver [Pipeline] } [2023-03-29T21:55:56.434Z] $ docker stop --time=1 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 [2023-03-29T21:55:57.740Z] $ docker rm -f --volumes 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T21:55:58.076Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T21:55:58.273Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T21:55:58.276Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-29T21:55:58.375Z] provisioning config files... [2023-03-29T21:55:58.384Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config13485512329272229467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T21:55:58.801Z] ---> docker-login.sh [2023-03-29T21:55:58.801Z] nexus3.edgexfoundry.org:10001 [2023-03-29T21:55:58.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:58.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:58.801Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:58.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:58.801Z] [2023-03-29T21:55:58.801Z] Login Succeeded [2023-03-29T21:55:58.801Z] nexus3.edgexfoundry.org:10002 [2023-03-29T21:55:58.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:58.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:58.801Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:58.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:58.801Z] [2023-03-29T21:55:58.801Z] Login Succeeded [2023-03-29T21:55:58.801Z] nexus3.edgexfoundry.org:10003 [2023-03-29T21:55:59.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:59.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:59.060Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:59.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:59.060Z] [2023-03-29T21:55:59.060Z] Login Succeeded [2023-03-29T21:55:59.060Z] nexus3.edgexfoundry.org:10004 [2023-03-29T21:55:59.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:59.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:59.060Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:59.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:59.060Z] [2023-03-29T21:55:59.060Z] Login Succeeded [2023-03-29T21:55:59.060Z] docker.io [2023-03-29T21:55:59.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:55:59.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:55:59.318Z] Configure a credential helper to remove this warning. See [2023-03-29T21:55:59.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:55:59.318Z] [2023-03-29T21:55:59.318Z] Login Succeeded [2023-03-29T21:55:59.318Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T21:55:59.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T21:55:59.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T21:55:59.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T21:55:59.415Z] ========================================================= [2023-03-29T21:55:59.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T21:55:59.415Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T21:55:59.720Z] + 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-29T21:55:59.720Z] Sending build context to Docker daemon 5.786MB [2023-03-29T21:55:59.720Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T21:55:59.720Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T21:55:59.720Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T21:55:59.720Z] 63b65145d645: Pulling fs layer [2023-03-29T21:55:59.720Z] a2d21d5440eb: Pulling fs layer [2023-03-29T21:55:59.720Z] 935e6c44a52c: Pulling fs layer [2023-03-29T21:55:59.720Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T21:55:59.720Z] 30dea6a524f1: Pulling fs layer [2023-03-29T21:55:59.720Z] a2aff8979fd8: Pulling fs layer [2023-03-29T21:55:59.720Z] 6808be2612f2: Pulling fs layer [2023-03-29T21:55:59.720Z] f25807f1079a: Pulling fs layer [2023-03-29T21:55:59.720Z] 94cc34f8dd06: Waiting [2023-03-29T21:55:59.720Z] 30dea6a524f1: Waiting [2023-03-29T21:55:59.720Z] a2aff8979fd8: Waiting [2023-03-29T21:55:59.720Z] 6808be2612f2: Waiting [2023-03-29T21:55:59.720Z] f25807f1079a: Waiting [2023-03-29T21:55:59.720Z] a2d21d5440eb: Verifying Checksum [2023-03-29T21:55:59.720Z] a2d21d5440eb: Download complete [2023-03-29T21:55:59.720Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T21:55:59.720Z] 94cc34f8dd06: Download complete [2023-03-29T21:55:59.979Z] 30dea6a524f1: Verifying Checksum [2023-03-29T21:55:59.979Z] 30dea6a524f1: Download complete [2023-03-29T21:55:59.979Z] 63b65145d645: Verifying Checksum [2023-03-29T21:55:59.979Z] 63b65145d645: Download complete [2023-03-29T21:55:59.979Z] a2aff8979fd8: Verifying Checksum [2023-03-29T21:55:59.979Z] a2aff8979fd8: Download complete [2023-03-29T21:55:59.979Z] 63b65145d645: Pull complete [2023-03-29T21:56:00.239Z] a2d21d5440eb: Pull complete [2023-03-29T21:56:00.239Z] f25807f1079a: Verifying Checksum [2023-03-29T21:56:00.239Z] f25807f1079a: Download complete [2023-03-29T21:56:00.497Z] 935e6c44a52c: Download complete [2023-03-29T21:56:00.770Z] 6808be2612f2: Verifying Checksum [2023-03-29T21:56:00.770Z] 6808be2612f2: Download complete [2023-03-29T21:56:04.049Z] 935e6c44a52c: Pull complete [2023-03-29T21:56:04.309Z] 94cc34f8dd06: Pull complete [2023-03-29T21:56:04.876Z] 30dea6a524f1: Pull complete [2023-03-29T21:56:05.135Z] a2aff8979fd8: Pull complete [2023-03-29T21:56:07.665Z] 6808be2612f2: Pull complete [2023-03-29T21:56:08.615Z] f25807f1079a: Pull complete [2023-03-29T21:56:08.615Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T21:56:08.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T21:56:08.615Z] ---> 3b553350e43f [2023-03-29T21:56:08.615Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T21:56:13.348Z] Still waiting to schedule task [2023-03-29T21:56:13.349Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-29T21:56:15.229Z] ---> Running in 3543a940614f [2023-03-29T21:56:15.229Z] Removing intermediate container 3543a940614f [2023-03-29T21:56:15.229Z] ---> 35672159acce [2023-03-29T21:56:15.229Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T21:56:15.229Z] ---> Running in 960543daac6e [2023-03-29T21:56:15.229Z] Removing intermediate container 960543daac6e [2023-03-29T21:56:15.229Z] ---> 6912013f4844 [2023-03-29T21:56:15.229Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T21:56:15.229Z] ---> Running in 9ecc55c279d1 [2023-03-29T21:56:15.229Z] Removing intermediate container 9ecc55c279d1 [2023-03-29T21:56:15.229Z] ---> 056b75adc36b [2023-03-29T21:56:15.229Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T21:56:15.229Z] ---> Running in 73cbb2290ed8 [2023-03-29T21:56:15.229Z] Removing intermediate container 73cbb2290ed8 [2023-03-29T21:56:15.229Z] ---> e7ca081efb66 [2023-03-29T21:56:15.229Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T21:56:15.229Z] ---> Running in cb57600958d9 [2023-03-29T21:56:15.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T21:56:15.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T21:56:15.488Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T21:56:15.747Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T21:56:15.747Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T21:56:15.747Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T21:56:15.747Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T21:56:15.747Z] OK: 269 MiB in 57 packages [2023-03-29T21:56:16.006Z] Removing intermediate container cb57600958d9 [2023-03-29T21:56:16.006Z] ---> a6946b93650f [2023-03-29T21:56:16.006Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-29T21:56:16.265Z] ---> Running in 52090f0fdd4b [2023-03-29T21:56:16.265Z] Removing intermediate container 52090f0fdd4b [2023-03-29T21:56:16.265Z] ---> b924f11fe050 [2023-03-29T21:56:16.265Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-29T21:56:16.265Z] ---> 8b69fa2c65fa [2023-03-29T21:56:16.265Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T21:56:16.524Z] ---> Running in 89b7d6050f1f [2023-03-29T21:56:43.085Z] Removing intermediate container 89b7d6050f1f [2023-03-29T21:56:43.085Z] ---> 7b3b89d712e2 [2023-03-29T21:56:43.085Z] Step 11/12 : COPY . . [2023-03-29T21:56:43.085Z] ---> 558cec0a642c [2023-03-29T21:56:43.085Z] Step 12/12 : RUN ${MAKE} [2023-03-29T21:56:43.085Z] ---> Running in 385046b297b1 [2023-03-29T21:56:43.085Z] noop [2023-03-29T21:56:43.085Z] Removing intermediate container 385046b297b1 [2023-03-29T21:56:43.085Z] ---> 92439a83ea95 [2023-03-29T21:56:43.085Z] Successfully built 92439a83ea95 [2023-03-29T21:56:43.085Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T21:56:43.395Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T21:56:43.395Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T21:56:43.469Z] prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container [2023-03-29T21:56:43.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T21:56:43.863Z] $ docker top 9b850b489fcc15117dd4444907ba08a3f4858eb5c56577d615ee3a8e82e094b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T21:56:44.205Z] + go version [2023-03-29T21:56:44.205Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T21:56:44.217Z] $ docker stop --time=1 9b850b489fcc15117dd4444907ba08a3f4858eb5c56577d615ee3a8e82e094b1 [2023-03-29T21:56:45.558Z] $ docker rm -f --volumes 9b850b489fcc15117dd4444907ba08a3f4858eb5c56577d615ee3a8e82e094b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T21:56:45.950Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T21:56:45.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T21:56:46.030Z] prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container [2023-03-29T21:56:46.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T21:56:46.418Z] $ docker top d6df16d15eec35be0c3430d935bb20d24761bc2d8bdbdacbdf72cd4820a4804f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T21:56:46.746Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-279 [Pipeline] fileExists [Pipeline] sh [2023-03-29T21:56:47.042Z] + make test [2023-03-29T21:56:47.042Z] go test ./... -coverprofile=coverage.out [2023-03-29T21:56:52.309Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-29T21:57:00.409Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-29T21:57:00.409Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2023-03-29T21:57:05.678Z] go vet ./... [2023-03-29T21:57:08.958Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T21:57:08.958Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T21:57:08.958Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T21:57:09.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T21:57:09.242Z] $ docker stop --time=1 d6df16d15eec35be0c3430d935bb20d24761bc2d8bdbdacbdf72cd4820a4804f [2023-03-29T21:57:12.797Z] $ docker rm -f --volumes d6df16d15eec35be0c3430d935bb20d24761bc2d8bdbdacbdf72cd4820a4804f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T21:57:13.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T21:57:13.335Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-29T21:57:13.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T21:57:14.027Z] + ls -al . [2023-03-29T21:57:14.027Z] total 168 [2023-03-29T21:57:14.027Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 21:56 . [2023-03-29T21:57:14.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:55 .. [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 29 21:55 .dockerignore [2023-03-29T21:57:14.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 21:55 .git [2023-03-29T21:57:14.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:55 .github [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 29 21:55 .gitignore [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 21:55 .golangci.yml [2023-03-29T21:57:14.027Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 21:55 .semver [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 8926 Mar 29 21:55 Attribution.txt [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 29 21:55 CHANGELOG.md [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 29 21:55 Dockerfile [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 21:55 GOVERNANCE.md [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 29 21:55 Jenkinsfile [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 21:55 LICENSE [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 29 21:55 Makefile [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 21:55 OWNERS.md [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 29 21:55 README.md [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 21:55 VERSION [2023-03-29T21:57:14.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 21:55 bin [2023-03-29T21:57:14.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:55 cmd [2023-03-29T21:57:14.027Z] -rw-r--r-- 1 jenkins jenkins 7630 Mar 29 21:57 coverage.out [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 3280 Mar 29 21:55 go.mod [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 31151 Mar 29 21:55 go.sum [2023-03-29T21:57:14.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:55 internal [2023-03-29T21:57:14.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:55 snap [2023-03-29T21:57:14.027Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 29 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T21:57:14.330Z] + 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=62421059985c5c342f3f8b87a26ed32612a67d39 --label arch=amd64 --label version=0.0.0 . [2023-03-29T21:57:14.330Z] Sending build context to Docker daemon 5.794MB [2023-03-29T21:57:14.330Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T21:57:14.330Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-29T21:57:14.330Z] ---> 92439a83ea95 [2023-03-29T21:57:14.330Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-29T21:57:14.330Z] ---> Running in 6c15d96508ea [2023-03-29T21:57:14.591Z] Removing intermediate container 6c15d96508ea [2023-03-29T21:57:14.591Z] ---> e63dacdfe63e [2023-03-29T21:57:14.591Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T21:57:14.591Z] ---> Running in aa9a474f8c07 [2023-03-29T21:57:14.591Z] Removing intermediate container aa9a474f8c07 [2023-03-29T21:57:14.591Z] ---> 12abb75d6157 [2023-03-29T21:57:14.591Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T21:57:14.591Z] ---> Running in cc6154eb9108 [2023-03-29T21:57:14.851Z] Removing intermediate container cc6154eb9108 [2023-03-29T21:57:14.851Z] ---> 9270fd56b483 [2023-03-29T21:57:14.851Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T21:57:14.851Z] ---> Running in 5bf72a2e38cc [2023-03-29T21:57:14.851Z] Removing intermediate container 5bf72a2e38cc [2023-03-29T21:57:14.851Z] ---> 426e8478634c [2023-03-29T21:57:14.851Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T21:57:14.851Z] ---> Running in 1068b245c36f [2023-03-29T21:57:15.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T21:57:15.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T21:57:15.367Z] OK: 269 MiB in 57 packages [2023-03-29T21:57:15.936Z] Removing intermediate container 1068b245c36f [2023-03-29T21:57:15.936Z] ---> 4da8975e8493 [2023-03-29T21:57:15.936Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-29T21:57:15.936Z] ---> Running in bdf492bfee07 [2023-03-29T21:57:15.936Z] Removing intermediate container bdf492bfee07 [2023-03-29T21:57:15.936Z] ---> a82725e3eb65 [2023-03-29T21:57:15.936Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-29T21:57:16.195Z] ---> d80d8975afdc [2023-03-29T21:57:16.195Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T21:57:16.195Z] ---> Running in 6ba7429c2719 [2023-03-29T21:57:16.761Z] Removing intermediate container 6ba7429c2719 [2023-03-29T21:57:16.761Z] ---> 921c1d013e37 [2023-03-29T21:57:16.761Z] Step 11/24 : COPY . . [2023-03-29T21:57:17.329Z] ---> bf5b6683ff79 [2023-03-29T21:57:17.329Z] Step 12/24 : RUN ${MAKE} [2023-03-29T21:57:17.329Z] ---> Running in 0d98cf4f0d69 [2023-03-29T21:57:17.587Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-29T21:57:44.132Z] Removing intermediate container 0d98cf4f0d69 [2023-03-29T21:57:44.132Z] ---> e95b18cf8c87 [2023-03-29T21:57:44.132Z] Step 13/24 : FROM alpine:3.17 [2023-03-29T21:57:44.132Z] 3.17: Pulling from library/alpine [2023-03-29T21:57:44.132Z] f56be85fc22e: Pulling fs layer [2023-03-29T21:57:44.132Z] f56be85fc22e: Download complete [2023-03-29T21:57:44.132Z] f56be85fc22e: Pull complete [2023-03-29T21:57:44.132Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T21:57:44.132Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T21:57:44.132Z] ---> 9ed4aefc74f6 [2023-03-29T21:57:44.132Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-29T21:57:44.132Z] ---> Running in 0835a610dee4 [2023-03-29T21:57:44.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T21:57:44.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T21:57:44.132Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T21:57:44.132Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T21:57:44.132Z] OK: 7 MiB in 16 packages [2023-03-29T21:57:44.132Z] Removing intermediate container 0835a610dee4 [2023-03-29T21:57:44.132Z] ---> c9b283bd8d72 [2023-03-29T21:57:44.132Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-29T21:57:44.132Z] ---> a952bbdd9252 [2023-03-29T21:57:44.132Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-29T21:57:44.132Z] ---> 12121d349deb [2023-03-29T21:57:44.132Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-29T21:57:44.132Z] ---> 376b8183cec2 [2023-03-29T21:57:44.132Z] Step 18/24 : EXPOSE 59993 [2023-03-29T21:57:44.132Z] ---> Running in 2cf4a36f220c [2023-03-29T21:57:44.132Z] Removing intermediate container 2cf4a36f220c [2023-03-29T21:57:44.132Z] ---> 9c7d10c40104 [2023-03-29T21:57:44.132Z] Step 19/24 : EXPOSE 161 [2023-03-29T21:57:44.132Z] ---> Running in 33bcc2e0686f [2023-03-29T21:57:44.132Z] Removing intermediate container 33bcc2e0686f [2023-03-29T21:57:44.132Z] ---> f6b899132c96 [2023-03-29T21:57:44.132Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-29T21:57:44.391Z] ---> Running in 07dec9f3504e [2023-03-29T21:57:44.391Z] Removing intermediate container 07dec9f3504e [2023-03-29T21:57:44.391Z] ---> aa2de192526d [2023-03-29T21:57:44.391Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-29T21:57:44.650Z] ---> Running in 2f9f355734f9 [2023-03-29T21:57:44.650Z] Removing intermediate container 2f9f355734f9 [2023-03-29T21:57:44.650Z] ---> f586942c7590 [2023-03-29T21:57:44.650Z] Step 22/24 : LABEL arch=amd64 [2023-03-29T21:57:44.650Z] ---> Running in 08d7bf42f40d [2023-03-29T21:57:44.650Z] Removing intermediate container 08d7bf42f40d [2023-03-29T21:57:44.650Z] ---> 41cbf9d74012 [2023-03-29T21:57:44.650Z] Step 23/24 : LABEL git_sha=62421059985c5c342f3f8b87a26ed32612a67d39 [2023-03-29T21:57:44.909Z] ---> Running in 17bf907d0646 [2023-03-29T21:57:44.909Z] Removing intermediate container 17bf907d0646 [2023-03-29T21:57:44.909Z] ---> d4c7c1f2ac9d [2023-03-29T21:57:44.909Z] Step 24/24 : LABEL version=0.0.0 [2023-03-29T21:57:44.909Z] ---> Running in c8ca5427b300 [2023-03-29T21:57:44.909Z] Removing intermediate container c8ca5427b300 [2023-03-29T21:57:44.909Z] ---> 01ad75104266 [2023-03-29T21:57:44.909Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T21:57:44.909Z] Successfully built 01ad75104266 [2023-03-29T21:57:44.909Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-29T21:57:45.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T21:57:45.357Z] [2023-03-29T21:57:45.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T21:57:45.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T21:57:45.656Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T21:57:45.656Z] 5eb5b503b376: Pulling fs layer [2023-03-29T21:57:45.656Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T21:57:45.656Z] ec43610c2a17: Pulling fs layer [2023-03-29T21:57:45.656Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T21:57:45.656Z] 33b1e0a273af: Pulling fs layer [2023-03-29T21:57:45.656Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T21:57:45.656Z] 2f39f015ded8: Pulling fs layer [2023-03-29T21:57:45.656Z] 33b1e0a273af: Waiting [2023-03-29T21:57:45.656Z] 5d3b04190fa2: Waiting [2023-03-29T21:57:45.656Z] 3a2ae6a8a46f: Waiting [2023-03-29T21:57:45.656Z] 5c69ac0246d0: Download complete [2023-03-29T21:57:45.656Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-29T21:57:45.656Z] 3a2ae6a8a46f: Download complete [2023-03-29T21:57:45.656Z] ec43610c2a17: Verifying Checksum [2023-03-29T21:57:45.656Z] ec43610c2a17: Download complete [2023-03-29T21:57:45.656Z] 33b1e0a273af: Verifying Checksum [2023-03-29T21:57:45.656Z] 33b1e0a273af: Download complete [2023-03-29T21:57:45.656Z] 5d3b04190fa2: Verifying Checksum [2023-03-29T21:57:45.656Z] 5d3b04190fa2: Download complete [2023-03-29T21:57:45.913Z] 5eb5b503b376: Verifying Checksum [2023-03-29T21:57:45.913Z] 5eb5b503b376: Download complete [2023-03-29T21:57:46.475Z] 2f39f015ded8: Download complete [2023-03-29T21:57:47.042Z] 5eb5b503b376: Pull complete [2023-03-29T21:57:47.042Z] 5c69ac0246d0: Pull complete [2023-03-29T21:57:47.608Z] ec43610c2a17: Pull complete [2023-03-29T21:57:47.608Z] 3a2ae6a8a46f: Pull complete [2023-03-29T21:57:47.866Z] 33b1e0a273af: Pull complete [2023-03-29T21:57:47.866Z] 5d3b04190fa2: Pull complete [2023-03-29T21:57:50.303Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6260 in /w/workspace/gexfoundry_device-snmp-go_PR-279 [Pipeline] { [Pipeline] ws [2023-03-29T21:57:50.316Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2023-03-29T21:57:50.360Z] Selected Git installation does not exist. Using Default [2023-03-29T21:57:50.360Z] The recommended git tool is: NONE [2023-03-29T21:57:52.046Z] 2f39f015ded8: Pull complete [2023-03-29T21:57:52.046Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T21:57:52.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T21:57:52.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T21:57:52.130Z] prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container [2023-03-29T21:57:52.163Z] $ 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/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T21:57:55.908Z] using credential edgex-jenkins-ssh [2023-03-29T21:57:55.925Z] Cloning the remote Git repository [2023-03-29T21:57:55.972Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-29T21:57:56.079Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2023-03-29T21:57:56.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-29T21:57:56.239Z] > git --version # timeout=10 [2023-03-29T21:57:56.267Z] > git --version # 'git version 2.25.1' [2023-03-29T21:57:56.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T21:57:56.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T21:57:57.535Z] $ docker top 6973acc7672d3317d7ce54a9d5caae187d0ab07882b25d3cb94f7e6b6fe4748a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T21:57:57.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-29T21:57:57.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T21:57:57.900Z] ---> job-cost.sh [2023-03-29T21:57:57.900Z] lf-activate-venv: SKIPPING [2023-03-29T21:57:57.901Z] INFO: No Stack... [2023-03-29T21:57:58.466Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T21:57:58.725Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T21:57:59.011Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/cost.csv+ [2023-03-29T21:57:59.011Z] cut -d, -f6 [Pipeline] lock [2023-03-29T21:57:59.025Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [2023-03-29T21:57:59.030Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] did not exist. Created. [2023-03-29T21:57:59.030Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T21:57:59.077Z] Merging remotes/origin/main commit 224900f6885e44699053c83c13a1a421d11bcb33 into PR head commit 62421059985c5c342f3f8b87a26ed32612a67d39 [2023-03-29T21:57:58.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-29T21:57:58.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-29T21:57:58.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T21:57:58.466Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-29T21:57:59.090Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T21:57:59.334Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T21:57:59.354Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T21:57:59.360Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [2023-03-29T21:57:59.367Z] Merge succeeded, producing 62421059985c5c342f3f8b87a26ed32612a67d39 [2023-03-29T21:57:59.368Z] Checking out Revision 62421059985c5c342f3f8b87a26ed32612a67d39 (PR-279) [Pipeline] // lock [Pipeline] } [2023-03-29T21:57:59.380Z] $ docker stop --time=1 6973acc7672d3317d7ce54a9d5caae187d0ab07882b25d3cb94f7e6b6fe4748a [2023-03-29T21:57:59.159Z] > git checkout -f 62421059985c5c342f3f8b87a26ed32612a67d39 # timeout=10 [2023-03-29T21:57:59.257Z] > git remote # timeout=10 [2023-03-29T21:57:59.283Z] > git config --get remote.origin.url # timeout=10 [2023-03-29T21:57:59.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T21:57:59.318Z] > git merge 224900f6885e44699053c83c13a1a421d11bcb33 # timeout=10 [2023-03-29T21:57:59.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-29T21:57:59.370Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T21:57:59.384Z] > git checkout -f 62421059985c5c342f3f8b87a26ed32612a67d39 # timeout=10 [2023-03-29T21:58:00.788Z] $ docker rm -f --volumes 6973acc7672d3317d7ce54a9d5caae187d0ab07882b25d3cb94f7e6b6fe4748a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T21:58:02.883Z] Commit message: "refactor!: Change configuration and device toml files to yaml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T21:58:03.713Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T21:58:03.713Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T21:58:03.713Z] Dload Upload Total Spent Left Speed [2023-03-29T21:58:03.713Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-03-29T21:58:04.385Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T21:58:04.710Z] + sudo tee /etc/docker/daemon.new [2023-03-29T21:58:04.710Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T21:58:04.710Z] { [2023-03-29T21:58:04.710Z] "registry-mirrors": [ [2023-03-29T21:58:04.710Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T21:58:04.710Z] ], [2023-03-29T21:58:04.710Z] "bip": "10.250.0.254/24", [2023-03-29T21:58:04.710Z] "hosts": [ [2023-03-29T21:58:04.710Z] "tcp://0.0.0.0:5555", [2023-03-29T21:58:04.710Z] "unix:///var/run/docker.sock" [2023-03-29T21:58:04.710Z] ], [2023-03-29T21:58:04.710Z] "mtu": 1458, [2023-03-29T21:58:04.710Z] "selinux-enabled": true, [2023-03-29T21:58:04.710Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T21:58:04.710Z] } [Pipeline] sh [2023-03-29T21:58:05.036Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T21:58:05.366Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T21:58:23.609Z] provisioning config files... [2023-03-29T21:58:23.634Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config15249816456738831377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T21:58:23.981Z] ---> docker-login.sh [2023-03-29T21:58:23.981Z] nexus3.edgexfoundry.org:10001 [2023-03-29T21:58:24.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:58:24.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:58:24.527Z] Configure a credential helper to remove this warning. See [2023-03-29T21:58:24.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:58:24.527Z] [2023-03-29T21:58:24.527Z] Login Succeeded [2023-03-29T21:58:24.527Z] nexus3.edgexfoundry.org:10002 [2023-03-29T21:58:24.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:58:24.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:58:24.797Z] Configure a credential helper to remove this warning. See [2023-03-29T21:58:24.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:58:24.797Z] [2023-03-29T21:58:24.797Z] Login Succeeded [2023-03-29T21:58:24.797Z] nexus3.edgexfoundry.org:10003 [2023-03-29T21:58:25.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:58:25.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:58:25.334Z] Configure a credential helper to remove this warning. See [2023-03-29T21:58:25.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:58:25.334Z] [2023-03-29T21:58:25.334Z] Login Succeeded [2023-03-29T21:58:25.334Z] nexus3.edgexfoundry.org:10004 [2023-03-29T21:58:25.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:58:25.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:58:25.608Z] Configure a credential helper to remove this warning. See [2023-03-29T21:58:25.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:58:25.608Z] [2023-03-29T21:58:25.608Z] Login Succeeded [2023-03-29T21:58:25.608Z] docker.io [2023-03-29T21:58:25.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T21:58:26.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T21:58:26.144Z] Configure a credential helper to remove this warning. See [2023-03-29T21:58:26.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T21:58:26.144Z] [2023-03-29T21:58:26.144Z] Login Succeeded [2023-03-29T21:58:26.144Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T21:58:26.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T21:58:26.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T21:58:26.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T21:58:26.427Z] ========================================================= [2023-03-29T21:58:26.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T21:58:26.427Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T21:58:26.763Z] + 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-29T21:58:27.030Z] Sending build context to Docker daemon 3.024MB [2023-03-29T21:58:27.030Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T21:58:27.030Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T21:58:27.304Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T21:58:27.304Z] af6eaf76a39c: Pulling fs layer [2023-03-29T21:58:27.304Z] 55522c791124: Pulling fs layer [2023-03-29T21:58:27.304Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T21:58:27.304Z] 169dfbe0d373: Pulling fs layer [2023-03-29T21:58:27.304Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T21:58:27.304Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T21:58:27.304Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T21:58:27.304Z] 169dfbe0d373: Waiting [2023-03-29T21:58:27.304Z] e1ff8fa3b103: Waiting [2023-03-29T21:58:27.304Z] 5abe8eddf0d5: Waiting [2023-03-29T21:58:27.304Z] 52ebb69f0ebf: Waiting [2023-03-29T21:58:27.304Z] 55522c791124: Verifying Checksum [2023-03-29T21:58:27.304Z] 55522c791124: Download complete [2023-03-29T21:58:27.304Z] 169dfbe0d373: Verifying Checksum [2023-03-29T21:58:27.304Z] 169dfbe0d373: Download complete [2023-03-29T21:58:27.304Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T21:58:27.304Z] e1ff8fa3b103: Download complete [2023-03-29T21:58:27.304Z] af6eaf76a39c: Download complete [2023-03-29T21:58:28.743Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T21:58:28.743Z] 5abe8eddf0d5: Download complete [2023-03-29T21:58:29.720Z] ce5c4a1c91eb: Verifying Checksum [2023-03-29T21:58:29.720Z] ce5c4a1c91eb: Download complete [2023-03-29T21:58:29.720Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T21:58:29.720Z] af6eaf76a39c: Pull complete [2023-03-29T21:58:30.307Z] 55522c791124: Pull complete [2023-03-29T21:58:42.634Z] ce5c4a1c91eb: Pull complete [2023-03-29T21:58:42.901Z] 169dfbe0d373: Pull complete [2023-03-29T21:58:43.170Z] e1ff8fa3b103: Pull complete [2023-03-29T21:58:51.416Z] 52ebb69f0ebf: Pull complete [2023-03-29T21:58:52.383Z] 5abe8eddf0d5: Pull complete [2023-03-29T21:58:52.383Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T21:58:52.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T21:58:52.383Z] ---> 6cb57ee374ae [2023-03-29T21:58:52.383Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T21:58:54.336Z] ---> Running in 8596284ba90b [2023-03-29T21:58:54.336Z] Removing intermediate container 8596284ba90b [2023-03-29T21:58:54.336Z] ---> f4bdab635948 [2023-03-29T21:58:54.336Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T21:58:54.336Z] ---> Running in 7936b50cfce3 [2023-03-29T21:58:54.924Z] Removing intermediate container 7936b50cfce3 [2023-03-29T21:58:54.924Z] ---> 4794f7a85af4 [2023-03-29T21:58:54.924Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T21:58:54.924Z] ---> Running in c2a84caae738 [2023-03-29T21:58:55.195Z] Removing intermediate container c2a84caae738 [2023-03-29T21:58:55.195Z] ---> a38616b1e66e [2023-03-29T21:58:55.195Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T21:58:55.195Z] ---> Running in a1170aa11aec [2023-03-29T21:58:55.472Z] Removing intermediate container a1170aa11aec [2023-03-29T21:58:55.472Z] ---> 95095b0251b8 [2023-03-29T21:58:55.472Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T21:58:55.741Z] ---> Running in eb07366173a6 [2023-03-29T21:58:56.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T21:58:57.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T21:58:58.258Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T21:58:58.258Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T21:58:58.258Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T21:58:58.258Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T21:58:58.258Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T21:58:58.526Z] OK: 268 MiB in 57 packages [2023-03-29T21:58:59.487Z] Removing intermediate container eb07366173a6 [2023-03-29T21:58:59.487Z] ---> 50b81a6b4bbb [2023-03-29T21:58:59.487Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-29T21:58:59.487Z] ---> Running in 65f2c73301f4 [2023-03-29T21:58:59.758Z] Removing intermediate container 65f2c73301f4 [2023-03-29T21:58:59.758Z] ---> 362afaf48d85 [2023-03-29T21:58:59.758Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-29T21:59:00.345Z] ---> 4b72d3062704 [2023-03-29T21:59:00.345Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T21:59:00.345Z] ---> Running in 44baa6d29451 [2023-03-29T22:00:08.244Z] Removing intermediate container 44baa6d29451 [2023-03-29T22:00:08.244Z] ---> 76341656835e [2023-03-29T22:00:08.244Z] Step 11/12 : COPY . . [2023-03-29T22:00:08.244Z] ---> 5daeec2a1506 [2023-03-29T22:00:08.244Z] Step 12/12 : RUN ${MAKE} [2023-03-29T22:00:08.244Z] ---> Running in 78b459068e8a [2023-03-29T22:00:08.244Z] noop [2023-03-29T22:00:08.244Z] Removing intermediate container 78b459068e8a [2023-03-29T22:00:08.244Z] ---> 0f032d9702ac [2023-03-29T22:00:08.244Z] Successfully built 0f032d9702ac [2023-03-29T22:00:08.244Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:00:08.612Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T22:00:08.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:00:08.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-6260 does not seem to be running inside a container [2023-03-29T22:00:08.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T22:00:10.209Z] $ docker top af4c6371928df624e4089984d4b4fef22992361fd3b52175e934db7dada21144 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:00:11.050Z] + go version [2023-03-29T22:00:11.050Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T22:00:11.082Z] $ docker stop --time=1 af4c6371928df624e4089984d4b4fef22992361fd3b52175e934db7dada21144 [2023-03-29T22:00:12.728Z] $ docker rm -f --volumes af4c6371928df624e4089984d4b4fef22992361fd3b52175e934db7dada21144 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:00:13.259Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T22:00:13.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:00:13.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-6260 does not seem to be running inside a container [2023-03-29T22:00:13.543Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T22:00:16.045Z] $ docker top 48d15faadc90f21310a0b1fc89538307c70521b76905e0d5fd3966bc4a957ed2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:00:16.890Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-29T22:00:17.542Z] + make test [2023-03-29T22:00:17.542Z] go test ./... -coverprofile=coverage.out [2023-03-29T22:00:56.459Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-29T22:03:03.174Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-29T22:03:03.174Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements [2023-03-29T22:03:03.174Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-29T22:03:03.174Z] go vet ./... [2023-03-29T22:03:42.075Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T22:03:42.075Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T22:03:42.075Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T22:03:42.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T22:03:42.123Z] $ docker stop --time=1 48d15faadc90f21310a0b1fc89538307c70521b76905e0d5fd3966bc4a957ed2 [2023-03-29T22:03:45.210Z] $ docker rm -f --volumes 48d15faadc90f21310a0b1fc89538307c70521b76905e0d5fd3966bc4a957ed2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:03:46.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T22:03:46.401Z] Warning: overwriting stash ‘coverage-report’ [2023-03-29T22:03:46.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T22:03:47.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T22:03:47.586Z] + ls -al . [2023-03-29T22:03:47.586Z] total 164 [2023-03-29T22:03:47.586Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:00 . [2023-03-29T22:03:47.586Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:57 .. [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 29 21:57 .dockerignore [2023-03-29T22:03:47.586Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 21:57 .git [2023-03-29T22:03:47.586Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 .github [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 29 21:57 .gitignore [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 21:57 .golangci.yml [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 8926 Mar 29 21:57 Attribution.txt [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 29 21:57 CHANGELOG.md [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 29 21:57 Dockerfile [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 21:57 GOVERNANCE.md [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 29 21:57 Jenkinsfile [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 21:57 LICENSE [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 29 21:57 Makefile [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 21:57 OWNERS.md [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 29 21:57 README.md [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 21:55 VERSION [2023-03-29T22:03:47.586Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 21:57 bin [2023-03-29T22:03:47.586Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 cmd [2023-03-29T22:03:47.586Z] -rw-r--r-- 1 jenkins jenkins 7630 Mar 29 22:03 coverage.out [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 3280 Mar 29 21:57 go.mod [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 31151 Mar 29 21:57 go.sum [2023-03-29T22:03:47.586Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 internal [2023-03-29T22:03:47.586Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:57 snap [2023-03-29T22:03:47.586Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 29 21:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:03:48.006Z] + 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=62421059985c5c342f3f8b87a26ed32612a67d39 --label arch=arm64 --label version=0.0.0 . [2023-03-29T22:03:48.278Z] Sending build context to Docker daemon 3.032MB [2023-03-29T22:03:48.278Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T22:03:48.278Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-29T22:03:48.278Z] ---> 0f032d9702ac [2023-03-29T22:03:48.278Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-29T22:03:48.554Z] ---> Running in 5016f27e09c7 [2023-03-29T22:03:48.828Z] Removing intermediate container 5016f27e09c7 [2023-03-29T22:03:48.828Z] ---> e3fce3899f9d [2023-03-29T22:03:48.828Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T22:03:48.828Z] ---> Running in 5dc9a3f8fb00 [2023-03-29T22:03:49.428Z] Removing intermediate container 5dc9a3f8fb00 [2023-03-29T22:03:49.428Z] ---> 9083e3fbd099 [2023-03-29T22:03:49.428Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T22:03:49.428Z] ---> Running in 65b866f1a8a8 [2023-03-29T22:03:49.702Z] Removing intermediate container 65b866f1a8a8 [2023-03-29T22:03:49.702Z] ---> c009eff234cc [2023-03-29T22:03:49.702Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T22:03:49.702Z] ---> Running in 4c8f361a7664 [2023-03-29T22:03:49.982Z] Removing intermediate container 4c8f361a7664 [2023-03-29T22:03:49.982Z] ---> 0c4c6b540a06 [2023-03-29T22:03:49.982Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T22:03:50.256Z] ---> Running in 0d060e578855 [2023-03-29T22:03:51.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T22:03:51.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T22:03:53.237Z] OK: 268 MiB in 57 packages [2023-03-29T22:03:53.836Z] Removing intermediate container 0d060e578855 [2023-03-29T22:03:53.836Z] ---> 7e95c7e98801 [2023-03-29T22:03:53.836Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-29T22:03:54.108Z] ---> Running in d082f3629be4 [2023-03-29T22:03:54.378Z] Removing intermediate container d082f3629be4 [2023-03-29T22:03:54.378Z] ---> d75ee376ec63 [2023-03-29T22:03:54.378Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-29T22:03:54.966Z] ---> 590a8a7f7ae9 [2023-03-29T22:03:54.966Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T22:03:54.966Z] ---> Running in b52fdc476513 [2023-03-29T22:03:58.339Z] Removing intermediate container b52fdc476513 [2023-03-29T22:03:58.339Z] ---> dec30cb0035d [2023-03-29T22:03:58.339Z] Step 11/24 : COPY . . [2023-03-29T22:03:58.934Z] ---> 667e5c5bb185 [2023-03-29T22:03:58.934Z] Step 12/24 : RUN ${MAKE} [2023-03-29T22:03:58.934Z] ---> Running in 98d95648273a [2023-03-29T22:03:59.904Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-29T22:06:36.667Z] Removing intermediate container 98d95648273a [2023-03-29T22:06:36.667Z] ---> f082303e0980 [2023-03-29T22:06:36.667Z] Step 13/24 : FROM alpine:3.17 [2023-03-29T22:06:36.667Z] 3.17: Pulling from library/alpine [2023-03-29T22:06:36.667Z] c41833b44d91: Pulling fs layer [2023-03-29T22:06:36.667Z] c41833b44d91: Verifying Checksum [2023-03-29T22:06:36.667Z] c41833b44d91: Download complete [2023-03-29T22:06:36.667Z] c41833b44d91: Pull complete [2023-03-29T22:06:36.667Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T22:06:36.667Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T22:06:36.667Z] ---> 51e60588ff2c [2023-03-29T22:06:36.667Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-29T22:06:36.667Z] ---> Running in 5b2453c5d5e2 [2023-03-29T22:06:36.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T22:06:36.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T22:06:36.667Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T22:06:36.667Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T22:06:36.667Z] OK: 8 MiB in 16 packages [2023-03-29T22:06:36.667Z] Removing intermediate container 5b2453c5d5e2 [2023-03-29T22:06:36.667Z] ---> a724d44fa40c [2023-03-29T22:06:36.667Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-29T22:06:36.667Z] ---> 4dcc5e5f002d [2023-03-29T22:06:36.667Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-29T22:06:36.667Z] ---> b93dc383c855 [2023-03-29T22:06:36.667Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-29T22:06:36.667Z] ---> e04827e74e93 [2023-03-29T22:06:36.667Z] Step 18/24 : EXPOSE 59993 [2023-03-29T22:06:36.667Z] ---> Running in 9a420f7a8d4b [2023-03-29T22:06:36.667Z] Removing intermediate container 9a420f7a8d4b [2023-03-29T22:06:36.667Z] ---> d2731227961d [2023-03-29T22:06:36.667Z] Step 19/24 : EXPOSE 161 [2023-03-29T22:06:36.667Z] ---> Running in c5831fcd664e [2023-03-29T22:06:36.667Z] Removing intermediate container c5831fcd664e [2023-03-29T22:06:36.667Z] ---> b94f57170b28 [2023-03-29T22:06:36.667Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-29T22:06:36.667Z] ---> Running in 45093ffe58c3 [2023-03-29T22:06:36.667Z] Removing intermediate container 45093ffe58c3 [2023-03-29T22:06:36.667Z] ---> 3c52a5b5225a [2023-03-29T22:06:36.667Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-29T22:06:36.667Z] ---> Running in 9f307bf0b735 [2023-03-29T22:06:36.667Z] Removing intermediate container 9f307bf0b735 [2023-03-29T22:06:36.667Z] ---> 3d1cd3fa1ccc [2023-03-29T22:06:36.667Z] Step 22/24 : LABEL arch=arm64 [2023-03-29T22:06:36.667Z] ---> Running in e4201dfb29e0 [2023-03-29T22:06:36.667Z] Removing intermediate container e4201dfb29e0 [2023-03-29T22:06:36.667Z] ---> 8f2f80534737 [2023-03-29T22:06:36.667Z] Step 23/24 : LABEL git_sha=62421059985c5c342f3f8b87a26ed32612a67d39 [2023-03-29T22:06:36.667Z] ---> Running in dfb2bb44a7a7 [2023-03-29T22:06:36.667Z] Removing intermediate container dfb2bb44a7a7 [2023-03-29T22:06:36.667Z] ---> e3e09c4a818c [2023-03-29T22:06:36.667Z] Step 24/24 : LABEL version=0.0.0 [2023-03-29T22:06:36.667Z] ---> Running in 997eea2202c3 [2023-03-29T22:06:36.667Z] Removing intermediate container 997eea2202c3 [2023-03-29T22:06:36.667Z] ---> 51291abfec47 [2023-03-29T22:06:36.667Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T22:06:36.667Z] Successfully built 51291abfec47 [2023-03-29T22:06:36.667Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:06:37.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:06:37.094Z] [2023-03-29T22:06:37.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:06:37.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:06:37.411Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T22:06:37.411Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T22:06:37.411Z] 04944245beec: Pulling fs layer [2023-03-29T22:06:37.411Z] 699f458cf7ca: Pulling fs layer [2023-03-29T22:06:37.411Z] 765212b225bb: Pulling fs layer [2023-03-29T22:06:37.411Z] f23df028b6ca: Pulling fs layer [2023-03-29T22:06:37.411Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T22:06:37.411Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T22:06:37.411Z] f23df028b6ca: Waiting [2023-03-29T22:06:37.411Z] d65c8cfc05b1: Waiting [2023-03-29T22:06:37.411Z] 2437ff75d9bd: Waiting [2023-03-29T22:06:37.411Z] 765212b225bb: Waiting [2023-03-29T22:06:37.679Z] 04944245beec: Verifying Checksum [2023-03-29T22:06:37.679Z] 04944245beec: Download complete [2023-03-29T22:06:37.679Z] 765212b225bb: Verifying Checksum [2023-03-29T22:06:37.679Z] 765212b225bb: Download complete [2023-03-29T22:06:37.679Z] f23df028b6ca: Verifying Checksum [2023-03-29T22:06:37.679Z] f23df028b6ca: Download complete [2023-03-29T22:06:37.679Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T22:06:37.679Z] d65c8cfc05b1: Download complete [2023-03-29T22:06:37.679Z] 699f458cf7ca: Verifying Checksum [2023-03-29T22:06:37.679Z] 699f458cf7ca: Download complete [2023-03-29T22:06:38.263Z] 8998bd30e6a1: Verifying Checksum [2023-03-29T22:06:38.263Z] 8998bd30e6a1: Download complete [2023-03-29T22:06:40.221Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T22:06:40.221Z] 2437ff75d9bd: Download complete [2023-03-29T22:06:42.164Z] 8998bd30e6a1: Pull complete [2023-03-29T22:06:42.431Z] 04944245beec: Pull complete [2023-03-29T22:06:43.392Z] 699f458cf7ca: Pull complete [2023-03-29T22:06:43.659Z] 765212b225bb: Pull complete [2023-03-29T22:06:44.690Z] f23df028b6ca: Pull complete [2023-03-29T22:06:44.690Z] d65c8cfc05b1: Pull complete [2023-03-29T22:06:59.681Z] 2437ff75d9bd: Pull complete [2023-03-29T22:06:59.681Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T22:06:59.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:06:59.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:06:59.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-6260 does not seem to be running inside a container [2023-03-29T22:06:59.971Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T22:07:02.639Z] $ docker top 78e47dce698a961e9d3b3af89c0a48032511c0c6fe43b41d93a45ee86683afa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:03.478Z] ---> job-cost.sh [2023-03-29T22:07:03.478Z] lf-activate-venv: SKIPPING [2023-03-29T22:07:03.478Z] INFO: No Stack... [2023-03-29T22:07:04.059Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T22:07:05.020Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T22:07:05.655Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2023-03-29T22:07:05.655Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T22:07:05.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [2023-03-29T22:07:05.727Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] did not exist. Created. [2023-03-29T22:07:05.727Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T22:07:06.371Z] /w/workspace/device-snmp-go/2@tmp/durable-01531b57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T22:07:07.017Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T22:07:07.031Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T22:07:07.076Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T22:07:07.083Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T22:07:07.112Z] $ docker stop --time=1 78e47dce698a961e9d3b3af89c0a48032511c0c6fe43b41d93a45ee86683afa5 [2023-03-29T22:07:08.632Z] $ docker rm -f --volumes 78e47dce698a961e9d3b3af89c0a48032511c0c6fe43b41d93a45ee86683afa5 [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-29T22:07:09.004Z] provisioning config files... [2023-03-29T22:07:09.012Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config15584981923497902008tmp [Pipeline] { [Pipeline] sh [2023-03-29T22:07:09.304Z] + set +x [2023-03-29T22:07:09.304Z] + curl -s https://codecov.io/bash [2023-03-29T22:07:09.304Z] + bash -s -- [2023-03-29T22:07:09.304Z] [2023-03-29T22:07:09.304Z] _____ _ [2023-03-29T22:07:09.304Z] / ____| | | [2023-03-29T22:07:09.304Z] | | ___ __| | ___ ___ _____ __ [2023-03-29T22:07:09.304Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-29T22:07:09.304Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-29T22:07:09.304Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-29T22:07:09.304Z] Bash-1.0.6 [2023-03-29T22:07:09.304Z] [2023-03-29T22:07:09.304Z] [2023-03-29T22:07:09.304Z] ==> git version 2.25.1 found [2023-03-29T22:07:09.304Z] ==> 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-29T22:07:09.304Z] Release-Date: 2020-01-08 [2023-03-29T22:07:09.304Z] 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-29T22:07:09.304Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-29T22:07:09.304Z] ==> Jenkins CI detected. [2023-03-29T22:07:09.304Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-279 [2023-03-29T22:07:09.304Z] project root: . [2023-03-29T22:07:09.304Z] --> token set from env [2023-03-29T22:07:09.304Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-29T22:07:09.304Z] ==> Running gcov in . (disable via -X gcov) [2023-03-29T22:07:09.304Z] ==> Python coveragepy not found [2023-03-29T22:07:09.304Z] ==> Searching for coverage reports in: [2023-03-29T22:07:09.304Z] + . [2023-03-29T22:07:09.304Z] -> Found 1 reports [2023-03-29T22:07:09.304Z] ==> Detecting git/mercurial file structure [2023-03-29T22:07:09.304Z] ==> Reading reports [2023-03-29T22:07:09.304Z] + ./coverage.out bytes=7630 [2023-03-29T22:07:09.304Z] ==> Appending adjustments [2023-03-29T22:07:09.304Z] https://docs.codecov.io/docs/fixing-reports [2023-03-29T22:07:09.304Z] + Found adjustments [2023-03-29T22:07:09.564Z] ==> Gzipping contents [2023-03-29T22:07:09.564Z] 4.0K /tmp/codecov.rzBGqp.gz [2023-03-29T22:07:09.564Z] ==> Uploading reports [2023-03-29T22:07:09.564Z] url: https://codecov.io [2023-03-29T22:07:09.564Z] query: branch=PR-279&commit=62421059985c5c342f3f8b87a26ed32612a67d39&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-279%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=279&job=&cmd_args= [2023-03-29T22:07:09.564Z] -> Pinging Codecov [2023-03-29T22:07:09.564Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-279&commit=62421059985c5c342f3f8b87a26ed32612a67d39&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-279%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=279&job=&cmd_args= [2023-03-29T22:07:09.564Z] -> Uploading to [2023-03-29T22:07:09.564Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-29/6C56EA5C29638FB4528AC87E60AF5AE0/62421059985c5c342f3f8b87a26ed32612a67d39/d68fe122-e34c-43aa-830f-95eb0481e6a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T220709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=473219e7bfaf3de3e6c48cb5ef72f5b1771f3c00dd87fd87e63482513e921e7e [2023-03-29T22:07:09.564Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T22:07:09.564Z] Dload Upload Total Spent Left Speed [2023-03-29T22:07:09.823Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1439 0 0 100 1439 0 5665 --:--:-- --:--:-- --:--:-- 5665 [2023-03-29T22:07:09.823Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] } [2023-03-29T22:07:09.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-29T22:07:10.463Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-279/archives ] [2023-03-29T22:07:10.464Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-279/archives [2023-03-29T22:07:10.464Z] total 16 [2023-03-29T22:07:10.464Z] drwxr-xr-x 3 root root 4096 Mar 29 21:57 . [2023-03-29T22:07:10.464Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 21:57 .. [2023-03-29T22:07:10.464Z] drwxr-xr-x 2 root root 4096 Mar 29 21:57 cost [2023-03-29T22:07:10.464Z] -rw-r--r-- 1 root root 86 Mar 29 21:57 cost.csv [2023-03-29T22:07:10.464Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-279/archives [2023-03-29T22:07:10.464Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-279/archives [2023-03-29T22:07:10.464Z] total 16 [2023-03-29T22:07:10.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 21:57 . [2023-03-29T22:07:10.464Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 21:57 .. [2023-03-29T22:07:10.464Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 21:57 cost [2023-03-29T22:07:10.464Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 29 21:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:10.756Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:11.618Z] ---> package-listing.sh [2023-03-29T22:07:11.619Z] ++ facter osfamily [2023-03-29T22:07:11.619Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T22:07:11.878Z] + OS_FAMILY=debian [2023-03-29T22:07:11.878Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-279 [2023-03-29T22:07:11.878Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T22:07:11.878Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T22:07:11.878Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T22:07:11.878Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T22:07:11.878Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-279 ']' [2023-03-29T22:07:11.878Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T22:07:11.878Z] + case "${OS_FAMILY}" in [2023-03-29T22:07:11.878Z] + dpkg -l [2023-03-29T22:07:11.878Z] + grep '^ii' [2023-03-29T22:07:11.878Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T22:07:11.878Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T22:07:11.878Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T22:07:11.878Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-279 ']' [2023-03-29T22:07:11.878Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/ [2023-03-29T22:07:11.878Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/ [Pipeline] echo [2023-03-29T22:07:11.889Z] 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/gexfoundry_device-snmp-go_PR-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T22:07:12.166Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:07:12.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:07:12.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:07:12.788Z] prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container [2023-03-29T22:07:12.817Z] $ 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/gexfoundry_device-snmp-go_PR-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T22:07:13.043Z] $ docker top b30e7e96ce962745142fd16c5346f1463138230d09c78557616bea80d8abb910 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:07:13.380Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T22:07:13.666Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T22:07:13.951Z] + ls /var/log/sa-host [2023-03-29T22:07:13.951Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:07:14.015Z] provisioning config files... [2023-03-29T22:07:14.023Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config11706780594825430947tmp [Pipeline] { [Pipeline] echo [2023-03-29T22:07:14.035Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:14.316Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T22:07:14.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:14.649Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T22:07:14.658Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:14.942Z] ---> sudo-logs.sh [2023-03-29T22:07:14.942Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T22:07:14.970Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:15.253Z] ---> job-cost.sh [2023-03-29T22:07:15.253Z] lf-activate-venv: SKIPPING [2023-03-29T22:07:15.253Z] DEBUG: total: 0.2199999988079071 [2023-03-29T22:07:15.253Z] INFO: Retrieving Stack Cost... [2023-03-29T22:07:15.821Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T22:07:16.080Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T22:07:16.092Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:07:16.375Z] ---> logs-deploy.sh [2023-03-29T22:07:16.375Z] lf-activate-venv: SKIPPING [2023-03-29T22:07:16.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-279/2 [2023-03-29T22:07:16.375Z] INFO: archiving workspace using pattern(s): [2023-03-29T22:07:17.310Z] Archives upload complete. [2023-03-29T22:07:17.311Z] INFO: archiving logs to Nexus