Pull request #201 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3+073f6628e4882ecd405eac7767f08140f08a9e58 (f01d086d04ecf71442ea4738fe94c8b433eeb91f) 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-ssh16476056146477890749.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15843178509966464872.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-201/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-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10760586105391962913.key Verifying host key using known hosts file > 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-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12979657571264328525.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11446864726932893976.key Verifying host key using known hosts file > 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-201/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-201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14039053837645670934.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118013 in /w/workspace/gexfoundry_device-snmp-go_PR-201 [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-201 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 073f6628e4882ecd405eac7767f08140f08a9e58 into PR head commit c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 Merge succeeded, producing c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 Checking out Revision c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 (PR-201) > git config core.sparsecheckout # timeout=10 > git checkout -f c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 073f6628e4882ecd405eac7767f08140f08a9e58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 # timeout=10 Commit message: "docs: Levski Change Log" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-02T23:38:41.280Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T23:38:41.463Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T23:38:41.568Z] ========================================================= [2022-11-02T23:38:41.568Z] EdgeX Global Pipelines Version Info [2022-11-02T23:38:41.568Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:38:42.331Z] ------------------- [2022-11-02T23:38:42.331Z] stable info: [2022-11-02T23:38:42.331Z] ------------------- [2022-11-02T23:38:42.331Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T23:38:42.331Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-02T23:38:42.331Z] Message: update stable to v1.0.244 [2022-11-02T23:38:42.904Z] ------------------- [2022-11-02T23:38:42.904Z] experimental info: [2022-11-02T23:38:42.904Z] ------------------- [2022-11-02T23:38:42.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T23:38:42.904Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-02T23:38:42.904Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T23:38:43.299Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-11-02T23:38:43.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-11-02T23:38:43.388Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T23:38:43.429Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T23:38:43.476Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T23:38:43.516Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T23:38:43.556Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T23:38:43.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-02T23:38:43.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T23:38:43.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T23:38:43.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T23:38:43.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-11-02T23:38:43.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T23:38:43.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T23:38:43.879Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T23:38:43.920Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T23:38:43.965Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T23:38:44.008Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T23:38:44.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T23:38:44.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T23:38:44.153Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-02T23:38:44.196Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-02T23:38:44.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T23:38:44.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T23:38:44.328Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T23:38:44.378Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T23:38:44.423Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T23:38:44.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-201 [Pipeline] echo [2022-11-02T23:38:44.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-201 [Pipeline] echo [2022-11-02T23:38:44.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-201 [Pipeline] echo [2022-11-02T23:38:44.608Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [Pipeline] echo [2022-11-02T23:38:44.649Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c473c96 [Pipeline] echo [2022-11-02T23:38:44.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T23:38:44.819Z] provisioning config files... [2022-11-02T23:38:44.835Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/config7330423123823024958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:38:45.180Z] ---> docker-login.sh [2022-11-02T23:38:45.180Z] nexus3.edgexfoundry.org:10001 [2022-11-02T23:38:45.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:38:45.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:38:45.439Z] Configure a credential helper to remove this warning. See [2022-11-02T23:38:45.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:38:45.439Z] [2022-11-02T23:38:45.439Z] Login Succeeded [2022-11-02T23:38:45.439Z] nexus3.edgexfoundry.org:10002 [2022-11-02T23:38:45.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:38:45.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:38:45.698Z] Configure a credential helper to remove this warning. See [2022-11-02T23:38:45.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:38:45.698Z] [2022-11-02T23:38:45.698Z] Login Succeeded [2022-11-02T23:38:45.698Z] nexus3.edgexfoundry.org:10003 [2022-11-02T23:38:45.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:38:45.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:38:45.698Z] Configure a credential helper to remove this warning. See [2022-11-02T23:38:45.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:38:45.698Z] [2022-11-02T23:38:45.698Z] Login Succeeded [2022-11-02T23:38:45.698Z] nexus3.edgexfoundry.org:10004 [2022-11-02T23:38:45.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:38:45.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:38:45.698Z] Configure a credential helper to remove this warning. See [2022-11-02T23:38:45.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:38:45.698Z] [2022-11-02T23:38:45.698Z] Login Succeeded [2022-11-02T23:38:45.698Z] docker.io [2022-11-02T23:38:45.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:38:46.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:38:46.218Z] Configure a credential helper to remove this warning. See [2022-11-02T23:38:46.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:38:46.218Z] [2022-11-02T23:38:46.218Z] Login Succeeded [2022-11-02T23:38:46.218Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T23:38:46.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T23:38:46.874Z] + git rev-list -1 --merges c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3~1..c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [Pipeline] echo [2022-11-02T23:38:46.918Z] -----------> git rev-list -1 --merges c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3~1..c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [false] [Pipeline] sh [2022-11-02T23:38:47.226Z] + git log --format=format:%s -1 c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [Pipeline] echo [2022-11-02T23:38:47.260Z] ========================================================= [2022-11-02T23:38:47.260Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T23:38:47.260Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T23:38:47.700Z] + git log --format=format:%s -1 c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [Pipeline] echo [2022-11-02T23:38:47.733Z] [semverPrep] GIT_COMMIT: c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3, Commit Message: docs: Levski Change Log [Pipeline] echo [2022-11-02T23:38:47.764Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T23:38:48.242Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T23:38:48.242Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T23:38:48.242Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T23:38:48.242Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T23:38:48.242Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-02T23:38:48.242Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T23:38:48.242Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:38:48.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T23:38:48.688Z] [2022-11-02T23:38:48.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:38:49.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T23:38:49.069Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T23:38:49.069Z] b85a868b505f: Pulling fs layer [2022-11-02T23:38:49.069Z] e2be974225ed: Pulling fs layer [2022-11-02T23:38:49.069Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T23:38:49.069Z] 988bab9f4d93: Pulling fs layer [2022-11-02T23:38:49.069Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T23:38:49.069Z] 988bab9f4d93: Waiting [2022-11-02T23:38:49.069Z] 1469e6f7b9e6: Waiting [2022-11-02T23:38:49.069Z] eaf3925da568: Pulling fs layer [2022-11-02T23:38:49.069Z] bab4dde63d76: Pulling fs layer [2022-11-02T23:38:49.069Z] bde34c3a00c8: Pulling fs layer [2022-11-02T23:38:49.069Z] b352a97aabf1: Pulling fs layer [2022-11-02T23:38:49.069Z] 4872d77fe225: Pulling fs layer [2022-11-02T23:38:49.069Z] 5851b861e8e6: Pulling fs layer [2022-11-02T23:38:49.069Z] eaf3925da568: Waiting [2022-11-02T23:38:49.069Z] bab4dde63d76: Waiting [2022-11-02T23:38:49.069Z] 4872d77fe225: Waiting [2022-11-02T23:38:49.069Z] 5851b861e8e6: Waiting [2022-11-02T23:38:49.069Z] bde34c3a00c8: Waiting [2022-11-02T23:38:49.069Z] b352a97aabf1: Waiting [2022-11-02T23:38:49.069Z] e2be974225ed: Verifying Checksum [2022-11-02T23:38:49.069Z] e2be974225ed: Download complete [2022-11-02T23:38:49.069Z] 988bab9f4d93: Download complete [2022-11-02T23:38:49.341Z] 1469e6f7b9e6: Verifying Checksum [2022-11-02T23:38:49.341Z] 1469e6f7b9e6: Download complete [2022-11-02T23:38:49.341Z] 339a4e72a1f5: Verifying Checksum [2022-11-02T23:38:49.341Z] 339a4e72a1f5: Download complete [2022-11-02T23:38:49.341Z] eaf3925da568: Verifying Checksum [2022-11-02T23:38:49.341Z] eaf3925da568: Download complete [2022-11-02T23:38:49.341Z] bde34c3a00c8: Download complete [2022-11-02T23:38:49.341Z] b352a97aabf1: Verifying Checksum [2022-11-02T23:38:49.341Z] b352a97aabf1: Download complete [2022-11-02T23:38:49.341Z] 4872d77fe225: Verifying Checksum [2022-11-02T23:38:49.341Z] 4872d77fe225: Download complete [2022-11-02T23:38:49.341Z] 5851b861e8e6: Download complete [2022-11-02T23:38:49.341Z] b85a868b505f: Verifying Checksum [2022-11-02T23:38:49.341Z] b85a868b505f: Download complete [2022-11-02T23:38:49.601Z] bab4dde63d76: Verifying Checksum [2022-11-02T23:38:49.601Z] bab4dde63d76: Download complete [2022-11-02T23:38:50.536Z] b85a868b505f: Pull complete [2022-11-02T23:38:50.794Z] e2be974225ed: Pull complete [2022-11-02T23:38:51.362Z] 339a4e72a1f5: Pull complete [2022-11-02T23:38:51.362Z] 988bab9f4d93: Pull complete [2022-11-02T23:38:51.622Z] 1469e6f7b9e6: Pull complete [2022-11-02T23:38:51.622Z] eaf3925da568: Pull complete [2022-11-02T23:38:53.540Z] bab4dde63d76: Pull complete [2022-11-02T23:38:53.540Z] bde34c3a00c8: Pull complete [2022-11-02T23:38:53.814Z] b352a97aabf1: Pull complete [2022-11-02T23:38:53.814Z] 4872d77fe225: Pull complete [2022-11-02T23:38:53.814Z] 5851b861e8e6: Pull complete [2022-11-02T23:38:53.814Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T23:38:53.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T23:38:53.814Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:38:54.078Z] prd-ubuntu20.04-docker-8c-8g-118013 does not seem to be running inside a container [2022-11-02T23:38:54.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-201 -v /w/workspace/gexfoundry_device-snmp-go_PR-201:/w/workspace/gexfoundry_device-snmp-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-201@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-02T23:38:55.603Z] $ docker top 1eb6c369433d373c44c63bea9892e45ed8c50681e18c611f805ec3cec2110705 -eo pid,comm [2022-11-02T23:38:55.658Z] 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). [2022-11-02T23:38:55.658Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T23:38:55.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T23:38:55.786Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T23:38:55.900Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T23:38:55.904Z] $ docker exec 1eb6c369433d373c44c63bea9892e45ed8c50681e18c611f805ec3cec2110705 ssh-agent [2022-11-02T23:38:56.016Z] SSH_AUTH_SOCK=/tmp/ssh-6UnBWfS85eZ3/agent.32 [2022-11-02T23:38:56.016Z] SSH_AGENT_PID=38 [2022-11-02T23:38:56.022Z] Running ssh-add (command line suppressed) [2022-11-02T23:38:56.139Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/private_key_13319783547621263315.key (/w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/private_key_13319783547621263315.key) [2022-11-02T23:38:56.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T23:38:56.482Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T23:38:56.509Z] $ docker exec --env ******** --env ******** 1eb6c369433d373c44c63bea9892e45ed8c50681e18c611f805ec3cec2110705 ssh-agent -k [2022-11-02T23:38:56.602Z] unset SSH_AUTH_SOCK; [2022-11-02T23:38:56.602Z] unset SSH_AGENT_PID; [2022-11-02T23:38:56.602Z] echo Agent pid 38 killed; [2022-11-02T23:38:56.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T23:38:56.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T23:38:56.708Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T23:38:56.823Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T23:38:56.827Z] $ docker exec 1eb6c369433d373c44c63bea9892e45ed8c50681e18c611f805ec3cec2110705 ssh-agent [2022-11-02T23:38:56.937Z] SSH_AUTH_SOCK=/tmp/ssh-RkeLe7N7oT3V/agent.70 [2022-11-02T23:38:56.937Z] SSH_AGENT_PID=76 [2022-11-02T23:38:56.941Z] Running ssh-add (command line suppressed) [2022-11-02T23:38:57.035Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/private_key_6038736269575999165.key (/w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/private_key_6038736269575999165.key) [2022-11-02T23:38:57.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T23:38:57.377Z] + git semver init [2022-11-02T23:38:57.637Z] 2022-11-02 23:38:57,580 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T23:38:57.637Z] 2022-11-02 23:38:57,581 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-201/.semver [2022-11-02T23:38:57.637Z] 2022-11-02 23:38:57,581 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-201/.semver [2022-11-02T23:38:57.637Z] 2022-11-02 23:38:57,581 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-201/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-201, universal_newlines=False, shell=None, istream=None) [2022-11-02T23:38:58.574Z] 2022-11-02 23:38:58,569 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-201/.git/info/exclude [2022-11-02T23:38:58.574Z] 2022-11-02 23:38:58,570 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-201/.semver/PR-201 with force:False [2022-11-02T23:38:58.574Z] 2022-11-02 23:38:58,570 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-201/.semver/PR-201 [2022-11-02T23:38:58.574Z] 2022-11-02 23:38:58,575 [execute] INFO git cat-file --batch-check [2022-11-02T23:38:58.831Z] 2022-11-02 23:38:58,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-201/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T23:38:58.831Z] 2022-11-02 23:38:58,581 [execute] INFO git cat-file --batch [2022-11-02T23:38:58.831Z] 2022-11-02 23:38:58,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-201/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T23:38:58.831Z] 2022-11-02 23:38:58,587 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-201/.semver/PR-201 [2022-11-02T23:38:58.831Z] 0.0.0 [Pipeline] } [2022-11-02T23:38:58.858Z] $ docker exec --env ******** --env ******** 1eb6c369433d373c44c63bea9892e45ed8c50681e18c611f805ec3cec2110705 ssh-agent -k [2022-11-02T23:38:58.965Z] unset SSH_AUTH_SOCK; [2022-11-02T23:38:58.965Z] unset SSH_AGENT_PID; [2022-11-02T23:38:58.965Z] echo Agent pid 76 killed; [2022-11-02T23:38:58.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T23:38:59.405Z] + git semver [Pipeline] } [2022-11-02T23:38:59.690Z] $ docker stop --time=1 1eb6c369433d373c44c63bea9892e45ed8c50681e18c611f805ec3cec2110705 [2022-11-02T23:39:01.002Z] $ docker rm -f 1eb6c369433d373c44c63bea9892e45ed8c50681e18c611f805ec3cec2110705 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T23:39:01.401Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T23:39:01.656Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T23:39:01.675Z] [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 [2022-11-02T23:39:02.304Z] provisioning config files... [2022-11-02T23:39:02.315Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/config8217289692159807019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:39:02.668Z] ---> docker-login.sh [2022-11-02T23:39:02.668Z] nexus3.edgexfoundry.org:10001 [2022-11-02T23:39:02.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:39:02.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:39:02.668Z] Configure a credential helper to remove this warning. See [2022-11-02T23:39:02.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:39:02.668Z] [2022-11-02T23:39:02.668Z] Login Succeeded [2022-11-02T23:39:02.668Z] nexus3.edgexfoundry.org:10002 [2022-11-02T23:39:02.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:39:02.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:39:02.668Z] Configure a credential helper to remove this warning. See [2022-11-02T23:39:02.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:39:02.668Z] [2022-11-02T23:39:02.668Z] Login Succeeded [2022-11-02T23:39:02.668Z] nexus3.edgexfoundry.org:10003 [2022-11-02T23:39:02.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:39:02.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:39:02.927Z] Configure a credential helper to remove this warning. See [2022-11-02T23:39:02.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:39:02.927Z] [2022-11-02T23:39:02.927Z] Login Succeeded [2022-11-02T23:39:02.927Z] nexus3.edgexfoundry.org:10004 [2022-11-02T23:39:02.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:39:02.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:39:02.927Z] Configure a credential helper to remove this warning. See [2022-11-02T23:39:02.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:39:02.927Z] [2022-11-02T23:39:02.927Z] Login Succeeded [2022-11-02T23:39:02.927Z] docker.io [2022-11-02T23:39:03.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:39:03.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:39:03.460Z] Configure a credential helper to remove this warning. See [2022-11-02T23:39:03.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:39:03.460Z] [2022-11-02T23:39:03.460Z] Login Succeeded [2022-11-02T23:39:03.460Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T23:39:03.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T23:39:03.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T23:39:03.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T23:39:03.786Z] ========================================================= [2022-11-02T23:39:03.786Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T23:39:03.786Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:39:04.265Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T23:39:04.265Z] Sending build context to Docker daemon 5.555MB [2022-11-02T23:39:04.265Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T23:39:04.265Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T23:39:04.265Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T23:39:04.265Z] 213ec9aee27d: Pulling fs layer [2022-11-02T23:39:04.265Z] 4583459ba037: Pulling fs layer [2022-11-02T23:39:04.265Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T23:39:04.265Z] 53926ce57604: Pulling fs layer [2022-11-02T23:39:04.265Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T23:39:04.265Z] 22ff95d597cd: Pulling fs layer [2022-11-02T23:39:04.265Z] 12d6caf4c0d1: Pulling fs layer [2022-11-02T23:39:04.265Z] 96b7cbca73a9: Pulling fs layer [2022-11-02T23:39:04.265Z] a7acece74701: Pulling fs layer [2022-11-02T23:39:04.265Z] 53926ce57604: Waiting [2022-11-02T23:39:04.265Z] 21b2b0c7a3f4: Waiting [2022-11-02T23:39:04.265Z] 22ff95d597cd: Waiting [2022-11-02T23:39:04.265Z] 96b7cbca73a9: Waiting [2022-11-02T23:39:04.265Z] 12d6caf4c0d1: Waiting [2022-11-02T23:39:04.265Z] a7acece74701: Waiting [2022-11-02T23:39:04.265Z] 93c1e223e6f2: Download complete [2022-11-02T23:39:04.265Z] 4583459ba037: Verifying Checksum [2022-11-02T23:39:04.265Z] 4583459ba037: Download complete [2022-11-02T23:39:04.265Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T23:39:04.265Z] 21b2b0c7a3f4: Download complete [2022-11-02T23:39:04.530Z] 22ff95d597cd: Verifying Checksum [2022-11-02T23:39:04.530Z] 22ff95d597cd: Download complete [2022-11-02T23:39:04.530Z] 213ec9aee27d: Verifying Checksum [2022-11-02T23:39:04.530Z] 213ec9aee27d: Download complete [2022-11-02T23:39:04.530Z] 12d6caf4c0d1: Verifying Checksum [2022-11-02T23:39:04.530Z] 12d6caf4c0d1: Download complete [2022-11-02T23:39:04.530Z] 213ec9aee27d: Pull complete [2022-11-02T23:39:04.803Z] 4583459ba037: Pull complete [2022-11-02T23:39:04.803Z] 93c1e223e6f2: Pull complete [2022-11-02T23:39:05.066Z] a7acece74701: Verifying Checksum [2022-11-02T23:39:05.066Z] a7acece74701: Download complete [2022-11-02T23:39:05.066Z] 96b7cbca73a9: Verifying Checksum [2022-11-02T23:39:05.066Z] 96b7cbca73a9: Download complete [2022-11-02T23:39:05.323Z] 53926ce57604: Verifying Checksum [2022-11-02T23:39:05.323Z] 53926ce57604: Download complete [2022-11-02T23:39:09.508Z] 53926ce57604: Pull complete [2022-11-02T23:39:09.508Z] 21b2b0c7a3f4: Pull complete [2022-11-02T23:39:09.508Z] 22ff95d597cd: Pull complete [2022-11-02T23:39:09.508Z] 12d6caf4c0d1: Pull complete [2022-11-02T23:39:11.404Z] 96b7cbca73a9: Pull complete [2022-11-02T23:39:12.360Z] a7acece74701: Pull complete [2022-11-02T23:39:12.360Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-02T23:39:12.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T23:39:12.360Z] ---> db6d94c90886 [2022-11-02T23:39:12.360Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T23:39:13.898Z] ---> Running in 6027426ddf05 [2022-11-02T23:39:14.174Z] Removing intermediate container 6027426ddf05 [2022-11-02T23:39:14.174Z] ---> 217d1bdfa64a [2022-11-02T23:39:14.174Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T23:39:14.174Z] ---> Running in f6a02e2fd6a7 [2022-11-02T23:39:14.174Z] Removing intermediate container f6a02e2fd6a7 [2022-11-02T23:39:14.174Z] ---> 4b8d14dac77d [2022-11-02T23:39:14.174Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T23:39:14.433Z] ---> Running in 3cd129d5c07f [2022-11-02T23:39:14.433Z] Removing intermediate container 3cd129d5c07f [2022-11-02T23:39:14.433Z] ---> ebce923ab38f [2022-11-02T23:39:14.433Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T23:39:14.433Z] ---> Running in a64bf1125d9d [2022-11-02T23:39:14.692Z] Removing intermediate container a64bf1125d9d [2022-11-02T23:39:14.692Z] ---> f4df7a81b55b [2022-11-02T23:39:14.692Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T23:39:14.692Z] ---> Running in 907c81760fb1 [2022-11-02T23:39:14.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T23:39:14.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T23:39:15.210Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T23:39:15.210Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T23:39:15.210Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T23:39:15.210Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T23:39:15.210Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T23:39:15.210Z] OK: 216 MiB in 55 packages [2022-11-02T23:39:15.782Z] Removing intermediate container 907c81760fb1 [2022-11-02T23:39:15.782Z] ---> 1f630e184c1e [2022-11-02T23:39:15.782Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-02T23:39:15.782Z] ---> Running in 6677a9fc1101 [2022-11-02T23:39:15.782Z] Removing intermediate container 6677a9fc1101 [2022-11-02T23:39:15.782Z] ---> e6a59b9bcdec [2022-11-02T23:39:15.782Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-02T23:39:16.040Z] ---> 010212cbcd31 [2022-11-02T23:39:16.040Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T23:39:16.040Z] ---> Running in e6aace0898d6 [2022-11-02T23:39:17.108Z] Still waiting to schedule task [2022-11-02T23:39:17.108Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-02T23:39:38.096Z] Removing intermediate container e6aace0898d6 [2022-11-02T23:39:38.097Z] ---> 2efd706fd331 [2022-11-02T23:39:38.097Z] Step 11/12 : COPY . . [2022-11-02T23:39:38.097Z] ---> ffd74cc9fa49 [2022-11-02T23:39:38.097Z] Step 12/12 : RUN ${MAKE} [2022-11-02T23:39:38.097Z] ---> Running in cde0cba91ef0 [2022-11-02T23:39:38.097Z] noop [2022-11-02T23:39:38.097Z] Removing intermediate container cde0cba91ef0 [2022-11-02T23:39:38.097Z] ---> c69913db0ab2 [2022-11-02T23:39:38.097Z] Successfully built c69913db0ab2 [2022-11-02T23:39:38.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:39:38.545Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T23:39:38.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:39:38.695Z] prd-ubuntu20.04-docker-8c-8g-118013 does not seem to be running inside a container [2022-11-02T23:39:38.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-201 -v /w/workspace/gexfoundry_device-snmp-go_PR-201:/w/workspace/gexfoundry_device-snmp-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-201@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-201@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-x86_64 cat [2022-11-02T23:39:39.091Z] $ docker top c229cd46aa13292fe8066c33d8a8ec8a6b29ec7a312095ea3c86453d24dbd9b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T23:39:39.498Z] + go version [2022-11-02T23:39:39.498Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T23:39:39.533Z] $ docker stop --time=1 c229cd46aa13292fe8066c33d8a8ec8a6b29ec7a312095ea3c86453d24dbd9b3 [2022-11-02T23:39:40.797Z] $ docker rm -f c229cd46aa13292fe8066c33d8a8ec8a6b29ec7a312095ea3c86453d24dbd9b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:39:41.678Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T23:39:41.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:39:41.827Z] prd-ubuntu20.04-docker-8c-8g-118013 does not seem to be running inside a container [2022-11-02T23:39:41.862Z] $ 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-201 -v /w/workspace/gexfoundry_device-snmp-go_PR-201:/w/workspace/gexfoundry_device-snmp-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-201@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-201@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-x86_64 cat [2022-11-02T23:39:42.186Z] $ docker top 3952aab42b06a64d21610345d04dc28aae1aa0ce90e2e6f30c9f190d9bd5179f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T23:39:42.581Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-201 [Pipeline] fileExists [Pipeline] sh [2022-11-02T23:39:42.945Z] + make test [2022-11-02T23:39:42.945Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-02T23:39:43.511Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-02T23:39:53.480Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-02T23:39:53.480Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-11-02T23:39:58.745Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-02T23:39:58.745Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T23:40:02.031Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T23:40:02.031Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T23:40:02.291Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-02T23:40:02.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T23:40:02.370Z] $ docker stop --time=1 3952aab42b06a64d21610345d04dc28aae1aa0ce90e2e6f30c9f190d9bd5179f [2022-11-02T23:40:05.160Z] $ docker rm -f 3952aab42b06a64d21610345d04dc28aae1aa0ce90e2e6f30c9f190d9bd5179f [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T23:40:05.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T23:40:05.745Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T23:40:06.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T23:40:06.992Z] + ls -al . [2022-11-02T23:40:06.992Z] total 184 [2022-11-02T23:40:06.992Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 23:39 . [2022-11-02T23:40:06.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:38 .. [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 2 23:38 .dockerignore [2022-11-02T23:40:06.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 23:39 .git [2022-11-02T23:40:06.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:38 .github [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 2 23:38 .gitignore [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 23:38 .golangci.yml [2022-11-02T23:40:06.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 23:38 .semver [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 2 23:38 Attribution.txt [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 2 23:38 CHANGELOG.md [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 2 23:38 Dockerfile [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 23:38 GOVERNANCE.md [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 2 23:38 Jenkinsfile [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 23:38 LICENSE [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 2 23:38 Makefile [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 23:38 OWNERS.md [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 2 23:38 README.md [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 23:39 VERSION [2022-11-02T23:40:06.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:38 bin [2022-11-02T23:40:06.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:38 cmd [2022-11-02T23:40:06.992Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 2 23:39 coverage.out [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 3462 Nov 2 23:38 go.mod [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 45069 Nov 2 23:38 go.sum [2022-11-02T23:40:06.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:38 internal [2022-11-02T23:40:06.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:38 snap [2022-11-02T23:40:06.992Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 2 23:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:40:07.391Z] + 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=c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 --label arch=amd64 --label version=0.0.0 . [2022-11-02T23:40:07.391Z] Sending build context to Docker daemon 5.563MB [2022-11-02T23:40:07.391Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T23:40:07.391Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-02T23:40:07.391Z] ---> c69913db0ab2 [2022-11-02T23:40:07.391Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-02T23:40:07.653Z] ---> Running in 3396424c3fe3 [2022-11-02T23:40:07.653Z] Removing intermediate container 3396424c3fe3 [2022-11-02T23:40:07.653Z] ---> 8640a46aad3a [2022-11-02T23:40:07.653Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T23:40:07.653Z] ---> Running in 2240775a43a8 [2022-11-02T23:40:07.919Z] Removing intermediate container 2240775a43a8 [2022-11-02T23:40:07.919Z] ---> 12decf8c2597 [2022-11-02T23:40:07.919Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T23:40:07.919Z] ---> Running in c2e1fb7b71c3 [2022-11-02T23:40:07.919Z] Removing intermediate container c2e1fb7b71c3 [2022-11-02T23:40:07.919Z] ---> 143bc1edac0c [2022-11-02T23:40:07.919Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T23:40:07.919Z] ---> Running in 3f273e6b9425 [2022-11-02T23:40:08.178Z] Removing intermediate container 3f273e6b9425 [2022-11-02T23:40:08.178Z] ---> 2f9ec8a56c82 [2022-11-02T23:40:08.179Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T23:40:08.179Z] ---> Running in 1ff75f2baaf4 [2022-11-02T23:40:08.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T23:40:08.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T23:40:08.706Z] OK: 216 MiB in 55 packages [2022-11-02T23:40:08.973Z] Removing intermediate container 1ff75f2baaf4 [2022-11-02T23:40:08.973Z] ---> 73a2b57faa3f [2022-11-02T23:40:08.973Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-02T23:40:08.973Z] ---> Running in b1042520fe28 [2022-11-02T23:40:09.242Z] Removing intermediate container b1042520fe28 [2022-11-02T23:40:09.242Z] ---> 4ba1cf00bbc0 [2022-11-02T23:40:09.242Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-02T23:40:09.242Z] ---> 7449cb995eed [2022-11-02T23:40:09.242Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T23:40:09.242Z] ---> Running in 43ddfdb23f97 [2022-11-02T23:40:09.811Z] Removing intermediate container 43ddfdb23f97 [2022-11-02T23:40:09.811Z] ---> 6dacfda8dfed [2022-11-02T23:40:09.811Z] Step 11/24 : COPY . . [2022-11-02T23:40:10.383Z] ---> e3b214b6524d [2022-11-02T23:40:10.383Z] Step 12/24 : RUN ${MAKE} [2022-11-02T23:40:10.383Z] ---> Running in 5afff87b40a2 [2022-11-02T23:40:10.952Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-02T23:40:32.859Z] Removing intermediate container 5afff87b40a2 [2022-11-02T23:40:32.859Z] ---> d29a6b2bab7e [2022-11-02T23:40:32.859Z] Step 13/24 : FROM alpine:3.16 [2022-11-02T23:40:32.859Z] 3.16: Pulling from library/alpine [2022-11-02T23:40:32.859Z] 213ec9aee27d: Already exists [2022-11-02T23:40:32.859Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T23:40:32.859Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T23:40:32.859Z] ---> 9c6f07244728 [2022-11-02T23:40:32.859Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-02T23:40:32.859Z] ---> Running in b8afed19fe40 [2022-11-02T23:40:32.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T23:40:32.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T23:40:32.860Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-02T23:40:32.860Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T23:40:32.860Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-02T23:40:32.860Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T23:40:32.860Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-02T23:40:33.154Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-02T23:40:33.154Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T23:40:33.154Z] OK: 8 MiB in 20 packages [2022-11-02T23:40:33.413Z] Removing intermediate container b8afed19fe40 [2022-11-02T23:40:33.413Z] ---> ef5e3c795a24 [2022-11-02T23:40:33.413Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-02T23:40:34.345Z] ---> a50f5993b80f [2022-11-02T23:40:34.345Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-02T23:40:34.345Z] ---> 5c4dc47b242f [2022-11-02T23:40:34.345Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-02T23:40:34.602Z] ---> 56c61fc2cd39 [2022-11-02T23:40:34.602Z] Step 18/24 : EXPOSE 59993 [2022-11-02T23:40:34.602Z] ---> Running in a028e48d9e96 [2022-11-02T23:40:34.602Z] Removing intermediate container a028e48d9e96 [2022-11-02T23:40:34.602Z] ---> fb4125a694d7 [2022-11-02T23:40:34.602Z] Step 19/24 : EXPOSE 161 [2022-11-02T23:40:34.602Z] ---> Running in a5afbfcfeee1 [2022-11-02T23:40:34.861Z] Removing intermediate container a5afbfcfeee1 [2022-11-02T23:40:34.861Z] ---> bf9f332eb8e3 [2022-11-02T23:40:34.861Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-02T23:40:34.861Z] ---> Running in b9e81a220ec8 [2022-11-02T23:40:34.861Z] Removing intermediate container b9e81a220ec8 [2022-11-02T23:40:34.861Z] ---> 231097534412 [2022-11-02T23:40:34.861Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-02T23:40:34.861Z] ---> Running in 6626a06a350f [2022-11-02T23:40:34.861Z] Removing intermediate container 6626a06a350f [2022-11-02T23:40:34.861Z] ---> 48d80c20e264 [2022-11-02T23:40:34.861Z] Step 22/24 : LABEL arch=amd64 [2022-11-02T23:40:34.861Z] ---> Running in 96b50a57d80c [2022-11-02T23:40:35.125Z] Removing intermediate container 96b50a57d80c [2022-11-02T23:40:35.125Z] ---> 5d44aff3b974 [2022-11-02T23:40:35.125Z] Step 23/24 : LABEL git_sha=c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [2022-11-02T23:40:35.125Z] ---> Running in 1844f0494f9c [2022-11-02T23:40:35.125Z] Removing intermediate container 1844f0494f9c [2022-11-02T23:40:35.125Z] ---> f4fcfdd74ca8 [2022-11-02T23:40:35.125Z] Step 24/24 : LABEL version=0.0.0 [2022-11-02T23:40:35.125Z] ---> Running in 34d15a2ce8ec [2022-11-02T23:40:35.382Z] Removing intermediate container 34d15a2ce8ec [2022-11-02T23:40:35.382Z] ---> 3468ed8ea072 [2022-11-02T23:40:35.382Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T23:40:35.382Z] Successfully built 3468ed8ea072 [2022-11-02T23:40:35.382Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:40:36.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T23:40:36.333Z] [2022-11-02T23:40:36.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:40:36.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T23:40:36.706Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T23:40:36.706Z] 5eb5b503b376: Pulling fs layer [2022-11-02T23:40:36.706Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T23:40:36.706Z] ec43610c2a17: Pulling fs layer [2022-11-02T23:40:36.706Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T23:40:36.706Z] 33b1e0a273af: Pulling fs layer [2022-11-02T23:40:36.706Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T23:40:36.706Z] 2f39f015ded8: Pulling fs layer [2022-11-02T23:40:36.706Z] 33b1e0a273af: Waiting [2022-11-02T23:40:36.706Z] 5d3b04190fa2: Waiting [2022-11-02T23:40:36.706Z] 2f39f015ded8: Waiting [2022-11-02T23:40:36.706Z] 3a2ae6a8a46f: Waiting [2022-11-02T23:40:36.706Z] 5c69ac0246d0: Verifying Checksum [2022-11-02T23:40:36.706Z] 5c69ac0246d0: Download complete [2022-11-02T23:40:36.706Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-02T23:40:36.706Z] 3a2ae6a8a46f: Download complete [2022-11-02T23:40:36.971Z] ec43610c2a17: Verifying Checksum [2022-11-02T23:40:36.971Z] 33b1e0a273af: Verifying Checksum [2022-11-02T23:40:36.971Z] 33b1e0a273af: Download complete [2022-11-02T23:40:36.971Z] ec43610c2a17: Download complete [2022-11-02T23:40:36.971Z] 5d3b04190fa2: Download complete [2022-11-02T23:40:36.971Z] 5eb5b503b376: Verifying Checksum [2022-11-02T23:40:36.971Z] 5eb5b503b376: Download complete [2022-11-02T23:40:37.535Z] 2f39f015ded8: Download complete [2022-11-02T23:40:38.105Z] 5eb5b503b376: Pull complete [2022-11-02T23:40:38.362Z] 5c69ac0246d0: Pull complete [2022-11-02T23:40:38.934Z] ec43610c2a17: Pull complete [2022-11-02T23:40:38.934Z] 3a2ae6a8a46f: Pull complete [2022-11-02T23:40:39.193Z] 33b1e0a273af: Pull complete [2022-11-02T23:40:39.193Z] 5d3b04190fa2: Pull complete [2022-11-02T23:40:43.367Z] 2f39f015ded8: Pull complete [2022-11-02T23:40:43.367Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T23:40:43.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T23:40:43.367Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:40:43.576Z] prd-ubuntu20.04-docker-8c-8g-118013 does not seem to be running inside a container [2022-11-02T23:40:43.638Z] $ 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-201 -v /w/workspace/gexfoundry_device-snmp-go_PR-201:/w/workspace/gexfoundry_device-snmp-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-201@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-201@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:latest cat [2022-11-02T23:40:46.721Z] $ docker top e83f2418cf79ba989a72fc59b1c639cd02e9997ad487eb497e8171511831846e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:40:47.179Z] ---> job-cost.sh [2022-11-02T23:40:47.179Z] lf-activate-venv: SKIPPING [2022-11-02T23:40:47.179Z] INFO: No Stack... [2022-11-02T23:40:47.745Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T23:40:48.005Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T23:40:48.317Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-201/archives/cost.csv [2022-11-02T23:40:48.317Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T23:40:48.359Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] [2022-11-02T23:40:48.364Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] did not exist. Created. [2022-11-02T23:40:48.364Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T23:40:48.747Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T23:40:48.801Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T23:40:48.828Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T23:40:48.908Z] $ docker stop --time=1 e83f2418cf79ba989a72fc59b1c639cd02e9997ad487eb497e8171511831846e [2022-11-02T23:40:50.059Z] $ docker rm -f e83f2418cf79ba989a72fc59b1c639cd02e9997ad487eb497e8171511831846e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T23:43:22.850Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118014 in /w/workspace/gexfoundry_device-snmp-go_PR-201 [Pipeline] { [Pipeline] ws [2022-11-02T23:43:22.900Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-11-02T23:43:22.988Z] Selected Git installation does not exist. Using Default [2022-11-02T23:43:22.988Z] The recommended git tool is: NONE [2022-11-02T23:43:29.397Z] using credential edgex-jenkins-ssh [2022-11-02T23:43:29.418Z] Cloning the remote Git repository [2022-11-02T23:43:29.483Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-11-02T23:43:29.565Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-11-02T23:43:29.737Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-02T23:43:29.738Z] > git --version # timeout=10 [2022-11-02T23:43:29.768Z] > git --version # 'git version 2.25.1' [2022-11-02T23:43:29.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T23:43:29.835Z] Verifying host key using known hosts file [2022-11-02T23:43:30.095Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T23:43:30.109Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T23:43:31.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-02T23:43:31.316Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T23:43:33.100Z] Merging remotes/origin/main commit 073f6628e4882ecd405eac7767f08140f08a9e58 into PR head commit c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [2022-11-02T23:43:33.358Z] Merge succeeded, producing c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [2022-11-02T23:43:33.359Z] Checking out Revision c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 (PR-201) [2022-11-02T23:43:32.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-02T23:43:32.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-02T23:43:32.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T23:43:32.454Z] Verifying host key using known hosts file [2022-11-02T23:43:32.461Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T23:43:32.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T23:43:33.125Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T23:43:33.145Z] > git checkout -f c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 # timeout=10 [2022-11-02T23:43:33.246Z] > git remote # timeout=10 [2022-11-02T23:43:33.266Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T23:43:33.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T23:43:33.296Z] Verifying host key using known hosts file [2022-11-02T23:43:33.300Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T23:43:33.311Z] > git merge 073f6628e4882ecd405eac7767f08140f08a9e58 # timeout=10 [2022-11-02T23:43:33.340Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T23:43:33.370Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T23:43:33.387Z] > git checkout -f c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 # timeout=10 [2022-11-02T23:43:37.004Z] Commit message: "docs: Levski Change Log" [2022-11-02T23:43:37.071Z] > git --version # timeout=10 [2022-11-02T23:43:37.084Z] > git --version # 'git version 2.25.1' [2022-11-02T23:43:37.112Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T23:43:38.286Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T23:43:38.286Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T23:43:38.286Z] Dload Upload Total Spent Left Speed [2022-11-02T23:43:38.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 87513 [Pipeline] sh [2022-11-02T23:43:39.142Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-02T23:43:39.522Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T23:43:39.522Z] + sudo tee /etc/docker/daemon.new [2022-11-02T23:43:39.522Z] { [2022-11-02T23:43:39.522Z] "registry-mirrors": [ [2022-11-02T23:43:39.522Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T23:43:39.522Z] ], [2022-11-02T23:43:39.522Z] "bip": "10.250.0.254/24", [2022-11-02T23:43:39.522Z] "hosts": [ [2022-11-02T23:43:39.523Z] "tcp://0.0.0.0:5555", [2022-11-02T23:43:39.523Z] "unix:///var/run/docker.sock" [2022-11-02T23:43:39.523Z] ], [2022-11-02T23:43:39.523Z] "mtu": 1458, [2022-11-02T23:43:39.523Z] "selinux-enabled": true, [2022-11-02T23:43:39.523Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T23:43:39.523Z] } [Pipeline] sh [2022-11-02T23:43:39.886Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T23:43:40.253Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T23:43:58.602Z] provisioning config files... [2022-11-02T23:43:58.636Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config13149464712306567011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:43:59.037Z] ---> docker-login.sh [2022-11-02T23:43:59.037Z] nexus3.edgexfoundry.org:10001 [2022-11-02T23:43:59.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:43:59.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:43:59.903Z] Configure a credential helper to remove this warning. See [2022-11-02T23:43:59.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:43:59.903Z] [2022-11-02T23:43:59.903Z] Login Succeeded [2022-11-02T23:43:59.903Z] nexus3.edgexfoundry.org:10002 [2022-11-02T23:44:00.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:44:00.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:44:00.177Z] Configure a credential helper to remove this warning. See [2022-11-02T23:44:00.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:44:00.177Z] [2022-11-02T23:44:00.177Z] Login Succeeded [2022-11-02T23:44:00.177Z] nexus3.edgexfoundry.org:10003 [2022-11-02T23:44:00.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:44:00.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:44:00.729Z] Configure a credential helper to remove this warning. See [2022-11-02T23:44:00.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:44:00.729Z] [2022-11-02T23:44:00.729Z] Login Succeeded [2022-11-02T23:44:00.729Z] nexus3.edgexfoundry.org:10004 [2022-11-02T23:44:01.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:44:01.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:44:01.000Z] Configure a credential helper to remove this warning. See [2022-11-02T23:44:01.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:44:01.000Z] [2022-11-02T23:44:01.000Z] Login Succeeded [2022-11-02T23:44:01.000Z] docker.io [2022-11-02T23:44:01.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T23:44:01.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T23:44:01.867Z] Configure a credential helper to remove this warning. See [2022-11-02T23:44:01.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T23:44:01.867Z] [2022-11-02T23:44:01.867Z] Login Succeeded [2022-11-02T23:44:01.867Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T23:44:01.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T23:44:02.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T23:44:02.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T23:44:02.302Z] ========================================================= [2022-11-02T23:44:02.302Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T23:44:02.302Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:44:02.827Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T23:44:03.104Z] Sending build context to Docker daemon 2.871MB [2022-11-02T23:44:03.104Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T23:44:03.104Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T23:44:03.384Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T23:44:03.384Z] 9b18e9b68314: Pulling fs layer [2022-11-02T23:44:03.384Z] 35d82f9e3411: Pulling fs layer [2022-11-02T23:44:03.384Z] e16973657156: Pulling fs layer [2022-11-02T23:44:03.384Z] fc693d55d65f: Pulling fs layer [2022-11-02T23:44:03.384Z] 7e9fc2657dce: Pulling fs layer [2022-11-02T23:44:03.384Z] dda99020689f: Pulling fs layer [2022-11-02T23:44:03.384Z] db1c61fa0a46: Pulling fs layer [2022-11-02T23:44:03.384Z] 891c053d2c06: Pulling fs layer [2022-11-02T23:44:03.384Z] fc693d55d65f: Waiting [2022-11-02T23:44:03.384Z] 7e9fc2657dce: Waiting [2022-11-02T23:44:03.384Z] dda99020689f: Waiting [2022-11-02T23:44:03.384Z] db1c61fa0a46: Waiting [2022-11-02T23:44:03.384Z] 891c053d2c06: Waiting [2022-11-02T23:44:03.384Z] e16973657156: Download complete [2022-11-02T23:44:03.384Z] 35d82f9e3411: Verifying Checksum [2022-11-02T23:44:03.384Z] 35d82f9e3411: Download complete [2022-11-02T23:44:03.384Z] 7e9fc2657dce: Download complete [2022-11-02T23:44:03.660Z] dda99020689f: Verifying Checksum [2022-11-02T23:44:03.660Z] dda99020689f: Download complete [2022-11-02T23:44:03.660Z] 9b18e9b68314: Download complete [2022-11-02T23:44:04.648Z] 9b18e9b68314: Pull complete [2022-11-02T23:44:04.648Z] 891c053d2c06: Verifying Checksum [2022-11-02T23:44:04.648Z] 891c053d2c06: Download complete [2022-11-02T23:44:05.242Z] 35d82f9e3411: Pull complete [2022-11-02T23:44:05.514Z] e16973657156: Pull complete [2022-11-02T23:44:06.114Z] db1c61fa0a46: Verifying Checksum [2022-11-02T23:44:06.114Z] db1c61fa0a46: Download complete [2022-11-02T23:44:06.705Z] fc693d55d65f: Verifying Checksum [2022-11-02T23:44:06.705Z] fc693d55d65f: Download complete [2022-11-02T23:44:19.075Z] fc693d55d65f: Pull complete [2022-11-02T23:44:19.356Z] 7e9fc2657dce: Pull complete [2022-11-02T23:44:19.625Z] dda99020689f: Pull complete [2022-11-02T23:44:26.322Z] db1c61fa0a46: Pull complete [2022-11-02T23:44:27.738Z] 891c053d2c06: Pull complete [2022-11-02T23:44:27.738Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-02T23:44:27.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T23:44:27.738Z] ---> f96f9c87975a [2022-11-02T23:44:27.738Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T23:44:30.339Z] ---> Running in f92452a0b226 [2022-11-02T23:44:30.339Z] Removing intermediate container f92452a0b226 [2022-11-02T23:44:30.339Z] ---> ddb2c478a009 [2022-11-02T23:44:30.339Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T23:44:30.339Z] ---> Running in bb99525dc763 [2022-11-02T23:44:30.608Z] Removing intermediate container bb99525dc763 [2022-11-02T23:44:30.608Z] ---> fb5645d58f4b [2022-11-02T23:44:30.608Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T23:44:30.877Z] ---> Running in 1927d997b5db [2022-11-02T23:44:31.147Z] Removing intermediate container 1927d997b5db [2022-11-02T23:44:31.147Z] ---> ec6c16e76910 [2022-11-02T23:44:31.147Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T23:44:31.147Z] ---> Running in aada90d627c8 [2022-11-02T23:44:31.417Z] Removing intermediate container aada90d627c8 [2022-11-02T23:44:31.418Z] ---> b27bd3c353da [2022-11-02T23:44:31.418Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T23:44:31.687Z] ---> Running in a443960d3d8e [2022-11-02T23:44:33.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T23:44:33.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T23:44:34.077Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T23:44:34.077Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T23:44:34.077Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T23:44:34.077Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T23:44:34.368Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T23:44:34.368Z] OK: 226 MiB in 55 packages [2022-11-02T23:44:35.342Z] Removing intermediate container a443960d3d8e [2022-11-02T23:44:35.342Z] ---> f864478f0b98 [2022-11-02T23:44:35.342Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-02T23:44:35.342Z] ---> Running in e686d2ba910d [2022-11-02T23:44:37.295Z] Removing intermediate container e686d2ba910d [2022-11-02T23:44:37.295Z] ---> 18a6b7444e4d [2022-11-02T23:44:37.295Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-02T23:44:37.567Z] ---> 11005eeac638 [2022-11-02T23:44:37.567Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T23:44:37.567Z] ---> Running in 52da5cfe6c32 [2022-11-02T23:45:45.518Z] Removing intermediate container 52da5cfe6c32 [2022-11-02T23:45:45.518Z] ---> 33bba33874bb [2022-11-02T23:45:45.518Z] Step 11/12 : COPY . . [2022-11-02T23:45:45.518Z] ---> 02a978513118 [2022-11-02T23:45:45.518Z] Step 12/12 : RUN ${MAKE} [2022-11-02T23:45:45.518Z] ---> Running in 4a91802081fe [2022-11-02T23:45:45.518Z] noop [2022-11-02T23:45:45.518Z] Removing intermediate container 4a91802081fe [2022-11-02T23:45:45.518Z] ---> 73c78883c274 [2022-11-02T23:45:45.518Z] Successfully built 73c78883c274 [2022-11-02T23:45:45.518Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:45:46.018Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T23:45:46.019Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:45:46.305Z] prd-ubuntu20.04-docker-arm64-4c-16g-118014 does not seem to be running inside a container [2022-11-02T23:45:46.379Z] $ 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 [2022-11-02T23:45:47.671Z] $ docker top c03371e7bc6899bd6ca5737822a86d59278e4cab1b8f34b9420ab0cb84e0eb75 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T23:45:48.571Z] + go version [2022-11-02T23:45:48.571Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T23:45:48.612Z] $ docker stop --time=1 c03371e7bc6899bd6ca5737822a86d59278e4cab1b8f34b9420ab0cb84e0eb75 [2022-11-02T23:45:50.281Z] $ docker rm -f c03371e7bc6899bd6ca5737822a86d59278e4cab1b8f34b9420ab0cb84e0eb75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:45:51.217Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T23:45:51.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:45:51.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-118014 does not seem to be running inside a container [2022-11-02T23:45:51.587Z] $ 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 [2022-11-02T23:45:52.807Z] $ docker top 655939b17a0f1278f39b53dc7c263e5282ea5134b404aad5eadf9f92665cc4ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T23:45:53.703Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-02T23:45:54.433Z] + make test [2022-11-02T23:45:54.433Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-02T23:45:56.396Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-02T23:47:33.111Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-02T23:47:33.111Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements [2022-11-02T23:47:33.111Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T23:47:33.111Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T23:47:55.183Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T23:47:55.183Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T23:47:55.183Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-02T23:47:55.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T23:47:55.278Z] $ docker stop --time=1 655939b17a0f1278f39b53dc7c263e5282ea5134b404aad5eadf9f92665cc4ae [2022-11-02T23:47:56.967Z] $ docker rm -f 655939b17a0f1278f39b53dc7c263e5282ea5134b404aad5eadf9f92665cc4ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T23:47:57.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T23:47:57.957Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T23:47:58.368Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T23:47:58.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T23:47:59.335Z] + ls -al . [2022-11-02T23:47:59.335Z] total 180 [2022-11-02T23:47:59.335Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 23:45 . [2022-11-02T23:47:59.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:43 .. [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 2 23:43 .dockerignore [2022-11-02T23:47:59.335Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 23:43 .git [2022-11-02T23:47:59.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:43 .github [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 2 23:43 .gitignore [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 23:43 .golangci.yml [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 2 23:43 Attribution.txt [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 2 23:43 CHANGELOG.md [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 2 23:43 Dockerfile [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 23:43 GOVERNANCE.md [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 2 23:43 Jenkinsfile [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 23:43 LICENSE [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 2 23:43 Makefile [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 23:43 OWNERS.md [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 2 23:43 README.md [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 23:39 VERSION [2022-11-02T23:47:59.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:43 bin [2022-11-02T23:47:59.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:43 cmd [2022-11-02T23:47:59.335Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 2 23:47 coverage.out [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 3462 Nov 2 23:43 go.mod [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 45069 Nov 2 23:43 go.sum [2022-11-02T23:47:59.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:43 internal [2022-11-02T23:47:59.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:43 snap [2022-11-02T23:47:59.335Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 2 23:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:47:59.769Z] + 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=c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 --label arch=arm64 --label version=0.0.0 . [2022-11-02T23:48:00.038Z] Sending build context to Docker daemon 2.879MB [2022-11-02T23:48:00.038Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T23:48:00.038Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-02T23:48:00.038Z] ---> 73c78883c274 [2022-11-02T23:48:00.038Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-02T23:48:00.311Z] ---> Running in 4c896875cad3 [2022-11-02T23:48:00.900Z] Removing intermediate container 4c896875cad3 [2022-11-02T23:48:00.900Z] ---> 4077c7d10617 [2022-11-02T23:48:00.900Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T23:48:00.900Z] ---> Running in 1e3a75738104 [2022-11-02T23:48:01.170Z] Removing intermediate container 1e3a75738104 [2022-11-02T23:48:01.170Z] ---> d4bbf8a7c2c0 [2022-11-02T23:48:01.170Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T23:48:01.170Z] ---> Running in 8a10dc9851b9 [2022-11-02T23:48:01.440Z] Removing intermediate container 8a10dc9851b9 [2022-11-02T23:48:01.440Z] ---> c99801994569 [2022-11-02T23:48:01.440Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T23:48:01.714Z] ---> Running in 568ff787aa2f [2022-11-02T23:48:01.985Z] Removing intermediate container 568ff787aa2f [2022-11-02T23:48:01.985Z] ---> 2cbbdfd727d2 [2022-11-02T23:48:01.985Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T23:48:01.985Z] ---> Running in 28ffb20317ed [2022-11-02T23:48:03.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T23:48:03.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T23:48:04.364Z] OK: 226 MiB in 55 packages [2022-11-02T23:48:05.329Z] Removing intermediate container 28ffb20317ed [2022-11-02T23:48:05.329Z] ---> 284486fca6e9 [2022-11-02T23:48:05.329Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-02T23:48:05.329Z] ---> Running in 2cd9001e2298 [2022-11-02T23:48:05.596Z] Removing intermediate container 2cd9001e2298 [2022-11-02T23:48:05.596Z] ---> 0402511d8bae [2022-11-02T23:48:05.596Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-02T23:48:06.182Z] ---> d2da07a5eb2f [2022-11-02T23:48:06.182Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T23:48:06.182Z] ---> Running in 1312cc67af9c [2022-11-02T23:48:09.551Z] Removing intermediate container 1312cc67af9c [2022-11-02T23:48:09.551Z] ---> 85f3659fe6d2 [2022-11-02T23:48:09.551Z] Step 11/24 : COPY . . [2022-11-02T23:48:10.144Z] ---> 60baaa531585 [2022-11-02T23:48:10.144Z] Step 12/24 : RUN ${MAKE} [2022-11-02T23:48:10.417Z] ---> Running in 3587e6927280 [2022-11-02T23:48:11.376Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-02T23:50:33.127Z] Removing intermediate container 3587e6927280 [2022-11-02T23:50:33.127Z] ---> 46733fb30fc1 [2022-11-02T23:50:33.127Z] Step 13/24 : FROM alpine:3.16 [2022-11-02T23:50:33.127Z] 3.16: Pulling from library/alpine [2022-11-02T23:50:33.127Z] 9b18e9b68314: Already exists [2022-11-02T23:50:33.127Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T23:50:33.127Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T23:50:33.127Z] ---> a6215f271958 [2022-11-02T23:50:33.127Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-02T23:50:33.127Z] ---> Running in 803da1bdee2c [2022-11-02T23:50:33.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T23:50:33.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T23:50:33.127Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-02T23:50:33.127Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T23:50:33.127Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-02T23:50:33.127Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T23:50:33.127Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-02T23:50:33.127Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-02T23:50:33.127Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T23:50:33.127Z] OK: 8 MiB in 20 packages [2022-11-02T23:50:33.127Z] Removing intermediate container 803da1bdee2c [2022-11-02T23:50:33.127Z] ---> b5db36152d93 [2022-11-02T23:50:33.127Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-02T23:50:33.728Z] ---> 356911435a6e [2022-11-02T23:50:33.728Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-02T23:50:34.313Z] ---> 412ef4694617 [2022-11-02T23:50:34.313Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-02T23:50:34.584Z] ---> 3c67a0a15182 [2022-11-02T23:50:34.584Z] Step 18/24 : EXPOSE 59993 [2022-11-02T23:50:34.852Z] ---> Running in 68156ce9dc9b [2022-11-02T23:50:35.124Z] Removing intermediate container 68156ce9dc9b [2022-11-02T23:50:35.124Z] ---> ac001673e3ad [2022-11-02T23:50:35.124Z] Step 19/24 : EXPOSE 161 [2022-11-02T23:50:35.124Z] ---> Running in bdc9d8cdbd3a [2022-11-02T23:50:35.394Z] Removing intermediate container bdc9d8cdbd3a [2022-11-02T23:50:35.394Z] ---> c68950aeecc4 [2022-11-02T23:50:35.394Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-02T23:50:35.664Z] ---> Running in 9e4f4696e858 [2022-11-02T23:50:35.933Z] Removing intermediate container 9e4f4696e858 [2022-11-02T23:50:35.933Z] ---> 1534dc056a26 [2022-11-02T23:50:35.933Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-02T23:50:35.933Z] ---> Running in d92392fff182 [2022-11-02T23:50:36.209Z] Removing intermediate container d92392fff182 [2022-11-02T23:50:36.209Z] ---> 2929462fb242 [2022-11-02T23:50:36.209Z] Step 22/24 : LABEL arch=arm64 [2022-11-02T23:50:36.209Z] ---> Running in 3711fb133536 [2022-11-02T23:50:36.477Z] Removing intermediate container 3711fb133536 [2022-11-02T23:50:36.477Z] ---> 10e71309f19b [2022-11-02T23:50:36.477Z] Step 23/24 : LABEL git_sha=c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [2022-11-02T23:50:36.747Z] ---> Running in 8951298a3c4e [2022-11-02T23:50:37.016Z] Removing intermediate container 8951298a3c4e [2022-11-02T23:50:37.016Z] ---> 301d9a4e31a0 [2022-11-02T23:50:37.016Z] Step 24/24 : LABEL version=0.0.0 [2022-11-02T23:50:37.016Z] ---> Running in f7b2c0f1d3f7 [2022-11-02T23:50:37.283Z] Removing intermediate container f7b2c0f1d3f7 [2022-11-02T23:50:37.283Z] ---> 318d90c8a738 [2022-11-02T23:50:37.283Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T23:50:37.283Z] Successfully built 318d90c8a738 [2022-11-02T23:50:37.283Z] 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 [2022-11-02T23:50:38.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T23:50:38.203Z] [2022-11-02T23:50:38.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:50:38.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T23:50:38.916Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T23:50:38.916Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T23:50:38.916Z] 04944245beec: Pulling fs layer [2022-11-02T23:50:38.916Z] 699f458cf7ca: Pulling fs layer [2022-11-02T23:50:38.916Z] 765212b225bb: Pulling fs layer [2022-11-02T23:50:38.916Z] f23df028b6ca: Pulling fs layer [2022-11-02T23:50:38.916Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T23:50:38.916Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T23:50:38.916Z] f23df028b6ca: Waiting [2022-11-02T23:50:38.916Z] 765212b225bb: Waiting [2022-11-02T23:50:38.916Z] d65c8cfc05b1: Waiting [2022-11-02T23:50:38.916Z] 2437ff75d9bd: Waiting [2022-11-02T23:50:38.916Z] 04944245beec: Verifying Checksum [2022-11-02T23:50:38.916Z] 04944245beec: Download complete [2022-11-02T23:50:38.916Z] 765212b225bb: Verifying Checksum [2022-11-02T23:50:38.917Z] 765212b225bb: Download complete [2022-11-02T23:50:38.917Z] f23df028b6ca: Verifying Checksum [2022-11-02T23:50:38.917Z] f23df028b6ca: Download complete [2022-11-02T23:50:38.917Z] d65c8cfc05b1: Verifying Checksum [2022-11-02T23:50:38.917Z] d65c8cfc05b1: Download complete [2022-11-02T23:50:39.203Z] 699f458cf7ca: Verifying Checksum [2022-11-02T23:50:39.203Z] 699f458cf7ca: Download complete [2022-11-02T23:50:39.479Z] 8998bd30e6a1: Verifying Checksum [2022-11-02T23:50:39.479Z] 8998bd30e6a1: Download complete [2022-11-02T23:50:42.145Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T23:50:42.145Z] 2437ff75d9bd: Download complete [2022-11-02T23:50:43.550Z] 8998bd30e6a1: Pull complete [2022-11-02T23:50:44.134Z] 04944245beec: Pull complete [2022-11-02T23:50:45.539Z] 699f458cf7ca: Pull complete [2022-11-02T23:50:45.539Z] 765212b225bb: Pull complete [2022-11-02T23:50:46.119Z] f23df028b6ca: Pull complete [2022-11-02T23:50:46.387Z] d65c8cfc05b1: Pull complete [2022-11-02T23:51:01.387Z] 2437ff75d9bd: Pull complete [2022-11-02T23:51:01.387Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T23:51:01.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T23:51:01.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:51:01.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-118014 does not seem to be running inside a container [2022-11-02T23:51:01.760Z] $ 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 [2022-11-02T23:51:04.172Z] $ docker top 00d1d56636c80c086aeaf89a77ba48efa61f96ad3e3b63bc1e8e5bdc52d1d58e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:04.776Z] ---> job-cost.sh [2022-11-02T23:51:05.042Z] lf-activate-venv: SKIPPING [2022-11-02T23:51:05.042Z] INFO: No Stack... [2022-11-02T23:51:05.309Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T23:51:06.264Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T23:51:06.599Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-11-02T23:51:06.599Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T23:51:06.933Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] [2022-11-02T23:51:06.938Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] did not exist. Created. [2022-11-02T23:51:06.938Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T23:51:07.342Z] /w/workspace/device-snmp-go/1@tmp/durable-eb39ae32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T23:51:07.688Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T23:51:07.725Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T23:51:07.764Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T23:51:07.779Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T23:51:07.858Z] $ docker stop --time=1 00d1d56636c80c086aeaf89a77ba48efa61f96ad3e3b63bc1e8e5bdc52d1d58e [2022-11-02T23:51:09.275Z] $ docker rm -f 00d1d56636c80c086aeaf89a77ba48efa61f96ad3e3b63bc1e8e5bdc52d1d58e [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 [2022-11-02T23:51:10.237Z] provisioning config files... [2022-11-02T23:51:10.244Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/config8263268826755842920tmp [Pipeline] { [Pipeline] sh [2022-11-02T23:51:10.586Z] + set +x [2022-11-02T23:51:10.586Z] + curl -s https://codecov.io/bash [2022-11-02T23:51:10.586Z] + bash -s -- [2022-11-02T23:51:10.586Z] [2022-11-02T23:51:10.586Z] _____ _ [2022-11-02T23:51:10.586Z] / ____| | | [2022-11-02T23:51:10.586Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T23:51:10.586Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T23:51:10.586Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T23:51:10.586Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T23:51:10.586Z] Bash-1.0.6 [2022-11-02T23:51:10.586Z] [2022-11-02T23:51:10.586Z] [2022-11-02T23:51:10.586Z] ==> git version 2.25.1 found [2022-11-02T23:51:10.586Z] ==> 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 [2022-11-02T23:51:10.586Z] Release-Date: 2020-01-08 [2022-11-02T23:51:10.586Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-02T23:51:10.586Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T23:51:10.586Z] ==> Jenkins CI detected. [2022-11-02T23:51:10.586Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-201 [2022-11-02T23:51:10.586Z] project root: . [2022-11-02T23:51:10.586Z] --> token set from env [2022-11-02T23:51:10.586Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T23:51:10.586Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T23:51:10.586Z] ==> Python coveragepy not found [2022-11-02T23:51:10.586Z] ==> Searching for coverage reports in: [2022-11-02T23:51:10.586Z] + . [2022-11-02T23:51:10.586Z] -> Found 1 reports [2022-11-02T23:51:10.586Z] ==> Detecting git/mercurial file structure [2022-11-02T23:51:10.586Z] ==> Reading reports [2022-11-02T23:51:10.586Z] + ./coverage.out bytes=7631 [2022-11-02T23:51:10.586Z] ==> Appending adjustments [2022-11-02T23:51:10.586Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T23:51:10.845Z] + Found adjustments [2022-11-02T23:51:10.845Z] ==> Gzipping contents [2022-11-02T23:51:10.845Z] 4.0K /tmp/codecov.U02x1D.gz [2022-11-02T23:51:10.845Z] ==> Uploading reports [2022-11-02T23:51:10.845Z] url: https://codecov.io [2022-11-02T23:51:10.845Z] query: branch=PR-201&commit=c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=201&job=&cmd_args= [2022-11-02T23:51:10.845Z] -> Pinging Codecov [2022-11-02T23:51:10.845Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-201&commit=c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=201&job=&cmd_args= [2022-11-02T23:51:11.104Z] -> Uploading to [2022-11-02T23:51:11.105Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/6C56EA5C29638FB4528AC87E60AF5AE0/c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3/c5a7c285-ca3e-491c-b241-8dbf5f717493.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T235110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af53d03afb50862ba0b3a5481685ec5bb836c2f108a626ecd4aadf9e9587fadb [2022-11-02T23:51:11.105Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T23:51:11.105Z] Dload Upload Total Spent Left Speed [2022-11-02T23:51:11.363Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7563 --:--:-- --:--:-- --:--:-- 7526 100 1543 0 0 100 1543 0 6050 --:--:-- --:--:-- --:--:-- 6027 [2022-11-02T23:51:11.363Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c473c962992d77cbd8e61ebfb0a1e5fbbbec80a3 [Pipeline] } [2022-11-02T23:51:11.396Z] 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 [2022-11-02T23:51:13.371Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-201/archives ] [2022-11-02T23:51:13.371Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-201/archives [2022-11-02T23:51:13.371Z] total 16 [2022-11-02T23:51:13.371Z] drwxr-xr-x 3 root root 4096 Nov 2 23:40 . [2022-11-02T23:51:13.371Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 23:40 .. [2022-11-02T23:51:13.371Z] drwxr-xr-x 2 root root 4096 Nov 2 23:40 cost [2022-11-02T23:51:13.371Z] -rw-r--r-- 1 root root 86 Nov 2 23:40 cost.csv [2022-11-02T23:51:13.371Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-201/archives [2022-11-02T23:51:13.372Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-201/archives [2022-11-02T23:51:13.372Z] total 16 [2022-11-02T23:51:13.372Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 23:40 . [2022-11-02T23:51:13.372Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 23:40 .. [2022-11-02T23:51:13.372Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 23:40 cost [2022-11-02T23:51:13.372Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 2 23:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:13.701Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:14.590Z] ---> package-listing.sh [2022-11-02T23:51:14.590Z] ++ facter osfamily [2022-11-02T23:51:14.590Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T23:51:14.849Z] + OS_FAMILY=debian [2022-11-02T23:51:14.849Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-201 [2022-11-02T23:51:14.849Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T23:51:14.849Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T23:51:14.849Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T23:51:14.849Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T23:51:14.849Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-201 ']' [2022-11-02T23:51:14.849Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T23:51:14.849Z] + case "${OS_FAMILY}" in [2022-11-02T23:51:14.849Z] + dpkg -l [2022-11-02T23:51:14.849Z] + grep '^ii' [2022-11-02T23:51:14.849Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T23:51:14.849Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T23:51:14.850Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T23:51:14.850Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-201 ']' [2022-11-02T23:51:14.850Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-201/archives/ [2022-11-02T23:51:14.850Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-201/archives/ [Pipeline] echo [2022-11-02T23:51:14.887Z] 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-201/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T23:51:15.185Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T23:51:15.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T23:51:15.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T23:51:15.972Z] prd-ubuntu20.04-docker-8c-8g-118013 does not seem to be running inside a container [2022-11-02T23:51:16.013Z] $ 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-201/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-201 -v /w/workspace/gexfoundry_device-snmp-go_PR-201:/w/workspace/gexfoundry_device-snmp-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-201@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-201@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 [2022-11-02T23:51:16.226Z] $ docker top 463ac935376d6d0031dfdf0890a1bdb11f5a2d7dfd763a13166927d15cb00f69 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T23:51:16.625Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T23:51:16.938Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T23:51:17.255Z] + ls /var/log/sa-host [2022-11-02T23:51:17.255Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T23:51:17.498Z] provisioning config files... [2022-11-02T23:51:17.507Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-201@tmp/config12475394687961025969tmp [Pipeline] { [Pipeline] echo [2022-11-02T23:51:17.563Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:17.874Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T23:51:17.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:18.337Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T23:51:18.372Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:18.691Z] ---> sudo-logs.sh [2022-11-02T23:51:18.692Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T23:51:18.779Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:19.093Z] ---> job-cost.sh [2022-11-02T23:51:19.093Z] lf-activate-venv: SKIPPING [2022-11-02T23:51:19.093Z] DEBUG: total: 0.2199999988079071 [2022-11-02T23:51:19.093Z] INFO: Retrieving Stack Cost... [2022-11-02T23:51:19.660Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T23:51:19.920Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T23:51:19.991Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T23:51:20.320Z] ---> logs-deploy.sh [2022-11-02T23:51:20.320Z] lf-activate-venv: SKIPPING [2022-11-02T23:51:20.320Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-201/1 [2022-11-02T23:51:20.320Z] INFO: archiving workspace using pattern(s): [2022-11-02T23:51:21.259Z] Archives upload complete. [2022-11-02T23:51:21.520Z] INFO: archiving logs to Nexus