Pull request #243 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 760ae6c4eb49bb80568b38e849982b9db6307604+2bd6e5dae59222faf073cfb9822f90f2048c0bba (25c7e48d95f46ec191f95ae2b097d6a1ec689845) 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-ssh3975481159207331326.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-ssh16462876678637135442.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-243/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-243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7075347620796784097.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-243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12772064146682814504.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-ssh14016177562878058770.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-243/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-243/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1040800436555391137.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7001’ Running on prd-ubuntu20.04-docker-8c-8g-7007 in /w/workspace/gexfoundry_device-snmp-go_PR-243 [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-243 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 760ae6c4eb49bb80568b38e849982b9db6307604 Merge succeeded, producing 760ae6c4eb49bb80568b38e849982b9db6307604 Checking out Revision 760ae6c4eb49bb80568b38e849982b9db6307604 (PR-243) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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-02-22T05:25:38.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-22T05:25:38.605Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 760ae6c4eb49bb80568b38e849982b9db6307604 # 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 760ae6c4eb49bb80568b38e849982b9db6307604 # timeout=10 [Pipeline] echo [2023-02-22T05:25:38.703Z] ========================================================= [2023-02-22T05:25:38.703Z] EdgeX Global Pipelines Version Info [2023-02-22T05:25:38.703Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:25:39.461Z] ------------------- [2023-02-22T05:25:39.462Z] stable info: [2023-02-22T05:25:39.462Z] ------------------- [2023-02-22T05:25:39.462Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-22T05:25:39.462Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T05:25:39.462Z] Message: update stable to v1.0.244 [2023-02-22T05:25:40.030Z] ------------------- [2023-02-22T05:25:40.030Z] experimental info: [2023-02-22T05:25:40.030Z] ------------------- [2023-02-22T05:25:40.030Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-22T05:25:40.030Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T05:25:40.030Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-22T05:25:40.310Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-22T05:25:40.352Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-22T05:25:40.390Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-22T05:25:40.426Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-22T05:25:40.461Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-22T05:25:40.507Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-22T05:25:40.554Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-22T05:25:40.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-22T05:25:40.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-22T05:25:40.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-22T05:25:40.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-22T05:25:40.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-22T05:25:40.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-22T05:25:40.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-22T05:25:40.871Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T05:25:40.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T05:25:40.947Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T05:25:40.986Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T05:25:41.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-22T05:25:41.070Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-22T05:25:41.107Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-22T05:25:41.146Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-22T05:25:41.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-22T05:25:41.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-22T05:25:41.277Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-22T05:25:41.320Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-22T05:25:41.362Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-22T05:25:41.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-243 [Pipeline] echo [2023-02-22T05:25:41.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-243 [Pipeline] echo [2023-02-22T05:25:41.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-243 [Pipeline] echo [2023-02-22T05:25:41.527Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 760ae6c4eb49bb80568b38e849982b9db6307604 [Pipeline] echo [2023-02-22T05:25:41.567Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 760ae6c [Pipeline] echo [2023-02-22T05:25:41.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T05:25:41.724Z] provisioning config files... [2023-02-22T05:25:41.790Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-243@tmp/config4302564073117830836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:25:42.140Z] ---> docker-login.sh [2023-02-22T05:25:42.140Z] nexus3.edgexfoundry.org:10001 [2023-02-22T05:25:42.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:25:42.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:25:42.401Z] Configure a credential helper to remove this warning. See [2023-02-22T05:25:42.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:25:42.401Z] [2023-02-22T05:25:42.401Z] Login Succeeded [2023-02-22T05:25:42.401Z] nexus3.edgexfoundry.org:10002 [2023-02-22T05:25:42.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:25:42.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:25:42.664Z] Configure a credential helper to remove this warning. See [2023-02-22T05:25:42.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:25:42.664Z] [2023-02-22T05:25:42.664Z] Login Succeeded [2023-02-22T05:25:42.664Z] nexus3.edgexfoundry.org:10003 [2023-02-22T05:25:42.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:25:42.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:25:42.664Z] Configure a credential helper to remove this warning. See [2023-02-22T05:25:42.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:25:42.664Z] [2023-02-22T05:25:42.664Z] Login Succeeded [2023-02-22T05:25:42.664Z] nexus3.edgexfoundry.org:10004 [2023-02-22T05:25:42.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:25:42.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:25:42.664Z] Configure a credential helper to remove this warning. See [2023-02-22T05:25:42.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:25:42.664Z] [2023-02-22T05:25:42.664Z] Login Succeeded [2023-02-22T05:25:42.664Z] docker.io [2023-02-22T05:25:42.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:25:43.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:25:43.184Z] Configure a credential helper to remove this warning. See [2023-02-22T05:25:43.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:25:43.184Z] [2023-02-22T05:25:43.184Z] Login Succeeded [2023-02-22T05:25:43.184Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T05:25:43.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-22T05:25:43.841Z] + git rev-list -1 --merges 760ae6c4eb49bb80568b38e849982b9db6307604~1..760ae6c4eb49bb80568b38e849982b9db6307604 [Pipeline] echo [2023-02-22T05:25:43.912Z] -----------> git rev-list -1 --merges 760ae6c4eb49bb80568b38e849982b9db6307604~1..760ae6c4eb49bb80568b38e849982b9db6307604 760ae6c4eb49bb80568b38e849982b9db6307604 [false] [Pipeline] sh [2023-02-22T05:25:44.225Z] + git log --format=format:%s -1 760ae6c4eb49bb80568b38e849982b9db6307604 [Pipeline] echo [2023-02-22T05:25:44.257Z] ========================================================= [2023-02-22T05:25:44.257Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-22T05:25:44.257Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T05:25:44.701Z] + git log --format=format:%s -1 760ae6c4eb49bb80568b38e849982b9db6307604 [Pipeline] echo [2023-02-22T05:25:44.735Z] [semverPrep] GIT_COMMIT: 760ae6c4eb49bb80568b38e849982b9db6307604, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-22T05:25:44.762Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-22T05:25:45.139Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-22T05:25:45.139Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-22T05:25:45.139Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-22T05:25:45.139Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-22T05:25:45.139Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-22T05:25:45.139Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-22T05:25:45.139Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:25:45.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T05:25:45.558Z] [2023-02-22T05:25:45.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:25:45.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T05:25:45.967Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-22T05:25:45.967Z] b85a868b505f: Pulling fs layer [2023-02-22T05:25:45.967Z] e2be974225ed: Pulling fs layer [2023-02-22T05:25:45.967Z] 339a4e72a1f5: Pulling fs layer [2023-02-22T05:25:45.967Z] 988bab9f4d93: Pulling fs layer [2023-02-22T05:25:45.967Z] 1469e6f7b9e6: Pulling fs layer [2023-02-22T05:25:45.967Z] eaf3925da568: Pulling fs layer [2023-02-22T05:25:45.967Z] bab4dde63d76: Pulling fs layer [2023-02-22T05:25:45.967Z] 988bab9f4d93: Waiting [2023-02-22T05:25:45.967Z] 1469e6f7b9e6: Waiting [2023-02-22T05:25:45.967Z] bde34c3a00c8: Pulling fs layer [2023-02-22T05:25:45.967Z] b352a97aabf1: Pulling fs layer [2023-02-22T05:25:45.967Z] 4872d77fe225: Pulling fs layer [2023-02-22T05:25:45.967Z] 5851b861e8e6: Pulling fs layer [2023-02-22T05:25:45.967Z] b352a97aabf1: Waiting [2023-02-22T05:25:45.967Z] bab4dde63d76: Waiting [2023-02-22T05:25:45.967Z] 4872d77fe225: Waiting [2023-02-22T05:25:45.967Z] 5851b861e8e6: Waiting [2023-02-22T05:25:45.967Z] bde34c3a00c8: Waiting [2023-02-22T05:25:45.967Z] e2be974225ed: Verifying Checksum [2023-02-22T05:25:45.967Z] e2be974225ed: Download complete [2023-02-22T05:25:45.967Z] 988bab9f4d93: Verifying Checksum [2023-02-22T05:25:45.967Z] 988bab9f4d93: Download complete [2023-02-22T05:25:46.239Z] 339a4e72a1f5: Verifying Checksum [2023-02-22T05:25:46.239Z] 339a4e72a1f5: Download complete [2023-02-22T05:25:46.813Z] eaf3925da568: Verifying Checksum [2023-02-22T05:25:46.813Z] eaf3925da568: Download complete [2023-02-22T05:25:46.813Z] 1469e6f7b9e6: Verifying Checksum [2023-02-22T05:25:46.813Z] 1469e6f7b9e6: Download complete [2023-02-22T05:25:46.813Z] bde34c3a00c8: Download complete [2023-02-22T05:25:47.073Z] b352a97aabf1: Verifying Checksum [2023-02-22T05:25:47.073Z] b352a97aabf1: Download complete [2023-02-22T05:25:47.073Z] 4872d77fe225: Download complete [2023-02-22T05:25:47.073Z] 5851b861e8e6: Download complete [2023-02-22T05:25:47.073Z] b85a868b505f: Verifying Checksum [2023-02-22T05:25:47.073Z] b85a868b505f: Download complete [2023-02-22T05:25:47.332Z] bab4dde63d76: Verifying Checksum [2023-02-22T05:25:47.332Z] bab4dde63d76: Download complete [2023-02-22T05:25:48.276Z] b85a868b505f: Pull complete [2023-02-22T05:25:48.540Z] e2be974225ed: Pull complete [2023-02-22T05:25:48.798Z] 339a4e72a1f5: Pull complete [2023-02-22T05:25:49.058Z] 988bab9f4d93: Pull complete [2023-02-22T05:25:49.321Z] 1469e6f7b9e6: Pull complete [2023-02-22T05:25:49.580Z] eaf3925da568: Pull complete [2023-02-22T05:25:51.489Z] bab4dde63d76: Pull complete [2023-02-22T05:25:51.489Z] bde34c3a00c8: Pull complete [2023-02-22T05:25:51.489Z] b352a97aabf1: Pull complete [2023-02-22T05:25:51.489Z] 4872d77fe225: Pull complete [2023-02-22T05:25:51.749Z] 5851b861e8e6: Pull complete [2023-02-22T05:25:51.749Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-22T05:25:51.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T05:25:51.749Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:25:51.984Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-02-22T05:25:52.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-243 -v /w/workspace/gexfoundry_device-snmp-go_PR-243:/w/workspace/gexfoundry_device-snmp-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-243@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-243@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-02-22T05:25:56.338Z] $ docker top 278ce3d710c309d3174bf70cadc4d145be42fcec27d8cfa2e6cf2c2838152ab4 -eo pid,comm [2023-02-22T05:25:56.403Z] 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-02-22T05:25:56.403Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-22T05:25:56.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T05:25:56.530Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T05:25:56.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T05:25:56.641Z] $ docker exec 278ce3d710c309d3174bf70cadc4d145be42fcec27d8cfa2e6cf2c2838152ab4 ssh-agent [2023-02-22T05:25:56.751Z] SSH_AUTH_SOCK=/tmp/ssh-3ZXldZazlxir/agent.32 [2023-02-22T05:25:56.751Z] SSH_AGENT_PID=37 [2023-02-22T05:25:56.758Z] Running ssh-add (command line suppressed) [2023-02-22T05:25:56.854Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-243@tmp/private_key_10059210939730541909.key (/w/workspace/gexfoundry_device-snmp-go_PR-243@tmp/private_key_10059210939730541909.key) [2023-02-22T05:25:56.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T05:25:57.205Z] + git tag --points-at HEAD [Pipeline] } [2023-02-22T05:25:57.227Z] $ docker exec --env ******** --env ******** 278ce3d710c309d3174bf70cadc4d145be42fcec27d8cfa2e6cf2c2838152ab4 ssh-agent -k [2023-02-22T05:25:57.321Z] unset SSH_AUTH_SOCK; [2023-02-22T05:25:57.322Z] unset SSH_AGENT_PID; [2023-02-22T05:25:57.322Z] echo Agent pid 37 killed; [2023-02-22T05:25:57.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-22T05:25:57.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T05:25:57.421Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T05:25:57.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T05:25:57.529Z] $ docker exec 278ce3d710c309d3174bf70cadc4d145be42fcec27d8cfa2e6cf2c2838152ab4 ssh-agent [2023-02-22T05:25:57.639Z] SSH_AUTH_SOCK=/tmp/ssh-hCqoY5ARTZwu/agent.69 [2023-02-22T05:25:57.639Z] SSH_AGENT_PID=76 [2023-02-22T05:25:57.644Z] Running ssh-add (command line suppressed) [2023-02-22T05:25:57.730Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-243@tmp/private_key_12642154730002414662.key (/w/workspace/gexfoundry_device-snmp-go_PR-243@tmp/private_key_12642154730002414662.key) [2023-02-22T05:25:57.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T05:25:58.085Z] + git semver init [2023-02-22T05:25:58.344Z] 2023-02-22 05:25:58,242 [run_init] DEBUG init version:0.0.0 force:False [2023-02-22T05:25:58.344Z] 2023-02-22 05:25:58,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-243/.semver [2023-02-22T05:25:58.344Z] 2023-02-22 05:25:58,243 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-243/.semver [2023-02-22T05:25:58.344Z] 2023-02-22 05:25:58,243 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-243/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-243, universal_newlines=False, shell=None, istream=None) [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,125 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-243/.git/info/exclude [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-243/.semver/PR-243 with force:False [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,125 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-243/.semver/PR-243 [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,128 [execute] INFO git cat-file --batch-check [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,129 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-243/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,136 [execute] INFO git cat-file --batch [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-243/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T05:25:59.291Z] 2023-02-22 05:25:59,141 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-243/.semver/PR-243 [2023-02-22T05:25:59.291Z] 0.0.0 [Pipeline] } [2023-02-22T05:25:59.320Z] $ docker exec --env ******** --env ******** 278ce3d710c309d3174bf70cadc4d145be42fcec27d8cfa2e6cf2c2838152ab4 ssh-agent -k [2023-02-22T05:25:59.429Z] unset SSH_AUTH_SOCK; [2023-02-22T05:25:59.429Z] unset SSH_AGENT_PID; [2023-02-22T05:25:59.429Z] echo Agent pid 76 killed; [2023-02-22T05:25:59.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-22T05:25:59.885Z] + git semver [Pipeline] } [2023-02-22T05:26:00.173Z] $ docker stop --time=1 278ce3d710c309d3174bf70cadc4d145be42fcec27d8cfa2e6cf2c2838152ab4 [2023-02-22T05:26:01.472Z] $ docker rm -f --volumes 278ce3d710c309d3174bf70cadc4d145be42fcec27d8cfa2e6cf2c2838152ab4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T05:26:01.873Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-22T05:26:02.152Z] Stashed 1 file(s) [Pipeline] echo [2023-02-22T05:26:02.169Z] [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-02-22T05:26:02.760Z] provisioning config files... [2023-02-22T05:26:02.771Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-243@tmp/config16732004807819300710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:26:03.115Z] ---> docker-login.sh [2023-02-22T05:26:03.115Z] nexus3.edgexfoundry.org:10001 [2023-02-22T05:26:03.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:26:03.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:26:03.116Z] Configure a credential helper to remove this warning. See [2023-02-22T05:26:03.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:26:03.116Z] [2023-02-22T05:26:03.116Z] Login Succeeded [2023-02-22T05:26:03.116Z] nexus3.edgexfoundry.org:10002 [2023-02-22T05:26:03.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:26:03.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:26:03.116Z] Configure a credential helper to remove this warning. See [2023-02-22T05:26:03.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:26:03.116Z] [2023-02-22T05:26:03.116Z] Login Succeeded [2023-02-22T05:26:03.116Z] nexus3.edgexfoundry.org:10003 [2023-02-22T05:26:03.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:26:03.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:26:03.375Z] Configure a credential helper to remove this warning. See [2023-02-22T05:26:03.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:26:03.375Z] [2023-02-22T05:26:03.375Z] Login Succeeded [2023-02-22T05:26:03.375Z] nexus3.edgexfoundry.org:10004 [2023-02-22T05:26:03.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:26:03.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:26:03.375Z] Configure a credential helper to remove this warning. See [2023-02-22T05:26:03.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:26:03.375Z] [2023-02-22T05:26:03.375Z] Login Succeeded [2023-02-22T05:26:03.375Z] docker.io [2023-02-22T05:26:03.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:26:03.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:26:03.634Z] Configure a credential helper to remove this warning. See [2023-02-22T05:26:03.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:26:03.634Z] [2023-02-22T05:26:03.634Z] Login Succeeded [2023-02-22T05:26:03.634Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T05:26:03.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T05:26:03.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T05:26:03.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T05:26:03.887Z] ========================================================= [2023-02-22T05:26:03.887Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-22T05:26:03.887Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:26:04.366Z] + 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-02-22T05:26:04.366Z] Sending build context to Docker daemon 5.683MB [2023-02-22T05:26:04.366Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T05:26:04.366Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-22T05:26:04.366Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-22T05:26:04.366Z] 213ec9aee27d: Pulling fs layer [2023-02-22T05:26:04.366Z] 4583459ba037: Pulling fs layer [2023-02-22T05:26:04.366Z] 93c1e223e6f2: Pulling fs layer [2023-02-22T05:26:04.366Z] 53926ce57604: Pulling fs layer [2023-02-22T05:26:04.366Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-22T05:26:04.366Z] 22ff95d597cd: Pulling fs layer [2023-02-22T05:26:04.366Z] 12d6caf4c0d1: Pulling fs layer [2023-02-22T05:26:04.366Z] 96b7cbca73a9: Pulling fs layer [2023-02-22T05:26:04.366Z] a7acece74701: Pulling fs layer [2023-02-22T05:26:04.366Z] 22ff95d597cd: Waiting [2023-02-22T05:26:04.366Z] 96b7cbca73a9: Waiting [2023-02-22T05:26:04.366Z] a7acece74701: Waiting [2023-02-22T05:26:04.366Z] 12d6caf4c0d1: Waiting [2023-02-22T05:26:04.366Z] 53926ce57604: Waiting [2023-02-22T05:26:04.366Z] 21b2b0c7a3f4: Waiting [2023-02-22T05:26:04.366Z] 93c1e223e6f2: Download complete [2023-02-22T05:26:04.366Z] 4583459ba037: Verifying Checksum [2023-02-22T05:26:04.366Z] 4583459ba037: Download complete [2023-02-22T05:26:04.366Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-22T05:26:04.366Z] 21b2b0c7a3f4: Download complete [2023-02-22T05:26:04.366Z] 22ff95d597cd: Download complete [2023-02-22T05:26:04.628Z] 213ec9aee27d: Download complete [2023-02-22T05:26:04.628Z] 12d6caf4c0d1: Verifying Checksum [2023-02-22T05:26:04.628Z] 12d6caf4c0d1: Download complete [2023-02-22T05:26:04.628Z] 213ec9aee27d: Pull complete [2023-02-22T05:26:04.892Z] 4583459ba037: Pull complete [2023-02-22T05:26:04.892Z] 93c1e223e6f2: Pull complete [2023-02-22T05:26:05.159Z] a7acece74701: Verifying Checksum [2023-02-22T05:26:05.159Z] a7acece74701: Download complete [2023-02-22T05:26:05.421Z] 53926ce57604: Verifying Checksum [2023-02-22T05:26:05.421Z] 53926ce57604: Download complete [2023-02-22T05:26:05.421Z] 96b7cbca73a9: Verifying Checksum [2023-02-22T05:26:05.421Z] 96b7cbca73a9: Download complete [2023-02-22T05:26:08.709Z] 53926ce57604: Pull complete [2023-02-22T05:26:08.968Z] 21b2b0c7a3f4: Pull complete [2023-02-22T05:26:08.968Z] 22ff95d597cd: Pull complete [2023-02-22T05:26:08.968Z] 12d6caf4c0d1: Pull complete [2023-02-22T05:26:10.865Z] 96b7cbca73a9: Pull complete [2023-02-22T05:26:11.799Z] a7acece74701: Pull complete [2023-02-22T05:26:11.799Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-22T05:26:11.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-22T05:26:11.800Z] ---> db6d94c90886 [2023-02-22T05:26:11.800Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-22T05:26:17.581Z] Still waiting to schedule task [2023-02-22T05:26:17.581Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7005’ [2023-02-22T05:26:18.629Z] ---> Running in 0b2da3a5d41a [2023-02-22T05:26:18.888Z] Removing intermediate container 0b2da3a5d41a [2023-02-22T05:26:18.888Z] ---> 4468c114f438 [2023-02-22T05:26:18.888Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T05:26:19.148Z] ---> Running in 18e0dcf330bf [2023-02-22T05:26:19.411Z] Removing intermediate container 18e0dcf330bf [2023-02-22T05:26:19.411Z] ---> ecf2b73b36b6 [2023-02-22T05:26:19.411Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-22T05:26:19.411Z] ---> Running in 12ea57548930 [2023-02-22T05:26:19.411Z] Removing intermediate container 12ea57548930 [2023-02-22T05:26:19.411Z] ---> 5bb1c56bafc5 [2023-02-22T05:26:19.411Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T05:26:19.672Z] ---> Running in 2c598f69dce4 [2023-02-22T05:26:19.672Z] Removing intermediate container 2c598f69dce4 [2023-02-22T05:26:19.672Z] ---> 59ec7d8cd122 [2023-02-22T05:26:19.672Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T05:26:19.672Z] ---> Running in dc0f36ddb412 [2023-02-22T05:26:19.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T05:26:19.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T05:26:20.193Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-22T05:26:20.193Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-22T05:26:20.193Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-22T05:26:20.193Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-22T05:26:20.533Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T05:26:20.533Z] OK: 216 MiB in 55 packages [2023-02-22T05:26:21.006Z] Removing intermediate container dc0f36ddb412 [2023-02-22T05:26:21.006Z] ---> 30d272a2bebc [2023-02-22T05:26:21.006Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-22T05:26:21.006Z] ---> Running in 80283fa5ad82 [2023-02-22T05:26:21.535Z] Removing intermediate container 80283fa5ad82 [2023-02-22T05:26:21.535Z] ---> aec11291b1e4 [2023-02-22T05:26:21.535Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-22T05:26:21.535Z] ---> e37ebed0a4f7 [2023-02-22T05:26:21.535Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T05:26:21.535Z] ---> Running in 38f884dd10be [2023-02-22T05:26:53.611Z] Removing intermediate container 38f884dd10be [2023-02-22T05:26:53.611Z] ---> d86d3c4fe306 [2023-02-22T05:26:53.611Z] Step 11/12 : COPY . . [2023-02-22T05:26:53.611Z] ---> e90533963ceb [2023-02-22T05:26:53.611Z] Step 12/12 : RUN ${MAKE} [2023-02-22T05:26:53.611Z] ---> Running in e32fe9a07741 [2023-02-22T05:26:53.611Z] noop [2023-02-22T05:26:53.611Z] Removing intermediate container e32fe9a07741 [2023-02-22T05:26:53.611Z] ---> 9121bbc05735 [2023-02-22T05:26:53.611Z] Successfully built 9121bbc05735 [2023-02-22T05:26:53.611Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:26:54.057Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T05:26:54.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:26:54.203Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-02-22T05:26:54.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-243 -v /w/workspace/gexfoundry_device-snmp-go_PR-243:/w/workspace/gexfoundry_device-snmp-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-243@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-243@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-02-22T05:26:54.592Z] $ docker top 64a014b05df5c26edabc8630a8a10641c99ed98770db4fe34113027f610eb845 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T05:26:54.972Z] + go version [2023-02-22T05:26:54.972Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-22T05:26:55.005Z] $ docker stop --time=1 64a014b05df5c26edabc8630a8a10641c99ed98770db4fe34113027f610eb845 [2023-02-22T05:26:56.271Z] $ docker rm -f --volumes 64a014b05df5c26edabc8630a8a10641c99ed98770db4fe34113027f610eb845 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:26:56.976Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T05:26:56.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:26:57.129Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-02-22T05:26:57.163Z] $ 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-243 -v /w/workspace/gexfoundry_device-snmp-go_PR-243:/w/workspace/gexfoundry_device-snmp-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-243@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-243@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-02-22T05:26:57.499Z] $ docker top f4f3e16de9a9824fd7dbe9a7bebcbbf7675e0e49c34ca5ca7202e7291ea3366c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T05:26:57.874Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-243 [Pipeline] fileExists [Pipeline] sh [2023-02-22T05:26:58.229Z] + make test [2023-02-22T05:26:58.229Z] go test ./... -coverprofile=coverage.out [2023-02-22T05:26:58.486Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-22T05:27:05.165Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-22T05:27:05.165Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-02-22T05:27:05.165Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-22T05:27:05.165Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-22T05:27:05.165Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-22T05:27:05.165Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-22T05:27:05.731Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-22T05:27:05.731Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-02-22T05:27:05.731Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-02-22T05:27:05.731Z] have (context.Context, requests.AddEventRequest) [2023-02-22T05:27:05.731Z] want (context.Context, string, requests.AddEventRequest) [2023-02-22T05:27:05.988Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-02-22T05:27:06.246Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-22T05:27:06.294Z] $ docker stop --time=1 f4f3e16de9a9824fd7dbe9a7bebcbbf7675e0e49c34ca5ca7202e7291ea3366c [2023-02-22T05:27:08.653Z] $ docker rm -f --volumes f4f3e16de9a9824fd7dbe9a7bebcbbf7675e0e49c34ca5ca7202e7291ea3366c [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-02-22T05:27:09.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T05:27:09.749Z] [2023-02-22T05:27:09.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:27:10.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T05:27:10.112Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-22T05:27:10.112Z] 5eb5b503b376: Pulling fs layer [2023-02-22T05:27:10.112Z] 5c69ac0246d0: Pulling fs layer [2023-02-22T05:27:10.112Z] ec43610c2a17: Pulling fs layer [2023-02-22T05:27:10.112Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-22T05:27:10.112Z] 33b1e0a273af: Pulling fs layer [2023-02-22T05:27:10.112Z] 5d3b04190fa2: Pulling fs layer [2023-02-22T05:27:10.112Z] 2f39f015ded8: Pulling fs layer [2023-02-22T05:27:10.112Z] 33b1e0a273af: Waiting [2023-02-22T05:27:10.112Z] 5d3b04190fa2: Waiting [2023-02-22T05:27:10.112Z] 2f39f015ded8: Waiting [2023-02-22T05:27:10.112Z] 3a2ae6a8a46f: Waiting [2023-02-22T05:27:10.373Z] 5c69ac0246d0: Verifying Checksum [2023-02-22T05:27:10.373Z] 5c69ac0246d0: Download complete [2023-02-22T05:27:10.373Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-22T05:27:10.373Z] 3a2ae6a8a46f: Download complete [2023-02-22T05:27:10.373Z] 33b1e0a273af: Verifying Checksum [2023-02-22T05:27:10.373Z] 33b1e0a273af: Download complete [2023-02-22T05:27:10.373Z] 5d3b04190fa2: Verifying Checksum [2023-02-22T05:27:10.373Z] 5d3b04190fa2: Download complete [2023-02-22T05:27:10.373Z] ec43610c2a17: Verifying Checksum [2023-02-22T05:27:10.373Z] ec43610c2a17: Download complete [2023-02-22T05:27:10.631Z] 5eb5b503b376: Verifying Checksum [2023-02-22T05:27:10.631Z] 5eb5b503b376: Download complete [2023-02-22T05:27:11.197Z] 2f39f015ded8: Download complete [2023-02-22T05:27:11.883Z] 5eb5b503b376: Pull complete [2023-02-22T05:27:11.883Z] 5c69ac0246d0: Pull complete [2023-02-22T05:27:12.142Z] ec43610c2a17: Pull complete [2023-02-22T05:27:12.400Z] 3a2ae6a8a46f: Pull complete [2023-02-22T05:27:12.657Z] 33b1e0a273af: Pull complete [2023-02-22T05:27:12.657Z] 5d3b04190fa2: Pull complete [2023-02-22T05:27:16.988Z] 2f39f015ded8: Pull complete [2023-02-22T05:27:16.988Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-22T05:27:16.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T05:27:16.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:27:17.187Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-02-22T05:27:17.218Z] $ 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-243 -v /w/workspace/gexfoundry_device-snmp-go_PR-243:/w/workspace/gexfoundry_device-snmp-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-243@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-243@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-02-22T05:27:21.707Z] $ docker top a4e31c29c75695251edcda39449315d05b8984f583af2c2824d8535eb128b3c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:27:22.153Z] ---> job-cost.sh [2023-02-22T05:27:22.153Z] lf-activate-venv: SKIPPING [2023-02-22T05:27:22.153Z] INFO: No Stack... [2023-02-22T05:27:22.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T05:27:22.670Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T05:27:22.978Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-243/archives/cost.csv [2023-02-22T05:27:22.978Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T05:27:23.020Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] [2023-02-22T05:27:23.025Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] did not exist. Created. [2023-02-22T05:27:23.025Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T05:27:23.417Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-22T05:27:23.509Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T05:27:23.524Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T05:27:23.604Z] $ docker stop --time=1 a4e31c29c75695251edcda39449315d05b8984f583af2c2824d8535eb128b3c1 [2023-02-22T05:27:24.754Z] $ docker rm -f --volumes a4e31c29c75695251edcda39449315d05b8984f583af2c2824d8535eb128b3c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-22T05:27:25.115Z] Failed in branch amd64 [2023-02-22T05:28:29.234Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7009 in /w/workspace/gexfoundry_device-snmp-go_PR-243 [Pipeline] { [Pipeline] ws [2023-02-22T05:28:29.300Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-22T05:28:29.379Z] Selected Git installation does not exist. Using Default [2023-02-22T05:28:29.380Z] The recommended git tool is: NONE [2023-02-22T05:28:35.396Z] using credential edgex-jenkins-ssh [2023-02-22T05:28:35.421Z] Cloning the remote Git repository [2023-02-22T05:28:35.474Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-22T05:28:35.568Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-22T05:28:35.746Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-22T05:28:35.747Z] > git --version # timeout=10 [2023-02-22T05:28:35.767Z] > git --version # 'git version 2.25.1' [2023-02-22T05:28:35.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T05:28:35.839Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T05:28:36.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-22T05:28:36.949Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T05:28:37.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-22T05:28:37.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-22T05:28:37.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T05:28:37.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-22T05:28:38.439Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 760ae6c4eb49bb80568b38e849982b9db6307604 [2023-02-22T05:28:38.659Z] Merge succeeded, producing 760ae6c4eb49bb80568b38e849982b9db6307604 [2023-02-22T05:28:38.660Z] Checking out Revision 760ae6c4eb49bb80568b38e849982b9db6307604 (PR-243) [2023-02-22T05:28:39.158Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-22T05:28:39.213Z] > git --version # timeout=10 [2023-02-22T05:28:39.225Z] > git --version # 'git version 2.25.1' [2023-02-22T05:28:39.239Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T05:28:38.459Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T05:28:38.477Z] > git checkout -f 760ae6c4eb49bb80568b38e849982b9db6307604 # timeout=10 [2023-02-22T05:28:38.554Z] > git remote # timeout=10 [2023-02-22T05:28:38.572Z] > git config --get remote.origin.url # timeout=10 [2023-02-22T05:28:38.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T05:28:38.615Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-22T05:28:38.642Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-22T05:28:38.667Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T05:28:38.681Z] > git checkout -f 760ae6c4eb49bb80568b38e849982b9db6307604 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T05:28:40.509Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-22T05:28:40.509Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T05:28:40.509Z] Dload Upload Total Spent Left Speed [2023-02-22T05:28:40.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-02-22T05:28:41.102Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-22T05:28:41.443Z] + sudo tee /etc/docker/daemon.new [2023-02-22T05:28:41.443Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-22T05:28:41.443Z] { [2023-02-22T05:28:41.443Z] "registry-mirrors": [ [2023-02-22T05:28:41.443Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-22T05:28:41.443Z] ], [2023-02-22T05:28:41.443Z] "bip": "10.250.0.254/24", [2023-02-22T05:28:41.443Z] "hosts": [ [2023-02-22T05:28:41.443Z] "tcp://0.0.0.0:5555", [2023-02-22T05:28:41.443Z] "unix:///var/run/docker.sock" [2023-02-22T05:28:41.443Z] ], [2023-02-22T05:28:41.443Z] "mtu": 1458, [2023-02-22T05:28:41.443Z] "selinux-enabled": true, [2023-02-22T05:28:41.443Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-22T05:28:41.443Z] } [Pipeline] sh [2023-02-22T05:28:41.783Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-22T05:28:42.127Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T05:29:00.457Z] provisioning config files... [2023-02-22T05:29:00.492Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config15117601431801154772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:29:00.889Z] ---> docker-login.sh [2023-02-22T05:29:00.889Z] nexus3.edgexfoundry.org:10001 [2023-02-22T05:29:01.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:29:01.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:29:01.483Z] Configure a credential helper to remove this warning. See [2023-02-22T05:29:01.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:29:01.483Z] [2023-02-22T05:29:01.483Z] Login Succeeded [2023-02-22T05:29:01.754Z] nexus3.edgexfoundry.org:10002 [2023-02-22T05:29:01.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:29:02.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:29:02.022Z] Configure a credential helper to remove this warning. See [2023-02-22T05:29:02.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:29:02.022Z] [2023-02-22T05:29:02.022Z] Login Succeeded [2023-02-22T05:29:02.022Z] nexus3.edgexfoundry.org:10003 [2023-02-22T05:29:02.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:29:02.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:29:02.299Z] Configure a credential helper to remove this warning. See [2023-02-22T05:29:02.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:29:02.299Z] [2023-02-22T05:29:02.299Z] Login Succeeded [2023-02-22T05:29:02.299Z] nexus3.edgexfoundry.org:10004 [2023-02-22T05:29:02.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:29:02.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:29:02.840Z] Configure a credential helper to remove this warning. See [2023-02-22T05:29:02.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:29:02.840Z] [2023-02-22T05:29:02.840Z] Login Succeeded [2023-02-22T05:29:02.840Z] docker.io [2023-02-22T05:29:03.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T05:29:03.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T05:29:03.377Z] Configure a credential helper to remove this warning. See [2023-02-22T05:29:03.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T05:29:03.377Z] [2023-02-22T05:29:03.377Z] Login Succeeded [2023-02-22T05:29:03.377Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T05:29:03.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T05:29:03.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T05:29:03.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T05:29:03.885Z] ========================================================= [2023-02-22T05:29:03.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-22T05:29:03.885Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:29:04.391Z] + 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-02-22T05:29:04.659Z] Sending build context to Docker daemon 2.94MB [2023-02-22T05:29:04.659Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T05:29:04.659Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-22T05:29:04.931Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-22T05:29:04.931Z] 9b18e9b68314: Pulling fs layer [2023-02-22T05:29:04.931Z] 35d82f9e3411: Pulling fs layer [2023-02-22T05:29:04.931Z] e16973657156: Pulling fs layer [2023-02-22T05:29:04.931Z] fc693d55d65f: Pulling fs layer [2023-02-22T05:29:04.931Z] 7e9fc2657dce: Pulling fs layer [2023-02-22T05:29:04.931Z] dda99020689f: Pulling fs layer [2023-02-22T05:29:04.931Z] db1c61fa0a46: Pulling fs layer [2023-02-22T05:29:04.931Z] 891c053d2c06: Pulling fs layer [2023-02-22T05:29:04.931Z] fc693d55d65f: Waiting [2023-02-22T05:29:04.931Z] dda99020689f: Waiting [2023-02-22T05:29:04.931Z] 7e9fc2657dce: Waiting [2023-02-22T05:29:04.931Z] db1c61fa0a46: Waiting [2023-02-22T05:29:04.931Z] 891c053d2c06: Waiting [2023-02-22T05:29:04.931Z] e16973657156: Verifying Checksum [2023-02-22T05:29:04.931Z] e16973657156: Download complete [2023-02-22T05:29:04.931Z] 35d82f9e3411: Verifying Checksum [2023-02-22T05:29:04.931Z] 35d82f9e3411: Download complete [2023-02-22T05:29:04.931Z] 7e9fc2657dce: Verifying Checksum [2023-02-22T05:29:04.931Z] 7e9fc2657dce: Download complete [2023-02-22T05:29:04.931Z] dda99020689f: Verifying Checksum [2023-02-22T05:29:04.931Z] dda99020689f: Download complete [2023-02-22T05:29:04.931Z] 9b18e9b68314: Verifying Checksum [2023-02-22T05:29:04.931Z] 9b18e9b68314: Download complete [2023-02-22T05:29:05.910Z] 9b18e9b68314: Pull complete [2023-02-22T05:29:06.180Z] 891c053d2c06: Verifying Checksum [2023-02-22T05:29:06.180Z] 891c053d2c06: Download complete [2023-02-22T05:29:06.774Z] 35d82f9e3411: Pull complete [2023-02-22T05:29:07.044Z] e16973657156: Pull complete [2023-02-22T05:29:07.314Z] db1c61fa0a46: Verifying Checksum [2023-02-22T05:29:07.314Z] db1c61fa0a46: Download complete [2023-02-22T05:29:07.901Z] fc693d55d65f: Verifying Checksum [2023-02-22T05:29:07.901Z] fc693d55d65f: Download complete [2023-02-22T05:29:20.247Z] fc693d55d65f: Pull complete [2023-02-22T05:29:20.247Z] 7e9fc2657dce: Pull complete [2023-02-22T05:29:20.918Z] dda99020689f: Pull complete [2023-02-22T05:29:27.612Z] db1c61fa0a46: Pull complete [2023-02-22T05:29:29.570Z] 891c053d2c06: Pull complete [2023-02-22T05:29:29.570Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-22T05:29:29.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-22T05:29:29.570Z] ---> f96f9c87975a [2023-02-22T05:29:29.570Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-22T05:29:30.545Z] ---> Running in c4a39d5ba8df [2023-02-22T05:29:30.813Z] Removing intermediate container c4a39d5ba8df [2023-02-22T05:29:30.813Z] ---> 5c851899f032 [2023-02-22T05:29:30.813Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T05:29:30.813Z] ---> Running in 3771288b23bb [2023-02-22T05:29:31.406Z] Removing intermediate container 3771288b23bb [2023-02-22T05:29:31.406Z] ---> aa0cd48d338c [2023-02-22T05:29:31.406Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-22T05:29:31.406Z] ---> Running in 9ff94dd5cfa1 [2023-02-22T05:29:31.676Z] Removing intermediate container 9ff94dd5cfa1 [2023-02-22T05:29:31.676Z] ---> a7a5be9c31e8 [2023-02-22T05:29:31.676Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T05:29:31.676Z] ---> Running in acf133636cfe [2023-02-22T05:29:31.945Z] Removing intermediate container acf133636cfe [2023-02-22T05:29:31.945Z] ---> f37510376faa [2023-02-22T05:29:31.945Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T05:29:32.214Z] ---> Running in d4e1632ee18a [2023-02-22T05:29:33.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T05:29:33.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T05:29:34.734Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-22T05:29:34.734Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-22T05:29:34.734Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-22T05:29:34.734Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-22T05:29:34.734Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T05:29:34.734Z] OK: 226 MiB in 55 packages [2023-02-22T05:29:35.706Z] Removing intermediate container d4e1632ee18a [2023-02-22T05:29:35.706Z] ---> f791de6dae6e [2023-02-22T05:29:35.706Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-22T05:29:35.706Z] ---> Running in ce09c2250e1a [2023-02-22T05:29:36.292Z] Removing intermediate container ce09c2250e1a [2023-02-22T05:29:36.292Z] ---> ad4b5e0fdafa [2023-02-22T05:29:36.292Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-22T05:29:36.567Z] ---> 963dae05db83 [2023-02-22T05:29:36.567Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T05:29:36.857Z] ---> Running in 940cdc1c5827 [2023-02-22T05:30:33.497Z] Removing intermediate container 940cdc1c5827 [2023-02-22T05:30:33.497Z] ---> 13be7cb5a7a5 [2023-02-22T05:30:33.497Z] Step 11/12 : COPY . . [2023-02-22T05:30:33.497Z] ---> 7c2692534b04 [2023-02-22T05:30:33.497Z] Step 12/12 : RUN ${MAKE} [2023-02-22T05:30:33.497Z] ---> Running in cf4fd1739148 [2023-02-22T05:30:33.497Z] noop [2023-02-22T05:30:34.083Z] Removing intermediate container cf4fd1739148 [2023-02-22T05:30:34.083Z] ---> 5e2372cec3b1 [2023-02-22T05:30:34.083Z] Successfully built 5e2372cec3b1 [2023-02-22T05:30:34.083Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:30:34.556Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T05:30:34.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:30:34.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-7009 does not seem to be running inside a container [2023-02-22T05:30:34.895Z] $ 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-02-22T05:30:36.082Z] $ docker top d1d1eb7cc745581c7e640066a0c8b6e8a903afaef74aaa9570e6e6aa81ab053a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T05:30:36.958Z] + go version [2023-02-22T05:30:36.958Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-22T05:30:36.992Z] $ docker stop --time=1 d1d1eb7cc745581c7e640066a0c8b6e8a903afaef74aaa9570e6e6aa81ab053a [2023-02-22T05:30:38.616Z] $ docker rm -f --volumes d1d1eb7cc745581c7e640066a0c8b6e8a903afaef74aaa9570e6e6aa81ab053a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:30:39.462Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T05:30:39.462Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:30:39.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-7009 does not seem to be running inside a container [2023-02-22T05:30:39.798Z] $ 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-02-22T05:30:41.017Z] $ docker top 5a775306b8e7b4e5f898770861160d454d1e922dae7aa08c2be97a16fb54831f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T05:30:41.925Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-22T05:30:42.325Z] + make test [2023-02-22T05:30:42.593Z] go test ./... -coverprofile=coverage.out [2023-02-22T05:30:44.007Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-22T05:31:40.456Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-22T05:31:40.456Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-02-22T05:31:40.456Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-22T05:31:40.456Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-22T05:31:40.456Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-22T05:31:40.456Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-22T05:31:52.771Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-22T05:31:52.771Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-02-22T05:31:52.771Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-02-22T05:31:52.771Z] have (context.Context, requests.AddEventRequest) [2023-02-22T05:31:52.771Z] want (context.Context, string, requests.AddEventRequest) [2023-02-22T05:32:02.864Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2023-02-22T05:32:02.864Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-22T05:32:02.918Z] $ docker stop --time=1 5a775306b8e7b4e5f898770861160d454d1e922dae7aa08c2be97a16fb54831f [2023-02-22T05:32:04.744Z] $ docker rm -f --volumes 5a775306b8e7b4e5f898770861160d454d1e922dae7aa08c2be97a16fb54831f [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-02-22T05:32:06.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T05:32:06.260Z] [2023-02-22T05:32:06.260Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:32:06.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T05:32:06.671Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-22T05:32:06.671Z] 8998bd30e6a1: Pulling fs layer [2023-02-22T05:32:06.671Z] 04944245beec: Pulling fs layer [2023-02-22T05:32:06.671Z] 699f458cf7ca: Pulling fs layer [2023-02-22T05:32:06.671Z] 765212b225bb: Pulling fs layer [2023-02-22T05:32:06.671Z] f23df028b6ca: Pulling fs layer [2023-02-22T05:32:06.671Z] d65c8cfc05b1: Pulling fs layer [2023-02-22T05:32:06.671Z] 2437ff75d9bd: Pulling fs layer [2023-02-22T05:32:06.671Z] 765212b225bb: Waiting [2023-02-22T05:32:06.671Z] f23df028b6ca: Waiting [2023-02-22T05:32:06.671Z] d65c8cfc05b1: Waiting [2023-02-22T05:32:06.671Z] 2437ff75d9bd: Waiting [2023-02-22T05:32:06.942Z] 04944245beec: Verifying Checksum [2023-02-22T05:32:06.942Z] 04944245beec: Download complete [2023-02-22T05:32:06.942Z] 765212b225bb: Verifying Checksum [2023-02-22T05:32:06.942Z] 765212b225bb: Download complete [2023-02-22T05:32:06.942Z] f23df028b6ca: Verifying Checksum [2023-02-22T05:32:06.942Z] f23df028b6ca: Download complete [2023-02-22T05:32:06.942Z] d65c8cfc05b1: Verifying Checksum [2023-02-22T05:32:06.942Z] d65c8cfc05b1: Download complete [2023-02-22T05:32:07.214Z] 699f458cf7ca: Verifying Checksum [2023-02-22T05:32:07.214Z] 699f458cf7ca: Download complete [2023-02-22T05:32:07.485Z] 8998bd30e6a1: Verifying Checksum [2023-02-22T05:32:07.485Z] 8998bd30e6a1: Download complete [2023-02-22T05:32:10.078Z] 2437ff75d9bd: Verifying Checksum [2023-02-22T05:32:10.078Z] 2437ff75d9bd: Download complete [2023-02-22T05:32:11.495Z] 8998bd30e6a1: Pull complete [2023-02-22T05:32:13.453Z] 04944245beec: Pull complete [2023-02-22T05:32:14.866Z] 699f458cf7ca: Pull complete [2023-02-22T05:32:15.134Z] 765212b225bb: Pull complete [2023-02-22T05:32:15.718Z] f23df028b6ca: Pull complete [2023-02-22T05:32:15.987Z] d65c8cfc05b1: Pull complete [2023-02-22T05:32:30.976Z] 2437ff75d9bd: Pull complete [2023-02-22T05:32:30.976Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-22T05:32:30.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T05:32:30.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:32:31.281Z] prd-ubuntu20.04-docker-arm64-4c-16g-7009 does not seem to be running inside a container [2023-02-22T05:32:31.348Z] $ 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-02-22T05:32:33.901Z] $ docker top b560a19d2d5cb24aa6de84060995ccee236a562ef8d6d205e6e231d3c551ca9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:34.464Z] ---> job-cost.sh [2023-02-22T05:32:34.730Z] lf-activate-venv: SKIPPING [2023-02-22T05:32:34.730Z] INFO: No Stack... [2023-02-22T05:32:34.996Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-22T05:32:35.955Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T05:32:36.630Z] + cut -d, -f6 [2023-02-22T05:32:36.630Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2023-02-22T05:32:36.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] [2023-02-22T05:32:36.722Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] did not exist. Created. [2023-02-22T05:32:36.722Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T05:32:37.137Z] /w/workspace/device-snmp-go/1@tmp/durable-a5478d1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-22T05:32:37.810Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-22T05:32:37.845Z] Warning: overwriting stash ‘stack-cost’ [2023-02-22T05:32:38.298Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T05:32:38.313Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-243-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T05:32:38.399Z] $ docker stop --time=1 b560a19d2d5cb24aa6de84060995ccee236a562ef8d6d205e6e231d3c551ca9b [2023-02-22T05:32:39.902Z] $ docker rm -f --volumes b560a19d2d5cb24aa6de84060995ccee236a562ef8d6d205e6e231d3c551ca9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-22T05:32:40.603Z] 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-02-22T05:32:42.481Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-243/archives ] [2023-02-22T05:32:42.482Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-243/archives [2023-02-22T05:32:42.482Z] total 16 [2023-02-22T05:32:42.482Z] drwxr-xr-x 3 root root 4096 Feb 22 05:27 . [2023-02-22T05:32:42.482Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 05:27 .. [2023-02-22T05:32:42.482Z] drwxr-xr-x 2 root root 4096 Feb 22 05:27 cost [2023-02-22T05:32:42.482Z] -rw-r--r-- 1 root root 86 Feb 22 05:27 cost.csv [2023-02-22T05:32:42.482Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-243/archives [2023-02-22T05:32:42.482Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-243/archives [2023-02-22T05:32:42.482Z] total 16 [2023-02-22T05:32:42.482Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 05:27 . [2023-02-22T05:32:42.482Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 05:27 .. [2023-02-22T05:32:42.482Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 05:27 cost [2023-02-22T05:32:42.482Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 22 05:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:42.807Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:43.699Z] ---> package-listing.sh [2023-02-22T05:32:43.699Z] ++ facter osfamily [2023-02-22T05:32:43.699Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-22T05:32:43.959Z] + OS_FAMILY=debian [2023-02-22T05:32:43.959Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-243 [2023-02-22T05:32:43.959Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-22T05:32:43.959Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-22T05:32:43.959Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-22T05:32:43.959Z] + PACKAGES=/tmp/packages_start.txt [2023-02-22T05:32:43.959Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-243 ']' [2023-02-22T05:32:43.959Z] + PACKAGES=/tmp/packages_end.txt [2023-02-22T05:32:43.959Z] + case "${OS_FAMILY}" in [2023-02-22T05:32:43.959Z] + dpkg -l [2023-02-22T05:32:43.959Z] + grep '^ii' [2023-02-22T05:32:43.959Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-22T05:32:43.959Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-22T05:32:43.959Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-22T05:32:43.959Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-243 ']' [2023-02-22T05:32:43.959Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-243/archives/ [2023-02-22T05:32:43.959Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-243/archives/ [Pipeline] echo [2023-02-22T05:32:43.991Z] 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-243/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-22T05:32:44.282Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:32:44.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T05:32:44.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:32:45.054Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-02-22T05:32:45.078Z] $ 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-243/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-243 -v /w/workspace/gexfoundry_device-snmp-go_PR-243:/w/workspace/gexfoundry_device-snmp-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-243@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-243@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-02-22T05:32:45.298Z] $ docker top b60eaa0f2f9794065ad7c5b55c3dfd86137b88c13ac9ed1ed4075e5b3fca28d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T05:32:45.704Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-22T05:32:46.010Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-22T05:32:46.316Z] + ls /var/log/sa-host [2023-02-22T05:32:46.317Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T05:32:46.447Z] provisioning config files... [2023-02-22T05:32:46.456Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-243@tmp/config666246262740738168tmp [Pipeline] { [Pipeline] echo [2023-02-22T05:32:46.510Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:46.816Z] ---> create-netrc.sh [Pipeline] } [2023-02-22T05:32:46.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:47.237Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-22T05:32:47.272Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:47.589Z] ---> sudo-logs.sh [2023-02-22T05:32:47.589Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-22T05:32:47.673Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:47.982Z] ---> job-cost.sh [2023-02-22T05:32:47.982Z] lf-activate-venv: SKIPPING [2023-02-22T05:32:47.982Z] DEBUG: total: 0.2199999988079071 [2023-02-22T05:32:47.982Z] INFO: Retrieving Stack Cost... [2023-02-22T05:32:48.241Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T05:32:48.498Z] INFO: Archiving Costs [Pipeline] echo [2023-02-22T05:32:48.537Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:32:48.852Z] ---> logs-deploy.sh [2023-02-22T05:32:48.852Z] lf-activate-venv: SKIPPING [2023-02-22T05:32:48.852Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-243/1 [2023-02-22T05:32:48.852Z] INFO: archiving workspace using pattern(s): [2023-02-22T05:32:49.787Z] Archives upload complete. [2023-02-22T05:32:49.787Z] INFO: archiving logs to Nexus