Pull request #257 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dee6d221a1024620d3128e62ba1e84c439d1cbe2+d33e94f3f1180f7604676314315f9cce542fcb85 (5d27fd25e4449935ba05a86235de44b979ac0efa) 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-ssh11951240685383963763.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4232292176741988183.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-257/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-257/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13930744610237061187.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-257/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2291926221778726769.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1456524016836130307.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-257/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-257/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5843898638685695459.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8957’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9341 in /w/workspace/gexfoundry_device-snmp-go_PR-257 [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-257 # 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 Merging remotes/origin/main commit d33e94f3f1180f7604676314315f9cce542fcb85 into PR head commit dee6d221a1024620d3128e62ba1e84c439d1cbe2 Merge succeeded, producing dee6d221a1024620d3128e62ba1e84c439d1cbe2 Checking out Revision dee6d221a1024620d3128e62ba1e84c439d1cbe2 (PR-257) > 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/257/head:refs/remotes/origin/PR-257 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dee6d221a1024620d3128e62ba1e84c439d1cbe2 # 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 d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dee6d221a1024620d3128e62ba1e84c439d1cbe2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T02:47:07.116Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T02:47:07.283Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T02:47:07.378Z] ========================================================= [2023-03-09T02:47:07.378Z] EdgeX Global Pipelines Version Info [2023-03-09T02:47:07.378Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:47:08.116Z] ------------------- [2023-03-09T02:47:08.116Z] stable info: [2023-03-09T02:47:08.116Z] ------------------- [2023-03-09T02:47:08.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T02:47:08.116Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:47:08.116Z] Message: update stable to v1.0.244 [2023-03-09T02:47:08.685Z] ------------------- [2023-03-09T02:47:08.685Z] experimental info: [2023-03-09T02:47:08.685Z] ------------------- [2023-03-09T02:47:08.686Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T02:47:08.686Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:47:08.686Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T02:47:08.955Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-09T02:47:09.000Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-09T02:47:09.045Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T02:47:09.097Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T02:47:09.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T02:47:09.179Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T02:47:09.214Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T02:47:09.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-09T02:47:09.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T02:47:09.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T02:47:09.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T02:47:09.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-09T02:47:09.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T02:47:09.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T02:47:09.541Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:47:09.578Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:47:09.617Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:47:09.666Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:47:09.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T02:47:09.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T02:47:09.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-09T02:47:09.845Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-09T02:47:09.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T02:47:09.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T02:47:09.979Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T02:47:10.032Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T02:47:10.081Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T02:47:10.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-257 [Pipeline] echo [2023-03-09T02:47:10.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-257 [Pipeline] echo [2023-03-09T02:47:10.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-257 [Pipeline] echo [2023-03-09T02:47:10.316Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dee6d221a1024620d3128e62ba1e84c439d1cbe2 [Pipeline] echo [2023-03-09T02:47:10.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dee6d22 [Pipeline] echo [2023-03-09T02:47:10.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:47:10.531Z] provisioning config files... [2023-03-09T02:47:10.548Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp/config5960526827951635045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:47:10.896Z] ---> docker-login.sh [2023-03-09T02:47:10.896Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:47:11.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:11.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:11.157Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:11.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:11.157Z] [2023-03-09T02:47:11.157Z] Login Succeeded [2023-03-09T02:47:11.157Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:47:11.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:11.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:11.418Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:11.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:11.418Z] [2023-03-09T02:47:11.418Z] Login Succeeded [2023-03-09T02:47:11.418Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:47:11.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:11.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:11.418Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:11.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:11.418Z] [2023-03-09T02:47:11.418Z] Login Succeeded [2023-03-09T02:47:11.418Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:47:11.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:11.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:11.680Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:11.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:11.680Z] [2023-03-09T02:47:11.680Z] Login Succeeded [2023-03-09T02:47:11.680Z] docker.io [2023-03-09T02:47:11.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:11.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:11.940Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:11.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:11.940Z] [2023-03-09T02:47:11.940Z] Login Succeeded [2023-03-09T02:47:11.940Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:47:11.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T02:47:12.582Z] + git rev-list -1 --merges dee6d221a1024620d3128e62ba1e84c439d1cbe2~1..dee6d221a1024620d3128e62ba1e84c439d1cbe2 [Pipeline] echo [2023-03-09T02:47:12.637Z] -----------> git rev-list -1 --merges dee6d221a1024620d3128e62ba1e84c439d1cbe2~1..dee6d221a1024620d3128e62ba1e84c439d1cbe2 dee6d221a1024620d3128e62ba1e84c439d1cbe2 [false] [Pipeline] sh [2023-03-09T02:47:12.940Z] + git log --format=format:%s -1 dee6d221a1024620d3128e62ba1e84c439d1cbe2 [Pipeline] echo [2023-03-09T02:47:12.976Z] ========================================================= [2023-03-09T02:47:12.976Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T02:47:12.976Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:47:13.407Z] + git log --format=format:%s -1 dee6d221a1024620d3128e62ba1e84c439d1cbe2 [Pipeline] echo [2023-03-09T02:47:13.438Z] [semverPrep] GIT_COMMIT: dee6d221a1024620d3128e62ba1e84c439d1cbe2, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-09T02:47:13.469Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T02:47:13.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T02:47:13.913Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T02:47:13.913Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T02:47:13.913Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T02:47:13.913Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T02:47:13.913Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T02:47:13.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:47:14.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:47:14.417Z] [2023-03-09T02:47:14.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:47:14.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:47:14.796Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T02:47:14.796Z] b85a868b505f: Pulling fs layer [2023-03-09T02:47:14.796Z] e2be974225ed: Pulling fs layer [2023-03-09T02:47:14.796Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T02:47:14.796Z] 988bab9f4d93: Pulling fs layer [2023-03-09T02:47:14.796Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T02:47:14.796Z] eaf3925da568: Pulling fs layer [2023-03-09T02:47:14.796Z] bab4dde63d76: Pulling fs layer [2023-03-09T02:47:14.796Z] bde34c3a00c8: Pulling fs layer [2023-03-09T02:47:14.796Z] b352a97aabf1: Pulling fs layer [2023-03-09T02:47:14.796Z] 4872d77fe225: Pulling fs layer [2023-03-09T02:47:14.796Z] 5851b861e8e6: Pulling fs layer [2023-03-09T02:47:14.796Z] bab4dde63d76: Waiting [2023-03-09T02:47:14.796Z] bde34c3a00c8: Waiting [2023-03-09T02:47:14.796Z] b352a97aabf1: Waiting [2023-03-09T02:47:14.796Z] 988bab9f4d93: Waiting [2023-03-09T02:47:14.796Z] eaf3925da568: Waiting [2023-03-09T02:47:14.796Z] 4872d77fe225: Waiting [2023-03-09T02:47:14.796Z] 5851b861e8e6: Waiting [2023-03-09T02:47:14.796Z] 1469e6f7b9e6: Waiting [2023-03-09T02:47:14.796Z] e2be974225ed: Download complete [2023-03-09T02:47:14.796Z] 988bab9f4d93: Verifying Checksum [2023-03-09T02:47:14.796Z] 988bab9f4d93: Download complete [2023-03-09T02:47:15.059Z] 339a4e72a1f5: Download complete [2023-03-09T02:47:15.059Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T02:47:15.059Z] 1469e6f7b9e6: Download complete [2023-03-09T02:47:15.059Z] eaf3925da568: Verifying Checksum [2023-03-09T02:47:15.059Z] eaf3925da568: Download complete [2023-03-09T02:47:15.059Z] bde34c3a00c8: Download complete [2023-03-09T02:47:15.059Z] b352a97aabf1: Download complete [2023-03-09T02:47:15.059Z] 4872d77fe225: Verifying Checksum [2023-03-09T02:47:15.059Z] 4872d77fe225: Download complete [2023-03-09T02:47:15.318Z] 5851b861e8e6: Verifying Checksum [2023-03-09T02:47:15.318Z] 5851b861e8e6: Download complete [2023-03-09T02:47:15.318Z] b85a868b505f: Download complete [2023-03-09T02:47:15.575Z] bab4dde63d76: Verifying Checksum [2023-03-09T02:47:15.575Z] bab4dde63d76: Download complete [2023-03-09T02:47:16.513Z] b85a868b505f: Pull complete [2023-03-09T02:47:16.513Z] e2be974225ed: Pull complete [2023-03-09T02:47:17.082Z] 339a4e72a1f5: Pull complete [2023-03-09T02:47:17.082Z] 988bab9f4d93: Pull complete [2023-03-09T02:47:17.341Z] 1469e6f7b9e6: Pull complete [2023-03-09T02:47:17.600Z] eaf3925da568: Pull complete [2023-03-09T02:47:19.512Z] bab4dde63d76: Pull complete [2023-03-09T02:47:19.512Z] bde34c3a00c8: Pull complete [2023-03-09T02:47:19.512Z] b352a97aabf1: Pull complete [2023-03-09T02:47:19.512Z] 4872d77fe225: Pull complete [2023-03-09T02:47:19.512Z] 5851b861e8e6: Pull complete [2023-03-09T02:47:19.771Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T02:47:19.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:47:19.772Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:47:19.995Z] prd-ubuntu20.04-docker-8c-8g-9341 does not seem to be running inside a container [2023-03-09T02:47:20.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-257 -v /w/workspace/gexfoundry_device-snmp-go_PR-257:/w/workspace/gexfoundry_device-snmp-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-09T02:47:22.770Z] $ docker top 78ddb04856c591f29000de437881104ed7d8dd9ef5c087e043612f264d34d463 -eo pid,comm [2023-03-09T02:47:22.826Z] 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). [2023-03-09T02:47:22.826Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T02:47:22.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:47:22.953Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:47:23.069Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:47:23.070Z] $ docker exec 78ddb04856c591f29000de437881104ed7d8dd9ef5c087e043612f264d34d463 ssh-agent [2023-03-09T02:47:23.188Z] SSH_AUTH_SOCK=/tmp/ssh-4b3aqtZ97yve/agent.32 [2023-03-09T02:47:23.188Z] SSH_AGENT_PID=38 [2023-03-09T02:47:23.196Z] Running ssh-add (command line suppressed) [2023-03-09T02:47:23.304Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-257@tmp/private_key_17065522777588766577.key (/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp/private_key_17065522777588766577.key) [2023-03-09T02:47:23.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:47:23.650Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T02:47:23.675Z] $ docker exec --env ******** --env ******** 78ddb04856c591f29000de437881104ed7d8dd9ef5c087e043612f264d34d463 ssh-agent -k [2023-03-09T02:47:23.778Z] unset SSH_AUTH_SOCK; [2023-03-09T02:47:23.779Z] unset SSH_AGENT_PID; [2023-03-09T02:47:23.779Z] echo Agent pid 38 killed; [2023-03-09T02:47:23.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T02:47:23.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:47:23.876Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:47:23.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:47:23.976Z] $ docker exec 78ddb04856c591f29000de437881104ed7d8dd9ef5c087e043612f264d34d463 ssh-agent [2023-03-09T02:47:24.080Z] SSH_AUTH_SOCK=/tmp/ssh-Vi8MdpNmUXtO/agent.70 [2023-03-09T02:47:24.080Z] SSH_AGENT_PID=76 [2023-03-09T02:47:24.085Z] Running ssh-add (command line suppressed) [2023-03-09T02:47:24.194Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-257@tmp/private_key_12369149920873185503.key (/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp/private_key_12369149920873185503.key) [2023-03-09T02:47:24.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:47:24.539Z] + git semver init [2023-03-09T02:47:24.801Z] 2023-03-09 02:47:24,744 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T02:47:24.801Z] 2023-03-09 02:47:24,745 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-257/.semver [2023-03-09T02:47:24.801Z] 2023-03-09 02:47:24,745 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-257/.semver [2023-03-09T02:47:24.801Z] 2023-03-09 02:47:24,746 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-257/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-257, universal_newlines=False, shell=None, istream=None) [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,524 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-257/.git/info/exclude [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-257/.semver/PR-257 with force:False [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,524 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-257/.semver/PR-257 [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,527 [execute] INFO git cat-file --batch-check [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-257/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,533 [execute] INFO git cat-file --batch [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-257/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T02:47:25.774Z] 2023-03-09 02:47:25,540 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-257/.semver/PR-257 [2023-03-09T02:47:25.774Z] 0.0.0 [Pipeline] } [2023-03-09T02:47:25.800Z] $ docker exec --env ******** --env ******** 78ddb04856c591f29000de437881104ed7d8dd9ef5c087e043612f264d34d463 ssh-agent -k [2023-03-09T02:47:25.896Z] unset SSH_AUTH_SOCK; [2023-03-09T02:47:25.896Z] unset SSH_AGENT_PID; [2023-03-09T02:47:25.897Z] echo Agent pid 76 killed; [2023-03-09T02:47:25.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T02:47:26.331Z] + git semver [Pipeline] } [2023-03-09T02:47:26.615Z] $ docker stop --time=1 78ddb04856c591f29000de437881104ed7d8dd9ef5c087e043612f264d34d463 [2023-03-09T02:47:27.920Z] $ docker rm -f --volumes 78ddb04856c591f29000de437881104ed7d8dd9ef5c087e043612f264d34d463 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:47:28.310Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T02:47:28.563Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T02:47:28.583Z] [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 [2023-03-09T02:47:29.165Z] provisioning config files... [2023-03-09T02:47:29.176Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp/config14464512557172608429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:47:29.527Z] ---> docker-login.sh [2023-03-09T02:47:29.527Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:47:29.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:29.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:29.527Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:29.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:29.527Z] [2023-03-09T02:47:29.527Z] Login Succeeded [2023-03-09T02:47:29.527Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:47:29.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:29.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:29.527Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:29.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:29.527Z] [2023-03-09T02:47:29.527Z] Login Succeeded [2023-03-09T02:47:29.527Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:47:29.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:29.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:29.785Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:29.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:29.785Z] [2023-03-09T02:47:29.785Z] Login Succeeded [2023-03-09T02:47:29.785Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:47:29.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:29.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:29.785Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:29.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:29.785Z] [2023-03-09T02:47:29.785Z] Login Succeeded [2023-03-09T02:47:29.785Z] docker.io [2023-03-09T02:47:29.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:47:30.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:47:30.044Z] Configure a credential helper to remove this warning. See [2023-03-09T02:47:30.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:47:30.044Z] [2023-03-09T02:47:30.044Z] Login Succeeded [2023-03-09T02:47:30.044Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:47:30.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:47:30.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:47:30.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:47:30.363Z] ========================================================= [2023-03-09T02:47:30.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T02:47:30.363Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:47:30.838Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T02:47:30.838Z] Sending build context to Docker daemon 5.701MB [2023-03-09T02:47:30.838Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:47:30.838Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:47:30.838Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T02:47:30.838Z] 213ec9aee27d: Pulling fs layer [2023-03-09T02:47:30.838Z] 4583459ba037: Pulling fs layer [2023-03-09T02:47:30.838Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T02:47:30.838Z] 53926ce57604: Pulling fs layer [2023-03-09T02:47:30.838Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T02:47:30.838Z] 22ff95d597cd: Pulling fs layer [2023-03-09T02:47:30.838Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T02:47:30.838Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T02:47:30.838Z] a7acece74701: Pulling fs layer [2023-03-09T02:47:30.838Z] 53926ce57604: Waiting [2023-03-09T02:47:30.838Z] 96b7cbca73a9: Waiting [2023-03-09T02:47:30.838Z] a7acece74701: Waiting [2023-03-09T02:47:30.838Z] 21b2b0c7a3f4: Waiting [2023-03-09T02:47:30.838Z] 22ff95d597cd: Waiting [2023-03-09T02:47:30.838Z] 12d6caf4c0d1: Waiting [2023-03-09T02:47:30.838Z] 93c1e223e6f2: Download complete [2023-03-09T02:47:30.838Z] 4583459ba037: Verifying Checksum [2023-03-09T02:47:30.838Z] 4583459ba037: Download complete [2023-03-09T02:47:30.838Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-09T02:47:30.838Z] 21b2b0c7a3f4: Download complete [2023-03-09T02:47:31.106Z] 22ff95d597cd: Verifying Checksum [2023-03-09T02:47:31.106Z] 22ff95d597cd: Download complete [2023-03-09T02:47:31.106Z] 213ec9aee27d: Verifying Checksum [2023-03-09T02:47:31.106Z] 213ec9aee27d: Download complete [2023-03-09T02:47:31.106Z] 12d6caf4c0d1: Verifying Checksum [2023-03-09T02:47:31.106Z] 12d6caf4c0d1: Download complete [2023-03-09T02:47:31.106Z] 213ec9aee27d: Pull complete [2023-03-09T02:47:31.370Z] 4583459ba037: Pull complete [2023-03-09T02:47:31.370Z] 93c1e223e6f2: Pull complete [2023-03-09T02:47:31.967Z] a7acece74701: Verifying Checksum [2023-03-09T02:47:31.967Z] a7acece74701: Download complete [2023-03-09T02:47:31.967Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T02:47:31.967Z] 96b7cbca73a9: Download complete [2023-03-09T02:47:31.967Z] 53926ce57604: Verifying Checksum [2023-03-09T02:47:31.967Z] 53926ce57604: Download complete [2023-03-09T02:47:36.175Z] 53926ce57604: Pull complete [2023-03-09T02:47:36.175Z] 21b2b0c7a3f4: Pull complete [2023-03-09T02:47:36.175Z] 22ff95d597cd: Pull complete [2023-03-09T02:47:36.175Z] 12d6caf4c0d1: Pull complete [2023-03-09T02:47:38.076Z] 96b7cbca73a9: Pull complete [2023-03-09T02:47:38.642Z] a7acece74701: Pull complete [2023-03-09T02:47:38.642Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T02:47:38.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T02:47:38.642Z] ---> db6d94c90886 [2023-03-09T02:47:38.642Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:47:43.121Z] ---> Running in ccd5771f2880 [2023-03-09T02:47:43.121Z] Removing intermediate container ccd5771f2880 [2023-03-09T02:47:43.121Z] ---> 1d445ee6cb06 [2023-03-09T02:47:43.121Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:47:43.121Z] ---> Running in 902937778f0a [2023-03-09T02:47:43.121Z] Removing intermediate container 902937778f0a [2023-03-09T02:47:43.121Z] ---> 71ef5b5fe99d [2023-03-09T02:47:43.121Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:47:43.121Z] ---> Running in a141e74f04da [2023-03-09T02:47:43.121Z] Removing intermediate container a141e74f04da [2023-03-09T02:47:43.121Z] ---> af0d7c513003 [2023-03-09T02:47:43.121Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:47:43.121Z] ---> Running in 76d962be6f5c [2023-03-09T02:47:43.121Z] Removing intermediate container 76d962be6f5c [2023-03-09T02:47:43.121Z] ---> df4a69cac8d8 [2023-03-09T02:47:43.121Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:47:43.121Z] ---> Running in 2d28541c2e60 [2023-03-09T02:47:43.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:47:43.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:47:43.637Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:47:43.637Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:47:43.637Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:47:43.637Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:47:43.637Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:47:43.637Z] OK: 216 MiB in 55 packages [2023-03-09T02:47:43.977Z] Still waiting to schedule task [2023-03-09T02:47:43.977Z] ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T02:47:43.977Z] ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T02:47:43.977Z] ‘prd-ubuntu20.04-docker-8c-8g-9234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T02:47:43.977Z] ‘prd-ubuntu20.04-docker-8c-8g-9235’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T02:47:43.977Z] ‘prd-ubuntu20.04-docker-8c-8g-9236’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T02:47:43.978Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9247’ is offline [2023-03-09T02:47:43.978Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9253’ is offline [2023-03-09T02:47:43.978Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9258’ is offline [2023-03-09T02:47:43.978Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9342’ is offline [2023-03-09T02:47:44.206Z] Removing intermediate container 2d28541c2e60 [2023-03-09T02:47:44.206Z] ---> 5ea431f91eb4 [2023-03-09T02:47:44.206Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-09T02:47:44.206Z] ---> Running in 1bf7b98af379 [2023-03-09T02:47:44.464Z] Removing intermediate container 1bf7b98af379 [2023-03-09T02:47:44.464Z] ---> aad5a0a077cd [2023-03-09T02:47:44.464Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:47:44.464Z] ---> d5ed74d0487f [2023-03-09T02:47:44.464Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:47:44.464Z] ---> Running in 2317b2d74288 [2023-03-09T02:48:16.547Z] Removing intermediate container 2317b2d74288 [2023-03-09T02:48:16.547Z] ---> 2dba24c4a65c [2023-03-09T02:48:16.547Z] Step 11/12 : COPY . . [2023-03-09T02:48:16.548Z] ---> 704d66ce566e [2023-03-09T02:48:16.548Z] Step 12/12 : RUN ${MAKE} [2023-03-09T02:48:16.548Z] ---> Running in 5e5033396600 [2023-03-09T02:48:16.548Z] noop [2023-03-09T02:48:16.548Z] Removing intermediate container 5e5033396600 [2023-03-09T02:48:16.548Z] ---> 5e338e546761 [2023-03-09T02:48:16.548Z] Successfully built 5e338e546761 [2023-03-09T02:48:16.548Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:48:16.967Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:48:16.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:48:17.123Z] prd-ubuntu20.04-docker-8c-8g-9341 does not seem to be running inside a container [2023-03-09T02:48:17.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-257 -v /w/workspace/gexfoundry_device-snmp-go_PR-257:/w/workspace/gexfoundry_device-snmp-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T02:48:17.483Z] $ docker top aef06cfd722944ec0316b7ddf09337f9c333bd5e769e58471f412baa7449a771 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:48:17.877Z] + go version [2023-03-09T02:48:17.877Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T02:48:17.908Z] $ docker stop --time=1 aef06cfd722944ec0316b7ddf09337f9c333bd5e769e58471f412baa7449a771 [2023-03-09T02:48:19.164Z] $ docker rm -f --volumes aef06cfd722944ec0316b7ddf09337f9c333bd5e769e58471f412baa7449a771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:48:19.855Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:48:19.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:48:20.010Z] prd-ubuntu20.04-docker-8c-8g-9341 does not seem to be running inside a container [2023-03-09T02:48:20.039Z] $ 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-257 -v /w/workspace/gexfoundry_device-snmp-go_PR-257:/w/workspace/gexfoundry_device-snmp-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T02:48:20.369Z] $ docker top ac8e2c8eca4710f37593bf8e68c3656cd28bcce24982a322336c3461651690aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:48:20.760Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-257 [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:48:21.125Z] + make test [2023-03-09T02:48:21.125Z] go test ./... -coverprofile=coverage.out [2023-03-09T02:48:21.382Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-09T02:48:26.639Z] # github.com/edgexfoundry/device-snmp-go/internal/driver [2023-03-09T02:48:26.639Z] internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as type string in argument to strconv.ParseUint: [2023-03-09T02:48:26.639Z] need type assertion [2023-03-09T02:48:26.639Z] internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as type string in argument to NewSNMPClient: [2023-03-09T02:48:26.639Z] need type assertion [2023-03-09T02:48:29.919Z] FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] [2023-03-09T02:48:29.919Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-09T02:48:29.958Z] $ docker stop --time=1 ac8e2c8eca4710f37593bf8e68c3656cd28bcce24982a322336c3461651690aa [2023-03-09T02:48:32.074Z] $ docker rm -f --volumes ac8e2c8eca4710f37593bf8e68c3656cd28bcce24982a322336c3461651690aa [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 [2023-03-09T02:48:33.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:48:33.203Z] [2023-03-09T02:48:33.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:48:33.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:48:33.583Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T02:48:33.583Z] 5eb5b503b376: Pulling fs layer [2023-03-09T02:48:33.583Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T02:48:33.583Z] ec43610c2a17: Pulling fs layer [2023-03-09T02:48:33.583Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T02:48:33.583Z] 33b1e0a273af: Pulling fs layer [2023-03-09T02:48:33.583Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T02:48:33.583Z] 2f39f015ded8: Pulling fs layer [2023-03-09T02:48:33.583Z] 3a2ae6a8a46f: Waiting [2023-03-09T02:48:33.583Z] 5d3b04190fa2: Waiting [2023-03-09T02:48:33.583Z] 33b1e0a273af: Waiting [2023-03-09T02:48:33.583Z] 5c69ac0246d0: Verifying Checksum [2023-03-09T02:48:33.583Z] 5c69ac0246d0: Download complete [2023-03-09T02:48:33.583Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-09T02:48:33.583Z] 3a2ae6a8a46f: Download complete [2023-03-09T02:48:33.843Z] 33b1e0a273af: Verifying Checksum [2023-03-09T02:48:33.843Z] 33b1e0a273af: Download complete [2023-03-09T02:48:33.843Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T02:48:33.843Z] 5d3b04190fa2: Download complete [2023-03-09T02:48:34.103Z] ec43610c2a17: Verifying Checksum [2023-03-09T02:48:34.103Z] ec43610c2a17: Download complete [2023-03-09T02:48:34.103Z] 5eb5b503b376: Verifying Checksum [2023-03-09T02:48:34.103Z] 5eb5b503b376: Download complete [2023-03-09T02:48:34.670Z] 2f39f015ded8: Download complete [2023-03-09T02:48:35.235Z] 5eb5b503b376: Pull complete [2023-03-09T02:48:35.500Z] 5c69ac0246d0: Pull complete [2023-03-09T02:48:35.759Z] ec43610c2a17: Pull complete [2023-03-09T02:48:35.759Z] 3a2ae6a8a46f: Pull complete [2023-03-09T02:48:36.017Z] 33b1e0a273af: Pull complete [2023-03-09T02:48:36.274Z] 5d3b04190fa2: Pull complete [2023-03-09T02:48:40.454Z] 2f39f015ded8: Pull complete [2023-03-09T02:48:40.454Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T02:48:40.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:48:40.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:48:40.706Z] prd-ubuntu20.04-docker-8c-8g-9341 does not seem to be running inside a container [2023-03-09T02:48:40.760Z] $ 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-257 -v /w/workspace/gexfoundry_device-snmp-go_PR-257:/w/workspace/gexfoundry_device-snmp-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-257@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 [2023-03-09T02:48:44.366Z] $ docker top 986629892da154a002cf4b237f9cf57c168ada9e601924c0efe0d7bee0e6bb5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:48:44.830Z] ---> job-cost.sh [2023-03-09T02:48:44.830Z] lf-activate-venv: SKIPPING [2023-03-09T02:48:44.830Z] INFO: No Stack... [2023-03-09T02:48:45.401Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T02:48:45.979Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T02:48:46.288Z] + + cutcat -d, /w/workspace/gexfoundry_device-snmp-go_PR-257/archives/cost.csv -f6 [2023-03-09T02:48:46.288Z] [Pipeline] lock [2023-03-09T02:48:46.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] [2023-03-09T02:48:46.337Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] did not exist. Created. [2023-03-09T02:48:46.337Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T02:48:46.717Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T02:48:46.772Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T02:48:46.789Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T02:48:46.913Z] $ docker stop --time=1 986629892da154a002cf4b237f9cf57c168ada9e601924c0efe0d7bee0e6bb5d [2023-03-09T02:48:48.073Z] $ docker rm -f --volumes 986629892da154a002cf4b237f9cf57c168ada9e601924c0efe0d7bee0e6bb5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T02:48:48.429Z] Failed in branch amd64 [2023-03-09T02:49:04.609Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9347 in /w/workspace/gexfoundry_device-snmp-go_PR-257 [Pipeline] { [Pipeline] ws [2023-03-09T02:49:04.668Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-03-09T02:49:04.752Z] Selected Git installation does not exist. Using Default [2023-03-09T02:49:04.752Z] The recommended git tool is: NONE [2023-03-09T02:49:10.677Z] using credential edgex-jenkins-ssh [2023-03-09T02:49:10.694Z] Cloning the remote Git repository [2023-03-09T02:49:10.746Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-09T02:49:10.830Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-03-09T02:49:11.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-09T02:49:11.009Z] > git --version # timeout=10 [2023-03-09T02:49:11.032Z] > git --version # 'git version 2.25.1' [2023-03-09T02:49:11.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:49:11.103Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:49:12.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-09T02:49:12.172Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:49:13.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-09T02:49:13.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-09T02:49:13.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:49:13.204Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/257/head:refs/remotes/origin/PR-257 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-09T02:49:13.741Z] Merging remotes/origin/main commit d33e94f3f1180f7604676314315f9cce542fcb85 into PR head commit dee6d221a1024620d3128e62ba1e84c439d1cbe2 [2023-03-09T02:49:14.022Z] Merge succeeded, producing dee6d221a1024620d3128e62ba1e84c439d1cbe2 [2023-03-09T02:49:14.022Z] Checking out Revision dee6d221a1024620d3128e62ba1e84c439d1cbe2 (PR-257) [2023-03-09T02:49:14.622Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-09T02:49:14.679Z] > git --version # timeout=10 [2023-03-09T02:49:14.693Z] > git --version # 'git version 2.25.1' [2023-03-09T02:49:14.714Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:49:13.766Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T02:49:13.793Z] > git checkout -f dee6d221a1024620d3128e62ba1e84c439d1cbe2 # timeout=10 [2023-03-09T02:49:13.893Z] > git remote # timeout=10 [2023-03-09T02:49:13.918Z] > git config --get remote.origin.url # timeout=10 [2023-03-09T02:49:13.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:49:13.967Z] > git merge d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 [2023-03-09T02:49:14.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-09T02:49:14.031Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T02:49:14.057Z] > git checkout -f dee6d221a1024620d3128e62ba1e84c439d1cbe2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:49:15.768Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T02:49:15.768Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T02:49:15.768Z] Dload Upload Total Spent Left Speed [2023-03-09T02:49:15.768Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-03-09T02:49:16.404Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T02:49:16.776Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T02:49:16.776Z] + sudo tee /etc/docker/daemon.new [2023-03-09T02:49:16.776Z] { [2023-03-09T02:49:16.776Z] "registry-mirrors": [ [2023-03-09T02:49:16.776Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T02:49:16.776Z] ], [2023-03-09T02:49:16.776Z] "bip": "10.250.0.254/24", [2023-03-09T02:49:16.776Z] "hosts": [ [2023-03-09T02:49:16.776Z] "tcp://0.0.0.0:5555", [2023-03-09T02:49:16.776Z] "unix:///var/run/docker.sock" [2023-03-09T02:49:16.776Z] ], [2023-03-09T02:49:16.776Z] "mtu": 1458, [2023-03-09T02:49:16.776Z] "selinux-enabled": true, [2023-03-09T02:49:16.776Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T02:49:16.776Z] } [Pipeline] sh [2023-03-09T02:49:17.128Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T02:49:17.494Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:49:36.037Z] provisioning config files... [2023-03-09T02:49:36.071Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4281210632568342469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:49:36.477Z] ---> docker-login.sh [2023-03-09T02:49:36.477Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:49:37.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:37.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:37.072Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:37.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:37.072Z] [2023-03-09T02:49:37.072Z] Login Succeeded [2023-03-09T02:49:37.072Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:49:37.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:37.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:37.619Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:37.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:37.619Z] [2023-03-09T02:49:37.619Z] Login Succeeded [2023-03-09T02:49:37.619Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:49:37.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:37.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:37.889Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:37.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:37.889Z] [2023-03-09T02:49:37.889Z] Login Succeeded [2023-03-09T02:49:37.889Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:49:38.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:38.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:38.435Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:38.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:38.435Z] [2023-03-09T02:49:38.435Z] Login Succeeded [2023-03-09T02:49:38.435Z] docker.io [2023-03-09T02:49:38.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:38.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:38.978Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:38.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:38.978Z] [2023-03-09T02:49:38.978Z] Login Succeeded [2023-03-09T02:49:38.978Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:49:39.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:49:39.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:49:39.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:49:39.534Z] ========================================================= [2023-03-09T02:49:39.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T02:49:39.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:40.049Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T02:49:40.411Z] Sending build context to Docker daemon 2.95MB [2023-03-09T02:49:40.411Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:49:40.411Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:49:40.702Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T02:49:40.702Z] 9b18e9b68314: Pulling fs layer [2023-03-09T02:49:40.702Z] 35d82f9e3411: Pulling fs layer [2023-03-09T02:49:40.702Z] e16973657156: Pulling fs layer [2023-03-09T02:49:40.702Z] fc693d55d65f: Pulling fs layer [2023-03-09T02:49:40.702Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T02:49:40.702Z] dda99020689f: Pulling fs layer [2023-03-09T02:49:40.702Z] fc693d55d65f: Waiting [2023-03-09T02:49:40.702Z] db1c61fa0a46: Pulling fs layer [2023-03-09T02:49:40.702Z] 891c053d2c06: Pulling fs layer [2023-03-09T02:49:40.702Z] 7e9fc2657dce: Waiting [2023-03-09T02:49:40.702Z] db1c61fa0a46: Waiting [2023-03-09T02:49:40.702Z] dda99020689f: Waiting [2023-03-09T02:49:40.702Z] 891c053d2c06: Waiting [2023-03-09T02:49:40.702Z] e16973657156: Verifying Checksum [2023-03-09T02:49:40.702Z] 35d82f9e3411: Verifying Checksum [2023-03-09T02:49:40.702Z] 35d82f9e3411: Download complete [2023-03-09T02:49:40.702Z] 7e9fc2657dce: Download complete [2023-03-09T02:49:40.702Z] dda99020689f: Verifying Checksum [2023-03-09T02:49:40.702Z] dda99020689f: Download complete [2023-03-09T02:49:40.702Z] 9b18e9b68314: Verifying Checksum [2023-03-09T02:49:40.702Z] 9b18e9b68314: Download complete [2023-03-09T02:49:42.707Z] 891c053d2c06: Verifying Checksum [2023-03-09T02:49:42.707Z] 891c053d2c06: Download complete [2023-03-09T02:49:43.697Z] db1c61fa0a46: Verifying Checksum [2023-03-09T02:49:43.697Z] db1c61fa0a46: Download complete [2023-03-09T02:49:43.970Z] 9b18e9b68314: Pull complete [2023-03-09T02:49:44.304Z] fc693d55d65f: Verifying Checksum [2023-03-09T02:49:44.304Z] fc693d55d65f: Download complete [2023-03-09T02:49:44.304Z] 35d82f9e3411: Pull complete [2023-03-09T02:49:44.607Z] e16973657156: Pull complete [2023-03-09T02:49:59.664Z] fc693d55d65f: Pull complete [2023-03-09T02:49:59.664Z] 7e9fc2657dce: Pull complete [2023-03-09T02:49:59.664Z] dda99020689f: Pull complete [2023-03-09T02:50:03.938Z] db1c61fa0a46: Pull complete [2023-03-09T02:50:05.893Z] 891c053d2c06: Pull complete [2023-03-09T02:50:05.893Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T02:50:05.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T02:50:05.893Z] ---> f96f9c87975a [2023-03-09T02:50:05.893Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:50:07.852Z] ---> Running in b91833dfb0c5 [2023-03-09T02:50:08.125Z] Removing intermediate container b91833dfb0c5 [2023-03-09T02:50:08.125Z] ---> b56a7b9529e8 [2023-03-09T02:50:08.125Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:50:08.394Z] ---> Running in dbb305ef7e22 [2023-03-09T02:50:08.663Z] Removing intermediate container dbb305ef7e22 [2023-03-09T02:50:08.663Z] ---> 48314ff0c92b [2023-03-09T02:50:08.663Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:50:08.663Z] ---> Running in d2e267ae0c46 [2023-03-09T02:50:08.940Z] Removing intermediate container d2e267ae0c46 [2023-03-09T02:50:08.940Z] ---> fbb3548d9340 [2023-03-09T02:50:08.940Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:50:09.210Z] ---> Running in b557cca19de4 [2023-03-09T02:50:09.481Z] Removing intermediate container b557cca19de4 [2023-03-09T02:50:09.481Z] ---> b38445a82b1f [2023-03-09T02:50:09.481Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:50:09.481Z] ---> Running in 44c6d8c2a1dc [2023-03-09T02:50:10.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T02:50:11.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T02:50:12.147Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:50:12.148Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:50:12.148Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:50:12.148Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:50:12.148Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:50:12.420Z] OK: 226 MiB in 55 packages [2023-03-09T02:50:13.394Z] Removing intermediate container 44c6d8c2a1dc [2023-03-09T02:50:13.394Z] ---> 8799335f5b82 [2023-03-09T02:50:13.394Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-09T02:50:13.394Z] ---> Running in 55b036f6cc27 [2023-03-09T02:50:13.982Z] Removing intermediate container 55b036f6cc27 [2023-03-09T02:50:13.982Z] ---> e20c38a27dfe [2023-03-09T02:50:13.982Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:50:14.252Z] ---> d1963d2f3b57 [2023-03-09T02:50:14.252Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:50:14.524Z] ---> Running in 1abad6007675 [2023-03-09T02:51:22.461Z] Removing intermediate container 1abad6007675 [2023-03-09T02:51:22.461Z] ---> bba3323282ec [2023-03-09T02:51:22.734Z] Step 11/12 : COPY . . [2023-03-09T02:51:23.711Z] ---> 6a0bcdd22460 [2023-03-09T02:51:23.711Z] Step 12/12 : RUN ${MAKE} [2023-03-09T02:51:23.711Z] ---> Running in 508384e0c559 [2023-03-09T02:51:24.683Z] noop [2023-03-09T02:51:25.654Z] Removing intermediate container 508384e0c559 [2023-03-09T02:51:25.654Z] ---> 77586c27ad73 [2023-03-09T02:51:25.654Z] Successfully built 77586c27ad73 [2023-03-09T02:51:25.654Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:51:26.131Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:51:26.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:51:26.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-9347 does not seem to be running inside a container [2023-03-09T02:51:26.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T02:51:28.547Z] $ docker top 132e6699546a0b0a331bd22f406ef11b91fa94162267208e7c59a9b5ea4be065 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:51:29.452Z] + go version [2023-03-09T02:51:29.452Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T02:51:29.491Z] $ docker stop --time=1 132e6699546a0b0a331bd22f406ef11b91fa94162267208e7c59a9b5ea4be065 [2023-03-09T02:51:31.151Z] $ docker rm -f --volumes 132e6699546a0b0a331bd22f406ef11b91fa94162267208e7c59a9b5ea4be065 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:51:32.041Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:51:32.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:51:32.305Z] prd-ubuntu20.04-docker-arm64-4c-16g-9347 does not seem to be running inside a container [2023-03-09T02:51:32.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T02:51:33.675Z] $ docker top 2a6c4da913e6619b81a2a173e58b3c887e19efb53c607617ff31612af2c7c484 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:51:34.573Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:51:35.297Z] + make test [2023-03-09T02:51:35.298Z] go test ./... -coverprofile=coverage.out [2023-03-09T02:51:36.712Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-09T02:52:44.614Z] # github.com/edgexfoundry/device-snmp-go/internal/driver [2023-03-09T02:52:44.614Z] internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as type string in argument to strconv.ParseUint: [2023-03-09T02:52:44.614Z] need type assertion [2023-03-09T02:52:44.614Z] internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as type string in argument to NewSNMPClient: [2023-03-09T02:52:44.614Z] need type assertion [2023-03-09T02:53:11.352Z] FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] [2023-03-09T02:53:11.352Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-09T02:53:11.403Z] $ docker stop --time=1 2a6c4da913e6619b81a2a173e58b3c887e19efb53c607617ff31612af2c7c484 [2023-03-09T02:53:13.330Z] $ docker rm -f --volumes 2a6c4da913e6619b81a2a173e58b3c887e19efb53c607617ff31612af2c7c484 [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 [2023-03-09T02:53:14.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:53:14.937Z] [2023-03-09T02:53:14.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:53:15.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:53:15.360Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T02:53:15.360Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T02:53:15.360Z] 04944245beec: Pulling fs layer [2023-03-09T02:53:15.360Z] 699f458cf7ca: Pulling fs layer [2023-03-09T02:53:15.360Z] 765212b225bb: Pulling fs layer [2023-03-09T02:53:15.360Z] f23df028b6ca: Pulling fs layer [2023-03-09T02:53:15.360Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T02:53:15.360Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T02:53:15.360Z] 765212b225bb: Waiting [2023-03-09T02:53:15.360Z] f23df028b6ca: Waiting [2023-03-09T02:53:15.360Z] 2437ff75d9bd: Waiting [2023-03-09T02:53:15.360Z] d65c8cfc05b1: Waiting [2023-03-09T02:53:15.630Z] 04944245beec: Verifying Checksum [2023-03-09T02:53:15.630Z] 04944245beec: Download complete [2023-03-09T02:53:15.630Z] 765212b225bb: Verifying Checksum [2023-03-09T02:53:15.630Z] 765212b225bb: Download complete [2023-03-09T02:53:15.630Z] f23df028b6ca: Verifying Checksum [2023-03-09T02:53:15.630Z] f23df028b6ca: Download complete [2023-03-09T02:53:15.630Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T02:53:15.630Z] d65c8cfc05b1: Download complete [2023-03-09T02:53:15.909Z] 699f458cf7ca: Verifying Checksum [2023-03-09T02:53:15.909Z] 699f458cf7ca: Download complete [2023-03-09T02:53:16.185Z] 8998bd30e6a1: Verifying Checksum [2023-03-09T02:53:16.185Z] 8998bd30e6a1: Download complete [2023-03-09T02:53:19.559Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T02:53:19.559Z] 2437ff75d9bd: Download complete [2023-03-09T02:53:21.522Z] 8998bd30e6a1: Pull complete [2023-03-09T02:53:21.791Z] 04944245beec: Pull complete [2023-03-09T02:53:23.762Z] 699f458cf7ca: Pull complete [2023-03-09T02:53:24.357Z] 765212b225bb: Pull complete [2023-03-09T02:53:25.794Z] f23df028b6ca: Pull complete [2023-03-09T02:53:26.069Z] d65c8cfc05b1: Pull complete [2023-03-09T02:53:48.170Z] 2437ff75d9bd: Pull complete [2023-03-09T02:53:48.170Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T02:53:48.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:53:48.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:53:48.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-9347 does not seem to be running inside a container [2023-03-09T02:53:48.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-09T02:53:51.520Z] $ docker top eec8d28ce6c235a67b8278cff8289c00a663281600213c1dfaa9559679696c8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:53:52.524Z] ---> job-cost.sh [2023-03-09T02:53:52.524Z] lf-activate-venv: SKIPPING [2023-03-09T02:53:52.524Z] INFO: No Stack... [2023-03-09T02:53:53.115Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T02:53:53.704Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T02:53:54.388Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-03-09T02:53:54.388Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T02:53:54.504Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] [2023-03-09T02:53:54.509Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] did not exist. Created. [2023-03-09T02:53:54.509Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T02:53:55.283Z] /w/workspace/device-snmp-go/1@tmp/durable-a9b5a0be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T02:53:56.003Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T02:53:56.042Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T02:53:56.734Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T02:53:56.751Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-257-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T02:53:56.841Z] $ docker stop --time=1 eec8d28ce6c235a67b8278cff8289c00a663281600213c1dfaa9559679696c8a [2023-03-09T02:53:58.551Z] $ docker rm -f --volumes eec8d28ce6c235a67b8278cff8289c00a663281600213c1dfaa9559679696c8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T02:53:59.290Z] 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 [2023-03-09T02:54:01.243Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-257/archives ] [2023-03-09T02:54:01.243Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-257/archives [2023-03-09T02:54:01.243Z] total 16 [2023-03-09T02:54:01.243Z] drwxr-xr-x 3 root root 4096 Mar 9 02:48 . [2023-03-09T02:54:01.243Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:48 .. [2023-03-09T02:54:01.243Z] drwxr-xr-x 2 root root 4096 Mar 9 02:48 cost [2023-03-09T02:54:01.243Z] -rw-r--r-- 1 root root 86 Mar 9 02:48 cost.csv [2023-03-09T02:54:01.243Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-257/archives [2023-03-09T02:54:01.243Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-257/archives [2023-03-09T02:54:01.243Z] total 16 [2023-03-09T02:54:01.243Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:48 . [2023-03-09T02:54:01.243Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:48 .. [2023-03-09T02:54:01.243Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:48 cost [2023-03-09T02:54:01.243Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 9 02:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:01.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:02.476Z] ---> package-listing.sh [2023-03-09T02:54:02.477Z] ++ facter osfamily [2023-03-09T02:54:02.477Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T02:54:02.737Z] + OS_FAMILY=debian [2023-03-09T02:54:02.737Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-257 [2023-03-09T02:54:02.737Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T02:54:02.737Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T02:54:02.737Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T02:54:02.737Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T02:54:02.737Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-257 ']' [2023-03-09T02:54:02.737Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T02:54:02.737Z] + case "${OS_FAMILY}" in [2023-03-09T02:54:02.737Z] + dpkg -l [2023-03-09T02:54:02.737Z] + grep '^ii' [2023-03-09T02:54:02.737Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T02:54:02.737Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T02:54:02.737Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T02:54:02.737Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-257 ']' [2023-03-09T02:54:02.737Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-257/archives/ [2023-03-09T02:54:02.737Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-257/archives/ [Pipeline] echo [2023-03-09T02:54:02.780Z] 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-257/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-09T02:54:03.083Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:54:03.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:54:03.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:54:03.874Z] prd-ubuntu20.04-docker-8c-8g-9341 does not seem to be running inside a container [2023-03-09T02:54:03.906Z] $ 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-257/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-257 -v /w/workspace/gexfoundry_device-snmp-go_PR-257:/w/workspace/gexfoundry_device-snmp-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T02:54:04.103Z] $ docker top 60b75b89f02eb54f90917225d99bda7ea67cb81d13e96f14e5f0e69db99ef11e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:54:04.503Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T02:54:04.815Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T02:54:05.126Z] + ls /var/log/sa-host [2023-03-09T02:54:05.126Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:54:05.335Z] provisioning config files... [2023-03-09T02:54:05.343Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-257@tmp/config2907912153982000673tmp [Pipeline] { [Pipeline] echo [2023-03-09T02:54:05.389Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:05.704Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T02:54:05.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:06.226Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T02:54:06.256Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:06.568Z] ---> sudo-logs.sh [2023-03-09T02:54:06.568Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T02:54:06.647Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:06.955Z] ---> job-cost.sh [2023-03-09T02:54:06.955Z] lf-activate-venv: SKIPPING [2023-03-09T02:54:06.955Z] DEBUG: total: 0.2199999988079071 [2023-03-09T02:54:06.955Z] INFO: Retrieving Stack Cost... [2023-03-09T02:54:07.213Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T02:54:07.781Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T02:54:07.814Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:08.120Z] ---> logs-deploy.sh [2023-03-09T02:54:08.120Z] lf-activate-venv: SKIPPING [2023-03-09T02:54:08.120Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-257/1 [2023-03-09T02:54:08.120Z] INFO: archiving workspace using pattern(s): [2023-03-09T02:54:09.057Z] Archives upload complete. [2023-03-09T02:54:09.317Z] INFO: archiving logs to Nexus