Pull request #203 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c45b2c14f631b001c11475974c4a9fc1fed78b60+cc201530981e513eba2542fa850395c651a4a8aa (26a5b8e682291e96828f6ed1f940f2ee4a680bf1) 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-ssh10317096100142484289.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-ssh10998032415748203552.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-203/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-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17083916286146911523.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-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh370608845277267216.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-ssh17531150410236308034.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-203/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-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10680958830521424389.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 ‘prd-ubuntu20.04-docker-8c-8g-118380’ Running on prd-ubuntu20.04-docker-8c-8g-118389 in /w/workspace/gexfoundry_device-snmp-go_PR-203 [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-203 # 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/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cc201530981e513eba2542fa850395c651a4a8aa into PR head commit c45b2c14f631b001c11475974c4a9fc1fed78b60 Merge succeeded, producing c45b2c14f631b001c11475974c4a9fc1fed78b60 Checking out Revision c45b2c14f631b001c11475974c4a9fc1fed78b60 (PR-203) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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-07T05:07:02.193Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T05:07:02.362Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # 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 cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # timeout=10 [2022-11-07T05:07:02.471Z] ========================================================= [2022-11-07T05:07:02.471Z] EdgeX Global Pipelines Version Info [2022-11-07T05:07:02.471Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:07:03.220Z] ------------------- [2022-11-07T05:07:03.220Z] stable info: [2022-11-07T05:07:03.220Z] ------------------- [2022-11-07T05:07:03.220Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T05:07:03.220Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T05:07:03.220Z] Message: update stable to v1.0.244 [2022-11-07T05:07:03.793Z] ------------------- [2022-11-07T05:07:03.793Z] experimental info: [2022-11-07T05:07:03.793Z] ------------------- [2022-11-07T05:07:03.793Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T05:07:03.793Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T05:07:03.793Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T05:07:04.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-11-07T05:07:04.114Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-11-07T05:07:04.153Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T05:07:04.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T05:07:04.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T05:07:04.278Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T05:07:04.327Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T05:07:04.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T05:07:04.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T05:07:04.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T05:07:04.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T05:07:04.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-11-07T05:07:04.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T05:07:04.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T05:07:04.682Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T05:07:04.722Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T05:07:04.772Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T05:07:04.809Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T05:07:04.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T05:07:04.887Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T05:07:04.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T05:07:04.967Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T05:07:05.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T05:07:05.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T05:07:05.094Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T05:07:05.138Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T05:07:05.182Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T05:07:05.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo [2022-11-07T05:07:05.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo [2022-11-07T05:07:05.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo [2022-11-07T05:07:05.362Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo [2022-11-07T05:07:05.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c45b2c1 [Pipeline] echo [2022-11-07T05:07:05.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:07:05.560Z] provisioning config files... [2022-11-07T05:07:05.571Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config6178209158695805622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:07:05.919Z] ---> docker-login.sh [2022-11-07T05:07:05.919Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:07:06.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:06.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:06.181Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:06.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:06.181Z] [2022-11-07T05:07:06.181Z] Login Succeeded [2022-11-07T05:07:06.181Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:07:06.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:06.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:06.444Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:06.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:06.444Z] [2022-11-07T05:07:06.444Z] Login Succeeded [2022-11-07T05:07:06.444Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:07:06.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:06.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:06.444Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:06.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:06.444Z] [2022-11-07T05:07:06.444Z] Login Succeeded [2022-11-07T05:07:06.444Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:07:06.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:06.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:06.444Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:06.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:06.444Z] [2022-11-07T05:07:06.444Z] Login Succeeded [2022-11-07T05:07:06.444Z] docker.io [2022-11-07T05:07:06.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:06.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:06.965Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:06.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:06.965Z] [2022-11-07T05:07:06.965Z] Login Succeeded [2022-11-07T05:07:06.965Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:07:06.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T05:07:07.656Z] + git rev-list -1 --merges c45b2c14f631b001c11475974c4a9fc1fed78b60~1..c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo [2022-11-07T05:07:07.703Z] -----------> git rev-list -1 --merges c45b2c14f631b001c11475974c4a9fc1fed78b60~1..c45b2c14f631b001c11475974c4a9fc1fed78b60 c45b2c14f631b001c11475974c4a9fc1fed78b60 [false] [Pipeline] sh [2022-11-07T05:07:08.016Z] + git log --format=format:%s -1 c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo [2022-11-07T05:07:08.050Z] ========================================================= [2022-11-07T05:07:08.050Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T05:07:08.050Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:07:08.472Z] + git log --format=format:%s -1 c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo [2022-11-07T05:07:08.503Z] [semverPrep] GIT_COMMIT: c45b2c14f631b001c11475974c4a9fc1fed78b60, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-11-07T05:07:08.533Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T05:07:08.903Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T05:07:08.904Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T05:07:08.904Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T05:07:08.904Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T05:07:08.904Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T05:07:08.904Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T05:07:08.904Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:09.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:07:09.324Z] [2022-11-07T05:07:09.324Z] 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-07T05:07:09.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:07:09.704Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T05:07:09.704Z] b85a868b505f: Pulling fs layer [2022-11-07T05:07:09.704Z] e2be974225ed: Pulling fs layer [2022-11-07T05:07:09.704Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T05:07:09.704Z] 988bab9f4d93: Pulling fs layer [2022-11-07T05:07:09.704Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T05:07:09.704Z] eaf3925da568: Pulling fs layer [2022-11-07T05:07:09.704Z] bab4dde63d76: Pulling fs layer [2022-11-07T05:07:09.704Z] bde34c3a00c8: Pulling fs layer [2022-11-07T05:07:09.704Z] b352a97aabf1: Pulling fs layer [2022-11-07T05:07:09.704Z] 4872d77fe225: Pulling fs layer [2022-11-07T05:07:09.704Z] 5851b861e8e6: Pulling fs layer [2022-11-07T05:07:09.704Z] eaf3925da568: Waiting [2022-11-07T05:07:09.704Z] bab4dde63d76: Waiting [2022-11-07T05:07:09.704Z] bde34c3a00c8: Waiting [2022-11-07T05:07:09.704Z] 4872d77fe225: Waiting [2022-11-07T05:07:09.704Z] 5851b861e8e6: Waiting [2022-11-07T05:07:09.704Z] b352a97aabf1: Waiting [2022-11-07T05:07:09.704Z] 988bab9f4d93: Waiting [2022-11-07T05:07:09.704Z] 1469e6f7b9e6: Waiting [2022-11-07T05:07:09.704Z] e2be974225ed: Verifying Checksum [2022-11-07T05:07:09.704Z] e2be974225ed: Download complete [2022-11-07T05:07:09.704Z] 988bab9f4d93: Download complete [2022-11-07T05:07:09.964Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T05:07:09.964Z] 1469e6f7b9e6: Download complete [2022-11-07T05:07:09.964Z] eaf3925da568: Verifying Checksum [2022-11-07T05:07:09.964Z] eaf3925da568: Download complete [2022-11-07T05:07:09.964Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T05:07:09.964Z] 339a4e72a1f5: Download complete [2022-11-07T05:07:09.964Z] bde34c3a00c8: Verifying Checksum [2022-11-07T05:07:09.964Z] bde34c3a00c8: Download complete [2022-11-07T05:07:09.964Z] b352a97aabf1: Download complete [2022-11-07T05:07:09.964Z] 4872d77fe225: Download complete [2022-11-07T05:07:09.964Z] 5851b861e8e6: Verifying Checksum [2022-11-07T05:07:09.964Z] 5851b861e8e6: Download complete [2022-11-07T05:07:09.964Z] b85a868b505f: Verifying Checksum [2022-11-07T05:07:10.223Z] bab4dde63d76: Verifying Checksum [2022-11-07T05:07:10.223Z] bab4dde63d76: Download complete [2022-11-07T05:07:11.161Z] b85a868b505f: Pull complete [2022-11-07T05:07:11.161Z] e2be974225ed: Pull complete [2022-11-07T05:07:11.727Z] 339a4e72a1f5: Pull complete [2022-11-07T05:07:11.727Z] 988bab9f4d93: Pull complete [2022-11-07T05:07:11.987Z] 1469e6f7b9e6: Pull complete [2022-11-07T05:07:12.245Z] eaf3925da568: Pull complete [2022-11-07T05:07:14.164Z] bab4dde63d76: Pull complete [2022-11-07T05:07:14.164Z] bde34c3a00c8: Pull complete [2022-11-07T05:07:14.164Z] b352a97aabf1: Pull complete [2022-11-07T05:07:14.164Z] 4872d77fe225: Pull complete [2022-11-07T05:07:14.164Z] 5851b861e8e6: Pull complete [2022-11-07T05:07:14.164Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T05:07:14.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:07:14.164Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:07:14.376Z] prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container [2022-11-07T05:07:14.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T05:07:15.954Z] $ docker top f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 -eo pid,comm [2022-11-07T05:07:16.005Z] 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-07T05:07:16.005Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T05:07:16.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T05:07:16.136Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T05:07:16.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T05:07:16.250Z] $ docker exec f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent [2022-11-07T05:07:16.369Z] SSH_AUTH_SOCK=/tmp/ssh-HPW1flk2j1sz/agent.32 [2022-11-07T05:07:16.369Z] SSH_AGENT_PID=38 [2022-11-07T05:07:16.376Z] Running ssh-add (command line suppressed) [2022-11-07T05:07:16.484Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_18035553834483114991.key (/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_18035553834483114991.key) [2022-11-07T05:07:16.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T05:07:16.829Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T05:07:16.853Z] $ docker exec --env ******** --env ******** f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent -k [2022-11-07T05:07:16.948Z] unset SSH_AUTH_SOCK; [2022-11-07T05:07:16.948Z] unset SSH_AGENT_PID; [2022-11-07T05:07:16.948Z] echo Agent pid 38 killed; [2022-11-07T05:07:16.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T05:07:17.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T05:07:17.064Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T05:07:17.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T05:07:17.179Z] $ docker exec f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent [2022-11-07T05:07:17.281Z] SSH_AUTH_SOCK=/tmp/ssh-59wO2NDcvEBO/agent.70 [2022-11-07T05:07:17.281Z] SSH_AGENT_PID=76 [2022-11-07T05:07:17.285Z] Running ssh-add (command line suppressed) [2022-11-07T05:07:17.394Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_1056033155142990613.key (/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_1056033155142990613.key) [2022-11-07T05:07:17.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T05:07:17.743Z] + git semver init [2022-11-07T05:07:18.003Z] 2022-11-07 05:07:17,937 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T05:07:18.003Z] 2022-11-07 05:07:17,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver [2022-11-07T05:07:18.003Z] 2022-11-07 05:07:17,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-203/.semver [2022-11-07T05:07:18.003Z] 2022-11-07 05:07:17,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-203, universal_newlines=False, shell=None, istream=None) [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,903 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-203/.git/info/exclude [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,904 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver/PR-203 with force:False [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,904 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver/PR-203 [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,908 [execute] INFO git cat-file --batch-check [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,914 [execute] INFO git cat-file --batch [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T05:07:18.941Z] 2022-11-07 05:07:18,921 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-203/.semver/PR-203 [2022-11-07T05:07:18.941Z] 0.0.0 [Pipeline] } [2022-11-07T05:07:19.216Z] $ docker exec --env ******** --env ******** f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent -k [2022-11-07T05:07:19.319Z] unset SSH_AUTH_SOCK; [2022-11-07T05:07:19.320Z] unset SSH_AGENT_PID; [2022-11-07T05:07:19.321Z] echo Agent pid 76 killed; [2022-11-07T05:07:19.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T05:07:19.769Z] + git semver [Pipeline] } [2022-11-07T05:07:20.053Z] $ docker stop --time=1 f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 [2022-11-07T05:07:21.383Z] $ docker rm -f f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:07:21.785Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T05:07:22.035Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T05:07:22.056Z] [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-07T05:07:22.660Z] provisioning config files... [2022-11-07T05:07:22.669Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config11294365709852935371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:07:23.016Z] ---> docker-login.sh [2022-11-07T05:07:23.016Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:07:23.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:23.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:23.016Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:23.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:23.016Z] [2022-11-07T05:07:23.016Z] Login Succeeded [2022-11-07T05:07:23.016Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:07:23.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:23.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:23.016Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:23.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:23.016Z] [2022-11-07T05:07:23.016Z] Login Succeeded [2022-11-07T05:07:23.016Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:07:23.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:23.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:23.281Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:23.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:23.281Z] [2022-11-07T05:07:23.281Z] Login Succeeded [2022-11-07T05:07:23.281Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:07:23.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:23.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:23.281Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:23.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:23.281Z] [2022-11-07T05:07:23.281Z] Login Succeeded [2022-11-07T05:07:23.281Z] docker.io [2022-11-07T05:07:23.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:23.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:23.803Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:23.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:23.803Z] [2022-11-07T05:07:23.803Z] Login Succeeded [2022-11-07T05:07:23.803Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:07:23.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T05:07:24.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:07:24.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:07:24.078Z] ========================================================= [2022-11-07T05:07:24.078Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T05:07:24.078Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:24.549Z] + 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-07T05:07:24.549Z] Sending build context to Docker daemon 5.581MB [2022-11-07T05:07:24.549Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:07:24.549Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T05:07:24.549Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T05:07:24.549Z] 213ec9aee27d: Pulling fs layer [2022-11-07T05:07:24.549Z] 4583459ba037: Pulling fs layer [2022-11-07T05:07:24.549Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T05:07:24.549Z] 53926ce57604: Pulling fs layer [2022-11-07T05:07:24.549Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T05:07:24.549Z] 22ff95d597cd: Pulling fs layer [2022-11-07T05:07:24.549Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T05:07:24.549Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T05:07:24.549Z] a7acece74701: Pulling fs layer [2022-11-07T05:07:24.549Z] 53926ce57604: Waiting [2022-11-07T05:07:24.549Z] 21b2b0c7a3f4: Waiting [2022-11-07T05:07:24.549Z] 22ff95d597cd: Waiting [2022-11-07T05:07:24.549Z] 12d6caf4c0d1: Waiting [2022-11-07T05:07:24.549Z] 96b7cbca73a9: Waiting [2022-11-07T05:07:24.549Z] a7acece74701: Waiting [2022-11-07T05:07:24.549Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T05:07:24.549Z] 93c1e223e6f2: Download complete [2022-11-07T05:07:24.549Z] 4583459ba037: Download complete [2022-11-07T05:07:24.811Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T05:07:24.811Z] 21b2b0c7a3f4: Download complete [2022-11-07T05:07:24.811Z] 22ff95d597cd: Download complete [2022-11-07T05:07:24.811Z] 213ec9aee27d: Download complete [2022-11-07T05:07:24.811Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T05:07:24.811Z] 12d6caf4c0d1: Download complete [2022-11-07T05:07:24.811Z] 213ec9aee27d: Pull complete [2022-11-07T05:07:25.077Z] 4583459ba037: Pull complete [2022-11-07T05:07:25.077Z] 93c1e223e6f2: Pull complete [2022-11-07T05:07:25.077Z] a7acece74701: Verifying Checksum [2022-11-07T05:07:25.077Z] a7acece74701: Download complete [2022-11-07T05:07:25.338Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T05:07:25.338Z] 96b7cbca73a9: Download complete [2022-11-07T05:07:25.597Z] 53926ce57604: Verifying Checksum [2022-11-07T05:07:25.597Z] 53926ce57604: Download complete [2022-11-07T05:07:30.874Z] 53926ce57604: Pull complete [2022-11-07T05:07:30.874Z] 21b2b0c7a3f4: Pull complete [2022-11-07T05:07:30.874Z] 22ff95d597cd: Pull complete [2022-11-07T05:07:30.874Z] 12d6caf4c0d1: Pull complete [2022-11-07T05:07:32.780Z] 96b7cbca73a9: Pull complete [2022-11-07T05:07:33.351Z] a7acece74701: Pull complete [2022-11-07T05:07:33.351Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T05:07:33.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T05:07:33.351Z] ---> db6d94c90886 [2022-11-07T05:07:33.351Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:07:35.279Z] ---> Running in 2ad4b2c8d242 [2022-11-07T05:07:35.279Z] Removing intermediate container 2ad4b2c8d242 [2022-11-07T05:07:35.279Z] ---> d78ef1ef5dd4 [2022-11-07T05:07:35.279Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:07:35.538Z] ---> Running in 1d9178205f57 [2022-11-07T05:07:35.538Z] Removing intermediate container 1d9178205f57 [2022-11-07T05:07:35.538Z] ---> 0cfad02086c3 [2022-11-07T05:07:35.538Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:07:35.538Z] ---> Running in 306e6792bf67 [2022-11-07T05:07:35.815Z] Removing intermediate container 306e6792bf67 [2022-11-07T05:07:35.815Z] ---> 89c081494db6 [2022-11-07T05:07:35.815Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:07:35.815Z] ---> Running in ac7e565704d0 [2022-11-07T05:07:35.815Z] Removing intermediate container ac7e565704d0 [2022-11-07T05:07:35.815Z] ---> 48565ce66037 [2022-11-07T05:07:35.815Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:07:36.073Z] ---> Running in 299d0da97075 [2022-11-07T05:07:36.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:07:36.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:07:36.592Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T05:07:36.592Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T05:07:36.592Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T05:07:36.852Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T05:07:36.852Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:07:36.852Z] OK: 216 MiB in 55 packages [2022-11-07T05:07:37.421Z] Removing intermediate container 299d0da97075 [2022-11-07T05:07:37.421Z] ---> dd94c1fda8ed [2022-11-07T05:07:37.421Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-07T05:07:37.421Z] ---> Running in 3480971bc5ec [2022-11-07T05:07:37.421Z] Removing intermediate container 3480971bc5ec [2022-11-07T05:07:37.421Z] ---> 3a6a3f4b0d5b [2022-11-07T05:07:37.421Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T05:07:37.421Z] ---> ec22553a41d6 [2022-11-07T05:07:37.421Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:07:37.463Z] Still waiting to schedule task [2022-11-07T05:07:37.463Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118385’ [2022-11-07T05:07:37.681Z] ---> Running in d1bbe1b0448d [2022-11-07T05:07:55.775Z] Removing intermediate container d1bbe1b0448d [2022-11-07T05:07:55.775Z] ---> 950488d71783 [2022-11-07T05:07:55.775Z] Step 11/12 : COPY . . [2022-11-07T05:07:55.775Z] ---> a4086de2a741 [2022-11-07T05:07:55.775Z] Step 12/12 : RUN ${MAKE} [2022-11-07T05:07:55.775Z] ---> Running in 3655f337a3c4 [2022-11-07T05:07:55.775Z] noop [2022-11-07T05:07:55.775Z] Removing intermediate container 3655f337a3c4 [2022-11-07T05:07:55.775Z] ---> 19ae346c3dc0 [2022-11-07T05:07:55.775Z] Successfully built 19ae346c3dc0 [2022-11-07T05:07:55.775Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:56.226Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T05:07:56.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:07:56.379Z] prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container [2022-11-07T05:07:56.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** ci-base-image-x86_64 cat [2022-11-07T05:07:56.780Z] $ docker top d334806205485b6ed439249dbf6f882eea7cf8e1facf8026e81fb063f72b582a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:07:57.181Z] + go version [2022-11-07T05:07:57.181Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T05:07:57.214Z] $ docker stop --time=1 d334806205485b6ed439249dbf6f882eea7cf8e1facf8026e81fb063f72b582a [2022-11-07T05:07:58.518Z] $ docker rm -f d334806205485b6ed439249dbf6f882eea7cf8e1facf8026e81fb063f72b582a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:59.231Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T05:07:59.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:07:59.380Z] prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container [2022-11-07T05:07:59.405Z] $ 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-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** ci-base-image-x86_64 cat [2022-11-07T05:07:59.787Z] $ docker top 0e0a44a191db6e9ea14f2cd40015432c3697df1f0e8e88f0f5d2ecbdd9084df6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:08:00.180Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-203 [Pipeline] fileExists [Pipeline] sh [2022-11-07T05:08:00.542Z] + make test [2022-11-07T05:08:00.542Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T05:08:01.108Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-07T05:08:11.074Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-07T05:08:11.074Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-11-07T05:08:17.630Z] 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-07T05:08:17.630Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T05:08:20.160Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T05:08:20.160Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T05:08:20.160Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T05:08:20.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T05:08:20.223Z] $ docker stop --time=1 0e0a44a191db6e9ea14f2cd40015432c3697df1f0e8e88f0f5d2ecbdd9084df6 [2022-11-07T05:08:22.070Z] $ docker rm -f 0e0a44a191db6e9ea14f2cd40015432c3697df1f0e8e88f0f5d2ecbdd9084df6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:08:22.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T05:08:22.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T05:08:23.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T05:08:23.674Z] + ls -al . [2022-11-07T05:08:23.674Z] total 180 [2022-11-07T05:08:23.674Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:08 . [2022-11-07T05:08:23.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:06 .. [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:07 .dockerignore [2022-11-07T05:08:23.674Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:08 .git [2022-11-07T05:08:23.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 .github [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 05:07 .gitignore [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:07 .golangci.yml [2022-11-07T05:08:23.674Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:07 .semver [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 05:07 Attribution.txt [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 05:07 CHANGELOG.md [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 05:07 Dockerfile [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:07 GOVERNANCE.md [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:07 Jenkinsfile [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:07 LICENSE [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 05:07 Makefile [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:07 OWNERS.md [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 05:07 README.md [2022-11-07T05:08:23.674Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION [2022-11-07T05:08:23.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:07 bin [2022-11-07T05:08:23.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 cmd [2022-11-07T05:08:23.674Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 05:08 coverage.out [2022-11-07T05:08:23.675Z] -rw-rw-r-- 1 jenkins jenkins 3420 Nov 7 05:07 go.mod [2022-11-07T05:08:23.675Z] -rw-rw-r-- 1 jenkins jenkins 44985 Nov 7 05:07 go.sum [2022-11-07T05:08:23.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 internal [2022-11-07T05:08:23.675Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:07 snap [2022-11-07T05:08:23.675Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:08:24.111Z] + 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=c45b2c14f631b001c11475974c4a9fc1fed78b60 --label arch=amd64 --label version=0.0.0 . [2022-11-07T05:08:24.111Z] Sending build context to Docker daemon 5.589MB [2022-11-07T05:08:24.111Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:08:24.111Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T05:08:24.111Z] ---> 19ae346c3dc0 [2022-11-07T05:08:24.111Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:08:24.111Z] ---> Running in ec80d2bbc398 [2022-11-07T05:08:24.379Z] Removing intermediate container ec80d2bbc398 [2022-11-07T05:08:24.379Z] ---> 5a3b9ee4a7ac [2022-11-07T05:08:24.379Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:08:24.379Z] ---> Running in e2dbda6d6c80 [2022-11-07T05:08:24.379Z] Removing intermediate container e2dbda6d6c80 [2022-11-07T05:08:24.379Z] ---> d5fca3f021d6 [2022-11-07T05:08:24.379Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:08:24.379Z] ---> Running in 0ae5d098bb72 [2022-11-07T05:08:24.637Z] Removing intermediate container 0ae5d098bb72 [2022-11-07T05:08:24.638Z] ---> aeaf171c740c [2022-11-07T05:08:24.638Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:08:24.638Z] ---> Running in 35a3a0071f41 [2022-11-07T05:08:24.638Z] Removing intermediate container 35a3a0071f41 [2022-11-07T05:08:24.638Z] ---> 52aea63d5732 [2022-11-07T05:08:24.638Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:08:24.638Z] ---> Running in cf31e5145689 [2022-11-07T05:08:24.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:25.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:25.414Z] OK: 216 MiB in 55 packages [2022-11-07T05:08:25.675Z] Removing intermediate container cf31e5145689 [2022-11-07T05:08:25.675Z] ---> f39e513479d9 [2022-11-07T05:08:25.675Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-07T05:08:25.675Z] ---> Running in 27ec5d223094 [2022-11-07T05:08:25.934Z] Removing intermediate container 27ec5d223094 [2022-11-07T05:08:25.934Z] ---> 17aea12959e1 [2022-11-07T05:08:25.934Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T05:08:25.934Z] ---> 19b759009724 [2022-11-07T05:08:25.934Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:08:25.934Z] ---> Running in fb70e5d40402 [2022-11-07T05:08:26.870Z] Removing intermediate container fb70e5d40402 [2022-11-07T05:08:26.870Z] ---> b134e27c8c82 [2022-11-07T05:08:26.870Z] Step 11/24 : COPY . . [2022-11-07T05:08:26.870Z] ---> bfb1dce562a2 [2022-11-07T05:08:26.870Z] Step 12/24 : RUN ${MAKE} [2022-11-07T05:08:26.870Z] ---> Running in 77516c1839fb [2022-11-07T05:08:27.128Z] 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.51 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-07T05:08:49.051Z] Removing intermediate container 77516c1839fb [2022-11-07T05:08:49.051Z] ---> 5652d5532f3a [2022-11-07T05:08:49.051Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T05:08:49.051Z] 3.16: Pulling from library/alpine [2022-11-07T05:08:49.051Z] 213ec9aee27d: Already exists [2022-11-07T05:08:49.051Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T05:08:49.051Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T05:08:49.051Z] ---> 9c6f07244728 [2022-11-07T05:08:49.051Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T05:08:49.051Z] ---> Running in b9353fc57656 [2022-11-07T05:08:49.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:49.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:49.051Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T05:08:49.051Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T05:08:49.051Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T05:08:49.051Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T05:08:49.051Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T05:08:49.051Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T05:08:49.051Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:08:49.051Z] OK: 8 MiB in 20 packages [2022-11-07T05:08:49.051Z] Removing intermediate container b9353fc57656 [2022-11-07T05:08:49.051Z] ---> 05b9f5d73fdf [2022-11-07T05:08:49.051Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-07T05:08:49.051Z] ---> a1deff2fbf78 [2022-11-07T05:08:49.051Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-07T05:08:49.309Z] ---> e7bfe562dce2 [2022-11-07T05:08:49.309Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-07T05:08:49.309Z] ---> 5f84eaf87121 [2022-11-07T05:08:49.309Z] Step 18/24 : EXPOSE 59993 [2022-11-07T05:08:49.567Z] ---> Running in c62015b679f0 [2022-11-07T05:08:49.567Z] Removing intermediate container c62015b679f0 [2022-11-07T05:08:49.567Z] ---> 0222b6567eee [2022-11-07T05:08:49.567Z] Step 19/24 : EXPOSE 161 [2022-11-07T05:08:49.567Z] ---> Running in 15252db78537 [2022-11-07T05:08:49.567Z] Removing intermediate container 15252db78537 [2022-11-07T05:08:49.567Z] ---> 0c2a3b1d3e28 [2022-11-07T05:08:49.567Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-07T05:08:49.828Z] ---> Running in 600b704e912f [2022-11-07T05:08:49.828Z] Removing intermediate container 600b704e912f [2022-11-07T05:08:49.828Z] ---> b09901f0b81d [2022-11-07T05:08:49.828Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T05:08:49.828Z] ---> Running in c52723be9427 [2022-11-07T05:08:49.828Z] Removing intermediate container c52723be9427 [2022-11-07T05:08:49.828Z] ---> 8814acfb68f4 [2022-11-07T05:08:49.828Z] Step 22/24 : LABEL arch=amd64 [2022-11-07T05:08:50.090Z] ---> Running in 87f124e756ec [2022-11-07T05:08:50.090Z] Removing intermediate container 87f124e756ec [2022-11-07T05:08:50.090Z] ---> c07625baa248 [2022-11-07T05:08:50.090Z] Step 23/24 : LABEL git_sha=c45b2c14f631b001c11475974c4a9fc1fed78b60 [2022-11-07T05:08:50.090Z] ---> Running in 9aaf1a9fcf57 [2022-11-07T05:08:50.090Z] Removing intermediate container 9aaf1a9fcf57 [2022-11-07T05:08:50.090Z] ---> 2ea55cff55be [2022-11-07T05:08:50.090Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T05:08:50.350Z] ---> Running in 314b85a682c6 [2022-11-07T05:08:50.350Z] Removing intermediate container 314b85a682c6 [2022-11-07T05:08:50.350Z] ---> 7a502e21ec21 [2022-11-07T05:08:50.350Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T05:08:50.350Z] Successfully built 7a502e21ec21 [2022-11-07T05:08:50.350Z] 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-07T05:08:51.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:08:51.192Z] [2022-11-07T05:08:51.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:08:51.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:08:51.573Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T05:08:51.573Z] 5eb5b503b376: Pulling fs layer [2022-11-07T05:08:51.573Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T05:08:51.573Z] ec43610c2a17: Pulling fs layer [2022-11-07T05:08:51.573Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T05:08:51.573Z] 33b1e0a273af: Pulling fs layer [2022-11-07T05:08:51.573Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T05:08:51.573Z] 2f39f015ded8: Pulling fs layer [2022-11-07T05:08:51.573Z] 3a2ae6a8a46f: Waiting [2022-11-07T05:08:51.573Z] 33b1e0a273af: Waiting [2022-11-07T05:08:51.573Z] 5d3b04190fa2: Waiting [2022-11-07T05:08:51.573Z] 2f39f015ded8: Waiting [2022-11-07T05:08:51.573Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T05:08:51.573Z] 5c69ac0246d0: Download complete [2022-11-07T05:08:51.573Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T05:08:51.573Z] 3a2ae6a8a46f: Download complete [2022-11-07T05:08:51.573Z] 33b1e0a273af: Verifying Checksum [2022-11-07T05:08:51.573Z] 33b1e0a273af: Download complete [2022-11-07T05:08:51.836Z] ec43610c2a17: Verifying Checksum [2022-11-07T05:08:51.836Z] ec43610c2a17: Download complete [2022-11-07T05:08:51.836Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T05:08:51.836Z] 5d3b04190fa2: Download complete [2022-11-07T05:08:51.836Z] 5eb5b503b376: Verifying Checksum [2022-11-07T05:08:51.836Z] 5eb5b503b376: Download complete [2022-11-07T05:08:52.403Z] 2f39f015ded8: Download complete [2022-11-07T05:08:52.970Z] 5eb5b503b376: Pull complete [2022-11-07T05:08:53.229Z] 5c69ac0246d0: Pull complete [2022-11-07T05:08:53.488Z] ec43610c2a17: Pull complete [2022-11-07T05:08:53.748Z] 3a2ae6a8a46f: Pull complete [2022-11-07T05:08:53.748Z] 33b1e0a273af: Pull complete [2022-11-07T05:08:54.008Z] 5d3b04190fa2: Pull complete [2022-11-07T05:08:58.195Z] 2f39f015ded8: Pull complete [2022-11-07T05:08:58.195Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T05:08:58.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:08:58.195Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:08:58.423Z] prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container [2022-11-07T05:08:58.449Z] $ 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-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T05:09:00.192Z] $ docker top 9ae73bd57e7c8745c7dc01f42dffc17b2607530ec757f2972cac4f3720e82b93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:09:00.625Z] ---> job-cost.sh [2022-11-07T05:09:00.625Z] lf-activate-venv: SKIPPING [2022-11-07T05:09:00.625Z] INFO: No Stack... [2022-11-07T05:09:01.193Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T05:09:01.453Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T05:09:01.765Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-203/archives/cost.csv [2022-11-07T05:09:01.765Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T05:09:01.804Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [2022-11-07T05:09:01.809Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] did not exist. Created. [2022-11-07T05:09:01.809Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T05:09:02.198Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T05:09:02.248Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T05:09:02.272Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T05:09:02.345Z] $ docker stop --time=1 9ae73bd57e7c8745c7dc01f42dffc17b2607530ec757f2972cac4f3720e82b93 [2022-11-07T05:09:03.525Z] $ docker rm -f 9ae73bd57e7c8745c7dc01f42dffc17b2607530ec757f2972cac4f3720e82b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T05:10:26.727Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118394 in /w/workspace/gexfoundry_device-snmp-go_PR-203 [Pipeline] { [Pipeline] ws [2022-11-07T05:10:26.772Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T05:10:26.853Z] Selected Git installation does not exist. Using Default [2022-11-07T05:10:26.853Z] The recommended git tool is: NONE [2022-11-07T05:10:32.696Z] using credential edgex-jenkins-ssh [2022-11-07T05:10:32.720Z] Cloning the remote Git repository [2022-11-07T05:10:32.766Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-11-07T05:10:32.842Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-11-07T05:10:32.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-07T05:10:32.980Z] > git --version # timeout=10 [2022-11-07T05:10:33.004Z] > git --version # 'git version 2.25.1' [2022-11-07T05:10:33.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:10:33.054Z] Verifying host key using known hosts file [2022-11-07T05:10:33.251Z] 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-07T05:10:33.263Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T05:10:34.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-07T05:10:34.424Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T05:10:35.918Z] Merging remotes/origin/main commit cc201530981e513eba2542fa850395c651a4a8aa into PR head commit c45b2c14f631b001c11475974c4a9fc1fed78b60 [2022-11-07T05:10:35.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-07T05:10:35.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-07T05:10:35.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:10:35.378Z] Verifying host key using known hosts file [2022-11-07T05:10:35.386Z] 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-07T05:10:35.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T05:10:35.942Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T05:10:35.963Z] > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # timeout=10 [2022-11-07T05:10:36.146Z] Merge succeeded, producing c45b2c14f631b001c11475974c4a9fc1fed78b60 [2022-11-07T05:10:36.146Z] Checking out Revision c45b2c14f631b001c11475974c4a9fc1fed78b60 (PR-203) [2022-11-07T05:10:36.700Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-11-07T05:10:36.763Z] > git --version # timeout=10 [2022-11-07T05:10:36.778Z] > git --version # 'git version 2.25.1' [2022-11-07T05:10:36.806Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:10:36.050Z] > git remote # timeout=10 [2022-11-07T05:10:36.069Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T05:10:36.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:10:36.092Z] Verifying host key using known hosts file [2022-11-07T05:10:36.097Z] 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-07T05:10:36.106Z] > git merge cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 [2022-11-07T05:10:36.131Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T05:10:36.155Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T05:10:36.186Z] > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # timeout=10 [2022-11-07T05:10:37.931Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T05:10:37.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T05:10:37.932Z] Dload Upload Total Spent Left Speed [2022-11-07T05:10:37.932Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-11-07T05:10:38.546Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T05:10:38.902Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T05:10:38.903Z] + sudo tee /etc/docker/daemon.new [2022-11-07T05:10:38.903Z] { [2022-11-07T05:10:38.903Z] "registry-mirrors": [ [2022-11-07T05:10:38.903Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T05:10:38.903Z] ], [2022-11-07T05:10:38.903Z] "bip": "10.250.0.254/24", [2022-11-07T05:10:38.903Z] "hosts": [ [2022-11-07T05:10:38.903Z] "tcp://0.0.0.0:5555", [2022-11-07T05:10:38.903Z] "unix:///var/run/docker.sock" [2022-11-07T05:10:38.903Z] ], [2022-11-07T05:10:38.903Z] "mtu": 1458, [2022-11-07T05:10:38.903Z] "selinux-enabled": true, [2022-11-07T05:10:38.903Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T05:10:38.903Z] } [Pipeline] sh [2022-11-07T05:10:39.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T05:10:39.624Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:10:57.968Z] provisioning config files... [2022-11-07T05:10:57.997Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config17094902096774211939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:10:58.383Z] ---> docker-login.sh [2022-11-07T05:10:58.384Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:10:58.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:58.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:58.977Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:58.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:58.977Z] [2022-11-07T05:10:58.977Z] Login Succeeded [2022-11-07T05:10:58.977Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:10:59.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:59.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:59.519Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:59.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:59.519Z] [2022-11-07T05:10:59.519Z] Login Succeeded [2022-11-07T05:10:59.519Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:10:59.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:59.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:59.790Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:59.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:59.790Z] [2022-11-07T05:10:59.790Z] Login Succeeded [2022-11-07T05:10:59.790Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:11:00.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:11:00.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:11:00.336Z] Configure a credential helper to remove this warning. See [2022-11-07T05:11:00.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:11:00.336Z] [2022-11-07T05:11:00.336Z] Login Succeeded [2022-11-07T05:11:00.336Z] docker.io [2022-11-07T05:11:00.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:11:00.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:11:00.879Z] Configure a credential helper to remove this warning. See [2022-11-07T05:11:00.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:11:00.879Z] [2022-11-07T05:11:00.879Z] Login Succeeded [2022-11-07T05:11:00.879Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:11:00.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T05:11:01.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:11:01.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:11:01.285Z] ========================================================= [2022-11-07T05:11:01.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T05:11:01.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:11:01.773Z] + 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-07T05:11:02.045Z] Sending build context to Docker daemon 2.886MB [2022-11-07T05:11:02.045Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:11:02.045Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T05:11:02.320Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T05:11:02.320Z] 9b18e9b68314: Pulling fs layer [2022-11-07T05:11:02.320Z] 35d82f9e3411: Pulling fs layer [2022-11-07T05:11:02.320Z] e16973657156: Pulling fs layer [2022-11-07T05:11:02.320Z] fc693d55d65f: Pulling fs layer [2022-11-07T05:11:02.320Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T05:11:02.320Z] dda99020689f: Pulling fs layer [2022-11-07T05:11:02.320Z] db1c61fa0a46: Pulling fs layer [2022-11-07T05:11:02.320Z] 891c053d2c06: Pulling fs layer [2022-11-07T05:11:02.320Z] fc693d55d65f: Waiting [2022-11-07T05:11:02.320Z] 7e9fc2657dce: Waiting [2022-11-07T05:11:02.320Z] dda99020689f: Waiting [2022-11-07T05:11:02.320Z] db1c61fa0a46: Waiting [2022-11-07T05:11:02.320Z] 891c053d2c06: Waiting [2022-11-07T05:11:02.320Z] e16973657156: Verifying Checksum [2022-11-07T05:11:02.320Z] e16973657156: Download complete [2022-11-07T05:11:02.320Z] 35d82f9e3411: Download complete [2022-11-07T05:11:02.320Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T05:11:02.320Z] 7e9fc2657dce: Download complete [2022-11-07T05:11:02.320Z] dda99020689f: Verifying Checksum [2022-11-07T05:11:02.320Z] dda99020689f: Download complete [2022-11-07T05:11:02.320Z] 9b18e9b68314: Verifying Checksum [2022-11-07T05:11:02.320Z] 9b18e9b68314: Download complete [2022-11-07T05:11:03.299Z] 9b18e9b68314: Pull complete [2022-11-07T05:11:03.570Z] 891c053d2c06: Verifying Checksum [2022-11-07T05:11:03.570Z] 891c053d2c06: Download complete [2022-11-07T05:11:03.850Z] 35d82f9e3411: Pull complete [2022-11-07T05:11:04.450Z] e16973657156: Pull complete [2022-11-07T05:11:04.725Z] db1c61fa0a46: Verifying Checksum [2022-11-07T05:11:04.725Z] db1c61fa0a46: Download complete [2022-11-07T05:11:05.325Z] fc693d55d65f: Verifying Checksum [2022-11-07T05:11:05.325Z] fc693d55d65f: Download complete [2022-11-07T05:11:17.671Z] fc693d55d65f: Pull complete [2022-11-07T05:11:17.671Z] 7e9fc2657dce: Pull complete [2022-11-07T05:11:17.671Z] dda99020689f: Pull complete [2022-11-07T05:11:21.949Z] db1c61fa0a46: Pull complete [2022-11-07T05:11:23.903Z] 891c053d2c06: Pull complete [2022-11-07T05:11:23.903Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T05:11:23.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T05:11:23.903Z] ---> f96f9c87975a [2022-11-07T05:11:23.903Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:11:25.873Z] ---> Running in cae497e17432 [2022-11-07T05:11:25.873Z] Removing intermediate container cae497e17432 [2022-11-07T05:11:25.873Z] ---> f35008437a27 [2022-11-07T05:11:25.873Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:11:25.873Z] ---> Running in 46974d0349f4 [2022-11-07T05:11:26.144Z] Removing intermediate container 46974d0349f4 [2022-11-07T05:11:26.144Z] ---> cd9f593e21a1 [2022-11-07T05:11:26.144Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:11:26.417Z] ---> Running in 3c859d44e158 [2022-11-07T05:11:26.733Z] Removing intermediate container 3c859d44e158 [2022-11-07T05:11:26.733Z] ---> 5a231b4475fb [2022-11-07T05:11:26.733Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:11:26.733Z] ---> Running in 3a6af632e199 [2022-11-07T05:11:27.021Z] Removing intermediate container 3a6af632e199 [2022-11-07T05:11:27.021Z] ---> 8bd958b87664 [2022-11-07T05:11:27.021Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:11:27.301Z] ---> Running in 540bb014c565 [2022-11-07T05:11:28.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:11:28.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:11:29.445Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T05:11:29.717Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T05:11:29.717Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T05:11:29.717Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T05:11:29.717Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:11:29.717Z] OK: 226 MiB in 55 packages [2022-11-07T05:11:30.680Z] Removing intermediate container 540bb014c565 [2022-11-07T05:11:30.680Z] ---> 85e6754ed8e0 [2022-11-07T05:11:30.680Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-07T05:11:30.953Z] ---> Running in cce6f31c2c00 [2022-11-07T05:11:31.223Z] Removing intermediate container cce6f31c2c00 [2022-11-07T05:11:31.223Z] ---> 3e1da6fc76dd [2022-11-07T05:11:31.223Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T05:11:31.809Z] ---> 5399d81f4850 [2022-11-07T05:11:31.809Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:11:31.809Z] ---> Running in d1f8ed7a1d4a [2022-11-07T05:12:28.265Z] Removing intermediate container d1f8ed7a1d4a [2022-11-07T05:12:28.265Z] ---> 15f571a87f55 [2022-11-07T05:12:28.265Z] Step 11/12 : COPY . . [2022-11-07T05:12:28.265Z] ---> bf699d618a76 [2022-11-07T05:12:28.265Z] Step 12/12 : RUN ${MAKE} [2022-11-07T05:12:28.265Z] ---> Running in 33b256039a30 [2022-11-07T05:12:28.265Z] noop [2022-11-07T05:12:28.265Z] Removing intermediate container 33b256039a30 [2022-11-07T05:12:28.265Z] ---> b5e629b52cc2 [2022-11-07T05:12:28.265Z] Successfully built b5e629b52cc2 [2022-11-07T05:12:28.265Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:12:28.730Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T05:12:28.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:12:29.001Z] prd-ubuntu20.04-docker-arm64-4c-16g-118394 does not seem to be running inside a container [2022-11-07T05:12:29.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T05:12:30.630Z] $ docker top 4dab238a42c94f812b24e696cb9b765891f34af0c83c4ea13aaf22714736c4c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:12:31.620Z] + go version [2022-11-07T05:12:31.620Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T05:12:31.659Z] $ docker stop --time=1 4dab238a42c94f812b24e696cb9b765891f34af0c83c4ea13aaf22714736c4c8 [2022-11-07T05:12:33.348Z] $ docker rm -f 4dab238a42c94f812b24e696cb9b765891f34af0c83c4ea13aaf22714736c4c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:12:34.230Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T05:12:34.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:12:34.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-118394 does not seem to be running inside a container [2022-11-07T05:12:34.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T05:12:35.850Z] $ docker top 1c8ccf3087221e96e14b4c34e122129a5c49ef9707ebcc704e21da87f96761b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:12:36.754Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T05:12:37.467Z] + make test [2022-11-07T05:12:37.467Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T05:12:39.417Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-07T05:14:16.119Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-07T05:14:16.119Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.080s coverage: 0.0% of statements [2022-11-07T05:14:16.119Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T05:14:16.120Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T05:14:38.227Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T05:14:38.227Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T05:14:38.227Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T05:14:38.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T05:14:38.305Z] $ docker stop --time=1 1c8ccf3087221e96e14b4c34e122129a5c49ef9707ebcc704e21da87f96761b1 [2022-11-07T05:14:40.254Z] $ docker rm -f 1c8ccf3087221e96e14b4c34e122129a5c49ef9707ebcc704e21da87f96761b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:14:41.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T05:14:41.357Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T05:14:41.798Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:14:42.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T05:14:42.756Z] + ls -al . [2022-11-07T05:14:42.756Z] total 176 [2022-11-07T05:14:42.756Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:12 . [2022-11-07T05:14:42.756Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:10 .. [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:10 .dockerignore [2022-11-07T05:14:42.756Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:10 .git [2022-11-07T05:14:42.756Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 .github [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 05:10 .gitignore [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:10 .golangci.yml [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 05:10 Attribution.txt [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 05:10 CHANGELOG.md [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 05:10 Dockerfile [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:10 GOVERNANCE.md [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:10 Jenkinsfile [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:10 LICENSE [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 05:10 Makefile [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:10 OWNERS.md [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 05:10 README.md [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION [2022-11-07T05:14:42.756Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:10 bin [2022-11-07T05:14:42.756Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 cmd [2022-11-07T05:14:42.756Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 05:14 coverage.out [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 3420 Nov 7 05:10 go.mod [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 44985 Nov 7 05:10 go.sum [2022-11-07T05:14:42.756Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 internal [2022-11-07T05:14:42.756Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:10 snap [2022-11-07T05:14:42.756Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:14:43.171Z] + 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=c45b2c14f631b001c11475974c4a9fc1fed78b60 --label arch=arm64 --label version=0.0.0 . [2022-11-07T05:14:44.134Z] Sending build context to Docker daemon 2.894MB [2022-11-07T05:14:44.405Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:14:44.405Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T05:14:44.405Z] ---> b5e629b52cc2 [2022-11-07T05:14:44.405Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:14:44.405Z] ---> Running in 5c97dffc2216 [2022-11-07T05:14:44.677Z] Removing intermediate container 5c97dffc2216 [2022-11-07T05:14:44.677Z] ---> 6b1452762fe4 [2022-11-07T05:14:44.677Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:14:44.948Z] ---> Running in b3f1a1f59094 [2022-11-07T05:14:45.229Z] Removing intermediate container b3f1a1f59094 [2022-11-07T05:14:45.229Z] ---> d841f8664a93 [2022-11-07T05:14:45.229Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:14:45.229Z] ---> Running in e474c53f144a [2022-11-07T05:14:45.817Z] Removing intermediate container e474c53f144a [2022-11-07T05:14:45.817Z] ---> c79bd8ccd87f [2022-11-07T05:14:45.817Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:14:45.817Z] ---> Running in f8ef2bb60d99 [2022-11-07T05:14:46.097Z] Removing intermediate container f8ef2bb60d99 [2022-11-07T05:14:46.097Z] ---> afa4ab1d13f2 [2022-11-07T05:14:46.097Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:14:46.097Z] ---> Running in c07b256e7c9e [2022-11-07T05:14:47.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:14:47.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:14:48.937Z] OK: 226 MiB in 55 packages [2022-11-07T05:14:49.950Z] Removing intermediate container c07b256e7c9e [2022-11-07T05:14:49.950Z] ---> c1a47bb69b4f [2022-11-07T05:14:49.950Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-07T05:14:49.950Z] ---> Running in 2eac3ab4229c [2022-11-07T05:14:50.216Z] Removing intermediate container 2eac3ab4229c [2022-11-07T05:14:50.216Z] ---> 6426fa470f34 [2022-11-07T05:14:50.216Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T05:14:50.801Z] ---> 7ad48a93127f [2022-11-07T05:14:50.801Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:14:50.801Z] ---> Running in b7f660847251 [2022-11-07T05:14:52.744Z] Removing intermediate container b7f660847251 [2022-11-07T05:14:52.744Z] ---> 1d640ffbce35 [2022-11-07T05:14:52.744Z] Step 11/24 : COPY . . [2022-11-07T05:14:54.151Z] ---> a5a5d6b3e419 [2022-11-07T05:14:54.151Z] Step 12/24 : RUN ${MAKE} [2022-11-07T05:14:54.151Z] ---> Running in 9c0e87068f34 [2022-11-07T05:14:55.111Z] 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.51 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-07T05:17:31.860Z] Removing intermediate container 9c0e87068f34 [2022-11-07T05:17:31.860Z] ---> f90722c407f6 [2022-11-07T05:17:31.860Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T05:17:32.444Z] 3.16: Pulling from library/alpine [2022-11-07T05:17:32.444Z] 9b18e9b68314: Already exists [2022-11-07T05:17:32.720Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T05:17:32.720Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T05:17:32.720Z] ---> a6215f271958 [2022-11-07T05:17:32.720Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T05:17:32.720Z] ---> Running in d012dd2758e6 [2022-11-07T05:17:34.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:17:34.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:17:35.103Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T05:17:35.103Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T05:17:35.103Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T05:17:35.376Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T05:17:35.376Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T05:17:35.376Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T05:17:35.376Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:17:35.376Z] OK: 8 MiB in 20 packages [2022-11-07T05:17:36.345Z] Removing intermediate container d012dd2758e6 [2022-11-07T05:17:36.345Z] ---> 366641f6c3f4 [2022-11-07T05:17:36.345Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-07T05:17:37.758Z] ---> a845af2e5006 [2022-11-07T05:17:37.758Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-07T05:17:38.348Z] ---> 703844b2e7cc [2022-11-07T05:17:38.348Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-07T05:17:38.934Z] ---> 3d3aef91be58 [2022-11-07T05:17:38.934Z] Step 18/24 : EXPOSE 59993 [2022-11-07T05:17:38.934Z] ---> Running in 20c807367877 [2022-11-07T05:17:39.519Z] Removing intermediate container 20c807367877 [2022-11-07T05:17:39.519Z] ---> 9672dd7b53f4 [2022-11-07T05:17:39.519Z] Step 19/24 : EXPOSE 161 [2022-11-07T05:17:39.519Z] ---> Running in 52820b67a2fc [2022-11-07T05:17:39.800Z] Removing intermediate container 52820b67a2fc [2022-11-07T05:17:39.800Z] ---> f9770f018745 [2022-11-07T05:17:39.800Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-07T05:17:39.800Z] ---> Running in ccf9a481f158 [2022-11-07T05:17:40.067Z] Removing intermediate container ccf9a481f158 [2022-11-07T05:17:40.067Z] ---> 222e940f1733 [2022-11-07T05:17:40.067Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T05:17:40.067Z] ---> Running in e1afb7b814ba [2022-11-07T05:17:40.652Z] Removing intermediate container e1afb7b814ba [2022-11-07T05:17:40.652Z] ---> 2c7e0f0df3f4 [2022-11-07T05:17:40.652Z] Step 22/24 : LABEL arch=arm64 [2022-11-07T05:17:40.652Z] ---> Running in 21436e54175b [2022-11-07T05:17:40.921Z] Removing intermediate container 21436e54175b [2022-11-07T05:17:40.921Z] ---> 69147cb9a000 [2022-11-07T05:17:40.921Z] Step 23/24 : LABEL git_sha=c45b2c14f631b001c11475974c4a9fc1fed78b60 [2022-11-07T05:17:40.921Z] ---> Running in c96093746841 [2022-11-07T05:17:41.189Z] Removing intermediate container c96093746841 [2022-11-07T05:17:41.189Z] ---> 2c9844566fea [2022-11-07T05:17:41.189Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T05:17:41.189Z] ---> Running in 42266fd376cc [2022-11-07T05:17:41.457Z] Removing intermediate container 42266fd376cc [2022-11-07T05:17:41.457Z] ---> 728e5aa1a17d [2022-11-07T05:17:41.457Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T05:17:41.724Z] Successfully built 728e5aa1a17d [2022-11-07T05:17:41.724Z] 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-07T05:17:42.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:17:42.510Z] [2022-11-07T05:17:42.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:17:42.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:17:42.920Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T05:17:42.920Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T05:17:42.920Z] 04944245beec: Pulling fs layer [2022-11-07T05:17:42.920Z] 699f458cf7ca: Pulling fs layer [2022-11-07T05:17:42.920Z] 765212b225bb: Pulling fs layer [2022-11-07T05:17:42.920Z] f23df028b6ca: Pulling fs layer [2022-11-07T05:17:42.920Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T05:17:42.920Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T05:17:42.920Z] f23df028b6ca: Waiting [2022-11-07T05:17:42.920Z] 765212b225bb: Waiting [2022-11-07T05:17:42.920Z] d65c8cfc05b1: Waiting [2022-11-07T05:17:42.920Z] 2437ff75d9bd: Waiting [2022-11-07T05:17:43.191Z] 04944245beec: Verifying Checksum [2022-11-07T05:17:43.191Z] 04944245beec: Download complete [2022-11-07T05:17:43.191Z] 765212b225bb: Verifying Checksum [2022-11-07T05:17:43.191Z] 765212b225bb: Download complete [2022-11-07T05:17:43.191Z] f23df028b6ca: Verifying Checksum [2022-11-07T05:17:43.191Z] f23df028b6ca: Download complete [2022-11-07T05:17:43.191Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T05:17:43.191Z] d65c8cfc05b1: Download complete [2022-11-07T05:17:43.461Z] 699f458cf7ca: Download complete [2022-11-07T05:17:43.732Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T05:17:43.732Z] 8998bd30e6a1: Download complete [2022-11-07T05:17:46.321Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T05:17:46.321Z] 2437ff75d9bd: Download complete [2022-11-07T05:17:47.728Z] 8998bd30e6a1: Pull complete [2022-11-07T05:17:48.314Z] 04944245beec: Pull complete [2022-11-07T05:17:49.722Z] 699f458cf7ca: Pull complete [2022-11-07T05:17:49.990Z] 765212b225bb: Pull complete [2022-11-07T05:17:50.576Z] f23df028b6ca: Pull complete [2022-11-07T05:17:50.844Z] d65c8cfc05b1: Pull complete [2022-11-07T05:18:05.835Z] 2437ff75d9bd: Pull complete [2022-11-07T05:18:05.835Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T05:18:05.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:18:05.835Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:18:06.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-118394 does not seem to be running inside a container [2022-11-07T05:18:06.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T05:18:08.682Z] $ docker top 0449a52102590920b8c680f339e49a9e602b9c16a7657453ddcaae49cf23f03a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:09.294Z] ---> job-cost.sh [2022-11-07T05:18:09.570Z] lf-activate-venv: SKIPPING [2022-11-07T05:18:09.570Z] INFO: No Stack... [2022-11-07T05:18:09.862Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T05:18:10.842Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T05:18:11.184Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-11-07T05:18:11.453Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T05:18:11.535Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [2022-11-07T05:18:11.540Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] did not exist. Created. [2022-11-07T05:18:11.540Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T05:18:11.945Z] /w/workspace/device-snmp-go/1@tmp/durable-f5275454/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T05:18:12.308Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T05:18:12.606Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T05:18:12.642Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T05:18:12.657Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T05:18:12.729Z] $ docker stop --time=1 0449a52102590920b8c680f339e49a9e602b9c16a7657453ddcaae49cf23f03a [2022-11-07T05:18:14.226Z] $ docker rm -f 0449a52102590920b8c680f339e49a9e602b9c16a7657453ddcaae49cf23f03a [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-07T05:18:15.160Z] provisioning config files... [2022-11-07T05:18:15.167Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config7994499456440764221tmp [Pipeline] { [Pipeline] sh [2022-11-07T05:18:15.501Z] + set +x [2022-11-07T05:18:15.501Z] + bash -s -- [2022-11-07T05:18:15.501Z] + curl -s https://codecov.io/bash [2022-11-07T05:18:15.501Z] [2022-11-07T05:18:15.501Z] _____ _ [2022-11-07T05:18:15.501Z] / ____| | | [2022-11-07T05:18:15.501Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T05:18:15.501Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T05:18:15.501Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T05:18:15.501Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T05:18:15.501Z] Bash-1.0.6 [2022-11-07T05:18:15.501Z] [2022-11-07T05:18:15.501Z] [2022-11-07T05:18:15.501Z] ==> git version 2.25.1 found [2022-11-07T05:18:15.501Z] ==> 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-07T05:18:15.501Z] Release-Date: 2020-01-08 [2022-11-07T05:18:15.501Z] 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-07T05:18:15.501Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T05:18:15.501Z] ==> Jenkins CI detected. [2022-11-07T05:18:15.501Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-203 [2022-11-07T05:18:15.501Z] project root: . [2022-11-07T05:18:15.501Z] --> token set from env [2022-11-07T05:18:15.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T05:18:15.501Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T05:18:15.501Z] ==> Python coveragepy not found [2022-11-07T05:18:15.501Z] ==> Searching for coverage reports in: [2022-11-07T05:18:15.501Z] + . [2022-11-07T05:18:15.501Z] -> Found 1 reports [2022-11-07T05:18:15.501Z] ==> Detecting git/mercurial file structure [2022-11-07T05:18:15.501Z] ==> Reading reports [2022-11-07T05:18:15.501Z] + ./coverage.out bytes=7631 [2022-11-07T05:18:15.501Z] ==> Appending adjustments [2022-11-07T05:18:15.501Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T05:18:15.762Z] + Found adjustments [2022-11-07T05:18:15.762Z] ==> Gzipping contents [2022-11-07T05:18:15.762Z] 4.0K /tmp/codecov.7XP5MB.gz [2022-11-07T05:18:15.762Z] ==> Uploading reports [2022-11-07T05:18:15.762Z] url: https://codecov.io [2022-11-07T05:18:15.762Z] query: branch=PR-203&commit=c45b2c14f631b001c11475974c4a9fc1fed78b60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=203&job=&cmd_args= [2022-11-07T05:18:15.762Z] -> Pinging Codecov [2022-11-07T05:18:15.762Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-203&commit=c45b2c14f631b001c11475974c4a9fc1fed78b60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=203&job=&cmd_args= [2022-11-07T05:18:16.331Z] -> Uploading to [2022-11-07T05:18:16.331Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/6C56EA5C29638FB4528AC87E60AF5AE0/c45b2c14f631b001c11475974c4a9fc1fed78b60/e36be526-10dc-420c-8aa1-2ad34ae9d99d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T051815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e67435eb2153ffc85871bf507fdc6a3e5bdf01b1354174fa6f6d4e42a91191ad [2022-11-07T05:18:16.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T05:18:16.331Z] Dload Upload Total Spent Left Speed [2022-11-07T05:18:16.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6767 --:--:-- --:--:-- --:--:-- 6767 [2022-11-07T05:18:16.331Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] } [2022-11-07T05:18:16.355Z] 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-07T05:18:18.060Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-203/archives ] [2022-11-07T05:18:18.060Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-203/archives [2022-11-07T05:18:18.060Z] total 16 [2022-11-07T05:18:18.060Z] drwxr-xr-x 3 root root 4096 Nov 7 05:09 . [2022-11-07T05:18:18.060Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:09 .. [2022-11-07T05:18:18.060Z] drwxr-xr-x 2 root root 4096 Nov 7 05:09 cost [2022-11-07T05:18:18.060Z] -rw-r--r-- 1 root root 86 Nov 7 05:09 cost.csv [2022-11-07T05:18:18.060Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-203/archives [2022-11-07T05:18:18.060Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-203/archives [2022-11-07T05:18:18.060Z] total 16 [2022-11-07T05:18:18.060Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:09 . [2022-11-07T05:18:18.060Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:09 .. [2022-11-07T05:18:18.060Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 05:09 cost [2022-11-07T05:18:18.060Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 05:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:18.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:19.272Z] ---> package-listing.sh [2022-11-07T05:18:19.272Z] ++ facter osfamily [2022-11-07T05:18:19.272Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T05:18:19.533Z] + OS_FAMILY=debian [2022-11-07T05:18:19.533Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-203 [2022-11-07T05:18:19.533Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T05:18:19.533Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T05:18:19.533Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T05:18:19.533Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T05:18:19.533Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-203 ']' [2022-11-07T05:18:19.533Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T05:18:19.533Z] + case "${OS_FAMILY}" in [2022-11-07T05:18:19.533Z] + dpkg -l [2022-11-07T05:18:19.533Z] + grep '^ii' [2022-11-07T05:18:19.533Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T05:18:19.533Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T05:18:19.533Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T05:18:19.533Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-203 ']' [2022-11-07T05:18:19.533Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-203/archives/ [2022-11-07T05:18:19.533Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-203/archives/ [Pipeline] echo [2022-11-07T05:18:19.566Z] 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-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T05:18:19.855Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:18:20.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:18:20.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:18:20.698Z] prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container [2022-11-07T05:18:20.728Z] $ 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-203/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-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T05:18:20.945Z] $ docker top d2023520f9b293c1e3a8c5d23285be384b0676a3a0f473734042b039d6879706 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:18:21.335Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T05:18:21.643Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T05:18:21.951Z] + ls /var/log/sa-host [2022-11-07T05:18:21.951Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:18:22.088Z] provisioning config files... [2022-11-07T05:18:22.095Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config7976241646337546207tmp [Pipeline] { [Pipeline] echo [2022-11-07T05:18:22.146Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:22.459Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T05:18:22.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:22.892Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T05:18:22.923Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:23.241Z] ---> sudo-logs.sh [2022-11-07T05:18:23.241Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T05:18:23.330Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:23.645Z] ---> job-cost.sh [2022-11-07T05:18:23.645Z] lf-activate-venv: SKIPPING [2022-11-07T05:18:23.645Z] DEBUG: total: 0.2199999988079071 [2022-11-07T05:18:23.645Z] INFO: Retrieving Stack Cost... [2022-11-07T05:18:24.216Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T05:18:24.475Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T05:18:24.506Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:24.825Z] ---> logs-deploy.sh [2022-11-07T05:18:24.825Z] lf-activate-venv: SKIPPING [2022-11-07T05:18:24.825Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-203/1 [2022-11-07T05:18:24.825Z] INFO: archiving workspace using pattern(s): [2022-11-07T05:18:25.759Z] Archives upload complete. [2022-11-07T05:18:25.759Z] INFO: archiving logs to Nexus [2022-11-07T05:18:26.344Z] ---> uname -a: [2022-11-07T05:18:26.344Z] Linux prd-ubuntu20-04-docker-8c-8g-118389 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] ---> lscpu: [2022-11-07T05:18:26.344Z] Architecture: x86_64 [2022-11-07T05:18:26.344Z] CPU op-mode(s): 32-bit, 64-bit [2022-11-07T05:18:26.344Z] Byte Order: Little Endian [2022-11-07T05:18:26.344Z] Address sizes: 40 bits physical, 48 bits virtual [2022-11-07T05:18:26.344Z] CPU(s): 8 [2022-11-07T05:18:26.344Z] On-line CPU(s) list: 0-7 [2022-11-07T05:18:26.344Z] Thread(s) per core: 1 [2022-11-07T05:18:26.344Z] Core(s) per socket: 1 [2022-11-07T05:18:26.344Z] Socket(s): 8 [2022-11-07T05:18:26.344Z] NUMA node(s): 1 [2022-11-07T05:18:26.344Z] Vendor ID: AuthenticAMD [2022-11-07T05:18:26.344Z] CPU family: 23 [2022-11-07T05:18:26.344Z] Model: 49 [2022-11-07T05:18:26.344Z] Model name: AMD EPYC-Rome Processor [2022-11-07T05:18:26.344Z] Stepping: 0 [2022-11-07T05:18:26.344Z] CPU MHz: 2799.998 [2022-11-07T05:18:26.344Z] BogoMIPS: 5599.99 [2022-11-07T05:18:26.344Z] Virtualization: AMD-V [2022-11-07T05:18:26.344Z] Hypervisor vendor: KVM [2022-11-07T05:18:26.344Z] Virtualization type: full [2022-11-07T05:18:26.344Z] L1d cache: 256 KiB [2022-11-07T05:18:26.344Z] L1i cache: 256 KiB [2022-11-07T05:18:26.344Z] L2 cache: 4 MiB [2022-11-07T05:18:26.344Z] L3 cache: 128 MiB [2022-11-07T05:18:26.344Z] NUMA node0 CPU(s): 0-7 [2022-11-07T05:18:26.344Z] Vulnerability Itlb multihit: Not affected [2022-11-07T05:18:26.344Z] Vulnerability L1tf: Not affected [2022-11-07T05:18:26.344Z] Vulnerability Mds: Not affected [2022-11-07T05:18:26.344Z] Vulnerability Meltdown: Not affected [2022-11-07T05:18:26.344Z] Vulnerability Mmio stale data: Not affected [2022-11-07T05:18:26.344Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-11-07T05:18:26.344Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-11-07T05:18:26.344Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-11-07T05:18:26.344Z] Vulnerability Srbds: Not affected [2022-11-07T05:18:26.344Z] Vulnerability Tsx async abort: Not affected [2022-11-07T05:18:26.344Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] ---> nproc: [2022-11-07T05:18:26.344Z] 8 [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] ---> df -h: [2022-11-07T05:18:26.344Z] Filesystem Size Used Avail Use% Mounted on [2022-11-07T05:18:26.344Z] overlay 155G 12G 144G 8% / [2022-11-07T05:18:26.344Z] tmpfs 64M 0 64M 0% /dev [2022-11-07T05:18:26.344Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-11-07T05:18:26.344Z] shm 64M 0 64M 0% /dev/shm [2022-11-07T05:18:26.344Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] ---> sar -b -r -n DEV: [2022-11-07T05:18:26.344Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118389) 11/07/22 _x86_64_ (8 CPU) [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] 05:06:19 LINUX RESTART (8 CPU) [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] 05:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2022-11-07T05:18:26.344Z] 05:08:01 226.50 11.54 214.96 0.00 1820.94 171226.43 0.00 [2022-11-07T05:18:26.344Z] 05:09:01 168.46 0.22 168.24 0.00 12.00 44654.96 0.00 [2022-11-07T05:18:26.344Z] 05:10:01 3.67 0.02 3.65 0.00 0.13 58.39 0.00 [2022-11-07T05:18:26.344Z] 05:11:01 1.57 0.00 1.57 0.00 0.00 17.34 0.00 [2022-11-07T05:18:26.344Z] 05:12:01 38.61 9.33 29.28 0.00 2884.32 4800.00 0.00 [2022-11-07T05:18:26.344Z] 05:13:01 2.42 0.00 2.42 0.00 0.00 27.60 0.00 [2022-11-07T05:18:26.344Z] 05:14:01 1.03 0.00 1.03 0.00 0.00 12.00 0.00 [2022-11-07T05:18:26.344Z] 05:15:01 1.75 0.00 1.75 0.00 0.00 19.46 0.00 [2022-11-07T05:18:26.344Z] 05:16:01 1.42 0.00 1.42 0.00 0.00 15.20 0.00 [2022-11-07T05:18:26.344Z] 05:17:01 2.25 0.02 2.23 0.00 0.13 35.19 0.00 [2022-11-07T05:18:26.344Z] 05:18:01 1.20 0.00 1.20 0.00 0.00 13.73 0.00 [2022-11-07T05:18:26.344Z] Average: 40.53 1.91 38.62 0.00 426.76 19852.40 0.00 [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] 05:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-11-07T05:18:26.344Z] 05:08:01 28417104 31457204 842848 2.56 137600 3115556 2266248 6.68 1238144 2789272 5248 [2022-11-07T05:18:26.344Z] 05:09:01 27765412 31554108 743876 2.26 150712 3794676 1799684 5.30 1226940 3391948 312 [2022-11-07T05:18:26.344Z] 05:10:01 27785968 31574396 725636 2.21 150808 3794544 1740968 5.13 1217504 3383224 12 [2022-11-07T05:18:26.344Z] 05:11:01 27785648 31574168 725564 2.21 150844 3794544 1740968 5.13 1218120 3383224 16 [2022-11-07T05:18:26.344Z] 05:12:01 27492516 31557744 728512 2.22 169264 4043300 1779596 5.24 1368880 3497848 228 [2022-11-07T05:18:26.344Z] 05:13:01 27494700 31559920 726356 2.21 169336 4043304 1762760 5.20 1368704 3497808 176 [2022-11-07T05:18:26.344Z] 05:14:01 27504732 31570020 716220 2.18 169372 4043308 1762760 5.20 1358212 3497816 172 [2022-11-07T05:18:26.344Z] 05:15:01 27504976 31570312 715944 2.18 169436 4043308 1762760 5.20 1357704 3497824 8 [2022-11-07T05:18:26.344Z] 05:16:01 27505180 31570576 715608 2.18 169512 4043304 1762760 5.20 1357760 3497832 8 [2022-11-07T05:18:26.344Z] 05:17:01 27504524 31570112 716092 2.18 169616 4043312 1762760 5.20 1357916 3497884 16 [2022-11-07T05:18:26.344Z] 05:18:01 27504300 31570076 715804 2.18 169656 4043436 1762760 5.20 1358156 3498012 12 [2022-11-07T05:18:26.344Z] Average: 27660460 31557149 733860 2.23 161469 3891145 1809457 5.33 1311640 3402972 564 [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z] 05:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-11-07T05:18:26.344Z] 05:08:01 docker0 130.43 190.80 11.40 1851.13 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:08:01 ens3 517.27 326.28 7709.56 55.43 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:08:01 lo 6.10 6.10 0.59 0.59 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:08:01 veth83ff7ca 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:09:01 docker0 4.08 9.18 0.26 98.57 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:09:01 ens3 154.47 110.38 2638.24 96.38 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:09:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:10:01 ens3 6.97 3.83 5.74 2.23 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:11:01 ens3 2.08 1.03 4.54 0.43 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:12:01 ens3 89.42 54.42 1314.39 4.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:12:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:13:01 ens3 0.20 0.15 0.01 0.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:14:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:15:01 ens3 0.27 0.12 0.02 0.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:16:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:17:01 ens3 0.33 0.20 0.09 0.07 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:18:01 ens3 0.18 0.00 0.01 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] 05:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] Average: docker0 12.05 17.92 1.04 174.73 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] Average: ens3 69.44 44.71 1051.13 14.35 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] Average: lo 0.84 0.84 0.08 0.08 0.00 0.00 0.00 0.00 [2022-11-07T05:18:26.344Z] [2022-11-07T05:18:26.344Z]