Pull request #200 updated Pull request #200 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b rather than 46f9372487fc1fab33374bf7bf8d5f258f9e4986 Obtained Jenkinsfile from dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 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-ssh10905724595145821644.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13515403951980970304.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9070997439698557720.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh10999515499887453604.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9669875145247705506.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117258 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [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-200 # 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 Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit 46f9372487fc1fab33374bf7bf8d5f258f9e4986 Merge succeeded, producing 46f9372487fc1fab33374bf7bf8d5f258f9e4986 Checking out Revision 46f9372487fc1fab33374bf7bf8d5f258f9e4986 (PR-200) > 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/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # 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 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 Commit message: "fix spelling" > git rev-list --no-walk 8c35f609cce998e64b9585d07d2e76bd384f8bf8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T19:36:19.101Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T19:36:19.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T19:36:19.177Z] ========================================================= [2022-10-26T19:36:19.177Z] EdgeX Global Pipelines Version Info [2022-10-26T19:36:19.177Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:19.897Z] ------------------- [2022-10-26T19:36:19.897Z] stable info: [2022-10-26T19:36:19.897Z] ------------------- [2022-10-26T19:36:19.897Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T19:36:19.897Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:19.897Z] Message: update stable to v1.0.243 [2022-10-26T19:36:20.468Z] ------------------- [2022-10-26T19:36:20.468Z] experimental info: [2022-10-26T19:36:20.468Z] ------------------- [2022-10-26T19:36:20.468Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T19:36:20.468Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:20.468Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T19:36:20.628Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-26T19:36:20.644Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-26T19:36:20.654Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T19:36:20.665Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T19:36:20.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T19:36:20.690Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T19:36:20.704Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T19:36:20.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T19:36:20.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T19:36:20.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T19:36:20.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T19:36:20.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-26T19:36:20.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T19:36:20.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T19:36:20.790Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:20.805Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:20.818Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:20.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:20.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T19:36:20.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T19:36:20.864Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T19:36:20.875Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T19:36:20.890Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T19:36:20.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T19:36:20.917Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T19:36:20.931Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T19:36:20.942Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T19:36:20.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo [2022-10-26T19:36:20.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo [2022-10-26T19:36:20.980Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo [2022-10-26T19:36:20.990Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo [2022-10-26T19:36:21.003Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46f9372 [Pipeline] echo [2022-10-26T19:36:21.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:36:21.061Z] provisioning config files... [2022-10-26T19:36:21.076Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config4310462497932281746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:21.389Z] ---> docker-login.sh [2022-10-26T19:36:21.389Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:21.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:21.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:21.913Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:21.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:21.913Z] [2022-10-26T19:36:21.913Z] Login Succeeded [2022-10-26T19:36:21.913Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:21.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:21.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:21.913Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:21.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:21.913Z] [2022-10-26T19:36:21.913Z] Login Succeeded [2022-10-26T19:36:21.913Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:21.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:21.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:21.913Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:21.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:21.913Z] [2022-10-26T19:36:21.913Z] Login Succeeded [2022-10-26T19:36:21.913Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:22.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:22.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:22.172Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:22.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:22.172Z] [2022-10-26T19:36:22.172Z] Login Succeeded [2022-10-26T19:36:22.172Z] docker.io [2022-10-26T19:36:22.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:22.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:22.432Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:22.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:22.432Z] [2022-10-26T19:36:22.432Z] Login Succeeded [2022-10-26T19:36:22.432Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:22.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T19:36:22.808Z] + git rev-list -1 --merges 46f9372487fc1fab33374bf7bf8d5f258f9e4986~1..46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo [2022-10-26T19:36:22.841Z] -----------> git rev-list -1 --merges 46f9372487fc1fab33374bf7bf8d5f258f9e4986~1..46f9372487fc1fab33374bf7bf8d5f258f9e4986 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [false] [Pipeline] sh [2022-10-26T19:36:23.126Z] + git log --format=format:%s -1 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo [2022-10-26T19:36:23.136Z] ========================================================= [2022-10-26T19:36:23.136Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T19:36:23.136Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:36:23.467Z] + git log --format=format:%s -1 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo [2022-10-26T19:36:23.478Z] [semverPrep] GIT_COMMIT: 46f9372487fc1fab33374bf7bf8d5f258f9e4986, Commit Message: fix spelling [Pipeline] echo [2022-10-26T19:36:23.487Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T19:36:23.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.864Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.864Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T19:36:23.864Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.864Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T19:36:23.864Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.864Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:24.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:24.303Z] [2022-10-26T19:36:24.303Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:24.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:24.622Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T19:36:24.622Z] b85a868b505f: Pulling fs layer [2022-10-26T19:36:24.622Z] e2be974225ed: Pulling fs layer [2022-10-26T19:36:24.622Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T19:36:24.622Z] 988bab9f4d93: Pulling fs layer [2022-10-26T19:36:24.622Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T19:36:24.622Z] eaf3925da568: Pulling fs layer [2022-10-26T19:36:24.622Z] bab4dde63d76: Pulling fs layer [2022-10-26T19:36:24.622Z] bde34c3a00c8: Pulling fs layer [2022-10-26T19:36:24.622Z] b352a97aabf1: Pulling fs layer [2022-10-26T19:36:24.622Z] 4872d77fe225: Pulling fs layer [2022-10-26T19:36:24.622Z] 5851b861e8e6: Pulling fs layer [2022-10-26T19:36:24.622Z] bab4dde63d76: Waiting [2022-10-26T19:36:24.622Z] bde34c3a00c8: Waiting [2022-10-26T19:36:24.622Z] b352a97aabf1: Waiting [2022-10-26T19:36:24.622Z] 4872d77fe225: Waiting [2022-10-26T19:36:24.622Z] 5851b861e8e6: Waiting [2022-10-26T19:36:24.622Z] 988bab9f4d93: Waiting [2022-10-26T19:36:24.622Z] 1469e6f7b9e6: Waiting [2022-10-26T19:36:24.622Z] eaf3925da568: Waiting [2022-10-26T19:36:24.905Z] e2be974225ed: Download complete [2022-10-26T19:36:24.905Z] 988bab9f4d93: Verifying Checksum [2022-10-26T19:36:24.905Z] 988bab9f4d93: Download complete [2022-10-26T19:36:25.180Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T19:36:25.180Z] 1469e6f7b9e6: Download complete [2022-10-26T19:36:25.180Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T19:36:25.180Z] 339a4e72a1f5: Download complete [2022-10-26T19:36:25.180Z] eaf3925da568: Verifying Checksum [2022-10-26T19:36:25.180Z] eaf3925da568: Download complete [2022-10-26T19:36:25.180Z] bde34c3a00c8: Verifying Checksum [2022-10-26T19:36:25.180Z] bde34c3a00c8: Download complete [2022-10-26T19:36:25.464Z] b352a97aabf1: Verifying Checksum [2022-10-26T19:36:25.464Z] b352a97aabf1: Download complete [2022-10-26T19:36:25.464Z] 4872d77fe225: Download complete [2022-10-26T19:36:25.464Z] 5851b861e8e6: Verifying Checksum [2022-10-26T19:36:25.464Z] 5851b861e8e6: Download complete [2022-10-26T19:36:25.757Z] b85a868b505f: Verifying Checksum [2022-10-26T19:36:25.757Z] b85a868b505f: Download complete [2022-10-26T19:36:26.024Z] bab4dde63d76: Verifying Checksum [2022-10-26T19:36:26.024Z] bab4dde63d76: Download complete [2022-10-26T19:36:26.963Z] b85a868b505f: Pull complete [2022-10-26T19:36:26.963Z] e2be974225ed: Pull complete [2022-10-26T19:36:27.530Z] 339a4e72a1f5: Pull complete [2022-10-26T19:36:27.530Z] 988bab9f4d93: Pull complete [2022-10-26T19:36:27.789Z] 1469e6f7b9e6: Pull complete [2022-10-26T19:36:27.789Z] eaf3925da568: Pull complete [2022-10-26T19:36:29.703Z] bab4dde63d76: Pull complete [2022-10-26T19:36:29.703Z] bde34c3a00c8: Pull complete [2022-10-26T19:36:29.703Z] b352a97aabf1: Pull complete [2022-10-26T19:36:29.703Z] 4872d77fe225: Pull complete [2022-10-26T19:36:29.966Z] 5851b861e8e6: Pull complete [2022-10-26T19:36:29.966Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T19:36:29.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:29.966Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:36:30.055Z] prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container [2022-10-26T19:36:30.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T19:36:32.217Z] $ docker top 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 -eo pid,comm [2022-10-26T19:36:32.286Z] 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-10-26T19:36:32.286Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T19:36:32.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:32.325Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:32.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:32.428Z] $ docker exec 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent [2022-10-26T19:36:32.554Z] SSH_AUTH_SOCK=/tmp/ssh-fwcxV4lzhfhk/agent.33 [2022-10-26T19:36:32.554Z] SSH_AGENT_PID=39 [2022-10-26T19:36:32.563Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:32.669Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_13515957681433525472.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_13515957681433525472.key) [2022-10-26T19:36:32.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:32.980Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T19:36:32.985Z] $ docker exec --env ******** --env ******** 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent -k [2022-10-26T19:36:33.075Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:33.076Z] unset SSH_AGENT_PID; [2022-10-26T19:36:33.076Z] echo Agent pid 39 killed; [2022-10-26T19:36:33.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T19:36:33.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:33.114Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:33.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:33.232Z] $ docker exec 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent [2022-10-26T19:36:33.336Z] SSH_AUTH_SOCK=/tmp/ssh-2CWSMzhlsBD0/agent.71 [2022-10-26T19:36:33.336Z] SSH_AGENT_PID=77 [2022-10-26T19:36:33.339Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:33.442Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_17487296074958231060.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_17487296074958231060.key) [2022-10-26T19:36:33.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:33.751Z] + git semver init [2022-10-26T19:36:34.011Z] 2022-10-26 19:36:33,909 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T19:36:34.011Z] 2022-10-26 19:36:33,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver [2022-10-26T19:36:34.011Z] 2022-10-26 19:36:33,910 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver [2022-10-26T19:36:34.011Z] 2022-10-26 19:36:33,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200, universal_newlines=False, shell=None, istream=None) [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,892 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.git/info/exclude [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 with force:False [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,893 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,896 [execute] INFO git cat-file --batch-check [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,902 [execute] INFO git cat-file --batch [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:36:34.984Z] 2022-10-26 19:36:34,907 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 [2022-10-26T19:36:34.984Z] 0.0.0 [Pipeline] } [2022-10-26T19:36:34.989Z] $ docker exec --env ******** --env ******** 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent -k [2022-10-26T19:36:35.109Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:35.110Z] unset SSH_AGENT_PID; [2022-10-26T19:36:35.110Z] echo Agent pid 77 killed; [2022-10-26T19:36:35.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T19:36:35.430Z] + git semver [Pipeline] } [2022-10-26T19:36:35.698Z] $ docker stop --time=1 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 [2022-10-26T19:36:37.015Z] $ docker rm -f 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:36:37.354Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T19:36:37.528Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T19:36:37.530Z] [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-10-26T19:36:37.681Z] provisioning config files... [2022-10-26T19:36:37.691Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config9972100801672212509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:37.985Z] ---> docker-login.sh [2022-10-26T19:36:37.985Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:37.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:37.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:37.985Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:37.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:37.985Z] [2022-10-26T19:36:37.985Z] Login Succeeded [2022-10-26T19:36:37.985Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:37.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:37.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:37.985Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:37.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:37.985Z] [2022-10-26T19:36:37.985Z] Login Succeeded [2022-10-26T19:36:37.985Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:38.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:38.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:38.247Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:38.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:38.247Z] [2022-10-26T19:36:38.247Z] Login Succeeded [2022-10-26T19:36:38.247Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:38.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:38.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:38.247Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:38.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:38.247Z] [2022-10-26T19:36:38.247Z] Login Succeeded [2022-10-26T19:36:38.247Z] docker.io [2022-10-26T19:36:38.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:38.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:38.768Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:38.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:38.768Z] [2022-10-26T19:36:38.768Z] Login Succeeded [2022-10-26T19:36:38.768Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:38.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:36:38.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:38.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:38.876Z] ========================================================= [2022-10-26T19:36:38.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T19:36:38.876Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:39.199Z] + 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-10-26T19:36:39.199Z] Sending build context to Docker daemon 5.618MB [2022-10-26T19:36:39.199Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:36:39.199Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:36:39.463Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T19:36:39.463Z] 213ec9aee27d: Pulling fs layer [2022-10-26T19:36:39.463Z] 4583459ba037: Pulling fs layer [2022-10-26T19:36:39.463Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T19:36:39.463Z] 53926ce57604: Pulling fs layer [2022-10-26T19:36:39.463Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T19:36:39.463Z] 30f14e443154: Pulling fs layer [2022-10-26T19:36:39.463Z] 801331c1e519: Pulling fs layer [2022-10-26T19:36:39.463Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T19:36:39.463Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T19:36:39.463Z] 801331c1e519: Waiting [2022-10-26T19:36:39.463Z] 99cc6dd402b0: Waiting [2022-10-26T19:36:39.463Z] 7d9ed39f4882: Waiting [2022-10-26T19:36:39.463Z] 30f14e443154: Waiting [2022-10-26T19:36:39.463Z] 21b2b0c7a3f4: Waiting [2022-10-26T19:36:39.463Z] 53926ce57604: Waiting [2022-10-26T19:36:39.463Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T19:36:39.463Z] 93c1e223e6f2: Download complete [2022-10-26T19:36:39.463Z] 4583459ba037: Download complete [2022-10-26T19:36:39.463Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T19:36:39.463Z] 21b2b0c7a3f4: Download complete [2022-10-26T19:36:39.463Z] 30f14e443154: Verifying Checksum [2022-10-26T19:36:39.463Z] 30f14e443154: Download complete [2022-10-26T19:36:39.463Z] 213ec9aee27d: Verifying Checksum [2022-10-26T19:36:39.463Z] 213ec9aee27d: Download complete [2022-10-26T19:36:39.463Z] 801331c1e519: Verifying Checksum [2022-10-26T19:36:39.463Z] 801331c1e519: Download complete [2022-10-26T19:36:39.727Z] 213ec9aee27d: Pull complete [2022-10-26T19:36:39.727Z] 4583459ba037: Pull complete [2022-10-26T19:36:39.727Z] 93c1e223e6f2: Pull complete [2022-10-26T19:36:40.011Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T19:36:40.293Z] 53926ce57604: Verifying Checksum [2022-10-26T19:36:40.293Z] 53926ce57604: Download complete [2022-10-26T19:36:40.903Z] 99cc6dd402b0: Download complete [2022-10-26T19:36:44.241Z] 53926ce57604: Pull complete [2022-10-26T19:36:44.241Z] 21b2b0c7a3f4: Pull complete [2022-10-26T19:36:44.241Z] 30f14e443154: Pull complete [2022-10-26T19:36:44.241Z] 801331c1e519: Pull complete [2022-10-26T19:36:46.164Z] 99cc6dd402b0: Pull complete [2022-10-26T19:36:46.731Z] 7d9ed39f4882: Pull complete [2022-10-26T19:36:46.731Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T19:36:46.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T19:36:46.731Z] ---> 1dedd983c030 [2022-10-26T19:36:46.731Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:36:48.700Z] ---> Running in 0fa266d81a5d [2022-10-26T19:36:48.700Z] Removing intermediate container 0fa266d81a5d [2022-10-26T19:36:48.700Z] ---> 1e3450c82981 [2022-10-26T19:36:48.700Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:36:48.700Z] ---> Running in c484eed39d87 [2022-10-26T19:36:48.964Z] Removing intermediate container c484eed39d87 [2022-10-26T19:36:48.964Z] ---> 325db48cd643 [2022-10-26T19:36:48.964Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:36:48.964Z] ---> Running in 3d0deb84aceb [2022-10-26T19:36:48.964Z] Removing intermediate container 3d0deb84aceb [2022-10-26T19:36:48.964Z] ---> 1e44142e258e [2022-10-26T19:36:48.964Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:36:48.964Z] ---> Running in 19c16f9d31cd [2022-10-26T19:36:49.226Z] Removing intermediate container 19c16f9d31cd [2022-10-26T19:36:49.226Z] ---> 188d94fbe6ee [2022-10-26T19:36:49.226Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:36:49.226Z] ---> Running in 5c4b9b6395a6 [2022-10-26T19:36:49.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:36:49.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:36:49.767Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:36:49.767Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:36:49.767Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:36:49.767Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:36:49.767Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:36:50.029Z] OK: 216 MiB in 55 packages [2022-10-26T19:36:50.595Z] Removing intermediate container 5c4b9b6395a6 [2022-10-26T19:36:50.596Z] ---> 04dbaecd9b1d [2022-10-26T19:36:50.596Z] Step 8/12 : WORKDIR /device-snmp-go [2022-10-26T19:36:50.596Z] ---> Running in 25aecffc55cf [2022-10-26T19:36:50.596Z] Removing intermediate container 25aecffc55cf [2022-10-26T19:36:50.596Z] ---> 6c934e24d158 [2022-10-26T19:36:50.596Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:36:50.857Z] ---> ac5e8d281d11 [2022-10-26T19:36:50.857Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:36:51.115Z] ---> Running in bc1b13947a3e [2022-10-26T19:36:52.632Z] Still waiting to schedule task [2022-10-26T19:36:52.632Z] ‘prd-ubuntu20.04-docker-8c-8g-117268’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:52.632Z] ‘prd-ubuntu20.04-docker-8c-8g-117269’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:52.632Z] ‘prd-ubuntu20.04-docker-8c-8g-117270’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:52.632Z] ‘prd-ubuntu20.04-docker-8c-8g-117271’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:52.632Z] ‘prd-ubuntu20.04-docker-8c-8g-117272’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:52.632Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117262’ is offline [2022-10-26T19:36:52.633Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117263’ is offline [2022-10-26T19:36:52.633Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117264’ is offline [2022-10-26T19:36:52.633Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117265’ is offline [2022-10-26T19:36:52.633Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117266’ is offline [2022-10-26T19:36:52.633Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117267’ is offline [2022-10-26T19:37:09.253Z] Removing intermediate container bc1b13947a3e [2022-10-26T19:37:09.253Z] ---> a9ea7949d8f6 [2022-10-26T19:37:09.253Z] Step 11/12 : COPY . . [2022-10-26T19:37:09.512Z] ---> 73d823f92902 [2022-10-26T19:37:09.512Z] Step 12/12 : RUN ${MAKE} [2022-10-26T19:37:09.512Z] ---> Running in 57e4bebf8e74 [2022-10-26T19:37:10.077Z] noop [2022-10-26T19:37:10.643Z] Removing intermediate container 57e4bebf8e74 [2022-10-26T19:37:10.643Z] ---> ac1bf8a3807d [2022-10-26T19:37:10.643Z] Successfully built ac1bf8a3807d [2022-10-26T19:37:10.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:10.959Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:10.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:11.018Z] prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container [2022-10-26T19:37:11.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:37:11.784Z] $ docker top 96863171fe77db30d5e6d9fb8800a468a59b4f18f255fd4c591714718e9d48b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:12.124Z] + go version [2022-10-26T19:37:12.125Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T19:37:12.135Z] $ docker stop --time=1 96863171fe77db30d5e6d9fb8800a468a59b4f18f255fd4c591714718e9d48b0 [2022-10-26T19:37:13.624Z] $ docker rm -f 96863171fe77db30d5e6d9fb8800a468a59b4f18f255fd4c591714718e9d48b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:14.020Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:14.021Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:14.087Z] prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container [2022-10-26T19:37:14.116Z] $ 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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:37:14.728Z] $ docker top e684550edf599cc4712d884ab6e7ec60ff02d17599ce159a21865442d4fb34d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:15.063Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:37:15.360Z] + make test [2022-10-26T19:37:15.360Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T19:37:15.617Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-26T19:37:25.572Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-26T19:37:25.572Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-10-26T19:37:30.840Z] 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-10-26T19:37:30.840Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:37:34.117Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:37:34.117Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:37:34.117Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:37:34.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:37:34.142Z] $ docker stop --time=1 e684550edf599cc4712d884ab6e7ec60ff02d17599ce159a21865442d4fb34d4 [2022-10-26T19:37:36.055Z] $ docker rm -f e684550edf599cc4712d884ab6e7ec60ff02d17599ce159a21865442d4fb34d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:37:36.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:37:36.543Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T19:37:36.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:37:37.256Z] + ls -al . [2022-10-26T19:37:37.256Z] total 180 [2022-10-26T19:37:37.256Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:37 . [2022-10-26T19:37:37.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 .. [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 19:36 .dockerignore [2022-10-26T19:37:37.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:37 .git [2022-10-26T19:37:37.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 .github [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 19:36 .gitignore [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:36 .golangci.yml [2022-10-26T19:37:37.256Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:36 .semver [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 19:36 Attribution.txt [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 19:36 CHANGELOG.md [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 19:36 Dockerfile [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:36 GOVERNANCE.md [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 19:36 Jenkinsfile [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:36 LICENSE [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 19:36 Makefile [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:36 OWNERS.md [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 19:36 README.md [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:37:37.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:36 bin [2022-10-26T19:37:37.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 cmd [2022-10-26T19:37:37.256Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 19:37 coverage.out [2022-10-26T19:37:37.256Z] -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 19:36 go.mod [2022-10-26T19:37:37.257Z] -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 19:36 go.sum [2022-10-26T19:37:37.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 internal [2022-10-26T19:37:37.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 snap [2022-10-26T19:37:37.257Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 19:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:37.558Z] + 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=46f9372487fc1fab33374bf7bf8d5f258f9e4986 --label arch=amd64 --label version=0.0.0 . [2022-10-26T19:37:37.558Z] Sending build context to Docker daemon 5.626MB [2022-10-26T19:37:37.558Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:37:37.558Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-26T19:37:37.558Z] ---> ac1bf8a3807d [2022-10-26T19:37:37.558Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:37:37.558Z] ---> Running in 37e5430bbdfb [2022-10-26T19:37:37.815Z] Removing intermediate container 37e5430bbdfb [2022-10-26T19:37:37.815Z] ---> 4c126154046a [2022-10-26T19:37:37.815Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:37:37.815Z] ---> Running in 2f297745d608 [2022-10-26T19:37:38.073Z] Removing intermediate container 2f297745d608 [2022-10-26T19:37:38.073Z] ---> 5929947ff41a [2022-10-26T19:37:38.073Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:37:38.336Z] ---> Running in 7c8009020b0c [2022-10-26T19:37:38.336Z] Removing intermediate container 7c8009020b0c [2022-10-26T19:37:38.336Z] ---> a40b10e22459 [2022-10-26T19:37:38.336Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:37:38.594Z] ---> Running in 774d3b5a62a0 [2022-10-26T19:37:38.594Z] Removing intermediate container 774d3b5a62a0 [2022-10-26T19:37:38.594Z] ---> 12630a9607ca [2022-10-26T19:37:38.594Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:37:38.852Z] ---> Running in ecf4501c17d3 [2022-10-26T19:37:39.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:39.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:39.370Z] OK: 216 MiB in 55 packages [2022-10-26T19:37:39.939Z] Removing intermediate container ecf4501c17d3 [2022-10-26T19:37:39.939Z] ---> 384f3deb3413 [2022-10-26T19:37:39.939Z] Step 8/24 : WORKDIR /device-snmp-go [2022-10-26T19:37:39.939Z] ---> Running in fec7da168aea [2022-10-26T19:37:39.939Z] Removing intermediate container fec7da168aea [2022-10-26T19:37:39.939Z] ---> 02762577c483 [2022-10-26T19:37:39.939Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-26T19:37:40.197Z] ---> 2dec601ac9f1 [2022-10-26T19:37:40.197Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:37:40.197Z] ---> Running in 795b8f426c84 [2022-10-26T19:37:41.134Z] Removing intermediate container 795b8f426c84 [2022-10-26T19:37:41.134Z] ---> 631264cbb553 [2022-10-26T19:37:41.134Z] Step 11/24 : COPY . . [2022-10-26T19:37:41.391Z] ---> f870faa6af6f [2022-10-26T19:37:41.391Z] Step 12/24 : RUN ${MAKE} [2022-10-26T19:37:41.391Z] ---> Running in 3fa5c2cf8802 [2022-10-26T19:37:41.648Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-26T19:38:03.567Z] Removing intermediate container 3fa5c2cf8802 [2022-10-26T19:38:03.567Z] ---> 6ecaf78887e7 [2022-10-26T19:38:03.567Z] Step 13/24 : FROM alpine:3.16 [2022-10-26T19:38:03.567Z] 3.16: Pulling from library/alpine [2022-10-26T19:38:03.567Z] 213ec9aee27d: Already exists [2022-10-26T19:38:03.567Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:38:03.567Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:38:03.567Z] ---> 9c6f07244728 [2022-10-26T19:38:03.567Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:38:03.567Z] ---> Running in 2fb1c96ba403 [2022-10-26T19:38:03.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:03.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:03.567Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:38:03.567Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:38:03.567Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:38:03.567Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:38:03.567Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:38:03.567Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:38:03.567Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:38:03.567Z] OK: 8 MiB in 20 packages [2022-10-26T19:38:03.567Z] Removing intermediate container 2fb1c96ba403 [2022-10-26T19:38:03.567Z] ---> 4e3a22d8bdce [2022-10-26T19:38:03.567Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-10-26T19:38:03.567Z] ---> 468cd5cd3289 [2022-10-26T19:38:03.567Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-26T19:38:03.567Z] ---> 1d3c0e16ced4 [2022-10-26T19:38:03.567Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-26T19:38:03.567Z] ---> b7e496d7b993 [2022-10-26T19:38:03.567Z] Step 18/24 : EXPOSE 59993 [2022-10-26T19:38:03.567Z] ---> Running in 81022027d9f9 [2022-10-26T19:38:03.567Z] Removing intermediate container 81022027d9f9 [2022-10-26T19:38:03.567Z] ---> e2bc4c5a3e6a [2022-10-26T19:38:03.567Z] Step 19/24 : EXPOSE 161 [2022-10-26T19:38:03.567Z] ---> Running in c7d86df7f939 [2022-10-26T19:38:03.567Z] Removing intermediate container c7d86df7f939 [2022-10-26T19:38:03.567Z] ---> e504e005f769 [2022-10-26T19:38:03.567Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-10-26T19:38:03.567Z] ---> Running in 87cff50a5320 [2022-10-26T19:38:03.567Z] Removing intermediate container 87cff50a5320 [2022-10-26T19:38:03.567Z] ---> 3468acdec39b [2022-10-26T19:38:03.567Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T19:38:03.567Z] ---> Running in 64f498fcba08 [2022-10-26T19:38:03.567Z] Removing intermediate container 64f498fcba08 [2022-10-26T19:38:03.567Z] ---> 600aa7750d54 [2022-10-26T19:38:03.567Z] Step 22/24 : LABEL arch=amd64 [2022-10-26T19:38:03.567Z] ---> Running in 47655d10224e [2022-10-26T19:38:03.567Z] Removing intermediate container 47655d10224e [2022-10-26T19:38:03.567Z] ---> dd5099c969f2 [2022-10-26T19:38:03.567Z] Step 23/24 : LABEL git_sha=46f9372487fc1fab33374bf7bf8d5f258f9e4986 [2022-10-26T19:38:03.567Z] ---> Running in 69cb3171f1b0 [2022-10-26T19:38:03.567Z] Removing intermediate container 69cb3171f1b0 [2022-10-26T19:38:03.567Z] ---> e37f0701d667 [2022-10-26T19:38:03.567Z] Step 24/24 : LABEL version=0.0.0 [2022-10-26T19:38:03.567Z] ---> Running in 46a211072c68 [2022-10-26T19:38:03.826Z] Removing intermediate container 46a211072c68 [2022-10-26T19:38:03.826Z] ---> 1b8366489a35 [2022-10-26T19:38:03.826Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:38:03.826Z] Successfully built 1b8366489a35 [2022-10-26T19:38:03.826Z] 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-10-26T19:38:04.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:04.224Z] [2022-10-26T19:38:04.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:04.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:04.523Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T19:38:04.523Z] 5eb5b503b376: Pulling fs layer [2022-10-26T19:38:04.523Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T19:38:04.523Z] ec43610c2a17: Pulling fs layer [2022-10-26T19:38:04.523Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T19:38:04.523Z] 33b1e0a273af: Pulling fs layer [2022-10-26T19:38:04.523Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T19:38:04.523Z] 2f39f015ded8: Pulling fs layer [2022-10-26T19:38:04.523Z] 3a2ae6a8a46f: Waiting [2022-10-26T19:38:04.523Z] 33b1e0a273af: Waiting [2022-10-26T19:38:04.523Z] 5d3b04190fa2: Waiting [2022-10-26T19:38:04.523Z] 2f39f015ded8: Waiting [2022-10-26T19:38:04.523Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T19:38:04.523Z] 5c69ac0246d0: Download complete [2022-10-26T19:38:04.523Z] 3a2ae6a8a46f: Download complete [2022-10-26T19:38:04.783Z] 33b1e0a273af: Verifying Checksum [2022-10-26T19:38:04.783Z] 33b1e0a273af: Download complete [2022-10-26T19:38:04.783Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T19:38:04.783Z] 5d3b04190fa2: Download complete [2022-10-26T19:38:04.783Z] ec43610c2a17: Verifying Checksum [2022-10-26T19:38:04.783Z] ec43610c2a17: Download complete [2022-10-26T19:38:04.783Z] 5eb5b503b376: Download complete [2022-10-26T19:38:05.355Z] 2f39f015ded8: Download complete [2022-10-26T19:38:05.920Z] 5eb5b503b376: Pull complete [2022-10-26T19:38:05.920Z] 5c69ac0246d0: Pull complete [2022-10-26T19:38:06.484Z] ec43610c2a17: Pull complete [2022-10-26T19:38:06.484Z] 3a2ae6a8a46f: Pull complete [2022-10-26T19:38:06.742Z] 33b1e0a273af: Pull complete [2022-10-26T19:38:06.742Z] 5d3b04190fa2: Pull complete [2022-10-26T19:38:10.929Z] 2f39f015ded8: Pull complete [2022-10-26T19:38:10.929Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T19:38:10.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:10.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:38:11.007Z] prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container [2022-10-26T19:38:11.038Z] $ 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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:38:12.691Z] $ docker top b4f4d969f54aaa319b63046a881e51cb2ea026652c4875951226b3c10e34bd29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:38:13.065Z] ---> job-cost.sh [2022-10-26T19:38:13.065Z] lf-activate-venv: SKIPPING [2022-10-26T19:38:13.065Z] INFO: No Stack... [2022-10-26T19:38:13.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:38:13.584Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:38:13.875Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/cost.csv [2022-10-26T19:38:13.875Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:38:13.888Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [2022-10-26T19:38:13.894Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] did not exist. Created. [2022-10-26T19:38:13.894Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:38:14.194Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T19:38:14.226Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:38:14.235Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:38:14.255Z] $ docker stop --time=1 b4f4d969f54aaa319b63046a881e51cb2ea026652c4875951226b3c10e34bd29 [2022-10-26T19:38:15.422Z] $ docker rm -f b4f4d969f54aaa319b63046a881e51cb2ea026652c4875951226b3c10e34bd29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:38:58.469Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117273 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] { [Pipeline] ws [2022-10-26T19:38:58.480Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2022-10-26T19:38:58.534Z] Selected Git installation does not exist. Using Default [2022-10-26T19:38:58.534Z] The recommended git tool is: NONE [2022-10-26T19:39:06.272Z] using credential edgex-jenkins-ssh [2022-10-26T19:39:06.289Z] Cloning the remote Git repository [2022-10-26T19:39:06.341Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-26T19:39:06.435Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2022-10-26T19:39:06.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-26T19:39:06.644Z] > git --version # timeout=10 [2022-10-26T19:39:06.672Z] > git --version # 'git version 2.25.1' [2022-10-26T19:39:06.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:39:06.734Z] Verifying host key using known hosts file [2022-10-26T19:39:07.008Z] 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-10-26T19:39:07.023Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:39:08.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-26T19:39:08.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:39:09.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-26T19:39:09.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-26T19:39:09.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:39:09.920Z] Verifying host key using known hosts file [2022-10-26T19:39:09.929Z] 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-10-26T19:39:09.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T19:39:10.644Z] Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [2022-10-26T19:39:10.670Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:39:10.692Z] > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 [2022-10-26T19:39:16.126Z] Merge succeeded, producing 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [2022-10-26T19:39:16.127Z] Checking out Revision 46f9372487fc1fab33374bf7bf8d5f258f9e4986 (PR-200) [2022-10-26T19:39:15.985Z] > git remote # timeout=10 [2022-10-26T19:39:16.009Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:39:16.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:39:16.038Z] Verifying host key using known hosts file [2022-10-26T19:39:16.043Z] 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-10-26T19:39:16.057Z] > git merge dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 [2022-10-26T19:39:16.093Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:39:16.132Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:39:16.153Z] > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 [2022-10-26T19:39:19.798Z] Commit message: "fix spelling" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:39:20.697Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:39:20.697Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:39:20.697Z] Dload Upload Total Spent Left Speed [2022-10-26T19:39:20.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-10-26T19:39:21.390Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:39:21.732Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:39:21.732Z] + sudo tee /etc/docker/daemon.new [2022-10-26T19:39:21.732Z] { [2022-10-26T19:39:21.732Z] "registry-mirrors": [ [2022-10-26T19:39:21.732Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:39:21.732Z] ], [2022-10-26T19:39:21.732Z] "bip": "10.250.0.254/24", [2022-10-26T19:39:21.732Z] "hosts": [ [2022-10-26T19:39:21.732Z] "tcp://0.0.0.0:5555", [2022-10-26T19:39:21.732Z] "unix:///var/run/docker.sock" [2022-10-26T19:39:21.732Z] ], [2022-10-26T19:39:21.732Z] "mtu": 1458, [2022-10-26T19:39:21.732Z] "selinux-enabled": true, [2022-10-26T19:39:21.732Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:39:21.732Z] } [Pipeline] sh [2022-10-26T19:39:22.074Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:39:22.438Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:39:40.752Z] provisioning config files... [2022-10-26T19:39:40.786Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config1057683569998787034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:41.159Z] ---> docker-login.sh [2022-10-26T19:39:41.160Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:39:41.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:39:42.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:39:42.027Z] Configure a credential helper to remove this warning. See [2022-10-26T19:39:42.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:39:42.027Z] [2022-10-26T19:39:42.027Z] Login Succeeded [2022-10-26T19:39:42.027Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:39:42.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:39:42.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:39:42.300Z] Configure a credential helper to remove this warning. See [2022-10-26T19:39:42.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:39:42.300Z] [2022-10-26T19:39:42.300Z] Login Succeeded [2022-10-26T19:39:42.300Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:39:42.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:39:42.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:39:42.843Z] Configure a credential helper to remove this warning. See [2022-10-26T19:39:42.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:39:42.843Z] [2022-10-26T19:39:42.843Z] Login Succeeded [2022-10-26T19:39:42.843Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:39:43.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:39:43.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:39:43.119Z] Configure a credential helper to remove this warning. See [2022-10-26T19:39:43.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:39:43.119Z] [2022-10-26T19:39:43.119Z] Login Succeeded [2022-10-26T19:39:43.119Z] docker.io [2022-10-26T19:39:43.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:39:43.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:39:43.999Z] Configure a credential helper to remove this warning. See [2022-10-26T19:39:43.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:39:43.999Z] [2022-10-26T19:39:43.999Z] Login Succeeded [2022-10-26T19:39:43.999Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:39:44.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:39:44.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:39:44.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:39:44.238Z] ========================================================= [2022-10-26T19:39:44.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:39:44.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:39:44.599Z] + 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-10-26T19:39:44.869Z] Sending build context to Docker daemon 2.941MB [2022-10-26T19:39:44.869Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:39:44.869Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:39:45.140Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:39:45.140Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:39:45.140Z] d32db5db7311: Pulling fs layer [2022-10-26T19:39:45.140Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:39:45.140Z] 5831b945b038: Pulling fs layer [2022-10-26T19:39:45.140Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:39:45.140Z] e10730c5d714: Pulling fs layer [2022-10-26T19:39:45.140Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:39:45.140Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:39:45.140Z] 5831b945b038: Waiting [2022-10-26T19:39:45.140Z] 86bbec2aaacd: Waiting [2022-10-26T19:39:45.140Z] e10730c5d714: Waiting [2022-10-26T19:39:45.140Z] 5dd5c2283517: Waiting [2022-10-26T19:39:45.140Z] d5ac0230b979: Waiting [2022-10-26T19:39:45.140Z] d0c4b47475fc: Verifying Checksum [2022-10-26T19:39:45.140Z] d0c4b47475fc: Download complete [2022-10-26T19:39:45.140Z] d32db5db7311: Download complete [2022-10-26T19:39:45.140Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T19:39:45.140Z] 86bbec2aaacd: Download complete [2022-10-26T19:39:45.140Z] e10730c5d714: Download complete [2022-10-26T19:39:45.418Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:39:45.418Z] 9b18e9b68314: Download complete [2022-10-26T19:39:46.414Z] 9b18e9b68314: Pull complete [2022-10-26T19:39:46.414Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:39:46.414Z] d5ac0230b979: Download complete [2022-10-26T19:39:47.013Z] d32db5db7311: Pull complete [2022-10-26T19:39:47.288Z] d0c4b47475fc: Pull complete [2022-10-26T19:39:47.563Z] 5dd5c2283517: Download complete [2022-10-26T19:39:48.154Z] 5831b945b038: Verifying Checksum [2022-10-26T19:39:48.154Z] 5831b945b038: Download complete [2022-10-26T19:40:00.776Z] 5831b945b038: Pull complete [2022-10-26T19:40:00.776Z] 86bbec2aaacd: Pull complete [2022-10-26T19:40:01.046Z] e10730c5d714: Pull complete [2022-10-26T19:40:07.785Z] 5dd5c2283517: Pull complete [2022-10-26T19:40:09.736Z] d5ac0230b979: Pull complete [2022-10-26T19:40:09.736Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:40:09.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:40:09.736Z] ---> 59b3b1a385d4 [2022-10-26T19:40:09.736Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:40:11.700Z] ---> Running in d21fa11ae08f [2022-10-26T19:40:11.970Z] Removing intermediate container d21fa11ae08f [2022-10-26T19:40:11.970Z] ---> 3be79acac827 [2022-10-26T19:40:11.970Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:40:11.970Z] ---> Running in a45c4ce81890 [2022-10-26T19:40:12.561Z] Removing intermediate container a45c4ce81890 [2022-10-26T19:40:12.561Z] ---> c17df0e47a86 [2022-10-26T19:40:12.561Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:40:12.561Z] ---> Running in 6bd5d7e79d57 [2022-10-26T19:40:12.831Z] Removing intermediate container 6bd5d7e79d57 [2022-10-26T19:40:12.831Z] ---> 59f24257ec89 [2022-10-26T19:40:12.831Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:40:12.831Z] ---> Running in 591fcca77711 [2022-10-26T19:40:13.105Z] Removing intermediate container 591fcca77711 [2022-10-26T19:40:13.105Z] ---> 3a137eaf32c0 [2022-10-26T19:40:13.105Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:40:13.383Z] ---> Running in df86aab26c51 [2022-10-26T19:40:14.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:40:14.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:40:15.774Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:40:15.774Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:40:16.043Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:40:16.043Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:40:16.043Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:40:16.043Z] OK: 226 MiB in 55 packages [2022-10-26T19:40:17.013Z] Removing intermediate container df86aab26c51 [2022-10-26T19:40:17.013Z] ---> 6c7d4b23f9c7 [2022-10-26T19:40:17.013Z] Step 8/12 : WORKDIR /device-snmp-go [2022-10-26T19:40:17.282Z] ---> Running in 4775e308a65f [2022-10-26T19:40:17.550Z] Removing intermediate container 4775e308a65f [2022-10-26T19:40:17.550Z] ---> 975410736542 [2022-10-26T19:40:17.550Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:40:18.140Z] ---> 75bfc5e30439 [2022-10-26T19:40:18.140Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:40:18.140Z] ---> Running in 45842ff6a280 [2022-10-26T19:41:14.628Z] Removing intermediate container 45842ff6a280 [2022-10-26T19:41:14.628Z] ---> c97554dfd78e [2022-10-26T19:41:14.628Z] Step 11/12 : COPY . . [2022-10-26T19:41:15.610Z] ---> 63cbc7832c39 [2022-10-26T19:41:15.610Z] Step 12/12 : RUN ${MAKE} [2022-10-26T19:41:15.610Z] ---> Running in 22bd3417fea2 [2022-10-26T19:41:16.603Z] noop [2022-10-26T19:41:17.196Z] Removing intermediate container 22bd3417fea2 [2022-10-26T19:41:17.196Z] ---> e440d48ae88b [2022-10-26T19:41:17.196Z] Successfully built e440d48ae88b [2022-10-26T19:41:17.196Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:41:17.549Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:41:17.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:41:17.766Z] prd-ubuntu20.04-docker-arm64-4c-16g-117273 does not seem to be running inside a container [2022-10-26T19:41:17.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:41:19.180Z] $ docker top 2becaf8ddb7325c5553c3b6c26bbad2e734293d04058b2a932dc2e59002aacfb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:41:20.077Z] + go version [2022-10-26T19:41:20.077Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:41:20.095Z] $ docker stop --time=1 2becaf8ddb7325c5553c3b6c26bbad2e734293d04058b2a932dc2e59002aacfb [2022-10-26T19:41:21.791Z] $ docker rm -f 2becaf8ddb7325c5553c3b6c26bbad2e734293d04058b2a932dc2e59002aacfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:41:22.356Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:41:22.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:41:22.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-117273 does not seem to be running inside a container [2022-10-26T19:41:22.649Z] $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:41:24.012Z] $ docker top cdc74448cb00ee9e08308957a5b87c16b5bf9bbed228abb3c35950c9fb75489c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:41:24.903Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:41:25.569Z] + make test [2022-10-26T19:41:25.569Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T19:41:27.530Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-26T19:43:19.303Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-26T19:43:19.303Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements [2022-10-26T19:43:19.303Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:43:19.303Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:43:41.421Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:43:41.421Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:43:41.421Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:43:41.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:43:41.448Z] $ docker stop --time=1 cdc74448cb00ee9e08308957a5b87c16b5bf9bbed228abb3c35950c9fb75489c [2022-10-26T19:43:43.314Z] $ docker rm -f cdc74448cb00ee9e08308957a5b87c16b5bf9bbed228abb3c35950c9fb75489c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:43:44.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:43:44.334Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:43:44.833Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:43:45.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:43:45.535Z] + ls -al . [2022-10-26T19:43:45.535Z] total 176 [2022-10-26T19:43:45.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:41 . [2022-10-26T19:43:45.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:39 .. [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 19:39 .dockerignore [2022-10-26T19:43:45.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:39 .git [2022-10-26T19:43:45.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:39 .github [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 19:39 .gitignore [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:39 .golangci.yml [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 19:39 Attribution.txt [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 19:39 CHANGELOG.md [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 19:39 Dockerfile [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:39 GOVERNANCE.md [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 19:39 Jenkinsfile [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:39 LICENSE [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 19:39 Makefile [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:39 OWNERS.md [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 19:39 README.md [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:43:45.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:39 bin [2022-10-26T19:43:45.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:39 cmd [2022-10-26T19:43:45.535Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 19:43 coverage.out [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 19:39 go.mod [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 19:39 go.sum [2022-10-26T19:43:45.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:39 internal [2022-10-26T19:43:45.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:39 snap [2022-10-26T19:43:45.535Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 19:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:43:45.882Z] + 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=46f9372487fc1fab33374bf7bf8d5f258f9e4986 --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:43:46.154Z] Sending build context to Docker daemon 2.95MB [2022-10-26T19:43:46.154Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:43:46.154Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-26T19:43:46.154Z] ---> e440d48ae88b [2022-10-26T19:43:46.154Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:43:46.424Z] ---> Running in 8b4296ae55ea [2022-10-26T19:43:46.693Z] Removing intermediate container 8b4296ae55ea [2022-10-26T19:43:46.693Z] ---> 55849abcaa69 [2022-10-26T19:43:46.693Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:43:46.693Z] ---> Running in e6ee46b82a44 [2022-10-26T19:43:46.973Z] Removing intermediate container e6ee46b82a44 [2022-10-26T19:43:46.973Z] ---> 209fe0d7e197 [2022-10-26T19:43:46.973Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:43:47.244Z] ---> Running in 7a93c2cb2b67 [2022-10-26T19:43:47.511Z] Removing intermediate container 7a93c2cb2b67 [2022-10-26T19:43:47.511Z] ---> a2631df97521 [2022-10-26T19:43:47.511Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:43:47.511Z] ---> Running in 8eee0a6dd7c4 [2022-10-26T19:43:47.779Z] Removing intermediate container 8eee0a6dd7c4 [2022-10-26T19:43:47.779Z] ---> 8b354f745dc1 [2022-10-26T19:43:47.779Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:43:48.049Z] ---> Running in fb900befcb4a [2022-10-26T19:43:49.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:43:49.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:43:50.267Z] OK: 226 MiB in 55 packages [2022-10-26T19:43:51.236Z] Removing intermediate container fb900befcb4a [2022-10-26T19:43:51.236Z] ---> f5ef3f01b3d2 [2022-10-26T19:43:51.236Z] Step 8/24 : WORKDIR /device-snmp-go [2022-10-26T19:43:51.504Z] ---> Running in 09db9653cb5b [2022-10-26T19:43:51.773Z] Removing intermediate container 09db9653cb5b [2022-10-26T19:43:51.773Z] ---> 98e03f0615e2 [2022-10-26T19:43:51.773Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-26T19:43:52.359Z] ---> 42ee49667f1b [2022-10-26T19:43:52.359Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:43:52.359Z] ---> Running in 319a3504182d [2022-10-26T19:43:54.311Z] Removing intermediate container 319a3504182d [2022-10-26T19:43:54.311Z] ---> 71e528433206 [2022-10-26T19:43:54.311Z] Step 11/24 : COPY . . [2022-10-26T19:43:55.286Z] ---> ce15b93ea466 [2022-10-26T19:43:55.286Z] Step 12/24 : RUN ${MAKE} [2022-10-26T19:43:55.557Z] ---> Running in ddb887371a88 [2022-10-26T19:43:56.525Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-26T19:46:33.537Z] Removing intermediate container ddb887371a88 [2022-10-26T19:46:33.537Z] ---> cdbfebc33d39 [2022-10-26T19:46:33.537Z] Step 13/24 : FROM alpine:3.16 [2022-10-26T19:46:33.537Z] 3.16: Pulling from library/alpine [2022-10-26T19:46:33.537Z] 9b18e9b68314: Already exists [2022-10-26T19:46:33.537Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:46:33.537Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:46:33.537Z] ---> a6215f271958 [2022-10-26T19:46:33.538Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:46:33.538Z] ---> Running in 21cf067d239d [2022-10-26T19:46:33.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:46:33.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:46:33.538Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:46:33.538Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:46:33.538Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:46:33.538Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:46:33.538Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:46:33.538Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:46:33.538Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:46:33.538Z] OK: 8 MiB in 20 packages [2022-10-26T19:46:33.538Z] Removing intermediate container 21cf067d239d [2022-10-26T19:46:33.538Z] ---> 08f5afbcc104 [2022-10-26T19:46:33.538Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-10-26T19:46:33.538Z] ---> c15d97b23b82 [2022-10-26T19:46:33.538Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-26T19:46:33.805Z] ---> 61ab451292c1 [2022-10-26T19:46:33.805Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-26T19:46:34.392Z] ---> ce2f1acbc62e [2022-10-26T19:46:34.392Z] Step 18/24 : EXPOSE 59993 [2022-10-26T19:46:34.392Z] ---> Running in 70ad30089d09 [2022-10-26T19:46:34.661Z] Removing intermediate container 70ad30089d09 [2022-10-26T19:46:34.661Z] ---> dfea74b1b48b [2022-10-26T19:46:34.661Z] Step 19/24 : EXPOSE 161 [2022-10-26T19:46:34.661Z] ---> Running in c2a8336a472a [2022-10-26T19:46:34.933Z] Removing intermediate container c2a8336a472a [2022-10-26T19:46:34.934Z] ---> ace38648b47e [2022-10-26T19:46:34.934Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-10-26T19:46:34.934Z] ---> Running in 0b4294f2646a [2022-10-26T19:46:35.525Z] Removing intermediate container 0b4294f2646a [2022-10-26T19:46:35.525Z] ---> 59b1e5f335aa [2022-10-26T19:46:35.525Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T19:46:35.525Z] ---> Running in 60400cfd6aaf [2022-10-26T19:46:35.791Z] Removing intermediate container 60400cfd6aaf [2022-10-26T19:46:35.791Z] ---> c4f1913e80cb [2022-10-26T19:46:35.791Z] Step 22/24 : LABEL arch=arm64 [2022-10-26T19:46:35.791Z] ---> Running in 787fff4acee6 [2022-10-26T19:46:36.057Z] Removing intermediate container 787fff4acee6 [2022-10-26T19:46:36.057Z] ---> 6bbe12814aa3 [2022-10-26T19:46:36.057Z] Step 23/24 : LABEL git_sha=46f9372487fc1fab33374bf7bf8d5f258f9e4986 [2022-10-26T19:46:36.057Z] ---> Running in 454c315bf073 [2022-10-26T19:46:36.324Z] Removing intermediate container 454c315bf073 [2022-10-26T19:46:36.324Z] ---> 0b290a0a9a58 [2022-10-26T19:46:36.324Z] Step 24/24 : LABEL version=0.0.0 [2022-10-26T19:46:36.594Z] ---> Running in f5a940811464 [2022-10-26T19:46:36.861Z] Removing intermediate container f5a940811464 [2022-10-26T19:46:36.861Z] ---> 6b9e49737f53 [2022-10-26T19:46:36.861Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:46:36.861Z] Successfully built 6b9e49737f53 [2022-10-26T19:46:36.861Z] 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-10-26T19:46:37.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:46:37.312Z] [2022-10-26T19:46:37.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:46:37.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:46:37.645Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:46:37.645Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:46:37.645Z] 04944245beec: Pulling fs layer [2022-10-26T19:46:37.645Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:46:37.645Z] 765212b225bb: Pulling fs layer [2022-10-26T19:46:37.645Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:46:37.645Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:46:37.645Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:46:37.645Z] 765212b225bb: Waiting [2022-10-26T19:46:37.645Z] f23df028b6ca: Waiting [2022-10-26T19:46:37.645Z] d65c8cfc05b1: Waiting [2022-10-26T19:46:37.645Z] 2437ff75d9bd: Waiting [2022-10-26T19:46:37.914Z] 04944245beec: Verifying Checksum [2022-10-26T19:46:37.914Z] 04944245beec: Download complete [2022-10-26T19:46:37.914Z] 765212b225bb: Verifying Checksum [2022-10-26T19:46:37.914Z] 765212b225bb: Download complete [2022-10-26T19:46:37.914Z] f23df028b6ca: Verifying Checksum [2022-10-26T19:46:37.914Z] f23df028b6ca: Download complete [2022-10-26T19:46:37.914Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:46:37.914Z] d65c8cfc05b1: Download complete [2022-10-26T19:46:37.914Z] 699f458cf7ca: Verifying Checksum [2022-10-26T19:46:37.914Z] 699f458cf7ca: Download complete [2022-10-26T19:46:38.496Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T19:46:38.496Z] 8998bd30e6a1: Download complete [2022-10-26T19:46:40.439Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:46:40.439Z] 2437ff75d9bd: Download complete [2022-10-26T19:46:42.388Z] 8998bd30e6a1: Pull complete [2022-10-26T19:46:42.656Z] 04944245beec: Pull complete [2022-10-26T19:46:44.068Z] 699f458cf7ca: Pull complete [2022-10-26T19:46:44.068Z] 765212b225bb: Pull complete [2022-10-26T19:46:45.032Z] f23df028b6ca: Pull complete [2022-10-26T19:46:45.303Z] d65c8cfc05b1: Pull complete [2022-10-26T19:47:00.302Z] 2437ff75d9bd: Pull complete [2022-10-26T19:47:00.302Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:47:00.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:47:00.302Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:47:00.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-117273 does not seem to be running inside a container [2022-10-26T19:47:00.545Z] $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T19:47:03.217Z] $ docker top 8e44761e7eacbfe10dc641b32ce33d176d329102a7b622d2fe2b88e59392e59b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:04.069Z] ---> job-cost.sh [2022-10-26T19:47:04.069Z] lf-activate-venv: SKIPPING [2022-10-26T19:47:04.069Z] INFO: No Stack... [2022-10-26T19:47:04.335Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:47:05.295Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:47:05.933Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2022-10-26T19:47:05.933Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:47:05.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [2022-10-26T19:47:06.002Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] did not exist. Created. [2022-10-26T19:47:06.002Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:47:06.351Z] /w/workspace/device-snmp-go/3@tmp/durable-017e6b47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:47:06.689Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:47:06.977Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:47:07.019Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:47:07.029Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:47:07.047Z] $ docker stop --time=1 8e44761e7eacbfe10dc641b32ce33d176d329102a7b622d2fe2b88e59392e59b [2022-10-26T19:47:08.558Z] $ docker rm -f 8e44761e7eacbfe10dc641b32ce33d176d329102a7b622d2fe2b88e59392e59b [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-10-26T19:47:08.888Z] provisioning config files... [2022-10-26T19:47:08.895Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config4290062414752985113tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:47:09.179Z] + set +x [2022-10-26T19:47:09.180Z] + curl -s https://codecov.io/bash [2022-10-26T19:47:09.180Z] + bash -s -- [2022-10-26T19:47:09.180Z] [2022-10-26T19:47:09.180Z] _____ _ [2022-10-26T19:47:09.180Z] / ____| | | [2022-10-26T19:47:09.180Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:47:09.180Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:47:09.180Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:47:09.180Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:47:09.180Z] Bash-1.0.6 [2022-10-26T19:47:09.180Z] [2022-10-26T19:47:09.180Z] [2022-10-26T19:47:09.180Z] ==> git version 2.25.1 found [2022-10-26T19:47:09.180Z] ==> 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-10-26T19:47:09.180Z] Release-Date: 2020-01-08 [2022-10-26T19:47:09.180Z] 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-10-26T19:47:09.180Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:47:09.180Z] ==> Jenkins CI detected. [2022-10-26T19:47:09.180Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-200 [2022-10-26T19:47:09.180Z] project root: . [2022-10-26T19:47:09.180Z] --> token set from env [2022-10-26T19:47:09.180Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:47:09.180Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:47:09.180Z] ==> Python coveragepy not found [2022-10-26T19:47:09.180Z] ==> Searching for coverage reports in: [2022-10-26T19:47:09.180Z] + . [2022-10-26T19:47:09.180Z] -> Found 1 reports [2022-10-26T19:47:09.180Z] ==> Detecting git/mercurial file structure [2022-10-26T19:47:09.180Z] ==> Reading reports [2022-10-26T19:47:09.180Z] + ./coverage.out bytes=7631 [2022-10-26T19:47:09.180Z] ==> Appending adjustments [2022-10-26T19:47:09.180Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:47:09.438Z] + Found adjustments [2022-10-26T19:47:09.438Z] ==> Gzipping contents [2022-10-26T19:47:09.438Z] 4.0K /tmp/codecov.pUPMWf.gz [2022-10-26T19:47:09.438Z] ==> Uploading reports [2022-10-26T19:47:09.438Z] url: https://codecov.io [2022-10-26T19:47:09.438Z] query: branch=PR-200&commit=46f9372487fc1fab33374bf7bf8d5f258f9e4986&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-10-26T19:47:09.438Z] -> Pinging Codecov [2022-10-26T19:47:09.439Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-200&commit=46f9372487fc1fab33374bf7bf8d5f258f9e4986&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-10-26T19:47:09.696Z] -> Uploading to [2022-10-26T19:47:09.696Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/6C56EA5C29638FB4528AC87E60AF5AE0/46f9372487fc1fab33374bf7bf8d5f258f9e4986/b7c7293a-0f88-496e-868b-bf2b82ec98c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T194709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82430d4906c36ba17147ed3879bcb28c2c03d859221446b55b225e0bfe970229 [2022-10-26T19:47:09.696Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:47:09.696Z] Dload Upload Total Spent Left Speed [2022-10-26T19:47:09.955Z] 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 7347 --:--:-- --:--:-- --:--:-- 7347 [2022-10-26T19:47:09.955Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] } [2022-10-26T19:47:09.963Z] 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-10-26T19:47:10.639Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-200/archives ] [2022-10-26T19:47:10.639Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives [2022-10-26T19:47:10.639Z] total 16 [2022-10-26T19:47:10.639Z] drwxr-xr-x 3 root root 4096 Oct 26 19:38 . [2022-10-26T19:47:10.639Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:47:10.639Z] drwxr-xr-x 2 root root 4096 Oct 26 19:38 cost [2022-10-26T19:47:10.639Z] -rw-r--r-- 1 root root 86 Oct 26 19:38 cost.csv [2022-10-26T19:47:10.639Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-200/archives [2022-10-26T19:47:10.639Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives [2022-10-26T19:47:10.639Z] total 16 [2022-10-26T19:47:10.639Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:38 . [2022-10-26T19:47:10.639Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:47:10.639Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:38 cost [2022-10-26T19:47:10.639Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 19:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:10.930Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:11.790Z] ---> package-listing.sh [2022-10-26T19:47:11.790Z] ++ facter osfamily [2022-10-26T19:47:11.790Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:47:12.050Z] + OS_FAMILY=debian [2022-10-26T19:47:12.050Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-200 [2022-10-26T19:47:12.050Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:47:12.050Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:47:12.050Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:47:12.050Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:47:12.050Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' [2022-10-26T19:47:12.050Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:47:12.050Z] + case "${OS_FAMILY}" in [2022-10-26T19:47:12.050Z] + dpkg -l [2022-10-26T19:47:12.050Z] + grep '^ii' [2022-10-26T19:47:12.050Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:47:12.050Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:47:12.050Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:47:12.050Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' [2022-10-26T19:47:12.050Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ [2022-10-26T19:47:12.050Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ [Pipeline] echo [2022-10-26T19:47:12.061Z] 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T19:47:12.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:47:12.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:47:12.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:47:12.964Z] prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container [2022-10-26T19:47:12.998Z] $ 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-200/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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:47:13.222Z] $ docker top fce8705864f541650629c5d5cccb63911ce7e012850f48c3acb9a541f2d96bcd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:47:13.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:47:13.844Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:47:14.129Z] + ls /var/log/sa-host [2022-10-26T19:47:14.129Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:47:14.185Z] provisioning config files... [2022-10-26T19:47:14.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config9878757203232612687tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:47:14.206Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:14.489Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:47:14.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:14.801Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:47:14.810Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:15.094Z] ---> sudo-logs.sh [2022-10-26T19:47:15.094Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:47:15.124Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:15.408Z] ---> job-cost.sh [2022-10-26T19:47:15.408Z] lf-activate-venv: SKIPPING [2022-10-26T19:47:15.408Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:47:15.408Z] INFO: Retrieving Stack Cost... [2022-10-26T19:47:15.978Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:47:16.238Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:47:16.250Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:16.536Z] ---> logs-deploy.sh [2022-10-26T19:47:16.536Z] lf-activate-venv: SKIPPING [2022-10-26T19:47:16.536Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-200/3 [2022-10-26T19:47:16.536Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:47:17.477Z] Archives upload complete. [2022-10-26T19:47:17.477Z] INFO: archiving logs to Nexus