Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d96222f651e8a4e4cb72048a498f637781793625+965f04e6862849b37eeb3a58b1f16c31f2ab2615 (463881620e29e0deda4be5e131fa88d5895d0bba) 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-ssh7797096277382347949.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17852890079503019639.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-264/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-264/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16495890271761626241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8783360201975570327.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-264/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-264/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18005905966716697879.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2460 in /w/workspace/gexfoundry_device-snmp-go_PR-264 [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-264 # 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/264/head:refs/remotes/origin/PR-264 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit d96222f651e8a4e4cb72048a498f637781793625 Merge succeeded, producing d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 Checking out Revision d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 (PR-264) > git config core.sparsecheckout # timeout=10 > git checkout -f d96222f651e8a4e4cb72048a498f637781793625 # 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 # timeout=10 Commit message: "Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD" > git rev-list --no-walk d96222f651e8a4e4cb72048a498f637781793625 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:26:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:26:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:26:32 ========================================================= 15:26:32 EdgeX Global Pipelines Version Info 15:26:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:26:32 ------------------- 15:26:32 stable info: 15:26:32 ------------------- 15:26:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:26:32 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:26:32 Message: update stable to v1.0.245 15:26:33 ------------------- 15:26:33 experimental info: 15:26:33 ------------------- 15:26:33 Commited By: **** collab-it+edgex@linuxfoundation.org 15:26:33 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:26:33 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:26:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-264 [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-264 [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-264 [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4bbd9e [Pipeline] echo 15:26:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:34 provisioning config files... 15:26:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/config17781499014620667747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:34 ---> docker-login.sh 15:26:34 nexus3.edgexfoundry.org:10001 15:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:34 Configure a credential helper to remove this warning. See 15:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:34 15:26:34 Login Succeeded 15:26:34 nexus3.edgexfoundry.org:10002 15:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:35 Configure a credential helper to remove this warning. See 15:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:35 15:26:35 Login Succeeded 15:26:35 nexus3.edgexfoundry.org:10003 15:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:35 Configure a credential helper to remove this warning. See 15:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:35 15:26:35 Login Succeeded 15:26:35 nexus3.edgexfoundry.org:10004 15:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:35 Configure a credential helper to remove this warning. See 15:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:35 15:26:35 Login Succeeded 15:26:35 docker.io 15:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:35 Configure a credential helper to remove this warning. See 15:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:35 15:26:35 Login Succeeded 15:26:35 ---> docker-login.sh ends [Pipeline] } 15:26:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:26:35 + git rev-list -1 --merges d4bbd9ed7eee375f230a7eeba6330239cf91ecb0~1..d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo 15:26:35 -----------> git rev-list -1 --merges d4bbd9ed7eee375f230a7eeba6330239cf91ecb0~1..d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 15:26:35 d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [false] [Pipeline] sh 15:26:36 + git log --format=format:%s -1 d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo 15:26:36 ========================================================= 15:26:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:26:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:36 + git log --format=format:%s -1 d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo 15:26:36 [semverPrep] GIT_COMMIT: d4bbd9ed7eee375f230a7eeba6330239cf91ecb0, Commit Message: Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD [Pipeline] echo 15:26:36 [semverPrep] This is not a build commit. [Pipeline] sh 15:26:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:36 + grep -v github /etc/ssh/ssh_known_hosts 15:26:36 + [ -e /tmp/ssh_known_hosts ] 15:26:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:26:36 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:26:36 sudo tee -a /etc/ssh/ssh_known_hosts 15:26:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:37 15:26:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:37 0.1.4: Pulling from edgex-devops/py-git-semver 15:26:37 b85a868b505f: Pulling fs layer 15:26:37 e2be974225ed: Pulling fs layer 15:26:37 339a4e72a1f5: Pulling fs layer 15:26:37 988bab9f4d93: Pulling fs layer 15:26:37 1469e6f7b9e6: Pulling fs layer 15:26:37 eaf3925da568: Pulling fs layer 15:26:37 bab4dde63d76: Pulling fs layer 15:26:37 bde34c3a00c8: Pulling fs layer 15:26:37 b352a97aabf1: Pulling fs layer 15:26:37 4872d77fe225: Pulling fs layer 15:26:37 5851b861e8e6: Pulling fs layer 15:26:37 bde34c3a00c8: Waiting 15:26:37 b352a97aabf1: Waiting 15:26:37 5851b861e8e6: Waiting 15:26:37 eaf3925da568: Waiting 15:26:37 bab4dde63d76: Waiting 15:26:37 4872d77fe225: Waiting 15:26:37 988bab9f4d93: Waiting 15:26:37 1469e6f7b9e6: Waiting 15:26:37 e2be974225ed: Verifying Checksum 15:26:37 e2be974225ed: Download complete 15:26:37 988bab9f4d93: Verifying Checksum 15:26:37 988bab9f4d93: Download complete 15:26:37 1469e6f7b9e6: Verifying Checksum 15:26:37 1469e6f7b9e6: Download complete 15:26:37 eaf3925da568: Verifying Checksum 15:26:37 eaf3925da568: Download complete 15:26:37 339a4e72a1f5: Verifying Checksum 15:26:37 339a4e72a1f5: Download complete 15:26:37 bde34c3a00c8: Verifying Checksum 15:26:37 bde34c3a00c8: Download complete 15:26:37 b352a97aabf1: Download complete 15:26:37 4872d77fe225: Verifying Checksum 15:26:37 4872d77fe225: Download complete 15:26:37 5851b861e8e6: Download complete 15:26:37 b85a868b505f: Verifying Checksum 15:26:37 b85a868b505f: Download complete 15:26:38 bab4dde63d76: Verifying Checksum 15:26:38 bab4dde63d76: Download complete 15:26:39 b85a868b505f: Pull complete 15:26:40 e2be974225ed: Pull complete 15:26:41 339a4e72a1f5: Pull complete 15:26:42 988bab9f4d93: Pull complete 15:26:42 1469e6f7b9e6: Pull complete 15:26:43 eaf3925da568: Pull complete 15:26:45 bab4dde63d76: Pull complete 15:26:45 bde34c3a00c8: Pull complete 15:26:45 b352a97aabf1: Pull complete 15:26:45 4872d77fe225: Pull complete 15:26:45 5851b861e8e6: Pull complete 15:26:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:45 prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container 15:26:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:26:48 $ docker top 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 -eo pid,comm 15:26:48 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). 15:26:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:48 [ssh-agent] Looking for ssh-agent implementation... 15:26:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:49 $ docker exec 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent 15:26:49 SSH_AUTH_SOCK=/tmp/ssh-TyAU3JXU7MNY/agent.32 15:26:49 SSH_AGENT_PID=38 15:26:49 Running ssh-add (command line suppressed) 15:26:49 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_7089042446133777737.key (/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_7089042446133777737.key) 15:26:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:49 + git tag --points-at HEAD [Pipeline] } 15:26:49 $ docker exec --env ******** --env ******** 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent -k 15:26:49 unset SSH_AUTH_SOCK; 15:26:49 unset SSH_AGENT_PID; 15:26:49 echo Agent pid 38 killed; 15:26:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:26:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:49 [ssh-agent] Looking for ssh-agent implementation... 15:26:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:49 $ docker exec 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent 15:26:49 SSH_AUTH_SOCK=/tmp/ssh-azrxas3YEON3/agent.70 15:26:49 SSH_AGENT_PID=76 15:26:49 Running ssh-add (command line suppressed) 15:26:50 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_3224069241302798723.key (/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_3224069241302798723.key) 15:26:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:50 + git semver init 15:26:50 2023-03-16 15:26:50,539 [run_init] DEBUG init version:0.0.0 force:False 15:26:50 2023-03-16 15:26:50,540 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver 15:26:50 2023-03-16 15:26:50,540 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-264/.semver 15:26:50 2023-03-16 15:26:50,541 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-264, universal_newlines=False, shell=None, istream=None) 15:26:51 2023-03-16 15:26:51,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-264/.git/info/exclude 15:26:51 2023-03-16 15:26:51,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver/PR-264 with force:False 15:26:51 2023-03-16 15:26:51,305 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver/PR-264 15:26:51 2023-03-16 15:26:51,310 [execute] INFO git cat-file --batch-check 15:26:51 2023-03-16 15:26:51,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver, universal_newlines=False, shell=None, istream=) 15:26:51 2023-03-16 15:26:51,317 [execute] INFO git cat-file --batch 15:26:51 2023-03-16 15:26:51,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver, universal_newlines=False, shell=None, istream=) 15:26:51 2023-03-16 15:26:51,322 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-264/.semver/PR-264 15:26:51 0.0.0 [Pipeline] } 15:26:51 $ docker exec --env ******** --env ******** 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent -k 15:26:51 unset SSH_AUTH_SOCK; 15:26:51 unset SSH_AGENT_PID; 15:26:51 echo Agent pid 76 killed; 15:26:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:51 + git semver [Pipeline] } 15:26:52 $ docker stop --time=1 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 15:26:53 $ docker rm -f --volumes 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:26:54 Stashed 1 file(s) [Pipeline] echo 15:26:54 [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 15:26:54 provisioning config files... 15:26:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/config17468321795163697058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:54 ---> docker-login.sh 15:26:54 nexus3.edgexfoundry.org:10001 15:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:54 Configure a credential helper to remove this warning. See 15:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:54 15:26:54 Login Succeeded 15:26:54 nexus3.edgexfoundry.org:10002 15:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:54 Configure a credential helper to remove this warning. See 15:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:54 15:26:54 Login Succeeded 15:26:54 nexus3.edgexfoundry.org:10003 15:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:54 Configure a credential helper to remove this warning. See 15:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:54 15:26:54 Login Succeeded 15:26:54 nexus3.edgexfoundry.org:10004 15:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:54 Configure a credential helper to remove this warning. See 15:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:54 15:26:54 Login Succeeded 15:26:54 docker.io 15:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:55 Configure a credential helper to remove this warning. See 15:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:55 15:26:55 Login Succeeded 15:26:55 ---> docker-login.sh ends [Pipeline] } 15:26:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:26:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:26:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:26:55 ========================================================= 15:26:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:26:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:26:55 Sending build context to Docker daemon 5.73MB 15:26:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:26:55 Step 2/12 : FROM ${BASE} AS builder 15:26:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:26:55 63b65145d645: Pulling fs layer 15:26:55 a2d21d5440eb: Pulling fs layer 15:26:55 935e6c44a52c: Pulling fs layer 15:26:55 94cc34f8dd06: Pulling fs layer 15:26:55 30dea6a524f1: Pulling fs layer 15:26:55 a2aff8979fd8: Pulling fs layer 15:26:55 6808be2612f2: Pulling fs layer 15:26:55 f25807f1079a: Pulling fs layer 15:26:55 30dea6a524f1: Waiting 15:26:55 94cc34f8dd06: Waiting 15:26:55 a2aff8979fd8: Waiting 15:26:55 f25807f1079a: Waiting 15:26:55 6808be2612f2: Waiting 15:26:55 a2d21d5440eb: Verifying Checksum 15:26:55 a2d21d5440eb: Download complete 15:26:55 94cc34f8dd06: Download complete 15:26:55 30dea6a524f1: Verifying Checksum 15:26:55 30dea6a524f1: Download complete 15:26:55 63b65145d645: Verifying Checksum 15:26:55 63b65145d645: Download complete 15:26:55 a2aff8979fd8: Verifying Checksum 15:26:55 a2aff8979fd8: Download complete 15:26:56 63b65145d645: Pull complete 15:26:56 a2d21d5440eb: Pull complete 15:26:56 f25807f1079a: Verifying Checksum 15:26:56 f25807f1079a: Download complete 15:26:56 935e6c44a52c: Verifying Checksum 15:26:56 935e6c44a52c: Download complete 15:26:56 6808be2612f2: Verifying Checksum 15:26:56 6808be2612f2: Download complete 15:27:00 935e6c44a52c: Pull complete 15:27:00 94cc34f8dd06: Pull complete 15:27:00 30dea6a524f1: Pull complete 15:27:00 a2aff8979fd8: Pull complete 15:27:03 6808be2612f2: Pull complete 15:27:03 f25807f1079a: Pull complete 15:27:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:27:04 ---> 3b553350e43f 15:27:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:27:09 Still waiting to schedule task 15:27:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:27:16 ---> Running in 22d6e4251f8a 15:27:16 Removing intermediate container 22d6e4251f8a 15:27:16 ---> 44ccb6562445 15:27:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:27:16 ---> Running in 2e53012f023d 15:27:16 Removing intermediate container 2e53012f023d 15:27:16 ---> 1f3b28fa6478 15:27:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:27:16 ---> Running in b05fc480def2 15:27:16 Removing intermediate container b05fc480def2 15:27:16 ---> acfa9f563ffd 15:27:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:27:16 ---> Running in 85771b561742 15:27:17 Removing intermediate container 85771b561742 15:27:17 ---> b37745c03889 15:27:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:27:17 ---> Running in 83f3e47a5708 15:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:27:18 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:27:18 (2/4) Installing libedit (20221030.3.1-r0) 15:27:18 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:27:18 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:27:18 Executing busybox-1.35.0-r29.trigger 15:27:18 OK: 269 MiB in 57 packages 15:27:19 Removing intermediate container 83f3e47a5708 15:27:19 ---> 9fff8ae27947 15:27:19 Step 8/12 : WORKDIR /device-snmp-go 15:27:19 ---> Running in c5d9e2a6777c 15:27:19 Removing intermediate container c5d9e2a6777c 15:27:19 ---> febea1685d55 15:27:19 Step 9/12 : COPY go.mod vendor* ./ 15:27:19 ---> 430b3680bce1 15:27:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:27:19 ---> Running in bfa535520fb1 15:27:51 Removing intermediate container bfa535520fb1 15:27:51 ---> acc8e310a6fe 15:27:51 Step 11/12 : COPY . . 15:27:51 ---> dd4b2e90f95f 15:27:51 Step 12/12 : RUN ${MAKE} 15:27:51 ---> Running in 5f0f6546d139 15:27:51 noop 15:27:51 Removing intermediate container 5f0f6546d139 15:27:51 ---> b505fd2c6dc3 15:27:51 Successfully built b505fd2c6dc3 15:27:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:51 + docker inspect -f . ci-base-image-x86_64 15:27:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:52 prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container 15:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@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 ******** ci-base-image-x86_64 cat 15:27:52 $ docker top e3c0014014e1024faf199b519a1cb1c314fd8da1f9b61b9c59130a48477365af -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:52 + go version 15:27:52 go version go1.20.2 linux/amd64 [Pipeline] } 15:27:52 $ docker stop --time=1 e3c0014014e1024faf199b519a1cb1c314fd8da1f9b61b9c59130a48477365af 15:27:54 $ docker rm -f --volumes e3c0014014e1024faf199b519a1cb1c314fd8da1f9b61b9c59130a48477365af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:54 + docker inspect -f . ci-base-image-x86_64 15:27:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:54 prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container 15:27:54 $ 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-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@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 ******** ci-base-image-x86_64 cat 15:27:55 $ docker top 645510e95f8d31462f34eb48ad1233047f1852d62c4f711ea4312deb4c33fb49 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-264 [Pipeline] fileExists [Pipeline] sh 15:27:56 + make test 15:27:56 go test ./... -coverprofile=coverage.out 15:28:01 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:28:09 # github.com/edgexfoundry/device-snmp-go/internal/driver 15:28:09 internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as string value in argument to strconv.ParseUint: need type assertion 15:28:09 internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as string value in argument to NewSNMPClient: need type assertion 15:28:12 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 15:28:12 FAIL 15:28:12 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 15:28:12 $ docker stop --time=1 645510e95f8d31462f34eb48ad1233047f1852d62c4f711ea4312deb4c33fb49 15:28:17 $ docker rm -f --volumes 645510e95f8d31462f34eb48ad1233047f1852d62c4f711ea4312deb4c33fb49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:28:18 15:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:28:18 latest: Pulling from edgex-lftools-log-publisher 15:28:18 5eb5b503b376: Pulling fs layer 15:28:18 5c69ac0246d0: Pulling fs layer 15:28:18 ec43610c2a17: Pulling fs layer 15:28:18 3a2ae6a8a46f: Pulling fs layer 15:28:18 33b1e0a273af: Pulling fs layer 15:28:18 5d3b04190fa2: Pulling fs layer 15:28:18 2f39f015ded8: Pulling fs layer 15:28:18 33b1e0a273af: Waiting 15:28:18 5d3b04190fa2: Waiting 15:28:18 2f39f015ded8: Waiting 15:28:18 3a2ae6a8a46f: Waiting 15:28:18 5c69ac0246d0: Download complete 15:28:18 3a2ae6a8a46f: Verifying Checksum 15:28:18 3a2ae6a8a46f: Download complete 15:28:18 33b1e0a273af: Verifying Checksum 15:28:18 33b1e0a273af: Download complete 15:28:18 5d3b04190fa2: Verifying Checksum 15:28:18 5d3b04190fa2: Download complete 15:28:18 ec43610c2a17: Verifying Checksum 15:28:18 ec43610c2a17: Download complete 15:28:19 5eb5b503b376: Verifying Checksum 15:28:19 5eb5b503b376: Download complete 15:28:19 2f39f015ded8: Download complete 15:28:20 5eb5b503b376: Pull complete 15:28:20 5c69ac0246d0: Pull complete 15:28:21 ec43610c2a17: Pull complete 15:28:21 3a2ae6a8a46f: Pull complete 15:28:21 33b1e0a273af: Pull complete 15:28:21 5d3b04190fa2: Pull complete 15:28:26 2f39f015ded8: Pull complete 15:28:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:28:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:28:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:26 prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container 15:28:26 $ 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-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@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 15:28:31 $ docker top 17689ed4d37fb193c9ee2d1a12f615af9d754a14c16af68982a457f149fa688f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:32 ---> job-cost.sh 15:28:32 lf-activate-venv: SKIPPING 15:28:32 INFO: No Stack... 15:28:32 INFO: Retrieving Pricing Info for: v3-standard-8 15:28:33 INFO: Archiving Costs [Pipeline] sh 15:28:33 + cat /w/workspace/gexfoundry_device-snmp-go_PR-264/archives/cost.csv 15:28:33 + cut -d, -f6 [Pipeline] lock 15:28:33 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] 15:28:33 Resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] did not exist. Created. 15:28:33 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:28:33 + echo total: 0.2199999988079071 [Pipeline] stash 15:28:33 Stashed 1 file(s) [Pipeline] } 15:28:33 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:28:33 $ docker stop --time=1 17689ed4d37fb193c9ee2d1a12f615af9d754a14c16af68982a457f149fa688f 15:28:34 $ docker rm -f --volumes 17689ed4d37fb193c9ee2d1a12f615af9d754a14c16af68982a457f149fa688f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:28:35 Failed in branch amd64 15:30:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2463 in /w/workspace/gexfoundry_device-snmp-go_PR-264 [Pipeline] { [Pipeline] ws 15:30:36 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 15:30:36 Selected Git installation does not exist. Using Default 15:30:36 The recommended git tool is: NONE 15:30:48 using credential edgex-jenkins-ssh 15:30:48 Cloning the remote Git repository 15:30:48 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:30:48 > git init /w/workspace/device-snmp-go/2 # timeout=10 15:30:48 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:30:48 > git --version # timeout=10 15:30:48 > git --version # 'git version 2.25.1' 15:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 15:30:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:30:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:30:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:30:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:30:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:30:52 using GIT_SSH to set credentials SSH Credentials for GitHub 15:30:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/264/head:refs/remotes/origin/PR-264 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:30:52 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit d96222f651e8a4e4cb72048a498f637781793625 15:30:53 Merge succeeded, producing 7f16c0a50a741a0710b6283eef1988f150b7a114 15:30:53 Checking out Revision 7f16c0a50a741a0710b6283eef1988f150b7a114 (PR-264) 15:30:52 > git config core.sparsecheckout # timeout=10 15:30:52 > git checkout -f d96222f651e8a4e4cb72048a498f637781793625 # timeout=10 15:30:52 > git remote # timeout=10 15:30:53 > git config --get remote.origin.url # timeout=10 15:30:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:30:53 > git merge 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 15:30:53 > git rev-parse HEAD^{commit} # timeout=10 15:30:53 > git config core.sparsecheckout # timeout=10 15:30:53 > git checkout -f 7f16c0a50a741a0710b6283eef1988f150b7a114 # timeout=10 15:30:56 Commit message: "Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD" 15:30:56 > git rev-list --no-walk d96222f651e8a4e4cb72048a498f637781793625 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:30:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:30:57 % Total % Received % Xferd Average Speed Time Time Time Current 15:30:57 Dload Upload Total Spent Left Speed 15:30:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 15:30:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:30:59 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 15:30:59 /etc/docker/daemon.json 15:30:59 { 15:30:59 "registry-mirrors": [ 15:30:59 "https://nexus3.edgexfoundry.org:10001" 15:30:59 ], 15:30:59 "bip": "10.250.0.254/24", 15:30:59 "hosts": [ 15:30:59 "tcp://0.0.0.0:5555", 15:30:59 "unix:///var/run/docker.sock" 15:30:59 ], 15:30:59 "mtu": 1458, 15:30:59 "selinux-enabled": true, 15:30:59 "seccomp-profile": "/etc/docker/seccomp.json" 15:30:59 } [Pipeline] sh 15:30:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:30:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:18 provisioning config files... 15:31:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config4346029424475802432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:18 ---> docker-login.sh 15:31:18 nexus3.edgexfoundry.org:10001 15:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:19 Configure a credential helper to remove this warning. See 15:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:19 15:31:19 Login Succeeded 15:31:19 nexus3.edgexfoundry.org:10002 15:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:19 Configure a credential helper to remove this warning. See 15:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:19 15:31:19 Login Succeeded 15:31:19 nexus3.edgexfoundry.org:10003 15:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:19 Configure a credential helper to remove this warning. See 15:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:19 15:31:19 Login Succeeded 15:31:19 nexus3.edgexfoundry.org:10004 15:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:20 Configure a credential helper to remove this warning. See 15:31:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:20 15:31:20 Login Succeeded 15:31:20 docker.io 15:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:21 Configure a credential helper to remove this warning. See 15:31:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:21 15:31:21 Login Succeeded 15:31:21 ---> docker-login.sh ends [Pipeline] } 15:31:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:31:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:21 ========================================================= 15:31:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:31:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:31:22 Sending build context to Docker daemon 2.966MB 15:31:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:31:22 Step 2/12 : FROM ${BASE} AS builder 15:31:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:31:22 af6eaf76a39c: Pulling fs layer 15:31:22 55522c791124: Pulling fs layer 15:31:22 ce5c4a1c91eb: Pulling fs layer 15:31:22 169dfbe0d373: Pulling fs layer 15:31:22 e1ff8fa3b103: Pulling fs layer 15:31:22 52ebb69f0ebf: Pulling fs layer 15:31:22 5abe8eddf0d5: Pulling fs layer 15:31:22 e1ff8fa3b103: Waiting 15:31:22 52ebb69f0ebf: Waiting 15:31:22 5abe8eddf0d5: Waiting 15:31:22 169dfbe0d373: Waiting 15:31:22 55522c791124: Verifying Checksum 15:31:22 55522c791124: Download complete 15:31:22 169dfbe0d373: Verifying Checksum 15:31:22 169dfbe0d373: Download complete 15:31:22 e1ff8fa3b103: Verifying Checksum 15:31:22 e1ff8fa3b103: Download complete 15:31:22 af6eaf76a39c: Verifying Checksum 15:31:23 af6eaf76a39c: Pull complete 15:31:24 55522c791124: Pull complete 15:31:24 5abe8eddf0d5: Verifying Checksum 15:31:24 5abe8eddf0d5: Download complete 15:31:25 ce5c4a1c91eb: Verifying Checksum 15:31:25 ce5c4a1c91eb: Download complete 15:31:25 52ebb69f0ebf: Verifying Checksum 15:31:25 52ebb69f0ebf: Download complete 15:31:37 ce5c4a1c91eb: Pull complete 15:31:37 169dfbe0d373: Pull complete 15:31:37 e1ff8fa3b103: Pull complete 15:31:43 52ebb69f0ebf: Pull complete 15:31:45 5abe8eddf0d5: Pull complete 15:31:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:31:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:31:45 ---> 6cb57ee374ae 15:31:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:31:46 ---> Running in 077a669262b4 15:31:47 Removing intermediate container 077a669262b4 15:31:47 ---> 07d9f5d3ecc9 15:31:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:31:47 ---> Running in 012aeaa10c20 15:31:47 Removing intermediate container 012aeaa10c20 15:31:47 ---> 24aefcd767eb 15:31:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:31:47 ---> Running in 977327a56fa8 15:31:47 Removing intermediate container 977327a56fa8 15:31:47 ---> e2ec5b7d5c43 15:31:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:31:47 ---> Running in 7b627a5464ac 15:31:48 Removing intermediate container 7b627a5464ac 15:31:48 ---> 51f6ea65f74b 15:31:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:31:48 ---> Running in 96e0baa91534 15:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:31:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:31:51 (2/4) Installing libedit (20221030.3.1-r0) 15:31:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:31:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:31:51 Executing busybox-1.35.0-r29.trigger 15:31:51 OK: 268 MiB in 57 packages 15:31:53 Removing intermediate container 96e0baa91534 15:31:53 ---> 47d86e70976e 15:31:53 Step 8/12 : WORKDIR /device-snmp-go 15:31:53 ---> Running in 93fa364ae358 15:31:53 Removing intermediate container 93fa364ae358 15:31:53 ---> c4d64c0aad4c 15:31:53 Step 9/12 : COPY go.mod vendor* ./ 15:31:54 ---> 169f53130508 15:31:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:31:54 ---> Running in 1f4e621eef32 15:33:01 Removing intermediate container 1f4e621eef32 15:33:01 ---> 8e8c66168146 15:33:01 Step 11/12 : COPY . . 15:33:01 ---> 9812f5b2c3c3 15:33:01 Step 12/12 : RUN ${MAKE} 15:33:01 ---> Running in b493a0db1fbc 15:33:01 noop 15:33:01 Removing intermediate container b493a0db1fbc 15:33:01 ---> 0401863728e1 15:33:01 Successfully built 0401863728e1 15:33:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:02 + docker inspect -f . ci-base-image-arm64 15:33:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:02 prd-ubuntu20.04-docker-arm64-4c-16g-2463 does not seem to be running inside a container 15:33:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:33:04 $ docker top d7d4c58c4e739be3c7cd4835b581db0da299256e853b7f62204bbf6aa2822518 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:04 + go version 15:33:04 go version go1.20.2 linux/arm64 [Pipeline] } 15:33:04 $ docker stop --time=1 d7d4c58c4e739be3c7cd4835b581db0da299256e853b7f62204bbf6aa2822518 15:33:06 $ docker rm -f --volumes d7d4c58c4e739be3c7cd4835b581db0da299256e853b7f62204bbf6aa2822518 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:07 + docker inspect -f . ci-base-image-arm64 15:33:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:07 prd-ubuntu20.04-docker-arm64-4c-16g-2463 does not seem to be running inside a container 15:33:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:33:08 $ docker top 51dfc5d76f48c53977fde619b6a90cc1fc13f52daba96695f2c5e45673fe47aa -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:09 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 15:33:10 + make test 15:33:10 go test ./... -coverprofile=coverage.out 15:33:48 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:35:10 # github.com/edgexfoundry/device-snmp-go/internal/driver 15:35:10 internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as string value in argument to strconv.ParseUint: need type assertion 15:35:10 internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as string value in argument to NewSNMPClient: need type assertion 15:35:42 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 15:35:42 FAIL 15:35:42 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 15:35:42 $ docker stop --time=1 51dfc5d76f48c53977fde619b6a90cc1fc13f52daba96695f2c5e45673fe47aa 15:35:45 $ docker rm -f --volumes 51dfc5d76f48c53977fde619b6a90cc1fc13f52daba96695f2c5e45673fe47aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:46 15:35:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:47 arm64: Pulling from edgex-lftools-log-publisher 15:35:47 8998bd30e6a1: Pulling fs layer 15:35:47 04944245beec: Pulling fs layer 15:35:47 699f458cf7ca: Pulling fs layer 15:35:47 765212b225bb: Pulling fs layer 15:35:47 f23df028b6ca: Pulling fs layer 15:35:47 d65c8cfc05b1: Pulling fs layer 15:35:47 2437ff75d9bd: Pulling fs layer 15:35:47 765212b225bb: Waiting 15:35:47 f23df028b6ca: Waiting 15:35:47 d65c8cfc05b1: Waiting 15:35:47 2437ff75d9bd: Waiting 15:35:47 04944245beec: Verifying Checksum 15:35:47 04944245beec: Download complete 15:35:47 765212b225bb: Verifying Checksum 15:35:47 765212b225bb: Download complete 15:35:47 f23df028b6ca: Verifying Checksum 15:35:47 f23df028b6ca: Download complete 15:35:47 d65c8cfc05b1: Verifying Checksum 15:35:47 d65c8cfc05b1: Download complete 15:35:47 699f458cf7ca: Verifying Checksum 15:35:47 699f458cf7ca: Download complete 15:35:48 8998bd30e6a1: Verifying Checksum 15:35:48 8998bd30e6a1: Download complete 15:35:50 2437ff75d9bd: Verifying Checksum 15:35:50 2437ff75d9bd: Download complete 15:35:51 8998bd30e6a1: Pull complete 15:35:52 04944245beec: Pull complete 15:35:53 699f458cf7ca: Pull complete 15:35:53 765212b225bb: Pull complete 15:35:54 f23df028b6ca: Pull complete 15:35:54 d65c8cfc05b1: Pull complete 15:36:06 2437ff75d9bd: Pull complete 15:36:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:36:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:07 prd-ubuntu20.04-docker-arm64-4c-16g-2463 does not seem to be running inside a container 15:36:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:36:10 $ docker top 12678cfcd71fa9d64458ec7afc9b52c5915b3efae4a761cd9f47dd7fc7b0ebbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:10 ---> job-cost.sh 15:36:10 lf-activate-venv: SKIPPING 15:36:10 INFO: No Stack... 15:36:11 INFO: Retrieving Pricing Info for: v3-standard-4 15:36:12 INFO: Archiving Costs [Pipeline] sh 15:36:12 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 15:36:12 + cut -d, -f6 [Pipeline] lock 15:36:12 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] 15:36:12 Resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] did not exist. Created. 15:36:12 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:36:13 /w/workspace/device-snmp-go/2@tmp/durable-130cbbb1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:36:14 + echo total: 0.10999999940395355 [Pipeline] stash 15:36:14 Warning: overwriting stash ‘stack-cost’ 15:36:14 Stashed 1 file(s) [Pipeline] } 15:36:14 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:36:14 $ docker stop --time=1 12678cfcd71fa9d64458ec7afc9b52c5915b3efae4a761cd9f47dd7fc7b0ebbe 15:36:16 $ docker rm -f --volumes 12678cfcd71fa9d64458ec7afc9b52c5915b3efae4a761cd9f47dd7fc7b0ebbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:36:16 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:36:17 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-264/archives ] 15:36:17 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-264/archives 15:36:17 total 16 15:36:17 drwxr-xr-x 3 root root 4096 Mar 16 15:28 . 15:36:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:28 .. 15:36:17 drwxr-xr-x 2 root root 4096 Mar 16 15:28 cost 15:36:17 -rw-r--r-- 1 root root 86 Mar 16 15:28 cost.csv 15:36:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-264/archives 15:36:17 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-264/archives 15:36:17 total 16 15:36:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:28 . 15:36:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:28 .. 15:36:17 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 15:28 cost 15:36:17 -rw-r--r-- 1 jenkins jenkins 86 Mar 16 15:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:36:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:36:18 ---> package-listing.sh 15:36:18 ++ tr '[:upper:]' '[:lower:]' 15:36:18 ++ facter osfamily 15:36:18 + OS_FAMILY=debian 15:36:18 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-264 15:36:18 + START_PACKAGES=/tmp/packages_start.txt 15:36:18 + END_PACKAGES=/tmp/packages_end.txt 15:36:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:36:18 + PACKAGES=/tmp/packages_start.txt 15:36:18 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-264 ']' 15:36:18 + PACKAGES=/tmp/packages_end.txt 15:36:18 + case "${OS_FAMILY}" in 15:36:18 + dpkg -l 15:36:18 + grep '^ii' 15:36:18 + '[' -f /tmp/packages_start.txt ']' 15:36:18 + '[' -f /tmp/packages_end.txt ']' 15:36:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:36:18 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-264 ']' 15:36:18 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-264/archives/ 15:36:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-264/archives/ [Pipeline] echo 15:36:18 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-264/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:36:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:36:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:19 prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container 15:36:19 $ 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-264/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-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:36:19 $ docker top f25d8abaa0da6928e1d9453a9be1e6a4e4f6fc1422e1c93c2e9b2042ad7c614b -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:20 + touch /tmp/pre-build-complete [Pipeline] sh 15:36:20 + mkdir -p /var/log/sysstat [Pipeline] sh 15:36:20 + ls /var/log/sa-host 15:36:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:20 provisioning config files... 15:36:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/config17031153898696604402tmp [Pipeline] { [Pipeline] echo 15:36:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:36:21 ---> create-netrc.sh [Pipeline] } 15:36:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:36:21 ---> python-tools-install.sh [Pipeline] echo 15:36:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:36:21 ---> sudo-logs.sh 15:36:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:36:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:36:22 ---> job-cost.sh 15:36:22 lf-activate-venv: SKIPPING 15:36:22 DEBUG: total: 0.2199999988079071 15:36:22 INFO: Retrieving Stack Cost... 15:36:22 INFO: Retrieving Pricing Info for: v3-standard-8 15:36:22 INFO: Archiving Costs [Pipeline] echo 15:36:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:36:23 ---> logs-deploy.sh 15:36:23 lf-activate-venv: SKIPPING 15:36:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-264/2 15:36:23 INFO: archiving workspace using pattern(s): 15:36:24 Archives upload complete. 15:36:24 INFO: archiving logs to Nexus