Pull request #239 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14bbc2862615fa4fba746b94c5a21f63544bfd95+2bd6e5dae59222faf073cfb9822f90f2048c0bba (acc4d683a350d0cee0ed3a120a226d28bd2390d2) 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-ssh6354341942814920886.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-ssh7960456312356333357.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-239/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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5054761634581918616.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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15606503056698543695.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-ssh816612302161843571.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-239/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-239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5462920810872183194.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6396 in /w/workspace/gexfoundry_device-snmp-go_PR-239 [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-239 # 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/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 14bbc2862615fa4fba746b94c5a21f63544bfd95 Merge succeeded, producing 14bbc2862615fa4fba746b94c5a21f63544bfd95 Checking out Revision 14bbc2862615fa4fba746b94c5a21f63544bfd95 (PR-239) 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-17T06:02:45.270Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 14bbc2862615fa4fba746b94c5a21f63544bfd95 # 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 14bbc2862615fa4fba746b94c5a21f63544bfd95 # timeout=10 [Pipeline] withCredentials [2023-02-17T06:02:45.432Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T06:02:45.519Z] ========================================================= [2023-02-17T06:02:45.519Z] EdgeX Global Pipelines Version Info [2023-02-17T06:02:45.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:02:46.262Z] ------------------- [2023-02-17T06:02:46.262Z] stable info: [2023-02-17T06:02:46.262Z] ------------------- [2023-02-17T06:02:46.262Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T06:02:46.262Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:02:46.262Z] Message: update stable to v1.0.244 [2023-02-17T06:02:46.832Z] ------------------- [2023-02-17T06:02:46.832Z] experimental info: [2023-02-17T06:02:46.832Z] ------------------- [2023-02-17T06:02:46.832Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T06:02:46.832Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:02:46.832Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T06:02:47.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-17T06:02:47.145Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-17T06:02:47.189Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T06:02:47.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T06:02:47.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T06:02:47.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T06:02:47.350Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T06:02:47.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T06:02:47.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T06:02:47.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T06:02:47.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T06:02:47.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-17T06:02:47.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T06:02:47.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T06:02:47.665Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T06:02:47.704Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T06:02:47.744Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:02:47.787Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:02:47.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T06:02:47.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T06:02:47.916Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T06:02:47.960Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T06:02:48.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T06:02:48.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T06:02:48.089Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T06:02:48.131Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T06:02:48.168Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T06:02:48.205Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-239 [Pipeline] echo [2023-02-17T06:02:48.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-239 [Pipeline] echo [2023-02-17T06:02:48.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-239 [Pipeline] echo [2023-02-17T06:02:48.322Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14bbc2862615fa4fba746b94c5a21f63544bfd95 [Pipeline] echo [2023-02-17T06:02:48.363Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14bbc28 [Pipeline] echo [2023-02-17T06:02:48.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:02:48.537Z] provisioning config files... [2023-02-17T06:02:48.553Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-239@tmp/config6066205626860574020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:02:48.891Z] ---> docker-login.sh [2023-02-17T06:02:48.891Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:02:49.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:02:49.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:02:49.410Z] Configure a credential helper to remove this warning. See [2023-02-17T06:02:49.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:02:49.410Z] [2023-02-17T06:02:49.410Z] Login Succeeded [2023-02-17T06:02:49.410Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:02:49.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:02:49.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:02:49.410Z] Configure a credential helper to remove this warning. See [2023-02-17T06:02:49.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:02:49.410Z] [2023-02-17T06:02:49.410Z] Login Succeeded [2023-02-17T06:02:49.410Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:02:49.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:02:49.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:02:49.671Z] Configure a credential helper to remove this warning. See [2023-02-17T06:02:49.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:02:49.671Z] [2023-02-17T06:02:49.671Z] Login Succeeded [2023-02-17T06:02:49.671Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:02:49.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:02:49.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:02:49.671Z] Configure a credential helper to remove this warning. See [2023-02-17T06:02:49.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:02:49.671Z] [2023-02-17T06:02:49.671Z] Login Succeeded [2023-02-17T06:02:49.671Z] docker.io [2023-02-17T06:02:49.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:02:49.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:02:49.931Z] Configure a credential helper to remove this warning. See [2023-02-17T06:02:49.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:02:49.931Z] [2023-02-17T06:02:49.931Z] Login Succeeded [2023-02-17T06:02:49.931Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:02:49.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T06:02:50.565Z] + git rev-list -1 --merges 14bbc2862615fa4fba746b94c5a21f63544bfd95~1..14bbc2862615fa4fba746b94c5a21f63544bfd95 [Pipeline] echo [2023-02-17T06:02:50.632Z] -----------> git rev-list -1 --merges 14bbc2862615fa4fba746b94c5a21f63544bfd95~1..14bbc2862615fa4fba746b94c5a21f63544bfd95 14bbc2862615fa4fba746b94c5a21f63544bfd95 [false] [Pipeline] sh [2023-02-17T06:02:50.945Z] + git log --format=format:%s -1 14bbc2862615fa4fba746b94c5a21f63544bfd95 [Pipeline] echo [2023-02-17T06:02:50.983Z] ========================================================= [2023-02-17T06:02:50.983Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T06:02:50.983Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:02:51.410Z] + git log --format=format:%s -1 14bbc2862615fa4fba746b94c5a21f63544bfd95 [Pipeline] echo [2023-02-17T06:02:51.438Z] [semverPrep] GIT_COMMIT: 14bbc2862615fa4fba746b94c5a21f63544bfd95, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-17T06:02:51.466Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T06:02:51.832Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T06:02:51.832Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T06:02:51.832Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T06:02:51.832Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T06:02:51.832Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-02-17T06:02:51.832Z] tee -a /etc/ssh/ssh_known_hosts [2023-02-17T06:02:51.832Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:02:52.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:02:52.261Z] [2023-02-17T06:02:52.261Z] 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-17T06:02:52.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:02:52.649Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T06:02:52.649Z] b85a868b505f: Pulling fs layer [2023-02-17T06:02:52.649Z] e2be974225ed: Pulling fs layer [2023-02-17T06:02:52.649Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T06:02:52.649Z] 988bab9f4d93: Pulling fs layer [2023-02-17T06:02:52.649Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T06:02:52.649Z] eaf3925da568: Pulling fs layer [2023-02-17T06:02:52.649Z] bab4dde63d76: Pulling fs layer [2023-02-17T06:02:52.649Z] bde34c3a00c8: Pulling fs layer [2023-02-17T06:02:52.649Z] b352a97aabf1: Pulling fs layer [2023-02-17T06:02:52.649Z] 4872d77fe225: Pulling fs layer [2023-02-17T06:02:52.649Z] 5851b861e8e6: Pulling fs layer [2023-02-17T06:02:52.649Z] 988bab9f4d93: Waiting [2023-02-17T06:02:52.649Z] 5851b861e8e6: Waiting [2023-02-17T06:02:52.649Z] 1469e6f7b9e6: Waiting [2023-02-17T06:02:52.649Z] b352a97aabf1: Waiting [2023-02-17T06:02:52.649Z] 4872d77fe225: Waiting [2023-02-17T06:02:52.649Z] bab4dde63d76: Waiting [2023-02-17T06:02:52.649Z] eaf3925da568: Waiting [2023-02-17T06:02:52.649Z] bde34c3a00c8: Waiting [2023-02-17T06:02:52.649Z] e2be974225ed: Download complete [2023-02-17T06:02:52.649Z] 988bab9f4d93: Verifying Checksum [2023-02-17T06:02:52.649Z] 988bab9f4d93: Download complete [2023-02-17T06:02:52.914Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T06:02:52.914Z] 1469e6f7b9e6: Download complete [2023-02-17T06:02:52.914Z] eaf3925da568: Verifying Checksum [2023-02-17T06:02:52.914Z] eaf3925da568: Download complete [2023-02-17T06:02:52.914Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T06:02:52.914Z] 339a4e72a1f5: Download complete [2023-02-17T06:02:52.914Z] bde34c3a00c8: Verifying Checksum [2023-02-17T06:02:52.914Z] bde34c3a00c8: Download complete [2023-02-17T06:02:53.176Z] b352a97aabf1: Verifying Checksum [2023-02-17T06:02:53.176Z] b352a97aabf1: Download complete [2023-02-17T06:02:53.176Z] 4872d77fe225: Verifying Checksum [2023-02-17T06:02:53.176Z] 4872d77fe225: Download complete [2023-02-17T06:02:53.176Z] 5851b861e8e6: Verifying Checksum [2023-02-17T06:02:53.176Z] 5851b861e8e6: Download complete [2023-02-17T06:02:53.176Z] b85a868b505f: Download complete [2023-02-17T06:02:53.436Z] bab4dde63d76: Verifying Checksum [2023-02-17T06:02:53.436Z] bab4dde63d76: Download complete [2023-02-17T06:02:54.374Z] b85a868b505f: Pull complete [2023-02-17T06:02:54.634Z] e2be974225ed: Pull complete [2023-02-17T06:02:55.203Z] 339a4e72a1f5: Pull complete [2023-02-17T06:02:55.203Z] 988bab9f4d93: Pull complete [2023-02-17T06:02:55.465Z] 1469e6f7b9e6: Pull complete [2023-02-17T06:02:55.465Z] eaf3925da568: Pull complete [2023-02-17T06:02:57.374Z] bab4dde63d76: Pull complete [2023-02-17T06:02:57.374Z] bde34c3a00c8: Pull complete [2023-02-17T06:02:57.636Z] b352a97aabf1: Pull complete [2023-02-17T06:02:57.636Z] 4872d77fe225: Pull complete [2023-02-17T06:02:57.636Z] 5851b861e8e6: Pull complete [2023-02-17T06:02:57.636Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T06:02:57.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:02:57.636Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:02:57.868Z] prd-ubuntu20.04-docker-8c-8g-6396 does not seem to be running inside a container [2023-02-17T06:02:57.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-239 -v /w/workspace/gexfoundry_device-snmp-go_PR-239:/w/workspace/gexfoundry_device-snmp-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-239@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-239@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-17T06:02:59.869Z] $ docker top 11f090d03361474daa4bdbc4e8e6c9b2cde0251a24372a17f20764a3729d3764 -eo pid,comm [2023-02-17T06:02:59.926Z] 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-17T06:02:59.926Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T06:03:00.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:03:00.054Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:03:00.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:03:00.177Z] $ docker exec 11f090d03361474daa4bdbc4e8e6c9b2cde0251a24372a17f20764a3729d3764 ssh-agent [2023-02-17T06:03:00.304Z] SSH_AUTH_SOCK=/tmp/ssh-exEciu52H5Uu/agent.32 [2023-02-17T06:03:00.304Z] SSH_AGENT_PID=38 [2023-02-17T06:03:00.311Z] Running ssh-add (command line suppressed) [2023-02-17T06:03:00.432Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-239@tmp/private_key_17965615982979376142.key (/w/workspace/gexfoundry_device-snmp-go_PR-239@tmp/private_key_17965615982979376142.key) [2023-02-17T06:03:00.447Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:03:00.779Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T06:03:00.809Z] $ docker exec --env ******** --env ******** 11f090d03361474daa4bdbc4e8e6c9b2cde0251a24372a17f20764a3729d3764 ssh-agent -k [2023-02-17T06:03:00.921Z] unset SSH_AUTH_SOCK; [2023-02-17T06:03:00.922Z] unset SSH_AGENT_PID; [2023-02-17T06:03:00.922Z] echo Agent pid 38 killed; [2023-02-17T06:03:00.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T06:03:01.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:03:01.018Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:03:01.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:03:01.129Z] $ docker exec 11f090d03361474daa4bdbc4e8e6c9b2cde0251a24372a17f20764a3729d3764 ssh-agent [2023-02-17T06:03:01.252Z] SSH_AUTH_SOCK=/tmp/ssh-3iH9m8EJkhrH/agent.71 [2023-02-17T06:03:01.252Z] SSH_AGENT_PID=78 [2023-02-17T06:03:01.257Z] Running ssh-add (command line suppressed) [2023-02-17T06:03:01.394Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-239@tmp/private_key_13236868449153513516.key (/w/workspace/gexfoundry_device-snmp-go_PR-239@tmp/private_key_13236868449153513516.key) [2023-02-17T06:03:01.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:03:01.737Z] + git semver init [2023-02-17T06:03:01.997Z] 2023-02-17 06:03:01,933 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T06:03:01.997Z] 2023-02-17 06:03:01,935 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-239/.semver [2023-02-17T06:03:01.997Z] 2023-02-17 06:03:01,935 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-239/.semver [2023-02-17T06:03:01.997Z] 2023-02-17 06:03:01,936 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-239/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-239, universal_newlines=False, shell=None, istream=None) [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,869 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-239/.git/info/exclude [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,870 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-239/.semver/PR-239 with force:False [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,870 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-239/.semver/PR-239 [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,874 [execute] INFO git cat-file --batch-check [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,881 [execute] INFO git cat-file --batch [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:03:02.936Z] 2023-02-17 06:03:02,887 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-239/.semver/PR-239 [2023-02-17T06:03:02.936Z] 0.0.0 [Pipeline] } [2023-02-17T06:03:02.962Z] $ docker exec --env ******** --env ******** 11f090d03361474daa4bdbc4e8e6c9b2cde0251a24372a17f20764a3729d3764 ssh-agent -k [2023-02-17T06:03:03.069Z] unset SSH_AUTH_SOCK; [2023-02-17T06:03:03.070Z] unset SSH_AGENT_PID; [2023-02-17T06:03:03.070Z] echo Agent pid 78 killed; [2023-02-17T06:03:03.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T06:03:03.501Z] + git semver [Pipeline] } [2023-02-17T06:03:03.786Z] $ docker stop --time=1 11f090d03361474daa4bdbc4e8e6c9b2cde0251a24372a17f20764a3729d3764 [2023-02-17T06:03:05.148Z] $ docker rm -f --volumes 11f090d03361474daa4bdbc4e8e6c9b2cde0251a24372a17f20764a3729d3764 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:03:05.541Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T06:03:05.837Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T06:03:05.856Z] [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-17T06:03:06.442Z] provisioning config files... [2023-02-17T06:03:06.452Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-239@tmp/config5063807030143730508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:03:06.794Z] ---> docker-login.sh [2023-02-17T06:03:06.794Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:03:06.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:03:06.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:03:06.794Z] Configure a credential helper to remove this warning. See [2023-02-17T06:03:06.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:03:06.794Z] [2023-02-17T06:03:06.794Z] Login Succeeded [2023-02-17T06:03:06.794Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:03:06.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:03:06.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:03:06.794Z] Configure a credential helper to remove this warning. See [2023-02-17T06:03:06.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:03:06.794Z] [2023-02-17T06:03:06.794Z] Login Succeeded [2023-02-17T06:03:06.794Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:03:07.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:03:07.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:03:07.054Z] Configure a credential helper to remove this warning. See [2023-02-17T06:03:07.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:03:07.054Z] [2023-02-17T06:03:07.054Z] Login Succeeded [2023-02-17T06:03:07.054Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:03:07.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:03:07.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:03:07.054Z] Configure a credential helper to remove this warning. See [2023-02-17T06:03:07.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:03:07.054Z] [2023-02-17T06:03:07.054Z] Login Succeeded [2023-02-17T06:03:07.054Z] docker.io [2023-02-17T06:03:07.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:03:07.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:03:07.625Z] Configure a credential helper to remove this warning. See [2023-02-17T06:03:07.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:03:07.625Z] [2023-02-17T06:03:07.625Z] Login Succeeded [2023-02-17T06:03:07.625Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:03:07.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T06:03:07.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:03:07.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:03:07.917Z] ========================================================= [2023-02-17T06:03:07.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T06:03:07.917Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:03:08.429Z] + 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-17T06:03:08.429Z] Sending build context to Docker daemon 5.68MB [2023-02-17T06:03:08.429Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:03:08.429Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T06:03:08.429Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T06:03:08.429Z] 213ec9aee27d: Pulling fs layer [2023-02-17T06:03:08.429Z] 4583459ba037: Pulling fs layer [2023-02-17T06:03:08.429Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T06:03:08.429Z] 53926ce57604: Pulling fs layer [2023-02-17T06:03:08.429Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T06:03:08.429Z] 22ff95d597cd: Pulling fs layer [2023-02-17T06:03:08.429Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T06:03:08.429Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T06:03:08.429Z] a7acece74701: Pulling fs layer [2023-02-17T06:03:08.429Z] 53926ce57604: Waiting [2023-02-17T06:03:08.429Z] 21b2b0c7a3f4: Waiting [2023-02-17T06:03:08.429Z] 22ff95d597cd: Waiting [2023-02-17T06:03:08.429Z] 12d6caf4c0d1: Waiting [2023-02-17T06:03:08.429Z] 96b7cbca73a9: Waiting [2023-02-17T06:03:08.429Z] a7acece74701: Waiting [2023-02-17T06:03:08.429Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T06:03:08.429Z] 93c1e223e6f2: Download complete [2023-02-17T06:03:08.429Z] 4583459ba037: Verifying Checksum [2023-02-17T06:03:08.429Z] 4583459ba037: Download complete [2023-02-17T06:03:08.694Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T06:03:08.694Z] 21b2b0c7a3f4: Download complete [2023-02-17T06:03:08.694Z] 22ff95d597cd: Download complete [2023-02-17T06:03:08.694Z] 213ec9aee27d: Download complete [2023-02-17T06:03:08.694Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T06:03:08.694Z] 12d6caf4c0d1: Download complete [2023-02-17T06:03:08.694Z] 213ec9aee27d: Pull complete [2023-02-17T06:03:08.965Z] 4583459ba037: Pull complete [2023-02-17T06:03:08.965Z] 93c1e223e6f2: Pull complete [2023-02-17T06:03:10.016Z] a7acece74701: Verifying Checksum [2023-02-17T06:03:10.016Z] a7acece74701: Download complete [2023-02-17T06:03:10.277Z] 53926ce57604: Verifying Checksum [2023-02-17T06:03:10.277Z] 53926ce57604: Download complete [2023-02-17T06:03:10.535Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T06:03:10.535Z] 96b7cbca73a9: Download complete [2023-02-17T06:03:13.819Z] 53926ce57604: Pull complete [2023-02-17T06:03:13.819Z] 21b2b0c7a3f4: Pull complete [2023-02-17T06:03:14.078Z] 22ff95d597cd: Pull complete [2023-02-17T06:03:14.078Z] 12d6caf4c0d1: Pull complete [2023-02-17T06:03:16.612Z] 96b7cbca73a9: Pull complete [2023-02-17T06:03:17.180Z] a7acece74701: Pull complete [2023-02-17T06:03:17.180Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T06:03:17.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T06:03:17.180Z] ---> db6d94c90886 [2023-02-17T06:03:17.180Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T06:03:19.718Z] ---> Running in 4299cb7a0aa9 [2023-02-17T06:03:19.718Z] Removing intermediate container 4299cb7a0aa9 [2023-02-17T06:03:19.718Z] ---> 9c560956283d [2023-02-17T06:03:19.718Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T06:03:19.718Z] ---> Running in 2c1775ad8f00 [2023-02-17T06:03:19.718Z] Removing intermediate container 2c1775ad8f00 [2023-02-17T06:03:19.718Z] ---> a61082c1ff36 [2023-02-17T06:03:19.718Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T06:03:19.978Z] ---> Running in ec43ef53c92a [2023-02-17T06:03:19.978Z] Removing intermediate container ec43ef53c92a [2023-02-17T06:03:19.978Z] ---> 470e7529f29b [2023-02-17T06:03:19.978Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T06:03:20.237Z] ---> Running in 7c1597ea7f76 [2023-02-17T06:03:20.237Z] Removing intermediate container 7c1597ea7f76 [2023-02-17T06:03:20.237Z] ---> 8c58289b833f [2023-02-17T06:03:20.237Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T06:03:20.494Z] ---> Running in 9cedbf133c6e [2023-02-17T06:03:20.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T06:03:20.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T06:03:21.259Z] Still waiting to schedule task [2023-02-17T06:03:21.260Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T06:03:21.320Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T06:03:21.320Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T06:03:21.320Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T06:03:21.320Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T06:03:21.320Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T06:03:21.320Z] OK: 216 MiB in 55 packages [2023-02-17T06:03:21.886Z] Removing intermediate container 9cedbf133c6e [2023-02-17T06:03:21.886Z] ---> 87e017d98239 [2023-02-17T06:03:21.886Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-17T06:03:21.886Z] ---> Running in 5aa4740b8fcc [2023-02-17T06:03:21.886Z] Removing intermediate container 5aa4740b8fcc [2023-02-17T06:03:21.886Z] ---> a4edd800c870 [2023-02-17T06:03:21.886Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T06:03:22.145Z] ---> 2939f0343473 [2023-02-17T06:03:22.145Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:03:22.145Z] ---> Running in f62086f0d522 [2023-02-17T06:03:44.096Z] Removing intermediate container f62086f0d522 [2023-02-17T06:03:44.096Z] ---> a82937003db7 [2023-02-17T06:03:44.096Z] Step 11/12 : COPY . . [2023-02-17T06:03:44.096Z] ---> ddfc8bd42693 [2023-02-17T06:03:44.096Z] Step 12/12 : RUN ${MAKE} [2023-02-17T06:03:44.096Z] ---> Running in ce2dd9b92687 [2023-02-17T06:03:44.096Z] noop [2023-02-17T06:03:44.096Z] Removing intermediate container ce2dd9b92687 [2023-02-17T06:03:44.096Z] ---> 26d0e79f01c1 [2023-02-17T06:03:44.096Z] Successfully built 26d0e79f01c1 [2023-02-17T06:03:44.357Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:03:44.797Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:03:44.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:03:44.947Z] prd-ubuntu20.04-docker-8c-8g-6396 does not seem to be running inside a container [2023-02-17T06:03:44.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-239 -v /w/workspace/gexfoundry_device-snmp-go_PR-239:/w/workspace/gexfoundry_device-snmp-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-239@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-239@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-17T06:03:45.356Z] $ docker top 5ede4e14912b081d3c74d041eff1fc70da829545e373ca803dfa9816ed1d65e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:03:45.758Z] + go version [2023-02-17T06:03:45.759Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T06:03:45.792Z] $ docker stop --time=1 5ede4e14912b081d3c74d041eff1fc70da829545e373ca803dfa9816ed1d65e7 [2023-02-17T06:03:47.192Z] $ docker rm -f --volumes 5ede4e14912b081d3c74d041eff1fc70da829545e373ca803dfa9816ed1d65e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:03:47.894Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:03:47.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:03:48.034Z] prd-ubuntu20.04-docker-8c-8g-6396 does not seem to be running inside a container [2023-02-17T06:03:48.073Z] $ 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-239 -v /w/workspace/gexfoundry_device-snmp-go_PR-239:/w/workspace/gexfoundry_device-snmp-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-239@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-239@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-17T06:03:48.429Z] $ docker top 2abe4bd191ff8e29c331ddb986cf1616607083380d17658bc9f4de86bc000bc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:03:48.810Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-239 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:03:49.171Z] + make test [2023-02-17T06:03:49.171Z] go test ./... -coverprofile=coverage.out [2023-02-17T06:03:49.431Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-17T06:03:55.996Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-17T06:03:55.996Z] /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-17T06:03:55.996Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-17T06:03:55.996Z] 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-17T06:03:55.996Z] 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-17T06:03:55.996Z] /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-17T06:03:56.930Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-17T06:03:56.930Z] /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-17T06:03:56.930Z] have (context.Context, requests.AddEventRequest) [2023-02-17T06:03:56.930Z] want (context.Context, string, requests.AddEventRequest) [2023-02-17T06:03:57.188Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.024s coverage: 0.0% of statements [2023-02-17T06:03:57.188Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-17T06:03:57.231Z] $ docker stop --time=1 2abe4bd191ff8e29c331ddb986cf1616607083380d17658bc9f4de86bc000bc7 [2023-02-17T06:03:59.176Z] $ docker rm -f --volumes 2abe4bd191ff8e29c331ddb986cf1616607083380d17658bc9f4de86bc000bc7 [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-17T06:04:00.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:04:00.373Z] [2023-02-17T06:04:00.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:04:00.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:04:00.743Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T06:04:00.743Z] 5eb5b503b376: Pulling fs layer [2023-02-17T06:04:00.743Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T06:04:00.743Z] ec43610c2a17: Pulling fs layer [2023-02-17T06:04:00.743Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T06:04:00.743Z] 33b1e0a273af: Pulling fs layer [2023-02-17T06:04:00.743Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T06:04:00.743Z] 2f39f015ded8: Pulling fs layer [2023-02-17T06:04:00.743Z] 33b1e0a273af: Waiting [2023-02-17T06:04:00.743Z] 5d3b04190fa2: Waiting [2023-02-17T06:04:00.743Z] 2f39f015ded8: Waiting [2023-02-17T06:04:00.743Z] 3a2ae6a8a46f: Waiting [2023-02-17T06:04:01.006Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T06:04:01.006Z] 5c69ac0246d0: Download complete [2023-02-17T06:04:01.006Z] 3a2ae6a8a46f: Download complete [2023-02-17T06:04:01.267Z] ec43610c2a17: Verifying Checksum [2023-02-17T06:04:01.267Z] ec43610c2a17: Download complete [2023-02-17T06:04:01.267Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T06:04:01.267Z] 5d3b04190fa2: Download complete [2023-02-17T06:04:01.267Z] 33b1e0a273af: Verifying Checksum [2023-02-17T06:04:01.267Z] 5eb5b503b376: Verifying Checksum [2023-02-17T06:04:01.267Z] 5eb5b503b376: Download complete [2023-02-17T06:04:02.206Z] 2f39f015ded8: Download complete [2023-02-17T06:04:02.463Z] 5eb5b503b376: Pull complete [2023-02-17T06:04:02.754Z] 5c69ac0246d0: Pull complete [2023-02-17T06:04:03.036Z] ec43610c2a17: Pull complete [2023-02-17T06:04:03.310Z] 3a2ae6a8a46f: Pull complete [2023-02-17T06:04:03.310Z] 33b1e0a273af: Pull complete [2023-02-17T06:04:03.574Z] 5d3b04190fa2: Pull complete [2023-02-17T06:04:07.758Z] 2f39f015ded8: Pull complete [2023-02-17T06:04:07.759Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T06:04:07.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:04:07.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:04:07.969Z] prd-ubuntu20.04-docker-8c-8g-6396 does not seem to be running inside a container [2023-02-17T06:04:08.005Z] $ 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-239 -v /w/workspace/gexfoundry_device-snmp-go_PR-239:/w/workspace/gexfoundry_device-snmp-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-239@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-239@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-17T06:04:10.297Z] $ docker top feb6f7a2885697d28174802704157a3def7eab46a257374af047514a5c4560bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:04:10.743Z] ---> job-cost.sh [2023-02-17T06:04:10.743Z] lf-activate-venv: SKIPPING [2023-02-17T06:04:10.743Z] INFO: No Stack... [2023-02-17T06:04:11.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:04:11.260Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:04:11.571Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-239/archives/cost.csv [2023-02-17T06:04:11.572Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T06:04:11.613Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] [2023-02-17T06:04:11.618Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] did not exist. Created. [2023-02-17T06:04:11.618Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:04:12.014Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T06:04:12.070Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:04:12.099Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:04:12.169Z] $ docker stop --time=1 feb6f7a2885697d28174802704157a3def7eab46a257374af047514a5c4560bf [2023-02-17T06:04:13.314Z] $ docker rm -f --volumes feb6f7a2885697d28174802704157a3def7eab46a257374af047514a5c4560bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T06:04:13.646Z] Failed in branch amd64 [2023-02-17T06:06:37.222Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6399 in /w/workspace/gexfoundry_device-snmp-go_PR-239 [Pipeline] { [Pipeline] ws [2023-02-17T06:06:37.275Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-17T06:06:37.384Z] Selected Git installation does not exist. Using Default [2023-02-17T06:06:37.384Z] The recommended git tool is: NONE [2023-02-17T06:06:46.355Z] using credential edgex-jenkins-ssh [2023-02-17T06:06:46.381Z] Cloning the remote Git repository [2023-02-17T06:06:46.446Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-17T06:06:46.545Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-17T06:06:46.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-17T06:06:46.753Z] > git --version # timeout=10 [2023-02-17T06:06:46.781Z] > git --version # 'git version 2.25.1' [2023-02-17T06:06:46.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:06:46.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:06:48.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-17T06:06:48.073Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:06:49.915Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 14bbc2862615fa4fba746b94c5a21f63544bfd95 [2023-02-17T06:06:50.177Z] Merge succeeded, producing 14bbc2862615fa4fba746b94c5a21f63544bfd95 [2023-02-17T06:06:50.177Z] Checking out Revision 14bbc2862615fa4fba746b94c5a21f63544bfd95 (PR-239) [2023-02-17T06:06:49.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-17T06:06:49.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-17T06:06:49.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:06:49.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T06:06:49.936Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:06:49.957Z] > git checkout -f 14bbc2862615fa4fba746b94c5a21f63544bfd95 # timeout=10 [2023-02-17T06:06:50.062Z] > git remote # timeout=10 [2023-02-17T06:06:50.083Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T06:06:50.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:06:50.123Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-17T06:06:50.154Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T06:06:50.185Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:06:50.210Z] > git checkout -f 14bbc2862615fa4fba746b94c5a21f63544bfd95 # timeout=10 [2023-02-17T06:06:50.812Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-17T06:06:50.883Z] > git --version # timeout=10 [2023-02-17T06:06:50.898Z] > git --version # 'git version 2.25.1' [2023-02-17T06:06:50.914Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:06:52.012Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T06:06:52.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T06:06:52.012Z] Dload Upload Total Spent Left Speed [2023-02-17T06:06:52.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 131k 0 --:--:-- --:--:-- --:--:-- 131k [Pipeline] sh [2023-02-17T06:06:52.675Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T06:06:53.032Z] + sudo tee /etc/docker/daemon.new [2023-02-17T06:06:53.032Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T06:06:53.032Z] { [2023-02-17T06:06:53.032Z] "registry-mirrors": [ [2023-02-17T06:06:53.032Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T06:06:53.032Z] ], [2023-02-17T06:06:53.032Z] "bip": "10.250.0.254/24", [2023-02-17T06:06:53.032Z] "hosts": [ [2023-02-17T06:06:53.032Z] "tcp://0.0.0.0:5555", [2023-02-17T06:06:53.032Z] "unix:///var/run/docker.sock" [2023-02-17T06:06:53.032Z] ], [2023-02-17T06:06:53.032Z] "mtu": 1458, [2023-02-17T06:06:53.032Z] "selinux-enabled": true, [2023-02-17T06:06:53.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T06:06:53.032Z] } [Pipeline] sh [2023-02-17T06:06:53.387Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T06:06:53.769Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:07:12.168Z] provisioning config files... [2023-02-17T06:07:12.204Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5479041186903219715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:07:12.618Z] ---> docker-login.sh [2023-02-17T06:07:12.618Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:07:13.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:07:13.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:07:13.219Z] Configure a credential helper to remove this warning. See [2023-02-17T06:07:13.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:07:13.219Z] [2023-02-17T06:07:13.219Z] Login Succeeded [2023-02-17T06:07:13.219Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:07:13.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:07:13.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:07:13.853Z] Configure a credential helper to remove this warning. See [2023-02-17T06:07:13.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:07:13.853Z] [2023-02-17T06:07:13.853Z] Login Succeeded [2023-02-17T06:07:13.853Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:07:14.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:07:14.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:07:14.141Z] Configure a credential helper to remove this warning. See [2023-02-17T06:07:14.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:07:14.141Z] [2023-02-17T06:07:14.141Z] Login Succeeded [2023-02-17T06:07:14.141Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:07:14.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:07:14.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:07:14.694Z] Configure a credential helper to remove this warning. See [2023-02-17T06:07:14.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:07:14.694Z] [2023-02-17T06:07:14.694Z] Login Succeeded [2023-02-17T06:07:14.694Z] docker.io [2023-02-17T06:07:14.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:07:15.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:07:15.243Z] Configure a credential helper to remove this warning. See [2023-02-17T06:07:15.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:07:15.243Z] [2023-02-17T06:07:15.243Z] Login Succeeded [2023-02-17T06:07:15.243Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:07:15.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T06:07:15.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:07:15.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:07:15.786Z] ========================================================= [2023-02-17T06:07:15.786Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T06:07:15.786Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:07:16.298Z] + 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-17T06:07:16.572Z] Sending build context to Docker daemon 2.94MB [2023-02-17T06:07:16.572Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:07:16.572Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T06:07:16.849Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T06:07:16.849Z] 9b18e9b68314: Pulling fs layer [2023-02-17T06:07:16.849Z] 35d82f9e3411: Pulling fs layer [2023-02-17T06:07:16.849Z] e16973657156: Pulling fs layer [2023-02-17T06:07:16.849Z] fc693d55d65f: Pulling fs layer [2023-02-17T06:07:16.849Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T06:07:16.849Z] dda99020689f: Pulling fs layer [2023-02-17T06:07:16.849Z] db1c61fa0a46: Pulling fs layer [2023-02-17T06:07:16.849Z] 891c053d2c06: Pulling fs layer [2023-02-17T06:07:16.849Z] fc693d55d65f: Waiting [2023-02-17T06:07:16.849Z] dda99020689f: Waiting [2023-02-17T06:07:16.849Z] 7e9fc2657dce: Waiting [2023-02-17T06:07:16.849Z] db1c61fa0a46: Waiting [2023-02-17T06:07:16.849Z] e16973657156: Verifying Checksum [2023-02-17T06:07:16.849Z] e16973657156: Download complete [2023-02-17T06:07:16.849Z] 35d82f9e3411: Verifying Checksum [2023-02-17T06:07:16.849Z] 35d82f9e3411: Download complete [2023-02-17T06:07:16.849Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T06:07:16.849Z] 7e9fc2657dce: Download complete [2023-02-17T06:07:16.849Z] dda99020689f: Download complete [2023-02-17T06:07:16.849Z] 9b18e9b68314: Verifying Checksum [2023-02-17T06:07:18.312Z] 9b18e9b68314: Pull complete [2023-02-17T06:07:18.312Z] 891c053d2c06: Verifying Checksum [2023-02-17T06:07:18.312Z] 891c053d2c06: Download complete [2023-02-17T06:07:18.586Z] 35d82f9e3411: Pull complete [2023-02-17T06:07:19.194Z] e16973657156: Pull complete [2023-02-17T06:07:19.794Z] db1c61fa0a46: Verifying Checksum [2023-02-17T06:07:19.794Z] db1c61fa0a46: Download complete [2023-02-17T06:07:20.389Z] fc693d55d65f: Verifying Checksum [2023-02-17T06:07:20.389Z] fc693d55d65f: Download complete [2023-02-17T06:07:32.757Z] fc693d55d65f: Pull complete [2023-02-17T06:07:32.757Z] 7e9fc2657dce: Pull complete [2023-02-17T06:07:32.757Z] dda99020689f: Pull complete [2023-02-17T06:07:39.452Z] db1c61fa0a46: Pull complete [2023-02-17T06:07:40.423Z] 891c053d2c06: Pull complete [2023-02-17T06:07:40.695Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T06:07:40.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T06:07:40.695Z] ---> f96f9c87975a [2023-02-17T06:07:40.695Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T06:07:42.675Z] ---> Running in 41800e828e5f [2023-02-17T06:07:42.947Z] Removing intermediate container 41800e828e5f [2023-02-17T06:07:42.947Z] ---> ac1306904284 [2023-02-17T06:07:42.947Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T06:07:43.217Z] ---> Running in 881ab474ff04 [2023-02-17T06:07:43.490Z] Removing intermediate container 881ab474ff04 [2023-02-17T06:07:43.490Z] ---> 682d47124557 [2023-02-17T06:07:43.491Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T06:07:43.491Z] ---> Running in b05a3120c0cf [2023-02-17T06:07:44.088Z] Removing intermediate container b05a3120c0cf [2023-02-17T06:07:44.088Z] ---> 6bb4459da044 [2023-02-17T06:07:44.088Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T06:07:44.088Z] ---> Running in 294db690ddec [2023-02-17T06:07:44.362Z] Removing intermediate container 294db690ddec [2023-02-17T06:07:44.362Z] ---> 6cfc5d3f5225 [2023-02-17T06:07:44.362Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T06:07:44.362Z] ---> Running in 3c4d091a2437 [2023-02-17T06:07:45.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T06:07:46.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T06:07:47.356Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T06:07:47.356Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T06:07:47.356Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T06:07:47.356Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T06:07:47.628Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T06:07:47.628Z] OK: 226 MiB in 55 packages [2023-02-17T06:07:48.614Z] Removing intermediate container 3c4d091a2437 [2023-02-17T06:07:48.614Z] ---> 07d376d57201 [2023-02-17T06:07:48.614Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-17T06:07:48.614Z] ---> Running in 48d372e57701 [2023-02-17T06:07:49.209Z] Removing intermediate container 48d372e57701 [2023-02-17T06:07:49.209Z] ---> 3ac27abaafb9 [2023-02-17T06:07:49.209Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T06:07:49.481Z] ---> b11dbcc0bb97 [2023-02-17T06:07:49.481Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:07:49.752Z] ---> Running in 9148a85f9572 [2023-02-17T06:08:57.712Z] Removing intermediate container 9148a85f9572 [2023-02-17T06:08:57.712Z] ---> a0a1480b7851 [2023-02-17T06:08:57.712Z] Step 11/12 : COPY . . [2023-02-17T06:08:57.712Z] ---> 67af4d0083ea [2023-02-17T06:08:57.712Z] Step 12/12 : RUN ${MAKE} [2023-02-17T06:08:57.712Z] ---> Running in 1007326b8fdc [2023-02-17T06:08:57.712Z] noop [2023-02-17T06:08:57.712Z] Removing intermediate container 1007326b8fdc [2023-02-17T06:08:57.712Z] ---> 3a77997d59bb [2023-02-17T06:08:57.712Z] Successfully built 3a77997d59bb [2023-02-17T06:08:57.712Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:08:58.195Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:08:58.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:08:58.486Z] prd-ubuntu20.04-docker-arm64-4c-16g-6399 does not seem to be running inside a container [2023-02-17T06:08:58.562Z] $ 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-17T06:08:59.838Z] $ docker top cea294558a5b3cc7a85c833dae8dcc1cab27dcff225769d383b77f8ed6253be6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:09:00.726Z] + go version [2023-02-17T06:09:00.726Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T06:09:00.770Z] $ docker stop --time=1 cea294558a5b3cc7a85c833dae8dcc1cab27dcff225769d383b77f8ed6253be6 [2023-02-17T06:09:02.435Z] $ docker rm -f --volumes cea294558a5b3cc7a85c833dae8dcc1cab27dcff225769d383b77f8ed6253be6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:09:03.300Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:09:03.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:09:03.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-6399 does not seem to be running inside a container [2023-02-17T06:09:03.631Z] $ 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-17T06:09:04.857Z] $ docker top 9745dd0583e883c802e7435a96c342caff7c7ee583df5f0164581d2083328d80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:09:05.754Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:09:06.465Z] + make test [2023-02-17T06:09:06.466Z] go test ./... -coverprofile=coverage.out [2023-02-17T06:09:08.418Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-17T06:10:04.873Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-17T06:10:04.873Z] /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-17T06:10:04.873Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-17T06:10:04.873Z] 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-17T06:10:04.873Z] 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-17T06:10:04.873Z] /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-17T06:10:23.118Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-17T06:10:23.118Z] /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-17T06:10:23.118Z] have (context.Context, requests.AddEventRequest) [2023-02-17T06:10:23.118Z] want (context.Context, string, requests.AddEventRequest) [2023-02-17T06:10:31.366Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements [2023-02-17T06:10:31.366Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-17T06:10:31.423Z] $ docker stop --time=1 9745dd0583e883c802e7435a96c342caff7c7ee583df5f0164581d2083328d80 [2023-02-17T06:10:33.236Z] $ docker rm -f --volumes 9745dd0583e883c802e7435a96c342caff7c7ee583df5f0164581d2083328d80 [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-17T06:10:34.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:10:34.688Z] [2023-02-17T06:10:34.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:10:35.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:10:36.505Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T06:10:36.505Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T06:10:36.505Z] 04944245beec: Pulling fs layer [2023-02-17T06:10:36.505Z] 699f458cf7ca: Pulling fs layer [2023-02-17T06:10:36.505Z] 765212b225bb: Pulling fs layer [2023-02-17T06:10:36.505Z] f23df028b6ca: Pulling fs layer [2023-02-17T06:10:36.505Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T06:10:36.505Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T06:10:36.505Z] f23df028b6ca: Waiting [2023-02-17T06:10:36.505Z] 765212b225bb: Waiting [2023-02-17T06:10:36.505Z] d65c8cfc05b1: Waiting [2023-02-17T06:10:36.505Z] 2437ff75d9bd: Waiting [2023-02-17T06:10:36.505Z] 04944245beec: Verifying Checksum [2023-02-17T06:10:36.505Z] 04944245beec: Download complete [2023-02-17T06:10:36.505Z] 765212b225bb: Verifying Checksum [2023-02-17T06:10:36.505Z] 765212b225bb: Download complete [2023-02-17T06:10:36.505Z] f23df028b6ca: Download complete [2023-02-17T06:10:36.505Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T06:10:36.505Z] d65c8cfc05b1: Download complete [2023-02-17T06:10:36.505Z] 699f458cf7ca: Verifying Checksum [2023-02-17T06:10:36.505Z] 699f458cf7ca: Download complete [2023-02-17T06:10:37.099Z] 8998bd30e6a1: Download complete [2023-02-17T06:10:39.048Z] 2437ff75d9bd: Download complete [2023-02-17T06:10:40.999Z] 8998bd30e6a1: Pull complete [2023-02-17T06:10:41.269Z] 04944245beec: Pull complete [2023-02-17T06:10:42.693Z] 699f458cf7ca: Pull complete [2023-02-17T06:10:42.693Z] 765212b225bb: Pull complete [2023-02-17T06:10:43.674Z] f23df028b6ca: Pull complete [2023-02-17T06:10:43.943Z] d65c8cfc05b1: Pull complete [2023-02-17T06:10:58.951Z] 2437ff75d9bd: Pull complete [2023-02-17T06:10:58.951Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T06:10:58.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:10:58.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:10:59.280Z] prd-ubuntu20.04-docker-arm64-4c-16g-6399 does not seem to be running inside a container [2023-02-17T06:10:59.359Z] $ 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-17T06:11:02.121Z] $ docker top ab1254162ee688da992b9bf07186430d384151dcacb9711f2f31bf24fd88c037 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:03.028Z] ---> job-cost.sh [2023-02-17T06:11:03.028Z] lf-activate-venv: SKIPPING [2023-02-17T06:11:03.028Z] INFO: No Stack... [2023-02-17T06:11:03.664Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T06:11:04.668Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:11:05.358Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-17T06:11:05.358Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T06:11:05.488Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] [2023-02-17T06:11:05.492Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] did not exist. Created. [2023-02-17T06:11:05.492Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:11:06.213Z] /w/workspace/device-snmp-go/1@tmp/durable-4c9948f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T06:11:06.891Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T06:11:06.924Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T06:11:07.439Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:11:07.454Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:11:07.536Z] $ docker stop --time=1 ab1254162ee688da992b9bf07186430d384151dcacb9711f2f31bf24fd88c037 [2023-02-17T06:11:09.093Z] $ docker rm -f --volumes ab1254162ee688da992b9bf07186430d384151dcacb9711f2f31bf24fd88c037 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T06:11:09.817Z] 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-17T06:11:11.659Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-239/archives ] [2023-02-17T06:11:11.659Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-239/archives [2023-02-17T06:11:11.659Z] total 16 [2023-02-17T06:11:11.659Z] drwxr-xr-x 3 root root 4096 Feb 17 06:04 . [2023-02-17T06:11:11.659Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 06:04 .. [2023-02-17T06:11:11.659Z] drwxr-xr-x 2 root root 4096 Feb 17 06:04 cost [2023-02-17T06:11:11.659Z] -rw-r--r-- 1 root root 86 Feb 17 06:04 cost.csv [2023-02-17T06:11:11.659Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-239/archives [2023-02-17T06:11:11.659Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-239/archives [2023-02-17T06:11:11.659Z] total 16 [2023-02-17T06:11:11.659Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:04 . [2023-02-17T06:11:11.659Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 06:04 .. [2023-02-17T06:11:11.659Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 06:04 cost [2023-02-17T06:11:11.659Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 06:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:11.986Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:12.880Z] ---> package-listing.sh [2023-02-17T06:11:12.880Z] ++ facter osfamily [2023-02-17T06:11:12.880Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T06:11:13.140Z] + OS_FAMILY=debian [2023-02-17T06:11:13.140Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-239 [2023-02-17T06:11:13.140Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T06:11:13.140Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T06:11:13.140Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T06:11:13.140Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T06:11:13.140Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-239 ']' [2023-02-17T06:11:13.140Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T06:11:13.140Z] + case "${OS_FAMILY}" in [2023-02-17T06:11:13.140Z] + dpkg -l [2023-02-17T06:11:13.140Z] + grep '^ii' [2023-02-17T06:11:13.140Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T06:11:13.140Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T06:11:13.140Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T06:11:13.140Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-239 ']' [2023-02-17T06:11:13.140Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-239/archives/ [2023-02-17T06:11:13.140Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-239/archives/ [Pipeline] echo [2023-02-17T06:11:13.175Z] 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-239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T06:11:13.468Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:11:14.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:11:14.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:11:14.221Z] prd-ubuntu20.04-docker-8c-8g-6396 does not seem to be running inside a container [2023-02-17T06:11:14.250Z] $ 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-239/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-239 -v /w/workspace/gexfoundry_device-snmp-go_PR-239:/w/workspace/gexfoundry_device-snmp-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-239@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-239@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-17T06:11:14.477Z] $ docker top 42a806f1a4be5b579c462f4f10768cbe2428810f231b9739a1c3b4f29fb20940 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:11:14.866Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T06:11:15.175Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T06:11:15.483Z] + ls /var/log/sa-host [2023-02-17T06:11:15.483Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:11:15.613Z] provisioning config files... [2023-02-17T06:11:15.623Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-239@tmp/config16927662635289074212tmp [Pipeline] { [Pipeline] echo [2023-02-17T06:11:15.667Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:15.982Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T06:11:16.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:16.402Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T06:11:16.435Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:16.749Z] ---> sudo-logs.sh [2023-02-17T06:11:16.749Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T06:11:16.838Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:17.149Z] ---> job-cost.sh [2023-02-17T06:11:17.149Z] lf-activate-venv: SKIPPING [2023-02-17T06:11:17.149Z] DEBUG: total: 0.2199999988079071 [2023-02-17T06:11:17.149Z] INFO: Retrieving Stack Cost... [2023-02-17T06:11:18.087Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:11:18.354Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T06:11:18.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:11:18.708Z] ---> logs-deploy.sh [2023-02-17T06:11:18.708Z] lf-activate-venv: SKIPPING [2023-02-17T06:11:18.708Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-239/1 [2023-02-17T06:11:18.708Z] INFO: archiving workspace using pattern(s): [2023-02-17T06:11:19.646Z] Archives upload complete. [2023-02-17T06:11:19.646Z] INFO: archiving logs to Nexus