Pull request #267 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 108d12f7a637998a7d24b3f06a19124d0088a586+965f04e6862849b37eeb3a58b1f16c31f2ab2615 (dd64206e60ac9b1cef92c3e6d00ebecfbb5c4e67) 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-ssh12702614795000441047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11602991608521620049.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-267/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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15516811526802450959.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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13349344648120002260.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16326744509805297111.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-267/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-267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11152960152363576334.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4343 in /w/workspace/gexfoundry_device-snmp-go_PR-267 [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-267 # 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 108d12f7a637998a7d24b3f06a19124d0088a586 Merge succeeded, producing 108d12f7a637998a7d24b3f06a19124d0088a586 Checking out Revision 108d12f7a637998a7d24b3f06a19124d0088a586 (PR-267) > 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/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 108d12f7a637998a7d24b3f06a19124d0088a586 # 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 108d12f7a637998a7d24b3f06a19124d0088a586 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T05:59:10.254Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T05:59:10.429Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T05:59:10.531Z] ========================================================= [2023-03-17T05:59:10.531Z] EdgeX Global Pipelines Version Info [2023-03-17T05:59:10.531Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T05:59:11.292Z] ------------------- [2023-03-17T05:59:11.292Z] stable info: [2023-03-17T05:59:11.292Z] ------------------- [2023-03-17T05:59:11.292Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T05:59:11.292Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T05:59:11.292Z] Message: update stable to v1.0.245 [2023-03-17T05:59:11.866Z] ------------------- [2023-03-17T05:59:11.866Z] experimental info: [2023-03-17T05:59:11.866Z] ------------------- [2023-03-17T05:59:11.866Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T05:59:11.866Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T05:59:11.866Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T05:59:12.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-17T05:59:12.254Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-17T05:59:12.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T05:59:12.342Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T05:59:12.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T05:59:12.423Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T05:59:12.464Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T05:59:12.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T05:59:12.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T05:59:12.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T05:59:12.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T05:59:12.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-17T05:59:12.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T05:59:12.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T05:59:12.840Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T05:59:12.876Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T05:59:12.912Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T05:59:12.955Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T05:59:12.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T05:59:13.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T05:59:13.072Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-17T05:59:13.108Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-17T05:59:13.145Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T05:59:13.182Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T05:59:13.218Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T05:59:13.254Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T05:59:13.290Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T05:59:13.327Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-267 [Pipeline] echo [2023-03-17T05:59:13.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-267 [Pipeline] echo [2023-03-17T05:59:13.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-267 [Pipeline] echo [2023-03-17T05:59:13.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 108d12f7a637998a7d24b3f06a19124d0088a586 [Pipeline] echo [2023-03-17T05:59:13.495Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 108d12f [Pipeline] echo [2023-03-17T05:59:13.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T05:59:13.652Z] provisioning config files... [2023-03-17T05:59:13.674Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-267@tmp/config6539859325388311422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T05:59:14.015Z] ---> docker-login.sh [2023-03-17T05:59:14.015Z] nexus3.edgexfoundry.org:10001 [2023-03-17T05:59:14.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:14.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:14.274Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:14.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:14.274Z] [2023-03-17T05:59:14.274Z] Login Succeeded [2023-03-17T05:59:14.274Z] nexus3.edgexfoundry.org:10002 [2023-03-17T05:59:14.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:14.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:14.274Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:14.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:14.274Z] [2023-03-17T05:59:14.274Z] Login Succeeded [2023-03-17T05:59:14.274Z] nexus3.edgexfoundry.org:10003 [2023-03-17T05:59:14.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:14.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:14.535Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:14.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:14.535Z] [2023-03-17T05:59:14.535Z] Login Succeeded [2023-03-17T05:59:14.535Z] nexus3.edgexfoundry.org:10004 [2023-03-17T05:59:14.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:14.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:14.535Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:14.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:14.535Z] [2023-03-17T05:59:14.535Z] Login Succeeded [2023-03-17T05:59:14.535Z] docker.io [2023-03-17T05:59:14.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:14.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:14.795Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:14.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:14.795Z] [2023-03-17T05:59:14.795Z] Login Succeeded [2023-03-17T05:59:14.795Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T05:59:14.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T05:59:15.450Z] + git rev-list -1 --merges 108d12f7a637998a7d24b3f06a19124d0088a586~1..108d12f7a637998a7d24b3f06a19124d0088a586 [Pipeline] echo [2023-03-17T05:59:15.517Z] -----------> git rev-list -1 --merges 108d12f7a637998a7d24b3f06a19124d0088a586~1..108d12f7a637998a7d24b3f06a19124d0088a586 108d12f7a637998a7d24b3f06a19124d0088a586 [false] [Pipeline] sh [2023-03-17T05:59:15.827Z] + git log --format=format:%s -1 108d12f7a637998a7d24b3f06a19124d0088a586 [Pipeline] echo [2023-03-17T05:59:15.864Z] ========================================================= [2023-03-17T05:59:15.864Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T05:59:15.864Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T05:59:16.272Z] + git log --format=format:%s -1 108d12f7a637998a7d24b3f06a19124d0088a586 [Pipeline] echo [2023-03-17T05:59:16.303Z] [semverPrep] GIT_COMMIT: 108d12f7a637998a7d24b3f06a19124d0088a586, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-17T05:59:16.332Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T05:59:16.720Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T05:59:16.720Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T05:59:16.720Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T05:59:16.720Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T05:59:16.720Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T05:59:16.720Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T05:59:16.720Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T05:59:17.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T05:59:17.144Z] [2023-03-17T05:59:17.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T05:59:17.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T05:59:17.525Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T05:59:17.525Z] b85a868b505f: Pulling fs layer [2023-03-17T05:59:17.525Z] e2be974225ed: Pulling fs layer [2023-03-17T05:59:17.525Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T05:59:17.525Z] 988bab9f4d93: Pulling fs layer [2023-03-17T05:59:17.525Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T05:59:17.525Z] eaf3925da568: Pulling fs layer [2023-03-17T05:59:17.525Z] bab4dde63d76: Pulling fs layer [2023-03-17T05:59:17.525Z] bde34c3a00c8: Pulling fs layer [2023-03-17T05:59:17.525Z] b352a97aabf1: Pulling fs layer [2023-03-17T05:59:17.525Z] 4872d77fe225: Pulling fs layer [2023-03-17T05:59:17.525Z] 5851b861e8e6: Pulling fs layer [2023-03-17T05:59:17.525Z] bde34c3a00c8: Waiting [2023-03-17T05:59:17.525Z] 988bab9f4d93: Waiting [2023-03-17T05:59:17.525Z] b352a97aabf1: Waiting [2023-03-17T05:59:17.525Z] 4872d77fe225: Waiting [2023-03-17T05:59:17.525Z] 5851b861e8e6: Waiting [2023-03-17T05:59:17.525Z] eaf3925da568: Waiting [2023-03-17T05:59:17.525Z] bab4dde63d76: Waiting [2023-03-17T05:59:17.525Z] 1469e6f7b9e6: Waiting [2023-03-17T05:59:17.525Z] e2be974225ed: Download complete [2023-03-17T05:59:17.525Z] 988bab9f4d93: Verifying Checksum [2023-03-17T05:59:17.525Z] 988bab9f4d93: Download complete [2023-03-17T05:59:17.784Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T05:59:17.784Z] 1469e6f7b9e6: Download complete [2023-03-17T05:59:17.784Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T05:59:17.784Z] eaf3925da568: Verifying Checksum [2023-03-17T05:59:17.784Z] eaf3925da568: Download complete [2023-03-17T05:59:17.784Z] 339a4e72a1f5: Download complete [2023-03-17T05:59:17.784Z] bde34c3a00c8: Verifying Checksum [2023-03-17T05:59:17.784Z] bde34c3a00c8: Download complete [2023-03-17T05:59:17.784Z] b352a97aabf1: Download complete [2023-03-17T05:59:17.784Z] 4872d77fe225: Download complete [2023-03-17T05:59:17.784Z] 5851b861e8e6: Verifying Checksum [2023-03-17T05:59:17.784Z] 5851b861e8e6: Download complete [2023-03-17T05:59:17.784Z] b85a868b505f: Verifying Checksum [2023-03-17T05:59:17.784Z] b85a868b505f: Download complete [2023-03-17T05:59:18.352Z] bab4dde63d76: Verifying Checksum [2023-03-17T05:59:18.352Z] bab4dde63d76: Download complete [2023-03-17T05:59:19.289Z] b85a868b505f: Pull complete [2023-03-17T05:59:19.289Z] e2be974225ed: Pull complete [2023-03-17T05:59:19.860Z] 339a4e72a1f5: Pull complete [2023-03-17T05:59:19.860Z] 988bab9f4d93: Pull complete [2023-03-17T05:59:20.121Z] 1469e6f7b9e6: Pull complete [2023-03-17T05:59:20.121Z] eaf3925da568: Pull complete [2023-03-17T05:59:22.026Z] bab4dde63d76: Pull complete [2023-03-17T05:59:22.296Z] bde34c3a00c8: Pull complete [2023-03-17T05:59:22.296Z] b352a97aabf1: Pull complete [2023-03-17T05:59:22.565Z] 4872d77fe225: Pull complete [2023-03-17T05:59:22.565Z] 5851b861e8e6: Pull complete [2023-03-17T05:59:22.565Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T05:59:22.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T05:59:22.565Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T05:59:22.792Z] prd-ubuntu20.04-docker-8c-8g-4343 does not seem to be running inside a container [2023-03-17T05:59:22.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-267 -v /w/workspace/gexfoundry_device-snmp-go_PR-267:/w/workspace/gexfoundry_device-snmp-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-267@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-267@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-03-17T05:59:25.411Z] $ docker top 69d9c1dbf7936047ed76d42742a587fde9d312b3b23805aa7ffbc807bef58dec -eo pid,comm [2023-03-17T05:59:25.465Z] 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-03-17T05:59:25.465Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T05:59:25.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T05:59:25.593Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T05:59:25.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T05:59:25.721Z] $ docker exec 69d9c1dbf7936047ed76d42742a587fde9d312b3b23805aa7ffbc807bef58dec ssh-agent [2023-03-17T05:59:25.830Z] SSH_AUTH_SOCK=/tmp/ssh-Tjtp2MskyHvG/agent.33 [2023-03-17T05:59:25.830Z] SSH_AGENT_PID=39 [2023-03-17T05:59:25.837Z] Running ssh-add (command line suppressed) [2023-03-17T05:59:25.955Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-267@tmp/private_key_5703245595468480780.key (/w/workspace/gexfoundry_device-snmp-go_PR-267@tmp/private_key_5703245595468480780.key) [2023-03-17T05:59:25.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T05:59:26.292Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T05:59:26.324Z] $ docker exec --env ******** --env ******** 69d9c1dbf7936047ed76d42742a587fde9d312b3b23805aa7ffbc807bef58dec ssh-agent -k [2023-03-17T05:59:26.424Z] unset SSH_AUTH_SOCK; [2023-03-17T05:59:26.424Z] unset SSH_AGENT_PID; [2023-03-17T05:59:26.425Z] echo Agent pid 39 killed; [2023-03-17T05:59:26.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T05:59:26.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T05:59:26.524Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T05:59:26.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T05:59:26.637Z] $ docker exec 69d9c1dbf7936047ed76d42742a587fde9d312b3b23805aa7ffbc807bef58dec ssh-agent [2023-03-17T05:59:26.745Z] SSH_AUTH_SOCK=/tmp/ssh-k4kTBlUO4PN6/agent.72 [2023-03-17T05:59:26.745Z] SSH_AGENT_PID=78 [2023-03-17T05:59:26.750Z] Running ssh-add (command line suppressed) [2023-03-17T05:59:26.866Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-267@tmp/private_key_14446425000040101340.key (/w/workspace/gexfoundry_device-snmp-go_PR-267@tmp/private_key_14446425000040101340.key) [2023-03-17T05:59:26.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T05:59:27.210Z] + git semver init [2023-03-17T05:59:27.469Z] 2023-03-17 05:59:27,410 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T05:59:27.469Z] 2023-03-17 05:59:27,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-267/.semver [2023-03-17T05:59:27.469Z] 2023-03-17 05:59:27,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-267/.semver [2023-03-17T05:59:27.469Z] 2023-03-17 05:59:27,411 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-267/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-267, universal_newlines=False, shell=None, istream=None) [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,184 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-267/.git/info/exclude [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-267/.semver/PR-267 with force:False [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,185 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-267/.semver/PR-267 [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,189 [execute] INFO git cat-file --batch-check [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,195 [execute] INFO git cat-file --batch [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T05:59:28.408Z] 2023-03-17 05:59:28,199 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-267/.semver/PR-267 [2023-03-17T05:59:28.408Z] 0.0.0 [Pipeline] } [2023-03-17T05:59:28.440Z] $ docker exec --env ******** --env ******** 69d9c1dbf7936047ed76d42742a587fde9d312b3b23805aa7ffbc807bef58dec ssh-agent -k [2023-03-17T05:59:28.546Z] unset SSH_AUTH_SOCK; [2023-03-17T05:59:28.547Z] unset SSH_AGENT_PID; [2023-03-17T05:59:28.547Z] echo Agent pid 78 killed; [2023-03-17T05:59:28.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T05:59:28.981Z] + git semver [Pipeline] } [2023-03-17T05:59:29.268Z] $ docker stop --time=1 69d9c1dbf7936047ed76d42742a587fde9d312b3b23805aa7ffbc807bef58dec [2023-03-17T05:59:30.633Z] $ docker rm -f --volumes 69d9c1dbf7936047ed76d42742a587fde9d312b3b23805aa7ffbc807bef58dec [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T05:59:31.036Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T05:59:31.303Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T05:59:31.320Z] [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-03-17T05:59:31.881Z] provisioning config files... [2023-03-17T05:59:31.889Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-267@tmp/config11694900885499598784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T05:59:32.232Z] ---> docker-login.sh [2023-03-17T05:59:32.232Z] nexus3.edgexfoundry.org:10001 [2023-03-17T05:59:32.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:32.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:32.232Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:32.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:32.232Z] [2023-03-17T05:59:32.232Z] Login Succeeded [2023-03-17T05:59:32.232Z] nexus3.edgexfoundry.org:10002 [2023-03-17T05:59:32.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:32.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:32.232Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:32.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:32.232Z] [2023-03-17T05:59:32.232Z] Login Succeeded [2023-03-17T05:59:32.232Z] nexus3.edgexfoundry.org:10003 [2023-03-17T05:59:32.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:32.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:32.491Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:32.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:32.491Z] [2023-03-17T05:59:32.491Z] Login Succeeded [2023-03-17T05:59:32.491Z] nexus3.edgexfoundry.org:10004 [2023-03-17T05:59:32.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:32.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:32.491Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:32.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:32.491Z] [2023-03-17T05:59:32.491Z] Login Succeeded [2023-03-17T05:59:32.491Z] docker.io [2023-03-17T05:59:32.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T05:59:32.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T05:59:32.750Z] Configure a credential helper to remove this warning. See [2023-03-17T05:59:32.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T05:59:32.750Z] [2023-03-17T05:59:32.750Z] Login Succeeded [2023-03-17T05:59:32.750Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T05:59:32.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T05:59:32.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T05:59:32.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T05:59:33.027Z] ========================================================= [2023-03-17T05:59:33.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T05:59:33.027Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T05:59:33.504Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T05:59:33.504Z] Sending build context to Docker daemon 5.729MB [2023-03-17T05:59:33.504Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T05:59:33.504Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-17T05:59:33.504Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T05:59:33.504Z] 63b65145d645: Pulling fs layer [2023-03-17T05:59:33.504Z] a2d21d5440eb: Pulling fs layer [2023-03-17T05:59:33.504Z] 935e6c44a52c: Pulling fs layer [2023-03-17T05:59:33.504Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T05:59:33.504Z] 30dea6a524f1: Pulling fs layer [2023-03-17T05:59:33.504Z] a2aff8979fd8: Pulling fs layer [2023-03-17T05:59:33.504Z] 6808be2612f2: Pulling fs layer [2023-03-17T05:59:33.504Z] f25807f1079a: Pulling fs layer [2023-03-17T05:59:33.504Z] 94cc34f8dd06: Waiting [2023-03-17T05:59:33.504Z] 30dea6a524f1: Waiting [2023-03-17T05:59:33.504Z] a2aff8979fd8: Waiting [2023-03-17T05:59:33.504Z] 6808be2612f2: Waiting [2023-03-17T05:59:33.504Z] f25807f1079a: Waiting [2023-03-17T05:59:33.504Z] a2d21d5440eb: Download complete [2023-03-17T05:59:33.504Z] 94cc34f8dd06: Download complete [2023-03-17T05:59:33.765Z] 30dea6a524f1: Verifying Checksum [2023-03-17T05:59:33.765Z] 30dea6a524f1: Download complete [2023-03-17T05:59:33.765Z] 63b65145d645: Verifying Checksum [2023-03-17T05:59:33.765Z] 63b65145d645: Download complete [2023-03-17T05:59:33.765Z] a2aff8979fd8: Verifying Checksum [2023-03-17T05:59:33.765Z] a2aff8979fd8: Download complete [2023-03-17T05:59:33.765Z] 63b65145d645: Pull complete [2023-03-17T05:59:34.031Z] a2d21d5440eb: Pull complete [2023-03-17T05:59:34.292Z] f25807f1079a: Verifying Checksum [2023-03-17T05:59:34.292Z] f25807f1079a: Download complete [2023-03-17T05:59:34.292Z] 935e6c44a52c: Verifying Checksum [2023-03-17T05:59:34.292Z] 935e6c44a52c: Download complete [2023-03-17T05:59:34.551Z] 6808be2612f2: Verifying Checksum [2023-03-17T05:59:34.551Z] 6808be2612f2: Download complete [2023-03-17T05:59:37.835Z] 935e6c44a52c: Pull complete [2023-03-17T05:59:37.835Z] 94cc34f8dd06: Pull complete [2023-03-17T05:59:37.835Z] 30dea6a524f1: Pull complete [2023-03-17T05:59:38.095Z] a2aff8979fd8: Pull complete [2023-03-17T05:59:40.625Z] 6808be2612f2: Pull complete [2023-03-17T05:59:41.192Z] f25807f1079a: Pull complete [2023-03-17T05:59:41.192Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T05:59:41.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T05:59:41.192Z] ---> 3b553350e43f [2023-03-17T05:59:41.192Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-17T05:59:44.481Z] ---> Running in 7680a2c66e17 [2023-03-17T05:59:44.739Z] Removing intermediate container 7680a2c66e17 [2023-03-17T05:59:44.739Z] ---> 33fabae26877 [2023-03-17T05:59:44.739Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T05:59:44.739Z] ---> Running in 49114d129900 [2023-03-17T05:59:44.739Z] Removing intermediate container 49114d129900 [2023-03-17T05:59:44.739Z] ---> c9d8aa6ac69a [2023-03-17T05:59:44.739Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-17T05:59:44.739Z] ---> Running in 1683aee2c4ba [2023-03-17T05:59:44.997Z] Removing intermediate container 1683aee2c4ba [2023-03-17T05:59:44.997Z] ---> da8895ade256 [2023-03-17T05:59:44.997Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T05:59:44.997Z] ---> Running in d0dda7190e51 [2023-03-17T05:59:44.997Z] Removing intermediate container d0dda7190e51 [2023-03-17T05:59:44.997Z] ---> 77f1fe971ad3 [2023-03-17T05:59:44.997Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T05:59:44.997Z] ---> Running in ec6b943222eb [2023-03-17T05:59:45.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T05:59:45.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T05:59:45.772Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-17T05:59:45.772Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-17T05:59:45.772Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-17T05:59:45.772Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-17T05:59:45.772Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T05:59:45.772Z] OK: 269 MiB in 57 packages [2023-03-17T05:59:46.337Z] Removing intermediate container ec6b943222eb [2023-03-17T05:59:46.337Z] ---> 67a877718207 [2023-03-17T05:59:46.337Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-17T05:59:46.337Z] ---> Running in c377abbf93ab [2023-03-17T05:59:46.337Z] Removing intermediate container c377abbf93ab [2023-03-17T05:59:46.337Z] ---> 0ea9e84781c9 [2023-03-17T05:59:46.337Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-17T05:59:46.597Z] ---> 1d6567ec9781 [2023-03-17T05:59:46.597Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T05:59:46.597Z] ---> Running in 8bcbb1a4a7dc [2023-03-17T05:59:46.711Z] Still waiting to schedule task [2023-03-17T05:59:46.711Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T06:00:25.345Z] Removing intermediate container 8bcbb1a4a7dc [2023-03-17T06:00:25.345Z] ---> 99946ae66c0c [2023-03-17T06:00:25.345Z] Step 11/12 : COPY . . [2023-03-17T06:00:25.345Z] ---> 20a6e9d7b089 [2023-03-17T06:00:25.345Z] Step 12/12 : RUN ${MAKE} [2023-03-17T06:00:25.345Z] ---> Running in d1f4f09a4fdf [2023-03-17T06:00:25.345Z] noop [2023-03-17T06:00:25.345Z] Removing intermediate container d1f4f09a4fdf [2023-03-17T06:00:25.345Z] ---> d8fe5baa071c [2023-03-17T06:00:25.345Z] Successfully built d8fe5baa071c [2023-03-17T06:00:25.345Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:00:25.783Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T06:00:25.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:00:25.927Z] prd-ubuntu20.04-docker-8c-8g-4343 does not seem to be running inside a container [2023-03-17T06:00:25.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-267 -v /w/workspace/gexfoundry_device-snmp-go_PR-267:/w/workspace/gexfoundry_device-snmp-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-267@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-267@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-03-17T06:00:26.330Z] $ docker top e45263b8d814079015cfe3367eac38ac20957b6292ac958724b8f19ea4270e8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:00:26.738Z] + go version [2023-03-17T06:00:26.738Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T06:00:26.776Z] $ docker stop --time=1 e45263b8d814079015cfe3367eac38ac20957b6292ac958724b8f19ea4270e8f [2023-03-17T06:00:28.072Z] $ docker rm -f --volumes e45263b8d814079015cfe3367eac38ac20957b6292ac958724b8f19ea4270e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:00:28.726Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T06:00:28.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:00:28.883Z] prd-ubuntu20.04-docker-8c-8g-4343 does not seem to be running inside a container [2023-03-17T06:00:28.916Z] $ 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-267 -v /w/workspace/gexfoundry_device-snmp-go_PR-267:/w/workspace/gexfoundry_device-snmp-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-267@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-267@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-03-17T06:00:29.266Z] $ docker top bf12deabecafca11bfbcaa278ea78d4abfa61c5436fcc8a7169a998a9682a993 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:00:29.650Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-267 [Pipeline] fileExists [Pipeline] sh [2023-03-17T06:00:30.001Z] + make test [2023-03-17T06:00:30.002Z] go test ./... -coverprofile=coverage.out [2023-03-17T06:00:35.273Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-17T06:00:41.823Z] # github.com/edgexfoundry/device-snmp-go/internal/driver [2023-03-17T06:00:41.823Z] internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as string value in argument to strconv.ParseUint: need type assertion [2023-03-17T06:00:41.823Z] internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as string value in argument to NewSNMPClient: need type assertion [2023-03-17T06:00:45.112Z] FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] [2023-03-17T06:00:45.112Z] FAIL [2023-03-17T06:00:45.112Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-17T06:00:45.156Z] $ docker stop --time=1 bf12deabecafca11bfbcaa278ea78d4abfa61c5436fcc8a7169a998a9682a993 [2023-03-17T06:00:48.491Z] $ docker rm -f --volumes bf12deabecafca11bfbcaa278ea78d4abfa61c5436fcc8a7169a998a9682a993 [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-03-17T06:00:49.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:00:49.747Z] [2023-03-17T06:00:49.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:00:50.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:00:50.130Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T06:00:50.130Z] 5eb5b503b376: Pulling fs layer [2023-03-17T06:00:50.130Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T06:00:50.130Z] ec43610c2a17: Pulling fs layer [2023-03-17T06:00:50.130Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T06:00:50.130Z] 33b1e0a273af: Pulling fs layer [2023-03-17T06:00:50.130Z] 3a2ae6a8a46f: Waiting [2023-03-17T06:00:50.130Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T06:00:50.130Z] 2f39f015ded8: Pulling fs layer [2023-03-17T06:00:50.130Z] 33b1e0a273af: Waiting [2023-03-17T06:00:50.130Z] 5d3b04190fa2: Waiting [2023-03-17T06:00:50.130Z] 2f39f015ded8: Waiting [2023-03-17T06:00:50.130Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T06:00:50.130Z] 5c69ac0246d0: Download complete [2023-03-17T06:00:50.130Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T06:00:50.130Z] 3a2ae6a8a46f: Download complete [2023-03-17T06:00:50.391Z] 33b1e0a273af: Verifying Checksum [2023-03-17T06:00:50.392Z] 33b1e0a273af: Download complete [2023-03-17T06:00:50.392Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T06:00:50.392Z] 5d3b04190fa2: Download complete [2023-03-17T06:00:50.392Z] ec43610c2a17: Verifying Checksum [2023-03-17T06:00:50.392Z] ec43610c2a17: Download complete [2023-03-17T06:00:50.392Z] 5eb5b503b376: Verifying Checksum [2023-03-17T06:00:50.392Z] 5eb5b503b376: Download complete [2023-03-17T06:00:50.957Z] 2f39f015ded8: Verifying Checksum [2023-03-17T06:00:50.957Z] 2f39f015ded8: Download complete [2023-03-17T06:00:51.525Z] 5eb5b503b376: Pull complete [2023-03-17T06:00:51.782Z] 5c69ac0246d0: Pull complete [2023-03-17T06:00:52.350Z] ec43610c2a17: Pull complete [2023-03-17T06:00:52.350Z] 3a2ae6a8a46f: Pull complete [2023-03-17T06:00:52.350Z] 33b1e0a273af: Pull complete [2023-03-17T06:00:52.609Z] 5d3b04190fa2: Pull complete [2023-03-17T06:00:56.796Z] 2f39f015ded8: Pull complete [2023-03-17T06:00:56.796Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T06:00:56.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:00:56.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:00:57.014Z] prd-ubuntu20.04-docker-8c-8g-4343 does not seem to be running inside a container [2023-03-17T06:00:57.045Z] $ 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-267 -v /w/workspace/gexfoundry_device-snmp-go_PR-267:/w/workspace/gexfoundry_device-snmp-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-267@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-267@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-03-17T06:00:59.424Z] $ docker top bc854320e737227e3a814103b04ecea32814df874d26483ac7962c9b157e7fff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:00:59.851Z] ---> job-cost.sh [2023-03-17T06:00:59.851Z] lf-activate-venv: SKIPPING [2023-03-17T06:00:59.851Z] INFO: No Stack... [2023-03-17T06:01:00.109Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T06:01:00.368Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T06:01:00.684Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-267/archives/cost.csv [2023-03-17T06:01:00.684Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T06:01:00.724Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] [2023-03-17T06:01:00.733Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] did not exist. Created. [2023-03-17T06:01:00.733Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T06:01:01.118Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T06:01:01.182Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T06:01:01.201Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T06:01:01.293Z] $ docker stop --time=1 bc854320e737227e3a814103b04ecea32814df874d26483ac7962c9b157e7fff [2023-03-17T06:01:02.454Z] $ docker rm -f --volumes bc854320e737227e3a814103b04ecea32814df874d26483ac7962c9b157e7fff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T06:01:02.846Z] Failed in branch amd64 [2023-03-17T06:02:01.977Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4346 in /w/workspace/gexfoundry_device-snmp-go_PR-267 [Pipeline] { [Pipeline] ws [2023-03-17T06:02:02.032Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-03-17T06:02:02.104Z] Selected Git installation does not exist. Using Default [2023-03-17T06:02:02.104Z] The recommended git tool is: NONE [2023-03-17T06:02:08.184Z] using credential edgex-jenkins-ssh [2023-03-17T06:02:08.200Z] Cloning the remote Git repository [2023-03-17T06:02:08.255Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-17T06:02:08.377Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-03-17T06:02:08.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-17T06:02:08.540Z] > git --version # timeout=10 [2023-03-17T06:02:08.563Z] > git --version # 'git version 2.25.1' [2023-03-17T06:02:08.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T06:02:08.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T06:02:10.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-17T06:02:10.205Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T06:02:11.853Z] Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 108d12f7a637998a7d24b3f06a19124d0088a586 [2023-03-17T06:02:12.158Z] Merge succeeded, producing 108d12f7a637998a7d24b3f06a19124d0088a586 [2023-03-17T06:02:12.158Z] Checking out Revision 108d12f7a637998a7d24b3f06a19124d0088a586 (PR-267) [2023-03-17T06:02:11.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-17T06:02:11.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-17T06:02:11.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T06:02:11.357Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T06:02:11.878Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T06:02:11.950Z] > git checkout -f 108d12f7a637998a7d24b3f06a19124d0088a586 # timeout=10 [2023-03-17T06:02:12.049Z] > git remote # timeout=10 [2023-03-17T06:02:12.070Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T06:02:12.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T06:02:12.110Z] > git merge 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 [2023-03-17T06:02:12.140Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T06:02:12.167Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T06:02:12.186Z] > git checkout -f 108d12f7a637998a7d24b3f06a19124d0088a586 # timeout=10 [2023-03-17T06:02:12.693Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-17T06:02:12.755Z] > git --version # timeout=10 [2023-03-17T06:02:12.770Z] > git --version # 'git version 2.25.1' [2023-03-17T06:02:12.790Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T06:02:13.945Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T06:02:13.945Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T06:02:13.945Z] Dload Upload Total Spent Left Speed [2023-03-17T06:02:13.945Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2023-03-17T06:02:14.570Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T06:02:14.915Z] + sudo tee /etc/docker/daemon.new [2023-03-17T06:02:14.915Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T06:02:14.915Z] { [2023-03-17T06:02:14.915Z] "registry-mirrors": [ [2023-03-17T06:02:14.915Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T06:02:14.915Z] ], [2023-03-17T06:02:14.915Z] "bip": "10.250.0.254/24", [2023-03-17T06:02:14.915Z] "hosts": [ [2023-03-17T06:02:14.915Z] "tcp://0.0.0.0:5555", [2023-03-17T06:02:14.915Z] "unix:///var/run/docker.sock" [2023-03-17T06:02:14.915Z] ], [2023-03-17T06:02:14.916Z] "mtu": 1458, [2023-03-17T06:02:14.916Z] "selinux-enabled": true, [2023-03-17T06:02:14.916Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T06:02:14.916Z] } [Pipeline] sh [2023-03-17T06:02:15.271Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T06:02:15.627Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T06:02:33.952Z] provisioning config files... [2023-03-17T06:02:33.983Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config470943516986047366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:02:34.384Z] ---> docker-login.sh [2023-03-17T06:02:34.385Z] nexus3.edgexfoundry.org:10001 [2023-03-17T06:02:34.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:02:34.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:02:34.977Z] Configure a credential helper to remove this warning. See [2023-03-17T06:02:34.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:02:34.977Z] [2023-03-17T06:02:34.977Z] Login Succeeded [2023-03-17T06:02:34.977Z] nexus3.edgexfoundry.org:10002 [2023-03-17T06:02:35.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:02:35.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:02:35.525Z] Configure a credential helper to remove this warning. See [2023-03-17T06:02:35.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:02:35.525Z] [2023-03-17T06:02:35.525Z] Login Succeeded [2023-03-17T06:02:35.525Z] nexus3.edgexfoundry.org:10003 [2023-03-17T06:02:35.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:02:35.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:02:35.797Z] Configure a credential helper to remove this warning. See [2023-03-17T06:02:35.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:02:35.797Z] [2023-03-17T06:02:35.797Z] Login Succeeded [2023-03-17T06:02:35.797Z] nexus3.edgexfoundry.org:10004 [2023-03-17T06:02:36.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:02:36.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:02:36.069Z] Configure a credential helper to remove this warning. See [2023-03-17T06:02:36.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:02:36.069Z] [2023-03-17T06:02:36.069Z] Login Succeeded [2023-03-17T06:02:36.069Z] docker.io [2023-03-17T06:02:36.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:02:36.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:02:36.609Z] Configure a credential helper to remove this warning. See [2023-03-17T06:02:36.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:02:36.609Z] [2023-03-17T06:02:36.609Z] Login Succeeded [2023-03-17T06:02:36.609Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T06:02:36.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T06:02:37.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T06:02:37.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T06:02:37.122Z] ========================================================= [2023-03-17T06:02:37.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T06:02:37.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:02:37.622Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T06:02:37.894Z] Sending build context to Docker daemon 2.966MB [2023-03-17T06:02:37.894Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T06:02:37.894Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-17T06:02:38.164Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T06:02:38.164Z] af6eaf76a39c: Pulling fs layer [2023-03-17T06:02:38.164Z] 55522c791124: Pulling fs layer [2023-03-17T06:02:38.164Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T06:02:38.164Z] 169dfbe0d373: Pulling fs layer [2023-03-17T06:02:38.164Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T06:02:38.164Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T06:02:38.164Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T06:02:38.164Z] e1ff8fa3b103: Waiting [2023-03-17T06:02:38.164Z] 52ebb69f0ebf: Waiting [2023-03-17T06:02:38.164Z] 5abe8eddf0d5: Waiting [2023-03-17T06:02:38.164Z] 169dfbe0d373: Waiting [2023-03-17T06:02:38.164Z] 55522c791124: Verifying Checksum [2023-03-17T06:02:38.164Z] 55522c791124: Download complete [2023-03-17T06:02:38.164Z] 169dfbe0d373: Verifying Checksum [2023-03-17T06:02:38.164Z] 169dfbe0d373: Download complete [2023-03-17T06:02:38.164Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T06:02:38.164Z] e1ff8fa3b103: Download complete [2023-03-17T06:02:38.164Z] af6eaf76a39c: Verifying Checksum [2023-03-17T06:02:38.164Z] af6eaf76a39c: Download complete [2023-03-17T06:02:39.588Z] af6eaf76a39c: Pull complete [2023-03-17T06:02:39.588Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T06:02:39.588Z] 5abe8eddf0d5: Download complete [2023-03-17T06:02:39.862Z] 55522c791124: Pull complete [2023-03-17T06:02:40.842Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T06:02:40.842Z] 52ebb69f0ebf: Download complete [2023-03-17T06:02:40.842Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T06:02:40.842Z] ce5c4a1c91eb: Download complete [2023-03-17T06:02:51.090Z] ce5c4a1c91eb: Pull complete [2023-03-17T06:02:51.358Z] 169dfbe0d373: Pull complete [2023-03-17T06:02:51.627Z] e1ff8fa3b103: Pull complete [2023-03-17T06:02:58.284Z] 52ebb69f0ebf: Pull complete [2023-03-17T06:03:01.631Z] 5abe8eddf0d5: Pull complete [2023-03-17T06:03:01.631Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T06:03:01.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T06:03:01.631Z] ---> 6cb57ee374ae [2023-03-17T06:03:01.631Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-17T06:03:03.579Z] ---> Running in 1d217dd71088 [2023-03-17T06:03:03.579Z] Removing intermediate container 1d217dd71088 [2023-03-17T06:03:03.579Z] ---> 04bbe592e69f [2023-03-17T06:03:03.579Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T06:03:03.579Z] ---> Running in a0fc343e3c18 [2023-03-17T06:03:03.855Z] Removing intermediate container a0fc343e3c18 [2023-03-17T06:03:03.855Z] ---> 1bd1a8eb7f92 [2023-03-17T06:03:03.855Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-17T06:03:04.122Z] ---> Running in 05b3cf54c8b3 [2023-03-17T06:03:04.389Z] Removing intermediate container 05b3cf54c8b3 [2023-03-17T06:03:04.389Z] ---> e290c4c6c7ee [2023-03-17T06:03:04.389Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T06:03:04.389Z] ---> Running in 38791a3c616e [2023-03-17T06:03:04.659Z] Removing intermediate container 38791a3c616e [2023-03-17T06:03:04.659Z] ---> c7a48630731d [2023-03-17T06:03:04.659Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T06:03:04.936Z] ---> Running in 487730f4225a [2023-03-17T06:03:05.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T06:03:06.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T06:03:07.914Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-17T06:03:07.914Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-17T06:03:07.914Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-17T06:03:07.914Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-17T06:03:07.914Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T06:03:07.914Z] OK: 268 MiB in 57 packages [2023-03-17T06:03:08.883Z] Removing intermediate container 487730f4225a [2023-03-17T06:03:08.883Z] ---> 4ae79a485da2 [2023-03-17T06:03:08.883Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-17T06:03:08.883Z] ---> Running in 7276065ccf6d [2023-03-17T06:03:09.152Z] Removing intermediate container 7276065ccf6d [2023-03-17T06:03:09.152Z] ---> 179870388dd2 [2023-03-17T06:03:09.152Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-17T06:03:09.739Z] ---> 2c75664b316e [2023-03-17T06:03:09.739Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T06:03:09.739Z] ---> Running in aa6f971bcf3e [2023-03-17T06:04:17.674Z] Removing intermediate container aa6f971bcf3e [2023-03-17T06:04:17.674Z] ---> 1e158617cbfa [2023-03-17T06:04:17.674Z] Step 11/12 : COPY . . [2023-03-17T06:04:17.674Z] ---> c31a9dc836f7 [2023-03-17T06:04:17.674Z] Step 12/12 : RUN ${MAKE} [2023-03-17T06:04:17.674Z] ---> Running in 6bb2f8dd6839 [2023-03-17T06:04:17.674Z] noop [2023-03-17T06:04:17.674Z] Removing intermediate container 6bb2f8dd6839 [2023-03-17T06:04:17.674Z] ---> 0a35dfb7e452 [2023-03-17T06:04:17.674Z] Successfully built 0a35dfb7e452 [2023-03-17T06:04:17.674Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:04:18.217Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T06:04:18.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:04:18.503Z] prd-ubuntu20.04-docker-arm64-4c-16g-4346 does not seem to be running inside a container [2023-03-17T06:04:18.575Z] $ 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-03-17T06:04:21.489Z] $ docker top fa2fa4c86aea7efede0e9ec32cd5c471e0279cbf117b35306a7b100d03dac34e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:04:22.376Z] + go version [2023-03-17T06:04:22.376Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T06:04:22.411Z] $ docker stop --time=1 fa2fa4c86aea7efede0e9ec32cd5c471e0279cbf117b35306a7b100d03dac34e [2023-03-17T06:04:24.010Z] $ docker rm -f --volumes fa2fa4c86aea7efede0e9ec32cd5c471e0279cbf117b35306a7b100d03dac34e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:04:24.867Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T06:04:24.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:04:25.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-4346 does not seem to be running inside a container [2023-03-17T06:04:25.192Z] $ 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-03-17T06:04:26.340Z] $ docker top 5d9caab3565a06ec37d3d654a254d12601092d8c1390b1bb5d54cfd0044f64a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:04:26.889Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-17T06:04:27.277Z] + make test [2023-03-17T06:04:27.277Z] go test ./... -coverprofile=coverage.out [2023-03-17T06:04:59.521Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-17T06:06:21.228Z] # github.com/edgexfoundry/device-snmp-go/internal/driver [2023-03-17T06:06:21.228Z] internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as string value in argument to strconv.ParseUint: need type assertion [2023-03-17T06:06:21.228Z] internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as string value in argument to NewSNMPClient: need type assertion [2023-03-17T06:07:17.706Z] FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] [2023-03-17T06:07:17.706Z] FAIL [2023-03-17T06:07:18.291Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-17T06:07:18.335Z] $ docker stop --time=1 5d9caab3565a06ec37d3d654a254d12601092d8c1390b1bb5d54cfd0044f64a5 [2023-03-17T06:07:20.493Z] $ docker rm -f --volumes 5d9caab3565a06ec37d3d654a254d12601092d8c1390b1bb5d54cfd0044f64a5 [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-03-17T06:07:22.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T06:07:22.586Z] [2023-03-17T06:07:22.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:07:23.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T06:07:23.285Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T06:07:23.285Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T06:07:23.285Z] 04944245beec: Pulling fs layer [2023-03-17T06:07:23.285Z] 699f458cf7ca: Pulling fs layer [2023-03-17T06:07:23.285Z] 765212b225bb: Pulling fs layer [2023-03-17T06:07:23.285Z] f23df028b6ca: Pulling fs layer [2023-03-17T06:07:23.285Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T06:07:23.285Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T06:07:23.285Z] 765212b225bb: Waiting [2023-03-17T06:07:23.285Z] f23df028b6ca: Waiting [2023-03-17T06:07:23.285Z] d65c8cfc05b1: Waiting [2023-03-17T06:07:23.285Z] 2437ff75d9bd: Waiting [2023-03-17T06:07:23.285Z] 04944245beec: Verifying Checksum [2023-03-17T06:07:23.285Z] 04944245beec: Download complete [2023-03-17T06:07:23.551Z] 765212b225bb: Verifying Checksum [2023-03-17T06:07:23.551Z] 765212b225bb: Download complete [2023-03-17T06:07:23.551Z] f23df028b6ca: Verifying Checksum [2023-03-17T06:07:23.551Z] f23df028b6ca: Download complete [2023-03-17T06:07:23.820Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T06:07:23.820Z] d65c8cfc05b1: Download complete [2023-03-17T06:07:23.820Z] 699f458cf7ca: Verifying Checksum [2023-03-17T06:07:23.820Z] 699f458cf7ca: Download complete [2023-03-17T06:07:24.783Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T06:07:24.783Z] 8998bd30e6a1: Download complete [2023-03-17T06:07:27.391Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T06:07:27.391Z] 2437ff75d9bd: Download complete [2023-03-17T06:07:31.704Z] 8998bd30e6a1: Pull complete [2023-03-17T06:07:31.973Z] 04944245beec: Pull complete [2023-03-17T06:07:33.388Z] 699f458cf7ca: Pull complete [2023-03-17T06:07:33.658Z] 765212b225bb: Pull complete [2023-03-17T06:07:37.015Z] f23df028b6ca: Pull complete [2023-03-17T06:07:37.286Z] d65c8cfc05b1: Pull complete [2023-03-17T06:07:52.301Z] 2437ff75d9bd: Pull complete [2023-03-17T06:07:52.301Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T06:07:52.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T06:07:52.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:07:52.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-4346 does not seem to be running inside a container [2023-03-17T06:07:52.864Z] $ 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-03-17T06:07:55.782Z] $ docker top a5ec2f14ca34132c67565a0275ca2ed1850dd880f90b6c38dead16b5f82068ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:07:56.760Z] ---> job-cost.sh [2023-03-17T06:07:56.760Z] lf-activate-venv: SKIPPING [2023-03-17T06:07:56.760Z] INFO: No Stack... [2023-03-17T06:07:57.042Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T06:07:58.019Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T06:07:58.779Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-03-17T06:07:58.779Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T06:07:58.841Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] [2023-03-17T06:07:58.853Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] did not exist. Created. [2023-03-17T06:07:58.854Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T06:07:59.587Z] /w/workspace/device-snmp-go/1@tmp/durable-2e07ee59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T06:08:00.296Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T06:08:00.328Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T06:08:00.793Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T06:08:00.809Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-267-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T06:08:00.887Z] $ docker stop --time=1 a5ec2f14ca34132c67565a0275ca2ed1850dd880f90b6c38dead16b5f82068ca [2023-03-17T06:08:02.397Z] $ docker rm -f --volumes a5ec2f14ca34132c67565a0275ca2ed1850dd880f90b6c38dead16b5f82068ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T06:08:03.225Z] 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-03-17T06:08:05.456Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-267/archives ] [2023-03-17T06:08:05.456Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-267/archives [2023-03-17T06:08:05.456Z] total 16 [2023-03-17T06:08:05.456Z] drwxr-xr-x 3 root root 4096 Mar 17 06:01 . [2023-03-17T06:08:05.456Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 06:01 .. [2023-03-17T06:08:05.456Z] drwxr-xr-x 2 root root 4096 Mar 17 06:01 cost [2023-03-17T06:08:05.456Z] -rw-r--r-- 1 root root 86 Mar 17 06:01 cost.csv [2023-03-17T06:08:05.456Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-267/archives [2023-03-17T06:08:05.456Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-267/archives [2023-03-17T06:08:05.456Z] total 16 [2023-03-17T06:08:05.456Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 06:01 . [2023-03-17T06:08:05.456Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 06:01 .. [2023-03-17T06:08:05.456Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 06:01 cost [2023-03-17T06:08:05.456Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:08:05.780Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:08:06.668Z] ---> package-listing.sh [2023-03-17T06:08:06.668Z] ++ facter osfamily [2023-03-17T06:08:06.668Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T06:08:06.928Z] + OS_FAMILY=debian [2023-03-17T06:08:06.928Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-267 [2023-03-17T06:08:06.928Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T06:08:06.928Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T06:08:06.928Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T06:08:06.928Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T06:08:06.928Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-267 ']' [2023-03-17T06:08:06.928Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T06:08:06.928Z] + case "${OS_FAMILY}" in [2023-03-17T06:08:06.928Z] + dpkg -l [2023-03-17T06:08:06.928Z] + grep '^ii' [2023-03-17T06:08:06.928Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T06:08:06.928Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T06:08:06.928Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T06:08:06.928Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-267 ']' [2023-03-17T06:08:06.928Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-267/archives/ [2023-03-17T06:08:06.928Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-267/archives/ [Pipeline] echo [2023-03-17T06:08:06.962Z] 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-267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T06:08:07.254Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:08:07.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:08:07.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:08:08.144Z] prd-ubuntu20.04-docker-8c-8g-4343 does not seem to be running inside a container [2023-03-17T06:08:08.185Z] $ 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-267/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-267 -v /w/workspace/gexfoundry_device-snmp-go_PR-267:/w/workspace/gexfoundry_device-snmp-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-267@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-267@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-03-17T06:08:08.377Z] $ docker top 51bc90f5b81b6c3ed98059dd6251b17e6aa8dd2a2f035381cb95d44ff705597b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:08:08.767Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T06:08:09.076Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T06:08:09.390Z] + ls /var/log/sa-host [2023-03-17T06:08:09.390Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T06:08:09.650Z] provisioning config files... [2023-03-17T06:08:09.660Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-267@tmp/config11880628494108758242tmp [Pipeline] { [Pipeline] echo [2023-03-17T06:08:09.713Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:08:10.031Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T06:08:10.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:08:10.542Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T06:08:10.576Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:08:10.883Z] ---> sudo-logs.sh [2023-03-17T06:08:10.883Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T06:08:10.968Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:08:11.278Z] ---> job-cost.sh [2023-03-17T06:08:11.278Z] lf-activate-venv: SKIPPING [2023-03-17T06:08:11.278Z] DEBUG: total: 0.2199999988079071 [2023-03-17T06:08:11.278Z] INFO: Retrieving Stack Cost... [2023-03-17T06:08:11.536Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T06:08:11.797Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T06:08:11.930Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:08:12.250Z] ---> logs-deploy.sh [2023-03-17T06:08:12.250Z] lf-activate-venv: SKIPPING [2023-03-17T06:08:12.250Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-267/1 [2023-03-17T06:08:12.250Z] INFO: archiving workspace using pattern(s): [2023-03-17T06:08:13.189Z] Archives upload complete. [2023-03-17T06:08:13.189Z] INFO: archiving logs to Nexus