Pull request #236 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56+2bd6e5dae59222faf073cfb9822f90f2048c0bba (6ed1aaf07e07e8b90e1863a8789fd3619cb193e0) 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-ssh13694702394529797131.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-ssh434914227930122794.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-236/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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh851429986710223543.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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6334585735722013594.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-ssh6130699072530932043.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-236/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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4107534304171107136.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6365’ Running on prd-ubuntu20.04-docker-8c-8g-6370 in /w/workspace/gexfoundry_device-snmp-go_PR-236 [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-236 # 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/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 Merge succeeded, producing 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 Checking out Revision 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 (PR-236) 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-17T05:19:46.265Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T05:19:46.452Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 # 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 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T05:19:46.550Z] ========================================================= [2023-02-17T05:19:46.550Z] EdgeX Global Pipelines Version Info [2023-02-17T05:19:46.550Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:19:47.295Z] ------------------- [2023-02-17T05:19:47.295Z] stable info: [2023-02-17T05:19:47.295Z] ------------------- [2023-02-17T05:19:47.295Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T05:19:47.295Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T05:19:47.295Z] Message: update stable to v1.0.244 [2023-02-17T05:19:47.867Z] ------------------- [2023-02-17T05:19:47.867Z] experimental info: [2023-02-17T05:19:47.867Z] ------------------- [2023-02-17T05:19:47.867Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T05:19:47.867Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T05:19:47.867Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T05:19:48.176Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-17T05:19:48.218Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-17T05:19:48.257Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T05:19:48.298Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T05:19:48.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T05:19:48.380Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T05:19:48.420Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T05:19:48.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T05:19:48.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T05:19:48.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T05:19:48.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T05:19:48.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-17T05:19:48.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T05:19:48.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T05:19:48.753Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T05:19:48.796Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T05:19:48.836Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:19:48.888Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:19:48.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T05:19:48.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T05:19:49.027Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T05:19:49.065Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T05:19:49.115Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T05:19:49.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T05:19:49.274Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T05:19:49.319Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T05:19:49.370Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T05:19:49.413Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo [2023-02-17T05:19:49.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo [2023-02-17T05:19:49.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo [2023-02-17T05:19:49.539Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 [Pipeline] echo [2023-02-17T05:19:49.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d2ca08 [Pipeline] echo [2023-02-17T05:19:49.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:19:49.724Z] provisioning config files... [2023-02-17T05:19:49.740Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp/config17488431860114904727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:19:50.085Z] ---> docker-login.sh [2023-02-17T05:19:50.085Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:19:50.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:19:50.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:19:50.344Z] Configure a credential helper to remove this warning. See [2023-02-17T05:19:50.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:19:50.344Z] [2023-02-17T05:19:50.344Z] Login Succeeded [2023-02-17T05:19:50.344Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:19:50.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:19:50.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:19:50.605Z] Configure a credential helper to remove this warning. See [2023-02-17T05:19:50.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:19:50.605Z] [2023-02-17T05:19:50.605Z] Login Succeeded [2023-02-17T05:19:50.605Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:19:50.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:19:50.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:19:50.605Z] Configure a credential helper to remove this warning. See [2023-02-17T05:19:50.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:19:50.605Z] [2023-02-17T05:19:50.605Z] Login Succeeded [2023-02-17T05:19:50.605Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:19:50.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:19:50.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:19:50.865Z] Configure a credential helper to remove this warning. See [2023-02-17T05:19:50.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:19:50.865Z] [2023-02-17T05:19:50.865Z] Login Succeeded [2023-02-17T05:19:50.865Z] docker.io [2023-02-17T05:19:50.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:19:51.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:19:51.126Z] Configure a credential helper to remove this warning. See [2023-02-17T05:19:51.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:19:51.126Z] [2023-02-17T05:19:51.126Z] Login Succeeded [2023-02-17T05:19:51.126Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:19:51.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T05:19:51.795Z] + git rev-list -1 --merges 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56~1..2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 [Pipeline] echo [2023-02-17T05:19:51.862Z] -----------> git rev-list -1 --merges 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56~1..2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 [false] [Pipeline] sh [2023-02-17T05:19:52.175Z] + git log --format=format:%s -1 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 [Pipeline] echo [2023-02-17T05:19:52.212Z] ========================================================= [2023-02-17T05:19:52.212Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T05:19:52.212Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:19:52.639Z] + git log --format=format:%s -1 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 [Pipeline] echo [2023-02-17T05:19:52.670Z] [semverPrep] GIT_COMMIT: 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-17T05:19:52.701Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T05:19:53.075Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T05:19:53.075Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T05:19:53.075Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T05:19:53.075Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T05:19:53.075Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T05:19:53.075Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T05:19:53.075Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:19:53.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:19:53.502Z] [2023-02-17T05:19:53.502Z] 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-17T05:19:53.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:19:53.891Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T05:19:53.891Z] b85a868b505f: Pulling fs layer [2023-02-17T05:19:53.891Z] e2be974225ed: Pulling fs layer [2023-02-17T05:19:53.891Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T05:19:53.891Z] 988bab9f4d93: Pulling fs layer [2023-02-17T05:19:53.891Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T05:19:53.891Z] eaf3925da568: Pulling fs layer [2023-02-17T05:19:53.891Z] bab4dde63d76: Pulling fs layer [2023-02-17T05:19:53.891Z] bde34c3a00c8: Pulling fs layer [2023-02-17T05:19:53.891Z] b352a97aabf1: Pulling fs layer [2023-02-17T05:19:53.891Z] 4872d77fe225: Pulling fs layer [2023-02-17T05:19:53.891Z] 5851b861e8e6: Pulling fs layer [2023-02-17T05:19:53.891Z] 1469e6f7b9e6: Waiting [2023-02-17T05:19:53.891Z] bde34c3a00c8: Waiting [2023-02-17T05:19:53.891Z] b352a97aabf1: Waiting [2023-02-17T05:19:53.891Z] bab4dde63d76: Waiting [2023-02-17T05:19:53.891Z] 4872d77fe225: Waiting [2023-02-17T05:19:53.891Z] 5851b861e8e6: Waiting [2023-02-17T05:19:53.891Z] eaf3925da568: Waiting [2023-02-17T05:19:53.891Z] e2be974225ed: Download complete [2023-02-17T05:19:53.891Z] 988bab9f4d93: Verifying Checksum [2023-02-17T05:19:53.891Z] 988bab9f4d93: Download complete [2023-02-17T05:19:54.956Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T05:19:54.956Z] 1469e6f7b9e6: Download complete [2023-02-17T05:19:54.956Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T05:19:54.956Z] 339a4e72a1f5: Download complete [2023-02-17T05:19:54.956Z] eaf3925da568: Verifying Checksum [2023-02-17T05:19:54.956Z] eaf3925da568: Download complete [2023-02-17T05:19:54.956Z] bde34c3a00c8: Download complete [2023-02-17T05:19:54.956Z] b352a97aabf1: Verifying Checksum [2023-02-17T05:19:54.956Z] b352a97aabf1: Download complete [2023-02-17T05:19:54.956Z] 4872d77fe225: Verifying Checksum [2023-02-17T05:19:54.956Z] 4872d77fe225: Download complete [2023-02-17T05:19:55.236Z] 5851b861e8e6: Verifying Checksum [2023-02-17T05:19:55.236Z] 5851b861e8e6: Download complete [2023-02-17T05:19:55.236Z] b85a868b505f: Verifying Checksum [2023-02-17T05:19:55.236Z] b85a868b505f: Download complete [2023-02-17T05:19:55.842Z] bab4dde63d76: Verifying Checksum [2023-02-17T05:19:55.842Z] bab4dde63d76: Download complete [2023-02-17T05:19:56.410Z] b85a868b505f: Pull complete [2023-02-17T05:19:56.410Z] e2be974225ed: Pull complete [2023-02-17T05:19:56.976Z] 339a4e72a1f5: Pull complete [2023-02-17T05:19:57.235Z] 988bab9f4d93: Pull complete [2023-02-17T05:19:57.494Z] 1469e6f7b9e6: Pull complete [2023-02-17T05:19:58.063Z] eaf3925da568: Pull complete [2023-02-17T05:19:59.455Z] bab4dde63d76: Pull complete [2023-02-17T05:19:59.798Z] bde34c3a00c8: Pull complete [2023-02-17T05:19:59.798Z] b352a97aabf1: Pull complete [2023-02-17T05:19:59.798Z] 4872d77fe225: Pull complete [2023-02-17T05:19:59.798Z] 5851b861e8e6: Pull complete [2023-02-17T05:19:59.798Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T05:19:59.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:19:59.798Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:20:00.023Z] prd-ubuntu20.04-docker-8c-8g-6370 does not seem to be running inside a container [2023-02-17T05:20:00.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-236 -v /w/workspace/gexfoundry_device-snmp-go_PR-236:/w/workspace/gexfoundry_device-snmp-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T05:20:04.192Z] $ docker top ead9df6637cd8d6e3246d0c2a2de317859028edc2d1cac412323129d378f8baa -eo pid,comm [2023-02-17T05:20:04.247Z] 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-17T05:20:04.247Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T05:20:04.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T05:20:04.377Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T05:20:04.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T05:20:04.495Z] $ docker exec ead9df6637cd8d6e3246d0c2a2de317859028edc2d1cac412323129d378f8baa ssh-agent [2023-02-17T05:20:04.600Z] SSH_AUTH_SOCK=/tmp/ssh-oRpzZjkVjYn4/agent.34 [2023-02-17T05:20:04.600Z] SSH_AGENT_PID=40 [2023-02-17T05:20:04.606Z] Running ssh-add (command line suppressed) [2023-02-17T05:20:04.709Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-236@tmp/private_key_129354416891308810.key (/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp/private_key_129354416891308810.key) [2023-02-17T05:20:04.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T05:20:05.054Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T05:20:05.074Z] $ docker exec --env ******** --env ******** ead9df6637cd8d6e3246d0c2a2de317859028edc2d1cac412323129d378f8baa ssh-agent -k [2023-02-17T05:20:05.168Z] unset SSH_AUTH_SOCK; [2023-02-17T05:20:05.169Z] unset SSH_AGENT_PID; [2023-02-17T05:20:05.169Z] echo Agent pid 40 killed; [2023-02-17T05:20:05.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T05:20:05.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T05:20:05.266Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T05:20:05.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T05:20:05.380Z] $ docker exec ead9df6637cd8d6e3246d0c2a2de317859028edc2d1cac412323129d378f8baa ssh-agent [2023-02-17T05:20:05.475Z] SSH_AUTH_SOCK=/tmp/ssh-uHzNSaAdkwyG/agent.72 [2023-02-17T05:20:05.475Z] SSH_AGENT_PID=78 [2023-02-17T05:20:05.480Z] Running ssh-add (command line suppressed) [2023-02-17T05:20:05.591Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-236@tmp/private_key_9167618644474764100.key (/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp/private_key_9167618644474764100.key) [2023-02-17T05:20:05.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T05:20:05.936Z] + git semver init [2023-02-17T05:20:06.196Z] 2023-02-17 05:20:06,112 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T05:20:06.196Z] 2023-02-17 05:20:06,113 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-236/.semver [2023-02-17T05:20:06.196Z] 2023-02-17 05:20:06,113 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-236/.semver [2023-02-17T05:20:06.196Z] 2023-02-17 05:20:06,113 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-236/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-236, universal_newlines=False, shell=None, istream=None) [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,106 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-236/.git/info/exclude [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,107 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-236/.semver/PR-236 with force:False [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,107 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-236/.semver/PR-236 [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,111 [execute] INFO git cat-file --batch-check [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,116 [execute] INFO git cat-file --batch [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T05:20:07.160Z] 2023-02-17 05:20:07,121 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-236/.semver/PR-236 [2023-02-17T05:20:07.160Z] 0.0.0 [Pipeline] } [2023-02-17T05:20:07.210Z] $ docker exec --env ******** --env ******** ead9df6637cd8d6e3246d0c2a2de317859028edc2d1cac412323129d378f8baa ssh-agent -k [2023-02-17T05:20:07.303Z] unset SSH_AUTH_SOCK; [2023-02-17T05:20:07.304Z] unset SSH_AGENT_PID; [2023-02-17T05:20:07.304Z] echo Agent pid 78 killed; [2023-02-17T05:20:07.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T05:20:08.436Z] + git semver [Pipeline] } [2023-02-17T05:20:08.533Z] $ docker stop --time=1 ead9df6637cd8d6e3246d0c2a2de317859028edc2d1cac412323129d378f8baa [2023-02-17T05:20:09.990Z] $ docker rm -f --volumes ead9df6637cd8d6e3246d0c2a2de317859028edc2d1cac412323129d378f8baa [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T05:20:10.391Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T05:20:10.655Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T05:20:10.676Z] [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-17T05:20:11.340Z] provisioning config files... [2023-02-17T05:20:11.351Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp/config10056401898670537284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:20:11.705Z] ---> docker-login.sh [2023-02-17T05:20:11.705Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:20:11.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:20:11.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:20:11.705Z] Configure a credential helper to remove this warning. See [2023-02-17T05:20:11.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:20:11.705Z] [2023-02-17T05:20:11.705Z] Login Succeeded [2023-02-17T05:20:11.705Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:20:11.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:20:11.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:20:11.705Z] Configure a credential helper to remove this warning. See [2023-02-17T05:20:11.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:20:11.705Z] [2023-02-17T05:20:11.705Z] Login Succeeded [2023-02-17T05:20:11.705Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:20:11.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:20:11.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:20:11.965Z] Configure a credential helper to remove this warning. See [2023-02-17T05:20:11.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:20:11.965Z] [2023-02-17T05:20:11.965Z] Login Succeeded [2023-02-17T05:20:11.965Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:20:11.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:20:11.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:20:11.965Z] Configure a credential helper to remove this warning. See [2023-02-17T05:20:11.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:20:11.965Z] [2023-02-17T05:20:11.965Z] Login Succeeded [2023-02-17T05:20:11.965Z] docker.io [2023-02-17T05:20:11.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:20:12.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:20:12.227Z] Configure a credential helper to remove this warning. See [2023-02-17T05:20:12.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:20:12.227Z] [2023-02-17T05:20:12.227Z] Login Succeeded [2023-02-17T05:20:12.227Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:20:12.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T05:20:12.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:20:12.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:20:12.512Z] ========================================================= [2023-02-17T05:20:12.512Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T05:20:12.512Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:20:12.977Z] + 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-17T05:20:12.977Z] Sending build context to Docker daemon 5.68MB [2023-02-17T05:20:12.977Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:20:12.977Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T05:20:12.977Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T05:20:12.977Z] 213ec9aee27d: Pulling fs layer [2023-02-17T05:20:12.977Z] 4583459ba037: Pulling fs layer [2023-02-17T05:20:12.977Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T05:20:12.977Z] 53926ce57604: Pulling fs layer [2023-02-17T05:20:12.977Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T05:20:12.977Z] 22ff95d597cd: Pulling fs layer [2023-02-17T05:20:12.977Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T05:20:12.977Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T05:20:12.977Z] a7acece74701: Pulling fs layer [2023-02-17T05:20:12.977Z] 22ff95d597cd: Waiting [2023-02-17T05:20:12.977Z] 12d6caf4c0d1: Waiting [2023-02-17T05:20:12.977Z] 96b7cbca73a9: Waiting [2023-02-17T05:20:12.977Z] 21b2b0c7a3f4: Waiting [2023-02-17T05:20:12.977Z] 53926ce57604: Waiting [2023-02-17T05:20:12.977Z] a7acece74701: Waiting [2023-02-17T05:20:12.977Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T05:20:12.977Z] 93c1e223e6f2: Download complete [2023-02-17T05:20:12.977Z] 4583459ba037: Verifying Checksum [2023-02-17T05:20:12.977Z] 4583459ba037: Download complete [2023-02-17T05:20:12.977Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T05:20:12.977Z] 21b2b0c7a3f4: Download complete [2023-02-17T05:20:13.244Z] 22ff95d597cd: Verifying Checksum [2023-02-17T05:20:13.244Z] 22ff95d597cd: Download complete [2023-02-17T05:20:13.244Z] 213ec9aee27d: Verifying Checksum [2023-02-17T05:20:13.244Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T05:20:13.244Z] 12d6caf4c0d1: Download complete [2023-02-17T05:20:13.520Z] 213ec9aee27d: Pull complete [2023-02-17T05:20:13.520Z] 4583459ba037: Pull complete [2023-02-17T05:20:13.520Z] 93c1e223e6f2: Pull complete [2023-02-17T05:20:16.578Z] a7acece74701: Verifying Checksum [2023-02-17T05:20:16.578Z] a7acece74701: Download complete [2023-02-17T05:20:17.346Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T05:20:17.346Z] 96b7cbca73a9: Download complete [2023-02-17T05:20:17.346Z] 53926ce57604: Download complete [2023-02-17T05:20:20.629Z] 53926ce57604: Pull complete [2023-02-17T05:20:20.887Z] 21b2b0c7a3f4: Pull complete [2023-02-17T05:20:20.887Z] 22ff95d597cd: Pull complete [2023-02-17T05:20:20.887Z] 12d6caf4c0d1: Pull complete [2023-02-17T05:20:22.782Z] 96b7cbca73a9: Pull complete [2023-02-17T05:20:23.348Z] a7acece74701: Pull complete [2023-02-17T05:20:23.348Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T05:20:23.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T05:20:23.348Z] ---> db6d94c90886 [2023-02-17T05:20:23.348Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T05:20:26.129Z] Still waiting to schedule task [2023-02-17T05:20:26.130Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6369’ [2023-02-17T05:20:31.469Z] ---> Running in 7159c489ab8c [2023-02-17T05:20:32.403Z] Removing intermediate container 7159c489ab8c [2023-02-17T05:20:32.403Z] ---> 46ed64fa1c30 [2023-02-17T05:20:32.403Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T05:20:32.403Z] ---> Running in 2015f40c417f [2023-02-17T05:20:32.403Z] Removing intermediate container 2015f40c417f [2023-02-17T05:20:32.403Z] ---> 1ac99d787dc5 [2023-02-17T05:20:32.403Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T05:20:32.403Z] ---> Running in 28e23ee271a4 [2023-02-17T05:20:32.662Z] Removing intermediate container 28e23ee271a4 [2023-02-17T05:20:32.662Z] ---> 31a5d7dd6f6c [2023-02-17T05:20:32.662Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T05:20:32.922Z] ---> Running in a0565586b232 [2023-02-17T05:20:32.922Z] Removing intermediate container a0565586b232 [2023-02-17T05:20:32.922Z] ---> e16303adcc84 [2023-02-17T05:20:32.922Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T05:20:33.181Z] ---> Running in 539ad4b06269 [2023-02-17T05:20:33.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T05:20:33.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T05:20:33.970Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T05:20:33.970Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T05:20:33.970Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T05:20:33.970Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T05:20:33.970Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T05:20:33.970Z] OK: 216 MiB in 55 packages [2023-02-17T05:20:34.906Z] Removing intermediate container 539ad4b06269 [2023-02-17T05:20:34.906Z] ---> d2d5fd0c12b4 [2023-02-17T05:20:34.906Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-17T05:20:35.165Z] ---> Running in 88f01afca4d5 [2023-02-17T05:20:35.424Z] Removing intermediate container 88f01afca4d5 [2023-02-17T05:20:35.424Z] ---> c3bd71d74cfa [2023-02-17T05:20:35.424Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T05:20:35.683Z] ---> b34dfd987558 [2023-02-17T05:20:35.683Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:20:35.683Z] ---> Running in b91c9aa34c71 [2023-02-17T05:21:02.244Z] Removing intermediate container b91c9aa34c71 [2023-02-17T05:21:02.244Z] ---> 2d6142fd2dad [2023-02-17T05:21:02.244Z] Step 11/12 : COPY . . [2023-02-17T05:21:02.244Z] ---> d4ff8d8d28fc [2023-02-17T05:21:02.244Z] Step 12/12 : RUN ${MAKE} [2023-02-17T05:21:02.244Z] ---> Running in a222fc22f8c5 [2023-02-17T05:21:02.244Z] noop [2023-02-17T05:21:02.244Z] Removing intermediate container a222fc22f8c5 [2023-02-17T05:21:02.244Z] ---> 3227aafd38af [2023-02-17T05:21:02.244Z] Successfully built 3227aafd38af [2023-02-17T05:21:02.244Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:21:02.688Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T05:21:02.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:21:02.837Z] prd-ubuntu20.04-docker-8c-8g-6370 does not seem to be running inside a container [2023-02-17T05:21:02.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-236 -v /w/workspace/gexfoundry_device-snmp-go_PR-236:/w/workspace/gexfoundry_device-snmp-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T05:21:03.389Z] $ docker top b1d333a531ffbbe8585678051b8d2f42833789cdc14275b693d57ef311915253 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:21:03.786Z] + go version [2023-02-17T05:21:03.786Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T05:21:03.816Z] $ docker stop --time=1 b1d333a531ffbbe8585678051b8d2f42833789cdc14275b693d57ef311915253 [2023-02-17T05:21:05.134Z] $ docker rm -f --volumes b1d333a531ffbbe8585678051b8d2f42833789cdc14275b693d57ef311915253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:21:05.817Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T05:21:05.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:21:05.957Z] prd-ubuntu20.04-docker-8c-8g-6370 does not seem to be running inside a container [2023-02-17T05:21:05.982Z] $ 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-236 -v /w/workspace/gexfoundry_device-snmp-go_PR-236:/w/workspace/gexfoundry_device-snmp-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T05:21:06.284Z] $ docker top 4d20b6220447f739be69f72a66db3e6c939b935cac9d27a4c87b0b91e2d3f4dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:21:06.675Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-236 [Pipeline] fileExists [Pipeline] sh [2023-02-17T05:21:07.030Z] + make test [2023-02-17T05:21:07.030Z] go test ./... -coverprofile=coverage.out [2023-02-17T05:21:07.287Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-17T05:21:13.834Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-17T05:21:13.834Z] /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-17T05:21:13.834Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-17T05:21:13.834Z] 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-17T05:21:13.834Z] 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-17T05:21:13.834Z] /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-17T05:21:14.400Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-17T05:21:14.400Z] /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-17T05:21:14.400Z] have (context.Context, requests.AddEventRequest) [2023-02-17T05:21:14.400Z] want (context.Context, string, requests.AddEventRequest) [2023-02-17T05:21:14.658Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.020s coverage: 0.0% of statements [2023-02-17T05:21:14.917Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-17T05:21:14.947Z] $ docker stop --time=1 4d20b6220447f739be69f72a66db3e6c939b935cac9d27a4c87b0b91e2d3f4dc [2023-02-17T05:21:16.935Z] $ docker rm -f --volumes 4d20b6220447f739be69f72a66db3e6c939b935cac9d27a4c87b0b91e2d3f4dc [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-17T05:21:18.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:21:18.152Z] [2023-02-17T05:21:18.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:21:18.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:21:18.575Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T05:21:18.575Z] 5eb5b503b376: Pulling fs layer [2023-02-17T05:21:18.575Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T05:21:18.575Z] ec43610c2a17: Pulling fs layer [2023-02-17T05:21:18.575Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T05:21:18.575Z] 33b1e0a273af: Pulling fs layer [2023-02-17T05:21:18.575Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T05:21:18.575Z] 2f39f015ded8: Pulling fs layer [2023-02-17T05:21:18.575Z] 5d3b04190fa2: Waiting [2023-02-17T05:21:18.575Z] 33b1e0a273af: Waiting [2023-02-17T05:21:18.575Z] 3a2ae6a8a46f: Waiting [2023-02-17T05:21:18.575Z] 2f39f015ded8: Waiting [2023-02-17T05:21:18.575Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T05:21:18.575Z] 5c69ac0246d0: Download complete [2023-02-17T05:21:18.575Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T05:21:18.575Z] 3a2ae6a8a46f: Download complete [2023-02-17T05:21:18.839Z] 33b1e0a273af: Verifying Checksum [2023-02-17T05:21:18.839Z] 33b1e0a273af: Download complete [2023-02-17T05:21:18.839Z] 5d3b04190fa2: Download complete [2023-02-17T05:21:18.839Z] ec43610c2a17: Verifying Checksum [2023-02-17T05:21:18.839Z] ec43610c2a17: Download complete [2023-02-17T05:21:19.167Z] 5eb5b503b376: Verifying Checksum [2023-02-17T05:21:19.167Z] 5eb5b503b376: Download complete [2023-02-17T05:21:19.735Z] 2f39f015ded8: Verifying Checksum [2023-02-17T05:21:19.735Z] 2f39f015ded8: Download complete [2023-02-17T05:21:19.993Z] 5eb5b503b376: Pull complete [2023-02-17T05:21:20.251Z] 5c69ac0246d0: Pull complete [2023-02-17T05:21:20.511Z] ec43610c2a17: Pull complete [2023-02-17T05:21:20.770Z] 3a2ae6a8a46f: Pull complete [2023-02-17T05:21:20.770Z] 33b1e0a273af: Pull complete [2023-02-17T05:21:20.770Z] 5d3b04190fa2: Pull complete [2023-02-17T05:21:24.951Z] 2f39f015ded8: Pull complete [2023-02-17T05:21:24.951Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T05:21:24.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:21:24.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:21:25.177Z] prd-ubuntu20.04-docker-8c-8g-6370 does not seem to be running inside a container [2023-02-17T05:21:25.201Z] $ 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-236 -v /w/workspace/gexfoundry_device-snmp-go_PR-236:/w/workspace/gexfoundry_device-snmp-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T05:21:28.315Z] $ docker top b014373277e3a180869a30494872c731993ea2899aaa9b49d2c92f135ce670d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:21:28.771Z] ---> job-cost.sh [2023-02-17T05:21:28.771Z] lf-activate-venv: SKIPPING [2023-02-17T05:21:28.771Z] INFO: No Stack... [2023-02-17T05:21:29.340Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T05:21:29.601Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T05:21:29.915Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-236/archives/cost.csv [2023-02-17T05:21:29.916Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T05:21:29.952Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] [2023-02-17T05:21:29.959Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] did not exist. Created. [2023-02-17T05:21:29.959Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T05:21:30.343Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T05:21:30.395Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T05:21:30.427Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T05:21:30.496Z] $ docker stop --time=1 b014373277e3a180869a30494872c731993ea2899aaa9b49d2c92f135ce670d0 [2023-02-17T05:21:31.852Z] $ docker rm -f --volumes b014373277e3a180869a30494872c731993ea2899aaa9b49d2c92f135ce670d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T05:21:32.250Z] Failed in branch amd64 [2023-02-17T05:23:00.983Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6378 in /w/workspace/gexfoundry_device-snmp-go_PR-236 [Pipeline] { [Pipeline] ws [2023-02-17T05:23:01.041Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-17T05:23:01.123Z] Selected Git installation does not exist. Using Default [2023-02-17T05:23:01.123Z] The recommended git tool is: NONE [2023-02-17T05:23:06.806Z] using credential edgex-jenkins-ssh [2023-02-17T05:23:06.827Z] Cloning the remote Git repository [2023-02-17T05:23:06.861Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-17T05:23:06.942Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-17T05:23:07.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-17T05:23:07.107Z] > git --version # timeout=10 [2023-02-17T05:23:07.130Z] > git --version # 'git version 2.25.1' [2023-02-17T05:23:07.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:23:07.201Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T05:23:08.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-17T05:23:08.539Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T05:23:09.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-17T05:23:09.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-17T05:23:09.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:23:09.587Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T05:23:10.160Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 [2023-02-17T05:23:10.468Z] Merge succeeded, producing 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 [2023-02-17T05:23:10.468Z] Checking out Revision 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 (PR-236) [2023-02-17T05:23:11.184Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-17T05:23:11.236Z] > git --version # timeout=10 [2023-02-17T05:23:11.250Z] > git --version # 'git version 2.25.1' [2023-02-17T05:23:11.271Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T05:23:10.166Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T05:23:10.187Z] > git checkout -f 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 # timeout=10 [2023-02-17T05:23:10.303Z] > git remote # timeout=10 [2023-02-17T05:23:10.329Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T05:23:10.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:23:10.387Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-17T05:23:10.424Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T05:23:10.459Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T05:23:10.482Z] > git checkout -f 2d2ca080cf2b21bf15cd9dcd460b806fdf80ef56 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:23:12.459Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T05:23:12.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T05:23:12.459Z] Dload Upload Total Spent Left Speed [2023-02-17T05:23:12.459Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2023-02-17T05:23:13.124Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T05:23:13.484Z] + sudo tee /etc/docker/daemon.new [2023-02-17T05:23:13.484Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T05:23:13.484Z] { [2023-02-17T05:23:13.484Z] "registry-mirrors": [ [2023-02-17T05:23:13.484Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T05:23:13.484Z] ], [2023-02-17T05:23:13.484Z] "bip": "10.250.0.254/24", [2023-02-17T05:23:13.484Z] "hosts": [ [2023-02-17T05:23:13.484Z] "tcp://0.0.0.0:5555", [2023-02-17T05:23:13.484Z] "unix:///var/run/docker.sock" [2023-02-17T05:23:13.484Z] ], [2023-02-17T05:23:13.484Z] "mtu": 1458, [2023-02-17T05:23:13.484Z] "selinux-enabled": true, [2023-02-17T05:23:13.484Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T05:23:13.484Z] } [Pipeline] sh [2023-02-17T05:23:13.841Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T05:23:14.216Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:23:32.557Z] provisioning config files... [2023-02-17T05:23:32.584Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2418080538520782046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:23:32.986Z] ---> docker-login.sh [2023-02-17T05:23:32.986Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:23:33.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:23:33.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:23:33.584Z] Configure a credential helper to remove this warning. See [2023-02-17T05:23:33.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:23:33.584Z] [2023-02-17T05:23:33.584Z] Login Succeeded [2023-02-17T05:23:33.584Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:23:33.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:23:34.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:23:34.128Z] Configure a credential helper to remove this warning. See [2023-02-17T05:23:34.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:23:34.128Z] [2023-02-17T05:23:34.128Z] Login Succeeded [2023-02-17T05:23:34.128Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:23:34.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:23:34.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:23:34.400Z] Configure a credential helper to remove this warning. See [2023-02-17T05:23:34.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:23:34.400Z] [2023-02-17T05:23:34.400Z] Login Succeeded [2023-02-17T05:23:34.400Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:23:34.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:23:34.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:23:34.673Z] Configure a credential helper to remove this warning. See [2023-02-17T05:23:34.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:23:34.673Z] [2023-02-17T05:23:34.673Z] Login Succeeded [2023-02-17T05:23:34.673Z] docker.io [2023-02-17T05:23:34.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:23:35.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:23:35.235Z] Configure a credential helper to remove this warning. See [2023-02-17T05:23:35.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:23:35.235Z] [2023-02-17T05:23:35.235Z] Login Succeeded [2023-02-17T05:23:35.235Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:23:35.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T05:23:35.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:23:35.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:23:35.798Z] ========================================================= [2023-02-17T05:23:35.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T05:23:35.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:23:36.316Z] + 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-17T05:23:36.592Z] Sending build context to Docker daemon 2.939MB [2023-02-17T05:23:36.592Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:23:36.592Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T05:23:36.872Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T05:23:36.872Z] 9b18e9b68314: Pulling fs layer [2023-02-17T05:23:36.872Z] 35d82f9e3411: Pulling fs layer [2023-02-17T05:23:36.872Z] e16973657156: Pulling fs layer [2023-02-17T05:23:36.872Z] fc693d55d65f: Pulling fs layer [2023-02-17T05:23:36.872Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T05:23:36.872Z] dda99020689f: Pulling fs layer [2023-02-17T05:23:36.872Z] db1c61fa0a46: Pulling fs layer [2023-02-17T05:23:36.872Z] 891c053d2c06: Pulling fs layer [2023-02-17T05:23:36.872Z] fc693d55d65f: Waiting [2023-02-17T05:23:36.872Z] 7e9fc2657dce: Waiting [2023-02-17T05:23:36.872Z] db1c61fa0a46: Waiting [2023-02-17T05:23:36.872Z] 891c053d2c06: Waiting [2023-02-17T05:23:36.872Z] dda99020689f: Waiting [2023-02-17T05:23:36.872Z] e16973657156: Verifying Checksum [2023-02-17T05:23:36.872Z] e16973657156: Download complete [2023-02-17T05:23:36.872Z] 35d82f9e3411: Verifying Checksum [2023-02-17T05:23:36.872Z] 35d82f9e3411: Download complete [2023-02-17T05:23:36.872Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T05:23:36.872Z] 7e9fc2657dce: Download complete [2023-02-17T05:23:36.872Z] dda99020689f: Verifying Checksum [2023-02-17T05:23:36.872Z] dda99020689f: Download complete [2023-02-17T05:23:37.168Z] 9b18e9b68314: Verifying Checksum [2023-02-17T05:23:37.168Z] 9b18e9b68314: Download complete [2023-02-17T05:23:38.175Z] 9b18e9b68314: Pull complete [2023-02-17T05:23:38.472Z] 35d82f9e3411: Pull complete [2023-02-17T05:23:38.751Z] 891c053d2c06: Verifying Checksum [2023-02-17T05:23:38.751Z] 891c053d2c06: Download complete [2023-02-17T05:23:39.033Z] e16973657156: Pull complete [2023-02-17T05:23:40.025Z] db1c61fa0a46: Verifying Checksum [2023-02-17T05:23:40.025Z] db1c61fa0a46: Download complete [2023-02-17T05:23:40.300Z] fc693d55d65f: Verifying Checksum [2023-02-17T05:23:40.300Z] fc693d55d65f: Download complete [2023-02-17T05:23:55.391Z] fc693d55d65f: Pull complete [2023-02-17T05:23:55.391Z] 7e9fc2657dce: Pull complete [2023-02-17T05:23:55.391Z] dda99020689f: Pull complete [2023-02-17T05:24:00.787Z] db1c61fa0a46: Pull complete [2023-02-17T05:24:03.397Z] 891c053d2c06: Pull complete [2023-02-17T05:24:03.397Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T05:24:03.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T05:24:03.397Z] ---> f96f9c87975a [2023-02-17T05:24:03.397Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T05:24:04.399Z] ---> Running in 1c7299cd8f65 [2023-02-17T05:24:04.672Z] Removing intermediate container 1c7299cd8f65 [2023-02-17T05:24:04.672Z] ---> 08ed496fe9ef [2023-02-17T05:24:04.672Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T05:24:04.672Z] ---> Running in f5a82b478b6c [2023-02-17T05:24:05.264Z] Removing intermediate container f5a82b478b6c [2023-02-17T05:24:05.264Z] ---> 42c5b45df035 [2023-02-17T05:24:05.264Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T05:24:05.264Z] ---> Running in 471941a0ed0a [2023-02-17T05:24:05.538Z] Removing intermediate container 471941a0ed0a [2023-02-17T05:24:05.538Z] ---> 45dcc3880da1 [2023-02-17T05:24:05.538Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T05:24:05.538Z] ---> Running in 4536c55998b1 [2023-02-17T05:24:06.195Z] Removing intermediate container 4536c55998b1 [2023-02-17T05:24:06.195Z] ---> 0b8b48e817eb [2023-02-17T05:24:06.195Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T05:24:06.195Z] ---> Running in 63ef623b7ef2 [2023-02-17T05:24:07.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T05:24:07.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T05:24:08.973Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T05:24:08.973Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T05:24:08.973Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T05:24:09.247Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T05:24:09.247Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T05:24:09.247Z] OK: 226 MiB in 55 packages [2023-02-17T05:24:10.687Z] Removing intermediate container 63ef623b7ef2 [2023-02-17T05:24:10.687Z] ---> 99952bb7857f [2023-02-17T05:24:10.687Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-17T05:24:10.687Z] ---> Running in b3e1f2a80c9c [2023-02-17T05:24:10.959Z] Removing intermediate container b3e1f2a80c9c [2023-02-17T05:24:10.959Z] ---> cc52be4c5755 [2023-02-17T05:24:10.959Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T05:24:11.557Z] ---> cf8d72cf6e2a [2023-02-17T05:24:11.557Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:24:11.557Z] ---> Running in 6df9bd138843 [2023-02-17T05:25:19.564Z] Removing intermediate container 6df9bd138843 [2023-02-17T05:25:19.564Z] ---> 37ebb21ecadb [2023-02-17T05:25:19.564Z] Step 11/12 : COPY . . [2023-02-17T05:25:19.564Z] ---> 088874b11ebd [2023-02-17T05:25:19.564Z] Step 12/12 : RUN ${MAKE} [2023-02-17T05:25:19.564Z] ---> Running in 75d92556ad26 [2023-02-17T05:25:19.564Z] noop [2023-02-17T05:25:19.564Z] Removing intermediate container 75d92556ad26 [2023-02-17T05:25:19.564Z] ---> a03dcf208c7c [2023-02-17T05:25:19.564Z] Successfully built a03dcf208c7c [2023-02-17T05:25:19.564Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:25:20.065Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T05:25:20.065Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:25:20.363Z] prd-ubuntu20.04-docker-arm64-4c-16g-6378 does not seem to be running inside a container [2023-02-17T05:25:20.453Z] $ 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-17T05:25:21.775Z] $ docker top 4e840d633f9e278ead3774591f8196370065552ac1e96c68e81bb492aa95b27b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:25:22.707Z] + go version [2023-02-17T05:25:22.707Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T05:25:22.758Z] $ docker stop --time=1 4e840d633f9e278ead3774591f8196370065552ac1e96c68e81bb492aa95b27b [2023-02-17T05:25:24.441Z] $ docker rm -f --volumes 4e840d633f9e278ead3774591f8196370065552ac1e96c68e81bb492aa95b27b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:25:25.303Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T05:25:25.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:25:25.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-6378 does not seem to be running inside a container [2023-02-17T05:25:25.675Z] $ 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-17T05:25:26.970Z] $ docker top 64aa897d15c99fa129e647e26706ae22787919b5242c985ac65d81397c5c65f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:25:27.884Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T05:25:28.598Z] + make test [2023-02-17T05:25:28.598Z] go test ./... -coverprofile=coverage.out [2023-02-17T05:25:31.187Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-17T05:26:27.648Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-17T05:26:27.648Z] /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-17T05:26:27.648Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-17T05:26:27.648Z] 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-17T05:26:27.648Z] 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-17T05:26:27.648Z] /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-17T05:26:50.398Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-02-17T05:26:50.398Z] /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-17T05:26:50.398Z] have (context.Context, requests.AddEventRequest) [2023-02-17T05:26:50.398Z] want (context.Context, string, requests.AddEventRequest) [2023-02-17T05:26:58.642Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements [2023-02-17T05:26:58.914Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-17T05:26:58.974Z] $ docker stop --time=1 64aa897d15c99fa129e647e26706ae22787919b5242c985ac65d81397c5c65f6 [2023-02-17T05:27:02.260Z] $ docker rm -f --volumes 64aa897d15c99fa129e647e26706ae22787919b5242c985ac65d81397c5c65f6 [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-17T05:27:03.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:27:03.802Z] [2023-02-17T05:27:03.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:27:04.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:27:04.486Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T05:27:04.486Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T05:27:04.486Z] 04944245beec: Pulling fs layer [2023-02-17T05:27:04.486Z] 699f458cf7ca: Pulling fs layer [2023-02-17T05:27:04.486Z] 765212b225bb: Pulling fs layer [2023-02-17T05:27:04.486Z] f23df028b6ca: Pulling fs layer [2023-02-17T05:27:04.486Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T05:27:04.486Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T05:27:04.486Z] f23df028b6ca: Waiting [2023-02-17T05:27:04.486Z] d65c8cfc05b1: Waiting [2023-02-17T05:27:04.486Z] 2437ff75d9bd: Waiting [2023-02-17T05:27:04.486Z] 765212b225bb: Waiting [2023-02-17T05:27:04.486Z] 04944245beec: Verifying Checksum [2023-02-17T05:27:04.486Z] 04944245beec: Download complete [2023-02-17T05:27:04.757Z] 765212b225bb: Verifying Checksum [2023-02-17T05:27:04.757Z] 765212b225bb: Download complete [2023-02-17T05:27:04.757Z] f23df028b6ca: Verifying Checksum [2023-02-17T05:27:04.757Z] f23df028b6ca: Download complete [2023-02-17T05:27:04.757Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T05:27:04.757Z] d65c8cfc05b1: Download complete [2023-02-17T05:27:04.757Z] 699f458cf7ca: Verifying Checksum [2023-02-17T05:27:04.757Z] 699f458cf7ca: Download complete [2023-02-17T05:27:05.346Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T05:27:05.346Z] 8998bd30e6a1: Download complete [2023-02-17T05:27:07.948Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T05:27:07.948Z] 2437ff75d9bd: Download complete [2023-02-17T05:27:09.912Z] 8998bd30e6a1: Pull complete [2023-02-17T05:27:10.188Z] 04944245beec: Pull complete [2023-02-17T05:27:13.575Z] 699f458cf7ca: Pull complete [2023-02-17T05:27:13.846Z] 765212b225bb: Pull complete [2023-02-17T05:27:14.817Z] f23df028b6ca: Pull complete [2023-02-17T05:27:15.088Z] d65c8cfc05b1: Pull complete [2023-02-17T05:27:37.186Z] 2437ff75d9bd: Pull complete [2023-02-17T05:27:37.186Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T05:27:37.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:27:37.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:27:37.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-6378 does not seem to be running inside a container [2023-02-17T05:27:37.657Z] $ 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-17T05:27:39.808Z] $ docker top fc4c47a478307038aa54966359fd0b62e861271f3eed381f29c775fa76d85531 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:40.746Z] ---> job-cost.sh [2023-02-17T05:27:40.746Z] lf-activate-venv: SKIPPING [2023-02-17T05:27:40.746Z] INFO: No Stack... [2023-02-17T05:27:41.014Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T05:27:41.988Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T05:27:42.670Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-17T05:27:42.670Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T05:27:42.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] [2023-02-17T05:27:42.762Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] did not exist. Created. [2023-02-17T05:27:42.763Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T05:27:43.492Z] /w/workspace/device-snmp-go/1@tmp/durable-26904458/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T05:27:44.178Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T05:27:44.217Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T05:27:44.701Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T05:27:44.724Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T05:27:44.818Z] $ docker stop --time=1 fc4c47a478307038aa54966359fd0b62e861271f3eed381f29c775fa76d85531 [2023-02-17T05:27:46.890Z] $ docker rm -f --volumes fc4c47a478307038aa54966359fd0b62e861271f3eed381f29c775fa76d85531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T05:27:47.569Z] 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-17T05:27:49.442Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-236/archives ] [2023-02-17T05:27:49.442Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-236/archives [2023-02-17T05:27:49.442Z] total 16 [2023-02-17T05:27:49.442Z] drwxr-xr-x 3 root root 4096 Feb 17 05:21 . [2023-02-17T05:27:49.442Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 05:21 .. [2023-02-17T05:27:49.442Z] drwxr-xr-x 2 root root 4096 Feb 17 05:21 cost [2023-02-17T05:27:49.442Z] -rw-r--r-- 1 root root 86 Feb 17 05:21 cost.csv [2023-02-17T05:27:49.442Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-236/archives [2023-02-17T05:27:49.442Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-236/archives [2023-02-17T05:27:49.442Z] total 16 [2023-02-17T05:27:49.442Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 05:21 . [2023-02-17T05:27:49.442Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 05:21 .. [2023-02-17T05:27:49.442Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 05:21 cost [2023-02-17T05:27:49.442Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 05:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:49.765Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:50.651Z] ---> package-listing.sh [2023-02-17T05:27:50.651Z] ++ facter osfamily [2023-02-17T05:27:50.651Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T05:27:50.910Z] + OS_FAMILY=debian [2023-02-17T05:27:50.910Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-236 [2023-02-17T05:27:50.910Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T05:27:50.910Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T05:27:50.910Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T05:27:50.910Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T05:27:50.910Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-236 ']' [2023-02-17T05:27:50.910Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T05:27:50.910Z] + case "${OS_FAMILY}" in [2023-02-17T05:27:50.910Z] + dpkg -l [2023-02-17T05:27:50.910Z] + grep '^ii' [2023-02-17T05:27:50.910Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T05:27:50.910Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T05:27:50.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T05:27:50.910Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-236 ']' [2023-02-17T05:27:50.910Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-236/archives/ [2023-02-17T05:27:50.910Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-236/archives/ [Pipeline] echo [2023-02-17T05:27:50.944Z] 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T05:27:51.235Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:27:51.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:27:51.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:27:52.003Z] prd-ubuntu20.04-docker-8c-8g-6370 does not seem to be running inside a container [2023-02-17T05:27:52.029Z] $ 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-236/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-236 -v /w/workspace/gexfoundry_device-snmp-go_PR-236:/w/workspace/gexfoundry_device-snmp-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-236@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-236@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-17T05:27:52.215Z] $ docker top 76dab98cc01c2d6ffa546afebb3554385fec6ef6b69ede76da986f3543fd6679 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:27:52.603Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T05:27:52.911Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T05:27:53.220Z] + ls /var/log/sa-host [2023-02-17T05:27:53.220Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:27:53.350Z] provisioning config files... [2023-02-17T05:27:53.359Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-236@tmp/config14013153533137435628tmp [Pipeline] { [Pipeline] echo [2023-02-17T05:27:53.407Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:53.719Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T05:27:53.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:54.134Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T05:27:54.165Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:54.471Z] ---> sudo-logs.sh [2023-02-17T05:27:54.471Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T05:27:54.557Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:54.871Z] ---> job-cost.sh [2023-02-17T05:27:54.871Z] lf-activate-venv: SKIPPING [2023-02-17T05:27:54.871Z] DEBUG: total: 0.2199999988079071 [2023-02-17T05:27:54.871Z] INFO: Retrieving Stack Cost... [2023-02-17T05:27:55.130Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T05:27:55.699Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T05:27:55.738Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:27:56.052Z] ---> logs-deploy.sh [2023-02-17T05:27:56.052Z] lf-activate-venv: SKIPPING [2023-02-17T05:27:56.052Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-236/1 [2023-02-17T05:27:56.052Z] INFO: archiving workspace using pattern(s): [2023-02-17T05:27:56.998Z] Archives upload complete. [2023-02-17T05:27:56.998Z] INFO: archiving logs to Nexus