Pull request #322 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-snmp-go Obtained Jenkinsfile from e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa+ab96bded2e0807d2a2691bb0f6e58e8413531895 (13d64fcb388608bdd83e950aad87d625a5420e43) 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-ssh12069654202281012423.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-ssh5608813862260178238.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-322/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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2690721671178956168.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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14546451135457672784.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-ssh17090756186813931100.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-322/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-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8397716965546003771.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9921 in /w/workspace/gexfoundry_device-snmp-go_PR-322 [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-322 # 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/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab96bded2e0807d2a2691bb0f6e58e8413531895 into PR head commit e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa Merge succeeded, producing e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa Checking out Revision e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa (PR-322) > git config core.sparsecheckout # timeout=10 > git checkout -f e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa # 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 ab96bded2e0807d2a2691bb0f6e58e8413531895 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa # timeout=10 Commit message: "feat!: Remove snap packaging" 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 14:35:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:35:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:35:17 ========================================================= 14:35:17 EdgeX Global Pipelines Version Info 14:35:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:35:18 ------------------- 14:35:18 stable info: 14:35:18 ------------------- 14:35:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:35:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 14:35:18 Message: update stable to v1.0.254 14:35:18 ------------------- 14:35:18 experimental info: 14:35:18 ------------------- 14:35:18 Commited By: **** collab-it+edgex@linuxfoundation.org 14:35:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 14:35:18 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:35:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-322 [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-322 [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-322 [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e95d64c [Pipeline] echo 14:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:35:20 provisioning config files... 14:35:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/config18023127890468248727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:35:20 ---> docker-login.sh 14:35:20 nexus3.edgexfoundry.org:10001 14:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:21 Configure a credential helper to remove this warning. See 14:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:21 14:35:21 Login Succeeded 14:35:21 nexus3.edgexfoundry.org:10002 14:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:21 Configure a credential helper to remove this warning. See 14:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:21 14:35:21 Login Succeeded 14:35:21 nexus3.edgexfoundry.org:10003 14:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:21 Configure a credential helper to remove this warning. See 14:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:21 14:35:21 Login Succeeded 14:35:21 nexus3.edgexfoundry.org:10004 14:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:21 Configure a credential helper to remove this warning. See 14:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:21 14:35:21 Login Succeeded 14:35:21 docker.io 14:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:21 Configure a credential helper to remove this warning. See 14:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:21 14:35:21 Login Succeeded 14:35:21 ---> docker-login.sh ends [Pipeline] } 14:35:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:35:22 + git rev-list -1 --merges e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa~1..e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa [Pipeline] echo 14:35:22 -----------> git rev-list -1 --merges e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa~1..e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa [false] [Pipeline] sh 14:35:22 + git log --format=format:%s -1 e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa [Pipeline] echo 14:35:22 ========================================================= 14:35:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:35:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:35:23 + git log --format=format:%s -1 e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa [Pipeline] echo 14:35:23 [semverPrep] GIT_COMMIT: e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa, Commit Message: feat!: Remove snap packaging [Pipeline] echo 14:35:23 [semverPrep] This is not a build commit. [Pipeline] sh 14:35:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:35:23 + grep -v github /etc/ssh/ssh_known_hosts 14:35:23 + [ -e /tmp/ssh_known_hosts ] 14:35:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:35:23 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 14:35:23 /etc/ssh/ssh_known_hosts 14:35:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:35:24 14:35:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:35:24 0.1.4: Pulling from edgex-devops/py-git-semver 14:35:24 b85a868b505f: Pulling fs layer 14:35:24 e2be974225ed: Pulling fs layer 14:35:24 339a4e72a1f5: Pulling fs layer 14:35:24 988bab9f4d93: Pulling fs layer 14:35:24 988bab9f4d93: Waiting 14:35:24 1469e6f7b9e6: Pulling fs layer 14:35:24 1469e6f7b9e6: Waiting 14:35:24 eaf3925da568: Pulling fs layer 14:35:24 bab4dde63d76: Pulling fs layer 14:35:24 bde34c3a00c8: Pulling fs layer 14:35:24 b352a97aabf1: Pulling fs layer 14:35:24 4872d77fe225: Pulling fs layer 14:35:24 bde34c3a00c8: Waiting 14:35:24 bab4dde63d76: Waiting 14:35:24 b352a97aabf1: Waiting 14:35:24 5851b861e8e6: Pulling fs layer 14:35:24 eaf3925da568: Waiting 14:35:24 e2be974225ed: Verifying Checksum 14:35:24 e2be974225ed: Download complete 14:35:24 988bab9f4d93: Verifying Checksum 14:35:24 988bab9f4d93: Download complete 14:35:24 339a4e72a1f5: Verifying Checksum 14:35:24 339a4e72a1f5: Download complete 14:35:24 1469e6f7b9e6: Verifying Checksum 14:35:24 1469e6f7b9e6: Download complete 14:35:24 eaf3925da568: Verifying Checksum 14:35:24 eaf3925da568: Download complete 14:35:24 bde34c3a00c8: Verifying Checksum 14:35:24 bde34c3a00c8: Download complete 14:35:24 b352a97aabf1: Verifying Checksum 14:35:24 b352a97aabf1: Download complete 14:35:24 4872d77fe225: Verifying Checksum 14:35:24 4872d77fe225: Download complete 14:35:24 5851b861e8e6: Verifying Checksum 14:35:24 5851b861e8e6: Download complete 14:35:24 b85a868b505f: Verifying Checksum 14:35:24 b85a868b505f: Download complete 14:35:24 bab4dde63d76: Verifying Checksum 14:35:24 bab4dde63d76: Download complete 14:35:25 b85a868b505f: Pull complete 14:35:26 e2be974225ed: Pull complete 14:35:26 339a4e72a1f5: Pull complete 14:35:26 988bab9f4d93: Pull complete 14:35:26 1469e6f7b9e6: Pull complete 14:35:26 eaf3925da568: Pull complete 14:35:28 bab4dde63d76: Pull complete 14:35:28 bde34c3a00c8: Pull complete 14:35:28 b352a97aabf1: Pull complete 14:35:28 4872d77fe225: Pull complete 14:35:28 5851b861e8e6: Pull complete 14:35:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:35:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:35:29 prd-ubuntu20.04-docker-8c-8g-9921 does not seem to be running inside a container 14:35:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-322 -v /w/workspace/gexfoundry_device-snmp-go_PR-322:/w/workspace/gexfoundry_device-snmp-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-322@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-devops/py-git-semver:0.1.4 cat 14:35:31 $ docker top 708d5667baf980e02b5faf69024d139ed25cc5bb212b3cad706d1633b8dc4051 -eo pid,comm 14:35:31 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). 14:35:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:35:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:35:31 [ssh-agent] Looking for ssh-agent implementation... 14:35:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:35:31 $ docker exec 708d5667baf980e02b5faf69024d139ed25cc5bb212b3cad706d1633b8dc4051 ssh-agent 14:35:32 SSH_AUTH_SOCK=/tmp/ssh-ovOVTSKqJGy6/agent.33 14:35:32 SSH_AGENT_PID=39 14:35:32 Running ssh-add (command line suppressed) 14:35:32 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/private_key_4513465982448441899.key (/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/private_key_4513465982448441899.key) 14:35:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:35:32 + git tag --points-at HEAD [Pipeline] } 14:35:32 $ docker exec --env ******** --env ******** 708d5667baf980e02b5faf69024d139ed25cc5bb212b3cad706d1633b8dc4051 ssh-agent -k 14:35:32 unset SSH_AUTH_SOCK; 14:35:32 unset SSH_AGENT_PID; 14:35:32 echo Agent pid 39 killed; 14:35:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:35:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:35:32 [ssh-agent] Looking for ssh-agent implementation... 14:35:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:35:32 $ docker exec 708d5667baf980e02b5faf69024d139ed25cc5bb212b3cad706d1633b8dc4051 ssh-agent 14:35:32 SSH_AUTH_SOCK=/tmp/ssh-ga6po6lOFsuu/agent.71 14:35:32 SSH_AGENT_PID=77 14:35:32 Running ssh-add (command line suppressed) 14:35:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/private_key_16285924855788399056.key (/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/private_key_16285924855788399056.key) 14:35:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:35:33 + git semver init 14:35:33 2023-10-24 14:35:33,538 [run_init] DEBUG init version:0.0.0 force:False 14:35:33 2023-10-24 14:35:33,539 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-322/.semver 14:35:33 2023-10-24 14:35:33,539 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-322/.semver 14:35:33 2023-10-24 14:35:33,539 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-322/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-322, universal_newlines=False, shell=None, istream=None) 14:35:34 2023-10-24 14:35:34,457 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-322/.git/info/exclude 14:35:34 2023-10-24 14:35:34,457 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-322/.semver/PR-322 with force:False 14:35:34 2023-10-24 14:35:34,458 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-322/.semver/PR-322 14:35:34 2023-10-24 14:35:34,462 [execute] INFO git cat-file --batch-check 14:35:34 2023-10-24 14:35:34,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) 14:35:34 2023-10-24 14:35:34,467 [execute] INFO git cat-file --batch 14:35:34 2023-10-24 14:35:34,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) 14:35:34 2023-10-24 14:35:34,471 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-322/.semver/PR-322 14:35:34 0.0.0 [Pipeline] } 14:35:34 $ docker exec --env ******** --env ******** 708d5667baf980e02b5faf69024d139ed25cc5bb212b3cad706d1633b8dc4051 ssh-agent -k 14:35:34 unset SSH_AUTH_SOCK; 14:35:34 unset SSH_AGENT_PID; 14:35:34 echo Agent pid 77 killed; 14:35:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:35:35 + git semver [Pipeline] } 14:35:35 $ docker stop --time=1 708d5667baf980e02b5faf69024d139ed25cc5bb212b3cad706d1633b8dc4051 14:35:36 $ docker rm -f --volumes 708d5667baf980e02b5faf69024d139ed25cc5bb212b3cad706d1633b8dc4051 [Pipeline] // withDockerContainer [Pipeline] sh 14:35:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:35:37 Stashed 1 file(s) [Pipeline] echo 14:35:37 [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 14:35:38 provisioning config files... 14:35:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/config549621840906309926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:35:38 ---> docker-login.sh 14:35:38 nexus3.edgexfoundry.org:10001 14:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:38 Configure a credential helper to remove this warning. See 14:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:38 14:35:38 Login Succeeded 14:35:38 nexus3.edgexfoundry.org:10002 14:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:38 Configure a credential helper to remove this warning. See 14:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:38 14:35:38 Login Succeeded 14:35:38 nexus3.edgexfoundry.org:10003 14:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:38 Configure a credential helper to remove this warning. See 14:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:38 14:35:38 Login Succeeded 14:35:38 nexus3.edgexfoundry.org:10004 14:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:38 Configure a credential helper to remove this warning. See 14:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:38 14:35:38 Login Succeeded 14:35:38 docker.io 14:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:39 Configure a credential helper to remove this warning. See 14:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:39 14:35:39 Login Succeeded 14:35:39 ---> docker-login.sh ends [Pipeline] } 14:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:35:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:35:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:35:39 ========================================================= 14:35:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:35:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:39 + 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 . 14:35:39 Sending build context to Docker daemon 5.723MB 14:35:39 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:35:39 Step 2/12 : FROM ${BASE} AS builder 14:35:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:35:39 7264a8db6415: Pulling fs layer 14:35:39 c4d48a809fc2: Pulling fs layer 14:35:39 4f1c88b9dad5: Pulling fs layer 14:35:39 ad3a456e5733: Pulling fs layer 14:35:39 33e27b845d1e: Pulling fs layer 14:35:39 ad3a456e5733: Waiting 14:35:39 c68163c4e522: Pulling fs layer 14:35:39 50da416c3ac9: Pulling fs layer 14:35:39 23d2d4c4bb30: Pulling fs layer 14:35:39 33e27b845d1e: Waiting 14:35:39 c68163c4e522: Waiting 14:35:39 50da416c3ac9: Waiting 14:35:39 23d2d4c4bb30: Waiting 14:35:39 c4d48a809fc2: Verifying Checksum 14:35:39 c4d48a809fc2: Download complete 14:35:39 ad3a456e5733: Download complete 14:35:40 33e27b845d1e: Verifying Checksum 14:35:40 33e27b845d1e: Download complete 14:35:40 7264a8db6415: Verifying Checksum 14:35:40 7264a8db6415: Download complete 14:35:40 c68163c4e522: Verifying Checksum 14:35:40 c68163c4e522: Download complete 14:35:40 7264a8db6415: Pull complete 14:35:40 c4d48a809fc2: Pull complete 14:35:40 23d2d4c4bb30: Verifying Checksum 14:35:40 23d2d4c4bb30: Download complete 14:35:40 4f1c88b9dad5: Verifying Checksum 14:35:40 4f1c88b9dad5: Download complete 14:35:41 50da416c3ac9: Download complete 14:35:44 4f1c88b9dad5: Pull complete 14:35:44 ad3a456e5733: Pull complete 14:35:44 33e27b845d1e: Pull complete 14:35:44 c68163c4e522: Pull complete 14:35:46 50da416c3ac9: Pull complete 14:35:46 23d2d4c4bb30: Pull complete 14:35:46 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 14:35:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:35:46 ---> 0786185ac409 14:35:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:35:51 ---> Running in 9a191f99975f 14:35:51 Removing intermediate container 9a191f99975f 14:35:51 ---> 1c22e28ea14b 14:35:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:35:51 ---> Running in 16b807b37901 14:35:51 Removing intermediate container 16b807b37901 14:35:51 ---> 0b7a29771de0 14:35:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:35:51 ---> Running in aedcfaddfc76 14:35:51 Removing intermediate container aedcfaddfc76 14:35:51 ---> dece75aa9f6d 14:35:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:35:51 ---> Running in 784bd93ad746 14:35:51 Removing intermediate container 784bd93ad746 14:35:51 ---> 60ca356dd612 14:35:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:35:51 ---> Running in b02824d608d0 14:35:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:35:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:35:52 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:35:52 (2/4) Installing libedit (20221030.3.1-r1) 14:35:52 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:35:52 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:35:52 Executing busybox-1.36.1-r2.trigger 14:35:52 OK: 268 MiB in 56 packages 14:35:52 Still waiting to schedule task 14:35:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 14:35:53 Removing intermediate container b02824d608d0 14:35:53 ---> 2b04406de17a 14:35:53 Step 8/12 : WORKDIR /device-snmp-go 14:35:53 ---> Running in 90817d6675f8 14:35:53 Removing intermediate container 90817d6675f8 14:35:53 ---> 131bcdfb332c 14:35:53 Step 9/12 : COPY go.mod vendor* ./ 14:35:53 ---> fcdafe306f24 14:35:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:35:53 ---> Running in 6c180c262645 14:36:39 Removing intermediate container 6c180c262645 14:36:39 ---> aa075ce06d32 14:36:39 Step 11/12 : COPY . . 14:36:39 ---> c27c7322b05c 14:36:39 Step 12/12 : RUN ${MAKE} 14:36:39 ---> Running in 66fe904b130f 14:36:39 noop 14:36:39 Removing intermediate container 66fe904b130f 14:36:39 ---> 14a5944444a1 14:36:39 Successfully built 14a5944444a1 14:36:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:40 + docker inspect -f . ci-base-image-x86_64 14:36:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:40 prd-ubuntu20.04-docker-8c-8g-9921 does not seem to be running inside a container 14:36:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-322 -v /w/workspace/gexfoundry_device-snmp-go_PR-322:/w/workspace/gexfoundry_device-snmp-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:36:40 $ docker top 5434118ea71ef53ddd00e231bb5b3b824400e800ae00de51da90b5f6333e1dde -eo pid,comm [Pipeline] { [Pipeline] sh 14:36:41 + go version 14:36:41 go version go1.21.0 linux/amd64 [Pipeline] } 14:36:41 $ docker stop --time=1 5434118ea71ef53ddd00e231bb5b3b824400e800ae00de51da90b5f6333e1dde 14:36:42 $ docker rm -f --volumes 5434118ea71ef53ddd00e231bb5b3b824400e800ae00de51da90b5f6333e1dde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:43 + docker inspect -f . ci-base-image-x86_64 14:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:43 prd-ubuntu20.04-docker-8c-8g-9921 does not seem to be running inside a container 14:36:43 $ 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-322 -v /w/workspace/gexfoundry_device-snmp-go_PR-322:/w/workspace/gexfoundry_device-snmp-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:36:43 $ docker top 7b3a6b0b4e87a9909fb3dde136c747c958164526b442b4955c8d66b0dcf4e72d -eo pid,comm [Pipeline] { [Pipeline] sh 14:36:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-322 [Pipeline] fileExists [Pipeline] sh 14:36:44 + make test 14:36:44 go test ./... -coverprofile=coverage.out 14:36:45 ? github.com/edgexfoundry/device-snmp-go [no test files] 14:36:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 14:36:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 14:37:02 go vet ./... 14:37:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:37:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:37:05 ./bin/test-attribution-txt.sh [Pipeline] echo 14:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:37:05 $ docker stop --time=1 7b3a6b0b4e87a9909fb3dde136c747c958164526b442b4955c8d66b0dcf4e72d 14:37:08 $ docker rm -f --volumes 7b3a6b0b4e87a9909fb3dde136c747c958164526b442b4955c8d66b0dcf4e72d [Pipeline] // withDockerContainer [Pipeline] sh 14:37:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:37:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:37:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:37:09 + ls -al . 14:37:09 total 172 14:37:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:36 . 14:37:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:35 .. 14:37:09 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 14:35 .dockerignore 14:37:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:36 .git 14:37:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:35 .github 14:37:09 -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 14:35 .gitignore 14:37:09 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 14:35 .golangci.yml 14:37:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 14:35 .semver 14:37:09 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 14:35 Attribution.txt 14:37:09 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 14:35 CHANGELOG.md 14:37:09 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 14:35 Dockerfile 14:37:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 14:35 GOVERNANCE.md 14:37:09 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 14:35 Jenkinsfile 14:37:09 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 14:35 LICENSE 14:37:09 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 14:35 Makefile 14:37:09 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 14:35 OWNERS.md 14:37:09 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 14:35 README.md 14:37:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 14:35 VERSION 14:37:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:35 bin 14:37:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:35 cmd 14:37:09 -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 14:36 coverage.out 14:37:09 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 14:35 go.mod 14:37:09 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 14:35 go.sum 14:37:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:35 internal 14:37:09 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 14:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:10 + 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=e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa --label arch=amd64 --label version=0.0.0 . 14:37:10 Sending build context to Docker daemon 5.733MB 14:37:10 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 14:37:10 Step 2/24 : FROM ${BASE} AS builder 14:37:10 ---> 14a5944444a1 14:37:10 Step 3/24 : ARG ADD_BUILD_TAGS="" 14:37:10 ---> Running in d8b9d85bc921 14:37:10 Removing intermediate container d8b9d85bc921 14:37:10 ---> 44fd68061d35 14:37:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:37:10 ---> Running in c11338b13f8e 14:37:10 Removing intermediate container c11338b13f8e 14:37:10 ---> 00465d056d88 14:37:10 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:37:10 ---> Running in 104720d2c1d2 14:37:10 Removing intermediate container 104720d2c1d2 14:37:10 ---> af0d0996ab00 14:37:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 14:37:10 ---> Running in fd93b41d9538 14:37:10 Removing intermediate container fd93b41d9538 14:37:10 ---> f64ea1fbaa1d 14:37:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:37:10 ---> Running in 469dab9a8b30 14:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:37:11 OK: 268 MiB in 56 packages 14:37:11 Removing intermediate container 469dab9a8b30 14:37:11 ---> a7acd6e4ed7d 14:37:11 Step 8/24 : WORKDIR /device-snmp-go 14:37:11 ---> Running in e5889660bd07 14:37:11 Removing intermediate container e5889660bd07 14:37:11 ---> f3ac7c732cda 14:37:11 Step 9/24 : COPY go.mod vendor* ./ 14:37:11 ---> 2e886e6ecb41 14:37:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:37:11 ---> Running in 39630a54de90 14:37:12 Removing intermediate container 39630a54de90 14:37:12 ---> 41b4d578676e 14:37:12 Step 11/24 : COPY . . 14:37:13 ---> 20efaf9f36c6 14:37:13 Step 12/24 : RUN ${MAKE} 14:37:13 ---> Running in 504d7b48a6dc 14:37:13 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.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 14:37:35 Removing intermediate container 504d7b48a6dc 14:37:35 ---> 0325c5219445 14:37:35 Step 13/24 : FROM alpine:3.18 14:37:35 3.18: Pulling from library/alpine 14:37:35 96526aa774ef: Pulling fs layer 14:37:35 96526aa774ef: Download complete 14:37:35 96526aa774ef: Pull complete 14:37:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:37:35 Status: Downloaded newer image for alpine:3.18 14:37:35 ---> 8ca4688f4f35 14:37:35 Step 14/24 : RUN apk add --update --no-cache dumb-init 14:37:35 ---> Running in 440dbe333b6a 14:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:37:35 (1/1) Installing dumb-init (1.2.5-r2) 14:37:35 Executing busybox-1.36.1-r2.trigger 14:37:35 OK: 7 MiB in 16 packages 14:37:35 Removing intermediate container 440dbe333b6a 14:37:35 ---> 78b3bf36f7c8 14:37:35 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 14:37:35 ---> 63e0cac34e47 14:37:35 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 14:37:35 ---> 2c5d17901693 14:37:35 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 14:37:35 ---> b490d0bf8ed1 14:37:35 Step 18/24 : EXPOSE 59993 14:37:35 ---> Running in 171a6ea92ea3 14:37:35 Removing intermediate container 171a6ea92ea3 14:37:35 ---> dceee2e0cbc1 14:37:35 Step 19/24 : EXPOSE 161 14:37:35 ---> Running in 6f8e1e70b7dd 14:37:35 Removing intermediate container 6f8e1e70b7dd 14:37:35 ---> 8611693dc734 14:37:35 Step 20/24 : ENTRYPOINT ["/device-snmp"] 14:37:35 ---> Running in a8093f998bc1 14:37:35 Removing intermediate container a8093f998bc1 14:37:35 ---> fe6c1a69f70b 14:37:35 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:37:35 ---> Running in b81010f2c7b8 14:37:35 Removing intermediate container b81010f2c7b8 14:37:35 ---> 1d529d2fb0e8 14:37:35 Step 22/24 : LABEL arch=amd64 14:37:35 ---> Running in 7e2b6d962bd8 14:37:35 Removing intermediate container 7e2b6d962bd8 14:37:35 ---> 8cc4f6ebfb4e 14:37:35 Step 23/24 : LABEL git_sha=e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa 14:37:35 ---> Running in f5973549911d 14:37:35 Removing intermediate container f5973549911d 14:37:35 ---> 2a92f0fa40b7 14:37:35 Step 24/24 : LABEL version=0.0.0 14:37:35 ---> Running in aaf65be5775a 14:37:35 Removing intermediate container aaf65be5775a 14:37:35 ---> 1dde1eb3e7f4 14:37:35 [Warning] One or more build-args [ARCH] were not consumed 14:37:35 Successfully built 1dde1eb3e7f4 14:37:35 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 14:37:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:36 14:37:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:36 latest: Pulling from edgex-lftools-log-publisher 14:37:36 5eb5b503b376: Pulling fs layer 14:37:36 5c69ac0246d0: Pulling fs layer 14:37:36 ec43610c2a17: Pulling fs layer 14:37:36 3a2ae6a8a46f: Pulling fs layer 14:37:36 33b1e0a273af: Pulling fs layer 14:37:36 5d3b04190fa2: Pulling fs layer 14:37:36 2f39f015ded8: Pulling fs layer 14:37:36 3a2ae6a8a46f: Waiting 14:37:36 33b1e0a273af: Waiting 14:37:36 5d3b04190fa2: Waiting 14:37:36 2f39f015ded8: Waiting 14:37:36 5c69ac0246d0: Download complete 14:37:36 3a2ae6a8a46f: Verifying Checksum 14:37:36 3a2ae6a8a46f: Download complete 14:37:36 33b1e0a273af: Verifying Checksum 14:37:36 33b1e0a273af: Download complete 14:37:36 5d3b04190fa2: Download complete 14:37:36 ec43610c2a17: Verifying Checksum 14:37:36 ec43610c2a17: Download complete 14:37:36 5eb5b503b376: Verifying Checksum 14:37:36 5eb5b503b376: Download complete 14:37:37 2f39f015ded8: Download complete 14:37:38 5eb5b503b376: Pull complete 14:37:38 5c69ac0246d0: Pull complete 14:37:38 ec43610c2a17: Pull complete 14:37:38 3a2ae6a8a46f: Pull complete 14:37:38 33b1e0a273af: Pull complete 14:37:38 5d3b04190fa2: Pull complete 14:37:43 2f39f015ded8: Pull complete 14:37:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:37:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:43 prd-ubuntu20.04-docker-8c-8g-9921 does not seem to be running inside a container 14:37:43 $ 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-322 -v /w/workspace/gexfoundry_device-snmp-go_PR-322:/w/workspace/gexfoundry_device-snmp-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:37:46 $ docker top 23ee9bee766827d18c948e068a036a63604bafff79fc07e59f6022aadd5055b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:37:47 ---> job-cost.sh 14:37:47 lf-activate-venv: SKIPPING 14:37:47 INFO: No Stack... 14:37:47 INFO: Retrieving Pricing Info for: v3-standard-8 14:37:47 INFO: Archiving Costs [Pipeline] sh 14:37:48 + cat /w/workspace/gexfoundry_device-snmp-go_PR-322/archives/cost.csv 14:37:48 + cut -d, -f6 [Pipeline] lock 14:37:48 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] 14:37:48 Resource [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] did not exist. Created. 14:37:48 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:37:48 + echo total: 0.2199999988079071 [Pipeline] stash 14:37:48 Stashed 1 file(s) [Pipeline] } 14:37:48 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:37:48 $ docker stop --time=1 23ee9bee766827d18c948e068a036a63604bafff79fc07e59f6022aadd5055b8 14:37:49 $ docker rm -f --volumes 23ee9bee766827d18c948e068a036a63604bafff79fc07e59f6022aadd5055b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:40:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9924 in /w/workspace/gexfoundry_device-snmp-go_PR-322 [Pipeline] { [Pipeline] ws 14:40:15 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 14:40:15 Selected Git installation does not exist. Using Default 14:40:15 The recommended git tool is: NONE 14:40:21 using credential edgex-jenkins-ssh 14:40:21 Cloning the remote Git repository 14:40:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 14:40:21 > git init /w/workspace/device-snmp-go/1 # timeout=10 14:40:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 14:40:21 > git --version # timeout=10 14:40:21 > git --version # 'git version 2.25.1' 14:40:21 using GIT_SSH to set credentials SSH Credentials for GitHub 14:40:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:40:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 14:40:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:40:24 Merging remotes/origin/main commit ab96bded2e0807d2a2691bb0f6e58e8413531895 into PR head commit e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa 14:40:25 Merge succeeded, producing e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa 14:40:25 Checking out Revision e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa (PR-322) 14:40:24 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 14:40:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 14:40:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:40:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:40:24 > git config core.sparsecheckout # timeout=10 14:40:25 > git checkout -f e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa # timeout=10 14:40:25 > git remote # timeout=10 14:40:25 > git config --get remote.origin.url # timeout=10 14:40:25 using GIT_SSH to set credentials SSH Credentials for GitHub 14:40:25 > git merge ab96bded2e0807d2a2691bb0f6e58e8413531895 # timeout=10 14:40:25 > git rev-parse HEAD^{commit} # timeout=10 14:40:25 > git config core.sparsecheckout # timeout=10 14:40:25 > git checkout -f e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa # timeout=10 14:40:28 Commit message: "feat!: Remove snap packaging" 14:40:28 > git --version # timeout=10 14:40:28 > git --version # 'git version 2.25.1' 14:40:28 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:40:30 % Total % Received % Xferd Average Speed Time Time Time Current 14:40:30 Dload Upload Total Spent Left Speed 14:40:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75449 [Pipeline] sh 14:40:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:40:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:40:31 + sudo tee /etc/docker/daemon.new 14:40:31 { 14:40:31 "registry-mirrors": [ 14:40:31 "https://nexus3.edgexfoundry.org:10001" 14:40:31 ], 14:40:31 "bip": "10.250.0.254/24", 14:40:31 "hosts": [ 14:40:31 "tcp://0.0.0.0:5555", 14:40:31 "unix:///var/run/docker.sock" 14:40:31 ], 14:40:31 "mtu": 1458, 14:40:31 "selinux-enabled": true, 14:40:31 "seccomp-profile": "/etc/docker/seccomp.json" 14:40:31 } [Pipeline] sh 14:40:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:40:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:40:50 provisioning config files... 14:40:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3779129979891888655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:40:50 ---> docker-login.sh 14:40:50 nexus3.edgexfoundry.org:10001 14:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:51 Configure a credential helper to remove this warning. See 14:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:51 14:40:51 Login Succeeded 14:40:51 nexus3.edgexfoundry.org:10002 14:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:52 Configure a credential helper to remove this warning. See 14:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:52 14:40:52 Login Succeeded 14:40:52 nexus3.edgexfoundry.org:10003 14:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:52 Configure a credential helper to remove this warning. See 14:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:52 14:40:52 Login Succeeded 14:40:52 nexus3.edgexfoundry.org:10004 14:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:52 Configure a credential helper to remove this warning. See 14:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:52 14:40:52 Login Succeeded 14:40:52 docker.io 14:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:53 Configure a credential helper to remove this warning. See 14:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:53 14:40:53 Login Succeeded 14:40:53 ---> docker-login.sh ends [Pipeline] } 14:40:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:40:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:40:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:40:54 ========================================================= 14:40:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:40:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:40:54 + 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 . 14:40:54 Sending build context to Docker daemon 2.944MB 14:40:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:40:54 Step 2/12 : FROM ${BASE} AS builder 14:40:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:40:55 9fda8d8052c6: Pulling fs layer 14:40:55 5d54e960e981: Pulling fs layer 14:40:55 c4a7e357bf2a: Pulling fs layer 14:40:55 f0e02332f6b5: Pulling fs layer 14:40:55 cefa15bbcfad: Pulling fs layer 14:40:55 17808c966233: Pulling fs layer 14:40:55 f4c1fc716caa: Pulling fs layer 14:40:55 f0e02332f6b5: Waiting 14:40:55 cefa15bbcfad: Waiting 14:40:55 17808c966233: Waiting 14:40:55 f4c1fc716caa: Waiting 14:40:55 5d54e960e981: Verifying Checksum 14:40:55 5d54e960e981: Download complete 14:40:55 f0e02332f6b5: Verifying Checksum 14:40:55 f0e02332f6b5: Download complete 14:40:55 cefa15bbcfad: Verifying Checksum 14:40:55 cefa15bbcfad: Download complete 14:40:55 9fda8d8052c6: Verifying Checksum 14:40:55 9fda8d8052c6: Download complete 14:40:55 f4c1fc716caa: Verifying Checksum 14:40:55 f4c1fc716caa: Download complete 14:40:56 9fda8d8052c6: Pull complete 14:40:56 5d54e960e981: Pull complete 14:40:57 c4a7e357bf2a: Verifying Checksum 14:40:57 c4a7e357bf2a: Download complete 14:40:58 17808c966233: Verifying Checksum 14:40:58 17808c966233: Download complete 14:41:13 c4a7e357bf2a: Pull complete 14:41:13 f0e02332f6b5: Pull complete 14:41:13 cefa15bbcfad: Pull complete 14:41:21 17808c966233: Pull complete 14:41:22 f4c1fc716caa: Pull complete 14:41:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 14:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:41:22 ---> ea914061e18c 14:41:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:41:25 ---> Running in 76eea8a07c3e 14:41:25 Removing intermediate container 76eea8a07c3e 14:41:25 ---> 58a415f8db8a 14:41:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:41:25 ---> Running in fdb17e42812c 14:41:25 Removing intermediate container fdb17e42812c 14:41:25 ---> 0c456057989c 14:41:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:41:25 ---> Running in a5c75a92e6b0 14:41:25 Removing intermediate container a5c75a92e6b0 14:41:25 ---> 44c872577cf7 14:41:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:41:25 ---> Running in d609a5e6ccf4 14:41:26 Removing intermediate container d609a5e6ccf4 14:41:26 ---> e147a74fcfce 14:41:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:41:26 ---> Running in dbba90485902 14:41:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:41:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:41:29 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:41:29 (2/4) Installing libedit (20221030.3.1-r1) 14:41:29 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:41:29 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:41:29 Executing busybox-1.36.1-r2.trigger 14:41:29 OK: 270 MiB in 56 packages 14:41:30 Removing intermediate container dbba90485902 14:41:30 ---> ac5f9dd7675d 14:41:30 Step 8/12 : WORKDIR /device-snmp-go 14:41:30 ---> Running in 572a70e35a9e 14:41:30 Removing intermediate container 572a70e35a9e 14:41:30 ---> 0acc6da95375 14:41:30 Step 9/12 : COPY go.mod vendor* ./ 14:41:30 ---> c2648a6dcc7b 14:41:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:41:30 ---> Running in 85addfd16ea3 14:43:07 Removing intermediate container 85addfd16ea3 14:43:07 ---> 72c8bea9e98c 14:43:07 Step 11/12 : COPY . . 14:43:07 ---> 56ae09db8eef 14:43:07 Step 12/12 : RUN ${MAKE} 14:43:07 ---> Running in d80fb0117b03 14:43:07 noop 14:43:07 Removing intermediate container d80fb0117b03 14:43:07 ---> 53ea3bf19665 14:43:07 Successfully built 53ea3bf19665 14:43:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:08 + docker inspect -f . ci-base-image-arm64 14:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:08 prd-ubuntu20.04-docker-arm64-4c-16g-9924 does not seem to be running inside a container 14:43:08 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:43:09 $ docker top 33b1a347d0a14224cfd43dd17ded04790a87622a0a971fd3d274517440e08464 -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:10 + go version 14:43:10 go version go1.21.0 linux/arm64 [Pipeline] } 14:43:10 $ docker stop --time=1 33b1a347d0a14224cfd43dd17ded04790a87622a0a971fd3d274517440e08464 14:43:12 $ docker rm -f --volumes 33b1a347d0a14224cfd43dd17ded04790a87622a0a971fd3d274517440e08464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:13 + docker inspect -f . ci-base-image-arm64 14:43:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:13 prd-ubuntu20.04-docker-arm64-4c-16g-9924 does not seem to be running inside a container 14:43:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:43:16 $ docker top d88de90561bd88534bdda15354d4a6bc607f4310bb199276fb750d178bf535dd -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:17 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 14:43:17 + make test 14:43:17 go test ./... -coverprofile=coverage.out 14:43:22 ? github.com/edgexfoundry/device-snmp-go [no test files] 14:45:02 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 14:45:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements 14:45:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:45:02 go vet ./... 14:45:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:45:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:45:17 ./bin/test-attribution-txt.sh [Pipeline] echo 14:45:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:45:17 $ docker stop --time=1 d88de90561bd88534bdda15354d4a6bc607f4310bb199276fb750d178bf535dd 14:45:19 $ docker rm -f --volumes d88de90561bd88534bdda15354d4a6bc607f4310bb199276fb750d178bf535dd [Pipeline] // withDockerContainer [Pipeline] sh 14:45:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:45:20 Warning: overwriting stash ‘coverage-report’ 14:45:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:45:22 + ls -al . 14:45:22 total 168 14:45:22 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 14:43 . 14:45:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:40 .. 14:45:22 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 14:40 .dockerignore 14:45:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:40 .git 14:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:40 .github 14:45:22 -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 14:40 .gitignore 14:45:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 14:40 .golangci.yml 14:45:22 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 14:40 Attribution.txt 14:45:22 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 14:40 CHANGELOG.md 14:45:22 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 14:40 Dockerfile 14:45:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 14:40 GOVERNANCE.md 14:45:22 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 14:40 Jenkinsfile 14:45:22 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 14:40 LICENSE 14:45:22 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 14:40 Makefile 14:45:22 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 14:40 OWNERS.md 14:45:22 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 14:40 README.md 14:45:22 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 14:35 VERSION 14:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:40 bin 14:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:40 cmd 14:45:22 -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 14:44 coverage.out 14:45:22 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 14:40 go.mod 14:45:22 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 14:40 go.sum 14:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:40 internal 14:45:22 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 14:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:22 + 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=e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa --label arch=arm64 --label version=0.0.0 . 14:45:22 Sending build context to Docker daemon 2.954MB 14:45:22 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 14:45:22 Step 2/24 : FROM ${BASE} AS builder 14:45:22 ---> 53ea3bf19665 14:45:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 14:45:23 ---> Running in b199be8abae7 14:45:23 Removing intermediate container b199be8abae7 14:45:23 ---> 64c4c4a41cb2 14:45:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:45:23 ---> Running in b2b7ba2fb9d9 14:45:23 Removing intermediate container b2b7ba2fb9d9 14:45:23 ---> 7c4661bd84ba 14:45:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:45:23 ---> Running in 8471e29aced5 14:45:24 Removing intermediate container 8471e29aced5 14:45:24 ---> 203827a52447 14:45:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 14:45:24 ---> Running in 6254ccd5067b 14:45:24 Removing intermediate container 6254ccd5067b 14:45:24 ---> 6814ee6d5bd4 14:45:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:45:24 ---> Running in 8df707f00a49 14:45:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:45:27 OK: 270 MiB in 56 packages 14:45:28 Removing intermediate container 8df707f00a49 14:45:28 ---> 3bda3a931493 14:45:28 Step 8/24 : WORKDIR /device-snmp-go 14:45:28 ---> Running in a89114f319c5 14:45:28 Removing intermediate container a89114f319c5 14:45:28 ---> 09c893c9b215 14:45:28 Step 9/24 : COPY go.mod vendor* ./ 14:45:29 ---> 7bf4a85c11ac 14:45:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:45:29 ---> Running in 151287c461c1 14:45:31 Removing intermediate container 151287c461c1 14:45:31 ---> 8948400fb581 14:45:31 Step 11/24 : COPY . . 14:45:32 ---> ce567efb2521 14:45:32 Step 12/24 : RUN ${MAKE} 14:45:32 ---> Running in 7d2ffc98e821 14:45:33 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.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 14:47:39 Removing intermediate container 7d2ffc98e821 14:47:39 ---> 4d6d0b838022 14:47:39 Step 13/24 : FROM alpine:3.18 14:47:39 3.18: Pulling from library/alpine 14:47:39 579b34f0a95b: Pulling fs layer 14:47:39 579b34f0a95b: Verifying Checksum 14:47:39 579b34f0a95b: Download complete 14:47:39 579b34f0a95b: Pull complete 14:47:39 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:47:39 Status: Downloaded newer image for alpine:3.18 14:47:39 ---> 3cc203321400 14:47:39 Step 14/24 : RUN apk add --update --no-cache dumb-init 14:47:39 ---> Running in 18378e82b426 14:47:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:47:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:47:39 (1/1) Installing dumb-init (1.2.5-r2) 14:47:39 Executing busybox-1.36.1-r2.trigger 14:47:39 OK: 8 MiB in 16 packages 14:47:39 Removing intermediate container 18378e82b426 14:47:39 ---> b8c2c47bdf73 14:47:39 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 14:47:39 ---> d2c57e7563f5 14:47:39 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 14:47:39 ---> 24019bb429a7 14:47:39 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 14:47:39 ---> bf7381cec29b 14:47:39 Step 18/24 : EXPOSE 59993 14:47:39 ---> Running in e19a12a7816c 14:47:39 Removing intermediate container e19a12a7816c 14:47:39 ---> 3bffb718328c 14:47:39 Step 19/24 : EXPOSE 161 14:47:39 ---> Running in 17e13e97d7db 14:47:39 Removing intermediate container 17e13e97d7db 14:47:39 ---> bea095c96f40 14:47:39 Step 20/24 : ENTRYPOINT ["/device-snmp"] 14:47:39 ---> Running in f9a550e383fb 14:47:39 Removing intermediate container f9a550e383fb 14:47:39 ---> 074f913b0c93 14:47:39 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:47:39 ---> Running in 2e9ab958f384 14:47:39 Removing intermediate container 2e9ab958f384 14:47:39 ---> 2058d2650889 14:47:39 Step 22/24 : LABEL arch=arm64 14:47:39 ---> Running in 25c3a20e3815 14:47:39 Removing intermediate container 25c3a20e3815 14:47:39 ---> 4445e21628cf 14:47:39 Step 23/24 : LABEL git_sha=e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa 14:47:39 ---> Running in b0b8f2ef4917 14:47:39 Removing intermediate container b0b8f2ef4917 14:47:39 ---> bba90f88ddae 14:47:39 Step 24/24 : LABEL version=0.0.0 14:47:39 ---> Running in 6d13440179bf 14:47:39 Removing intermediate container 6d13440179bf 14:47:39 ---> eafb2c6c13e7 14:47:39 [Warning] One or more build-args [ARCH] were not consumed 14:47:39 Successfully built eafb2c6c13e7 14:47:39 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 14:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:47:40 14:47:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:47:40 arm64: Pulling from edgex-lftools-log-publisher 14:47:40 8998bd30e6a1: Pulling fs layer 14:47:40 04944245beec: Pulling fs layer 14:47:40 699f458cf7ca: Pulling fs layer 14:47:40 765212b225bb: Pulling fs layer 14:47:40 f23df028b6ca: Pulling fs layer 14:47:40 d65c8cfc05b1: Pulling fs layer 14:47:40 2437ff75d9bd: Pulling fs layer 14:47:40 f23df028b6ca: Waiting 14:47:40 d65c8cfc05b1: Waiting 14:47:40 2437ff75d9bd: Waiting 14:47:41 04944245beec: Verifying Checksum 14:47:41 04944245beec: Download complete 14:47:41 765212b225bb: Verifying Checksum 14:47:41 765212b225bb: Download complete 14:47:41 f23df028b6ca: Verifying Checksum 14:47:41 f23df028b6ca: Download complete 14:47:41 d65c8cfc05b1: Verifying Checksum 14:47:41 d65c8cfc05b1: Download complete 14:47:41 699f458cf7ca: Verifying Checksum 14:47:41 699f458cf7ca: Download complete 14:47:41 8998bd30e6a1: Verifying Checksum 14:47:41 8998bd30e6a1: Download complete 14:47:44 2437ff75d9bd: Verifying Checksum 14:47:44 2437ff75d9bd: Download complete 14:47:46 8998bd30e6a1: Pull complete 14:47:46 04944245beec: Pull complete 14:47:48 699f458cf7ca: Pull complete 14:47:48 765212b225bb: Pull complete 14:47:49 f23df028b6ca: Pull complete 14:47:50 d65c8cfc05b1: Pull complete 14:48:08 2437ff75d9bd: Pull complete 14:48:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:48:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:08 prd-ubuntu20.04-docker-arm64-4c-16g-9924 does not seem to be running inside a container 14:48:08 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:48:11 $ docker top 36eaff7e244cb2c0b9243c243c6b6f6da5fa8f8841a79f0fe960ba2cdd41a0ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:48:12 ---> job-cost.sh 14:48:12 lf-activate-venv: SKIPPING 14:48:12 INFO: No Stack... 14:48:12 INFO: Retrieving Pricing Info for: v3-standard-4 14:48:13 INFO: Archiving Costs [Pipeline] sh 14:48:14 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 14:48:14 + cut -d, -f6 [Pipeline] lock 14:48:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] 14:48:14 Resource [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] did not exist. Created. 14:48:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:48:14 /w/workspace/device-snmp-go/1@tmp/durable-db6045c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:48:15 + echo total: 0.10999999940395355 [Pipeline] stash 14:48:15 Warning: overwriting stash ‘stack-cost’ 14:48:15 Stashed 1 file(s) [Pipeline] } 14:48:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:48:15 $ docker stop --time=1 36eaff7e244cb2c0b9243c243c6b6f6da5fa8f8841a79f0fe960ba2cdd41a0ba 14:48:20 $ docker rm -f --volumes 36eaff7e244cb2c0b9243c243c6b6f6da5fa8f8841a79f0fe960ba2cdd41a0ba [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 14:48:21 provisioning config files... 14:48:21 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/config11460425602544515224tmp [Pipeline] { [Pipeline] sh 14:48:21 + set +x 14:48:21 + curl -s https://codecov.io/bash 14:48:21 + bash -s -- 14:48:21 14:48:21 _____ _ 14:48:21 / ____| | | 14:48:21 | | ___ __| | ___ ___ _____ __ 14:48:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:48:21 | |___| (_) | (_| | __/ (_| (_) \ V / 14:48:21 \_____\___/ \__,_|\___|\___\___/ \_/ 14:48:21 Bash-1.0.6 14:48:21 14:48:21 14:48:21 ==> git version 2.25.1 found 14:48:21 ==> 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 14:48:21 Release-Date: 2020-01-08 14:48:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:48:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:48:21 ==> Jenkins CI detected. 14:48:21 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-322 14:48:21 project root: . 14:48:21 --> token set from env 14:48:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:48:21 ==> Running gcov in . (disable via -X gcov) 14:48:21 ==> Python coveragepy not found 14:48:21 ==> Searching for coverage reports in: 14:48:21 + . 14:48:21 -> Found 1 reports 14:48:21 ==> Detecting git/mercurial file structure 14:48:21 ==> Reading reports 14:48:22 + ./coverage.out bytes=8837 14:48:22 ==> Appending adjustments 14:48:22 https://docs.codecov.io/docs/fixing-reports 14:48:22 + Found adjustments 14:48:22 ==> Gzipping contents 14:48:22 4.0K /tmp/codecov.8YrDNY.gz 14:48:22 ==> Uploading reports 14:48:22 url: https://codecov.io 14:48:22 query: branch=PR-322&commit=e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=322&job=&cmd_args= 14:48:22 -> Pinging Codecov 14:48:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-322&commit=e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=322&job=&cmd_args= 14:48:22 -> Uploading to 14:48:22 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/6C56EA5C29638FB4528AC87E60AF5AE0/e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa/4ef0d01c-3a6a-4580-86f1-ba9e1598a93a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T144822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c0f4155b758e2a599559eb0989189232015e30727a99e9cd89c929245957390 14:48:22 % Total % Received % Xferd Average Speed Time Time Time Current 14:48:22 Dload Upload Total Spent Left Speed 14:48:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 6493 --:--:-- --:--:-- --:--:-- 6463 100 1435 0 0 100 1435 0 4799 --:--:-- --:--:-- --:--:-- 4783 14:48:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/e95d64c346c5ffe764b9aaa9fbf0baa744b0e4fa [Pipeline] } 14:48:22 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 14:48:24 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-322/archives ] 14:48:24 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-322/archives 14:48:24 total 16 14:48:24 drwxr-xr-x 3 root root 4096 Oct 24 14:37 . 14:48:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 14:37 .. 14:48:24 drwxr-xr-x 2 root root 4096 Oct 24 14:37 cost 14:48:24 -rw-r--r-- 1 root root 86 Oct 24 14:37 cost.csv 14:48:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-322/archives 14:48:24 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-322/archives 14:48:24 total 16 14:48:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 14:37 . 14:48:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 14:37 .. 14:48:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 14:37 cost 14:48:24 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 14:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:48:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:48:25 ---> package-listing.sh 14:48:25 ++ facter osfamily 14:48:25 ++ tr '[:upper:]' '[:lower:]' 14:48:25 + OS_FAMILY=debian 14:48:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-322 14:48:25 + START_PACKAGES=/tmp/packages_start.txt 14:48:25 + END_PACKAGES=/tmp/packages_end.txt 14:48:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:48:25 + PACKAGES=/tmp/packages_start.txt 14:48:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-322 ']' 14:48:25 + PACKAGES=/tmp/packages_end.txt 14:48:25 + case "${OS_FAMILY}" in 14:48:25 + dpkg -l 14:48:25 + grep '^ii' 14:48:25 + '[' -f /tmp/packages_start.txt ']' 14:48:25 + '[' -f /tmp/packages_end.txt ']' 14:48:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:48:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-322 ']' 14:48:25 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-322/archives/ 14:48:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-322/archives/ [Pipeline] echo 14:48:25 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-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:48:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:48:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:26 prd-ubuntu20.04-docker-8c-8g-9921 does not seem to be running inside a container 14:48:27 $ 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-322/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-322 -v /w/workspace/gexfoundry_device-snmp-go_PR-322:/w/workspace/gexfoundry_device-snmp-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:48:27 $ docker top 18286b9abacc24bb0eb206185a810705aa4bad39046b793bc034ebb3ac21f82d -eo pid,comm [Pipeline] { [Pipeline] sh 14:48:27 + touch /tmp/pre-build-complete [Pipeline] sh 14:48:27 + mkdir -p /var/log/sysstat [Pipeline] sh 14:48:28 + ls /var/log/sa-host 14:48:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:48:28 provisioning config files... 14:48:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-322@tmp/config15622992536879159005tmp [Pipeline] { [Pipeline] echo 14:48:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:48:28 ---> create-netrc.sh [Pipeline] } 14:48:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:48:29 ---> python-tools-install.sh [Pipeline] echo 14:48:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:48:29 ---> sudo-logs.sh 14:48:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:48:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:48:29 ---> job-cost.sh 14:48:29 lf-activate-venv: SKIPPING 14:48:29 DEBUG: total: 0.2199999988079071 14:48:29 INFO: Retrieving Stack Cost... 14:48:30 INFO: Retrieving Pricing Info for: v3-standard-8 14:48:30 INFO: Archiving Costs [Pipeline] echo 14:48:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:48:31 ---> logs-deploy.sh 14:48:31 lf-activate-venv: SKIPPING 14:48:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-322/1 14:48:31 INFO: archiving workspace using pattern(s): 14:48:31 Archives upload complete. 14:48:31 INFO: archiving logs to Nexus