Pull request #312 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb665b697413815a9e926c8d38e3b2037295de10+f0acc0c4a5995740a11ce30356140c244122cf64 (38a95929eac631e0364df524ad192c0d1aadf423) 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-ssh2893349001093590290.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3810477477741222288.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11492516130435222020.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6737286110526609311.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17120157318115170225.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-312/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-312/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18326031469616928065.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16885 in /w/workspace/gexfoundry_device-snmp-go_PR-312 [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-312 # 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/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f0acc0c4a5995740a11ce30356140c244122cf64 into PR head commit bb665b697413815a9e926c8d38e3b2037295de10 Merge succeeded, producing bb665b697413815a9e926c8d38e3b2037295de10 Checking out Revision bb665b697413815a9e926c8d38e3b2037295de10 (PR-312) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:49:59 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bb665b697413815a9e926c8d38e3b2037295de10 # 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 f0acc0c4a5995740a11ce30356140c244122cf64 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb665b697413815a9e926c8d38e3b2037295de10 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:49:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:50:00 ========================================================= 00:50:00 EdgeX Global Pipelines Version Info 00:50:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:50:00 ------------------- 00:50:00 stable info: 00:50:00 ------------------- 00:50:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:50:00 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:50:00 Message: update stable to v1.0.249 00:50:01 ------------------- 00:50:01 experimental info: 00:50:01 ------------------- 00:50:01 Commited By: **** collab-it+edgex@linuxfoundation.org 00:50:01 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:50:01 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-312 [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-312 [Pipeline] echo 00:50:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-312 [Pipeline] echo 00:50:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb665b697413815a9e926c8d38e3b2037295de10 [Pipeline] echo 00:50:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb665b6 [Pipeline] echo 00:50:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:03 provisioning config files... 00:50:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/config17365230073805503960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:03 ---> docker-login.sh 00:50:03 nexus3.edgexfoundry.org:10001 00:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:03 Configure a credential helper to remove this warning. See 00:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:03 00:50:03 Login Succeeded 00:50:03 nexus3.edgexfoundry.org:10002 00:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:04 Configure a credential helper to remove this warning. See 00:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:04 00:50:04 Login Succeeded 00:50:04 nexus3.edgexfoundry.org:10003 00:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:04 Configure a credential helper to remove this warning. See 00:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:04 00:50:04 Login Succeeded 00:50:04 nexus3.edgexfoundry.org:10004 00:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:04 Configure a credential helper to remove this warning. See 00:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:04 00:50:04 Login Succeeded 00:50:04 docker.io 00:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:04 Configure a credential helper to remove this warning. See 00:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:04 00:50:04 Login Succeeded 00:50:04 ---> docker-login.sh ends [Pipeline] } 00:50:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:50:05 + git rev-list -1 --merges bb665b697413815a9e926c8d38e3b2037295de10~1..bb665b697413815a9e926c8d38e3b2037295de10 [Pipeline] echo 00:50:05 -----------> git rev-list -1 --merges bb665b697413815a9e926c8d38e3b2037295de10~1..bb665b697413815a9e926c8d38e3b2037295de10 bb665b697413815a9e926c8d38e3b2037295de10 [false] [Pipeline] sh 00:50:05 + git log --format=format:%s -1 bb665b697413815a9e926c8d38e3b2037295de10 [Pipeline] echo 00:50:05 ========================================================= 00:50:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:50:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:06 + git log --format=format:%s -1 bb665b697413815a9e926c8d38e3b2037295de10 [Pipeline] echo 00:50:06 [semverPrep] GIT_COMMIT: bb665b697413815a9e926c8d38e3b2037295de10, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:50:06 [semverPrep] This is not a build commit. [Pipeline] sh 00:50:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:50:06 + grep -v github /etc/ssh/ssh_known_hosts 00:50:06 + [ -e /tmp/ssh_known_hosts ] 00:50:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:50:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:50:06 + sudo tee -a /etc/ssh/ssh_known_hosts 00:50:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:06 00:50:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:07 0.1.4: Pulling from edgex-devops/py-git-semver 00:50:07 b85a868b505f: Pulling fs layer 00:50:07 e2be974225ed: Pulling fs layer 00:50:07 339a4e72a1f5: Pulling fs layer 00:50:07 988bab9f4d93: Pulling fs layer 00:50:07 1469e6f7b9e6: Pulling fs layer 00:50:07 eaf3925da568: Pulling fs layer 00:50:07 bab4dde63d76: Pulling fs layer 00:50:07 bde34c3a00c8: Pulling fs layer 00:50:07 b352a97aabf1: Pulling fs layer 00:50:07 4872d77fe225: Pulling fs layer 00:50:07 5851b861e8e6: Pulling fs layer 00:50:07 bab4dde63d76: Waiting 00:50:07 bde34c3a00c8: Waiting 00:50:07 b352a97aabf1: Waiting 00:50:07 4872d77fe225: Waiting 00:50:07 5851b861e8e6: Waiting 00:50:07 1469e6f7b9e6: Waiting 00:50:07 988bab9f4d93: Waiting 00:50:07 eaf3925da568: Waiting 00:50:07 e2be974225ed: Verifying Checksum 00:50:07 e2be974225ed: Download complete 00:50:07 988bab9f4d93: Verifying Checksum 00:50:07 988bab9f4d93: Download complete 00:50:07 1469e6f7b9e6: Verifying Checksum 00:50:07 1469e6f7b9e6: Download complete 00:50:07 eaf3925da568: Verifying Checksum 00:50:07 eaf3925da568: Download complete 00:50:07 339a4e72a1f5: Verifying Checksum 00:50:07 339a4e72a1f5: Download complete 00:50:07 bde34c3a00c8: Download complete 00:50:07 b352a97aabf1: Download complete 00:50:07 4872d77fe225: Verifying Checksum 00:50:07 4872d77fe225: Download complete 00:50:07 5851b861e8e6: Verifying Checksum 00:50:07 5851b861e8e6: Download complete 00:50:07 b85a868b505f: Verifying Checksum 00:50:07 b85a868b505f: Download complete 00:50:08 bab4dde63d76: Download complete 00:50:09 b85a868b505f: Pull complete 00:50:09 e2be974225ed: Pull complete 00:50:09 339a4e72a1f5: Pull complete 00:50:09 988bab9f4d93: Pull complete 00:50:09 1469e6f7b9e6: Pull complete 00:50:10 eaf3925da568: Pull complete 00:50:12 bab4dde63d76: Pull complete 00:50:12 bde34c3a00c8: Pull complete 00:50:12 b352a97aabf1: Pull complete 00:50:12 4872d77fe225: Pull complete 00:50:12 5851b861e8e6: Pull complete 00:50:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:50:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:12 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 00:50:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-312 -v /w/workspace/gexfoundry_device-snmp-go_PR-312:/w/workspace/gexfoundry_device-snmp-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-312@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:50:21 $ docker top 09ceba41646bafcb684f4b42e7b4a8c16528f40168bfe9443dfc5ccc4f6cf056 -eo pid,comm 00:50:21 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). 00:50:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:21 [ssh-agent] Looking for ssh-agent implementation... 00:50:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:21 $ docker exec 09ceba41646bafcb684f4b42e7b4a8c16528f40168bfe9443dfc5ccc4f6cf056 ssh-agent 00:50:22 SSH_AUTH_SOCK=/tmp/ssh-qpn5Z9tIyGQ3/agent.32 00:50:22 SSH_AGENT_PID=38 00:50:22 Running ssh-add (command line suppressed) 00:50:22 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/private_key_17277121319572426520.key (/w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/private_key_17277121319572426520.key) 00:50:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:22 + git tag --points-at HEAD [Pipeline] } 00:50:22 $ docker exec --env ******** --env ******** 09ceba41646bafcb684f4b42e7b4a8c16528f40168bfe9443dfc5ccc4f6cf056 ssh-agent -k 00:50:22 unset SSH_AUTH_SOCK; 00:50:22 unset SSH_AGENT_PID; 00:50:22 echo Agent pid 38 killed; 00:50:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:50:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:22 [ssh-agent] Looking for ssh-agent implementation... 00:50:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:22 $ docker exec 09ceba41646bafcb684f4b42e7b4a8c16528f40168bfe9443dfc5ccc4f6cf056 ssh-agent 00:50:22 SSH_AUTH_SOCK=/tmp/ssh-ivtpESej5jq6/agent.71 00:50:22 SSH_AGENT_PID=77 00:50:22 Running ssh-add (command line suppressed) 00:50:23 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/private_key_2815254671963637724.key (/w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/private_key_2815254671963637724.key) 00:50:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:23 + git semver init 00:50:23 2023-05-25 00:50:23,529 [run_init] DEBUG init version:0.0.0 force:False 00:50:23 2023-05-25 00:50:23,530 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-312/.semver 00:50:23 2023-05-25 00:50:23,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-312/.semver 00:50:23 2023-05-25 00:50:23,531 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-312/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-312, universal_newlines=False, shell=None, istream=None) 00:50:24 2023-05-25 00:50:24,325 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-312/.git/info/exclude 00:50:24 2023-05-25 00:50:24,326 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-312/.semver/PR-312 with force:False 00:50:24 2023-05-25 00:50:24,326 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-312/.semver/PR-312 00:50:24 2023-05-25 00:50:24,329 [execute] INFO git cat-file --batch-check 00:50:24 2023-05-25 00:50:24,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) 00:50:24 2023-05-25 00:50:24,335 [execute] INFO git cat-file --batch 00:50:24 2023-05-25 00:50:24,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) 00:50:24 2023-05-25 00:50:24,340 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-312/.semver/PR-312 00:50:24 0.0.0 [Pipeline] } 00:50:24 $ docker exec --env ******** --env ******** 09ceba41646bafcb684f4b42e7b4a8c16528f40168bfe9443dfc5ccc4f6cf056 ssh-agent -k 00:50:24 unset SSH_AUTH_SOCK; 00:50:24 unset SSH_AGENT_PID; 00:50:24 echo Agent pid 77 killed; 00:50:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:25 + git semver [Pipeline] } 00:50:25 $ docker stop --time=1 09ceba41646bafcb684f4b42e7b4a8c16528f40168bfe9443dfc5ccc4f6cf056 00:50:26 $ docker rm -f --volumes 09ceba41646bafcb684f4b42e7b4a8c16528f40168bfe9443dfc5ccc4f6cf056 [Pipeline] // withDockerContainer [Pipeline] sh 00:50:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:50:27 Stashed 1 file(s) [Pipeline] echo 00:50:27 [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 00:50:27 provisioning config files... 00:50:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/config10376357253468483645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:28 ---> docker-login.sh 00:50:28 nexus3.edgexfoundry.org:10001 00:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:28 Configure a credential helper to remove this warning. See 00:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:28 00:50:28 Login Succeeded 00:50:28 nexus3.edgexfoundry.org:10002 00:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:28 Configure a credential helper to remove this warning. See 00:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:28 00:50:28 Login Succeeded 00:50:28 nexus3.edgexfoundry.org:10003 00:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:28 Configure a credential helper to remove this warning. See 00:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:28 00:50:28 Login Succeeded 00:50:28 nexus3.edgexfoundry.org:10004 00:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:28 Configure a credential helper to remove this warning. See 00:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:28 00:50:28 Login Succeeded 00:50:28 docker.io 00:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:28 Configure a credential helper to remove this warning. See 00:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:28 00:50:28 Login Succeeded 00:50:28 ---> docker-login.sh ends [Pipeline] } 00:50:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:50:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:29 ========================================================= 00:50:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:50:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:29 + 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 . 00:50:29 Sending build context to Docker daemon 5.852MB 00:50:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:50:29 Step 2/12 : FROM ${BASE} AS builder 00:50:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:50:29 f56be85fc22e: Pulling fs layer 00:50:29 85791d961cd3: Pulling fs layer 00:50:29 d694b5ae8c79: Pulling fs layer 00:50:29 9f32a84ed3da: Pulling fs layer 00:50:29 4d19c01a9841: Pulling fs layer 00:50:29 9325e15d5711: Pulling fs layer 00:50:29 556b6ee489ea: Pulling fs layer 00:50:29 c5a4b2cf53e6: Pulling fs layer 00:50:29 4d19c01a9841: Waiting 00:50:29 c5a4b2cf53e6: Waiting 00:50:29 9325e15d5711: Waiting 00:50:29 556b6ee489ea: Waiting 00:50:29 9f32a84ed3da: Waiting 00:50:29 85791d961cd3: Verifying Checksum 00:50:29 85791d961cd3: Download complete 00:50:29 9f32a84ed3da: Verifying Checksum 00:50:29 9f32a84ed3da: Download complete 00:50:29 4d19c01a9841: Verifying Checksum 00:50:29 4d19c01a9841: Download complete 00:50:29 f56be85fc22e: Verifying Checksum 00:50:29 f56be85fc22e: Download complete 00:50:29 9325e15d5711: Verifying Checksum 00:50:29 9325e15d5711: Download complete 00:50:30 f56be85fc22e: Pull complete 00:50:30 85791d961cd3: Pull complete 00:50:30 c5a4b2cf53e6: Verifying Checksum 00:50:30 c5a4b2cf53e6: Download complete 00:50:30 d694b5ae8c79: Verifying Checksum 00:50:30 d694b5ae8c79: Download complete 00:50:31 556b6ee489ea: Verifying Checksum 00:50:31 556b6ee489ea: Download complete 00:50:34 d694b5ae8c79: Pull complete 00:50:34 9f32a84ed3da: Pull complete 00:50:34 4d19c01a9841: Pull complete 00:50:34 9325e15d5711: Pull complete 00:50:36 556b6ee489ea: Pull complete 00:50:37 c5a4b2cf53e6: Pull complete 00:50:37 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:50:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:50:38 ---> c4be618373d6 00:50:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:50:42 Still waiting to schedule task 00:50:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:50:53 ---> Running in b049e4dd61b1 00:50:53 Removing intermediate container b049e4dd61b1 00:50:53 ---> 9080d14c4909 00:50:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:53 ---> Running in 6aca3e4f6f53 00:50:53 Removing intermediate container 6aca3e4f6f53 00:50:53 ---> 15705b66fa76 00:50:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:50:53 ---> Running in 266b860b6abb 00:50:53 Removing intermediate container 266b860b6abb 00:50:53 ---> f0dc6bd0e077 00:50:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:50:53 ---> Running in 66f27f40ae91 00:50:53 Removing intermediate container 66f27f40ae91 00:50:53 ---> adcc28abe3b7 00:50:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:53 ---> Running in eb6aecaf7795 00:50:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:50:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:50:53 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:50:53 (2/4) Installing libedit (20221030.3.1-r0) 00:50:53 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:50:53 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:50:53 Executing busybox-1.35.0-r29.trigger 00:50:53 OK: 269 MiB in 57 packages 00:50:53 Removing intermediate container eb6aecaf7795 00:50:53 ---> 4f0059d86be5 00:50:53 Step 8/12 : WORKDIR /device-snmp-go 00:50:53 ---> Running in 245d3a467388 00:50:53 Removing intermediate container 245d3a467388 00:50:53 ---> 4253ea254a52 00:50:53 Step 9/12 : COPY go.mod vendor* ./ 00:50:53 ---> 3a21f8b97470 00:50:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:53 ---> Running in dd985badbfc8 00:51:49 Removing intermediate container dd985badbfc8 00:51:49 ---> 9994dc7904d1 00:51:49 Step 11/12 : COPY . . 00:51:49 ---> d747c57c61e2 00:51:49 Step 12/12 : RUN ${MAKE} 00:51:49 ---> Running in f3c0f7281c01 00:51:49 noop 00:51:49 Removing intermediate container f3c0f7281c01 00:51:49 ---> 9fcf7b52a700 00:51:49 Successfully built 9fcf7b52a700 00:51:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:50 + docker inspect -f . ci-base-image-x86_64 00:51:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:50 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 00:51:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-312 -v /w/workspace/gexfoundry_device-snmp-go_PR-312:/w/workspace/gexfoundry_device-snmp-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-312@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-312@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 ******** ci-base-image-x86_64 cat 00:51:50 $ docker top d633526f0cd408f73523f6c3b70b65e48a1f62d8e1f271b2ae58c8692a10923a -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:51 + go version 00:51:51 go version go1.20.2 linux/amd64 [Pipeline] } 00:51:51 $ docker stop --time=1 d633526f0cd408f73523f6c3b70b65e48a1f62d8e1f271b2ae58c8692a10923a 00:51:52 $ docker rm -f --volumes d633526f0cd408f73523f6c3b70b65e48a1f62d8e1f271b2ae58c8692a10923a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:53 + docker inspect -f . ci-base-image-x86_64 00:51:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:53 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 00:51:53 $ 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-312 -v /w/workspace/gexfoundry_device-snmp-go_PR-312:/w/workspace/gexfoundry_device-snmp-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-312@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-312@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 ******** ci-base-image-x86_64 cat 00:51:53 $ docker top 19c9bbb45affbe0e5f373d63d7167d34f9e18a692f8f5f14f07638490108a171 -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-312 [Pipeline] fileExists [Pipeline] sh 00:51:54 + make test 00:51:54 go test ./... -coverprofile=coverage.out 00:51:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:52:09 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:52:09 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 00:52:16 go vet ./... 00:52:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:52:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:52:19 ./bin/test-attribution-txt.sh [Pipeline] echo 00:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:52:19 $ docker stop --time=1 19c9bbb45affbe0e5f373d63d7167d34f9e18a692f8f5f14f07638490108a171 00:52:27 $ docker rm -f --volumes 19c9bbb45affbe0e5f373d63d7167d34f9e18a692f8f5f14f07638490108a171 [Pipeline] // withDockerContainer [Pipeline] sh 00:52:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:52:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:52:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:52:28 + ls -al . 00:52:28 total 172 00:52:28 drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:51 . 00:52:28 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:49 .. 00:52:28 -rw-rw-r-- 1 jenkins jenkins 6 May 25 00:49 .dockerignore 00:52:28 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:50 .git 00:52:28 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:49 .github 00:52:28 -rw-rw-r-- 1 jenkins jenkins 328 May 25 00:49 .gitignore 00:52:28 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:49 .golangci.yml 00:52:28 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:50 .semver 00:52:28 -rw-rw-r-- 1 jenkins jenkins 9056 May 25 00:49 Attribution.txt 00:52:28 -rw-rw-r-- 1 jenkins jenkins 8355 May 25 00:49 CHANGELOG.md 00:52:28 -rw-rw-r-- 1 jenkins jenkins 1423 May 25 00:49 Dockerfile 00:52:28 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:49 GOVERNANCE.md 00:52:28 -rw-rw-r-- 1 jenkins jenkins 656 May 25 00:49 Jenkinsfile 00:52:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:49 LICENSE 00:52:28 -rw-rw-r-- 1 jenkins jenkins 2114 May 25 00:49 Makefile 00:52:28 -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:49 OWNERS.md 00:52:28 -rw-rw-r-- 1 jenkins jenkins 10054 May 25 00:49 README.md 00:52:28 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:50 VERSION 00:52:28 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:49 bin 00:52:28 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:49 cmd 00:52:28 -rw-r--r-- 1 jenkins jenkins 8837 May 25 00:52 coverage.out 00:52:28 -rw-rw-r-- 1 jenkins jenkins 3235 May 25 00:49 go.mod 00:52:28 -rw-rw-r-- 1 jenkins jenkins 31230 May 25 00:49 go.sum 00:52:28 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:49 internal 00:52:28 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:49 snap 00:52:28 -rw-rw-r-- 1 jenkins jenkins 228 May 25 00:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:29 + 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=bb665b697413815a9e926c8d38e3b2037295de10 --label arch=amd64 --label version=0.0.0 . 00:52:29 Sending build context to Docker daemon 5.862MB 00:52:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:52:29 Step 2/24 : FROM ${BASE} AS builder 00:52:29 ---> 9fcf7b52a700 00:52:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:52:29 ---> Running in c8430fa167af 00:52:29 Removing intermediate container c8430fa167af 00:52:29 ---> d95cc9a672f4 00:52:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:52:29 ---> Running in 436d351e9a51 00:52:29 Removing intermediate container 436d351e9a51 00:52:29 ---> 644f1b8df6fb 00:52:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:52:30 ---> Running in 20ee359eebc6 00:52:30 Removing intermediate container 20ee359eebc6 00:52:30 ---> f4eb82c7f098 00:52:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:52:30 ---> Running in 5d9e5c238bba 00:52:30 Removing intermediate container 5d9e5c238bba 00:52:30 ---> b61c046be313 00:52:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:52:30 ---> Running in a5d750609551 00:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:52:30 OK: 269 MiB in 57 packages 00:52:31 Removing intermediate container a5d750609551 00:52:31 ---> 0bf4c903d5e2 00:52:31 Step 8/24 : WORKDIR /device-snmp-go 00:52:31 ---> Running in cd527fc5bffc 00:52:31 Removing intermediate container cd527fc5bffc 00:52:31 ---> 92edcb6ce398 00:52:31 Step 9/24 : COPY go.mod vendor* ./ 00:52:31 ---> cda24248bfac 00:52:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:52:31 ---> Running in 2b4166f901a3 00:52:32 Removing intermediate container 2b4166f901a3 00:52:32 ---> f4cdd2f995b6 00:52:32 Step 11/24 : COPY . . 00:52:32 ---> c2ad721d1e49 00:52:32 Step 12/24 : RUN ${MAKE} 00:52:32 ---> Running in 47c15aa87a54 00:52:33 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 00:52:59 Removing intermediate container 47c15aa87a54 00:52:59 ---> 6b026736307d 00:52:59 Step 13/24 : FROM alpine:3.17 00:52:59 3.17: Pulling from library/alpine 00:52:59 f56be85fc22e: Already exists 00:52:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:52:59 Status: Downloaded newer image for alpine:3.17 00:52:59 ---> 9ed4aefc74f6 00:52:59 Step 14/24 : RUN apk add --update --no-cache dumb-init 00:52:59 ---> Running in acb0e328b26a 00:52:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:52:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:52:59 (1/1) Installing dumb-init (1.2.5-r2) 00:52:59 Executing busybox-1.35.0-r29.trigger 00:52:59 OK: 7 MiB in 16 packages 00:52:59 Removing intermediate container acb0e328b26a 00:52:59 ---> c1aaeb85a1cb 00:52:59 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:53:00 ---> 919c7d294f8e 00:53:00 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:53:00 ---> 1f6ab1b3788f 00:53:00 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:53:01 ---> e2d9b3bef04e 00:53:01 Step 18/24 : EXPOSE 59993 00:53:01 ---> Running in c89bab91db31 00:53:01 Removing intermediate container c89bab91db31 00:53:01 ---> 8ea0a96e93e6 00:53:01 Step 19/24 : EXPOSE 161 00:53:01 ---> Running in 06901aaf118e 00:53:01 Removing intermediate container 06901aaf118e 00:53:01 ---> 9e9fd2b237a4 00:53:01 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:53:01 ---> Running in 74847b121438 00:53:01 Removing intermediate container 74847b121438 00:53:01 ---> 069368be5d69 00:53:01 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:53:01 ---> Running in 7415f36baf5c 00:53:01 Removing intermediate container 7415f36baf5c 00:53:01 ---> 020ad92ca551 00:53:01 Step 22/24 : LABEL arch=amd64 00:53:01 ---> Running in 33a0161bbafb 00:53:02 Removing intermediate container 33a0161bbafb 00:53:02 ---> 9a8ed619c79a 00:53:02 Step 23/24 : LABEL git_sha=bb665b697413815a9e926c8d38e3b2037295de10 00:53:02 ---> Running in df3a7b029757 00:53:02 Removing intermediate container df3a7b029757 00:53:02 ---> 55239cfa2da9 00:53:02 Step 24/24 : LABEL version=0.0.0 00:53:02 ---> Running in f97c0c898633 00:53:02 Removing intermediate container f97c0c898633 00:53:02 ---> b448be746578 00:53:02 [Warning] One or more build-args [ARCH] were not consumed 00:53:02 Successfully built b448be746578 00:53:02 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 00:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:03 00:53:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:03 latest: Pulling from edgex-lftools-log-publisher 00:53:03 5eb5b503b376: Pulling fs layer 00:53:03 5c69ac0246d0: Pulling fs layer 00:53:03 ec43610c2a17: Pulling fs layer 00:53:03 3a2ae6a8a46f: Pulling fs layer 00:53:03 33b1e0a273af: Pulling fs layer 00:53:03 5d3b04190fa2: Pulling fs layer 00:53:03 2f39f015ded8: Pulling fs layer 00:53:03 33b1e0a273af: Waiting 00:53:03 5d3b04190fa2: Waiting 00:53:03 2f39f015ded8: Waiting 00:53:03 3a2ae6a8a46f: Waiting 00:53:03 5c69ac0246d0: Verifying Checksum 00:53:03 5c69ac0246d0: Download complete 00:53:03 3a2ae6a8a46f: Verifying Checksum 00:53:03 3a2ae6a8a46f: Download complete 00:53:04 ec43610c2a17: Verifying Checksum 00:53:04 ec43610c2a17: Download complete 00:53:04 5d3b04190fa2: Verifying Checksum 00:53:04 5d3b04190fa2: Download complete 00:53:04 33b1e0a273af: Verifying Checksum 00:53:04 33b1e0a273af: Download complete 00:53:04 5eb5b503b376: Download complete 00:53:04 2f39f015ded8: Download complete 00:53:05 5eb5b503b376: Pull complete 00:53:05 5c69ac0246d0: Pull complete 00:53:06 ec43610c2a17: Pull complete 00:53:06 3a2ae6a8a46f: Pull complete 00:53:06 33b1e0a273af: Pull complete 00:53:06 5d3b04190fa2: Pull complete 00:53:10 2f39f015ded8: Pull complete 00:53:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:10 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 00:53:10 $ 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-312 -v /w/workspace/gexfoundry_device-snmp-go_PR-312:/w/workspace/gexfoundry_device-snmp-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-312@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-312@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:53:22 $ docker top 349053bff278f0cc1e8f98941633ddfd8c344483d3318e693530692886ea72d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16890 in /w/workspace/gexfoundry_device-snmp-go_PR-312 [Pipeline] { [Pipeline] ws 00:53:22 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 00:53:23 Selected Git installation does not exist. Using Default 00:53:23 The recommended git tool is: NONE 00:53:23 ---> job-cost.sh 00:53:23 lf-activate-venv: SKIPPING 00:53:23 INFO: No Stack... 00:53:23 INFO: Retrieving Pricing Info for: v3-standard-8 00:53:23 INFO: Archiving Costs [Pipeline] sh 00:53:23 + cat /w/workspace/gexfoundry_device-snmp-go_PR-312/archives/cost.csv 00:53:23 + cut -d, -f6 [Pipeline] lock 00:53:23 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] 00:53:23 Resource [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] did not exist. Created. 00:53:23 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:53:24 + echo total: 0.2199999988079071 [Pipeline] stash 00:53:24 Stashed 1 file(s) [Pipeline] } 00:53:24 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:53:24 $ docker stop --time=1 349053bff278f0cc1e8f98941633ddfd8c344483d3318e693530692886ea72d2 00:53:25 $ docker rm -f --volumes 349053bff278f0cc1e8f98941633ddfd8c344483d3318e693530692886ea72d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:53:30 using credential edgex-jenkins-ssh 00:53:30 Cloning the remote Git repository 00:53:30 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:53:30 > git init /w/workspace/device-snmp-go/1 # timeout=10 00:53:30 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:53:30 > git --version # timeout=10 00:53:30 > git --version # 'git version 2.25.1' 00:53:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:53:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:53:33 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:53:33 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:53:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:53:33 Merging remotes/origin/main commit f0acc0c4a5995740a11ce30356140c244122cf64 into PR head commit bb665b697413815a9e926c8d38e3b2037295de10 00:53:34 Merge succeeded, producing bb665b697413815a9e926c8d38e3b2037295de10 00:53:34 Checking out Revision bb665b697413815a9e926c8d38e3b2037295de10 (PR-312) 00:53:33 > git config core.sparsecheckout # timeout=10 00:53:33 > git checkout -f bb665b697413815a9e926c8d38e3b2037295de10 # timeout=10 00:53:33 > git remote # timeout=10 00:53:34 > git config --get remote.origin.url # timeout=10 00:53:34 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:34 > git merge f0acc0c4a5995740a11ce30356140c244122cf64 # timeout=10 00:53:34 > git rev-parse HEAD^{commit} # timeout=10 00:53:34 > git config core.sparsecheckout # timeout=10 00:53:34 > git checkout -f bb665b697413815a9e926c8d38e3b2037295de10 # timeout=10 00:53:34 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 00:53:34 > git --version # timeout=10 00:53:34 > git --version # 'git version 2.25.1' 00:53:34 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:53:36 % Total % Received % Xferd Average Speed Time Time Time Current 00:53:36 Dload Upload Total Spent Left Speed 00:53:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 00:53:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:53:37 + sudo tee /etc/docker/daemon.new 00:53:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:53:37 { 00:53:37 "registry-mirrors": [ 00:53:37 "https://nexus3.edgexfoundry.org:10001" 00:53:37 ], 00:53:37 "bip": "10.250.0.254/24", 00:53:37 "hosts": [ 00:53:37 "tcp://0.0.0.0:5555", 00:53:37 "unix:///var/run/docker.sock" 00:53:37 ], 00:53:37 "mtu": 1458, 00:53:37 "selinux-enabled": true, 00:53:37 "seccomp-profile": "/etc/docker/seccomp.json" 00:53:37 } [Pipeline] sh 00:53:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:53:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:56 provisioning config files... 00:53:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config12890324439149494558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:56 ---> docker-login.sh 00:53:56 nexus3.edgexfoundry.org:10001 00:53:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:57 Configure a credential helper to remove this warning. See 00:53:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:57 00:53:57 Login Succeeded 00:53:57 nexus3.edgexfoundry.org:10002 00:53:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:57 Configure a credential helper to remove this warning. See 00:53:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:57 00:53:57 Login Succeeded 00:53:58 nexus3.edgexfoundry.org:10003 00:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:58 Configure a credential helper to remove this warning. See 00:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:58 00:53:58 Login Succeeded 00:53:58 nexus3.edgexfoundry.org:10004 00:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:58 Configure a credential helper to remove this warning. See 00:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:58 00:53:58 Login Succeeded 00:53:58 docker.io 00:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:59 Configure a credential helper to remove this warning. See 00:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:59 00:53:59 Login Succeeded 00:53:59 ---> docker-login.sh ends [Pipeline] } 00:53:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:59 ========================================================= 00:53:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:53:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:00 + 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 . 00:54:00 Sending build context to Docker daemon 3.034MB 00:54:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:54:00 Step 2/12 : FROM ${BASE} AS builder 00:54:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:54:00 c41833b44d91: Pulling fs layer 00:54:00 ed15518f5707: Pulling fs layer 00:54:00 feae8fd75edb: Pulling fs layer 00:54:00 242c74f7c9fa: Pulling fs layer 00:54:00 3cdef696dda3: Pulling fs layer 00:54:00 2ced38df9373: Pulling fs layer 00:54:00 58f1dce35555: Pulling fs layer 00:54:00 3cdef696dda3: Waiting 00:54:00 2ced38df9373: Waiting 00:54:00 58f1dce35555: Waiting 00:54:00 242c74f7c9fa: Waiting 00:54:00 ed15518f5707: Download complete 00:54:00 242c74f7c9fa: Verifying Checksum 00:54:00 242c74f7c9fa: Download complete 00:54:00 3cdef696dda3: Verifying Checksum 00:54:00 3cdef696dda3: Download complete 00:54:00 c41833b44d91: Download complete 00:54:02 c41833b44d91: Pull complete 00:54:02 58f1dce35555: Verifying Checksum 00:54:02 58f1dce35555: Download complete 00:54:02 ed15518f5707: Pull complete 00:54:03 feae8fd75edb: Verifying Checksum 00:54:03 feae8fd75edb: Download complete 00:54:03 2ced38df9373: Verifying Checksum 00:54:03 2ced38df9373: Download complete 00:54:15 feae8fd75edb: Pull complete 00:54:15 242c74f7c9fa: Pull complete 00:54:15 3cdef696dda3: Pull complete 00:54:22 2ced38df9373: Pull complete 00:54:24 58f1dce35555: Pull complete 00:54:24 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:54:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:54:24 ---> fadd8f120f05 00:54:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:54:26 ---> Running in aa19f16e06b0 00:54:27 Removing intermediate container aa19f16e06b0 00:54:27 ---> 77f3de498501 00:54:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:27 ---> Running in f22d3c3a41b5 00:54:27 Removing intermediate container f22d3c3a41b5 00:54:27 ---> 194474b2b1a2 00:54:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:54:28 ---> Running in 7f21f5626e48 00:54:28 Removing intermediate container 7f21f5626e48 00:54:28 ---> 7c767121a98b 00:54:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:54:29 ---> Running in 3ece6933324e 00:54:29 Removing intermediate container 3ece6933324e 00:54:29 ---> 4f9fef91fff2 00:54:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:54:29 ---> Running in bc3129e42438 00:54:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:54:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:54:32 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:54:32 (2/4) Installing libedit (20221030.3.1-r0) 00:54:32 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:54:32 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:54:33 Executing busybox-1.35.0-r29.trigger 00:54:33 OK: 268 MiB in 57 packages 00:54:34 Removing intermediate container bc3129e42438 00:54:34 ---> 496d3bd4a7ec 00:54:34 Step 8/12 : WORKDIR /device-snmp-go 00:54:34 ---> Running in 1b0a195ab071 00:54:34 Removing intermediate container 1b0a195ab071 00:54:34 ---> fe4e3e563738 00:54:34 Step 9/12 : COPY go.mod vendor* ./ 00:54:37 ---> da8f7d6bba70 00:54:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:37 ---> Running in 618df7a976ef 00:55:45 Removing intermediate container 618df7a976ef 00:55:45 ---> 190cd1f1698e 00:55:45 Step 11/12 : COPY . . 00:55:45 ---> 8b04a8500708 00:55:45 Step 12/12 : RUN ${MAKE} 00:55:45 ---> Running in d21a47a1edce 00:55:45 noop 00:55:45 Removing intermediate container d21a47a1edce 00:55:45 ---> 947f2d82f674 00:55:45 Successfully built 947f2d82f674 00:55:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:45 + docker inspect -f . ci-base-image-arm64 00:55:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:46 prd-ubuntu20.04-docker-arm64-4c-16g-16890 does not seem to be running inside a container 00:55:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 00:55:47 $ docker top 99d4ae5f9000c3a3c0ee10e629979da33d1b4b6b728589ac48c708fa606ca29a -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:48 + go version 00:55:48 go version go1.20.2 linux/arm64 [Pipeline] } 00:55:48 $ docker stop --time=1 99d4ae5f9000c3a3c0ee10e629979da33d1b4b6b728589ac48c708fa606ca29a 00:55:50 $ docker rm -f --volumes 99d4ae5f9000c3a3c0ee10e629979da33d1b4b6b728589ac48c708fa606ca29a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:51 + docker inspect -f . ci-base-image-arm64 00:55:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:51 prd-ubuntu20.04-docker-arm64-4c-16g-16890 does not seem to be running inside a container 00:55:51 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 00:55:52 $ docker top 8da2869a4ec5bb9a3f6e05de78527292ca3eee55987248c87f341a0b780d8a03 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:53 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 00:55:54 + make test 00:55:54 go test ./... -coverprofile=coverage.out 00:56:33 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:58:54 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:58:56 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 00:58:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:58:57 go vet ./... 00:59:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:59:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:59:30 ./bin/test-attribution-txt.sh [Pipeline] echo 00:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:59:30 $ docker stop --time=1 8da2869a4ec5bb9a3f6e05de78527292ca3eee55987248c87f341a0b780d8a03 00:59:32 $ docker rm -f --volumes 8da2869a4ec5bb9a3f6e05de78527292ca3eee55987248c87f341a0b780d8a03 [Pipeline] // withDockerContainer [Pipeline] sh 00:59:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:59:33 Warning: overwriting stash ‘coverage-report’ 00:59:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:59:35 + ls -al . 00:59:35 total 168 00:59:35 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:55 . 00:59:35 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:53 .. 00:59:35 -rw-rw-r-- 1 jenkins jenkins 6 May 25 00:53 .dockerignore 00:59:35 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:53 .git 00:59:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:53 .github 00:59:35 -rw-rw-r-- 1 jenkins jenkins 328 May 25 00:53 .gitignore 00:59:35 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:53 .golangci.yml 00:59:35 -rw-rw-r-- 1 jenkins jenkins 9056 May 25 00:53 Attribution.txt 00:59:35 -rw-rw-r-- 1 jenkins jenkins 8355 May 25 00:53 CHANGELOG.md 00:59:35 -rw-rw-r-- 1 jenkins jenkins 1423 May 25 00:53 Dockerfile 00:59:35 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:53 GOVERNANCE.md 00:59:35 -rw-rw-r-- 1 jenkins jenkins 656 May 25 00:53 Jenkinsfile 00:59:35 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:53 LICENSE 00:59:35 -rw-rw-r-- 1 jenkins jenkins 2114 May 25 00:53 Makefile 00:59:35 -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:53 OWNERS.md 00:59:35 -rw-rw-r-- 1 jenkins jenkins 10054 May 25 00:53 README.md 00:59:35 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:50 VERSION 00:59:35 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:53 bin 00:59:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:53 cmd 00:59:35 -rw-r--r-- 1 jenkins jenkins 8837 May 25 00:58 coverage.out 00:59:35 -rw-rw-r-- 1 jenkins jenkins 3235 May 25 00:53 go.mod 00:59:35 -rw-rw-r-- 1 jenkins jenkins 31230 May 25 00:53 go.sum 00:59:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:53 internal 00:59:35 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:53 snap 00:59:35 -rw-rw-r-- 1 jenkins jenkins 228 May 25 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:35 + 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=bb665b697413815a9e926c8d38e3b2037295de10 --label arch=arm64 --label version=0.0.0 . 00:59:35 Sending build context to Docker daemon 3.043MB 00:59:35 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:59:35 Step 2/24 : FROM ${BASE} AS builder 00:59:35 ---> 947f2d82f674 00:59:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:59:36 ---> Running in 32462107158d 00:59:36 Removing intermediate container 32462107158d 00:59:36 ---> fc0ec10db3f8 00:59:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:36 ---> Running in 09e0528e554e 00:59:36 Removing intermediate container 09e0528e554e 00:59:36 ---> fa66016f69b6 00:59:36 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:59:36 ---> Running in 1519d98bcdb4 00:59:37 Removing intermediate container 1519d98bcdb4 00:59:37 ---> 5bbbea72930f 00:59:37 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:59:37 ---> Running in 3eaff85238ed 00:59:37 Removing intermediate container 3eaff85238ed 00:59:37 ---> cf55cf8066e1 00:59:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:37 ---> Running in 9cdcfa8333e7 00:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:59:40 OK: 268 MiB in 57 packages 00:59:41 Removing intermediate container 9cdcfa8333e7 00:59:41 ---> 0a267b06d441 00:59:41 Step 8/24 : WORKDIR /device-snmp-go 00:59:41 ---> Running in d3f103f18ff2 00:59:42 Removing intermediate container d3f103f18ff2 00:59:42 ---> bbe5b77b9dce 00:59:42 Step 9/24 : COPY go.mod vendor* ./ 00:59:43 ---> 6bb3aa8ebb98 00:59:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:43 ---> Running in 22be0102f398 00:59:45 Removing intermediate container 22be0102f398 00:59:45 ---> 85c8a68b42ec 00:59:45 Step 11/24 : COPY . . 00:59:47 ---> 6dd80853cf94 00:59:47 Step 12/24 : RUN ${MAKE} 00:59:47 ---> Running in 2151c772eeb6 00:59:48 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 01:02:24 Removing intermediate container 2151c772eeb6 01:02:24 ---> e8b05c75b9ac 01:02:24 Step 13/24 : FROM alpine:3.17 01:02:24 3.17: Pulling from library/alpine 01:02:24 c41833b44d91: Already exists 01:02:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:02:24 Status: Downloaded newer image for alpine:3.17 01:02:24 ---> 51e60588ff2c 01:02:24 Step 14/24 : RUN apk add --update --no-cache dumb-init 01:02:24 ---> Running in 21ea590a3a30 01:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:02:24 (1/1) Installing dumb-init (1.2.5-r2) 01:02:24 Executing busybox-1.35.0-r29.trigger 01:02:24 OK: 8 MiB in 16 packages 01:02:24 Removing intermediate container 21ea590a3a30 01:02:24 ---> 5bbb4e0a29bc 01:02:24 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 01:02:25 ---> 8adcde3163f8 01:02:25 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:02:25 ---> 1271feb5d481 01:02:25 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 01:02:26 ---> ca58b26fccf8 01:02:26 Step 18/24 : EXPOSE 59993 01:02:26 ---> Running in ef661df93964 01:02:26 Removing intermediate container ef661df93964 01:02:26 ---> 98c984ad9339 01:02:26 Step 19/24 : EXPOSE 161 01:02:26 ---> Running in 6383c812f993 01:02:27 Removing intermediate container 6383c812f993 01:02:27 ---> f633296efd85 01:02:27 Step 20/24 : ENTRYPOINT ["/device-snmp"] 01:02:27 ---> Running in 3489aaa92866 01:02:27 Removing intermediate container 3489aaa92866 01:02:27 ---> df219ac6cec0 01:02:27 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:02:27 ---> Running in 2cb79a45bae1 01:02:27 Removing intermediate container 2cb79a45bae1 01:02:27 ---> 632fbe254091 01:02:27 Step 22/24 : LABEL arch=arm64 01:02:27 ---> Running in 5cf5a7fc53c5 01:02:28 Removing intermediate container 5cf5a7fc53c5 01:02:28 ---> dd1c4fe598d8 01:02:28 Step 23/24 : LABEL git_sha=bb665b697413815a9e926c8d38e3b2037295de10 01:02:28 ---> Running in ed6228db4d32 01:02:28 Removing intermediate container ed6228db4d32 01:02:28 ---> 3444a83f63c6 01:02:28 Step 24/24 : LABEL version=0.0.0 01:02:28 ---> Running in aa783ac0f221 01:02:29 Removing intermediate container aa783ac0f221 01:02:29 ---> b4751424ada8 01:02:29 [Warning] One or more build-args [ARCH] were not consumed 01:02:29 Successfully built b4751424ada8 01:02:29 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 01:02:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:02:29 01:02:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:02:30 arm64: Pulling from edgex-lftools-log-publisher 01:02:30 8998bd30e6a1: Pulling fs layer 01:02:30 04944245beec: Pulling fs layer 01:02:30 699f458cf7ca: Pulling fs layer 01:02:30 765212b225bb: Pulling fs layer 01:02:30 f23df028b6ca: Pulling fs layer 01:02:30 d65c8cfc05b1: Pulling fs layer 01:02:30 2437ff75d9bd: Pulling fs layer 01:02:30 765212b225bb: Waiting 01:02:30 f23df028b6ca: Waiting 01:02:30 d65c8cfc05b1: Waiting 01:02:30 2437ff75d9bd: Waiting 01:02:30 04944245beec: Verifying Checksum 01:02:30 04944245beec: Download complete 01:02:30 765212b225bb: Verifying Checksum 01:02:30 765212b225bb: Download complete 01:02:30 f23df028b6ca: Download complete 01:02:30 d65c8cfc05b1: Verifying Checksum 01:02:30 d65c8cfc05b1: Download complete 01:02:30 699f458cf7ca: Verifying Checksum 01:02:30 699f458cf7ca: Download complete 01:02:31 8998bd30e6a1: Verifying Checksum 01:02:31 8998bd30e6a1: Download complete 01:02:33 2437ff75d9bd: Verifying Checksum 01:02:33 2437ff75d9bd: Download complete 01:02:35 8998bd30e6a1: Pull complete 01:02:35 04944245beec: Pull complete 01:02:36 699f458cf7ca: Pull complete 01:02:36 765212b225bb: Pull complete 01:02:37 f23df028b6ca: Pull complete 01:02:37 d65c8cfc05b1: Pull complete 01:02:52 2437ff75d9bd: Pull complete 01:02:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:02:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:02:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:53 prd-ubuntu20.04-docker-arm64-4c-16g-16890 does not seem to be running inside a container 01:02:53 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:02:56 $ docker top 29b095a9b325d70c6369c0533a11e99c037deb82db3e144ca0b0f52a170bd8ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:57 ---> job-cost.sh 01:02:57 lf-activate-venv: SKIPPING 01:02:57 INFO: No Stack... 01:02:57 INFO: Retrieving Pricing Info for: v3-standard-4 01:02:58 INFO: Archiving Costs [Pipeline] sh 01:02:59 + cut -d, -f6 01:02:59 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 01:02:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] 01:02:59 Resource [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] did not exist. Created. 01:02:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:03:00 /w/workspace/device-snmp-go/1@tmp/durable-a6ff8977/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:03:00 + echo total: 0.10999999940395355 [Pipeline] stash 01:03:00 Warning: overwriting stash ‘stack-cost’ 01:03:00 Stashed 1 file(s) [Pipeline] } 01:03:00 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:03:00 $ docker stop --time=1 29b095a9b325d70c6369c0533a11e99c037deb82db3e144ca0b0f52a170bd8ff 01:03:02 $ docker rm -f --volumes 29b095a9b325d70c6369c0533a11e99c037deb82db3e144ca0b0f52a170bd8ff [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 01:03:03 provisioning config files... 01:03:03 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/config1689111259894199534tmp [Pipeline] { [Pipeline] sh 01:03:04 + set +x 01:03:04 + bash -s -- 01:03:04 + curl -s https://codecov.io/bash 01:03:04 01:03:04 _____ _ 01:03:04 / ____| | | 01:03:04 | | ___ __| | ___ ___ _____ __ 01:03:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:03:04 | |___| (_) | (_| | __/ (_| (_) \ V / 01:03:04 \_____\___/ \__,_|\___|\___\___/ \_/ 01:03:04 Bash-1.0.6 01:03:04 01:03:04 01:03:04 ==> git version 2.25.1 found 01:03:04 ==> 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 01:03:04 Release-Date: 2020-01-08 01:03:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:03:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:03:04 ==> Jenkins CI detected. 01:03:04 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-312 01:03:04 project root: . 01:03:04 --> token set from env 01:03:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:03:04 ==> Running gcov in . (disable via -X gcov) 01:03:04 ==> Python coveragepy not found 01:03:04 ==> Searching for coverage reports in: 01:03:04 + . 01:03:04 -> Found 1 reports 01:03:04 ==> Detecting git/mercurial file structure 01:03:04 ==> Reading reports 01:03:04 + ./coverage.out bytes=8837 01:03:04 ==> Appending adjustments 01:03:04 https://docs.codecov.io/docs/fixing-reports 01:03:04 + Found adjustments 01:03:04 ==> Gzipping contents 01:03:04 4.0K /tmp/codecov.ZndhPa.gz 01:03:04 ==> Uploading reports 01:03:04 url: https://codecov.io 01:03:04 query: branch=PR-312&commit=bb665b697413815a9e926c8d38e3b2037295de10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=312&job=&cmd_args= 01:03:04 -> Pinging Codecov 01:03:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-312&commit=bb665b697413815a9e926c8d38e3b2037295de10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=312&job=&cmd_args= 01:03:04 -> Uploading to 01:03:04 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/6C56EA5C29638FB4528AC87E60AF5AE0/bb665b697413815a9e926c8d38e3b2037295de10/d42adf82-acc0-4f07-bff9-18d87d765f47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T010304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0272633565819f20919c36b8845335f0bf51e8f6f7e202bb38e8dbab3d393e5c 01:03:04 % Total % Received % Xferd Average Speed Time Time Time Current 01:03:04 Dload Upload Total Spent Left Speed 01:03:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 6943 --:--:-- --:--:-- --:--:-- 6943 01:03:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/bb665b697413815a9e926c8d38e3b2037295de10 [Pipeline] } 01:03:04 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 01:03:06 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-312/archives ] 01:03:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-312/archives 01:03:06 total 16 01:03:06 drwxr-xr-x 3 root root 4096 May 25 00:53 . 01:03:06 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:53 .. 01:03:06 drwxr-xr-x 2 root root 4096 May 25 00:53 cost 01:03:06 -rw-r--r-- 1 root root 86 May 25 00:53 cost.csv 01:03:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-312/archives 01:03:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-312/archives 01:03:06 total 16 01:03:06 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:53 . 01:03:06 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:53 .. 01:03:06 drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:53 cost 01:03:06 -rw-r--r-- 1 jenkins jenkins 86 May 25 00:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:03:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:03:07 ---> package-listing.sh 01:03:07 ++ facter osfamily 01:03:07 ++ tr '[:upper:]' '[:lower:]' 01:03:07 + OS_FAMILY=debian 01:03:07 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-312 01:03:07 + START_PACKAGES=/tmp/packages_start.txt 01:03:07 + END_PACKAGES=/tmp/packages_end.txt 01:03:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:03:07 + PACKAGES=/tmp/packages_start.txt 01:03:07 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-312 ']' 01:03:07 + PACKAGES=/tmp/packages_end.txt 01:03:07 + case "${OS_FAMILY}" in 01:03:07 + dpkg -l 01:03:07 + grep '^ii' 01:03:07 + '[' -f /tmp/packages_start.txt ']' 01:03:07 + '[' -f /tmp/packages_end.txt ']' 01:03:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:03:07 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-312 ']' 01:03:07 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-312/archives/ 01:03:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-312/archives/ [Pipeline] echo 01:03:07 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-312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:03:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:08 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 01:03:08 $ 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-312/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-312 -v /w/workspace/gexfoundry_device-snmp-go_PR-312:/w/workspace/gexfoundry_device-snmp-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-312@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-312@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:03:09 $ docker top fc7911ddc0f26f5739ab02512b848aad43a9b6097b78d8cf652068f0f8b80b20 -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:09 + touch /tmp/pre-build-complete [Pipeline] sh 01:03:09 + mkdir -p /var/log/sysstat [Pipeline] sh 01:03:10 + ls /var/log/sa-host 01:03:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:03:10 provisioning config files... 01:03:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-312@tmp/config9116227852837299033tmp [Pipeline] { [Pipeline] echo 01:03:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:03:10 ---> create-netrc.sh [Pipeline] } 01:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:03:11 ---> python-tools-install.sh [Pipeline] echo 01:03:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:03:11 ---> sudo-logs.sh 01:03:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:03:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:03:11 ---> job-cost.sh 01:03:11 lf-activate-venv: SKIPPING 01:03:11 DEBUG: total: 0.2199999988079071 01:03:11 INFO: Retrieving Stack Cost... 01:03:12 INFO: Retrieving Pricing Info for: v3-standard-8 01:03:12 INFO: Archiving Costs [Pipeline] echo 01:03:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:03:13 ---> logs-deploy.sh 01:03:13 lf-activate-venv: SKIPPING 01:03:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-312/1 01:03:13 INFO: archiving workspace using pattern(s): 01:03:13 Archives upload complete. 01:03:14 INFO: archiving logs to Nexus