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 21:55:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:55:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:55:40 ========================================================= 21:55:40 EdgeX Global Pipelines Version Info 21:55:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:55:41 ------------------- 21:55:41 stable info: 21:55:41 ------------------- 21:55:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:55:41 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:55:41 Message: update stable to v1.0.245 21:55:41 ------------------- 21:55:41 experimental info: 21:55:41 ------------------- 21:55:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:55:41 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 21:55:41 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6242105 [Pipeline] echo 21:55:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:42 provisioning config files... 21:55:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config16011544764746304246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:42 ---> docker-login.sh 21:55:42 nexus3.edgexfoundry.org:10001 21:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:43 Configure a credential helper to remove this warning. See 21:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:43 21:55:43 Login Succeeded 21:55:43 nexus3.edgexfoundry.org:10002 21:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:43 Configure a credential helper to remove this warning. See 21:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:43 21:55:43 Login Succeeded 21:55:43 nexus3.edgexfoundry.org:10003 21:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:43 Configure a credential helper to remove this warning. See 21:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:43 21:55:43 Login Succeeded 21:55:43 nexus3.edgexfoundry.org:10004 21:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:43 Configure a credential helper to remove this warning. See 21:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:43 21:55:43 Login Succeeded 21:55:43 docker.io 21:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:43 Configure a credential helper to remove this warning. See 21:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:43 21:55:43 Login Succeeded 21:55:43 ---> docker-login.sh ends [Pipeline] } 21:55:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:55:44 + git rev-list -1 --merges 62421059985c5c342f3f8b87a26ed32612a67d39~1..62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo 21:55:44 -----------> git rev-list -1 --merges 62421059985c5c342f3f8b87a26ed32612a67d39~1..62421059985c5c342f3f8b87a26ed32612a67d39 62421059985c5c342f3f8b87a26ed32612a67d39 [false] [Pipeline] sh 21:55:44 + git log --format=format:%s -1 62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo 21:55:44 ========================================================= 21:55:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:55:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:45 + git log --format=format:%s -1 62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] echo 21:55:45 [semverPrep] GIT_COMMIT: 62421059985c5c342f3f8b87a26ed32612a67d39, Commit Message: refactor!: Change configuration and device toml files to yaml [Pipeline] echo 21:55:45 [semverPrep] This is not a build commit. [Pipeline] sh 21:55:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:55:45 + grep -v github /etc/ssh/ssh_known_hosts 21:55:45 + [ -e /tmp/ssh_known_hosts ] 21:55:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:55:45 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:55:45 sudo tee -a /etc/ssh/ssh_known_hosts 21:55:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:45 21:55:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:46 0.1.4: Pulling from edgex-devops/py-git-semver 21:55:46 b85a868b505f: Pulling fs layer 21:55:46 e2be974225ed: Pulling fs layer 21:55:46 339a4e72a1f5: Pulling fs layer 21:55:46 988bab9f4d93: Pulling fs layer 21:55:46 1469e6f7b9e6: Pulling fs layer 21:55:46 eaf3925da568: Pulling fs layer 21:55:46 bab4dde63d76: Pulling fs layer 21:55:46 bde34c3a00c8: Pulling fs layer 21:55:46 b352a97aabf1: Pulling fs layer 21:55:46 4872d77fe225: Pulling fs layer 21:55:46 5851b861e8e6: Pulling fs layer 21:55:46 988bab9f4d93: Waiting 21:55:46 bab4dde63d76: Waiting 21:55:46 1469e6f7b9e6: Waiting 21:55:46 eaf3925da568: Waiting 21:55:46 bde34c3a00c8: Waiting 21:55:46 b352a97aabf1: Waiting 21:55:46 4872d77fe225: Waiting 21:55:46 e2be974225ed: Verifying Checksum 21:55:46 988bab9f4d93: Verifying Checksum 21:55:46 988bab9f4d93: Download complete 21:55:46 1469e6f7b9e6: Verifying Checksum 21:55:46 1469e6f7b9e6: Download complete 21:55:46 339a4e72a1f5: Verifying Checksum 21:55:46 339a4e72a1f5: Download complete 21:55:46 eaf3925da568: Verifying Checksum 21:55:46 eaf3925da568: Download complete 21:55:46 bde34c3a00c8: Verifying Checksum 21:55:46 bde34c3a00c8: Download complete 21:55:46 b352a97aabf1: Download complete 21:55:46 4872d77fe225: Download complete 21:55:46 5851b861e8e6: Download complete 21:55:46 b85a868b505f: Download complete 21:55:46 bab4dde63d76: Verifying Checksum 21:55:46 bab4dde63d76: Download complete 21:55:47 b85a868b505f: Pull complete 21:55:47 e2be974225ed: Pull complete 21:55:48 339a4e72a1f5: Pull complete 21:55:48 988bab9f4d93: Pull complete 21:55:48 1469e6f7b9e6: Pull complete 21:55:48 eaf3925da568: Pull complete 21:55:50 bab4dde63d76: Pull complete 21:55:50 bde34c3a00c8: Pull complete 21:55:50 b352a97aabf1: Pull complete 21:55:50 4872d77fe225: Pull complete 21:55:50 5851b861e8e6: Pull complete 21:55:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:55:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:51 prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container 21:55:51 $ 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 21:55:52 $ docker top 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 -eo pid,comm 21:55:53 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). 21:55:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:55:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:53 [ssh-agent] Looking for ssh-agent implementation... 21:55:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:53 $ docker exec 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent 21:55:53 SSH_AUTH_SOCK=/tmp/ssh-klKiubAHrJ6e/agent.32 21:55:53 SSH_AGENT_PID=38 21:55:53 Running ssh-add (command line suppressed) 21:55:53 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) 21:55:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:53 + git tag --points-at HEAD [Pipeline] } 21:55:53 $ docker exec --env ******** --env ******** 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent -k 21:55:53 unset SSH_AUTH_SOCK; 21:55:53 unset SSH_AGENT_PID; 21:55:53 echo Agent pid 38 killed; 21:55:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:55:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:53 [ssh-agent] Looking for ssh-agent implementation... 21:55:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:53 $ docker exec 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent 21:55:54 SSH_AUTH_SOCK=/tmp/ssh-u1sI7QzVmzcC/agent.71 21:55:54 SSH_AGENT_PID=77 21:55:54 Running ssh-add (command line suppressed) 21:55:54 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) 21:55:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:54 + git semver init 21:55:54 2023-03-29 21:55:54,698 [run_init] DEBUG init version:0.0.0 force:False 21:55:54 2023-03-29 21:55:54,699 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver 21:55:54 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 21:55:54 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) 21:55:55 2023-03-29 21:55:55,562 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-279/.git/info/exclude 21:55:55 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 21:55:55 2023-03-29 21:55:55,563 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 21:55:55 2023-03-29 21:55:55,567 [execute] INFO git cat-file --batch-check 21:55:55 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=) 21:55:55 2023-03-29 21:55:55,573 [execute] INFO git cat-file --batch 21:55:55 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=) 21:55:55 2023-03-29 21:55:55,578 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 21:55:55 0.0.0 [Pipeline] } 21:55:55 $ docker exec --env ******** --env ******** 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 ssh-agent -k 21:55:55 unset SSH_AUTH_SOCK; 21:55:55 unset SSH_AGENT_PID; 21:55:55 echo Agent pid 77 killed; 21:55:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:55:56 + git semver [Pipeline] } 21:55:56 $ docker stop --time=1 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 21:55:57 $ docker rm -f --volumes 37b89aeb545efd6a0a3cb436347e60f63d44265629d5e4a77c98c99a40d83145 [Pipeline] // withDockerContainer [Pipeline] sh 21:55:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:55:58 Stashed 1 file(s) [Pipeline] echo 21:55:58 [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 21:55:58 provisioning config files... 21:55:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config13485512329272229467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:58 ---> docker-login.sh 21:55:58 nexus3.edgexfoundry.org:10001 21:55:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:58 Configure a credential helper to remove this warning. See 21:55:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:58 21:55:58 Login Succeeded 21:55:58 nexus3.edgexfoundry.org:10002 21:55:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:58 Configure a credential helper to remove this warning. See 21:55:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:58 21:55:58 Login Succeeded 21:55:58 nexus3.edgexfoundry.org:10003 21:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:59 Configure a credential helper to remove this warning. See 21:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:59 21:55:59 Login Succeeded 21:55:59 nexus3.edgexfoundry.org:10004 21:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:59 Configure a credential helper to remove this warning. See 21:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:59 21:55:59 Login Succeeded 21:55:59 docker.io 21:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:59 Configure a credential helper to remove this warning. See 21:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:59 21:55:59 Login Succeeded 21:55:59 ---> docker-login.sh ends [Pipeline] } 21:55:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:55:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:59 ========================================================= 21:55:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:55:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:59 + 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 . 21:55:59 Sending build context to Docker daemon 5.786MB 21:55:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:55:59 Step 2/12 : FROM ${BASE} AS builder 21:55:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:55:59 63b65145d645: Pulling fs layer 21:55:59 a2d21d5440eb: Pulling fs layer 21:55:59 935e6c44a52c: Pulling fs layer 21:55:59 94cc34f8dd06: Pulling fs layer 21:55:59 30dea6a524f1: Pulling fs layer 21:55:59 a2aff8979fd8: Pulling fs layer 21:55:59 6808be2612f2: Pulling fs layer 21:55:59 f25807f1079a: Pulling fs layer 21:55:59 94cc34f8dd06: Waiting 21:55:59 30dea6a524f1: Waiting 21:55:59 a2aff8979fd8: Waiting 21:55:59 6808be2612f2: Waiting 21:55:59 f25807f1079a: Waiting 21:55:59 a2d21d5440eb: Verifying Checksum 21:55:59 a2d21d5440eb: Download complete 21:55:59 94cc34f8dd06: Verifying Checksum 21:55:59 94cc34f8dd06: Download complete 21:55:59 30dea6a524f1: Verifying Checksum 21:55:59 30dea6a524f1: Download complete 21:55:59 63b65145d645: Verifying Checksum 21:55:59 63b65145d645: Download complete 21:55:59 a2aff8979fd8: Verifying Checksum 21:55:59 a2aff8979fd8: Download complete 21:55:59 63b65145d645: Pull complete 21:56:00 a2d21d5440eb: Pull complete 21:56:00 f25807f1079a: Verifying Checksum 21:56:00 f25807f1079a: Download complete 21:56:00 935e6c44a52c: Download complete 21:56:00 6808be2612f2: Verifying Checksum 21:56:00 6808be2612f2: Download complete 21:56:04 935e6c44a52c: Pull complete 21:56:04 94cc34f8dd06: Pull complete 21:56:04 30dea6a524f1: Pull complete 21:56:05 a2aff8979fd8: Pull complete 21:56:07 6808be2612f2: Pull complete 21:56:08 f25807f1079a: Pull complete 21:56:08 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:56:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:56:08 ---> 3b553350e43f 21:56:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:56:13 Still waiting to schedule task 21:56:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:56:15 ---> Running in 3543a940614f 21:56:15 Removing intermediate container 3543a940614f 21:56:15 ---> 35672159acce 21:56:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:56:15 ---> Running in 960543daac6e 21:56:15 Removing intermediate container 960543daac6e 21:56:15 ---> 6912013f4844 21:56:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:56:15 ---> Running in 9ecc55c279d1 21:56:15 Removing intermediate container 9ecc55c279d1 21:56:15 ---> 056b75adc36b 21:56:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:56:15 ---> Running in 73cbb2290ed8 21:56:15 Removing intermediate container 73cbb2290ed8 21:56:15 ---> e7ca081efb66 21:56:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:56:15 ---> Running in cb57600958d9 21:56:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:56:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:56:15 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:56:15 (2/4) Installing libedit (20221030.3.1-r0) 21:56:15 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:56:15 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:56:15 Executing busybox-1.35.0-r29.trigger 21:56:15 OK: 269 MiB in 57 packages 21:56:16 Removing intermediate container cb57600958d9 21:56:16 ---> a6946b93650f 21:56:16 Step 8/12 : WORKDIR /device-snmp-go 21:56:16 ---> Running in 52090f0fdd4b 21:56:16 Removing intermediate container 52090f0fdd4b 21:56:16 ---> b924f11fe050 21:56:16 Step 9/12 : COPY go.mod vendor* ./ 21:56:16 ---> 8b69fa2c65fa 21:56:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:16 ---> Running in 89b7d6050f1f 21:56:43 Removing intermediate container 89b7d6050f1f 21:56:43 ---> 7b3b89d712e2 21:56:43 Step 11/12 : COPY . . 21:56:43 ---> 558cec0a642c 21:56:43 Step 12/12 : RUN ${MAKE} 21:56:43 ---> Running in 385046b297b1 21:56:43 noop 21:56:43 Removing intermediate container 385046b297b1 21:56:43 ---> 92439a83ea95 21:56:43 Successfully built 92439a83ea95 21:56:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:43 + docker inspect -f . ci-base-image-x86_64 21:56:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:43 prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container 21:56:43 $ 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 21:56:43 $ docker top 9b850b489fcc15117dd4444907ba08a3f4858eb5c56577d615ee3a8e82e094b1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:44 + go version 21:56:44 go version go1.20.2 linux/amd64 [Pipeline] } 21:56:44 $ docker stop --time=1 9b850b489fcc15117dd4444907ba08a3f4858eb5c56577d615ee3a8e82e094b1 21:56:45 $ 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 21:56:45 + docker inspect -f . ci-base-image-x86_64 21:56:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:46 prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container 21:56:46 $ 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 21:56:46 $ docker top d6df16d15eec35be0c3430d935bb20d24761bc2d8bdbdacbdf72cd4820a4804f -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-279 [Pipeline] fileExists [Pipeline] sh 21:56:47 + make test 21:56:47 go test ./... -coverprofile=coverage.out 21:56:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:57:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:57:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 21:57:05 go vet ./... 21:57:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:57:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:57:08 ./bin/test-attribution-txt.sh [Pipeline] echo 21:57:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:57:09 $ docker stop --time=1 d6df16d15eec35be0c3430d935bb20d24761bc2d8bdbdacbdf72cd4820a4804f 21:57:12 $ docker rm -f --volumes d6df16d15eec35be0c3430d935bb20d24761bc2d8bdbdacbdf72cd4820a4804f [Pipeline] // withDockerContainer [Pipeline] sh 21:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:57:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:57:14 + ls -al . 21:57:14 total 168 21:57:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 21:56 . 21:57:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:55 .. 21:57:14 -rw-rw-r-- 1 jenkins jenkins 6 Mar 29 21:55 .dockerignore 21:57:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 21:55 .git 21:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:55 .github 21:57:14 -rw-rw-r-- 1 jenkins jenkins 328 Mar 29 21:55 .gitignore 21:57:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 21:55 .golangci.yml 21:57:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 21:55 .semver 21:57:14 -rw-rw-r-- 1 jenkins jenkins 8926 Mar 29 21:55 Attribution.txt 21:57:14 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 29 21:55 CHANGELOG.md 21:57:14 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 29 21:55 Dockerfile 21:57:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 21:55 GOVERNANCE.md 21:57:14 -rw-rw-r-- 1 jenkins jenkins 656 Mar 29 21:55 Jenkinsfile 21:57:14 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 21:55 LICENSE 21:57:14 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 29 21:55 Makefile 21:57:14 -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 21:55 OWNERS.md 21:57:14 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 29 21:55 README.md 21:57:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 21:55 VERSION 21:57:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 21:55 bin 21:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:55 cmd 21:57:14 -rw-r--r-- 1 jenkins jenkins 7630 Mar 29 21:57 coverage.out 21:57:14 -rw-rw-r-- 1 jenkins jenkins 3280 Mar 29 21:55 go.mod 21:57:14 -rw-rw-r-- 1 jenkins jenkins 31151 Mar 29 21:55 go.sum 21:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:55 internal 21:57:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:55 snap 21:57:14 -rw-rw-r-- 1 jenkins jenkins 228 Mar 29 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:14 + 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 . 21:57:14 Sending build context to Docker daemon 5.794MB 21:57:14 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:57:14 Step 2/24 : FROM ${BASE} AS builder 21:57:14 ---> 92439a83ea95 21:57:14 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:57:14 ---> Running in 6c15d96508ea 21:57:14 Removing intermediate container 6c15d96508ea 21:57:14 ---> e63dacdfe63e 21:57:14 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:14 ---> Running in aa9a474f8c07 21:57:14 Removing intermediate container aa9a474f8c07 21:57:14 ---> 12abb75d6157 21:57:14 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:57:14 ---> Running in cc6154eb9108 21:57:14 Removing intermediate container cc6154eb9108 21:57:14 ---> 9270fd56b483 21:57:14 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:57:14 ---> Running in 5bf72a2e38cc 21:57:14 Removing intermediate container 5bf72a2e38cc 21:57:14 ---> 426e8478634c 21:57:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:57:14 ---> Running in 1068b245c36f 21:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:57:15 OK: 269 MiB in 57 packages 21:57:15 Removing intermediate container 1068b245c36f 21:57:15 ---> 4da8975e8493 21:57:15 Step 8/24 : WORKDIR /device-snmp-go 21:57:15 ---> Running in bdf492bfee07 21:57:15 Removing intermediate container bdf492bfee07 21:57:15 ---> a82725e3eb65 21:57:15 Step 9/24 : COPY go.mod vendor* ./ 21:57:16 ---> d80d8975afdc 21:57:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:57:16 ---> Running in 6ba7429c2719 21:57:16 Removing intermediate container 6ba7429c2719 21:57:16 ---> 921c1d013e37 21:57:16 Step 11/24 : COPY . . 21:57:17 ---> bf5b6683ff79 21:57:17 Step 12/24 : RUN ${MAKE} 21:57:17 ---> Running in 0d98cf4f0d69 21:57:17 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 21:57:44 Removing intermediate container 0d98cf4f0d69 21:57:44 ---> e95b18cf8c87 21:57:44 Step 13/24 : FROM alpine:3.17 21:57:44 3.17: Pulling from library/alpine 21:57:44 f56be85fc22e: Pulling fs layer 21:57:44 f56be85fc22e: Download complete 21:57:44 f56be85fc22e: Pull complete 21:57:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:57:44 Status: Downloaded newer image for alpine:3.17 21:57:44 ---> 9ed4aefc74f6 21:57:44 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:57:44 ---> Running in 0835a610dee4 21:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:57:44 (1/1) Installing dumb-init (1.2.5-r2) 21:57:44 Executing busybox-1.35.0-r29.trigger 21:57:44 OK: 7 MiB in 16 packages 21:57:44 Removing intermediate container 0835a610dee4 21:57:44 ---> c9b283bd8d72 21:57:44 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:57:44 ---> a952bbdd9252 21:57:44 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:57:44 ---> 12121d349deb 21:57:44 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:57:44 ---> 376b8183cec2 21:57:44 Step 18/24 : EXPOSE 59993 21:57:44 ---> Running in 2cf4a36f220c 21:57:44 Removing intermediate container 2cf4a36f220c 21:57:44 ---> 9c7d10c40104 21:57:44 Step 19/24 : EXPOSE 161 21:57:44 ---> Running in 33bcc2e0686f 21:57:44 Removing intermediate container 33bcc2e0686f 21:57:44 ---> f6b899132c96 21:57:44 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:57:44 ---> Running in 07dec9f3504e 21:57:44 Removing intermediate container 07dec9f3504e 21:57:44 ---> aa2de192526d 21:57:44 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:57:44 ---> Running in 2f9f355734f9 21:57:44 Removing intermediate container 2f9f355734f9 21:57:44 ---> f586942c7590 21:57:44 Step 22/24 : LABEL arch=amd64 21:57:44 ---> Running in 08d7bf42f40d 21:57:44 Removing intermediate container 08d7bf42f40d 21:57:44 ---> 41cbf9d74012 21:57:44 Step 23/24 : LABEL git_sha=62421059985c5c342f3f8b87a26ed32612a67d39 21:57:44 ---> Running in 17bf907d0646 21:57:44 Removing intermediate container 17bf907d0646 21:57:44 ---> d4c7c1f2ac9d 21:57:44 Step 24/24 : LABEL version=0.0.0 21:57:44 ---> Running in c8ca5427b300 21:57:44 Removing intermediate container c8ca5427b300 21:57:44 ---> 01ad75104266 21:57:44 [Warning] One or more build-args [ARCH] were not consumed 21:57:44 Successfully built 01ad75104266 21:57:44 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 21:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:45 21:57:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:45 latest: Pulling from edgex-lftools-log-publisher 21:57:45 5eb5b503b376: Pulling fs layer 21:57:45 5c69ac0246d0: Pulling fs layer 21:57:45 ec43610c2a17: Pulling fs layer 21:57:45 3a2ae6a8a46f: Pulling fs layer 21:57:45 33b1e0a273af: Pulling fs layer 21:57:45 5d3b04190fa2: Pulling fs layer 21:57:45 2f39f015ded8: Pulling fs layer 21:57:45 33b1e0a273af: Waiting 21:57:45 5d3b04190fa2: Waiting 21:57:45 3a2ae6a8a46f: Waiting 21:57:45 5c69ac0246d0: Download complete 21:57:45 3a2ae6a8a46f: Verifying Checksum 21:57:45 3a2ae6a8a46f: Download complete 21:57:45 ec43610c2a17: Verifying Checksum 21:57:45 ec43610c2a17: Download complete 21:57:45 33b1e0a273af: Verifying Checksum 21:57:45 33b1e0a273af: Download complete 21:57:45 5d3b04190fa2: Verifying Checksum 21:57:45 5d3b04190fa2: Download complete 21:57:45 5eb5b503b376: Verifying Checksum 21:57:45 5eb5b503b376: Download complete 21:57:46 2f39f015ded8: Download complete 21:57:47 5eb5b503b376: Pull complete 21:57:47 5c69ac0246d0: Pull complete 21:57:47 ec43610c2a17: Pull complete 21:57:47 3a2ae6a8a46f: Pull complete 21:57:47 33b1e0a273af: Pull complete 21:57:47 5d3b04190fa2: Pull complete 21:57:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6260 in /w/workspace/gexfoundry_device-snmp-go_PR-279 [Pipeline] { [Pipeline] ws 21:57:50 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 21:57:50 Selected Git installation does not exist. Using Default 21:57:50 The recommended git tool is: NONE 21:57:52 2f39f015ded8: Pull complete 21:57:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:52 prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container 21:57:52 $ 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 21:57:55 using credential edgex-jenkins-ssh 21:57:55 Cloning the remote Git repository 21:57:55 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:57:56 > git init /w/workspace/device-snmp-go/2 # timeout=10 21:57:56 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:57:56 > git --version # timeout=10 21:57:56 > git --version # 'git version 2.25.1' 21:57:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:57 $ docker top 6973acc7672d3317d7ce54a9d5caae187d0ab07882b25d3cb94f7e6b6fe4748a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:57 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:57:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:57 ---> job-cost.sh 21:57:57 lf-activate-venv: SKIPPING 21:57:57 INFO: No Stack... 21:57:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:57:58 INFO: Archiving Costs [Pipeline] sh 21:57:59 + cat /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/cost.csv+ 21:57:59 cut -d, -f6 [Pipeline] lock 21:57:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] 21:57:59 Resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] did not exist. Created. 21:57:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:57:59 Merging remotes/origin/main commit 224900f6885e44699053c83c13a1a421d11bcb33 into PR head commit 62421059985c5c342f3f8b87a26ed32612a67d39 21:57:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:57:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:57:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:58 > 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 21:57:59 > git config core.sparsecheckout # timeout=10 21:57:59 + echo total: 0.2199999988079071 [Pipeline] stash 21:57:59 Stashed 1 file(s) [Pipeline] } 21:57:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] 21:57:59 Merge succeeded, producing 62421059985c5c342f3f8b87a26ed32612a67d39 21:57:59 Checking out Revision 62421059985c5c342f3f8b87a26ed32612a67d39 (PR-279) [Pipeline] // lock [Pipeline] } 21:57:59 $ docker stop --time=1 6973acc7672d3317d7ce54a9d5caae187d0ab07882b25d3cb94f7e6b6fe4748a 21:57:59 > git checkout -f 62421059985c5c342f3f8b87a26ed32612a67d39 # timeout=10 21:57:59 > git remote # timeout=10 21:57:59 > git config --get remote.origin.url # timeout=10 21:57:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:59 > git merge 224900f6885e44699053c83c13a1a421d11bcb33 # timeout=10 21:57:59 > git rev-parse HEAD^{commit} # timeout=10 21:57:59 > git config core.sparsecheckout # timeout=10 21:57:59 > git checkout -f 62421059985c5c342f3f8b87a26ed32612a67d39 # timeout=10 21:58:00 $ docker rm -f --volumes 6973acc7672d3317d7ce54a9d5caae187d0ab07882b25d3cb94f7e6b6fe4748a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:58:02 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 21:58:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:58:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:58:03 Dload Upload Total Spent Left Speed 21:58:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 21:58:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:58:04 + sudo tee /etc/docker/daemon.new 21:58:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:58:04 { 21:58:04 "registry-mirrors": [ 21:58:04 "https://nexus3.edgexfoundry.org:10001" 21:58:04 ], 21:58:04 "bip": "10.250.0.254/24", 21:58:04 "hosts": [ 21:58:04 "tcp://0.0.0.0:5555", 21:58:04 "unix:///var/run/docker.sock" 21:58:04 ], 21:58:04 "mtu": 1458, 21:58:04 "selinux-enabled": true, 21:58:04 "seccomp-profile": "/etc/docker/seccomp.json" 21:58:04 } [Pipeline] sh 21:58:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:58:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:58:23 provisioning config files... 21:58:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config15249816456738831377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:23 ---> docker-login.sh 21:58:23 nexus3.edgexfoundry.org:10001 21:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:24 Configure a credential helper to remove this warning. See 21:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:24 21:58:24 Login Succeeded 21:58:24 nexus3.edgexfoundry.org:10002 21:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:24 Configure a credential helper to remove this warning. See 21:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:24 21:58:24 Login Succeeded 21:58:24 nexus3.edgexfoundry.org:10003 21:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:25 Configure a credential helper to remove this warning. See 21:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:25 21:58:25 Login Succeeded 21:58:25 nexus3.edgexfoundry.org:10004 21:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:25 Configure a credential helper to remove this warning. See 21:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:25 21:58:25 Login Succeeded 21:58:25 docker.io 21:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:26 Configure a credential helper to remove this warning. See 21:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:26 21:58:26 Login Succeeded 21:58:26 ---> docker-login.sh ends [Pipeline] } 21:58:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:58:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:26 ========================================================= 21:58:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:58:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:26 + 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 . 21:58:27 Sending build context to Docker daemon 3.024MB 21:58:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:58:27 Step 2/12 : FROM ${BASE} AS builder 21:58:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:58:27 af6eaf76a39c: Pulling fs layer 21:58:27 55522c791124: Pulling fs layer 21:58:27 ce5c4a1c91eb: Pulling fs layer 21:58:27 169dfbe0d373: Pulling fs layer 21:58:27 e1ff8fa3b103: Pulling fs layer 21:58:27 52ebb69f0ebf: Pulling fs layer 21:58:27 5abe8eddf0d5: Pulling fs layer 21:58:27 169dfbe0d373: Waiting 21:58:27 e1ff8fa3b103: Waiting 21:58:27 5abe8eddf0d5: Waiting 21:58:27 52ebb69f0ebf: Waiting 21:58:27 55522c791124: Verifying Checksum 21:58:27 55522c791124: Download complete 21:58:27 169dfbe0d373: Verifying Checksum 21:58:27 169dfbe0d373: Download complete 21:58:27 e1ff8fa3b103: Verifying Checksum 21:58:27 e1ff8fa3b103: Download complete 21:58:27 af6eaf76a39c: Download complete 21:58:28 5abe8eddf0d5: Verifying Checksum 21:58:28 5abe8eddf0d5: Download complete 21:58:29 ce5c4a1c91eb: Verifying Checksum 21:58:29 ce5c4a1c91eb: Download complete 21:58:29 52ebb69f0ebf: Verifying Checksum 21:58:29 af6eaf76a39c: Pull complete 21:58:30 55522c791124: Pull complete 21:58:42 ce5c4a1c91eb: Pull complete 21:58:42 169dfbe0d373: Pull complete 21:58:43 e1ff8fa3b103: Pull complete 21:58:51 52ebb69f0ebf: Pull complete 21:58:52 5abe8eddf0d5: Pull complete 21:58:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:58:52 ---> 6cb57ee374ae 21:58:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:58:54 ---> Running in 8596284ba90b 21:58:54 Removing intermediate container 8596284ba90b 21:58:54 ---> f4bdab635948 21:58:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:58:54 ---> Running in 7936b50cfce3 21:58:54 Removing intermediate container 7936b50cfce3 21:58:54 ---> 4794f7a85af4 21:58:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:58:54 ---> Running in c2a84caae738 21:58:55 Removing intermediate container c2a84caae738 21:58:55 ---> a38616b1e66e 21:58:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:58:55 ---> Running in a1170aa11aec 21:58:55 Removing intermediate container a1170aa11aec 21:58:55 ---> 95095b0251b8 21:58:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:55 ---> Running in eb07366173a6 21:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:58:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:58:58 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:58:58 (2/4) Installing libedit (20221030.3.1-r0) 21:58:58 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:58:58 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:58:58 Executing busybox-1.35.0-r29.trigger 21:58:58 OK: 268 MiB in 57 packages 21:58:59 Removing intermediate container eb07366173a6 21:58:59 ---> 50b81a6b4bbb 21:58:59 Step 8/12 : WORKDIR /device-snmp-go 21:58:59 ---> Running in 65f2c73301f4 21:58:59 Removing intermediate container 65f2c73301f4 21:58:59 ---> 362afaf48d85 21:58:59 Step 9/12 : COPY go.mod vendor* ./ 21:59:00 ---> 4b72d3062704 21:59:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:00 ---> Running in 44baa6d29451 22:00:08 Removing intermediate container 44baa6d29451 22:00:08 ---> 76341656835e 22:00:08 Step 11/12 : COPY . . 22:00:08 ---> 5daeec2a1506 22:00:08 Step 12/12 : RUN ${MAKE} 22:00:08 ---> Running in 78b459068e8a 22:00:08 noop 22:00:08 Removing intermediate container 78b459068e8a 22:00:08 ---> 0f032d9702ac 22:00:08 Successfully built 0f032d9702ac 22:00:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:08 + docker inspect -f . ci-base-image-arm64 22:00:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:08 prd-ubuntu20.04-docker-arm64-4c-16g-6260 does not seem to be running inside a container 22:00:08 $ 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 22:00:10 $ docker top af4c6371928df624e4089984d4b4fef22992361fd3b52175e934db7dada21144 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:11 + go version 22:00:11 go version go1.20.2 linux/arm64 [Pipeline] } 22:00:11 $ docker stop --time=1 af4c6371928df624e4089984d4b4fef22992361fd3b52175e934db7dada21144 22:00:12 $ 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 22:00:13 + docker inspect -f . ci-base-image-arm64 22:00:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:13 prd-ubuntu20.04-docker-arm64-4c-16g-6260 does not seem to be running inside a container 22:00:13 $ 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 22:00:16 $ docker top 48d15faadc90f21310a0b1fc89538307c70521b76905e0d5fd3966bc4a957ed2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:16 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 22:00:17 + make test 22:00:17 go test ./... -coverprofile=coverage.out 22:00:56 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:03:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:03:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements 22:03:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:03:03 go vet ./... 22:03:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:03:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:03:42 ./bin/test-attribution-txt.sh [Pipeline] echo 22:03:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:03:42 $ docker stop --time=1 48d15faadc90f21310a0b1fc89538307c70521b76905e0d5fd3966bc4a957ed2 22:03:45 $ docker rm -f --volumes 48d15faadc90f21310a0b1fc89538307c70521b76905e0d5fd3966bc4a957ed2 [Pipeline] // withDockerContainer [Pipeline] sh 22:03:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:03:46 Warning: overwriting stash ‘coverage-report’ 22:03:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:03:47 + ls -al . 22:03:47 total 164 22:03:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:00 . 22:03:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:57 .. 22:03:47 -rw-rw-r-- 1 jenkins jenkins 6 Mar 29 21:57 .dockerignore 22:03:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 21:57 .git 22:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 .github 22:03:47 -rw-rw-r-- 1 jenkins jenkins 328 Mar 29 21:57 .gitignore 22:03:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 21:57 .golangci.yml 22:03:47 -rw-rw-r-- 1 jenkins jenkins 8926 Mar 29 21:57 Attribution.txt 22:03:47 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 29 21:57 CHANGELOG.md 22:03:47 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 29 21:57 Dockerfile 22:03:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 21:57 GOVERNANCE.md 22:03:47 -rw-rw-r-- 1 jenkins jenkins 656 Mar 29 21:57 Jenkinsfile 22:03:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 21:57 LICENSE 22:03:47 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 29 21:57 Makefile 22:03:47 -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 21:57 OWNERS.md 22:03:47 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 29 21:57 README.md 22:03:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 21:55 VERSION 22:03:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 21:57 bin 22:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 cmd 22:03:47 -rw-r--r-- 1 jenkins jenkins 7630 Mar 29 22:03 coverage.out 22:03:47 -rw-rw-r-- 1 jenkins jenkins 3280 Mar 29 21:57 go.mod 22:03:47 -rw-rw-r-- 1 jenkins jenkins 31151 Mar 29 21:57 go.sum 22:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 internal 22:03:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:57 snap 22:03:47 -rw-rw-r-- 1 jenkins jenkins 228 Mar 29 21:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:48 + 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 . 22:03:48 Sending build context to Docker daemon 3.032MB 22:03:48 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 22:03:48 Step 2/24 : FROM ${BASE} AS builder 22:03:48 ---> 0f032d9702ac 22:03:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:03:48 ---> Running in 5016f27e09c7 22:03:48 Removing intermediate container 5016f27e09c7 22:03:48 ---> e3fce3899f9d 22:03:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:03:48 ---> Running in 5dc9a3f8fb00 22:03:49 Removing intermediate container 5dc9a3f8fb00 22:03:49 ---> 9083e3fbd099 22:03:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:03:49 ---> Running in 65b866f1a8a8 22:03:49 Removing intermediate container 65b866f1a8a8 22:03:49 ---> c009eff234cc 22:03:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:03:49 ---> Running in 4c8f361a7664 22:03:49 Removing intermediate container 4c8f361a7664 22:03:49 ---> 0c4c6b540a06 22:03:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:03:50 ---> Running in 0d060e578855 22:03:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:03:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:03:53 OK: 268 MiB in 57 packages 22:03:53 Removing intermediate container 0d060e578855 22:03:53 ---> 7e95c7e98801 22:03:53 Step 8/24 : WORKDIR /device-snmp-go 22:03:54 ---> Running in d082f3629be4 22:03:54 Removing intermediate container d082f3629be4 22:03:54 ---> d75ee376ec63 22:03:54 Step 9/24 : COPY go.mod vendor* ./ 22:03:54 ---> 590a8a7f7ae9 22:03:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:03:54 ---> Running in b52fdc476513 22:03:58 Removing intermediate container b52fdc476513 22:03:58 ---> dec30cb0035d 22:03:58 Step 11/24 : COPY . . 22:03:58 ---> 667e5c5bb185 22:03:58 Step 12/24 : RUN ${MAKE} 22:03:58 ---> Running in 98d95648273a 22:03:59 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 22:06:36 Removing intermediate container 98d95648273a 22:06:36 ---> f082303e0980 22:06:36 Step 13/24 : FROM alpine:3.17 22:06:36 3.17: Pulling from library/alpine 22:06:36 c41833b44d91: Pulling fs layer 22:06:36 c41833b44d91: Verifying Checksum 22:06:36 c41833b44d91: Download complete 22:06:36 c41833b44d91: Pull complete 22:06:36 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:06:36 Status: Downloaded newer image for alpine:3.17 22:06:36 ---> 51e60588ff2c 22:06:36 Step 14/24 : RUN apk add --update --no-cache dumb-init 22:06:36 ---> Running in 5b2453c5d5e2 22:06:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:06:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:06:36 (1/1) Installing dumb-init (1.2.5-r2) 22:06:36 Executing busybox-1.35.0-r29.trigger 22:06:36 OK: 8 MiB in 16 packages 22:06:36 Removing intermediate container 5b2453c5d5e2 22:06:36 ---> a724d44fa40c 22:06:36 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:06:36 ---> 4dcc5e5f002d 22:06:36 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:06:36 ---> b93dc383c855 22:06:36 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:06:36 ---> e04827e74e93 22:06:36 Step 18/24 : EXPOSE 59993 22:06:36 ---> Running in 9a420f7a8d4b 22:06:36 Removing intermediate container 9a420f7a8d4b 22:06:36 ---> d2731227961d 22:06:36 Step 19/24 : EXPOSE 161 22:06:36 ---> Running in c5831fcd664e 22:06:36 Removing intermediate container c5831fcd664e 22:06:36 ---> b94f57170b28 22:06:36 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:06:36 ---> Running in 45093ffe58c3 22:06:36 Removing intermediate container 45093ffe58c3 22:06:36 ---> 3c52a5b5225a 22:06:36 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:06:36 ---> Running in 9f307bf0b735 22:06:36 Removing intermediate container 9f307bf0b735 22:06:36 ---> 3d1cd3fa1ccc 22:06:36 Step 22/24 : LABEL arch=arm64 22:06:36 ---> Running in e4201dfb29e0 22:06:36 Removing intermediate container e4201dfb29e0 22:06:36 ---> 8f2f80534737 22:06:36 Step 23/24 : LABEL git_sha=62421059985c5c342f3f8b87a26ed32612a67d39 22:06:36 ---> Running in dfb2bb44a7a7 22:06:36 Removing intermediate container dfb2bb44a7a7 22:06:36 ---> e3e09c4a818c 22:06:36 Step 24/24 : LABEL version=0.0.0 22:06:36 ---> Running in 997eea2202c3 22:06:36 Removing intermediate container 997eea2202c3 22:06:36 ---> 51291abfec47 22:06:36 [Warning] One or more build-args [ARCH] were not consumed 22:06:36 Successfully built 51291abfec47 22:06:36 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 22:06:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:06:37 22:06:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:06:37 arm64: Pulling from edgex-lftools-log-publisher 22:06:37 8998bd30e6a1: Pulling fs layer 22:06:37 04944245beec: Pulling fs layer 22:06:37 699f458cf7ca: Pulling fs layer 22:06:37 765212b225bb: Pulling fs layer 22:06:37 f23df028b6ca: Pulling fs layer 22:06:37 d65c8cfc05b1: Pulling fs layer 22:06:37 2437ff75d9bd: Pulling fs layer 22:06:37 f23df028b6ca: Waiting 22:06:37 d65c8cfc05b1: Waiting 22:06:37 2437ff75d9bd: Waiting 22:06:37 765212b225bb: Waiting 22:06:37 04944245beec: Verifying Checksum 22:06:37 04944245beec: Download complete 22:06:37 765212b225bb: Verifying Checksum 22:06:37 765212b225bb: Download complete 22:06:37 f23df028b6ca: Verifying Checksum 22:06:37 f23df028b6ca: Download complete 22:06:37 d65c8cfc05b1: Verifying Checksum 22:06:37 d65c8cfc05b1: Download complete 22:06:37 699f458cf7ca: Verifying Checksum 22:06:37 699f458cf7ca: Download complete 22:06:38 8998bd30e6a1: Verifying Checksum 22:06:38 8998bd30e6a1: Download complete 22:06:40 2437ff75d9bd: Verifying Checksum 22:06:40 2437ff75d9bd: Download complete 22:06:42 8998bd30e6a1: Pull complete 22:06:42 04944245beec: Pull complete 22:06:43 699f458cf7ca: Pull complete 22:06:43 765212b225bb: Pull complete 22:06:44 f23df028b6ca: Pull complete 22:06:44 d65c8cfc05b1: Pull complete 22:06:59 2437ff75d9bd: Pull complete 22:06:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:06:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:06:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:59 prd-ubuntu20.04-docker-arm64-4c-16g-6260 does not seem to be running inside a container 22:06:59 $ 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 22:07:02 $ docker top 78e47dce698a961e9d3b3af89c0a48032511c0c6fe43b41d93a45ee86683afa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:03 ---> job-cost.sh 22:07:03 lf-activate-venv: SKIPPING 22:07:03 INFO: No Stack... 22:07:04 INFO: Retrieving Pricing Info for: v3-standard-4 22:07:05 INFO: Archiving Costs [Pipeline] sh 22:07:05 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 22:07:05 + cut -d, -f6 [Pipeline] lock 22:07:05 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] 22:07:05 Resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] did not exist. Created. 22:07:05 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:07:06 /w/workspace/device-snmp-go/2@tmp/durable-01531b57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:07:07 + echo total: 0.10999999940395355 [Pipeline] stash 22:07:07 Warning: overwriting stash ‘stack-cost’ 22:07:07 Stashed 1 file(s) [Pipeline] } 22:07:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-279-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:07:07 $ docker stop --time=1 78e47dce698a961e9d3b3af89c0a48032511c0c6fe43b41d93a45ee86683afa5 22:07:08 $ 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 22:07:09 provisioning config files... 22:07:09 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config15584981923497902008tmp [Pipeline] { [Pipeline] sh 22:07:09 + set +x 22:07:09 + curl -s https://codecov.io/bash 22:07:09 + bash -s -- 22:07:09 22:07:09 _____ _ 22:07:09 / ____| | | 22:07:09 | | ___ __| | ___ ___ _____ __ 22:07:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:07:09 | |___| (_) | (_| | __/ (_| (_) \ V / 22:07:09 \_____\___/ \__,_|\___|\___\___/ \_/ 22:07:09 Bash-1.0.6 22:07:09 22:07:09 22:07:09 ==> git version 2.25.1 found 22:07:09 ==> 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 22:07:09 Release-Date: 2020-01-08 22:07:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:07:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:07:09 ==> Jenkins CI detected. 22:07:09 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-279 22:07:09 project root: . 22:07:09 --> token set from env 22:07:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:07:09 ==> Running gcov in . (disable via -X gcov) 22:07:09 ==> Python coveragepy not found 22:07:09 ==> Searching for coverage reports in: 22:07:09 + . 22:07:09 -> Found 1 reports 22:07:09 ==> Detecting git/mercurial file structure 22:07:09 ==> Reading reports 22:07:09 + ./coverage.out bytes=7630 22:07:09 ==> Appending adjustments 22:07:09 https://docs.codecov.io/docs/fixing-reports 22:07:09 + Found adjustments 22:07:09 ==> Gzipping contents 22:07:09 4.0K /tmp/codecov.rzBGqp.gz 22:07:09 ==> Uploading reports 22:07:09 url: https://codecov.io 22:07:09 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= 22:07:09 -> Pinging Codecov 22:07:09 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= 22:07:09 -> Uploading to 22:07:09 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 22:07:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:07:09 Dload Upload Total Spent Left Speed 22:07:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1439 0 0 100 1439 0 5665 --:--:-- --:--:-- --:--:-- 5665 22:07:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/62421059985c5c342f3f8b87a26ed32612a67d39 [Pipeline] } 22:07:09 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 22:07:10 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-279/archives ] 22:07:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-279/archives 22:07:10 total 16 22:07:10 drwxr-xr-x 3 root root 4096 Mar 29 21:57 . 22:07:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 21:57 .. 22:07:10 drwxr-xr-x 2 root root 4096 Mar 29 21:57 cost 22:07:10 -rw-r--r-- 1 root root 86 Mar 29 21:57 cost.csv 22:07:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-279/archives 22:07:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-279/archives 22:07:10 total 16 22:07:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 21:57 . 22:07:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 21:57 .. 22:07:10 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 21:57 cost 22:07:10 -rw-r--r-- 1 jenkins jenkins 86 Mar 29 21:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:07:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:07:11 ---> package-listing.sh 22:07:11 ++ facter osfamily 22:07:11 ++ tr '[:upper:]' '[:lower:]' 22:07:11 + OS_FAMILY=debian 22:07:11 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-279 22:07:11 + START_PACKAGES=/tmp/packages_start.txt 22:07:11 + END_PACKAGES=/tmp/packages_end.txt 22:07:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:07:11 + PACKAGES=/tmp/packages_start.txt 22:07:11 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-279 ']' 22:07:11 + PACKAGES=/tmp/packages_end.txt 22:07:11 + case "${OS_FAMILY}" in 22:07:11 + dpkg -l 22:07:11 + grep '^ii' 22:07:11 + '[' -f /tmp/packages_start.txt ']' 22:07:11 + '[' -f /tmp/packages_end.txt ']' 22:07:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:07:11 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-279 ']' 22:07:11 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/ 22:07:11 + 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 22:07:11 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 22:07:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:12 prd-ubuntu20.04-docker-8c-8g-6258 does not seem to be running inside a container 22:07:12 $ 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 22:07:13 $ docker top b30e7e96ce962745142fd16c5346f1463138230d09c78557616bea80d8abb910 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:13 + touch /tmp/pre-build-complete [Pipeline] sh 22:07:13 + mkdir -p /var/log/sysstat [Pipeline] sh 22:07:13 + ls /var/log/sa-host 22:07:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:14 provisioning config files... 22:07:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config11706780594825430947tmp [Pipeline] { [Pipeline] echo 22:07:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:07:14 ---> create-netrc.sh [Pipeline] } 22:07:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:07:14 ---> python-tools-install.sh [Pipeline] echo 22:07:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:07:14 ---> sudo-logs.sh 22:07:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:07:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:07:15 ---> job-cost.sh 22:07:15 lf-activate-venv: SKIPPING 22:07:15 DEBUG: total: 0.2199999988079071 22:07:15 INFO: Retrieving Stack Cost... 22:07:15 INFO: Retrieving Pricing Info for: v3-standard-8 22:07:16 INFO: Archiving Costs [Pipeline] echo 22:07:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:07:16 ---> logs-deploy.sh 22:07:16 lf-activate-venv: SKIPPING 22:07:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-279/2 22:07:16 INFO: archiving workspace using pattern(s): 22:07:17 Archives upload complete. 22:07:17 INFO: archiving logs to Nexus