Pull request #240 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1bb3516a1823a7cd73c734dc0355ac335e9bb321+2bd6e5dae59222faf073cfb9822f90f2048c0bba (c104c01fa9e85edf9d43783a568fcd0c31592190) 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-ssh11819777187160875302.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-ssh8538394924445742014.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-240/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-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8987666980363378366.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-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8593071975251645545.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-ssh18270569389325892671.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-240/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-240/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10960359214208028899.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-6702’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6706 in /w/workspace/gexfoundry_device-snmp-go_PR-240 [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-240 # 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/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 1bb3516a1823a7cd73c734dc0355ac335e9bb321 Merge succeeded, producing 1bb3516a1823a7cd73c734dc0355ac335e9bb321 Checking out Revision 1bb3516a1823a7cd73c734dc0355ac335e9bb321 (PR-240) 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-20T05:59:29.689Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T05:59:29.870Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-20T05:59:29.957Z] ========================================================= [2023-02-20T05:59:29.957Z] EdgeX Global Pipelines Version Info [2023-02-20T05:59:29.957Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 1bb3516a1823a7cd73c734dc0355ac335e9bb321 # 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 1bb3516a1823a7cd73c734dc0355ac335e9bb321 # timeout=10 [2023-02-20T05:59:30.738Z] ------------------- [2023-02-20T05:59:30.738Z] stable info: [2023-02-20T05:59:30.738Z] ------------------- [2023-02-20T05:59:30.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T05:59:30.738Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T05:59:30.738Z] Message: update stable to v1.0.244 [2023-02-20T05:59:31.309Z] ------------------- [2023-02-20T05:59:31.309Z] experimental info: [2023-02-20T05:59:31.309Z] ------------------- [2023-02-20T05:59:31.309Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T05:59:31.309Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T05:59:31.309Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T05:59:31.604Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-20T05:59:31.655Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-20T05:59:31.693Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T05:59:31.731Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T05:59:31.772Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T05:59:31.808Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T05:59:31.845Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T05:59:31.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-20T05:59:31.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T05:59:31.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T05:59:31.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T05:59:32.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-20T05:59:32.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T05:59:32.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T05:59:32.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T05:59:32.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T05:59:32.240Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T05:59:32.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T05:59:32.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T05:59:32.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T05:59:32.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-20T05:59:32.444Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-20T05:59:32.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T05:59:32.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T05:59:32.560Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T05:59:32.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T05:59:32.637Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T05:59:32.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-240 [Pipeline] echo [2023-02-20T05:59:32.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-240 [Pipeline] echo [2023-02-20T05:59:32.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-240 [Pipeline] echo [2023-02-20T05:59:32.807Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bb3516a1823a7cd73c734dc0355ac335e9bb321 [Pipeline] echo [2023-02-20T05:59:32.849Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bb3516 [Pipeline] echo [2023-02-20T05:59:32.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T05:59:33.009Z] provisioning config files... [2023-02-20T05:59:33.023Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-240@tmp/config12602342522734858828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T05:59:33.372Z] ---> docker-login.sh [2023-02-20T05:59:33.372Z] nexus3.edgexfoundry.org:10001 [2023-02-20T05:59:33.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:33.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:33.631Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:33.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:33.631Z] [2023-02-20T05:59:33.631Z] Login Succeeded [2023-02-20T05:59:33.631Z] nexus3.edgexfoundry.org:10002 [2023-02-20T05:59:33.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:33.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:33.891Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:33.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:33.891Z] [2023-02-20T05:59:33.891Z] Login Succeeded [2023-02-20T05:59:33.891Z] nexus3.edgexfoundry.org:10003 [2023-02-20T05:59:33.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:33.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:33.891Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:33.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:33.891Z] [2023-02-20T05:59:33.891Z] Login Succeeded [2023-02-20T05:59:33.891Z] nexus3.edgexfoundry.org:10004 [2023-02-20T05:59:33.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:33.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:33.891Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:33.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:33.891Z] [2023-02-20T05:59:33.891Z] Login Succeeded [2023-02-20T05:59:33.891Z] docker.io [2023-02-20T05:59:34.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:34.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:34.411Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:34.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:34.411Z] [2023-02-20T05:59:34.411Z] Login Succeeded [2023-02-20T05:59:34.411Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T05:59:34.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T05:59:35.052Z] + git rev-list -1 --merges 1bb3516a1823a7cd73c734dc0355ac335e9bb321~1..1bb3516a1823a7cd73c734dc0355ac335e9bb321 [Pipeline] echo [2023-02-20T05:59:35.114Z] -----------> git rev-list -1 --merges 1bb3516a1823a7cd73c734dc0355ac335e9bb321~1..1bb3516a1823a7cd73c734dc0355ac335e9bb321 1bb3516a1823a7cd73c734dc0355ac335e9bb321 [false] [Pipeline] sh [2023-02-20T05:59:35.426Z] + git log --format=format:%s -1 1bb3516a1823a7cd73c734dc0355ac335e9bb321 [Pipeline] echo [2023-02-20T05:59:35.459Z] ========================================================= [2023-02-20T05:59:35.459Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T05:59:35.459Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T05:59:35.876Z] + git log --format=format:%s -1 1bb3516a1823a7cd73c734dc0355ac335e9bb321 [Pipeline] echo [2023-02-20T05:59:35.912Z] [semverPrep] GIT_COMMIT: 1bb3516a1823a7cd73c734dc0355ac335e9bb321, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-20T05:59:35.941Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T05:59:36.361Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T05:59:36.361Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T05:59:36.361Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T05:59:36.361Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T05:59:36.361Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-20T05:59:36.361Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-20T05:59:36.361Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T05:59:36.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T05:59:36.798Z] [2023-02-20T05:59:36.798Z] 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-20T05:59:37.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T05:59:37.170Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T05:59:37.170Z] b85a868b505f: Pulling fs layer [2023-02-20T05:59:37.170Z] e2be974225ed: Pulling fs layer [2023-02-20T05:59:37.170Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T05:59:37.170Z] 988bab9f4d93: Pulling fs layer [2023-02-20T05:59:37.170Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T05:59:37.170Z] eaf3925da568: Pulling fs layer [2023-02-20T05:59:37.170Z] 988bab9f4d93: Waiting [2023-02-20T05:59:37.170Z] eaf3925da568: Waiting [2023-02-20T05:59:37.170Z] bab4dde63d76: Pulling fs layer [2023-02-20T05:59:37.170Z] bde34c3a00c8: Pulling fs layer [2023-02-20T05:59:37.170Z] b352a97aabf1: Pulling fs layer [2023-02-20T05:59:37.170Z] 4872d77fe225: Pulling fs layer [2023-02-20T05:59:37.170Z] 5851b861e8e6: Pulling fs layer [2023-02-20T05:59:37.170Z] bab4dde63d76: Waiting [2023-02-20T05:59:37.170Z] bde34c3a00c8: Waiting [2023-02-20T05:59:37.170Z] b352a97aabf1: Waiting [2023-02-20T05:59:37.170Z] 4872d77fe225: Waiting [2023-02-20T05:59:37.170Z] 5851b861e8e6: Waiting [2023-02-20T05:59:37.170Z] e2be974225ed: Verifying Checksum [2023-02-20T05:59:37.170Z] e2be974225ed: Download complete [2023-02-20T05:59:37.170Z] 988bab9f4d93: Verifying Checksum [2023-02-20T05:59:37.170Z] 988bab9f4d93: Download complete [2023-02-20T05:59:37.430Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T05:59:37.430Z] 1469e6f7b9e6: Download complete [2023-02-20T05:59:37.430Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T05:59:37.430Z] 339a4e72a1f5: Download complete [2023-02-20T05:59:37.430Z] eaf3925da568: Verifying Checksum [2023-02-20T05:59:37.430Z] eaf3925da568: Download complete [2023-02-20T05:59:37.430Z] bde34c3a00c8: Download complete [2023-02-20T05:59:37.430Z] b352a97aabf1: Verifying Checksum [2023-02-20T05:59:37.430Z] b352a97aabf1: Download complete [2023-02-20T05:59:37.430Z] 4872d77fe225: Download complete [2023-02-20T05:59:37.430Z] 5851b861e8e6: Verifying Checksum [2023-02-20T05:59:37.430Z] 5851b861e8e6: Download complete [2023-02-20T05:59:37.430Z] b85a868b505f: Verifying Checksum [2023-02-20T05:59:37.430Z] b85a868b505f: Download complete [2023-02-20T05:59:37.689Z] bab4dde63d76: Verifying Checksum [2023-02-20T05:59:37.689Z] bab4dde63d76: Download complete [2023-02-20T05:59:38.625Z] b85a868b505f: Pull complete [2023-02-20T05:59:38.625Z] e2be974225ed: Pull complete [2023-02-20T05:59:39.192Z] 339a4e72a1f5: Pull complete [2023-02-20T05:59:39.192Z] 988bab9f4d93: Pull complete [2023-02-20T05:59:39.450Z] 1469e6f7b9e6: Pull complete [2023-02-20T05:59:39.450Z] eaf3925da568: Pull complete [2023-02-20T05:59:41.347Z] bab4dde63d76: Pull complete [2023-02-20T05:59:41.347Z] bde34c3a00c8: Pull complete [2023-02-20T05:59:41.347Z] b352a97aabf1: Pull complete [2023-02-20T05:59:41.347Z] 4872d77fe225: Pull complete [2023-02-20T05:59:41.347Z] 5851b861e8e6: Pull complete [2023-02-20T05:59:41.347Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T05:59:41.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T05:59:41.347Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T05:59:41.582Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-02-20T05:59:41.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-240 -v /w/workspace/gexfoundry_device-snmp-go_PR-240:/w/workspace/gexfoundry_device-snmp-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-240@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-240@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-20T05:59:43.662Z] $ docker top 4a6c5445a4629b578ed664a7150df0d3ea9552978d7fb7739fc6d5490f697a83 -eo pid,comm [2023-02-20T05:59:43.710Z] 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-20T05:59:43.710Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T05:59:43.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T05:59:43.831Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T05:59:43.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T05:59:43.949Z] $ docker exec 4a6c5445a4629b578ed664a7150df0d3ea9552978d7fb7739fc6d5490f697a83 ssh-agent [2023-02-20T05:59:44.050Z] SSH_AUTH_SOCK=/tmp/ssh-SV7WZo5Sgl8r/agent.31 [2023-02-20T05:59:44.050Z] SSH_AGENT_PID=37 [2023-02-20T05:59:44.057Z] Running ssh-add (command line suppressed) [2023-02-20T05:59:44.181Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-240@tmp/private_key_3266417445086535436.key (/w/workspace/gexfoundry_device-snmp-go_PR-240@tmp/private_key_3266417445086535436.key) [2023-02-20T05:59:44.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T05:59:44.519Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T05:59:44.550Z] $ docker exec --env ******** --env ******** 4a6c5445a4629b578ed664a7150df0d3ea9552978d7fb7739fc6d5490f697a83 ssh-agent -k [2023-02-20T05:59:44.643Z] unset SSH_AUTH_SOCK; [2023-02-20T05:59:44.643Z] unset SSH_AGENT_PID; [2023-02-20T05:59:44.644Z] echo Agent pid 37 killed; [2023-02-20T05:59:44.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T05:59:44.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T05:59:44.737Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T05:59:44.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T05:59:44.825Z] $ docker exec 4a6c5445a4629b578ed664a7150df0d3ea9552978d7fb7739fc6d5490f697a83 ssh-agent [2023-02-20T05:59:44.943Z] SSH_AUTH_SOCK=/tmp/ssh-FFFN73ELHdeh/agent.69 [2023-02-20T05:59:44.943Z] SSH_AGENT_PID=75 [2023-02-20T05:59:44.949Z] Running ssh-add (command line suppressed) [2023-02-20T05:59:45.038Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-240@tmp/private_key_10274557731492585131.key (/w/workspace/gexfoundry_device-snmp-go_PR-240@tmp/private_key_10274557731492585131.key) [2023-02-20T05:59:45.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T05:59:45.378Z] + git semver init [2023-02-20T05:59:45.638Z] 2023-02-20 05:59:45,554 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T05:59:45.638Z] 2023-02-20 05:59:45,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-240/.semver [2023-02-20T05:59:45.638Z] 2023-02-20 05:59:45,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-240/.semver [2023-02-20T05:59:45.638Z] 2023-02-20 05:59:45,555 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-240/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-240, universal_newlines=False, shell=None, istream=None) [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,435 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-240/.git/info/exclude [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,436 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-240/.semver/PR-240 with force:False [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,436 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-240/.semver/PR-240 [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,440 [execute] INFO git cat-file --batch-check [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,446 [execute] INFO git cat-file --batch [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,446 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T05:59:46.576Z] 2023-02-20 05:59:46,451 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-240/.semver/PR-240 [2023-02-20T05:59:46.576Z] 0.0.0 [Pipeline] } [2023-02-20T05:59:46.598Z] $ docker exec --env ******** --env ******** 4a6c5445a4629b578ed664a7150df0d3ea9552978d7fb7739fc6d5490f697a83 ssh-agent -k [2023-02-20T05:59:46.695Z] unset SSH_AUTH_SOCK; [2023-02-20T05:59:46.695Z] unset SSH_AGENT_PID; [2023-02-20T05:59:46.696Z] echo Agent pid 75 killed; [2023-02-20T05:59:46.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T05:59:47.130Z] + git semver [Pipeline] } [2023-02-20T05:59:47.415Z] $ docker stop --time=1 4a6c5445a4629b578ed664a7150df0d3ea9552978d7fb7739fc6d5490f697a83 [2023-02-20T05:59:48.745Z] $ docker rm -f --volumes 4a6c5445a4629b578ed664a7150df0d3ea9552978d7fb7739fc6d5490f697a83 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T05:59:49.149Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T05:59:49.397Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T05:59:49.412Z] [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-20T05:59:49.998Z] provisioning config files... [2023-02-20T05:59:50.009Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-240@tmp/config3683633679085332452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T05:59:50.357Z] ---> docker-login.sh [2023-02-20T05:59:50.357Z] nexus3.edgexfoundry.org:10001 [2023-02-20T05:59:50.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.357Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.357Z] [2023-02-20T05:59:50.357Z] Login Succeeded [2023-02-20T05:59:50.357Z] nexus3.edgexfoundry.org:10002 [2023-02-20T05:59:50.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.357Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.357Z] [2023-02-20T05:59:50.357Z] Login Succeeded [2023-02-20T05:59:50.357Z] nexus3.edgexfoundry.org:10003 [2023-02-20T05:59:50.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.615Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.615Z] [2023-02-20T05:59:50.615Z] Login Succeeded [2023-02-20T05:59:50.615Z] nexus3.edgexfoundry.org:10004 [2023-02-20T05:59:50.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.615Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.615Z] [2023-02-20T05:59:50.615Z] Login Succeeded [2023-02-20T05:59:50.615Z] docker.io [2023-02-20T05:59:50.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T05:59:50.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T05:59:50.874Z] Configure a credential helper to remove this warning. See [2023-02-20T05:59:50.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T05:59:50.874Z] [2023-02-20T05:59:50.874Z] Login Succeeded [2023-02-20T05:59:50.874Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T05:59:50.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T05:59:51.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T05:59:51.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T05:59:51.178Z] ========================================================= [2023-02-20T05:59:51.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T05:59:51.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T05:59:51.644Z] + 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-20T05:59:51.644Z] Sending build context to Docker daemon 5.683MB [2023-02-20T05:59:51.644Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T05:59:51.644Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T05:59:51.644Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T05:59:51.644Z] 213ec9aee27d: Pulling fs layer [2023-02-20T05:59:51.644Z] 4583459ba037: Pulling fs layer [2023-02-20T05:59:51.644Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T05:59:51.644Z] 53926ce57604: Pulling fs layer [2023-02-20T05:59:51.644Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T05:59:51.644Z] 22ff95d597cd: Pulling fs layer [2023-02-20T05:59:51.644Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T05:59:51.644Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T05:59:51.644Z] a7acece74701: Pulling fs layer [2023-02-20T05:59:51.644Z] 22ff95d597cd: Waiting [2023-02-20T05:59:51.644Z] 12d6caf4c0d1: Waiting [2023-02-20T05:59:51.644Z] 21b2b0c7a3f4: Waiting [2023-02-20T05:59:51.644Z] 96b7cbca73a9: Waiting [2023-02-20T05:59:51.644Z] 53926ce57604: Waiting [2023-02-20T05:59:51.644Z] a7acece74701: Waiting [2023-02-20T05:59:51.644Z] 93c1e223e6f2: Verifying Checksum [2023-02-20T05:59:51.644Z] 93c1e223e6f2: Download complete [2023-02-20T05:59:51.644Z] 4583459ba037: Download complete [2023-02-20T05:59:51.644Z] 21b2b0c7a3f4: Download complete [2023-02-20T05:59:51.644Z] 22ff95d597cd: Download complete [2023-02-20T05:59:51.902Z] 213ec9aee27d: Verifying Checksum [2023-02-20T05:59:51.902Z] 213ec9aee27d: Download complete [2023-02-20T05:59:51.902Z] 12d6caf4c0d1: Download complete [2023-02-20T05:59:51.902Z] 213ec9aee27d: Pull complete [2023-02-20T05:59:52.164Z] 4583459ba037: Pull complete [2023-02-20T05:59:52.164Z] 93c1e223e6f2: Pull complete [2023-02-20T05:59:52.424Z] a7acece74701: Download complete [2023-02-20T05:59:52.681Z] 53926ce57604: Verifying Checksum [2023-02-20T05:59:52.681Z] 53926ce57604: Download complete [2023-02-20T05:59:52.681Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T05:59:52.681Z] 96b7cbca73a9: Download complete [2023-02-20T05:59:55.959Z] 53926ce57604: Pull complete [2023-02-20T05:59:56.218Z] 21b2b0c7a3f4: Pull complete [2023-02-20T05:59:56.218Z] 22ff95d597cd: Pull complete [2023-02-20T05:59:56.218Z] 12d6caf4c0d1: Pull complete [2023-02-20T05:59:58.121Z] 96b7cbca73a9: Pull complete [2023-02-20T05:59:59.056Z] a7acece74701: Pull complete [2023-02-20T05:59:59.056Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T05:59:59.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T05:59:59.056Z] ---> db6d94c90886 [2023-02-20T05:59:59.056Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:00:03.261Z] ---> Running in ac4b24d0c674 [2023-02-20T06:00:03.261Z] Removing intermediate container ac4b24d0c674 [2023-02-20T06:00:03.261Z] ---> c10709c9a494 [2023-02-20T06:00:03.261Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:00:03.261Z] ---> Running in db6e49c19e08 [2023-02-20T06:00:03.261Z] Removing intermediate container db6e49c19e08 [2023-02-20T06:00:03.261Z] ---> 2bd4dffe168e [2023-02-20T06:00:03.261Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T06:00:03.261Z] ---> Running in 20c121959250 [2023-02-20T06:00:03.261Z] Removing intermediate container 20c121959250 [2023-02-20T06:00:03.261Z] ---> 32812c0cc979 [2023-02-20T06:00:03.261Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T06:00:03.261Z] ---> Running in 0694b1d9eafe [2023-02-20T06:00:03.261Z] Removing intermediate container 0694b1d9eafe [2023-02-20T06:00:03.261Z] ---> b0dd96005e08 [2023-02-20T06:00:03.261Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T06:00:03.261Z] ---> Running in 47e59102dbbd [2023-02-20T06:00:03.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T06:00:03.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T06:00:03.779Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T06:00:03.779Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T06:00:03.779Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T06:00:03.779Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T06:00:03.779Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:00:03.779Z] OK: 216 MiB in 55 packages [2023-02-20T06:00:04.345Z] Removing intermediate container 47e59102dbbd [2023-02-20T06:00:04.345Z] ---> fa0a7716cf90 [2023-02-20T06:00:04.345Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-20T06:00:04.345Z] ---> Running in 0c44958f1bbb [2023-02-20T06:00:04.345Z] Removing intermediate container 0c44958f1bbb [2023-02-20T06:00:04.345Z] ---> 6a1c1edfc84b [2023-02-20T06:00:04.345Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T06:00:04.345Z] ---> 9cab92bfac21 [2023-02-20T06:00:04.345Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:00:04.345Z] ---> Running in a55e4d90087d [2023-02-20T06:00:04.816Z] Still waiting to schedule task [2023-02-20T06:00:04.816Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6703’ is offline [2023-02-20T06:00:36.464Z] Removing intermediate container a55e4d90087d [2023-02-20T06:00:36.464Z] ---> c0d992198fb5 [2023-02-20T06:00:36.464Z] Step 11/12 : COPY . . [2023-02-20T06:00:36.464Z] ---> c169652b0c8c [2023-02-20T06:00:36.464Z] Step 12/12 : RUN ${MAKE} [2023-02-20T06:00:36.464Z] ---> Running in 7e9b9fc87295 [2023-02-20T06:00:36.464Z] noop [2023-02-20T06:00:36.464Z] Removing intermediate container 7e9b9fc87295 [2023-02-20T06:00:36.464Z] ---> 403a050d4a33 [2023-02-20T06:00:36.464Z] Successfully built 403a050d4a33 [2023-02-20T06:00:36.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:00:36.898Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T06:00:36.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:00:37.043Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-02-20T06:00:37.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-240 -v /w/workspace/gexfoundry_device-snmp-go_PR-240:/w/workspace/gexfoundry_device-snmp-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-240@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-240@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 ******** ci-base-image-x86_64 cat [2023-02-20T06:00:37.395Z] $ docker top dbf1e86951d1415e6e93eb6831f2509ef252477e45ce3d2b2f0dc0e7aecf6f2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:00:37.784Z] + go version [2023-02-20T06:00:37.784Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T06:00:37.824Z] $ docker stop --time=1 dbf1e86951d1415e6e93eb6831f2509ef252477e45ce3d2b2f0dc0e7aecf6f2f [2023-02-20T06:00:39.124Z] $ docker rm -f --volumes dbf1e86951d1415e6e93eb6831f2509ef252477e45ce3d2b2f0dc0e7aecf6f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:00:39.806Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T06:00:39.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:00:39.962Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-02-20T06:00:39.994Z] $ 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-240 -v /w/workspace/gexfoundry_device-snmp-go_PR-240:/w/workspace/gexfoundry_device-snmp-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-240@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-240@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 ******** ci-base-image-x86_64 cat [2023-02-20T06:00:40.313Z] $ docker top 498eb47bb6dd60a674f8920b2c8581ded061ed63453421ca7db4044b69257084 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:00:40.701Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-240 [Pipeline] fileExists [Pipeline] sh [2023-02-20T06:00:41.054Z] + make test [2023-02-20T06:00:41.054Z] go test ./... -coverprofile=coverage.out [2023-02-20T06:00:41.312Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-20T06:00:47.872Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-20T06:00:47.872Z] /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-20T06:00:47.872Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-20T06:00:47.872Z] 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-20T06:00:47.872Z] 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-20T06:00:47.872Z] /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-20T06:00:49.248Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-20T06:00:49.248Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-02-20T06:00:49.248Z] /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-20T06:00:49.248Z] have (context.Context, requests.AddEventRequest) [2023-02-20T06:00:49.248Z] want (context.Context, string, requests.AddEventRequest) [2023-02-20T06:00:49.816Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2023-02-20T06:00:49.816Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-20T06:00:49.856Z] $ docker stop --time=1 498eb47bb6dd60a674f8920b2c8581ded061ed63453421ca7db4044b69257084 [2023-02-20T06:00:52.115Z] $ docker rm -f --volumes 498eb47bb6dd60a674f8920b2c8581ded061ed63453421ca7db4044b69257084 [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-20T06:00:53.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:00:53.273Z] [2023-02-20T06:00:53.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:00:53.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:00:53.656Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T06:00:53.656Z] 5eb5b503b376: Pulling fs layer [2023-02-20T06:00:53.656Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T06:00:53.656Z] ec43610c2a17: Pulling fs layer [2023-02-20T06:00:53.656Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T06:00:53.656Z] 33b1e0a273af: Pulling fs layer [2023-02-20T06:00:53.656Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T06:00:53.656Z] 2f39f015ded8: Pulling fs layer [2023-02-20T06:00:53.656Z] 3a2ae6a8a46f: Waiting [2023-02-20T06:00:53.656Z] 33b1e0a273af: Waiting [2023-02-20T06:00:53.656Z] 5c69ac0246d0: Verifying Checksum [2023-02-20T06:00:53.656Z] 5c69ac0246d0: Download complete [2023-02-20T06:00:53.656Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-20T06:00:53.656Z] 3a2ae6a8a46f: Download complete [2023-02-20T06:00:53.916Z] 33b1e0a273af: Verifying Checksum [2023-02-20T06:00:53.916Z] 33b1e0a273af: Download complete [2023-02-20T06:00:53.916Z] 5d3b04190fa2: Verifying Checksum [2023-02-20T06:00:53.916Z] 5d3b04190fa2: Download complete [2023-02-20T06:00:53.916Z] ec43610c2a17: Verifying Checksum [2023-02-20T06:00:53.916Z] ec43610c2a17: Download complete [2023-02-20T06:00:53.916Z] 5eb5b503b376: Verifying Checksum [2023-02-20T06:00:53.916Z] 5eb5b503b376: Download complete [2023-02-20T06:00:54.851Z] 2f39f015ded8: Download complete [2023-02-20T06:00:55.110Z] 5eb5b503b376: Pull complete [2023-02-20T06:00:55.368Z] 5c69ac0246d0: Pull complete [2023-02-20T06:00:55.959Z] ec43610c2a17: Pull complete [2023-02-20T06:00:55.959Z] 3a2ae6a8a46f: Pull complete [2023-02-20T06:00:56.217Z] 33b1e0a273af: Pull complete [2023-02-20T06:00:56.217Z] 5d3b04190fa2: Pull complete [2023-02-20T06:01:00.412Z] 2f39f015ded8: Pull complete [2023-02-20T06:01:00.412Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T06:01:00.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:01:00.412Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:01:00.636Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-02-20T06:01:00.767Z] $ 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-240 -v /w/workspace/gexfoundry_device-snmp-go_PR-240:/w/workspace/gexfoundry_device-snmp-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-240@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-240@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-20T06:01:04.782Z] $ docker top 3927338f4980640c3f1ec769cecec5d823c2de31af014d91650fe8ddd2e60ab5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:01:05.242Z] ---> job-cost.sh [2023-02-20T06:01:05.242Z] lf-activate-venv: SKIPPING [2023-02-20T06:01:05.242Z] INFO: No Stack... [2023-02-20T06:01:05.500Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T06:01:06.068Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T06:01:06.385Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-240/archives/cost.csv [2023-02-20T06:01:06.385Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T06:01:06.420Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] [2023-02-20T06:01:06.425Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] did not exist. Created. [2023-02-20T06:01:06.425Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T06:01:06.816Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-20T06:01:06.878Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T06:01:06.903Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T06:01:06.977Z] $ docker stop --time=1 3927338f4980640c3f1ec769cecec5d823c2de31af014d91650fe8ddd2e60ab5 [2023-02-20T06:01:08.131Z] $ docker rm -f --volumes 3927338f4980640c3f1ec769cecec5d823c2de31af014d91650fe8ddd2e60ab5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T06:01:08.498Z] Failed in branch amd64 [2023-02-20T06:02:23.386Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6710 in /w/workspace/gexfoundry_device-snmp-go_PR-240 [Pipeline] { [Pipeline] ws [2023-02-20T06:02:25.423Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-20T06:02:25.683Z] Selected Git installation does not exist. Using Default [2023-02-20T06:02:25.684Z] The recommended git tool is: NONE [2023-02-20T06:02:35.600Z] using credential edgex-jenkins-ssh [2023-02-20T06:02:35.625Z] Cloning the remote Git repository [2023-02-20T06:02:35.706Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-20T06:02:35.802Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-20T06:02:36.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-20T06:02:36.131Z] > git --version # timeout=10 [2023-02-20T06:02:36.173Z] > git --version # 'git version 2.25.1' [2023-02-20T06:02:36.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T06:02:36.297Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T06:02:37.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-20T06:02:37.499Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T06:02:39.030Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 1bb3516a1823a7cd73c734dc0355ac335e9bb321 [2023-02-20T06:02:39.272Z] Merge succeeded, producing 1bb3516a1823a7cd73c734dc0355ac335e9bb321 [2023-02-20T06:02:39.272Z] Checking out Revision 1bb3516a1823a7cd73c734dc0355ac335e9bb321 (PR-240) [2023-02-20T06:02:38.410Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-20T06:02:38.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-20T06:02:38.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T06:02:38.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-20T06:02:39.053Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T06:02:39.076Z] > git checkout -f 1bb3516a1823a7cd73c734dc0355ac335e9bb321 # timeout=10 [2023-02-20T06:02:39.168Z] > git remote # timeout=10 [2023-02-20T06:02:39.190Z] > git config --get remote.origin.url # timeout=10 [2023-02-20T06:02:39.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T06:02:39.229Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-20T06:02:39.256Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-20T06:02:39.281Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T06:02:39.296Z] > git checkout -f 1bb3516a1823a7cd73c734dc0355ac335e9bb321 # timeout=10 [2023-02-20T06:02:39.944Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-20T06:02:40.002Z] > git --version # timeout=10 [2023-02-20T06:02:40.015Z] > git --version # 'git version 2.25.1' [2023-02-20T06:02:40.039Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T06:02:41.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T06:02:41.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T06:02:41.137Z] Dload Upload Total Spent Left Speed [2023-02-20T06:02:41.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-02-20T06:02:41.785Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T06:02:42.137Z] + sudo tee /etc/docker/daemon.new [2023-02-20T06:02:42.137Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T06:02:42.137Z] { [2023-02-20T06:02:42.137Z] "registry-mirrors": [ [2023-02-20T06:02:42.137Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T06:02:42.137Z] ], [2023-02-20T06:02:42.137Z] "bip": "10.250.0.254/24", [2023-02-20T06:02:42.137Z] "hosts": [ [2023-02-20T06:02:42.137Z] "tcp://0.0.0.0:5555", [2023-02-20T06:02:42.137Z] "unix:///var/run/docker.sock" [2023-02-20T06:02:42.137Z] ], [2023-02-20T06:02:42.137Z] "mtu": 1458, [2023-02-20T06:02:42.137Z] "selinux-enabled": true, [2023-02-20T06:02:42.137Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T06:02:42.137Z] } [Pipeline] sh [2023-02-20T06:02:42.488Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T06:02:42.851Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:03:01.215Z] provisioning config files... [2023-02-20T06:03:01.249Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4196883141234408863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:03:01.659Z] ---> docker-login.sh [2023-02-20T06:03:01.659Z] nexus3.edgexfoundry.org:10001 [2023-02-20T06:03:02.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:02.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:02.251Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:02.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:02.251Z] [2023-02-20T06:03:02.251Z] Login Succeeded [2023-02-20T06:03:02.251Z] nexus3.edgexfoundry.org:10002 [2023-02-20T06:03:02.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:02.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:02.801Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:02.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:02.801Z] [2023-02-20T06:03:02.801Z] Login Succeeded [2023-02-20T06:03:02.801Z] nexus3.edgexfoundry.org:10003 [2023-02-20T06:03:03.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:03.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:03.071Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:03.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:03.071Z] [2023-02-20T06:03:03.071Z] Login Succeeded [2023-02-20T06:03:03.071Z] nexus3.edgexfoundry.org:10004 [2023-02-20T06:03:03.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:03.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:03.622Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:03.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:03.622Z] [2023-02-20T06:03:03.622Z] Login Succeeded [2023-02-20T06:03:03.622Z] docker.io [2023-02-20T06:03:03.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T06:03:04.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T06:03:04.176Z] Configure a credential helper to remove this warning. See [2023-02-20T06:03:04.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T06:03:04.176Z] [2023-02-20T06:03:04.176Z] Login Succeeded [2023-02-20T06:03:04.176Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T06:03:04.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T06:03:04.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:03:04.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T06:03:04.723Z] ========================================================= [2023-02-20T06:03:04.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T06:03:04.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:03:05.257Z] + 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-20T06:03:05.532Z] Sending build context to Docker daemon 2.94MB [2023-02-20T06:03:05.532Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T06:03:05.532Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T06:03:05.812Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T06:03:05.812Z] 9b18e9b68314: Pulling fs layer [2023-02-20T06:03:05.812Z] 35d82f9e3411: Pulling fs layer [2023-02-20T06:03:05.812Z] e16973657156: Pulling fs layer [2023-02-20T06:03:05.812Z] fc693d55d65f: Pulling fs layer [2023-02-20T06:03:05.812Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T06:03:05.812Z] dda99020689f: Pulling fs layer [2023-02-20T06:03:05.812Z] db1c61fa0a46: Pulling fs layer [2023-02-20T06:03:05.812Z] 891c053d2c06: Pulling fs layer [2023-02-20T06:03:05.812Z] fc693d55d65f: Waiting [2023-02-20T06:03:05.812Z] dda99020689f: Waiting [2023-02-20T06:03:05.812Z] 7e9fc2657dce: Waiting [2023-02-20T06:03:05.812Z] db1c61fa0a46: Waiting [2023-02-20T06:03:05.812Z] 891c053d2c06: Waiting [2023-02-20T06:03:05.812Z] e16973657156: Verifying Checksum [2023-02-20T06:03:05.812Z] e16973657156: Download complete [2023-02-20T06:03:05.812Z] 35d82f9e3411: Verifying Checksum [2023-02-20T06:03:05.812Z] 35d82f9e3411: Download complete [2023-02-20T06:03:05.812Z] 7e9fc2657dce: Download complete [2023-02-20T06:03:05.813Z] dda99020689f: Download complete [2023-02-20T06:03:05.813Z] 9b18e9b68314: Verifying Checksum [2023-02-20T06:03:05.813Z] 9b18e9b68314: Download complete [2023-02-20T06:03:07.256Z] 9b18e9b68314: Pull complete [2023-02-20T06:03:07.256Z] 891c053d2c06: Verifying Checksum [2023-02-20T06:03:07.256Z] 891c053d2c06: Download complete [2023-02-20T06:03:07.530Z] 35d82f9e3411: Pull complete [2023-02-20T06:03:07.808Z] e16973657156: Pull complete [2023-02-20T06:03:08.403Z] db1c61fa0a46: Verifying Checksum [2023-02-20T06:03:08.403Z] db1c61fa0a46: Download complete [2023-02-20T06:03:09.013Z] fc693d55d65f: Verifying Checksum [2023-02-20T06:03:09.013Z] fc693d55d65f: Download complete [2023-02-20T06:03:21.366Z] fc693d55d65f: Pull complete [2023-02-20T06:03:21.637Z] 7e9fc2657dce: Pull complete [2023-02-20T06:03:21.916Z] dda99020689f: Pull complete [2023-02-20T06:03:27.438Z] db1c61fa0a46: Pull complete [2023-02-20T06:03:29.478Z] 891c053d2c06: Pull complete [2023-02-20T06:03:29.478Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T06:03:29.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T06:03:29.478Z] ---> f96f9c87975a [2023-02-20T06:03:29.478Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T06:03:32.077Z] ---> Running in 96f4ed28b717 [2023-02-20T06:03:32.077Z] Removing intermediate container 96f4ed28b717 [2023-02-20T06:03:32.077Z] ---> c5c635133d97 [2023-02-20T06:03:32.077Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T06:03:32.077Z] ---> Running in cb5b184d651d [2023-02-20T06:03:32.354Z] Removing intermediate container cb5b184d651d [2023-02-20T06:03:32.354Z] ---> 8745ee388627 [2023-02-20T06:03:32.354Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T06:03:32.354Z] ---> Running in cab96af3f9a6 [2023-02-20T06:03:32.635Z] Removing intermediate container cab96af3f9a6 [2023-02-20T06:03:32.635Z] ---> a1cc36c99b4a [2023-02-20T06:03:32.635Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T06:03:32.919Z] ---> Running in 67e3be6caac1 [2023-02-20T06:03:33.189Z] Removing intermediate container 67e3be6caac1 [2023-02-20T06:03:33.189Z] ---> 5561bc27b581 [2023-02-20T06:03:33.189Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T06:03:33.189Z] ---> Running in f37fe0320525 [2023-02-20T06:03:34.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T06:03:34.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T06:03:35.849Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T06:03:35.849Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T06:03:35.849Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T06:03:36.120Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T06:03:36.120Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T06:03:36.120Z] OK: 226 MiB in 55 packages [2023-02-20T06:03:37.090Z] Removing intermediate container f37fe0320525 [2023-02-20T06:03:37.090Z] ---> ff769706cf3f [2023-02-20T06:03:37.090Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-20T06:03:37.090Z] ---> Running in dbc7fd9ffeb0 [2023-02-20T06:03:37.358Z] Removing intermediate container dbc7fd9ffeb0 [2023-02-20T06:03:37.358Z] ---> c342c839f91e [2023-02-20T06:03:37.358Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T06:03:39.309Z] ---> eba9df0f9c8b [2023-02-20T06:03:39.309Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T06:03:39.309Z] ---> Running in 8580d1adb5bf [2023-02-20T06:04:47.224Z] Removing intermediate container 8580d1adb5bf [2023-02-20T06:04:47.224Z] ---> 833efc304cf3 [2023-02-20T06:04:47.224Z] Step 11/12 : COPY . . [2023-02-20T06:04:47.224Z] ---> 810f3917397f [2023-02-20T06:04:47.224Z] Step 12/12 : RUN ${MAKE} [2023-02-20T06:04:47.224Z] ---> Running in d2b9c0414b29 [2023-02-20T06:04:47.224Z] noop [2023-02-20T06:04:47.224Z] Removing intermediate container d2b9c0414b29 [2023-02-20T06:04:47.224Z] ---> a3d91a7333c9 [2023-02-20T06:04:47.224Z] Successfully built a3d91a7333c9 [2023-02-20T06:04:47.224Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:04:47.710Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T06:04:47.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:04:47.998Z] prd-ubuntu20.04-docker-arm64-4c-16g-6710 does not seem to be running inside a container [2023-02-20T06:04:48.072Z] $ 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-20T06:04:49.373Z] $ docker top 85cc1a1babcd50a40bf7f9d3a06b4c5d70eda2326f82978e8a6f4e3ff7312fbe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:04:50.248Z] + go version [2023-02-20T06:04:50.248Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T06:04:50.284Z] $ docker stop --time=1 85cc1a1babcd50a40bf7f9d3a06b4c5d70eda2326f82978e8a6f4e3ff7312fbe [2023-02-20T06:04:51.914Z] $ docker rm -f --volumes 85cc1a1babcd50a40bf7f9d3a06b4c5d70eda2326f82978e8a6f4e3ff7312fbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:04:52.781Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T06:04:52.781Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:04:53.044Z] prd-ubuntu20.04-docker-arm64-4c-16g-6710 does not seem to be running inside a container [2023-02-20T06:04:53.119Z] $ 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-20T06:04:54.318Z] $ docker top 0c4a7d0ad7962f89188eeb331a7969358301d6d241b43cd9f5b1a97872fa8bf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:04:55.209Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-20T06:04:55.919Z] + make test [2023-02-20T06:04:55.919Z] go test ./... -coverprofile=coverage.out [2023-02-20T06:04:57.331Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-20T06:05:53.758Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-20T06:05:53.758Z] /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-20T06:05:53.758Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-20T06:05:53.758Z] 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-20T06:05:53.758Z] 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-20T06:05:53.758Z] /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-20T06:06:15.861Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-20T06:06:15.861Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-02-20T06:06:15.861Z] /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-20T06:06:15.861Z] have (context.Context, requests.AddEventRequest) [2023-02-20T06:06:15.861Z] want (context.Context, string, requests.AddEventRequest) [2023-02-20T06:06:24.102Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements [2023-02-20T06:06:24.102Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-20T06:06:24.152Z] $ docker stop --time=1 0c4a7d0ad7962f89188eeb331a7969358301d6d241b43cd9f5b1a97872fa8bf4 [2023-02-20T06:06:26.047Z] $ docker rm -f --volumes 0c4a7d0ad7962f89188eeb331a7969358301d6d241b43cd9f5b1a97872fa8bf4 [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-20T06:06:27.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:06:27.588Z] [2023-02-20T06:06:27.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:06:28.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:06:28.284Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T06:06:28.284Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T06:06:28.284Z] 04944245beec: Pulling fs layer [2023-02-20T06:06:28.284Z] 699f458cf7ca: Pulling fs layer [2023-02-20T06:06:28.284Z] 765212b225bb: Pulling fs layer [2023-02-20T06:06:28.284Z] f23df028b6ca: Pulling fs layer [2023-02-20T06:06:28.284Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T06:06:28.284Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T06:06:28.284Z] d65c8cfc05b1: Waiting [2023-02-20T06:06:28.284Z] 765212b225bb: Waiting [2023-02-20T06:06:28.284Z] f23df028b6ca: Waiting [2023-02-20T06:06:28.284Z] 2437ff75d9bd: Waiting [2023-02-20T06:06:28.284Z] 04944245beec: Verifying Checksum [2023-02-20T06:06:28.284Z] 04944245beec: Download complete [2023-02-20T06:06:28.284Z] 765212b225bb: Verifying Checksum [2023-02-20T06:06:28.284Z] 765212b225bb: Download complete [2023-02-20T06:06:28.284Z] f23df028b6ca: Verifying Checksum [2023-02-20T06:06:28.284Z] f23df028b6ca: Download complete [2023-02-20T06:06:28.560Z] d65c8cfc05b1: Verifying Checksum [2023-02-20T06:06:28.560Z] d65c8cfc05b1: Download complete [2023-02-20T06:06:28.560Z] 699f458cf7ca: Verifying Checksum [2023-02-20T06:06:28.560Z] 699f458cf7ca: Download complete [2023-02-20T06:06:28.831Z] 8998bd30e6a1: Verifying Checksum [2023-02-20T06:06:28.831Z] 8998bd30e6a1: Download complete [2023-02-20T06:06:31.432Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T06:06:31.432Z] 2437ff75d9bd: Download complete [2023-02-20T06:06:33.384Z] 8998bd30e6a1: Pull complete [2023-02-20T06:06:33.653Z] 04944245beec: Pull complete [2023-02-20T06:06:35.616Z] 699f458cf7ca: Pull complete [2023-02-20T06:06:35.888Z] 765212b225bb: Pull complete [2023-02-20T06:06:36.866Z] f23df028b6ca: Pull complete [2023-02-20T06:06:37.137Z] d65c8cfc05b1: Pull complete [2023-02-20T06:06:52.164Z] 2437ff75d9bd: Pull complete [2023-02-20T06:06:52.164Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T06:06:52.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T06:06:52.164Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:06:52.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-6710 does not seem to be running inside a container [2023-02-20T06:06:52.592Z] $ 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-20T06:06:55.404Z] $ docker top 2a5a1eeab59c6e62eae17f944f7e37576afa54259f8ed0072f0d0bfc8a9af935 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:06:56.319Z] ---> job-cost.sh [2023-02-20T06:06:56.319Z] lf-activate-venv: SKIPPING [2023-02-20T06:06:56.319Z] INFO: No Stack... [2023-02-20T06:06:56.903Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T06:06:57.488Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T06:06:58.159Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-20T06:06:58.159Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T06:06:58.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] [2023-02-20T06:06:58.264Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] did not exist. Created. [2023-02-20T06:06:58.264Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T06:06:59.004Z] /w/workspace/device-snmp-go/1@tmp/durable-58c2cdeb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T06:06:59.694Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T06:06:59.731Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T06:07:00.249Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T06:07:00.265Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T06:07:00.350Z] $ docker stop --time=1 2a5a1eeab59c6e62eae17f944f7e37576afa54259f8ed0072f0d0bfc8a9af935 [2023-02-20T06:07:01.880Z] $ docker rm -f --volumes 2a5a1eeab59c6e62eae17f944f7e37576afa54259f8ed0072f0d0bfc8a9af935 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T06:07:02.553Z] 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-20T06:07:04.476Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-240/archives ] [2023-02-20T06:07:04.476Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-240/archives [2023-02-20T06:07:04.476Z] total 16 [2023-02-20T06:07:04.476Z] drwxr-xr-x 3 root root 4096 Feb 20 06:01 . [2023-02-20T06:07:04.476Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 06:01 .. [2023-02-20T06:07:04.476Z] drwxr-xr-x 2 root root 4096 Feb 20 06:01 cost [2023-02-20T06:07:04.476Z] -rw-r--r-- 1 root root 86 Feb 20 06:01 cost.csv [2023-02-20T06:07:04.476Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-240/archives [2023-02-20T06:07:04.476Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-240/archives [2023-02-20T06:07:04.476Z] total 16 [2023-02-20T06:07:04.476Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 06:01 . [2023-02-20T06:07:04.476Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 06:01 .. [2023-02-20T06:07:04.476Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 06:01 cost [2023-02-20T06:07:04.476Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 20 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:07:04.805Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:07:05.696Z] ---> package-listing.sh [2023-02-20T06:07:05.696Z] ++ facter osfamily [2023-02-20T06:07:05.696Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T06:07:05.954Z] + OS_FAMILY=debian [2023-02-20T06:07:05.954Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-240 [2023-02-20T06:07:05.954Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T06:07:05.954Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T06:07:05.954Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T06:07:05.954Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T06:07:05.954Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-240 ']' [2023-02-20T06:07:05.954Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T06:07:05.954Z] + case "${OS_FAMILY}" in [2023-02-20T06:07:05.954Z] + dpkg -l [2023-02-20T06:07:05.954Z] + grep '^ii' [2023-02-20T06:07:05.954Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T06:07:05.954Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T06:07:05.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T06:07:05.954Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-240 ']' [2023-02-20T06:07:05.954Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-240/archives/ [2023-02-20T06:07:05.954Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-240/archives/ [Pipeline] echo [2023-02-20T06:07:05.987Z] 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-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-20T06:07:06.278Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T06:07:06.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T06:07:06.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T06:07:07.058Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-02-20T06:07:07.087Z] $ 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-240/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-240 -v /w/workspace/gexfoundry_device-snmp-go_PR-240:/w/workspace/gexfoundry_device-snmp-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-240@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-20T06:07:07.292Z] $ docker top bb9e34e30f59d60c221c42e9c5c73bfd8bd2828079ea72afe427762e0c601485 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T06:07:07.683Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T06:07:07.989Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T06:07:08.301Z] + ls /var/log/sa-host [2023-02-20T06:07:08.302Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T06:07:08.437Z] provisioning config files... [2023-02-20T06:07:08.446Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-240@tmp/config14422384417776270741tmp [Pipeline] { [Pipeline] echo [2023-02-20T06:07:08.490Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:07:08.803Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T06:07:08.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:07:09.224Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T06:07:09.259Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:07:09.570Z] ---> sudo-logs.sh [2023-02-20T06:07:09.570Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T06:07:09.662Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:07:09.979Z] ---> job-cost.sh [2023-02-20T06:07:09.979Z] lf-activate-venv: SKIPPING [2023-02-20T06:07:09.979Z] DEBUG: total: 0.2199999988079071 [2023-02-20T06:07:09.979Z] INFO: Retrieving Stack Cost... [2023-02-20T06:07:10.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T06:07:10.806Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T06:07:10.846Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T06:07:11.164Z] ---> logs-deploy.sh [2023-02-20T06:07:11.164Z] lf-activate-venv: SKIPPING [2023-02-20T06:07:11.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-240/1 [2023-02-20T06:07:11.164Z] INFO: archiving workspace using pattern(s): [2023-02-20T06:07:12.100Z] Archives upload complete. [2023-02-20T06:07:12.100Z] INFO: archiving logs to Nexus