Pull request #288 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 07aaef5b0d79c8db2f5e9e0d0e25c32712347257+66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 (13231408719f92c2532170923aea77c8a27b1ecd) 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-ssh9176192178888932404.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14106151949053984592.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-288/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-288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8618173732896578823.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-288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2464920791867926346.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh14769197070354051290.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-288/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-288/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5991513279576270312.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8902 in /w/workspace/gexfoundry_device-snmp-go_PR-288 [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-288 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 into PR head commit 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 Merge succeeded, producing 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 Checking out Revision 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 (PR-288) > git config core.sparsecheckout # timeout=10 > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # 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 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # timeout=10 Commit message: "build(deps): bump device-sdk-go version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T10:51:48.001Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T10:51:48.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T10:51:48.261Z] ========================================================= [2023-04-18T10:51:48.261Z] EdgeX Global Pipelines Version Info [2023-04-18T10:51:48.261Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T10:51:49.080Z] ------------------- [2023-04-18T10:51:49.080Z] stable info: [2023-04-18T10:51:49.080Z] ------------------- [2023-04-18T10:51:49.080Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T10:51:49.080Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T10:51:49.080Z] Message: update stable to v1.0.248 [2023-04-18T10:51:49.648Z] ------------------- [2023-04-18T10:51:49.648Z] experimental info: [2023-04-18T10:51:49.648Z] ------------------- [2023-04-18T10:51:49.648Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T10:51:49.648Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T10:51:49.648Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T10:51:49.963Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-04-18T10:51:50.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-04-18T10:51:50.051Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T10:51:50.092Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T10:51:50.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T10:51:50.192Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T10:51:50.236Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T10:51:50.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T10:51:50.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T10:51:50.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T10:51:50.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T10:51:50.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-04-18T10:51:50.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T10:51:50.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T10:51:50.598Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T10:51:50.639Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T10:51:50.680Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T10:51:50.723Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T10:51:50.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T10:51:50.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T10:51:50.852Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T10:51:50.897Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T10:51:50.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T10:51:50.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T10:51:51.020Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T10:51:51.057Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T10:51:51.102Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T10:51:51.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-288 [Pipeline] echo [2023-04-18T10:51:51.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-288 [Pipeline] echo [2023-04-18T10:51:51.224Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-288 [Pipeline] echo [2023-04-18T10:51:51.267Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo [2023-04-18T10:51:51.308Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07aaef5 [Pipeline] echo [2023-04-18T10:51:51.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T10:51:51.459Z] provisioning config files... [2023-04-18T10:51:51.473Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config8940801531383459437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T10:51:51.816Z] ---> docker-login.sh [2023-04-18T10:51:51.816Z] nexus3.edgexfoundry.org:10001 [2023-04-18T10:51:52.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:51:52.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:51:52.077Z] Configure a credential helper to remove this warning. See [2023-04-18T10:51:52.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:51:52.077Z] [2023-04-18T10:51:52.077Z] Login Succeeded [2023-04-18T10:51:52.077Z] nexus3.edgexfoundry.org:10002 [2023-04-18T10:51:52.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:51:52.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:51:52.338Z] Configure a credential helper to remove this warning. See [2023-04-18T10:51:52.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:51:52.338Z] [2023-04-18T10:51:52.338Z] Login Succeeded [2023-04-18T10:51:52.338Z] nexus3.edgexfoundry.org:10003 [2023-04-18T10:51:52.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:51:52.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:51:52.338Z] Configure a credential helper to remove this warning. See [2023-04-18T10:51:52.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:51:52.338Z] [2023-04-18T10:51:52.338Z] Login Succeeded [2023-04-18T10:51:52.338Z] nexus3.edgexfoundry.org:10004 [2023-04-18T10:51:52.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:51:52.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:51:52.597Z] Configure a credential helper to remove this warning. See [2023-04-18T10:51:52.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:51:52.597Z] [2023-04-18T10:51:52.597Z] Login Succeeded [2023-04-18T10:51:52.597Z] docker.io [2023-04-18T10:51:52.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:51:52.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:51:52.862Z] Configure a credential helper to remove this warning. See [2023-04-18T10:51:52.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:51:52.862Z] [2023-04-18T10:51:52.862Z] Login Succeeded [2023-04-18T10:51:52.862Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T10:51:52.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T10:51:53.539Z] + git rev-list -1 --merges 07aaef5b0d79c8db2f5e9e0d0e25c32712347257~1..07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo [2023-04-18T10:51:53.608Z] -----------> git rev-list -1 --merges 07aaef5b0d79c8db2f5e9e0d0e25c32712347257~1..07aaef5b0d79c8db2f5e9e0d0e25c32712347257 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [false] [Pipeline] sh [2023-04-18T10:51:53.918Z] + git log --format=format:%s -1 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo [2023-04-18T10:51:53.955Z] ========================================================= [2023-04-18T10:51:53.956Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T10:51:53.956Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T10:51:54.409Z] + git log --format=format:%s -1 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] echo [2023-04-18T10:51:54.447Z] [semverPrep] GIT_COMMIT: 07aaef5b0d79c8db2f5e9e0d0e25c32712347257, Commit Message: build(deps): bump device-sdk-go version [Pipeline] echo [2023-04-18T10:51:54.477Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T10:51:54.870Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T10:51:54.870Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T10:51:54.870Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T10:51:54.870Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T10:51:54.870Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T10:51:54.870Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T10:51:54.870Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:51:55.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T10:51:55.378Z] [2023-04-18T10:51:55.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:51:55.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T10:51:55.762Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T10:51:55.762Z] b85a868b505f: Pulling fs layer [2023-04-18T10:51:55.762Z] e2be974225ed: Pulling fs layer [2023-04-18T10:51:55.762Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T10:51:55.762Z] 988bab9f4d93: Pulling fs layer [2023-04-18T10:51:55.762Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T10:51:55.762Z] eaf3925da568: Pulling fs layer [2023-04-18T10:51:55.762Z] bab4dde63d76: Pulling fs layer [2023-04-18T10:51:55.762Z] bde34c3a00c8: Pulling fs layer [2023-04-18T10:51:55.762Z] b352a97aabf1: Pulling fs layer [2023-04-18T10:51:55.762Z] 4872d77fe225: Pulling fs layer [2023-04-18T10:51:55.762Z] 5851b861e8e6: Pulling fs layer [2023-04-18T10:51:55.762Z] bab4dde63d76: Waiting [2023-04-18T10:51:55.762Z] b352a97aabf1: Waiting [2023-04-18T10:51:55.762Z] bde34c3a00c8: Waiting [2023-04-18T10:51:55.762Z] 5851b861e8e6: Waiting [2023-04-18T10:51:55.762Z] 4872d77fe225: Waiting [2023-04-18T10:51:55.762Z] eaf3925da568: Waiting [2023-04-18T10:51:55.762Z] 1469e6f7b9e6: Waiting [2023-04-18T10:51:55.762Z] 988bab9f4d93: Waiting [2023-04-18T10:51:55.762Z] e2be974225ed: Download complete [2023-04-18T10:51:55.762Z] 988bab9f4d93: Verifying Checksum [2023-04-18T10:51:55.762Z] 988bab9f4d93: Download complete [2023-04-18T10:51:56.020Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T10:51:56.020Z] 1469e6f7b9e6: Download complete [2023-04-18T10:51:56.020Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T10:51:56.020Z] 339a4e72a1f5: Download complete [2023-04-18T10:51:56.020Z] eaf3925da568: Verifying Checksum [2023-04-18T10:51:56.020Z] eaf3925da568: Download complete [2023-04-18T10:51:56.020Z] bde34c3a00c8: Verifying Checksum [2023-04-18T10:51:56.020Z] bde34c3a00c8: Download complete [2023-04-18T10:51:56.020Z] b352a97aabf1: Verifying Checksum [2023-04-18T10:51:56.020Z] b352a97aabf1: Download complete [2023-04-18T10:51:56.020Z] 4872d77fe225: Verifying Checksum [2023-04-18T10:51:56.020Z] 4872d77fe225: Download complete [2023-04-18T10:51:56.020Z] 5851b861e8e6: Verifying Checksum [2023-04-18T10:51:56.020Z] 5851b861e8e6: Download complete [2023-04-18T10:51:56.020Z] b85a868b505f: Verifying Checksum [2023-04-18T10:51:56.020Z] b85a868b505f: Download complete [2023-04-18T10:51:56.279Z] bab4dde63d76: Verifying Checksum [2023-04-18T10:51:56.279Z] bab4dde63d76: Download complete [2023-04-18T10:51:57.215Z] b85a868b505f: Pull complete [2023-04-18T10:51:57.215Z] e2be974225ed: Pull complete [2023-04-18T10:51:57.782Z] 339a4e72a1f5: Pull complete [2023-04-18T10:51:57.782Z] 988bab9f4d93: Pull complete [2023-04-18T10:51:58.042Z] 1469e6f7b9e6: Pull complete [2023-04-18T10:51:58.042Z] eaf3925da568: Pull complete [2023-04-18T10:51:59.951Z] bab4dde63d76: Pull complete [2023-04-18T10:51:59.951Z] bde34c3a00c8: Pull complete [2023-04-18T10:51:59.951Z] b352a97aabf1: Pull complete [2023-04-18T10:51:59.951Z] 4872d77fe225: Pull complete [2023-04-18T10:52:00.212Z] 5851b861e8e6: Pull complete [2023-04-18T10:52:00.212Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T10:52:00.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T10:52:00.212Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T10:52:00.451Z] prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container [2023-04-18T10:52:00.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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-devops/py-git-semver:0.1.4 cat [2023-04-18T10:52:04.184Z] $ docker top 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf -eo pid,comm [2023-04-18T10:52:04.234Z] 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-04-18T10:52:04.234Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T10:52:04.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T10:52:04.365Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T10:52:04.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T10:52:04.482Z] $ docker exec 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent [2023-04-18T10:52:04.583Z] SSH_AUTH_SOCK=/tmp/ssh-jO6iW4RtFQ7D/agent.32 [2023-04-18T10:52:04.583Z] SSH_AGENT_PID=38 [2023-04-18T10:52:04.590Z] Running ssh-add (command line suppressed) [2023-04-18T10:52:04.699Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_1849891120043781470.key (/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_1849891120043781470.key) [2023-04-18T10:52:04.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T10:52:05.040Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T10:52:05.067Z] $ docker exec --env ******** --env ******** 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent -k [2023-04-18T10:52:05.178Z] unset SSH_AUTH_SOCK; [2023-04-18T10:52:05.178Z] unset SSH_AGENT_PID; [2023-04-18T10:52:05.178Z] echo Agent pid 38 killed; [2023-04-18T10:52:05.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T10:52:05.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T10:52:05.268Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T10:52:05.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T10:52:05.382Z] $ docker exec 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent [2023-04-18T10:52:05.474Z] SSH_AUTH_SOCK=/tmp/ssh-Iw2VtXsnJ6f2/agent.69 [2023-04-18T10:52:05.474Z] SSH_AGENT_PID=75 [2023-04-18T10:52:05.478Z] Running ssh-add (command line suppressed) [2023-04-18T10:52:05.577Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_14409224148253614779.key (/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/private_key_14409224148253614779.key) [2023-04-18T10:52:05.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T10:52:05.914Z] + git semver init [2023-04-18T10:52:06.176Z] 2023-04-18 10:52:06,110 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T10:52:06.176Z] 2023-04-18 10:52:06,111 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver [2023-04-18T10:52:06.176Z] 2023-04-18 10:52:06,111 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-288/.semver [2023-04-18T10:52:06.176Z] 2023-04-18 10:52:06,112 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-288, universal_newlines=False, shell=None, istream=None) [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,862 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-288/.git/info/exclude [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,863 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver/PR-288 with force:False [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,863 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver/PR-288 [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,865 [execute] INFO git cat-file --batch-check [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,870 [execute] INFO git cat-file --batch [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-288/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T10:52:07.112Z] 2023-04-18 10:52:06,873 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-288/.semver/PR-288 [2023-04-18T10:52:07.112Z] 0.0.0 [Pipeline] } [2023-04-18T10:52:07.141Z] $ docker exec --env ******** --env ******** 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf ssh-agent -k [2023-04-18T10:52:07.235Z] unset SSH_AUTH_SOCK; [2023-04-18T10:52:07.236Z] unset SSH_AGENT_PID; [2023-04-18T10:52:07.236Z] echo Agent pid 75 killed; [2023-04-18T10:52:07.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T10:52:07.648Z] + git semver [Pipeline] } [2023-04-18T10:52:07.931Z] $ docker stop --time=1 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf [2023-04-18T10:52:09.219Z] $ docker rm -f --volumes 8d88353e89af005ad16a461e1555b49981f8f4ce0943fcef613315f844fa09cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T10:52:09.610Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T10:52:09.876Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T10:52:09.893Z] [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-04-18T10:52:10.453Z] provisioning config files... [2023-04-18T10:52:10.463Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config5375105054482283082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T10:52:10.808Z] ---> docker-login.sh [2023-04-18T10:52:10.808Z] nexus3.edgexfoundry.org:10001 [2023-04-18T10:52:10.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:52:10.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:52:10.808Z] Configure a credential helper to remove this warning. See [2023-04-18T10:52:10.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:52:10.808Z] [2023-04-18T10:52:10.808Z] Login Succeeded [2023-04-18T10:52:10.808Z] nexus3.edgexfoundry.org:10002 [2023-04-18T10:52:10.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:52:10.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:52:10.808Z] Configure a credential helper to remove this warning. See [2023-04-18T10:52:10.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:52:10.808Z] [2023-04-18T10:52:10.808Z] Login Succeeded [2023-04-18T10:52:10.808Z] nexus3.edgexfoundry.org:10003 [2023-04-18T10:52:11.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:52:11.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:52:11.070Z] Configure a credential helper to remove this warning. See [2023-04-18T10:52:11.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:52:11.070Z] [2023-04-18T10:52:11.070Z] Login Succeeded [2023-04-18T10:52:11.070Z] nexus3.edgexfoundry.org:10004 [2023-04-18T10:52:11.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:52:11.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:52:11.070Z] Configure a credential helper to remove this warning. See [2023-04-18T10:52:11.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:52:11.070Z] [2023-04-18T10:52:11.070Z] Login Succeeded [2023-04-18T10:52:11.070Z] docker.io [2023-04-18T10:52:11.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:52:11.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:52:11.330Z] Configure a credential helper to remove this warning. See [2023-04-18T10:52:11.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:52:11.330Z] [2023-04-18T10:52:11.330Z] Login Succeeded [2023-04-18T10:52:11.330Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T10:52:11.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T10:52:11.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T10:52:11.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T10:52:11.636Z] ========================================================= [2023-04-18T10:52:11.636Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T10:52:11.636Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:52:12.104Z] + 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-04-18T10:52:12.104Z] Sending build context to Docker daemon 5.785MB [2023-04-18T10:52:12.104Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T10:52:12.104Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T10:52:12.104Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T10:52:12.104Z] 63b65145d645: Pulling fs layer [2023-04-18T10:52:12.104Z] a2d21d5440eb: Pulling fs layer [2023-04-18T10:52:12.104Z] 935e6c44a52c: Pulling fs layer [2023-04-18T10:52:12.104Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T10:52:12.104Z] 30dea6a524f1: Pulling fs layer [2023-04-18T10:52:12.104Z] a2aff8979fd8: Pulling fs layer [2023-04-18T10:52:12.104Z] 6808be2612f2: Pulling fs layer [2023-04-18T10:52:12.104Z] f25807f1079a: Pulling fs layer [2023-04-18T10:52:12.104Z] a2aff8979fd8: Waiting [2023-04-18T10:52:12.104Z] 94cc34f8dd06: Waiting [2023-04-18T10:52:12.104Z] 30dea6a524f1: Waiting [2023-04-18T10:52:12.104Z] 6808be2612f2: Waiting [2023-04-18T10:52:12.104Z] f25807f1079a: Waiting [2023-04-18T10:52:12.104Z] a2d21d5440eb: Download complete [2023-04-18T10:52:12.104Z] 94cc34f8dd06: Download complete [2023-04-18T10:52:12.104Z] 30dea6a524f1: Verifying Checksum [2023-04-18T10:52:12.104Z] 30dea6a524f1: Download complete [2023-04-18T10:52:12.364Z] 63b65145d645: Verifying Checksum [2023-04-18T10:52:12.364Z] a2aff8979fd8: Verifying Checksum [2023-04-18T10:52:12.364Z] a2aff8979fd8: Download complete [2023-04-18T10:52:12.364Z] 63b65145d645: Pull complete [2023-04-18T10:52:12.625Z] a2d21d5440eb: Pull complete [2023-04-18T10:52:12.625Z] f25807f1079a: Verifying Checksum [2023-04-18T10:52:12.625Z] f25807f1079a: Download complete [2023-04-18T10:52:12.884Z] 935e6c44a52c: Verifying Checksum [2023-04-18T10:52:12.884Z] 935e6c44a52c: Download complete [2023-04-18T10:52:13.150Z] 6808be2612f2: Verifying Checksum [2023-04-18T10:52:13.150Z] 6808be2612f2: Download complete [2023-04-18T10:52:16.435Z] 935e6c44a52c: Pull complete [2023-04-18T10:52:16.435Z] 94cc34f8dd06: Pull complete [2023-04-18T10:52:16.435Z] 30dea6a524f1: Pull complete [2023-04-18T10:52:16.435Z] a2aff8979fd8: Pull complete [2023-04-18T10:52:18.338Z] 6808be2612f2: Pull complete [2023-04-18T10:52:18.906Z] f25807f1079a: Pull complete [2023-04-18T10:52:18.906Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T10:52:18.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T10:52:18.906Z] ---> 3b553350e43f [2023-04-18T10:52:18.906Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T10:52:25.278Z] Still waiting to schedule task [2023-04-18T10:52:25.279Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T10:52:25.471Z] ---> Running in 457b4c3e5ada [2023-04-18T10:52:25.471Z] Removing intermediate container 457b4c3e5ada [2023-04-18T10:52:25.471Z] ---> b4c5e4f790a3 [2023-04-18T10:52:25.471Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T10:52:25.471Z] ---> Running in 335b84756570 [2023-04-18T10:52:25.471Z] Removing intermediate container 335b84756570 [2023-04-18T10:52:25.471Z] ---> 8529fc49d5c1 [2023-04-18T10:52:25.471Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T10:52:25.471Z] ---> Running in fd304b9145f4 [2023-04-18T10:52:25.471Z] Removing intermediate container fd304b9145f4 [2023-04-18T10:52:25.471Z] ---> e15ca6150a77 [2023-04-18T10:52:25.471Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T10:52:25.471Z] ---> Running in 2e76e8f359d5 [2023-04-18T10:52:25.471Z] Removing intermediate container 2e76e8f359d5 [2023-04-18T10:52:25.471Z] ---> a8c574ca6ead [2023-04-18T10:52:25.471Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T10:52:25.471Z] ---> Running in 1fc06c21ec69 [2023-04-18T10:52:25.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T10:52:25.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T10:52:25.471Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T10:52:25.471Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T10:52:25.731Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T10:52:25.731Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T10:52:25.731Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T10:52:25.731Z] OK: 269 MiB in 57 packages [2023-04-18T10:52:26.299Z] Removing intermediate container 1fc06c21ec69 [2023-04-18T10:52:26.299Z] ---> e07ea87d839d [2023-04-18T10:52:26.299Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-18T10:52:26.299Z] ---> Running in 789c3f724727 [2023-04-18T10:52:26.299Z] Removing intermediate container 789c3f724727 [2023-04-18T10:52:26.300Z] ---> 862b36b125cf [2023-04-18T10:52:26.300Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T10:52:26.300Z] ---> 6359af06e6fc [2023-04-18T10:52:26.300Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T10:52:26.300Z] ---> Running in 1b0826c53447 [2023-04-18T10:53:12.970Z] Removing intermediate container 1b0826c53447 [2023-04-18T10:53:12.970Z] ---> f7c582abd338 [2023-04-18T10:53:12.970Z] Step 11/12 : COPY . . [2023-04-18T10:53:12.970Z] ---> c3dde7fccf69 [2023-04-18T10:53:12.970Z] Step 12/12 : RUN ${MAKE} [2023-04-18T10:53:12.970Z] ---> Running in 7c404138cd06 [2023-04-18T10:53:12.970Z] noop [2023-04-18T10:53:12.970Z] Removing intermediate container 7c404138cd06 [2023-04-18T10:53:12.970Z] ---> 239835e5977d [2023-04-18T10:53:12.970Z] Successfully built 239835e5977d [2023-04-18T10:53:12.970Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:53:13.420Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T10:53:13.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T10:53:13.570Z] prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container [2023-04-18T10:53:13.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T10:53:13.908Z] $ docker top 36b202221ed8c72bab1e4da11a0c50ed59633bcc5d0f1ebdc4970e552a72d464 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T10:53:14.291Z] + go version [2023-04-18T10:53:14.291Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T10:53:14.329Z] $ docker stop --time=1 36b202221ed8c72bab1e4da11a0c50ed59633bcc5d0f1ebdc4970e552a72d464 [2023-04-18T10:53:15.616Z] $ docker rm -f --volumes 36b202221ed8c72bab1e4da11a0c50ed59633bcc5d0f1ebdc4970e552a72d464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:53:16.340Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T10:53:16.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T10:53:16.491Z] prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container [2023-04-18T10:53:16.528Z] $ 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-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T10:53:16.844Z] $ docker top db57a52dc6b82399a90580884f595332eac44abeedc7359861876d4f6dea436a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T10:53:17.226Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-288 [Pipeline] fileExists [Pipeline] sh [2023-04-18T10:53:17.581Z] + make test [2023-04-18T10:53:17.581Z] go test ./... -coverprofile=coverage.out [2023-04-18T10:53:21.770Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-18T10:53:31.743Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-18T10:53:31.743Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-04-18T10:53:35.923Z] go vet ./... [2023-04-18T10:53:39.205Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T10:53:39.205Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T10:53:39.205Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T10:53:39.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T10:53:39.280Z] $ docker stop --time=1 db57a52dc6b82399a90580884f595332eac44abeedc7359861876d4f6dea436a [2023-04-18T10:53:42.473Z] $ docker rm -f --volumes db57a52dc6b82399a90580884f595332eac44abeedc7359861876d4f6dea436a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T10:53:42.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T10:53:43.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T10:53:43.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T10:53:44.005Z] + ls -al . [2023-04-18T10:53:44.005Z] total 172 [2023-04-18T10:53:44.005Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 10:53 . [2023-04-18T10:53:44.005Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:51 .. [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 10:51 .dockerignore [2023-04-18T10:53:44.005Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 10:52 .git [2023-04-18T10:53:44.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:51 .github [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 10:51 .gitignore [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 10:51 .golangci.yml [2023-04-18T10:53:44.005Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 10:52 .semver [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 18 10:51 Attribution.txt [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 18 10:51 CHANGELOG.md [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 18 10:51 Dockerfile [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 10:51 GOVERNANCE.md [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 10:51 Jenkinsfile [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 10:51 LICENSE [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 18 10:51 Makefile [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 10:51 OWNERS.md [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 18 10:51 README.md [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 10:52 VERSION [2023-04-18T10:53:44.005Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 10:51 bin [2023-04-18T10:53:44.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:51 cmd [2023-04-18T10:53:44.005Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 18 10:53 coverage.out [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 18 10:51 go.mod [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 18 10:51 go.sum [2023-04-18T10:53:44.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:51 internal [2023-04-18T10:53:44.005Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:51 snap [2023-04-18T10:53:44.005Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 18 10:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:53:44.396Z] + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 --label arch=amd64 --label version=0.0.0 . [2023-04-18T10:53:44.396Z] Sending build context to Docker daemon 5.795MB [2023-04-18T10:53:44.396Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T10:53:44.396Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-18T10:53:44.396Z] ---> 239835e5977d [2023-04-18T10:53:44.396Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-18T10:53:44.656Z] ---> Running in a7ca092e38c7 [2023-04-18T10:53:44.656Z] Removing intermediate container a7ca092e38c7 [2023-04-18T10:53:44.656Z] ---> b0b2f8b56240 [2023-04-18T10:53:44.656Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T10:53:44.656Z] ---> Running in fa1b6e4b2bf3 [2023-04-18T10:53:44.656Z] Removing intermediate container fa1b6e4b2bf3 [2023-04-18T10:53:44.656Z] ---> ffee2ed80729 [2023-04-18T10:53:44.656Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T10:53:44.656Z] ---> Running in 1d2d46bf6134 [2023-04-18T10:53:44.656Z] Removing intermediate container 1d2d46bf6134 [2023-04-18T10:53:44.656Z] ---> b2d7a608bbff [2023-04-18T10:53:44.656Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T10:53:44.915Z] ---> Running in c3141905d28b [2023-04-18T10:53:44.915Z] Removing intermediate container c3141905d28b [2023-04-18T10:53:44.915Z] ---> 725768f9951e [2023-04-18T10:53:44.915Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T10:53:44.915Z] ---> Running in bfb7b171d48e [2023-04-18T10:53:45.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T10:53:45.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T10:53:45.435Z] OK: 269 MiB in 57 packages [2023-04-18T10:53:46.005Z] Removing intermediate container bfb7b171d48e [2023-04-18T10:53:46.005Z] ---> ccc36cc4668a [2023-04-18T10:53:46.005Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-18T10:53:46.005Z] ---> Running in d497e6a0ac4f [2023-04-18T10:53:46.005Z] Removing intermediate container d497e6a0ac4f [2023-04-18T10:53:46.005Z] ---> 42ecc4d77148 [2023-04-18T10:53:46.005Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-18T10:53:46.005Z] ---> 49458f5de796 [2023-04-18T10:53:46.005Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T10:53:46.005Z] ---> Running in 5c917fa5a646 [2023-04-18T10:53:47.078Z] Removing intermediate container 5c917fa5a646 [2023-04-18T10:53:47.078Z] ---> fa8b395e0dce [2023-04-18T10:53:47.078Z] Step 11/24 : COPY . . [2023-04-18T10:53:47.338Z] ---> 61807058dd2c [2023-04-18T10:53:47.338Z] Step 12/24 : RUN ${MAKE} [2023-04-18T10:53:47.338Z] ---> Running in 64f6bfec1f7a [2023-04-18T10:53:47.596Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-18T10:53:56.878Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8903 in /w/workspace/gexfoundry_device-snmp-go_PR-288 [Pipeline] { [Pipeline] ws [2023-04-18T10:53:56.930Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T10:53:57.001Z] Selected Git installation does not exist. Using Default [2023-04-18T10:53:57.001Z] The recommended git tool is: NONE [2023-04-18T10:54:02.258Z] using credential edgex-jenkins-ssh [2023-04-18T10:54:02.278Z] Cloning the remote Git repository [2023-04-18T10:54:02.333Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-04-18T10:54:02.436Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-04-18T10:54:02.595Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-18T10:54:02.596Z] > git --version # timeout=10 [2023-04-18T10:54:02.622Z] > git --version # 'git version 2.25.1' [2023-04-18T10:54:02.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T10:54:02.783Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T10:54:03.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-18T10:54:03.820Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T10:54:05.387Z] Merging remotes/origin/main commit 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 into PR head commit 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [2023-04-18T10:54:05.686Z] Merge succeeded, producing 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [2023-04-18T10:54:05.687Z] Checking out Revision 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 (PR-288) [2023-04-18T10:54:04.744Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-18T10:54:04.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-18T10:54:04.791Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T10:54:04.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T10:54:05.409Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T10:54:05.487Z] > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # timeout=10 [2023-04-18T10:54:05.567Z] > git remote # timeout=10 [2023-04-18T10:54:05.590Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T10:54:05.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T10:54:05.638Z] > git merge 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 [2023-04-18T10:54:05.667Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T10:54:05.696Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T10:54:05.713Z] > git checkout -f 07aaef5b0d79c8db2f5e9e0d0e25c32712347257 # timeout=10 [2023-04-18T10:54:09.195Z] Commit message: "build(deps): bump device-sdk-go version" [2023-04-18T10:54:09.250Z] > git --version # timeout=10 [2023-04-18T10:54:09.267Z] > git --version # 'git version 2.25.1' [2023-04-18T10:54:09.280Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T10:54:09.664Z] Removing intermediate container 64f6bfec1f7a [2023-04-18T10:54:09.664Z] ---> 43b12bfaef8d [2023-04-18T10:54:09.664Z] Step 13/24 : FROM alpine:3.17 [2023-04-18T10:54:09.664Z] 3.17: Pulling from library/alpine [2023-04-18T10:54:09.664Z] f56be85fc22e: Pulling fs layer [2023-04-18T10:54:09.664Z] f56be85fc22e: Verifying Checksum [2023-04-18T10:54:09.664Z] f56be85fc22e: Download complete [2023-04-18T10:54:09.664Z] f56be85fc22e: Pull complete [2023-04-18T10:54:09.664Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T10:54:09.664Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T10:54:09.664Z] ---> 9ed4aefc74f6 [2023-04-18T10:54:09.664Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-18T10:54:09.664Z] ---> Running in 1e5e6eebf866 [2023-04-18T10:54:09.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T10:54:09.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T10:54:09.664Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T10:54:09.664Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T10:54:09.664Z] OK: 7 MiB in 16 packages [2023-04-18T10:54:09.664Z] Removing intermediate container 1e5e6eebf866 [2023-04-18T10:54:09.664Z] ---> 68c961f55853 [2023-04-18T10:54:09.664Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-04-18T10:54:09.926Z] ---> 1054cd77833e [2023-04-18T10:54:09.926Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [Pipeline] sh [2023-04-18T10:54:10.184Z] ---> fb3e5ea6a0c8 [2023-04-18T10:54:10.184Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-18T10:54:10.184Z] ---> c8e208eb2393 [2023-04-18T10:54:10.184Z] Step 18/24 : EXPOSE 59993 [2023-04-18T10:54:10.184Z] ---> Running in 7b434f2b402e [2023-04-18T10:54:10.417Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T10:54:10.417Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T10:54:10.417Z] Dload Upload Total Spent Left Speed [2023-04-18T10:54:10.417Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [2023-04-18T10:54:10.443Z] Removing intermediate container 7b434f2b402e [2023-04-18T10:54:10.443Z] ---> 435494922fd2 [2023-04-18T10:54:10.443Z] Step 19/24 : EXPOSE 161 [2023-04-18T10:54:10.443Z] ---> Running in b0519303901f [2023-04-18T10:54:10.443Z] Removing intermediate container b0519303901f [2023-04-18T10:54:10.443Z] ---> 3b763e4a2952 [2023-04-18T10:54:10.443Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-18T10:54:10.443Z] ---> Running in 7f597c38acc2 [2023-04-18T10:54:10.443Z] Removing intermediate container 7f597c38acc2 [2023-04-18T10:54:10.443Z] ---> 76cff3450bce [2023-04-18T10:54:10.443Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T10:54:10.443Z] ---> Running in c9e638886930 [2023-04-18T10:54:10.701Z] Removing intermediate container c9e638886930 [2023-04-18T10:54:10.701Z] ---> a630f8af4e49 [2023-04-18T10:54:10.701Z] Step 22/24 : LABEL arch=amd64 [2023-04-18T10:54:10.701Z] ---> Running in fcee9c92efab [2023-04-18T10:54:10.701Z] Removing intermediate container fcee9c92efab [2023-04-18T10:54:10.701Z] ---> 7fe117fc8984 [2023-04-18T10:54:10.701Z] Step 23/24 : LABEL git_sha=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [2023-04-18T10:54:10.701Z] ---> Running in 2601ebb0c381 [2023-04-18T10:54:10.701Z] Removing intermediate container 2601ebb0c381 [2023-04-18T10:54:10.701Z] ---> b31d7179634a [2023-04-18T10:54:10.701Z] Step 24/24 : LABEL version=0.0.0 [2023-04-18T10:54:10.701Z] ---> Running in 389d5b533ff8 [Pipeline] sh [2023-04-18T10:54:10.959Z] Removing intermediate container 389d5b533ff8 [2023-04-18T10:54:10.960Z] ---> e48a0af572ae [2023-04-18T10:54:10.960Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T10:54:10.960Z] Successfully built e48a0af572ae [2023-04-18T10:54:10.960Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-04-18T10:54:11.218Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2023-04-18T10:54:11.576Z] + sudo tee /etc/docker/daemon.new [2023-04-18T10:54:11.577Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T10:54:11.577Z] { [2023-04-18T10:54:11.577Z] "registry-mirrors": [ [2023-04-18T10:54:11.577Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T10:54:11.577Z] ], [2023-04-18T10:54:11.577Z] "bip": "10.250.0.254/24", [2023-04-18T10:54:11.577Z] "hosts": [ [2023-04-18T10:54:11.577Z] "tcp://0.0.0.0:5555", [2023-04-18T10:54:11.577Z] "unix:///var/run/docker.sock" [2023-04-18T10:54:11.577Z] ], [2023-04-18T10:54:11.577Z] "mtu": 1458, [2023-04-18T10:54:11.577Z] "selinux-enabled": true, [2023-04-18T10:54:11.577Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T10:54:11.577Z] } [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:54:11.955Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T10:54:12.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T10:54:12.120Z] [2023-04-18T10:54:12.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:54:12.309Z] + sudo service docker restart [2023-04-18T10:54:12.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T10:54:12.501Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T10:54:12.501Z] 5eb5b503b376: Pulling fs layer [2023-04-18T10:54:12.501Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T10:54:12.501Z] ec43610c2a17: Pulling fs layer [2023-04-18T10:54:12.501Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T10:54:12.501Z] 33b1e0a273af: Pulling fs layer [2023-04-18T10:54:12.501Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T10:54:12.501Z] 2f39f015ded8: Pulling fs layer [2023-04-18T10:54:12.501Z] 33b1e0a273af: Waiting [2023-04-18T10:54:12.501Z] 5d3b04190fa2: Waiting [2023-04-18T10:54:12.501Z] 2f39f015ded8: Waiting [2023-04-18T10:54:12.501Z] 3a2ae6a8a46f: Waiting [2023-04-18T10:54:12.501Z] 5c69ac0246d0: Download complete [2023-04-18T10:54:12.501Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T10:54:12.501Z] 3a2ae6a8a46f: Download complete [2023-04-18T10:54:12.501Z] 33b1e0a273af: Verifying Checksum [2023-04-18T10:54:12.501Z] 33b1e0a273af: Download complete [2023-04-18T10:54:12.501Z] ec43610c2a17: Verifying Checksum [2023-04-18T10:54:12.501Z] ec43610c2a17: Download complete [2023-04-18T10:54:12.501Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T10:54:12.501Z] 5d3b04190fa2: Download complete [2023-04-18T10:54:12.760Z] 5eb5b503b376: Verifying Checksum [2023-04-18T10:54:12.760Z] 5eb5b503b376: Download complete [2023-04-18T10:54:13.329Z] 2f39f015ded8: Download complete [2023-04-18T10:54:13.894Z] 5eb5b503b376: Pull complete [2023-04-18T10:54:13.894Z] 5c69ac0246d0: Pull complete [2023-04-18T10:54:14.462Z] ec43610c2a17: Pull complete [2023-04-18T10:54:14.462Z] 3a2ae6a8a46f: Pull complete [2023-04-18T10:54:14.462Z] 33b1e0a273af: Pull complete [2023-04-18T10:54:14.720Z] 5d3b04190fa2: Pull complete [2023-04-18T10:54:18.906Z] 2f39f015ded8: Pull complete [2023-04-18T10:54:18.906Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T10:54:18.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T10:54:18.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T10:54:19.139Z] prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container [2023-04-18T10:54:19.175Z] $ 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-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T10:54:24.070Z] $ docker top 436b5924675fbd3acc7562c8246bb037032187e44639a1d32e0b27420f282b0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T10:54:24.532Z] ---> job-cost.sh [2023-04-18T10:54:24.532Z] lf-activate-venv: SKIPPING [2023-04-18T10:54:24.532Z] INFO: No Stack... [2023-04-18T10:54:24.791Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T10:54:25.358Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T10:54:25.673Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-288/archives/cost.csv [2023-04-18T10:54:25.673Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T10:54:25.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [2023-04-18T10:54:25.753Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] did not exist. Created. [2023-04-18T10:54:25.753Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T10:54:26.159Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T10:54:26.212Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T10:54:26.252Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T10:54:26.344Z] $ docker stop --time=1 436b5924675fbd3acc7562c8246bb037032187e44639a1d32e0b27420f282b0f [2023-04-18T10:54:27.490Z] $ docker rm -f --volumes 436b5924675fbd3acc7562c8246bb037032187e44639a1d32e0b27420f282b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T10:54:30.628Z] provisioning config files... [2023-04-18T10:54:30.660Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3573633780770258851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T10:54:31.051Z] ---> docker-login.sh [2023-04-18T10:54:31.051Z] nexus3.edgexfoundry.org:10001 [2023-04-18T10:54:31.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:54:31.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:54:31.590Z] Configure a credential helper to remove this warning. See [2023-04-18T10:54:31.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:54:31.590Z] [2023-04-18T10:54:31.590Z] Login Succeeded [2023-04-18T10:54:31.590Z] nexus3.edgexfoundry.org:10002 [2023-04-18T10:54:31.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:54:31.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:54:31.860Z] Configure a credential helper to remove this warning. See [2023-04-18T10:54:31.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:54:31.860Z] [2023-04-18T10:54:31.860Z] Login Succeeded [2023-04-18T10:54:31.860Z] nexus3.edgexfoundry.org:10003 [2023-04-18T10:54:32.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:54:32.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:54:32.398Z] Configure a credential helper to remove this warning. See [2023-04-18T10:54:32.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:54:32.398Z] [2023-04-18T10:54:32.398Z] Login Succeeded [2023-04-18T10:54:32.398Z] nexus3.edgexfoundry.org:10004 [2023-04-18T10:54:32.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:54:32.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:54:32.670Z] Configure a credential helper to remove this warning. See [2023-04-18T10:54:32.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:54:32.670Z] [2023-04-18T10:54:32.670Z] Login Succeeded [2023-04-18T10:54:32.670Z] docker.io [2023-04-18T10:54:32.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T10:54:33.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T10:54:33.207Z] Configure a credential helper to remove this warning. See [2023-04-18T10:54:33.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T10:54:33.207Z] [2023-04-18T10:54:33.207Z] Login Succeeded [2023-04-18T10:54:33.207Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T10:54:33.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T10:54:33.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T10:54:33.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T10:54:33.683Z] ========================================================= [2023-04-18T10:54:33.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T10:54:33.683Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:54:34.169Z] + 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-04-18T10:54:34.436Z] Sending build context to Docker daemon 3.002MB [2023-04-18T10:54:34.436Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T10:54:34.436Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T10:54:34.718Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T10:54:34.718Z] af6eaf76a39c: Pulling fs layer [2023-04-18T10:54:34.718Z] 55522c791124: Pulling fs layer [2023-04-18T10:54:34.718Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T10:54:34.718Z] 169dfbe0d373: Pulling fs layer [2023-04-18T10:54:34.718Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T10:54:34.718Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T10:54:34.718Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T10:54:34.718Z] 169dfbe0d373: Waiting [2023-04-18T10:54:34.718Z] e1ff8fa3b103: Waiting [2023-04-18T10:54:34.718Z] 52ebb69f0ebf: Waiting [2023-04-18T10:54:34.718Z] 5abe8eddf0d5: Waiting [2023-04-18T10:54:34.718Z] 55522c791124: Verifying Checksum [2023-04-18T10:54:34.718Z] 55522c791124: Download complete [2023-04-18T10:54:34.718Z] 169dfbe0d373: Verifying Checksum [2023-04-18T10:54:34.718Z] 169dfbe0d373: Download complete [2023-04-18T10:54:34.718Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T10:54:34.718Z] e1ff8fa3b103: Download complete [2023-04-18T10:54:34.718Z] af6eaf76a39c: Verifying Checksum [2023-04-18T10:54:34.718Z] af6eaf76a39c: Download complete [2023-04-18T10:54:35.689Z] af6eaf76a39c: Pull complete [2023-04-18T10:54:35.689Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T10:54:35.689Z] 5abe8eddf0d5: Download complete [2023-04-18T10:54:36.280Z] 55522c791124: Pull complete [2023-04-18T10:54:37.267Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T10:54:37.267Z] 52ebb69f0ebf: Download complete [2023-04-18T10:54:37.267Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T10:54:37.267Z] ce5c4a1c91eb: Download complete [2023-04-18T10:54:49.628Z] ce5c4a1c91eb: Pull complete [2023-04-18T10:54:49.629Z] 169dfbe0d373: Pull complete [2023-04-18T10:54:49.629Z] e1ff8fa3b103: Pull complete [2023-04-18T10:54:55.003Z] 52ebb69f0ebf: Pull complete [2023-04-18T10:54:56.970Z] 5abe8eddf0d5: Pull complete [2023-04-18T10:54:56.970Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T10:54:56.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T10:54:56.970Z] ---> 6cb57ee374ae [2023-04-18T10:54:56.970Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T10:54:58.395Z] ---> Running in 2cb128755577 [2023-04-18T10:54:58.665Z] Removing intermediate container 2cb128755577 [2023-04-18T10:54:58.665Z] ---> 7748ac585b10 [2023-04-18T10:54:58.665Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T10:54:58.936Z] ---> Running in 69d4f7fc9fc5 [2023-04-18T10:54:59.205Z] Removing intermediate container 69d4f7fc9fc5 [2023-04-18T10:54:59.205Z] ---> c0c207a7791b [2023-04-18T10:54:59.205Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T10:54:59.205Z] ---> Running in 7c659ca22093 [2023-04-18T10:54:59.481Z] Removing intermediate container 7c659ca22093 [2023-04-18T10:54:59.481Z] ---> f2fd9a611534 [2023-04-18T10:54:59.481Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T10:54:59.749Z] ---> Running in c2850e21a1ba [2023-04-18T10:55:00.025Z] Removing intermediate container c2850e21a1ba [2023-04-18T10:55:00.025Z] ---> d4ca1c71ef59 [2023-04-18T10:55:00.025Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T10:55:00.025Z] ---> Running in 1bb2f75911b8 [2023-04-18T10:55:01.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T10:55:01.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T10:55:03.131Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T10:55:03.131Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T10:55:03.131Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T10:55:03.131Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T10:55:03.131Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T10:55:03.403Z] OK: 268 MiB in 57 packages [2023-04-18T10:55:06.749Z] Removing intermediate container 1bb2f75911b8 [2023-04-18T10:55:06.749Z] ---> 1d9450780514 [2023-04-18T10:55:06.749Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-18T10:55:06.749Z] ---> Running in 53a38af70335 [2023-04-18T10:55:06.749Z] Removing intermediate container 53a38af70335 [2023-04-18T10:55:06.749Z] ---> 0804e79a16a3 [2023-04-18T10:55:06.749Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T10:55:07.019Z] ---> eb9c329ac936 [2023-04-18T10:55:07.019Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T10:55:07.019Z] ---> Running in 0b53cd1c25f8 [2023-04-18T10:56:14.906Z] Removing intermediate container 0b53cd1c25f8 [2023-04-18T10:56:14.906Z] ---> 59b16336c2bc [2023-04-18T10:56:14.906Z] Step 11/12 : COPY . . [2023-04-18T10:56:14.906Z] ---> 88f7ca5c3542 [2023-04-18T10:56:14.906Z] Step 12/12 : RUN ${MAKE} [2023-04-18T10:56:14.906Z] ---> Running in 78527bcf906d [2023-04-18T10:56:14.906Z] noop [2023-04-18T10:56:14.906Z] Removing intermediate container 78527bcf906d [2023-04-18T10:56:14.906Z] ---> 08f30f9ecbd3 [2023-04-18T10:56:14.906Z] Successfully built 08f30f9ecbd3 [2023-04-18T10:56:14.906Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:56:15.392Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T10:56:15.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T10:56:15.674Z] prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container [2023-04-18T10:56:15.738Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T10:56:16.957Z] $ docker top feefab90a48e61d2941f44fc49cc7bbe742c4589130f6afe039f8833c6040753 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T10:56:17.821Z] + go version [2023-04-18T10:56:17.821Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T10:56:17.855Z] $ docker stop --time=1 feefab90a48e61d2941f44fc49cc7bbe742c4589130f6afe039f8833c6040753 [2023-04-18T10:56:19.449Z] $ docker rm -f --volumes feefab90a48e61d2941f44fc49cc7bbe742c4589130f6afe039f8833c6040753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:56:20.267Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T10:56:20.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T10:56:20.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container [2023-04-18T10:56:20.571Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T10:56:21.668Z] $ docker top 9ca21f256089a14f882e6114dc9055be31688aa181414d00789b24775e98c8c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T10:56:22.526Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T10:56:22.916Z] + make test [2023-04-18T10:56:22.916Z] go test ./... -coverprofile=coverage.out [2023-04-18T10:56:55.158Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-18T10:58:46.833Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-18T10:58:46.833Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2023-04-18T10:58:46.833Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T10:58:46.833Z] go vet ./... [2023-04-18T10:59:19.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T10:59:19.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T10:59:19.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T10:59:19.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T10:59:19.144Z] $ docker stop --time=1 9ca21f256089a14f882e6114dc9055be31688aa181414d00789b24775e98c8c8 [2023-04-18T10:59:21.424Z] $ docker rm -f --volumes 9ca21f256089a14f882e6114dc9055be31688aa181414d00789b24775e98c8c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T10:59:22.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T10:59:22.758Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T10:59:23.280Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T10:59:23.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T10:59:24.234Z] + ls -al . [2023-04-18T10:59:24.234Z] total 168 [2023-04-18T10:59:24.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 10:56 . [2023-04-18T10:59:24.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:54 .. [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 10:54 .dockerignore [2023-04-18T10:59:24.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 10:54 .git [2023-04-18T10:59:24.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:54 .github [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 10:54 .gitignore [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 10:54 .golangci.yml [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 18 10:54 Attribution.txt [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 18 10:54 CHANGELOG.md [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 18 10:54 Dockerfile [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 10:54 GOVERNANCE.md [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 10:54 Jenkinsfile [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 10:54 LICENSE [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 18 10:54 Makefile [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 10:54 OWNERS.md [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 18 10:54 README.md [2023-04-18T10:59:24.234Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 10:52 VERSION [2023-04-18T10:59:24.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 10:54 bin [2023-04-18T10:59:24.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:54 cmd [2023-04-18T10:59:24.235Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 18 10:58 coverage.out [2023-04-18T10:59:24.235Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 18 10:54 go.mod [2023-04-18T10:59:24.235Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 18 10:54 go.sum [2023-04-18T10:59:24.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 10:54 internal [2023-04-18T10:59:24.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 10:54 snap [2023-04-18T10:59:24.235Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 18 10:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T10:59:24.662Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 --label arch=arm64 --label version=0.0.0 . [2023-04-18T10:59:25.254Z] Sending build context to Docker daemon 3.012MB [2023-04-18T10:59:25.254Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T10:59:25.254Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-18T10:59:25.254Z] ---> 08f30f9ecbd3 [2023-04-18T10:59:25.254Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-18T10:59:25.523Z] ---> Running in e9c652a28768 [2023-04-18T10:59:25.791Z] Removing intermediate container e9c652a28768 [2023-04-18T10:59:25.791Z] ---> 443499db6559 [2023-04-18T10:59:25.791Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T10:59:25.791Z] ---> Running in 6863b37a0089 [2023-04-18T10:59:26.375Z] Removing intermediate container 6863b37a0089 [2023-04-18T10:59:26.375Z] ---> da2dbc3940fa [2023-04-18T10:59:26.375Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T10:59:26.375Z] ---> Running in 2aa352880766 [2023-04-18T10:59:26.644Z] Removing intermediate container 2aa352880766 [2023-04-18T10:59:26.644Z] ---> 4a8e799bc41b [2023-04-18T10:59:26.644Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T10:59:26.644Z] ---> Running in ddfd873ad10d [2023-04-18T10:59:26.918Z] Removing intermediate container ddfd873ad10d [2023-04-18T10:59:26.918Z] ---> 4411df1ffdba [2023-04-18T10:59:26.918Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T10:59:27.188Z] ---> Running in 533dee97971c [2023-04-18T10:59:28.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T10:59:28.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T10:59:30.146Z] OK: 268 MiB in 57 packages [2023-04-18T10:59:30.733Z] Removing intermediate container 533dee97971c [2023-04-18T10:59:30.733Z] ---> 6cd3d68c28fd [2023-04-18T10:59:30.734Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-18T10:59:30.734Z] ---> Running in 85c89e394ef8 [2023-04-18T10:59:31.321Z] Removing intermediate container 85c89e394ef8 [2023-04-18T10:59:31.321Z] ---> 36e2020627b4 [2023-04-18T10:59:31.321Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-18T10:59:31.588Z] ---> b37cb4f583ec [2023-04-18T10:59:31.588Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T10:59:31.588Z] ---> Running in 9c51f2cde314 [2023-04-18T10:59:34.183Z] Removing intermediate container 9c51f2cde314 [2023-04-18T10:59:34.183Z] ---> 6feb411c195f [2023-04-18T10:59:34.183Z] Step 11/24 : COPY . . [2023-04-18T10:59:34.780Z] ---> 0b3198e6b25d [2023-04-18T10:59:34.780Z] Step 12/24 : RUN ${MAKE} [2023-04-18T10:59:35.061Z] ---> Running in fe92d194f950 [2023-04-18T10:59:36.023Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-18T11:01:42.702Z] Removing intermediate container fe92d194f950 [2023-04-18T11:01:42.702Z] ---> 469a7c038f1c [2023-04-18T11:01:42.702Z] Step 13/24 : FROM alpine:3.17 [2023-04-18T11:01:42.969Z] 3.17: Pulling from library/alpine [2023-04-18T11:01:42.969Z] c41833b44d91: Pulling fs layer [2023-04-18T11:01:43.242Z] c41833b44d91: Verifying Checksum [2023-04-18T11:01:43.828Z] c41833b44d91: Pull complete [2023-04-18T11:01:43.828Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T11:01:43.829Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T11:01:43.829Z] ---> 51e60588ff2c [2023-04-18T11:01:43.829Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-18T11:01:43.829Z] ---> Running in 588381e4a723 [2023-04-18T11:01:44.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T11:01:45.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T11:01:46.797Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T11:01:46.797Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T11:01:46.797Z] OK: 8 MiB in 16 packages [2023-04-18T11:01:47.381Z] Removing intermediate container 588381e4a723 [2023-04-18T11:01:47.381Z] ---> 7b01408e0fda [2023-04-18T11:01:47.381Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-18T11:01:48.792Z] ---> f9144435361d [2023-04-18T11:01:48.792Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-18T11:01:49.376Z] ---> dacded1e271a [2023-04-18T11:01:49.376Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-18T11:01:49.652Z] ---> 073efe0de79b [2023-04-18T11:01:49.652Z] Step 18/24 : EXPOSE 59993 [2023-04-18T11:01:49.918Z] ---> Running in 2802f91f53b5 [2023-04-18T11:01:50.184Z] Removing intermediate container 2802f91f53b5 [2023-04-18T11:01:50.184Z] ---> 8c5cf65cc1cc [2023-04-18T11:01:50.184Z] Step 19/24 : EXPOSE 161 [2023-04-18T11:01:50.184Z] ---> Running in 751663e68d3a [2023-04-18T11:01:50.450Z] Removing intermediate container 751663e68d3a [2023-04-18T11:01:50.450Z] ---> 6a1723148011 [2023-04-18T11:01:50.450Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-18T11:01:50.450Z] ---> Running in 50542e2df7c3 [2023-04-18T11:01:50.719Z] Removing intermediate container 50542e2df7c3 [2023-04-18T11:01:50.719Z] ---> 029ecf7354d1 [2023-04-18T11:01:50.719Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T11:01:50.719Z] ---> Running in ffb58d7ec3c5 [2023-04-18T11:01:50.992Z] Removing intermediate container ffb58d7ec3c5 [2023-04-18T11:01:50.992Z] ---> 3fcada6980be [2023-04-18T11:01:50.992Z] Step 22/24 : LABEL arch=arm64 [2023-04-18T11:01:51.261Z] ---> Running in 8a4739a7a79c [2023-04-18T11:01:51.527Z] Removing intermediate container 8a4739a7a79c [2023-04-18T11:01:51.527Z] ---> 14e552aa5c0f [2023-04-18T11:01:51.527Z] Step 23/24 : LABEL git_sha=07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [2023-04-18T11:01:51.527Z] ---> Running in 56ef4a379c2b [2023-04-18T11:01:51.794Z] Removing intermediate container 56ef4a379c2b [2023-04-18T11:01:51.794Z] ---> 31a8be8bf200 [2023-04-18T11:01:51.794Z] Step 24/24 : LABEL version=0.0.0 [2023-04-18T11:01:51.794Z] ---> Running in 5f6c9f9d4020 [2023-04-18T11:01:52.060Z] Removing intermediate container 5f6c9f9d4020 [2023-04-18T11:01:52.060Z] ---> 1f0be7212807 [2023-04-18T11:01:52.060Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T11:01:52.060Z] Successfully built 1f0be7212807 [2023-04-18T11:01:52.328Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:01:53.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:01:53.146Z] [2023-04-18T11:01:53.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:01:53.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:01:53.867Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T11:01:53.868Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T11:01:53.868Z] 04944245beec: Pulling fs layer [2023-04-18T11:01:53.868Z] 699f458cf7ca: Pulling fs layer [2023-04-18T11:01:53.868Z] 765212b225bb: Pulling fs layer [2023-04-18T11:01:53.868Z] f23df028b6ca: Pulling fs layer [2023-04-18T11:01:53.868Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T11:01:53.868Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T11:01:53.868Z] f23df028b6ca: Waiting [2023-04-18T11:01:53.868Z] d65c8cfc05b1: Waiting [2023-04-18T11:01:53.868Z] 2437ff75d9bd: Waiting [2023-04-18T11:01:53.868Z] 765212b225bb: Waiting [2023-04-18T11:01:53.868Z] 04944245beec: Verifying Checksum [2023-04-18T11:01:53.868Z] 04944245beec: Download complete [2023-04-18T11:01:53.868Z] 765212b225bb: Verifying Checksum [2023-04-18T11:01:53.868Z] 765212b225bb: Download complete [2023-04-18T11:01:53.868Z] f23df028b6ca: Verifying Checksum [2023-04-18T11:01:53.868Z] f23df028b6ca: Download complete [2023-04-18T11:01:53.868Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T11:01:53.868Z] d65c8cfc05b1: Download complete [2023-04-18T11:01:54.142Z] 699f458cf7ca: Verifying Checksum [2023-04-18T11:01:54.142Z] 699f458cf7ca: Download complete [2023-04-18T11:01:54.423Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T11:01:54.424Z] 8998bd30e6a1: Download complete [2023-04-18T11:01:57.058Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T11:01:57.058Z] 2437ff75d9bd: Download complete [2023-04-18T11:01:58.508Z] 8998bd30e6a1: Pull complete [2023-04-18T11:01:59.091Z] 04944245beec: Pull complete [2023-04-18T11:02:00.500Z] 699f458cf7ca: Pull complete [2023-04-18T11:02:00.500Z] 765212b225bb: Pull complete [2023-04-18T11:02:01.086Z] f23df028b6ca: Pull complete [2023-04-18T11:02:01.355Z] d65c8cfc05b1: Pull complete [2023-04-18T11:02:16.345Z] 2437ff75d9bd: Pull complete [2023-04-18T11:02:16.345Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T11:02:16.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:02:16.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:02:16.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container [2023-04-18T11:02:16.704Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T11:02:22.026Z] $ docker top 074c9f836484b94b7350f450c8408e05ebbbac5f02d5fcee3e5e3ae40f829db3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:22.945Z] ---> job-cost.sh [2023-04-18T11:02:22.945Z] lf-activate-venv: SKIPPING [2023-04-18T11:02:22.945Z] INFO: No Stack... [2023-04-18T11:02:23.211Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T11:02:24.169Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T11:02:24.833Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-04-18T11:02:24.834Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T11:02:24.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [2023-04-18T11:02:24.919Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] did not exist. Created. [2023-04-18T11:02:24.919Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T11:02:25.650Z] /w/workspace/device-snmp-go/1@tmp/durable-8e15cc22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T11:02:26.323Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T11:02:26.361Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T11:02:26.405Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T11:02:26.420Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T11:02:26.503Z] $ docker stop --time=1 074c9f836484b94b7350f450c8408e05ebbbac5f02d5fcee3e5e3ae40f829db3 [2023-04-18T11:02:27.983Z] $ docker rm -f --volumes 074c9f836484b94b7350f450c8408e05ebbbac5f02d5fcee3e5e3ae40f829db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-18T11:02:28.994Z] provisioning config files... [2023-04-18T11:02:29.002Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config9417461904053329143tmp [Pipeline] { [Pipeline] sh [2023-04-18T11:02:29.341Z] + set +x [2023-04-18T11:02:29.341Z] + curl -s https://codecov.io/bash [2023-04-18T11:02:29.341Z] + bash -s -- [2023-04-18T11:02:29.341Z] [2023-04-18T11:02:29.341Z] _____ _ [2023-04-18T11:02:29.341Z] / ____| | | [2023-04-18T11:02:29.341Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T11:02:29.341Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T11:02:29.341Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T11:02:29.341Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T11:02:29.341Z] Bash-1.0.6 [2023-04-18T11:02:29.341Z] [2023-04-18T11:02:29.341Z] [2023-04-18T11:02:29.341Z] ==> git version 2.25.1 found [2023-04-18T11:02:29.341Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-18T11:02:29.341Z] Release-Date: 2020-01-08 [2023-04-18T11:02:29.341Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-18T11:02:29.341Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T11:02:29.341Z] ==> Jenkins CI detected. [2023-04-18T11:02:29.341Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-288 [2023-04-18T11:02:29.341Z] project root: . [2023-04-18T11:02:29.341Z] --> token set from env [2023-04-18T11:02:29.341Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T11:02:29.341Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T11:02:29.341Z] ==> Python coveragepy not found [2023-04-18T11:02:29.341Z] ==> Searching for coverage reports in: [2023-04-18T11:02:29.341Z] + . [2023-04-18T11:02:29.341Z] -> Found 1 reports [2023-04-18T11:02:29.341Z] ==> Detecting git/mercurial file structure [2023-04-18T11:02:29.601Z] ==> Reading reports [2023-04-18T11:02:29.601Z] + ./coverage.out bytes=8837 [2023-04-18T11:02:29.601Z] ==> Appending adjustments [2023-04-18T11:02:29.601Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T11:02:29.601Z] + Found adjustments [2023-04-18T11:02:29.601Z] ==> Gzipping contents [2023-04-18T11:02:29.601Z] 4.0K /tmp/codecov.7LZiQW.gz [2023-04-18T11:02:29.601Z] ==> Uploading reports [2023-04-18T11:02:29.601Z] url: https://codecov.io [2023-04-18T11:02:29.601Z] query: branch=PR-288&commit=07aaef5b0d79c8db2f5e9e0d0e25c32712347257&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-288%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=288&job=&cmd_args= [2023-04-18T11:02:29.601Z] -> Pinging Codecov [2023-04-18T11:02:29.601Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-288&commit=07aaef5b0d79c8db2f5e9e0d0e25c32712347257&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-288%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=288&job=&cmd_args= [2023-04-18T11:02:29.601Z] -> Uploading to [2023-04-18T11:02:29.601Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/6C56EA5C29638FB4528AC87E60AF5AE0/07aaef5b0d79c8db2f5e9e0d0e25c32712347257/fdae9102-f2ea-4d99-bd7e-293ede546a1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T110229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a8492a06daaffed9285be7600bb116717931c527c70a7c9ea5b8081b117c3f0 [2023-04-18T11:02:29.601Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T11:02:29.601Z] Dload Upload Total Spent Left Speed [2023-04-18T11:02:30.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 4676 --:--:-- --:--:-- --:--:-- 4676 [2023-04-18T11:02:30.172Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/07aaef5b0d79c8db2f5e9e0d0e25c32712347257 [Pipeline] } [2023-04-18T11:02:30.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-04-18T11:02:31.831Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-288/archives ] [2023-04-18T11:02:31.832Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-288/archives [2023-04-18T11:02:31.832Z] total 16 [2023-04-18T11:02:31.832Z] drwxr-xr-x 3 root root 4096 Apr 18 10:54 . [2023-04-18T11:02:31.832Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 10:54 .. [2023-04-18T11:02:31.832Z] drwxr-xr-x 2 root root 4096 Apr 18 10:54 cost [2023-04-18T11:02:31.832Z] -rw-r--r-- 1 root root 86 Apr 18 10:54 cost.csv [2023-04-18T11:02:31.832Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-288/archives [2023-04-18T11:02:31.832Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-288/archives [2023-04-18T11:02:31.832Z] total 16 [2023-04-18T11:02:31.832Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 10:54 . [2023-04-18T11:02:31.832Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 10:54 .. [2023-04-18T11:02:31.832Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 10:54 cost [2023-04-18T11:02:31.832Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 10:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:32.161Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:33.043Z] ---> package-listing.sh [2023-04-18T11:02:33.043Z] ++ facter osfamily [2023-04-18T11:02:33.043Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T11:02:33.302Z] + OS_FAMILY=debian [2023-04-18T11:02:33.302Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-288 [2023-04-18T11:02:33.302Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T11:02:33.302Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T11:02:33.302Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T11:02:33.302Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T11:02:33.302Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-288 ']' [2023-04-18T11:02:33.302Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T11:02:33.302Z] + case "${OS_FAMILY}" in [2023-04-18T11:02:33.302Z] + dpkg -l [2023-04-18T11:02:33.302Z] + grep '^ii' [2023-04-18T11:02:33.302Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T11:02:33.302Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T11:02:33.302Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T11:02:33.302Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-288 ']' [2023-04-18T11:02:33.302Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-288/archives/ [2023-04-18T11:02:33.302Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-288/archives/ [Pipeline] echo [2023-04-18T11:02:33.337Z] 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-288/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T11:02:33.630Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:02:34.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:02:34.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:02:34.402Z] prd-ubuntu20.04-docker-8c-8g-8902 does not seem to be running inside a container [2023-04-18T11:02:34.436Z] $ 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-288/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-288 -v /w/workspace/gexfoundry_device-snmp-go_PR-288:/w/workspace/gexfoundry_device-snmp-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-288@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-288@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T11:02:34.622Z] $ docker top 25196dd4b822442b3f2a0b19e133304e6f59c99c777b9770a2a78b97ae18db28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:02:35.014Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T11:02:35.323Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T11:02:35.634Z] + ls /var/log/sa-host [2023-04-18T11:02:35.634Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:02:35.868Z] provisioning config files... [2023-04-18T11:02:35.876Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-288@tmp/config12570834042425457544tmp [Pipeline] { [Pipeline] echo [2023-04-18T11:02:35.932Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:36.243Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T11:02:36.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:36.680Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T11:02:36.725Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:37.041Z] ---> sudo-logs.sh [2023-04-18T11:02:37.041Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T11:02:37.133Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:37.446Z] ---> job-cost.sh [2023-04-18T11:02:37.446Z] lf-activate-venv: SKIPPING [2023-04-18T11:02:37.446Z] DEBUG: total: 0.2199999988079071 [2023-04-18T11:02:37.446Z] INFO: Retrieving Stack Cost... [2023-04-18T11:02:37.706Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T11:02:38.274Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T11:02:38.311Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:02:38.624Z] ---> logs-deploy.sh [2023-04-18T11:02:38.624Z] lf-activate-venv: SKIPPING [2023-04-18T11:02:38.624Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-288/1 [2023-04-18T11:02:38.624Z] INFO: archiving workspace using pattern(s): [2023-04-18T11:02:39.562Z] Archives upload complete. [2023-04-18T11:02:39.562Z] INFO: archiving logs to Nexus