Pull request #216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8+2bd6e5dae59222faf073cfb9822f90f2048c0bba (e2ef302454fcb7d193c11b615993ac0db7963768) 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-ssh16524056501255152888.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-ssh8401072116257273939.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-216/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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1522691811988181156.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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12027913948141890646.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-ssh10515226083910464047.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-216/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-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3070177039440721208.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2876 in /w/workspace/gexfoundry_device-snmp-go_PR-216 [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-216 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 Merge succeeded, producing 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 Checking out Revision 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 (PR-216) > 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/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 # 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 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 # timeout=10 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-01-18T05:03:32.708Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-18T05:03:32.898Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-18T05:03:33.016Z] ========================================================= [2023-01-18T05:03:33.016Z] EdgeX Global Pipelines Version Info [2023-01-18T05:03:33.016Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:03:33.782Z] ------------------- [2023-01-18T05:03:33.782Z] stable info: [2023-01-18T05:03:33.782Z] ------------------- [2023-01-18T05:03:33.782Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-18T05:03:33.782Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T05:03:33.782Z] Message: update stable to v1.0.244 [2023-01-18T05:03:34.352Z] ------------------- [2023-01-18T05:03:34.352Z] experimental info: [2023-01-18T05:03:34.352Z] ------------------- [2023-01-18T05:03:34.352Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-18T05:03:34.352Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T05:03:34.352Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-18T05:03:34.628Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-18T05:03:34.670Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-18T05:03:34.714Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-18T05:03:34.756Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-18T05:03:34.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-18T05:03:34.838Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-18T05:03:34.880Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-18T05:03:34.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-18T05:03:34.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-18T05:03:35.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-18T05:03:35.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-18T05:03:35.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-18T05:03:35.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-18T05:03:35.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-18T05:03:35.212Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T05:03:35.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T05:03:35.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T05:03:35.347Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T05:03:35.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-18T05:03:35.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-18T05:03:35.470Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-18T05:03:35.510Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-18T05:03:35.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-18T05:03:35.586Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-18T05:03:35.629Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-18T05:03:35.668Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-18T05:03:35.709Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-18T05:03:35.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2023-01-18T05:03:35.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2023-01-18T05:03:35.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2023-01-18T05:03:35.861Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 [Pipeline] echo [2023-01-18T05:03:35.903Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c49df4 [Pipeline] echo [2023-01-18T05:03:35.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T05:03:36.062Z] provisioning config files... [2023-01-18T05:03:36.076Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-216@tmp/config6326228045647985156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:03:36.453Z] ---> docker-login.sh [2023-01-18T05:03:36.453Z] nexus3.edgexfoundry.org:10001 [2023-01-18T05:03:36.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:36.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:36.716Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:36.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:36.716Z] [2023-01-18T05:03:36.716Z] Login Succeeded [2023-01-18T05:03:36.716Z] nexus3.edgexfoundry.org:10002 [2023-01-18T05:03:36.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:36.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:36.716Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:36.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:36.716Z] [2023-01-18T05:03:36.716Z] Login Succeeded [2023-01-18T05:03:36.716Z] nexus3.edgexfoundry.org:10003 [2023-01-18T05:03:36.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:36.977Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:36.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:36.977Z] [2023-01-18T05:03:36.977Z] Login Succeeded [2023-01-18T05:03:36.977Z] nexus3.edgexfoundry.org:10004 [2023-01-18T05:03:36.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:36.977Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:36.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:36.977Z] [2023-01-18T05:03:36.977Z] Login Succeeded [2023-01-18T05:03:36.977Z] docker.io [2023-01-18T05:03:37.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:37.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:37.499Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:37.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:37.500Z] [2023-01-18T05:03:37.500Z] Login Succeeded [2023-01-18T05:03:37.500Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T05:03:37.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-18T05:03:38.228Z] + git rev-list -1 --merges 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8~1..7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 [Pipeline] echo [2023-01-18T05:03:38.295Z] -----------> git rev-list -1 --merges 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8~1..7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 [false] [Pipeline] sh [2023-01-18T05:03:38.611Z] + git log --format=format:%s -1 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 [Pipeline] echo [2023-01-18T05:03:38.651Z] ========================================================= [2023-01-18T05:03:38.651Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-18T05:03:38.651Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T05:03:39.085Z] + git log --format=format:%s -1 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 [Pipeline] echo [2023-01-18T05:03:39.122Z] [semverPrep] GIT_COMMIT: 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-18T05:03:39.152Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-18T05:03:39.520Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-18T05:03:39.520Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-18T05:03:39.520Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-18T05:03:39.520Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-18T05:03:39.520Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-18T05:03:39.520Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-18T05:03:39.520Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:03:39.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T05:03:39.935Z] [2023-01-18T05:03:39.935Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:03:40.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T05:03:40.320Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-18T05:03:40.320Z] b85a868b505f: Pulling fs layer [2023-01-18T05:03:40.320Z] e2be974225ed: Pulling fs layer [2023-01-18T05:03:40.320Z] 339a4e72a1f5: Pulling fs layer [2023-01-18T05:03:40.320Z] 988bab9f4d93: Pulling fs layer [2023-01-18T05:03:40.320Z] 1469e6f7b9e6: Pulling fs layer [2023-01-18T05:03:40.320Z] eaf3925da568: Pulling fs layer [2023-01-18T05:03:40.320Z] bab4dde63d76: Pulling fs layer [2023-01-18T05:03:40.320Z] 988bab9f4d93: Waiting [2023-01-18T05:03:40.320Z] 1469e6f7b9e6: Waiting [2023-01-18T05:03:40.320Z] bde34c3a00c8: Pulling fs layer [2023-01-18T05:03:40.320Z] eaf3925da568: Waiting [2023-01-18T05:03:40.320Z] bab4dde63d76: Waiting [2023-01-18T05:03:40.320Z] b352a97aabf1: Pulling fs layer [2023-01-18T05:03:40.320Z] 4872d77fe225: Pulling fs layer [2023-01-18T05:03:40.320Z] b352a97aabf1: Waiting [2023-01-18T05:03:40.320Z] 5851b861e8e6: Pulling fs layer [2023-01-18T05:03:40.320Z] 4872d77fe225: Waiting [2023-01-18T05:03:40.320Z] bde34c3a00c8: Waiting [2023-01-18T05:03:40.585Z] e2be974225ed: Verifying Checksum [2023-01-18T05:03:40.585Z] e2be974225ed: Download complete [2023-01-18T05:03:40.585Z] 988bab9f4d93: Verifying Checksum [2023-01-18T05:03:40.585Z] 988bab9f4d93: Download complete [2023-01-18T05:03:40.585Z] 1469e6f7b9e6: Verifying Checksum [2023-01-18T05:03:40.585Z] 1469e6f7b9e6: Download complete [2023-01-18T05:03:40.846Z] eaf3925da568: Download complete [2023-01-18T05:03:40.846Z] 339a4e72a1f5: Verifying Checksum [2023-01-18T05:03:40.846Z] 339a4e72a1f5: Download complete [2023-01-18T05:03:40.846Z] bde34c3a00c8: Verifying Checksum [2023-01-18T05:03:40.846Z] bde34c3a00c8: Download complete [2023-01-18T05:03:40.846Z] b352a97aabf1: Download complete [2023-01-18T05:03:40.846Z] 4872d77fe225: Download complete [2023-01-18T05:03:40.846Z] b85a868b505f: Verifying Checksum [2023-01-18T05:03:40.846Z] b85a868b505f: Download complete [2023-01-18T05:03:40.846Z] 5851b861e8e6: Verifying Checksum [2023-01-18T05:03:40.846Z] 5851b861e8e6: Download complete [2023-01-18T05:03:41.415Z] bab4dde63d76: Verifying Checksum [2023-01-18T05:03:41.415Z] bab4dde63d76: Download complete [2023-01-18T05:03:42.352Z] b85a868b505f: Pull complete [2023-01-18T05:03:42.352Z] e2be974225ed: Pull complete [2023-01-18T05:03:42.919Z] 339a4e72a1f5: Pull complete [2023-01-18T05:03:42.919Z] 988bab9f4d93: Pull complete [2023-01-18T05:03:43.179Z] 1469e6f7b9e6: Pull complete [2023-01-18T05:03:43.438Z] eaf3925da568: Pull complete [2023-01-18T05:03:45.345Z] bab4dde63d76: Pull complete [2023-01-18T05:03:45.345Z] bde34c3a00c8: Pull complete [2023-01-18T05:03:45.345Z] b352a97aabf1: Pull complete [2023-01-18T05:03:45.604Z] 4872d77fe225: Pull complete [2023-01-18T05:03:45.604Z] 5851b861e8e6: Pull complete [2023-01-18T05:03:45.604Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-18T05:03:45.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T05:03:45.604Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:03:45.830Z] prd-ubuntu20.04-docker-8c-8g-2876 does not seem to be running inside a container [2023-01-18T05:03:45.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-216 -v /w/workspace/gexfoundry_device-snmp-go_PR-216:/w/workspace/gexfoundry_device-snmp-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-216@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-216@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-01-18T05:03:47.854Z] $ docker top affc5d1fa6297a70217405d3cdd9963bd88ba98162c358f6ebe26eeeb89d3d49 -eo pid,comm [2023-01-18T05:03:47.911Z] 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-01-18T05:03:47.911Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-18T05:03:48.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T05:03:48.042Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T05:03:48.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T05:03:48.170Z] $ docker exec affc5d1fa6297a70217405d3cdd9963bd88ba98162c358f6ebe26eeeb89d3d49 ssh-agent [2023-01-18T05:03:48.277Z] SSH_AUTH_SOCK=/tmp/ssh-bfixctiv31Rs/agent.31 [2023-01-18T05:03:48.277Z] SSH_AGENT_PID=38 [2023-01-18T05:03:48.289Z] Running ssh-add (command line suppressed) [2023-01-18T05:03:48.395Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-216@tmp/private_key_13746470365852174333.key (/w/workspace/gexfoundry_device-snmp-go_PR-216@tmp/private_key_13746470365852174333.key) [2023-01-18T05:03:48.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T05:03:48.734Z] + git tag --points-at HEAD [Pipeline] } [2023-01-18T05:03:48.764Z] $ docker exec --env ******** --env ******** affc5d1fa6297a70217405d3cdd9963bd88ba98162c358f6ebe26eeeb89d3d49 ssh-agent -k [2023-01-18T05:03:48.861Z] unset SSH_AUTH_SOCK; [2023-01-18T05:03:48.861Z] unset SSH_AGENT_PID; [2023-01-18T05:03:48.861Z] echo Agent pid 38 killed; [2023-01-18T05:03:48.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-18T05:03:48.963Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T05:03:48.963Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T05:03:49.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T05:03:49.086Z] $ docker exec affc5d1fa6297a70217405d3cdd9963bd88ba98162c358f6ebe26eeeb89d3d49 ssh-agent [2023-01-18T05:03:49.188Z] SSH_AUTH_SOCK=/tmp/ssh-uBuOAumOCfvx/agent.70 [2023-01-18T05:03:49.188Z] SSH_AGENT_PID=76 [2023-01-18T05:03:49.193Z] Running ssh-add (command line suppressed) [2023-01-18T05:03:49.292Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-216@tmp/private_key_3875271522937079019.key (/w/workspace/gexfoundry_device-snmp-go_PR-216@tmp/private_key_3875271522937079019.key) [2023-01-18T05:03:49.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T05:03:49.637Z] + git semver init [2023-01-18T05:03:49.897Z] 2023-01-18 05:03:49,842 [run_init] DEBUG init version:0.0.0 force:False [2023-01-18T05:03:49.897Z] 2023-01-18 05:03:49,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-216/.semver [2023-01-18T05:03:49.897Z] 2023-01-18 05:03:49,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-216/.semver [2023-01-18T05:03:49.897Z] 2023-01-18 05:03:49,843 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-216/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-216, universal_newlines=False, shell=None, istream=None) [2023-01-18T05:03:50.835Z] 2023-01-18 05:03:50,632 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-216/.git/info/exclude [2023-01-18T05:03:50.835Z] 2023-01-18 05:03:50,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-216/.semver/PR-216 with force:False [2023-01-18T05:03:50.835Z] 2023-01-18 05:03:50,633 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-216/.semver/PR-216 [2023-01-18T05:03:50.835Z] 2023-01-18 05:03:50,637 [execute] INFO git cat-file --batch-check [2023-01-18T05:03:50.836Z] 2023-01-18 05:03:50,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T05:03:50.836Z] 2023-01-18 05:03:50,645 [execute] INFO git cat-file --batch [2023-01-18T05:03:50.836Z] 2023-01-18 05:03:50,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T05:03:50.836Z] 2023-01-18 05:03:50,650 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-216/.semver/PR-216 [2023-01-18T05:03:50.836Z] 0.0.0 [Pipeline] } [2023-01-18T05:03:50.864Z] $ docker exec --env ******** --env ******** affc5d1fa6297a70217405d3cdd9963bd88ba98162c358f6ebe26eeeb89d3d49 ssh-agent -k [2023-01-18T05:03:50.957Z] unset SSH_AUTH_SOCK; [2023-01-18T05:03:50.958Z] unset SSH_AGENT_PID; [2023-01-18T05:03:50.958Z] echo Agent pid 76 killed; [2023-01-18T05:03:50.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-18T05:03:51.395Z] + git semver [Pipeline] } [2023-01-18T05:03:51.685Z] $ docker stop --time=1 affc5d1fa6297a70217405d3cdd9963bd88ba98162c358f6ebe26eeeb89d3d49 [2023-01-18T05:03:53.049Z] $ docker rm -f --volumes affc5d1fa6297a70217405d3cdd9963bd88ba98162c358f6ebe26eeeb89d3d49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T05:03:53.454Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-18T05:03:53.731Z] Stashed 1 file(s) [Pipeline] echo [2023-01-18T05:03:53.749Z] [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-01-18T05:03:54.353Z] provisioning config files... [2023-01-18T05:03:54.364Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-216@tmp/config5770387978663706306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:03:54.728Z] ---> docker-login.sh [2023-01-18T05:03:54.728Z] nexus3.edgexfoundry.org:10001 [2023-01-18T05:03:54.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:54.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:54.728Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:54.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:54.728Z] [2023-01-18T05:03:54.728Z] Login Succeeded [2023-01-18T05:03:54.728Z] nexus3.edgexfoundry.org:10002 [2023-01-18T05:03:54.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:54.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:54.992Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:54.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:54.992Z] [2023-01-18T05:03:54.992Z] Login Succeeded [2023-01-18T05:03:54.992Z] nexus3.edgexfoundry.org:10003 [2023-01-18T05:03:54.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:54.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:54.992Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:54.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:54.992Z] [2023-01-18T05:03:54.992Z] Login Succeeded [2023-01-18T05:03:54.992Z] nexus3.edgexfoundry.org:10004 [2023-01-18T05:03:54.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:55.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:55.253Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:55.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:55.253Z] [2023-01-18T05:03:55.253Z] Login Succeeded [2023-01-18T05:03:55.253Z] docker.io [2023-01-18T05:03:55.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:03:55.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:03:55.517Z] Configure a credential helper to remove this warning. See [2023-01-18T05:03:55.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:03:55.517Z] [2023-01-18T05:03:55.517Z] Login Succeeded [2023-01-18T05:03:55.517Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T05:03:55.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T05:03:55.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T05:03:55.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T05:03:55.816Z] ========================================================= [2023-01-18T05:03:55.816Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-18T05:03:55.816Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:03:56.280Z] + 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-01-18T05:03:56.280Z] Sending build context to Docker daemon 5.678MB [2023-01-18T05:03:56.280Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T05:03:56.280Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T05:03:56.280Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-18T05:03:56.280Z] 213ec9aee27d: Pulling fs layer [2023-01-18T05:03:56.280Z] 4583459ba037: Pulling fs layer [2023-01-18T05:03:56.280Z] 93c1e223e6f2: Pulling fs layer [2023-01-18T05:03:56.280Z] 53926ce57604: Pulling fs layer [2023-01-18T05:03:56.280Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-18T05:03:56.280Z] 22ff95d597cd: Pulling fs layer [2023-01-18T05:03:56.280Z] 12d6caf4c0d1: Pulling fs layer [2023-01-18T05:03:56.280Z] 96b7cbca73a9: Pulling fs layer [2023-01-18T05:03:56.280Z] a7acece74701: Pulling fs layer [2023-01-18T05:03:56.280Z] 21b2b0c7a3f4: Waiting [2023-01-18T05:03:56.280Z] 22ff95d597cd: Waiting [2023-01-18T05:03:56.280Z] 96b7cbca73a9: Waiting [2023-01-18T05:03:56.280Z] a7acece74701: Waiting [2023-01-18T05:03:56.280Z] 12d6caf4c0d1: Waiting [2023-01-18T05:03:56.280Z] 53926ce57604: Waiting [2023-01-18T05:03:56.280Z] 93c1e223e6f2: Download complete [2023-01-18T05:03:56.280Z] 4583459ba037: Download complete [2023-01-18T05:03:56.280Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-18T05:03:56.280Z] 21b2b0c7a3f4: Download complete [2023-01-18T05:03:56.548Z] 22ff95d597cd: Verifying Checksum [2023-01-18T05:03:56.548Z] 22ff95d597cd: Download complete [2023-01-18T05:03:56.548Z] 213ec9aee27d: Verifying Checksum [2023-01-18T05:03:56.548Z] 213ec9aee27d: Download complete [2023-01-18T05:03:56.548Z] 12d6caf4c0d1: Download complete [2023-01-18T05:03:56.548Z] 213ec9aee27d: Pull complete [2023-01-18T05:03:56.820Z] 4583459ba037: Pull complete [2023-01-18T05:03:56.820Z] 93c1e223e6f2: Pull complete [2023-01-18T05:03:57.840Z] 53926ce57604: Verifying Checksum [2023-01-18T05:03:57.840Z] 53926ce57604: Download complete [2023-01-18T05:03:57.840Z] a7acece74701: Verifying Checksum [2023-01-18T05:03:57.840Z] a7acece74701: Download complete [2023-01-18T05:03:57.840Z] 96b7cbca73a9: Verifying Checksum [2023-01-18T05:03:57.840Z] 96b7cbca73a9: Download complete [2023-01-18T05:04:02.032Z] 53926ce57604: Pull complete [2023-01-18T05:04:02.032Z] 21b2b0c7a3f4: Pull complete [2023-01-18T05:04:02.032Z] 22ff95d597cd: Pull complete [2023-01-18T05:04:02.032Z] 12d6caf4c0d1: Pull complete [2023-01-18T05:04:04.566Z] 96b7cbca73a9: Pull complete [2023-01-18T05:04:05.133Z] a7acece74701: Pull complete [2023-01-18T05:04:05.133Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-18T05:04:05.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-18T05:04:05.133Z] ---> db6d94c90886 [2023-01-18T05:04:05.133Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T05:04:07.036Z] ---> Running in bdc975d4a8b0 [2023-01-18T05:04:07.036Z] Removing intermediate container bdc975d4a8b0 [2023-01-18T05:04:07.036Z] ---> f976efb8caae [2023-01-18T05:04:07.036Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T05:04:07.036Z] ---> Running in d380e61a2496 [2023-01-18T05:04:07.036Z] Removing intermediate container d380e61a2496 [2023-01-18T05:04:07.036Z] ---> 52e6712d9b49 [2023-01-18T05:04:07.036Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T05:04:07.297Z] ---> Running in e4c0513ff4df [2023-01-18T05:04:07.297Z] Removing intermediate container e4c0513ff4df [2023-01-18T05:04:07.297Z] ---> b01b6e8865c5 [2023-01-18T05:04:07.297Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T05:04:07.297Z] ---> Running in a090366a68bd [2023-01-18T05:04:07.297Z] Removing intermediate container a090366a68bd [2023-01-18T05:04:07.297Z] ---> 71d8a5b17ca5 [2023-01-18T05:04:07.297Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T05:04:07.557Z] ---> Running in c454283a8981 [2023-01-18T05:04:07.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T05:04:07.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T05:04:08.074Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T05:04:08.074Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T05:04:08.074Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T05:04:08.333Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T05:04:08.333Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T05:04:08.333Z] OK: 216 MiB in 55 packages [2023-01-18T05:04:08.593Z] Removing intermediate container c454283a8981 [2023-01-18T05:04:08.593Z] ---> 16d1d176f2dd [2023-01-18T05:04:08.593Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-18T05:04:08.593Z] ---> Running in 66530be6a954 [2023-01-18T05:04:08.857Z] Removing intermediate container 66530be6a954 [2023-01-18T05:04:08.857Z] ---> 6d69706d0094 [2023-01-18T05:04:08.857Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T05:04:08.857Z] ---> 45754f64cf1b [2023-01-18T05:04:08.857Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T05:04:09.118Z] ---> Running in d907cacc7045 [2023-01-18T05:04:09.169Z] Still waiting to schedule task [2023-01-18T05:04:09.170Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2877’ is offline [2023-01-18T05:04:35.694Z] Removing intermediate container d907cacc7045 [2023-01-18T05:04:35.694Z] ---> 98259b27bd0b [2023-01-18T05:04:35.694Z] Step 11/12 : COPY . . [2023-01-18T05:04:35.694Z] ---> c106ea4609bc [2023-01-18T05:04:35.694Z] Step 12/12 : RUN ${MAKE} [2023-01-18T05:04:35.694Z] ---> Running in c9394ec9d7f0 [2023-01-18T05:04:35.694Z] noop [2023-01-18T05:04:35.694Z] Removing intermediate container c9394ec9d7f0 [2023-01-18T05:04:35.694Z] ---> f4d2df1608a8 [2023-01-18T05:04:35.694Z] Successfully built f4d2df1608a8 [2023-01-18T05:04:35.694Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:04:36.131Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T05:04:36.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:04:36.284Z] prd-ubuntu20.04-docker-8c-8g-2876 does not seem to be running inside a container [2023-01-18T05:04:36.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-216 -v /w/workspace/gexfoundry_device-snmp-go_PR-216:/w/workspace/gexfoundry_device-snmp-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-216@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-216@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-01-18T05:04:36.699Z] $ docker top fa5b016fe9087833f1508db8fc68381850846cb3d3f058ba49205c05b8875493 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T05:04:37.085Z] + go version [2023-01-18T05:04:37.085Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-18T05:04:37.113Z] $ docker stop --time=1 fa5b016fe9087833f1508db8fc68381850846cb3d3f058ba49205c05b8875493 [2023-01-18T05:04:38.440Z] $ docker rm -f --volumes fa5b016fe9087833f1508db8fc68381850846cb3d3f058ba49205c05b8875493 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:04:39.155Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T05:04:39.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:04:39.303Z] prd-ubuntu20.04-docker-8c-8g-2876 does not seem to be running inside a container [2023-01-18T05:04:39.334Z] $ 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-216 -v /w/workspace/gexfoundry_device-snmp-go_PR-216:/w/workspace/gexfoundry_device-snmp-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-216@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-216@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-01-18T05:04:39.681Z] $ docker top 9b6ce1adb4e32c57aa183287493569283df278e5ee087dc48e17d477ca0a1fcb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T05:04:40.086Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-216 [Pipeline] fileExists [Pipeline] sh [2023-01-18T05:04:40.448Z] + make test [2023-01-18T05:04:40.448Z] go test ./... -coverprofile=coverage.out [2023-01-18T05:04:40.705Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-18T05:04:47.261Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-18T05:04:47.261Z] /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-01-18T05:04:47.261Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-18T05:04:47.261Z] 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-01-18T05:04:47.261Z] 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-01-18T05:04:47.261Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-18T05:04:48.634Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-18T05:04:48.634Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-18T05:04:48.634Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-18T05:04:48.634Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-18T05:04:48.634Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-18T05:04:48.634Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-18T05:04:48.634Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements [2023-01-18T05:04:48.634Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-01-18T05:04:48.678Z] $ docker stop --time=1 9b6ce1adb4e32c57aa183287493569283df278e5ee087dc48e17d477ca0a1fcb [2023-01-18T05:04:50.438Z] $ docker rm -f --volumes 9b6ce1adb4e32c57aa183287493569283df278e5ee087dc48e17d477ca0a1fcb [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-01-18T05:04:51.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T05:04:51.568Z] [2023-01-18T05:04:51.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:04:51.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T05:04:51.945Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-18T05:04:51.945Z] 5eb5b503b376: Pulling fs layer [2023-01-18T05:04:51.945Z] 5c69ac0246d0: Pulling fs layer [2023-01-18T05:04:51.945Z] ec43610c2a17: Pulling fs layer [2023-01-18T05:04:51.945Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-18T05:04:51.945Z] 33b1e0a273af: Pulling fs layer [2023-01-18T05:04:51.945Z] 5d3b04190fa2: Pulling fs layer [2023-01-18T05:04:51.945Z] 2f39f015ded8: Pulling fs layer [2023-01-18T05:04:51.945Z] 33b1e0a273af: Waiting [2023-01-18T05:04:51.945Z] 5d3b04190fa2: Waiting [2023-01-18T05:04:51.945Z] 3a2ae6a8a46f: Waiting [2023-01-18T05:04:51.945Z] 5c69ac0246d0: Verifying Checksum [2023-01-18T05:04:51.945Z] 5c69ac0246d0: Download complete [2023-01-18T05:04:51.945Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-18T05:04:51.945Z] 3a2ae6a8a46f: Download complete [2023-01-18T05:04:52.210Z] 33b1e0a273af: Verifying Checksum [2023-01-18T05:04:52.210Z] 33b1e0a273af: Download complete [2023-01-18T05:04:52.210Z] 5d3b04190fa2: Download complete [2023-01-18T05:04:52.210Z] ec43610c2a17: Verifying Checksum [2023-01-18T05:04:52.210Z] ec43610c2a17: Download complete [2023-01-18T05:04:52.471Z] 5eb5b503b376: Verifying Checksum [2023-01-18T05:04:52.471Z] 5eb5b503b376: Download complete [2023-01-18T05:04:53.042Z] 2f39f015ded8: Download complete [2023-01-18T05:04:53.608Z] 5eb5b503b376: Pull complete [2023-01-18T05:04:53.608Z] 5c69ac0246d0: Pull complete [2023-01-18T05:04:54.175Z] ec43610c2a17: Pull complete [2023-01-18T05:04:54.175Z] 3a2ae6a8a46f: Pull complete [2023-01-18T05:04:54.432Z] 33b1e0a273af: Pull complete [2023-01-18T05:04:54.432Z] 5d3b04190fa2: Pull complete [2023-01-18T05:04:58.623Z] 2f39f015ded8: Pull complete [2023-01-18T05:04:58.623Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-18T05:04:58.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T05:04:58.623Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:04:58.846Z] prd-ubuntu20.04-docker-8c-8g-2876 does not seem to be running inside a container [2023-01-18T05:04:58.877Z] $ 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-216 -v /w/workspace/gexfoundry_device-snmp-go_PR-216:/w/workspace/gexfoundry_device-snmp-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-216@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-216@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-01-18T05:05:00.801Z] $ docker top 19e5e8f2c97f086bb8854cd44341e8b053f8ded465a80a6e98552aceda64d5f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:05:01.343Z] ---> job-cost.sh [2023-01-18T05:05:01.344Z] lf-activate-venv: SKIPPING [2023-01-18T05:05:01.344Z] INFO: No Stack... [2023-01-18T05:05:01.935Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T05:05:02.196Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T05:05:02.526Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-216/archives/cost.csv [2023-01-18T05:05:02.526Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T05:05:02.565Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] [2023-01-18T05:05:02.569Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] did not exist. Created. [2023-01-18T05:05:02.569Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T05:05:02.961Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-18T05:05:03.044Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T05:05:03.059Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T05:05:03.133Z] $ docker stop --time=1 19e5e8f2c97f086bb8854cd44341e8b053f8ded465a80a6e98552aceda64d5f0 [2023-01-18T05:05:04.306Z] $ docker rm -f --volumes 19e5e8f2c97f086bb8854cd44341e8b053f8ded465a80a6e98552aceda64d5f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T05:05:04.661Z] Failed in branch amd64 [2023-01-18T05:06:49.342Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2880 in /w/workspace/gexfoundry_device-snmp-go_PR-216 [Pipeline] { [Pipeline] ws [2023-01-18T05:06:49.397Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-01-18T05:06:49.477Z] Selected Git installation does not exist. Using Default [2023-01-18T05:06:49.477Z] The recommended git tool is: NONE [2023-01-18T05:06:55.401Z] using credential edgex-jenkins-ssh [2023-01-18T05:06:55.423Z] Cloning the remote Git repository [2023-01-18T05:06:55.477Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-18T05:06:55.568Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-01-18T05:06:55.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-18T05:06:55.761Z] > git --version # timeout=10 [2023-01-18T05:06:55.793Z] > git --version # 'git version 2.25.1' [2023-01-18T05:06:55.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T05:06:55.860Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T05:06:56.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-18T05:06:56.946Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T05:06:57.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-18T05:06:57.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-18T05:06:57.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T05:06:57.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-18T05:06:58.342Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 [2023-01-18T05:06:58.564Z] Merge succeeded, producing 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 [2023-01-18T05:06:58.564Z] Checking out Revision 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 (PR-216) [2023-01-18T05:06:59.067Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-18T05:06:59.123Z] > git --version # timeout=10 [2023-01-18T05:06:59.135Z] > git --version # 'git version 2.25.1' [2023-01-18T05:06:59.150Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-01-18T05:06:58.360Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T05:06:58.378Z] > git checkout -f 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 # timeout=10 [2023-01-18T05:06:58.455Z] > git remote # timeout=10 [2023-01-18T05:06:58.473Z] > git config --get remote.origin.url # timeout=10 [2023-01-18T05:06:58.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T05:06:58.509Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-01-18T05:06:58.539Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-18T05:06:58.585Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T05:06:58.607Z] > git checkout -f 7c49df4030aa9eaa4e195ada6f4e079f41c08ad8 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T05:07:00.284Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-18T05:07:00.284Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T05:07:00.284Z] Dload Upload Total Spent Left Speed [2023-01-18T05:07:00.284Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-01-18T05:07:00.896Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-18T05:07:01.247Z] + sudo tee /etc/docker/daemon.new+ [2023-01-18T05:07:01.247Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-18T05:07:01.247Z] { [2023-01-18T05:07:01.247Z] "registry-mirrors": [ [2023-01-18T05:07:01.247Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-18T05:07:01.247Z] ], [2023-01-18T05:07:01.247Z] "bip": "10.250.0.254/24", [2023-01-18T05:07:01.247Z] "hosts": [ [2023-01-18T05:07:01.247Z] "tcp://0.0.0.0:5555", [2023-01-18T05:07:01.247Z] "unix:///var/run/docker.sock" [2023-01-18T05:07:01.247Z] ], [2023-01-18T05:07:01.247Z] "mtu": 1458, [2023-01-18T05:07:01.247Z] "selinux-enabled": true, [2023-01-18T05:07:01.247Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-18T05:07:01.247Z] } [Pipeline] sh [2023-01-18T05:07:01.598Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-18T05:07:01.966Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T05:07:20.313Z] provisioning config files... [2023-01-18T05:07:20.342Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config17689773650772622196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:07:20.746Z] ---> docker-login.sh [2023-01-18T05:07:20.747Z] nexus3.edgexfoundry.org:10001 [2023-01-18T05:07:21.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:07:21.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:07:21.335Z] Configure a credential helper to remove this warning. See [2023-01-18T05:07:21.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:07:21.335Z] [2023-01-18T05:07:21.335Z] Login Succeeded [2023-01-18T05:07:21.335Z] nexus3.edgexfoundry.org:10002 [2023-01-18T05:07:21.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:07:21.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:07:21.875Z] Configure a credential helper to remove this warning. See [2023-01-18T05:07:21.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:07:21.875Z] [2023-01-18T05:07:21.875Z] Login Succeeded [2023-01-18T05:07:21.875Z] nexus3.edgexfoundry.org:10003 [2023-01-18T05:07:21.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:07:22.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:07:22.146Z] Configure a credential helper to remove this warning. See [2023-01-18T05:07:22.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:07:22.146Z] [2023-01-18T05:07:22.146Z] Login Succeeded [2023-01-18T05:07:22.146Z] nexus3.edgexfoundry.org:10004 [2023-01-18T05:07:22.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:07:22.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:07:22.418Z] Configure a credential helper to remove this warning. See [2023-01-18T05:07:22.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:07:22.418Z] [2023-01-18T05:07:22.418Z] Login Succeeded [2023-01-18T05:07:22.418Z] docker.io [2023-01-18T05:07:22.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T05:07:22.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T05:07:22.957Z] Configure a credential helper to remove this warning. See [2023-01-18T05:07:22.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T05:07:22.957Z] [2023-01-18T05:07:22.957Z] Login Succeeded [2023-01-18T05:07:22.957Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T05:07:22.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T05:07:23.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T05:07:23.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T05:07:23.459Z] ========================================================= [2023-01-18T05:07:23.459Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-18T05:07:23.459Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:07:23.933Z] + 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-01-18T05:07:24.200Z] Sending build context to Docker daemon 2.938MB [2023-01-18T05:07:24.200Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T05:07:24.200Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T05:07:24.473Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-18T05:07:24.473Z] 9b18e9b68314: Pulling fs layer [2023-01-18T05:07:24.473Z] 35d82f9e3411: Pulling fs layer [2023-01-18T05:07:24.473Z] e16973657156: Pulling fs layer [2023-01-18T05:07:24.473Z] fc693d55d65f: Pulling fs layer [2023-01-18T05:07:24.473Z] 7e9fc2657dce: Pulling fs layer [2023-01-18T05:07:24.473Z] dda99020689f: Pulling fs layer [2023-01-18T05:07:24.473Z] db1c61fa0a46: Pulling fs layer [2023-01-18T05:07:24.473Z] 891c053d2c06: Pulling fs layer [2023-01-18T05:07:24.473Z] fc693d55d65f: Waiting [2023-01-18T05:07:24.473Z] 7e9fc2657dce: Waiting [2023-01-18T05:07:24.473Z] dda99020689f: Waiting [2023-01-18T05:07:24.473Z] db1c61fa0a46: Waiting [2023-01-18T05:07:24.473Z] 891c053d2c06: Waiting [2023-01-18T05:07:24.473Z] e16973657156: Verifying Checksum [2023-01-18T05:07:24.473Z] e16973657156: Download complete [2023-01-18T05:07:24.473Z] 35d82f9e3411: Download complete [2023-01-18T05:07:24.473Z] 7e9fc2657dce: Verifying Checksum [2023-01-18T05:07:24.473Z] 7e9fc2657dce: Download complete [2023-01-18T05:07:24.473Z] dda99020689f: Download complete [2023-01-18T05:07:24.473Z] 9b18e9b68314: Verifying Checksum [2023-01-18T05:07:24.473Z] 9b18e9b68314: Download complete [2023-01-18T05:07:25.906Z] 9b18e9b68314: Pull complete [2023-01-18T05:07:25.906Z] 891c053d2c06: Verifying Checksum [2023-01-18T05:07:25.906Z] 891c053d2c06: Download complete [2023-01-18T05:07:26.176Z] 35d82f9e3411: Pull complete [2023-01-18T05:07:26.453Z] e16973657156: Pull complete [2023-01-18T05:07:27.041Z] db1c61fa0a46: Verifying Checksum [2023-01-18T05:07:27.041Z] db1c61fa0a46: Download complete [2023-01-18T05:07:27.627Z] fc693d55d65f: Verifying Checksum [2023-01-18T05:07:27.627Z] fc693d55d65f: Download complete [2023-01-18T05:07:39.946Z] fc693d55d65f: Pull complete [2023-01-18T05:07:39.946Z] 7e9fc2657dce: Pull complete [2023-01-18T05:07:39.946Z] dda99020689f: Pull complete [2023-01-18T05:07:44.206Z] db1c61fa0a46: Pull complete [2023-01-18T05:07:46.180Z] 891c053d2c06: Pull complete [2023-01-18T05:07:46.180Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-18T05:07:46.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-18T05:07:46.180Z] ---> f96f9c87975a [2023-01-18T05:07:46.180Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T05:07:48.161Z] ---> Running in c540064e7eed [2023-01-18T05:07:48.161Z] Removing intermediate container c540064e7eed [2023-01-18T05:07:48.161Z] ---> ede6617d3713 [2023-01-18T05:07:48.161Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T05:07:48.429Z] ---> Running in 7106e6bececb [2023-01-18T05:07:48.695Z] Removing intermediate container 7106e6bececb [2023-01-18T05:07:48.695Z] ---> 4cac9f79ee27 [2023-01-18T05:07:48.695Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T05:07:48.695Z] ---> Running in 257733c9c5be [2023-01-18T05:07:48.961Z] Removing intermediate container 257733c9c5be [2023-01-18T05:07:48.961Z] ---> 15104a8a9aa0 [2023-01-18T05:07:48.961Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T05:07:49.227Z] ---> Running in a6fa16b0a37b [2023-01-18T05:07:49.494Z] Removing intermediate container a6fa16b0a37b [2023-01-18T05:07:49.494Z] ---> dad3c63c8fa4 [2023-01-18T05:07:49.494Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T05:07:49.494Z] ---> Running in 18c198f0a466 [2023-01-18T05:07:50.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T05:07:50.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T05:07:51.735Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T05:07:51.735Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T05:07:51.735Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T05:07:51.735Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T05:07:51.735Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T05:07:52.006Z] OK: 226 MiB in 55 packages [2023-01-18T05:07:53.022Z] Removing intermediate container 18c198f0a466 [2023-01-18T05:07:53.022Z] ---> abb8c333813e [2023-01-18T05:07:53.022Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-18T05:07:53.022Z] ---> Running in 8984dfdcbf05 [2023-01-18T05:07:53.289Z] Removing intermediate container 8984dfdcbf05 [2023-01-18T05:07:53.289Z] ---> 1555c449842f [2023-01-18T05:07:53.289Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T05:07:53.881Z] ---> 315a020bfff1 [2023-01-18T05:07:53.881Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T05:07:53.881Z] ---> Running in 6ad856612c88 [2023-01-18T05:08:50.308Z] Removing intermediate container 6ad856612c88 [2023-01-18T05:08:50.308Z] ---> 5f67a11ee0c5 [2023-01-18T05:08:50.308Z] Step 11/12 : COPY . . [2023-01-18T05:08:50.308Z] ---> 5fcca706feed [2023-01-18T05:08:50.308Z] Step 12/12 : RUN ${MAKE} [2023-01-18T05:08:50.308Z] ---> Running in 3e69430ded36 [2023-01-18T05:08:50.308Z] noop [2023-01-18T05:08:50.308Z] Removing intermediate container 3e69430ded36 [2023-01-18T05:08:50.308Z] ---> 106195f71bfd [2023-01-18T05:08:50.308Z] Successfully built 106195f71bfd [2023-01-18T05:08:50.308Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:08:50.799Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T05:08:50.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:08:51.077Z] prd-ubuntu20.04-docker-arm64-4c-16g-2880 does not seem to be running inside a container [2023-01-18T05:08:51.157Z] $ 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-01-18T05:08:52.378Z] $ docker top 83c0a253c1fd7bb236991b59535e89191bc3f4dd90f561a3d597358723d89034 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T05:08:53.269Z] + go version [2023-01-18T05:08:53.269Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-18T05:08:53.308Z] $ docker stop --time=1 83c0a253c1fd7bb236991b59535e89191bc3f4dd90f561a3d597358723d89034 [2023-01-18T05:08:54.933Z] $ docker rm -f --volumes 83c0a253c1fd7bb236991b59535e89191bc3f4dd90f561a3d597358723d89034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:08:55.837Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T05:08:55.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:08:56.097Z] prd-ubuntu20.04-docker-arm64-4c-16g-2880 does not seem to be running inside a container [2023-01-18T05:08:56.173Z] $ 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-01-18T05:08:57.389Z] $ docker top 9ba2ab5916be1046cf1a9d02a1821a53a5a74df7b6d26007fb3203c1e04dc367 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T05:08:58.284Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-18T05:08:58.675Z] + make test [2023-01-18T05:08:58.675Z] go test ./... -coverprofile=coverage.out [2023-01-18T05:09:00.622Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-18T05:09:57.058Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-18T05:09:57.058Z] /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-01-18T05:09:57.058Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-18T05:09:57.058Z] 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-01-18T05:09:57.058Z] 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-01-18T05:09:57.058Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-18T05:10:19.185Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-18T05:10:19.185Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-18T05:10:19.185Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-18T05:10:19.185Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-18T05:10:19.185Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-18T05:10:19.185Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-18T05:10:23.442Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2023-01-18T05:10:23.442Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-01-18T05:10:23.484Z] $ docker stop --time=1 9ba2ab5916be1046cf1a9d02a1821a53a5a74df7b6d26007fb3203c1e04dc367 [2023-01-18T05:10:26.795Z] $ docker rm -f --volumes 9ba2ab5916be1046cf1a9d02a1821a53a5a74df7b6d26007fb3203c1e04dc367 [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-01-18T05:10:28.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T05:10:28.309Z] [2023-01-18T05:10:28.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:10:28.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T05:10:28.716Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-18T05:10:28.716Z] 8998bd30e6a1: Pulling fs layer [2023-01-18T05:10:28.716Z] 04944245beec: Pulling fs layer [2023-01-18T05:10:28.716Z] 699f458cf7ca: Pulling fs layer [2023-01-18T05:10:28.716Z] 765212b225bb: Pulling fs layer [2023-01-18T05:10:28.716Z] f23df028b6ca: Pulling fs layer [2023-01-18T05:10:28.716Z] d65c8cfc05b1: Pulling fs layer [2023-01-18T05:10:28.716Z] 2437ff75d9bd: Pulling fs layer [2023-01-18T05:10:28.716Z] 765212b225bb: Waiting [2023-01-18T05:10:28.716Z] d65c8cfc05b1: Waiting [2023-01-18T05:10:28.716Z] f23df028b6ca: Waiting [2023-01-18T05:10:28.987Z] 04944245beec: Verifying Checksum [2023-01-18T05:10:28.987Z] 04944245beec: Download complete [2023-01-18T05:10:28.987Z] 765212b225bb: Verifying Checksum [2023-01-18T05:10:28.987Z] 765212b225bb: Download complete [2023-01-18T05:10:28.987Z] f23df028b6ca: Verifying Checksum [2023-01-18T05:10:28.987Z] f23df028b6ca: Download complete [2023-01-18T05:10:28.987Z] d65c8cfc05b1: Verifying Checksum [2023-01-18T05:10:28.987Z] d65c8cfc05b1: Download complete [2023-01-18T05:10:29.274Z] 699f458cf7ca: Verifying Checksum [2023-01-18T05:10:29.274Z] 699f458cf7ca: Download complete [2023-01-18T05:10:29.544Z] 8998bd30e6a1: Verifying Checksum [2023-01-18T05:10:29.544Z] 8998bd30e6a1: Download complete [2023-01-18T05:10:32.149Z] 2437ff75d9bd: Verifying Checksum [2023-01-18T05:10:32.149Z] 2437ff75d9bd: Download complete [2023-01-18T05:10:33.563Z] 8998bd30e6a1: Pull complete [2023-01-18T05:10:34.146Z] 04944245beec: Pull complete [2023-01-18T05:10:35.564Z] 699f458cf7ca: Pull complete [2023-01-18T05:10:35.564Z] 765212b225bb: Pull complete [2023-01-18T05:10:36.527Z] f23df028b6ca: Pull complete [2023-01-18T05:10:36.527Z] d65c8cfc05b1: Pull complete [2023-01-18T05:10:51.528Z] 2437ff75d9bd: Pull complete [2023-01-18T05:10:51.528Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-18T05:10:51.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T05:10:51.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:10:51.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-2880 does not seem to be running inside a container [2023-01-18T05:10:51.912Z] $ 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-01-18T05:10:54.541Z] $ docker top d97b06bcabfb93be3f98ddc70ba6b4c75b685c292920d0ffe17cdad6130c2d85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:10:55.453Z] ---> job-cost.sh [2023-01-18T05:10:55.453Z] lf-activate-venv: SKIPPING [2023-01-18T05:10:55.453Z] INFO: No Stack... [2023-01-18T05:10:56.036Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-18T05:10:56.620Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T05:10:56.972Z] + cut -d, -f6 [2023-01-18T05:10:56.972Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2023-01-18T05:10:57.328Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] [2023-01-18T05:10:57.333Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] did not exist. Created. [2023-01-18T05:10:57.333Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T05:10:57.757Z] /w/workspace/device-snmp-go/1@tmp/durable-e33580e3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-18T05:10:58.122Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-18T05:10:58.167Z] Warning: overwriting stash ‘stack-cost’ [2023-01-18T05:10:58.627Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T05:10:58.643Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T05:10:58.715Z] $ docker stop --time=1 d97b06bcabfb93be3f98ddc70ba6b4c75b685c292920d0ffe17cdad6130c2d85 [2023-01-18T05:11:00.261Z] $ docker rm -f --volumes d97b06bcabfb93be3f98ddc70ba6b4c75b685c292920d0ffe17cdad6130c2d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T05:11:01.073Z] 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-01-18T05:11:02.987Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-216/archives ] [2023-01-18T05:11:02.987Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-216/archives [2023-01-18T05:11:02.987Z] total 16 [2023-01-18T05:11:02.987Z] drwxr-xr-x 3 root root 4096 Jan 18 05:05 . [2023-01-18T05:11:02.987Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 05:05 .. [2023-01-18T05:11:02.987Z] drwxr-xr-x 2 root root 4096 Jan 18 05:05 cost [2023-01-18T05:11:02.987Z] -rw-r--r-- 1 root root 86 Jan 18 05:05 cost.csv [2023-01-18T05:11:02.987Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-216/archives [2023-01-18T05:11:02.987Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-216/archives [2023-01-18T05:11:02.987Z] total 16 [2023-01-18T05:11:02.987Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 05:05 . [2023-01-18T05:11:02.987Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 05:05 .. [2023-01-18T05:11:02.987Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 05:05 cost [2023-01-18T05:11:02.987Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 18 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:11:03.305Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:11:04.193Z] ---> package-listing.sh [2023-01-18T05:11:04.193Z] ++ facter osfamily [2023-01-18T05:11:04.193Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-18T05:11:04.454Z] + OS_FAMILY=debian [2023-01-18T05:11:04.454Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-216 [2023-01-18T05:11:04.454Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-18T05:11:04.454Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-18T05:11:04.454Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-18T05:11:04.454Z] + PACKAGES=/tmp/packages_start.txt [2023-01-18T05:11:04.454Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-216 ']' [2023-01-18T05:11:04.454Z] + PACKAGES=/tmp/packages_end.txt [2023-01-18T05:11:04.454Z] + case "${OS_FAMILY}" in [2023-01-18T05:11:04.454Z] + dpkg -l [2023-01-18T05:11:04.454Z] + grep '^ii' [2023-01-18T05:11:04.454Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-18T05:11:04.454Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-18T05:11:04.454Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-18T05:11:04.454Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-216 ']' [2023-01-18T05:11:04.454Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-216/archives/ [2023-01-18T05:11:04.454Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-216/archives/ [Pipeline] echo [2023-01-18T05:11:04.483Z] 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-18T05:11:04.773Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T05:11:05.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T05:11:05.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T05:11:05.542Z] prd-ubuntu20.04-docker-8c-8g-2876 does not seem to be running inside a container [2023-01-18T05:11:05.567Z] $ 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-216/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-216 -v /w/workspace/gexfoundry_device-snmp-go_PR-216:/w/workspace/gexfoundry_device-snmp-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-216@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-216@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-01-18T05:11:05.787Z] $ docker top 96f7c1e52b023b069e6d08e78ff741a08730e9d32b136cff769c1d19db321b82 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T05:11:06.189Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-18T05:11:06.505Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-18T05:11:06.812Z] + ls /var/log/sa-host [2023-01-18T05:11:06.812Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T05:11:06.944Z] provisioning config files... [2023-01-18T05:11:06.952Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-216@tmp/config17203306026140186156tmp [Pipeline] { [Pipeline] echo [2023-01-18T05:11:07.006Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:11:07.322Z] ---> create-netrc.sh [Pipeline] } [2023-01-18T05:11:07.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:11:07.751Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-18T05:11:07.785Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:11:08.095Z] ---> sudo-logs.sh [2023-01-18T05:11:08.095Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-18T05:11:08.191Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:11:08.505Z] ---> job-cost.sh [2023-01-18T05:11:08.505Z] lf-activate-venv: SKIPPING [2023-01-18T05:11:08.505Z] DEBUG: total: 0.2199999988079071 [2023-01-18T05:11:08.505Z] INFO: Retrieving Stack Cost... [2023-01-18T05:11:08.764Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T05:11:09.022Z] INFO: Archiving Costs [Pipeline] echo [2023-01-18T05:11:09.066Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T05:11:09.378Z] ---> logs-deploy.sh [2023-01-18T05:11:09.378Z] lf-activate-venv: SKIPPING [2023-01-18T05:11:09.378Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-216/1 [2023-01-18T05:11:09.378Z] INFO: archiving workspace using pattern(s): [2023-01-18T05:11:10.313Z] Archives upload complete. [2023-01-18T05:11:10.313Z] INFO: archiving logs to Nexus