Pull request #327 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85802b406338d04c51da801ae04a680ab5b0a504+16c420418f3d11c50b6d4cdc106b6ff48e0fad87 (01fe03b0c94bc96f5c730158eeba24bf64f77953) 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-ssh4910072354040960170.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5135789193796811300.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-327/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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6345276758656668151.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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17489352366111205254.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1955742147090962291.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-327/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-327/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh497112618224676190.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15635 in /w/workspace/gexfoundry_device-snmp-go_PR-327 [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-327 # 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/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 85802b406338d04c51da801ae04a680ab5b0a504 Merge succeeded, producing 85802b406338d04c51da801ae04a680ab5b0a504 Checking out Revision 85802b406338d04c51da801ae04a680ab5b0a504 (PR-327) Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:36:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 85802b406338d04c51da801ae04a680ab5b0a504 # 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 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85802b406338d04c51da801ae04a680ab5b0a504 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:29 ========================================================= 21:36:29 EdgeX Global Pipelines Version Info 21:36:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:30 ------------------- 21:36:30 stable info: 21:36:30 ------------------- 21:36:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:36:30 Message: update stable to v1.0.254 21:36:30 ------------------- 21:36:30 experimental info: 21:36:30 ------------------- 21:36:30 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:30 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 21:36:30 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-327 [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-327 [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-327 [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85802b406338d04c51da801ae04a680ab5b0a504 [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85802b4 [Pipeline] echo 21:36:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:32 provisioning config files... 21:36:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/config16111291983856757442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:33 ---> docker-login.sh 21:36:33 nexus3.edgexfoundry.org:10001 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 nexus3.edgexfoundry.org:10002 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 nexus3.edgexfoundry.org:10003 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 nexus3.edgexfoundry.org:10004 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 docker.io 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 ---> docker-login.sh ends [Pipeline] } 21:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:36 + git rev-list -1 --merges 85802b406338d04c51da801ae04a680ab5b0a504~1..85802b406338d04c51da801ae04a680ab5b0a504 [Pipeline] echo 21:36:36 -----------> git rev-list -1 --merges 85802b406338d04c51da801ae04a680ab5b0a504~1..85802b406338d04c51da801ae04a680ab5b0a504 85802b406338d04c51da801ae04a680ab5b0a504 [false] [Pipeline] sh 21:36:36 + git log --format=format:%s -1 85802b406338d04c51da801ae04a680ab5b0a504 [Pipeline] echo 21:36:36 ========================================================= 21:36:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:37 + git log --format=format:%s -1 85802b406338d04c51da801ae04a680ab5b0a504 [Pipeline] echo 21:36:37 [semverPrep] GIT_COMMIT: 85802b406338d04c51da801ae04a680ab5b0a504, Commit Message: build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo 21:36:37 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:37 + grep -v github /etc/ssh/ssh_known_hosts 21:36:37 + [ -e /tmp/ssh_known_hosts ] 21:36:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:37 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:38 21:36:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:38 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:38 b85a868b505f: Pulling fs layer 21:36:38 e2be974225ed: Pulling fs layer 21:36:38 339a4e72a1f5: Pulling fs layer 21:36:38 988bab9f4d93: Pulling fs layer 21:36:38 1469e6f7b9e6: Pulling fs layer 21:36:38 eaf3925da568: Pulling fs layer 21:36:38 bab4dde63d76: Pulling fs layer 21:36:38 bde34c3a00c8: Pulling fs layer 21:36:38 b352a97aabf1: Pulling fs layer 21:36:38 4872d77fe225: Pulling fs layer 21:36:38 5851b861e8e6: Pulling fs layer 21:36:38 bab4dde63d76: Waiting 21:36:38 988bab9f4d93: Waiting 21:36:38 bde34c3a00c8: Waiting 21:36:38 1469e6f7b9e6: Waiting 21:36:38 b352a97aabf1: Waiting 21:36:38 eaf3925da568: Waiting 21:36:38 5851b861e8e6: Waiting 21:36:38 4872d77fe225: Waiting 21:36:38 e2be974225ed: Verifying Checksum 21:36:38 e2be974225ed: Download complete 21:36:38 988bab9f4d93: Verifying Checksum 21:36:38 988bab9f4d93: Download complete 21:36:38 1469e6f7b9e6: Verifying Checksum 21:36:38 1469e6f7b9e6: Download complete 21:36:38 eaf3925da568: Download complete 21:36:38 339a4e72a1f5: Verifying Checksum 21:36:38 339a4e72a1f5: Download complete 21:36:39 bde34c3a00c8: Download complete 21:36:39 b352a97aabf1: Download complete 21:36:39 4872d77fe225: Verifying Checksum 21:36:39 4872d77fe225: Download complete 21:36:39 b85a868b505f: Verifying Checksum 21:36:39 b85a868b505f: Download complete 21:36:39 5851b861e8e6: Verifying Checksum 21:36:39 5851b861e8e6: Download complete 21:36:39 bab4dde63d76: Verifying Checksum 21:36:39 bab4dde63d76: Download complete 21:36:40 b85a868b505f: Pull complete 21:36:40 e2be974225ed: Pull complete 21:36:42 339a4e72a1f5: Pull complete 21:36:42 988bab9f4d93: Pull complete 21:36:42 1469e6f7b9e6: Pull complete 21:36:43 eaf3925da568: Pull complete 21:36:44 bab4dde63d76: Pull complete 21:36:45 bde34c3a00c8: Pull complete 21:36:45 b352a97aabf1: Pull complete 21:36:45 4872d77fe225: Pull complete 21:36:46 5851b861e8e6: Pull complete 21:36:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:46 prd-ubuntu20.04-docker-8c-8g-15635 does not seem to be running inside a container 21:36:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-327 -v /w/workspace/gexfoundry_device-snmp-go_PR-327:/w/workspace/gexfoundry_device-snmp-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-327@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-327@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 21:36:54 $ docker top 12619199fc5416880c9d482c2626e0701647e92b943336cb977d8ac451d61742 -eo pid,comm 21:36:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:36:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:54 [ssh-agent] Looking for ssh-agent implementation... 21:36:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:54 $ docker exec 12619199fc5416880c9d482c2626e0701647e92b943336cb977d8ac451d61742 ssh-agent 21:36:54 SSH_AUTH_SOCK=/tmp/ssh-OtJtBM4iKYu5/agent.14 21:36:54 SSH_AGENT_PID=20 21:36:54 Running ssh-add (command line suppressed) 21:36:54 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/private_key_15693662634874266604.key (/w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/private_key_15693662634874266604.key) 21:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:55 + git tag --points-at HEAD [Pipeline] } 21:36:55 $ docker exec --env ******** --env ******** 12619199fc5416880c9d482c2626e0701647e92b943336cb977d8ac451d61742 ssh-agent -k 21:36:55 unset SSH_AUTH_SOCK; 21:36:55 unset SSH_AGENT_PID; 21:36:55 echo Agent pid 20 killed; 21:36:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:55 [ssh-agent] Looking for ssh-agent implementation... 21:36:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:55 $ docker exec 12619199fc5416880c9d482c2626e0701647e92b943336cb977d8ac451d61742 ssh-agent 21:36:55 SSH_AUTH_SOCK=/tmp/ssh-oUupaq1tVGNp/agent.71 21:36:55 SSH_AGENT_PID=77 21:36:55 Running ssh-add (command line suppressed) 21:36:55 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/private_key_13371598005503731860.key (/w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/private_key_13371598005503731860.key) 21:36:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:56 + git semver init 21:36:56 2023-10-31 21:36:56,481 [run_init] DEBUG init version:0.0.0 force:False 21:36:56 2023-10-31 21:36:56,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-327/.semver 21:36:56 2023-10-31 21:36:56,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-327/.semver 21:36:56 2023-10-31 21:36:56,483 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-327/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-327, universal_newlines=False, shell=None, istream=None) 21:36:57 2023-10-31 21:36:57,587 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-327/.git/info/exclude 21:36:57 2023-10-31 21:36:57,587 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-327/.semver/PR-327 with force:False 21:36:57 2023-10-31 21:36:57,587 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-327/.semver/PR-327 21:36:57 2023-10-31 21:36:57,592 [execute] INFO git cat-file --batch-check 21:36:57 2023-10-31 21:36:57,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-327/.semver, universal_newlines=False, shell=None, istream=) 21:36:57 2023-10-31 21:36:57,598 [execute] INFO git cat-file --batch 21:36:57 2023-10-31 21:36:57,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-327/.semver, universal_newlines=False, shell=None, istream=) 21:36:57 2023-10-31 21:36:57,603 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-327/.semver/PR-327 21:36:57 0.0.0 [Pipeline] } 21:36:57 $ docker exec --env ******** --env ******** 12619199fc5416880c9d482c2626e0701647e92b943336cb977d8ac451d61742 ssh-agent -k 21:36:58 unset SSH_AUTH_SOCK; 21:36:58 unset SSH_AGENT_PID; 21:36:58 echo Agent pid 77 killed; 21:36:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:58 + git semver [Pipeline] } 21:36:58 $ docker stop --time=1 12619199fc5416880c9d482c2626e0701647e92b943336cb977d8ac451d61742 21:37:00 $ docker rm -f --volumes 12619199fc5416880c9d482c2626e0701647e92b943336cb977d8ac451d61742 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:37:01 Stashed 1 file(s) [Pipeline] echo 21:37:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:37:01 provisioning config files... 21:37:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/config18151581392731510326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:02 ---> docker-login.sh 21:37:02 nexus3.edgexfoundry.org:10001 21:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:02 Configure a credential helper to remove this warning. See 21:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:02 21:37:02 Login Succeeded 21:37:02 nexus3.edgexfoundry.org:10002 21:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:02 Configure a credential helper to remove this warning. See 21:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:02 21:37:02 Login Succeeded 21:37:02 nexus3.edgexfoundry.org:10003 21:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:02 Configure a credential helper to remove this warning. See 21:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:02 21:37:02 Login Succeeded 21:37:02 nexus3.edgexfoundry.org:10004 21:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:02 Configure a credential helper to remove this warning. See 21:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:02 21:37:02 Login Succeeded 21:37:02 docker.io 21:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:02 Configure a credential helper to remove this warning. See 21:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:02 21:37:02 Login Succeeded 21:37:02 ---> docker-login.sh ends [Pipeline] } 21:37:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:03 ========================================================= 21:37:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:37:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:37:03 Sending build context to Docker daemon 5.748MB 21:37:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:37:03 Step 2/12 : FROM ${BASE} AS builder 21:37:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:37:03 7264a8db6415: Pulling fs layer 21:37:03 c4d48a809fc2: Pulling fs layer 21:37:03 4f1c88b9dad5: Pulling fs layer 21:37:03 ad3a456e5733: Pulling fs layer 21:37:03 33e27b845d1e: Pulling fs layer 21:37:03 c68163c4e522: Pulling fs layer 21:37:03 50da416c3ac9: Pulling fs layer 21:37:03 23d2d4c4bb30: Pulling fs layer 21:37:03 33e27b845d1e: Waiting 21:37:03 ad3a456e5733: Waiting 21:37:03 50da416c3ac9: Waiting 21:37:03 23d2d4c4bb30: Waiting 21:37:03 c4d48a809fc2: Verifying Checksum 21:37:03 c4d48a809fc2: Download complete 21:37:03 33e27b845d1e: Verifying Checksum 21:37:03 33e27b845d1e: Download complete 21:37:03 7264a8db6415: Verifying Checksum 21:37:03 7264a8db6415: Download complete 21:37:04 c68163c4e522: Verifying Checksum 21:37:04 c68163c4e522: Download complete 21:37:04 23d2d4c4bb30: Verifying Checksum 21:37:04 23d2d4c4bb30: Download complete 21:37:04 7264a8db6415: Pull complete 21:37:04 4f1c88b9dad5: Verifying Checksum 21:37:04 4f1c88b9dad5: Download complete 21:37:04 c4d48a809fc2: Pull complete 21:37:04 50da416c3ac9: Verifying Checksum 21:37:04 50da416c3ac9: Download complete 21:37:07 4f1c88b9dad5: Pull complete 21:37:07 ad3a456e5733: Pull complete 21:37:08 33e27b845d1e: Pull complete 21:37:08 c68163c4e522: Pull complete 21:37:10 50da416c3ac9: Pull complete 21:37:11 23d2d4c4bb30: Pull complete 21:37:11 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:37:11 ---> 0786185ac409 21:37:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:37:16 Still waiting to schedule task 21:37:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15630’ 21:37:21 ---> Running in 73fc8570eb0c 21:37:21 Removing intermediate container 73fc8570eb0c 21:37:21 ---> b366eadc68e1 21:37:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:21 ---> Running in 893da491c66d 21:37:21 Removing intermediate container 893da491c66d 21:37:21 ---> 47157417477f 21:37:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:37:21 ---> Running in 1f7773339d4f 21:37:21 Removing intermediate container 1f7773339d4f 21:37:21 ---> 76f9dd8571dd 21:37:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:37:22 ---> Running in 7daaf5081cab 21:37:23 Removing intermediate container 7daaf5081cab 21:37:23 ---> ccaf9a523b08 21:37:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:23 ---> Running in 90af135aa73b 21:37:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:37:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:37:25 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:37:25 (2/4) Installing libedit (20221030.3.1-r1) 21:37:25 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:37:25 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:37:25 Executing busybox-1.36.1-r2.trigger 21:37:25 OK: 268 MiB in 56 packages 21:37:27 Removing intermediate container 90af135aa73b 21:37:27 ---> dd81cfcadadd 21:37:27 Step 8/12 : WORKDIR /device-snmp-go 21:37:27 ---> Running in 19587c504e17 21:37:27 Removing intermediate container 19587c504e17 21:37:27 ---> 85bd449073f9 21:37:27 Step 9/12 : COPY go.mod vendor* ./ 21:37:28 ---> 18980e204323 21:37:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:28 ---> Running in cc3f5e82bdb7 21:38:24 Removing intermediate container cc3f5e82bdb7 21:38:24 ---> 4be12daea1f5 21:38:24 Step 11/12 : COPY . . 21:38:24 ---> ac2af58466aa 21:38:24 Step 12/12 : RUN ${MAKE} 21:38:24 ---> Running in e28b6e064176 21:38:24 noop 21:38:24 Removing intermediate container e28b6e064176 21:38:24 ---> f739e4e12ee6 21:38:24 Successfully built f739e4e12ee6 21:38:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:24 + docker inspect -f . ci-base-image-x86_64 21:38:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:24 prd-ubuntu20.04-docker-8c-8g-15635 does not seem to be running inside a container 21:38:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-327 -v /w/workspace/gexfoundry_device-snmp-go_PR-327:/w/workspace/gexfoundry_device-snmp-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-327@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-327@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 21:38:25 $ docker top a3118f5135663c6fb4c6254bd44f507c272c700203418c88fc28085ddc8b4130 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:25 + go version 21:38:25 go version go1.21.0 linux/amd64 [Pipeline] } 21:38:25 $ docker stop --time=1 a3118f5135663c6fb4c6254bd44f507c272c700203418c88fc28085ddc8b4130 21:38:27 $ docker rm -f --volumes a3118f5135663c6fb4c6254bd44f507c272c700203418c88fc28085ddc8b4130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker inspect -f . ci-base-image-x86_64 21:38:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:28 prd-ubuntu20.04-docker-8c-8g-15635 does not seem to be running inside a container 21:38:28 $ 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-327 -v /w/workspace/gexfoundry_device-snmp-go_PR-327:/w/workspace/gexfoundry_device-snmp-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-327@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-327@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 21:38:28 $ docker top 9b60bc2bad05b817a38f80e5ff435b8de1e4f61e75ec0c3d495fc53a339d2d31 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-327 [Pipeline] fileExists [Pipeline] sh 21:38:29 + make test 21:38:29 go test ./... -coverprofile=coverage.out 21:38:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:38:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:38:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 21:38:47 go vet ./... 21:38:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:38:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:38:50 ./bin/test-attribution-txt.sh [Pipeline] echo 21:38:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:38:50 $ docker stop --time=1 9b60bc2bad05b817a38f80e5ff435b8de1e4f61e75ec0c3d495fc53a339d2d31 21:38:55 $ docker rm -f --volumes 9b60bc2bad05b817a38f80e5ff435b8de1e4f61e75ec0c3d495fc53a339d2d31 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:38:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:38:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:38:56 + ls -al . 21:38:56 total 172 21:38:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:38 . 21:38:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:36 .. 21:38:56 -rw-rw-r-- 1 jenkins jenkins 6 Oct 31 21:36 .dockerignore 21:38:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:38 .git 21:38:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 .github 21:38:56 -rw-rw-r-- 1 jenkins jenkins 263 Oct 31 21:36 .gitignore 21:38:56 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:36 .golangci.yml 21:38:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:36 .semver 21:38:56 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 31 21:36 Attribution.txt 21:38:56 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 31 21:36 CHANGELOG.md 21:38:56 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 31 21:36 Dockerfile 21:38:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:36 GOVERNANCE.md 21:38:56 -rw-rw-r-- 1 jenkins jenkins 656 Oct 31 21:36 Jenkinsfile 21:38:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:36 LICENSE 21:38:56 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 31 21:36 Makefile 21:38:56 -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 21:36 OWNERS.md 21:38:56 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 31 21:36 README.md 21:38:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:37 VERSION 21:38:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 bin 21:38:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 cmd 21:38:56 -rw-r--r-- 1 jenkins jenkins 8837 Oct 31 21:38 coverage.out 21:38:56 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 31 21:36 go.mod 21:38:56 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 31 21:36 go.sum 21:38:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 internal 21:38:56 -rw-rw-r-- 1 jenkins jenkins 228 Oct 31 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:57 + 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=85802b406338d04c51da801ae04a680ab5b0a504 --label arch=amd64 --label version=0.0.0 . 21:38:57 Sending build context to Docker daemon 5.758MB 21:38:57 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:38:57 Step 2/24 : FROM ${BASE} AS builder 21:38:57 ---> f739e4e12ee6 21:38:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:38:57 ---> Running in e07e682bdf69 21:38:57 Removing intermediate container e07e682bdf69 21:38:57 ---> c1064af07a8a 21:38:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:57 ---> Running in 23f6cd4ea3ff 21:38:57 Removing intermediate container 23f6cd4ea3ff 21:38:57 ---> ea0d8ce66720 21:38:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:38:57 ---> Running in 6e5a5e8591b3 21:38:57 Removing intermediate container 6e5a5e8591b3 21:38:57 ---> 1d314faa5652 21:38:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:38:57 ---> Running in 3f002316edc9 21:38:57 Removing intermediate container 3f002316edc9 21:38:57 ---> ca4558df4e7b 21:38:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:57 ---> Running in d5956c1dbd91 21:38:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:38:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:38:58 OK: 268 MiB in 56 packages 21:38:58 Removing intermediate container d5956c1dbd91 21:38:58 ---> e91a1757db04 21:38:58 Step 8/24 : WORKDIR /device-snmp-go 21:38:58 ---> Running in 15c3a72749c0 21:38:58 Removing intermediate container 15c3a72749c0 21:38:58 ---> 16c8a965f70d 21:38:58 Step 9/24 : COPY go.mod vendor* ./ 21:38:58 ---> 737c53b9a41a 21:38:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:58 ---> Running in f977574f8c2b 21:38:59 Removing intermediate container f977574f8c2b 21:38:59 ---> fce7aa41dea3 21:38:59 Step 11/24 : COPY . . 21:39:00 ---> de36c8ccd48d 21:39:00 Step 12/24 : RUN ${MAKE} 21:39:00 ---> Running in 126674f23eb7 21:39:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 21:39:28 Removing intermediate container 126674f23eb7 21:39:28 ---> b22b84b6f53a 21:39:28 Step 13/24 : FROM alpine:3.18 21:39:28 3.18: Pulling from library/alpine 21:39:28 96526aa774ef: Pulling fs layer 21:39:28 96526aa774ef: Verifying Checksum 21:39:28 96526aa774ef: Download complete 21:39:28 96526aa774ef: Pull complete 21:39:28 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:39:28 Status: Downloaded newer image for alpine:3.18 21:39:28 ---> 8ca4688f4f35 21:39:28 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:39:28 ---> Running in 110004226b2e 21:39:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:39:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:39:28 (1/1) Installing dumb-init (1.2.5-r2) 21:39:28 Executing busybox-1.36.1-r2.trigger 21:39:28 OK: 7 MiB in 16 packages 21:39:28 Removing intermediate container 110004226b2e 21:39:28 ---> bc23305cef3c 21:39:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:39:28 ---> 140493524183 21:39:28 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:39:28 ---> 9f65b8265152 21:39:28 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:39:28 ---> faa1ddb1afe0 21:39:28 Step 18/24 : EXPOSE 59993 21:39:28 ---> Running in 0db3c4b2291c 21:39:29 Removing intermediate container 0db3c4b2291c 21:39:29 ---> 484617096770 21:39:29 Step 19/24 : EXPOSE 161 21:39:29 ---> Running in d946e9f32944 21:39:29 Removing intermediate container d946e9f32944 21:39:29 ---> da1e57b1532a 21:39:29 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:39:29 ---> Running in 4ec2de338b0d 21:39:29 Removing intermediate container 4ec2de338b0d 21:39:29 ---> d265b38bdb82 21:39:29 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:39:29 ---> Running in 44dd71f35b48 21:39:29 Removing intermediate container 44dd71f35b48 21:39:29 ---> 8a4f8d7b70df 21:39:29 Step 22/24 : LABEL arch=amd64 21:39:29 ---> Running in af45990a53a9 21:39:29 Removing intermediate container af45990a53a9 21:39:29 ---> b72a582b12c0 21:39:29 Step 23/24 : LABEL git_sha=85802b406338d04c51da801ae04a680ab5b0a504 21:39:29 ---> Running in bfd7fa8dba06 21:39:29 Removing intermediate container bfd7fa8dba06 21:39:29 ---> 29a5814dbb24 21:39:29 Step 24/24 : LABEL version=0.0.0 21:39:29 ---> Running in cc5553a4b2ea 21:39:29 Removing intermediate container cc5553a4b2ea 21:39:29 ---> ed6460b00b9e 21:39:29 [Warning] One or more build-args [ARCH] were not consumed 21:39:29 Successfully built ed6460b00b9e 21:39:29 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:30 21:39:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:30 latest: Pulling from edgex-lftools-log-publisher 21:39:30 5eb5b503b376: Pulling fs layer 21:39:30 5c69ac0246d0: Pulling fs layer 21:39:30 ec43610c2a17: Pulling fs layer 21:39:30 3a2ae6a8a46f: Pulling fs layer 21:39:30 33b1e0a273af: Pulling fs layer 21:39:30 5d3b04190fa2: Pulling fs layer 21:39:30 2f39f015ded8: Pulling fs layer 21:39:30 5d3b04190fa2: Waiting 21:39:30 2f39f015ded8: Waiting 21:39:30 3a2ae6a8a46f: Waiting 21:39:30 33b1e0a273af: Waiting 21:39:30 5c69ac0246d0: Verifying Checksum 21:39:30 5c69ac0246d0: Download complete 21:39:30 3a2ae6a8a46f: Verifying Checksum 21:39:30 3a2ae6a8a46f: Download complete 21:39:30 ec43610c2a17: Verifying Checksum 21:39:30 ec43610c2a17: Download complete 21:39:30 5d3b04190fa2: Verifying Checksum 21:39:30 5d3b04190fa2: Download complete 21:39:30 33b1e0a273af: Verifying Checksum 21:39:30 33b1e0a273af: Download complete 21:39:31 5eb5b503b376: Verifying Checksum 21:39:31 5eb5b503b376: Download complete 21:39:32 2f39f015ded8: Download complete 21:39:32 5eb5b503b376: Pull complete 21:39:32 5c69ac0246d0: Pull complete 21:39:32 ec43610c2a17: Pull complete 21:39:32 3a2ae6a8a46f: Pull complete 21:39:32 33b1e0a273af: Pull complete 21:39:33 5d3b04190fa2: Pull complete 21:39:37 2f39f015ded8: Pull complete 21:39:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:39:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:37 prd-ubuntu20.04-docker-8c-8g-15635 does not seem to be running inside a container 21:39:37 $ 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-327 -v /w/workspace/gexfoundry_device-snmp-go_PR-327:/w/workspace/gexfoundry_device-snmp-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-327@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-327@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 21:39:43 $ docker top a3dffae8d58ea31983d6f88fa884d2caf2a1451627423fa97e7191fe3f51cacc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:43 ---> job-cost.sh 21:39:43 lf-activate-venv: SKIPPING 21:39:43 INFO: No Stack... 21:39:44 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:44 INFO: Archiving Costs [Pipeline] sh 21:39:44 + cat /w/workspace/gexfoundry_device-snmp-go_PR-327/archives/cost.csv 21:39:44 + cut -d, -f6 [Pipeline] lock 21:39:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] 21:39:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] did not exist. Created. 21:39:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:45 + echo total: 0.2199999988079071 [Pipeline] stash 21:39:45 Stashed 1 file(s) [Pipeline] } 21:39:45 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:45 $ docker stop --time=1 a3dffae8d58ea31983d6f88fa884d2caf2a1451627423fa97e7191fe3f51cacc 21:39:46 $ docker rm -f --volumes a3dffae8d58ea31983d6f88fa884d2caf2a1451627423fa97e7191fe3f51cacc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:40:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15660 in /w/workspace/gexfoundry_device-snmp-go_PR-327 [Pipeline] { [Pipeline] ws 21:40:30 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 21:40:30 Selected Git installation does not exist. Using Default 21:40:30 The recommended git tool is: NONE 21:40:37 using credential edgex-jenkins-ssh 21:40:37 Cloning the remote Git repository 21:40:37 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:40:37 > git init /w/workspace/device-snmp-go/1 # timeout=10 21:40:37 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:40:37 > git --version # timeout=10 21:40:37 > git --version # 'git version 2.25.1' 21:40:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:40:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:41 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 85802b406338d04c51da801ae04a680ab5b0a504 21:40:41 Merge succeeded, producing 85802b406338d04c51da801ae04a680ab5b0a504 21:40:41 Checking out Revision 85802b406338d04c51da801ae04a680ab5b0a504 (PR-327) 21:40:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:40:40 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:40:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:40:41 > git config core.sparsecheckout # timeout=10 21:40:41 > git checkout -f 85802b406338d04c51da801ae04a680ab5b0a504 # timeout=10 21:40:41 > git remote # timeout=10 21:40:41 > git config --get remote.origin.url # timeout=10 21:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:41 > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 21:40:41 > git rev-parse HEAD^{commit} # timeout=10 21:40:41 > git config core.sparsecheckout # timeout=10 21:40:41 > git checkout -f 85802b406338d04c51da801ae04a680ab5b0a504 # timeout=10 21:40:42 Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" 21:40:42 > git --version # timeout=10 21:40:42 > git --version # 'git version 2.25.1' 21:40:42 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:40:43 % Total % Received % Xferd Average Speed Time Time Time Current 21:40:43 Dload Upload Total Spent Left Speed 21:40:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 21:40:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:40:44 + sudo+ tee /etc/docker/daemon.new 21:40:44 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:40:44 { 21:40:44 "registry-mirrors": [ 21:40:44 "https://nexus3.edgexfoundry.org:10001" 21:40:44 ], 21:40:44 "bip": "10.250.0.254/24", 21:40:44 "hosts": [ 21:40:44 "tcp://0.0.0.0:5555", 21:40:44 "unix:///var/run/docker.sock" 21:40:44 ], 21:40:44 "mtu": 1458, 21:40:44 "selinux-enabled": true, 21:40:44 "seccomp-profile": "/etc/docker/seccomp.json" 21:40:44 } [Pipeline] sh 21:40:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:40:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:03 provisioning config files... 21:41:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config18326001439319007247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:04 ---> docker-login.sh 21:41:04 nexus3.edgexfoundry.org:10001 21:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:05 Configure a credential helper to remove this warning. See 21:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:05 21:41:05 Login Succeeded 21:41:05 nexus3.edgexfoundry.org:10002 21:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:05 Configure a credential helper to remove this warning. See 21:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:05 21:41:05 Login Succeeded 21:41:05 nexus3.edgexfoundry.org:10003 21:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:06 Configure a credential helper to remove this warning. See 21:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:06 21:41:06 Login Succeeded 21:41:06 nexus3.edgexfoundry.org:10004 21:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:06 Configure a credential helper to remove this warning. See 21:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:06 21:41:06 Login Succeeded 21:41:06 docker.io 21:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:07 Configure a credential helper to remove this warning. See 21:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:07 21:41:07 Login Succeeded 21:41:07 ---> docker-login.sh ends [Pipeline] } 21:41:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:41:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:07 ========================================================= 21:41:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:41:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:41:08 Sending build context to Docker daemon 2.952MB 21:41:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:41:08 Step 2/12 : FROM ${BASE} AS builder 21:41:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:41:08 9fda8d8052c6: Pulling fs layer 21:41:08 5d54e960e981: Pulling fs layer 21:41:08 c4a7e357bf2a: Pulling fs layer 21:41:08 f0e02332f6b5: Pulling fs layer 21:41:08 cefa15bbcfad: Pulling fs layer 21:41:08 17808c966233: Pulling fs layer 21:41:08 f4c1fc716caa: Pulling fs layer 21:41:08 cefa15bbcfad: Waiting 21:41:08 17808c966233: Waiting 21:41:08 f4c1fc716caa: Waiting 21:41:08 f0e02332f6b5: Waiting 21:41:08 5d54e960e981: Verifying Checksum 21:41:08 5d54e960e981: Download complete 21:41:08 f0e02332f6b5: Verifying Checksum 21:41:08 f0e02332f6b5: Download complete 21:41:08 cefa15bbcfad: Download complete 21:41:09 9fda8d8052c6: Verifying Checksum 21:41:09 9fda8d8052c6: Download complete 21:41:09 f4c1fc716caa: Verifying Checksum 21:41:09 f4c1fc716caa: Download complete 21:41:09 9fda8d8052c6: Pull complete 21:41:10 5d54e960e981: Pull complete 21:41:10 c4a7e357bf2a: Verifying Checksum 21:41:10 c4a7e357bf2a: Download complete 21:41:12 17808c966233: Verifying Checksum 21:41:12 17808c966233: Download complete 21:41:24 c4a7e357bf2a: Pull complete 21:41:24 f0e02332f6b5: Pull complete 21:41:24 cefa15bbcfad: Pull complete 21:41:32 17808c966233: Pull complete 21:41:34 f4c1fc716caa: Pull complete 21:41:34 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:41:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:41:34 ---> ea914061e18c 21:41:34 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:41:35 ---> Running in 0643c0dc389a 21:41:36 Removing intermediate container 0643c0dc389a 21:41:36 ---> 581ed7379424 21:41:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:41:36 ---> Running in b168ab83fb00 21:41:36 Removing intermediate container b168ab83fb00 21:41:36 ---> fc156a6a7c6a 21:41:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:41:37 ---> Running in 9f05d69a9235 21:41:37 Removing intermediate container 9f05d69a9235 21:41:37 ---> 866377864ff3 21:41:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:41:37 ---> Running in 5647f2d15a11 21:41:37 Removing intermediate container 5647f2d15a11 21:41:37 ---> e07229866f6c 21:41:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:41:37 ---> Running in e31c7a5b815a 21:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:41:41 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:41:41 (2/4) Installing libedit (20221030.3.1-r1) 21:41:41 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:41:41 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:41:41 Executing busybox-1.36.1-r2.trigger 21:41:41 OK: 270 MiB in 56 packages 21:41:42 Removing intermediate container e31c7a5b815a 21:41:42 ---> ccfdeda9fe34 21:41:42 Step 8/12 : WORKDIR /device-snmp-go 21:41:42 ---> Running in b63cae585886 21:41:43 Removing intermediate container b63cae585886 21:41:43 ---> 7e4eb2044b35 21:41:43 Step 9/12 : COPY go.mod vendor* ./ 21:41:44 ---> afbb3d20bff0 21:41:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:41:44 ---> Running in 5ef34673c824 21:43:05 Removing intermediate container 5ef34673c824 21:43:05 ---> df28289886bf 21:43:05 Step 11/12 : COPY . . 21:43:06 ---> 8467115dbb6a 21:43:06 Step 12/12 : RUN ${MAKE} 21:43:06 ---> Running in 89bb15f9a9f6 21:43:07 noop 21:43:08 Removing intermediate container 89bb15f9a9f6 21:43:08 ---> cb4f1662efa4 21:43:08 Successfully built cb4f1662efa4 21:43:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:08 + docker inspect -f . ci-base-image-arm64 21:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:09 prd-ubuntu20.04-docker-arm64-4c-16g-15660 does not seem to be running inside a container 21:43:09 $ 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 21:43:10 $ docker top 1294eba7def1010a8d65cae639f1cf81e5de9694759ae8392a7b70774a3a5f48 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:11 + go version 21:43:11 go version go1.21.0 linux/arm64 [Pipeline] } 21:43:11 $ docker stop --time=1 1294eba7def1010a8d65cae639f1cf81e5de9694759ae8392a7b70774a3a5f48 21:43:13 $ docker rm -f --volumes 1294eba7def1010a8d65cae639f1cf81e5de9694759ae8392a7b70774a3a5f48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:14 + docker inspect -f . ci-base-image-arm64 21:43:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:14 prd-ubuntu20.04-docker-arm64-4c-16g-15660 does not seem to be running inside a container 21:43:14 $ 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 21:43:16 $ docker top 2b459b8d769584488b3da831c5139f81237b14f9291dc4952be080978025c3b2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:17 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 21:43:17 + make test 21:43:17 go test ./... -coverprofile=coverage.out 21:43:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:45:44 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:45:44 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.039s coverage: 0.0% of statements 21:45:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:45:44 go vet ./... 21:46:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:46:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:46:03 ./bin/test-attribution-txt.sh [Pipeline] echo 21:46:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:46:03 $ docker stop --time=1 2b459b8d769584488b3da831c5139f81237b14f9291dc4952be080978025c3b2 21:46:05 $ docker rm -f --volumes 2b459b8d769584488b3da831c5139f81237b14f9291dc4952be080978025c3b2 [Pipeline] // withDockerContainer [Pipeline] sh 21:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:46:06 Warning: overwriting stash ‘coverage-report’ 21:46:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:46:08 + ls -al . 21:46:08 total 168 21:46:08 drwxrwxr-x 7 jenkins jenkins 4096 Oct 31 21:43 . 21:46:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:40 .. 21:46:08 -rw-rw-r-- 1 jenkins jenkins 6 Oct 31 21:40 .dockerignore 21:46:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:40 .git 21:46:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 .github 21:46:08 -rw-rw-r-- 1 jenkins jenkins 263 Oct 31 21:40 .gitignore 21:46:08 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:40 .golangci.yml 21:46:08 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 31 21:40 Attribution.txt 21:46:08 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 31 21:40 CHANGELOG.md 21:46:08 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 31 21:40 Dockerfile 21:46:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:40 GOVERNANCE.md 21:46:08 -rw-rw-r-- 1 jenkins jenkins 656 Oct 31 21:40 Jenkinsfile 21:46:08 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:40 LICENSE 21:46:08 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 31 21:40 Makefile 21:46:08 -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 21:40 OWNERS.md 21:46:08 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 31 21:40 README.md 21:46:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:37 VERSION 21:46:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:40 bin 21:46:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 cmd 21:46:08 -rw-r--r-- 1 jenkins jenkins 8837 Oct 31 21:45 coverage.out 21:46:08 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 31 21:40 go.mod 21:46:08 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 31 21:40 go.sum 21:46:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 internal 21:46:08 -rw-rw-r-- 1 jenkins jenkins 228 Oct 31 21:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:08 + 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=85802b406338d04c51da801ae04a680ab5b0a504 --label arch=arm64 --label version=0.0.0 . 21:46:08 Sending build context to Docker daemon 2.962MB 21:46:08 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:46:08 Step 2/24 : FROM ${BASE} AS builder 21:46:08 ---> cb4f1662efa4 21:46:08 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:46:09 ---> Running in 2446c553f3fa 21:46:09 Removing intermediate container 2446c553f3fa 21:46:09 ---> 1718da45ddd3 21:46:09 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:46:09 ---> Running in e104c83c5c06 21:46:09 Removing intermediate container e104c83c5c06 21:46:09 ---> b4cd5da12e74 21:46:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:46:09 ---> Running in b15b9ee3f8e2 21:46:10 Removing intermediate container b15b9ee3f8e2 21:46:10 ---> dbcdfe4d12ae 21:46:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:46:10 ---> Running in b6927f28d6f9 21:46:10 Removing intermediate container b6927f28d6f9 21:46:10 ---> f9d150c85be6 21:46:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:11 ---> Running in 7e7dd5e1bcaa 21:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:46:14 OK: 270 MiB in 56 packages 21:46:15 Removing intermediate container 7e7dd5e1bcaa 21:46:15 ---> 0e51111c08fe 21:46:15 Step 8/24 : WORKDIR /device-snmp-go 21:46:15 ---> Running in 45d3d838bfea 21:46:15 Removing intermediate container 45d3d838bfea 21:46:15 ---> c0e903b2628b 21:46:15 Step 9/24 : COPY go.mod vendor* ./ 21:46:16 ---> d5e22bb17afb 21:46:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:16 ---> Running in d8ccc72ac9a7 21:46:19 Removing intermediate container d8ccc72ac9a7 21:46:19 ---> a9e3ac30f915 21:46:19 Step 11/24 : COPY . . 21:46:20 ---> 37cacbcb737a 21:46:20 Step 12/24 : RUN ${MAKE} 21:46:20 ---> Running in c5a06054cb3c 21:46:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 21:48:43 Removing intermediate container c5a06054cb3c 21:48:43 ---> 06579c67d418 21:48:43 Step 13/24 : FROM alpine:3.18 21:48:43 3.18: Pulling from library/alpine 21:48:43 579b34f0a95b: Pulling fs layer 21:48:43 579b34f0a95b: Verifying Checksum 21:48:43 579b34f0a95b: Download complete 21:48:43 579b34f0a95b: Pull complete 21:48:43 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:48:43 Status: Downloaded newer image for alpine:3.18 21:48:43 ---> 3cc203321400 21:48:43 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:48:43 ---> Running in 0d2449209b41 21:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:48:46 (1/1) Installing dumb-init (1.2.5-r2) 21:48:46 Executing busybox-1.36.1-r2.trigger 21:48:46 OK: 8 MiB in 16 packages 21:48:47 Removing intermediate container 0d2449209b41 21:48:47 ---> 8f02936775dc 21:48:47 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:48:49 ---> acd11af4e2a3 21:48:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:48:49 ---> 460e709d830e 21:48:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:48:49 ---> bd80e6ea425e 21:48:49 Step 18/24 : EXPOSE 59993 21:48:50 ---> Running in b1686620db11 21:48:50 Removing intermediate container b1686620db11 21:48:50 ---> 365c537cd0aa 21:48:50 Step 19/24 : EXPOSE 161 21:48:50 ---> Running in be8aae391bf6 21:48:50 Removing intermediate container be8aae391bf6 21:48:50 ---> 3c3ca94ec995 21:48:50 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:48:50 ---> Running in 7d7b21cc101e 21:48:51 Removing intermediate container 7d7b21cc101e 21:48:51 ---> e7c843d287b8 21:48:51 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:48:51 ---> Running in a7eb071d39ea 21:48:51 Removing intermediate container a7eb071d39ea 21:48:51 ---> 8448412c0f41 21:48:51 Step 22/24 : LABEL arch=arm64 21:48:51 ---> Running in a150db90ff72 21:48:52 Removing intermediate container a150db90ff72 21:48:52 ---> a52d3d7aeb60 21:48:52 Step 23/24 : LABEL git_sha=85802b406338d04c51da801ae04a680ab5b0a504 21:48:52 ---> Running in a65dfdc44326 21:48:52 Removing intermediate container a65dfdc44326 21:48:52 ---> 1c383a06ee26 21:48:52 Step 24/24 : LABEL version=0.0.0 21:48:52 ---> Running in ec8556540d10 21:48:53 Removing intermediate container ec8556540d10 21:48:53 ---> 63c752bc465e 21:48:53 [Warning] One or more build-args [ARCH] were not consumed 21:48:53 Successfully built 63c752bc465e 21:48:53 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 21:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:54 21:48:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:54 arm64: Pulling from edgex-lftools-log-publisher 21:48:54 8998bd30e6a1: Pulling fs layer 21:48:54 04944245beec: Pulling fs layer 21:48:54 699f458cf7ca: Pulling fs layer 21:48:54 765212b225bb: Pulling fs layer 21:48:54 f23df028b6ca: Pulling fs layer 21:48:54 d65c8cfc05b1: Pulling fs layer 21:48:54 2437ff75d9bd: Pulling fs layer 21:48:54 765212b225bb: Waiting 21:48:54 f23df028b6ca: Waiting 21:48:54 d65c8cfc05b1: Waiting 21:48:54 2437ff75d9bd: Waiting 21:48:54 04944245beec: Verifying Checksum 21:48:54 04944245beec: Download complete 21:48:54 765212b225bb: Verifying Checksum 21:48:54 765212b225bb: Download complete 21:48:54 f23df028b6ca: Verifying Checksum 21:48:54 f23df028b6ca: Download complete 21:48:55 d65c8cfc05b1: Verifying Checksum 21:48:55 d65c8cfc05b1: Download complete 21:48:55 699f458cf7ca: Download complete 21:48:55 8998bd30e6a1: Verifying Checksum 21:48:55 8998bd30e6a1: Download complete 21:48:58 2437ff75d9bd: Verifying Checksum 21:48:58 2437ff75d9bd: Download complete 21:49:01 8998bd30e6a1: Pull complete 21:49:01 04944245beec: Pull complete 21:49:03 699f458cf7ca: Pull complete 21:49:03 765212b225bb: Pull complete 21:49:04 f23df028b6ca: Pull complete 21:49:04 d65c8cfc05b1: Pull complete 21:49:22 2437ff75d9bd: Pull complete 21:49:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:49:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:22 prd-ubuntu20.04-docker-arm64-4c-16g-15660 does not seem to be running inside a container 21:49:23 $ 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 21:49:26 $ docker top 6d28683842867bdd0f2928744e8a1265990ba946a1f868f6a68ef5fc71bcbf10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:27 ---> job-cost.sh 21:49:27 lf-activate-venv: SKIPPING 21:49:27 INFO: No Stack... 21:49:27 INFO: Retrieving Pricing Info for: v3-standard-4 21:49:28 INFO: Archiving Costs [Pipeline] sh 21:49:29 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 21:49:29 + cut -d, -f6 [Pipeline] lock 21:49:29 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] 21:49:29 Resource [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] did not exist. Created. 21:49:29 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:29 /w/workspace/device-snmp-go/1@tmp/durable-f4e005f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:49:30 + echo total: 0.10999999940395355 [Pipeline] stash 21:49:30 Warning: overwriting stash ‘stack-cost’ 21:49:30 Stashed 1 file(s) [Pipeline] } 21:49:30 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:30 $ docker stop --time=1 6d28683842867bdd0f2928744e8a1265990ba946a1f868f6a68ef5fc71bcbf10 21:49:32 $ docker rm -f --volumes 6d28683842867bdd0f2928744e8a1265990ba946a1f868f6a68ef5fc71bcbf10 [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 21:49:33 provisioning config files... 21:49:33 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/config2383559936926222214tmp [Pipeline] { [Pipeline] sh 21:49:33 + set +x 21:49:33 + curl -s https://codecov.io/bash 21:49:33 + bash -s -- 21:49:33 21:49:33 _____ _ 21:49:33 / ____| | | 21:49:33 | | ___ __| | ___ ___ _____ __ 21:49:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:49:33 | |___| (_) | (_| | __/ (_| (_) \ V / 21:49:33 \_____\___/ \__,_|\___|\___\___/ \_/ 21:49:33 Bash-1.0.6 21:49:33 21:49:33 21:49:33 ==> git version 2.25.1 found 21:49:33 ==> 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 21:49:33 Release-Date: 2020-01-08 21:49:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:49:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:49:33 ==> Jenkins CI detected. 21:49:33 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-327 21:49:33 project root: . 21:49:33 --> token set from env 21:49:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:49:33 ==> Running gcov in . (disable via -X gcov) 21:49:33 ==> Python coveragepy not found 21:49:33 ==> Searching for coverage reports in: 21:49:33 + . 21:49:33 -> Found 1 reports 21:49:33 ==> Detecting git/mercurial file structure 21:49:33 ==> Reading reports 21:49:33 + ./coverage.out bytes=8837 21:49:33 ==> Appending adjustments 21:49:33 https://docs.codecov.io/docs/fixing-reports 21:49:34 + Found adjustments 21:49:34 ==> Gzipping contents 21:49:34 4.0K /tmp/codecov.vqlzCC.gz 21:49:34 ==> Uploading reports 21:49:34 url: https://codecov.io 21:49:34 query: branch=PR-327&commit=85802b406338d04c51da801ae04a680ab5b0a504&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=327&job=&cmd_args= 21:49:34 -> Pinging Codecov 21:49:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-327&commit=85802b406338d04c51da801ae04a680ab5b0a504&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=327&job=&cmd_args= 21:49:34 -> Uploading to 21:49:34 https://storage.googleapis.com/codecov/v4/raw/2023-10-31/6C56EA5C29638FB4528AC87E60AF5AE0/85802b406338d04c51da801ae04a680ab5b0a504/4ba9f428-5cf3-495e-a1f0-26925f56c0ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T214934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d587752bf9dfbbb5fc69d217014a6baba48dd1df24e03c87958da95b9bbae14b 21:49:34 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:34 Dload Upload Total Spent Left Speed 21:49:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5477 --:--:-- --:--:-- --:--:-- 5477 21:49:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/85802b406338d04c51da801ae04a680ab5b0a504 [Pipeline] } 21:49:34 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 21:49:36 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-327/archives ] 21:49:36 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-327/archives 21:49:36 total 16 21:49:36 drwxr-xr-x 3 root root 4096 Oct 31 21:39 . 21:49:36 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:39 .. 21:49:36 drwxr-xr-x 2 root root 4096 Oct 31 21:39 cost 21:49:36 -rw-r--r-- 1 root root 86 Oct 31 21:39 cost.csv 21:49:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-327/archives 21:49:36 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-327/archives 21:49:36 total 16 21:49:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:39 . 21:49:36 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:39 .. 21:49:36 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:39 cost 21:49:36 -rw-r--r-- 1 jenkins jenkins 86 Oct 31 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:49:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:49:37 ---> package-listing.sh 21:49:37 ++ facter osfamily 21:49:37 ++ tr '[:upper:]' '[:lower:]' 21:49:38 + OS_FAMILY=debian 21:49:38 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-327 21:49:38 + START_PACKAGES=/tmp/packages_start.txt 21:49:38 + END_PACKAGES=/tmp/packages_end.txt 21:49:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:49:38 + PACKAGES=/tmp/packages_start.txt 21:49:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-327 ']' 21:49:38 + PACKAGES=/tmp/packages_end.txt 21:49:38 + case "${OS_FAMILY}" in 21:49:38 + dpkg -l 21:49:38 + grep '^ii' 21:49:38 + '[' -f /tmp/packages_start.txt ']' 21:49:38 + '[' -f /tmp/packages_end.txt ']' 21:49:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:49:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-327 ']' 21:49:38 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-327/archives/ 21:49:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-327/archives/ [Pipeline] echo 21:49:38 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-327/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:49:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:39 prd-ubuntu20.04-docker-8c-8g-15635 does not seem to be running inside a container 21:49:39 $ 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-327/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-327 -v /w/workspace/gexfoundry_device-snmp-go_PR-327:/w/workspace/gexfoundry_device-snmp-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-327@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-327@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 21:49:39 $ docker top 451e2008bddd97587a2f982d2cf12cd64afe4363a7bd1edaf621a61924885348 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:39 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:40 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:40 + ls /var/log/sa-host 21:49:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:40 provisioning config files... 21:49:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-327@tmp/config6333186637423415787tmp [Pipeline] { [Pipeline] echo 21:49:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> create-netrc.sh [Pipeline] } 21:49:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> python-tools-install.sh [Pipeline] echo 21:49:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> sudo-logs.sh 21:49:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:49:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:49:42 ---> job-cost.sh 21:49:42 lf-activate-venv: SKIPPING 21:49:42 DEBUG: total: 0.2199999988079071 21:49:42 INFO: Retrieving Stack Cost... 21:49:42 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:43 INFO: Archiving Costs [Pipeline] echo 21:49:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:49:43 ---> logs-deploy.sh 21:49:43 lf-activate-venv: SKIPPING 21:49:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-327/1 21:49:43 INFO: archiving workspace using pattern(s): 21:49:44 Archives upload complete. 21:49:44 INFO: archiving logs to Nexus