Pull request #180 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fe5187ccf8d61784eb9d7f9566f1baf24898a1df+de36933a196ec2e5ea0c5601bc2b4d4bfd93191e (e3a99fa11adb2fcc8635d16a59ed1f03d2f61e25) 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-ssh12871581915661279588.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh11608537927627044062.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2212277890421402017.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8930327300417348441.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2087286269943153117.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18303313518458207443.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16062 in /w/workspace/gexfoundry_device-snmp-go_PR-180 [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-180 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit de36933a196ec2e5ea0c5601bc2b4d4bfd93191e into PR head commit fe5187ccf8d61784eb9d7f9566f1baf24898a1df Merge succeeded, producing fe5187ccf8d61784eb9d7f9566f1baf24898a1df Checking out Revision fe5187ccf8d61784eb9d7f9566f1baf24898a1df (PR-180) > git config core.sparsecheckout # timeout=10 > git checkout -f fe5187ccf8d61784eb9d7f9566f1baf24898a1df # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge de36933a196ec2e5ea0c5601bc2b4d4bfd93191e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe5187ccf8d61784eb9d7f9566f1baf24898a1df # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T05:05:44.037Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T05:05:44.208Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T05:05:44.305Z] ========================================================= [2022-06-27T05:05:44.305Z] EdgeX Global Pipelines Version Info [2022-06-27T05:05:44.305Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:05:45.110Z] ------------------- [2022-06-27T05:05:45.110Z] stable info: [2022-06-27T05:05:45.110Z] ------------------- [2022-06-27T05:05:45.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T05:05:45.110Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:05:45.110Z] Message: update stable to v1.0.234 [2022-06-27T05:05:45.682Z] ------------------- [2022-06-27T05:05:45.682Z] experimental info: [2022-06-27T05:05:45.682Z] ------------------- [2022-06-27T05:05:45.682Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T05:05:45.682Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:05:45.682Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T05:05:46.075Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-06-27T05:05:46.113Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-06-27T05:05:46.153Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T05:05:46.189Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T05:05:46.227Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T05:05:46.268Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T05:05:46.304Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T05:05:46.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T05:05:46.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T05:05:46.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T05:05:46.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T05:05:46.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-06-27T05:05:46.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T05:05:46.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T05:05:46.609Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:05:46.647Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:05:46.683Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:05:46.720Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:05:46.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T05:05:46.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T05:05:46.832Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T05:05:46.868Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T05:05:46.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T05:05:46.941Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T05:05:46.978Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T05:05:47.014Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T05:05:47.055Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T05:05:47.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2022-06-27T05:05:47.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2022-06-27T05:05:47.172Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2022-06-27T05:05:47.213Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe5187ccf8d61784eb9d7f9566f1baf24898a1df [Pipeline] echo [2022-06-27T05:05:47.248Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe5187c [Pipeline] echo [2022-06-27T05:05:47.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:05:47.399Z] provisioning config files... [2022-06-27T05:05:47.414Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/config4873676078713838701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:05:47.761Z] ---> docker-login.sh [2022-06-27T05:05:47.761Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:05:48.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:48.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:48.022Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:48.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:48.022Z] [2022-06-27T05:05:48.022Z] Login Succeeded [2022-06-27T05:05:48.022Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:05:48.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:48.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:48.283Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:48.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:48.283Z] [2022-06-27T05:05:48.283Z] Login Succeeded [2022-06-27T05:05:48.283Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:05:48.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:48.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:48.283Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:48.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:48.283Z] [2022-06-27T05:05:48.283Z] Login Succeeded [2022-06-27T05:05:48.283Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:05:48.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:48.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:48.545Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:48.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:48.545Z] [2022-06-27T05:05:48.545Z] Login Succeeded [2022-06-27T05:05:48.545Z] docker.io [2022-06-27T05:05:48.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:48.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:48.806Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:48.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:48.806Z] [2022-06-27T05:05:48.806Z] Login Succeeded [2022-06-27T05:05:48.806Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:05:48.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T05:05:49.471Z] + git rev-list -1 --merges fe5187ccf8d61784eb9d7f9566f1baf24898a1df~1..fe5187ccf8d61784eb9d7f9566f1baf24898a1df [Pipeline] echo [2022-06-27T05:05:49.517Z] -----------> git rev-list -1 --merges fe5187ccf8d61784eb9d7f9566f1baf24898a1df~1..fe5187ccf8d61784eb9d7f9566f1baf24898a1df fe5187ccf8d61784eb9d7f9566f1baf24898a1df [false] [Pipeline] sh [2022-06-27T05:05:49.827Z] + git log --format=format:%s -1 fe5187ccf8d61784eb9d7f9566f1baf24898a1df [Pipeline] echo [2022-06-27T05:05:49.863Z] ========================================================= [2022-06-27T05:05:49.863Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T05:05:49.863Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:05:50.300Z] + git log --format=format:%s -1 fe5187ccf8d61784eb9d7f9566f1baf24898a1df [Pipeline] echo [2022-06-27T05:05:50.333Z] [semverPrep] GIT_COMMIT: fe5187ccf8d61784eb9d7f9566f1baf24898a1df, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-06-27T05:05:50.365Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T05:05:50.738Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T05:05:50.738Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T05:05:50.738Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T05:05:50.738Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T05:05:50.738Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T05:05:50.738Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T05:05:50.738Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:51.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:05:51.171Z] [2022-06-27T05:05:51.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:51.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:05:51.547Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T05:05:51.547Z] 42c077c10790: Pulling fs layer [2022-06-27T05:05:51.547Z] f63e77b7563a: Pulling fs layer [2022-06-27T05:05:51.547Z] bd5fdadae976: Pulling fs layer [2022-06-27T05:05:51.547Z] 205491f53016: Pulling fs layer [2022-06-27T05:05:51.547Z] df18705c85c3: Pulling fs layer [2022-06-27T05:05:51.547Z] bdb3f477010e: Pulling fs layer [2022-06-27T05:05:51.547Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T05:05:51.547Z] 205491f53016: Waiting [2022-06-27T05:05:51.547Z] df18705c85c3: Waiting [2022-06-27T05:05:51.547Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T05:05:51.547Z] bdb3f477010e: Waiting [2022-06-27T05:05:51.547Z] c8a8fc8e1c8f: Waiting [2022-06-27T05:05:51.547Z] 2c6e9b1d212d: Waiting [2022-06-27T05:05:51.547Z] bdb8f0575790: Pulling fs layer [2022-06-27T05:05:51.547Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T05:05:51.547Z] bdb8f0575790: Waiting [2022-06-27T05:05:51.547Z] 2343380bae48: Pulling fs layer [2022-06-27T05:05:51.547Z] f63e77b7563a: Verifying Checksum [2022-06-27T05:05:51.547Z] f63e77b7563a: Download complete [2022-06-27T05:05:51.547Z] 205491f53016: Verifying Checksum [2022-06-27T05:05:51.547Z] 205491f53016: Download complete [2022-06-27T05:05:51.547Z] df18705c85c3: Verifying Checksum [2022-06-27T05:05:51.547Z] df18705c85c3: Download complete [2022-06-27T05:05:51.807Z] bdb3f477010e: Verifying Checksum [2022-06-27T05:05:51.807Z] bdb3f477010e: Download complete [2022-06-27T05:05:51.807Z] bd5fdadae976: Verifying Checksum [2022-06-27T05:05:51.807Z] bd5fdadae976: Download complete [2022-06-27T05:05:51.807Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T05:05:51.807Z] 2c6e9b1d212d: Download complete [2022-06-27T05:05:51.807Z] bdb8f0575790: Verifying Checksum [2022-06-27T05:05:51.807Z] bdb8f0575790: Download complete [2022-06-27T05:05:51.807Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T05:05:51.807Z] 386e3cb2ff24: Download complete [2022-06-27T05:05:51.807Z] 2343380bae48: Verifying Checksum [2022-06-27T05:05:51.807Z] 2343380bae48: Download complete [2022-06-27T05:05:51.807Z] 42c077c10790: Verifying Checksum [2022-06-27T05:05:51.807Z] 42c077c10790: Download complete [2022-06-27T05:05:52.066Z] c8a8fc8e1c8f: Download complete [2022-06-27T05:05:53.010Z] 42c077c10790: Pull complete [2022-06-27T05:05:53.269Z] f63e77b7563a: Pull complete [2022-06-27T05:05:53.839Z] bd5fdadae976: Pull complete [2022-06-27T05:05:53.839Z] 205491f53016: Pull complete [2022-06-27T05:05:54.097Z] df18705c85c3: Pull complete [2022-06-27T05:05:54.097Z] bdb3f477010e: Pull complete [2022-06-27T05:05:56.003Z] c8a8fc8e1c8f: Pull complete [2022-06-27T05:05:56.003Z] 2c6e9b1d212d: Pull complete [2022-06-27T05:05:56.003Z] bdb8f0575790: Pull complete [2022-06-27T05:05:56.263Z] 386e3cb2ff24: Pull complete [2022-06-27T05:05:56.263Z] 2343380bae48: Pull complete [2022-06-27T05:05:56.263Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T05:05:56.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:05:56.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:05:56.495Z] prd-ubuntu20.04-docker-8c-8g-16062 does not seem to be running inside a container [2022-06-27T05:05:56.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-180 -v /w/workspace/gexfoundry_device-snmp-go_PR-180:/w/workspace/gexfoundry_device-snmp-go_PR-180:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T05:05:57.991Z] $ docker top c76703e63d6fe36e31fa1e1815864cae31269881f91cdf3b855f129fe2fed391 -eo pid,comm [2022-06-27T05:05:58.052Z] 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-06-27T05:05:58.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T05:05:58.190Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:05:58.190Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:05:58.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:05:58.347Z] $ docker exec c76703e63d6fe36e31fa1e1815864cae31269881f91cdf3b855f129fe2fed391 ssh-agent [2022-06-27T05:05:58.467Z] SSH_AUTH_SOCK=/tmp/ssh-08y0Vwyvd9Ja/agent.32 [2022-06-27T05:05:58.467Z] SSH_AGENT_PID=39 [2022-06-27T05:05:58.475Z] Running ssh-add (command line suppressed) [2022-06-27T05:05:58.613Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/private_key_4256141777839668120.key (/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/private_key_4256141777839668120.key) [2022-06-27T05:05:58.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:05:58.952Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T05:05:58.996Z] $ docker exec --env ******** --env ******** c76703e63d6fe36e31fa1e1815864cae31269881f91cdf3b855f129fe2fed391 ssh-agent -k [2022-06-27T05:05:59.130Z] unset SSH_AUTH_SOCK; [2022-06-27T05:05:59.131Z] unset SSH_AGENT_PID; [2022-06-27T05:05:59.131Z] echo Agent pid 39 killed; [2022-06-27T05:05:59.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T05:05:59.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:05:59.220Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:05:59.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:05:59.369Z] $ docker exec c76703e63d6fe36e31fa1e1815864cae31269881f91cdf3b855f129fe2fed391 ssh-agent [2022-06-27T05:05:59.490Z] SSH_AUTH_SOCK=/tmp/ssh-FiQHT1MaI1OD/agent.73 [2022-06-27T05:05:59.490Z] SSH_AGENT_PID=79 [2022-06-27T05:05:59.496Z] Running ssh-add (command line suppressed) [2022-06-27T05:05:59.623Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/private_key_7262391776863179813.key (/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/private_key_7262391776863179813.key) [2022-06-27T05:05:59.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:05:59.955Z] + git semver init [2022-06-27T05:06:00.216Z] 2022-06-27 05:06:00,168 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T05:06:00.216Z] 2022-06-27 05:06:00,168 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-180/.semver [2022-06-27T05:06:00.217Z] 2022-06-27 05:06:00,169 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-180/.semver [2022-06-27T05:06:00.217Z] 2022-06-27 05:06:00,169 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-180/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-180, universal_newlines=False, shell=None, istream=None) [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,891 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-180/.git/info/exclude [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,891 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-180/.semver/PR-180 with force:False [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,891 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-180/.semver/PR-180 [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,896 [execute] INFO git cat-file --batch-check [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,902 [execute] INFO git cat-file --batch [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:06:01.161Z] 2022-06-27 05:06:00,908 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-180/.semver/PR-180 [2022-06-27T05:06:01.161Z] 0.0.0 [Pipeline] } [2022-06-27T05:06:01.197Z] $ docker exec --env ******** --env ******** c76703e63d6fe36e31fa1e1815864cae31269881f91cdf3b855f129fe2fed391 ssh-agent -k [2022-06-27T05:06:01.306Z] unset SSH_AUTH_SOCK; [2022-06-27T05:06:01.307Z] unset SSH_AGENT_PID; [2022-06-27T05:06:01.307Z] echo Agent pid 79 killed; [2022-06-27T05:06:01.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T05:06:01.740Z] + git semver [Pipeline] } [2022-06-27T05:06:02.038Z] $ docker stop --time=1 c76703e63d6fe36e31fa1e1815864cae31269881f91cdf3b855f129fe2fed391 [2022-06-27T05:06:03.348Z] $ docker rm -f c76703e63d6fe36e31fa1e1815864cae31269881f91cdf3b855f129fe2fed391 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:06:03.762Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T05:06:04.081Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T05:06:04.099Z] [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-06-27T05:06:04.687Z] provisioning config files... [2022-06-27T05:06:04.697Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/config11977646215494669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:06:05.044Z] ---> docker-login.sh [2022-06-27T05:06:05.044Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:06:05.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:06:05.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:06:05.044Z] Configure a credential helper to remove this warning. See [2022-06-27T05:06:05.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:06:05.044Z] [2022-06-27T05:06:05.044Z] Login Succeeded [2022-06-27T05:06:05.044Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:06:05.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:06:05.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:06:05.306Z] Configure a credential helper to remove this warning. See [2022-06-27T05:06:05.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:06:05.306Z] [2022-06-27T05:06:05.306Z] Login Succeeded [2022-06-27T05:06:05.306Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:06:05.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:06:05.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:06:05.306Z] Configure a credential helper to remove this warning. See [2022-06-27T05:06:05.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:06:05.306Z] [2022-06-27T05:06:05.306Z] Login Succeeded [2022-06-27T05:06:05.306Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:06:05.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:06:05.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:06:05.566Z] Configure a credential helper to remove this warning. See [2022-06-27T05:06:05.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:06:05.566Z] [2022-06-27T05:06:05.566Z] Login Succeeded [2022-06-27T05:06:05.566Z] docker.io [2022-06-27T05:06:05.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:06:05.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:06:05.829Z] Configure a credential helper to remove this warning. See [2022-06-27T05:06:05.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:06:05.829Z] [2022-06-27T05:06:05.829Z] Login Succeeded [2022-06-27T05:06:05.829Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:06:05.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:06:06.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:06:06.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:06:06.098Z] ========================================================= [2022-06-27T05:06:06.098Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T05:06:06.098Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:06:06.562Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T05:06:06.562Z] Sending build context to Docker daemon 5.403MB [2022-06-27T05:06:06.562Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:06:06.562Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T05:06:06.562Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T05:06:06.562Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T05:06:06.562Z] 666ba61612fd: Pulling fs layer [2022-06-27T05:06:06.562Z] 8ed8ca486205: Pulling fs layer [2022-06-27T05:06:06.562Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T05:06:06.562Z] c516ae0d96e1: Pulling fs layer [2022-06-27T05:06:06.562Z] 684cea983483: Pulling fs layer [2022-06-27T05:06:06.562Z] dd3240ac7de5: Pulling fs layer [2022-06-27T05:06:06.562Z] b1e948a4e11c: Pulling fs layer [2022-06-27T05:06:06.562Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T05:06:06.562Z] 646ad004c059: Pulling fs layer [2022-06-27T05:06:06.562Z] dd3240ac7de5: Waiting [2022-06-27T05:06:06.562Z] cc1cd167ecdc: Waiting [2022-06-27T05:06:06.562Z] a8fd76ee1af6: Waiting [2022-06-27T05:06:06.562Z] c516ae0d96e1: Waiting [2022-06-27T05:06:06.562Z] 646ad004c059: Waiting [2022-06-27T05:06:06.562Z] 684cea983483: Waiting [2022-06-27T05:06:06.562Z] 8ed8ca486205: Verifying Checksum [2022-06-27T05:06:06.562Z] 8ed8ca486205: Download complete [2022-06-27T05:06:06.562Z] 666ba61612fd: Download complete [2022-06-27T05:06:06.827Z] c516ae0d96e1: Verifying Checksum [2022-06-27T05:06:06.827Z] c516ae0d96e1: Download complete [2022-06-27T05:06:06.827Z] 684cea983483: Download complete [2022-06-27T05:06:06.827Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T05:06:06.827Z] dd3240ac7de5: Verifying Checksum [2022-06-27T05:06:06.827Z] dd3240ac7de5: Download complete [2022-06-27T05:06:06.827Z] b1e948a4e11c: Verifying Checksum [2022-06-27T05:06:06.827Z] b1e948a4e11c: Download complete [2022-06-27T05:06:06.827Z] 59bf1c3509f3: Pull complete [2022-06-27T05:06:07.096Z] 666ba61612fd: Pull complete [2022-06-27T05:06:07.096Z] 8ed8ca486205: Pull complete [2022-06-27T05:06:07.359Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T05:06:07.359Z] a8fd76ee1af6: Download complete [2022-06-27T05:06:07.619Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T05:06:07.619Z] cc1cd167ecdc: Download complete [2022-06-27T05:06:07.619Z] 646ad004c059: Verifying Checksum [2022-06-27T05:06:07.619Z] 646ad004c059: Download complete [2022-06-27T05:06:11.815Z] cc1cd167ecdc: Pull complete [2022-06-27T05:06:11.815Z] c516ae0d96e1: Pull complete [2022-06-27T05:06:11.815Z] 684cea983483: Pull complete [2022-06-27T05:06:11.815Z] dd3240ac7de5: Pull complete [2022-06-27T05:06:11.815Z] b1e948a4e11c: Pull complete [2022-06-27T05:06:13.720Z] a8fd76ee1af6: Pull complete [2022-06-27T05:06:14.658Z] 646ad004c059: Pull complete [2022-06-27T05:06:14.658Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T05:06:14.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T05:06:14.658Z] ---> 8f69c11f6b0c [2022-06-27T05:06:14.658Z] Step 3/12 : ARG MAKE='make build' [2022-06-27T05:06:16.573Z] ---> Running in 37c39dcbc191 [2022-06-27T05:06:16.573Z] Removing intermediate container 37c39dcbc191 [2022-06-27T05:06:16.573Z] ---> cb5497090989 [2022-06-27T05:06:16.573Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T05:06:16.573Z] ---> Running in f28197fbad83 [2022-06-27T05:06:16.573Z] Removing intermediate container f28197fbad83 [2022-06-27T05:06:16.573Z] ---> 6ace345f19e1 [2022-06-27T05:06:16.573Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T05:06:16.573Z] ---> Running in 16e3496eb976 [2022-06-27T05:06:16.573Z] Removing intermediate container 16e3496eb976 [2022-06-27T05:06:16.573Z] ---> 40878243cd57 [2022-06-27T05:06:16.573Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:06:16.573Z] ---> Running in a9fafd212a28 [2022-06-27T05:06:17.143Z] Removing intermediate container a9fafd212a28 [2022-06-27T05:06:17.143Z] ---> c81ebd17c908 [2022-06-27T05:06:17.143Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T05:06:17.143Z] ---> Running in da5f60785ac0 [2022-06-27T05:06:17.402Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:06:18.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:06:18.616Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:06:18.616Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T05:06:18.616Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:06:18.877Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:06:18.877Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:06:18.877Z] OK: 224 MiB in 56 packages [2022-06-27T05:06:19.449Z] Removing intermediate container da5f60785ac0 [2022-06-27T05:06:19.449Z] ---> bc83969116c9 [2022-06-27T05:06:19.449Z] Step 8/12 : WORKDIR /device-snmp-go [2022-06-27T05:06:19.449Z] ---> Running in ff733ffb97dd [2022-06-27T05:06:19.449Z] Removing intermediate container ff733ffb97dd [2022-06-27T05:06:19.449Z] ---> d8acd89faaae [2022-06-27T05:06:19.449Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T05:06:19.449Z] ---> c2313dcfe57b [2022-06-27T05:06:19.449Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:06:19.522Z] Still waiting to schedule task [2022-06-27T05:06:19.523Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16061’ [2022-06-27T05:06:19.711Z] ---> Running in 44404eeaff10 [2022-06-27T05:06:34.623Z] Removing intermediate container 44404eeaff10 [2022-06-27T05:06:34.623Z] ---> de4affd5b6d3 [2022-06-27T05:06:34.623Z] Step 11/12 : COPY . . [2022-06-27T05:06:34.623Z] ---> 7b3840af4ffe [2022-06-27T05:06:34.623Z] Step 12/12 : RUN ${MAKE} [2022-06-27T05:06:34.623Z] ---> Running in 0778d9895dd8 [2022-06-27T05:06:34.623Z] noop [2022-06-27T05:06:34.623Z] Removing intermediate container 0778d9895dd8 [2022-06-27T05:06:34.623Z] ---> 86d083cdf67f [2022-06-27T05:06:34.623Z] Successfully built 86d083cdf67f [2022-06-27T05:06:34.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:06:35.061Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:06:35.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:06:35.218Z] prd-ubuntu20.04-docker-8c-8g-16062 does not seem to be running inside a container [2022-06-27T05:06:35.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-180 -v /w/workspace/gexfoundry_device-snmp-go_PR-180:/w/workspace/gexfoundry_device-snmp-go_PR-180:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:06:35.630Z] $ docker top dfd999e1ec040740583330829414093d0da4c6ac2671f414307044ed08de8b53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:06:36.026Z] + go version [2022-06-27T05:06:36.026Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T05:06:36.060Z] $ docker stop --time=1 dfd999e1ec040740583330829414093d0da4c6ac2671f414307044ed08de8b53 [2022-06-27T05:06:37.342Z] $ docker rm -f dfd999e1ec040740583330829414093d0da4c6ac2671f414307044ed08de8b53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:06:38.050Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:06:38.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:06:38.212Z] prd-ubuntu20.04-docker-8c-8g-16062 does not seem to be running inside a container [2022-06-27T05:06:38.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-180 -v /w/workspace/gexfoundry_device-snmp-go_PR-180:/w/workspace/gexfoundry_device-snmp-go_PR-180:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:06:38.666Z] $ docker top e268d9348c85774aaefb413165f270d9ef2b545d32f317590e2855682c5203f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:06:39.102Z] + make test [2022-06-27T05:06:39.102Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:06:39.361Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-27T05:06:49.341Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-27T05:06:49.341Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2022-06-27T05:06:54.619Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:06:58.826Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:06:58.826Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:06:58.826Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:06:59.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:06:59.148Z] $ docker stop --time=1 e268d9348c85774aaefb413165f270d9ef2b545d32f317590e2855682c5203f8 [2022-06-27T05:07:00.897Z] $ docker rm -f e268d9348c85774aaefb413165f270d9ef2b545d32f317590e2855682c5203f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:07:01.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:07:01.455Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T05:07:02.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:07:02.371Z] + ls -al . [2022-06-27T05:07:02.371Z] total 168 [2022-06-27T05:07:02.371Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 05:06 . [2022-06-27T05:07:02.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:05 .. [2022-06-27T05:07:02.371Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 27 05:05 .dockerignore [2022-06-27T05:07:02.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:06 .git [2022-06-27T05:07:02.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:05 .github [2022-06-27T05:07:02.371Z] -rw-rw-r-- 1 jenkins jenkins 328 Jun 27 05:05 .gitignore [2022-06-27T05:07:02.371Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:05 .golangci.yml [2022-06-27T05:07:02.371Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:06 .semver [2022-06-27T05:07:02.371Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jun 27 05:05 Attribution.txt [2022-06-27T05:07:02.371Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jun 27 05:05 CHANGELOG.md [2022-06-27T05:07:02.371Z] -rw-rw-r-- 1 jenkins jenkins 1516 Jun 27 05:05 Dockerfile [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:05 GOVERNANCE.md [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 27 05:05 Jenkinsfile [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:05 LICENSE [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jun 27 05:05 Makefile [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 05:05 OWNERS.md [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jun 27 05:05 README.md [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 05:06 VERSION [2022-06-27T05:07:02.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:05 bin [2022-06-27T05:07:02.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:05 cmd [2022-06-27T05:07:02.372Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 27 05:06 coverage.out [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jun 27 05:05 go.mod [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 36549 Jun 27 05:05 go.sum [2022-06-27T05:07:02.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:05 internal [2022-06-27T05:07:02.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:05 snap [2022-06-27T05:07:02.372Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 27 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:07:02.758Z] + 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=fe5187ccf8d61784eb9d7f9566f1baf24898a1df --label arch=amd64 --label version=0.0.0 . [2022-06-27T05:07:02.758Z] Sending build context to Docker daemon 5.411MB [2022-06-27T05:07:02.758Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:07:02.758Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T05:07:02.758Z] ---> 86d083cdf67f [2022-06-27T05:07:02.758Z] Step 3/24 : ARG MAKE='make build' [2022-06-27T05:07:02.758Z] ---> Running in ef1497c8d2d4 [2022-06-27T05:07:03.018Z] Removing intermediate container ef1497c8d2d4 [2022-06-27T05:07:03.018Z] ---> 4a49802bba4c [2022-06-27T05:07:03.018Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T05:07:03.018Z] ---> Running in 3c6503536956 [2022-06-27T05:07:03.018Z] Removing intermediate container 3c6503536956 [2022-06-27T05:07:03.018Z] ---> 3e5f87a97f5e [2022-06-27T05:07:03.018Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T05:07:03.018Z] ---> Running in 58448cc2518a [2022-06-27T05:07:03.277Z] Removing intermediate container 58448cc2518a [2022-06-27T05:07:03.277Z] ---> 66a54560e629 [2022-06-27T05:07:03.277Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:07:03.277Z] ---> Running in b6f048be6ec8 [2022-06-27T05:07:03.849Z] Removing intermediate container b6f048be6ec8 [2022-06-27T05:07:03.849Z] ---> c62369c19689 [2022-06-27T05:07:03.849Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T05:07:03.849Z] ---> Running in 41671df19fa1 [2022-06-27T05:07:04.110Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:07:05.054Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:07:05.317Z] OK: 224 MiB in 56 packages [2022-06-27T05:07:05.577Z] Removing intermediate container 41671df19fa1 [2022-06-27T05:07:05.577Z] ---> be27e399ed6f [2022-06-27T05:07:05.577Z] Step 8/24 : WORKDIR /device-snmp-go [2022-06-27T05:07:05.577Z] ---> Running in 93f8a0ba7ffe [2022-06-27T05:07:05.837Z] Removing intermediate container 93f8a0ba7ffe [2022-06-27T05:07:05.837Z] ---> 6f31e97c6164 [2022-06-27T05:07:05.837Z] Step 9/24 : COPY go.mod vendor* ./ [2022-06-27T05:07:05.837Z] ---> 6e2099f8c5e9 [2022-06-27T05:07:05.837Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:07:05.838Z] ---> Running in 1f359fb67023 [2022-06-27T05:07:06.406Z] Removing intermediate container 1f359fb67023 [2022-06-27T05:07:06.406Z] ---> 9df1914aacf9 [2022-06-27T05:07:06.406Z] Step 11/24 : COPY . . [2022-06-27T05:07:06.978Z] ---> e9b96d5114a8 [2022-06-27T05:07:06.978Z] Step 12/24 : RUN ${MAKE} [2022-06-27T05:07:06.978Z] ---> Running in 18611ab00821 [2022-06-27T05:07:07.238Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.10 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-06-27T05:07:29.188Z] Removing intermediate container 18611ab00821 [2022-06-27T05:07:29.188Z] ---> 73e5a10f666e [2022-06-27T05:07:29.188Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T05:07:29.188Z] 3.14: Pulling from library/alpine [2022-06-27T05:07:29.188Z] 8663204ce13b: Pulling fs layer [2022-06-27T05:07:29.188Z] 8663204ce13b: Download complete [2022-06-27T05:07:29.188Z] 8663204ce13b: Pull complete [2022-06-27T05:07:29.188Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:07:29.188Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:07:29.188Z] ---> e04c818066af [2022-06-27T05:07:29.188Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:07:29.188Z] ---> Running in 66cfe330a834 [2022-06-27T05:07:29.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:07:29.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:07:29.188Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:07:29.188Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:07:29.188Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:07:29.188Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:07:29.188Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:07:29.188Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:07:29.188Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:07:29.188Z] OK: 8 MiB in 20 packages [2022-06-27T05:07:29.188Z] Removing intermediate container 66cfe330a834 [2022-06-27T05:07:29.188Z] ---> 2345cae90310 [2022-06-27T05:07:29.188Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-06-27T05:07:29.188Z] ---> 9abda17044e1 [2022-06-27T05:07:29.188Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-27T05:07:29.188Z] ---> 5b8fe1de38e5 [2022-06-27T05:07:29.188Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-27T05:07:29.188Z] ---> 1f8b2c4f10d8 [2022-06-27T05:07:29.188Z] Step 18/24 : EXPOSE 59993 [2022-06-27T05:07:29.188Z] ---> Running in 41f75d5b69a0 [2022-06-27T05:07:29.188Z] Removing intermediate container 41f75d5b69a0 [2022-06-27T05:07:29.188Z] ---> f10cbffd4571 [2022-06-27T05:07:29.188Z] Step 19/24 : EXPOSE 161 [2022-06-27T05:07:29.188Z] ---> Running in 10c8da75b89d [2022-06-27T05:07:29.188Z] Removing intermediate container 10c8da75b89d [2022-06-27T05:07:29.188Z] ---> 34807fe24158 [2022-06-27T05:07:29.188Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-06-27T05:07:29.188Z] ---> Running in 3c9c588751ec [2022-06-27T05:07:29.188Z] Removing intermediate container 3c9c588751ec [2022-06-27T05:07:29.188Z] ---> 0489ae259628 [2022-06-27T05:07:29.188Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-27T05:07:29.188Z] ---> Running in 370f5534ef01 [2022-06-27T05:07:29.188Z] Removing intermediate container 370f5534ef01 [2022-06-27T05:07:29.188Z] ---> 5bc207aac053 [2022-06-27T05:07:29.188Z] Step 22/24 : LABEL arch=amd64 [2022-06-27T05:07:29.188Z] ---> Running in 3e7e94e632a0 [2022-06-27T05:07:29.188Z] Removing intermediate container 3e7e94e632a0 [2022-06-27T05:07:29.188Z] ---> c650a98fcb60 [2022-06-27T05:07:29.188Z] Step 23/24 : LABEL git_sha=fe5187ccf8d61784eb9d7f9566f1baf24898a1df [2022-06-27T05:07:29.188Z] ---> Running in 28dac2ba6611 [2022-06-27T05:07:29.448Z] Removing intermediate container 28dac2ba6611 [2022-06-27T05:07:29.448Z] ---> bc8369325ea3 [2022-06-27T05:07:29.448Z] Step 24/24 : LABEL version=0.0.0 [2022-06-27T05:07:29.448Z] ---> Running in fbc802c23f88 [2022-06-27T05:07:29.448Z] Removing intermediate container fbc802c23f88 [2022-06-27T05:07:29.448Z] ---> e182d3862365 [2022-06-27T05:07:29.448Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:07:29.448Z] Successfully built e182d3862365 [2022-06-27T05:07:29.448Z] 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-06-27T05:07:30.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:07:30.301Z] [2022-06-27T05:07:30.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:07:30.674Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:07:30.674Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T05:07:30.674Z] 5eb5b503b376: Pulling fs layer [2022-06-27T05:07:30.674Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T05:07:30.674Z] ec43610c2a17: Pulling fs layer [2022-06-27T05:07:30.674Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T05:07:30.674Z] 33b1e0a273af: Pulling fs layer [2022-06-27T05:07:30.674Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T05:07:30.674Z] 2f39f015ded8: Pulling fs layer [2022-06-27T05:07:30.674Z] 33b1e0a273af: Waiting [2022-06-27T05:07:30.674Z] 5d3b04190fa2: Waiting [2022-06-27T05:07:30.674Z] 2f39f015ded8: Waiting [2022-06-27T05:07:30.674Z] 3a2ae6a8a46f: Waiting [2022-06-27T05:07:30.674Z] 5c69ac0246d0: Download complete [2022-06-27T05:07:30.674Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T05:07:30.674Z] 3a2ae6a8a46f: Download complete [2022-06-27T05:07:30.674Z] 33b1e0a273af: Verifying Checksum [2022-06-27T05:07:30.674Z] 33b1e0a273af: Download complete [2022-06-27T05:07:30.674Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T05:07:30.674Z] 5d3b04190fa2: Download complete [2022-06-27T05:07:30.674Z] ec43610c2a17: Verifying Checksum [2022-06-27T05:07:30.674Z] ec43610c2a17: Download complete [2022-06-27T05:07:30.934Z] 5eb5b503b376: Verifying Checksum [2022-06-27T05:07:30.934Z] 5eb5b503b376: Download complete [2022-06-27T05:07:31.502Z] 2f39f015ded8: Download complete [2022-06-27T05:07:32.439Z] 5eb5b503b376: Pull complete [2022-06-27T05:07:32.439Z] 5c69ac0246d0: Pull complete [2022-06-27T05:07:33.008Z] ec43610c2a17: Pull complete [2022-06-27T05:07:33.008Z] 3a2ae6a8a46f: Pull complete [2022-06-27T05:07:33.268Z] 33b1e0a273af: Pull complete [2022-06-27T05:07:33.268Z] 5d3b04190fa2: Pull complete [2022-06-27T05:07:37.461Z] 2f39f015ded8: Pull complete [2022-06-27T05:07:37.461Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T05:07:37.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:07:37.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:07:37.688Z] prd-ubuntu20.04-docker-8c-8g-16062 does not seem to be running inside a container [2022-06-27T05:07:37.729Z] $ 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-180 -v /w/workspace/gexfoundry_device-snmp-go_PR-180:/w/workspace/gexfoundry_device-snmp-go_PR-180:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:07:39.303Z] $ docker top 3e4046564164743f76cb90add9201b5288160f520cf01182dac17bbff86a43f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:07:39.737Z] ---> job-cost.sh [2022-06-27T05:07:39.737Z] lf-activate-venv: SKIPPING [2022-06-27T05:07:39.737Z] INFO: No Stack... [2022-06-27T05:07:39.997Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:07:40.568Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:07:40.879Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-180/archives/cost.csv [2022-06-27T05:07:40.880Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T05:07:40.923Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] [2022-06-27T05:07:40.928Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] did not exist. Created. [2022-06-27T05:07:40.928Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:07:41.309Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T05:07:41.359Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:07:41.388Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:07:41.464Z] $ docker stop --time=1 3e4046564164743f76cb90add9201b5288160f520cf01182dac17bbff86a43f0 [2022-06-27T05:07:42.642Z] $ docker rm -f 3e4046564164743f76cb90add9201b5288160f520cf01182dac17bbff86a43f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T05:09:34.120Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16065 in /w/workspace/gexfoundry_device-snmp-go_PR-180 [Pipeline] { [Pipeline] ws [2022-06-27T05:09:34.159Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-06-27T05:09:34.272Z] Selected Git installation does not exist. Using Default [2022-06-27T05:09:34.272Z] The recommended git tool is: NONE [2022-06-27T05:09:40.157Z] using credential edgex-jenkins-ssh [2022-06-27T05:09:40.174Z] Cloning the remote Git repository [2022-06-27T05:09:40.243Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-06-27T05:09:40.343Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-06-27T05:09:40.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-06-27T05:09:40.428Z] > git --version # timeout=10 [2022-06-27T05:09:40.456Z] > git --version # 'git version 2.25.1' [2022-06-27T05:09:40.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:09:40.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:09:41.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-06-27T05:09:41.546Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:09:41.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-06-27T05:09:41.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-06-27T05:09:41.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:09:41.732Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T05:09:42.213Z] Merging remotes/origin/main commit de36933a196ec2e5ea0c5601bc2b4d4bfd93191e into PR head commit fe5187ccf8d61784eb9d7f9566f1baf24898a1df [2022-06-27T05:09:42.445Z] Merge succeeded, producing fe5187ccf8d61784eb9d7f9566f1baf24898a1df [2022-06-27T05:09:42.446Z] Checking out Revision fe5187ccf8d61784eb9d7f9566f1baf24898a1df (PR-180) [2022-06-27T05:09:42.239Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T05:09:42.256Z] > git checkout -f fe5187ccf8d61784eb9d7f9566f1baf24898a1df # timeout=10 [2022-06-27T05:09:42.351Z] > git remote # timeout=10 [2022-06-27T05:09:42.370Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T05:09:42.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:09:42.403Z] > git merge de36933a196ec2e5ea0c5601bc2b4d4bfd93191e # timeout=10 [2022-06-27T05:09:42.431Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T05:09:42.457Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T05:09:42.480Z] > git checkout -f fe5187ccf8d61784eb9d7f9566f1baf24898a1df # timeout=10 [2022-06-27T05:09:46.874Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-06-27T05:09:46.952Z] > git --version # timeout=10 [2022-06-27T05:09:46.965Z] > git --version # 'git version 2.25.1' [2022-06-27T05:09:46.981Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:09:48.134Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T05:09:48.134Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:09:48.134Z] Dload Upload Total Spent Left Speed [2022-06-27T05:09:48.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-06-27T05:09:48.989Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T05:09:49.551Z] + sudo tee /etc/docker/daemon.new [2022-06-27T05:09:49.551Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T05:09:49.551Z] { [2022-06-27T05:09:49.551Z] "registry-mirrors": [ [2022-06-27T05:09:49.551Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T05:09:49.551Z] ], [2022-06-27T05:09:49.551Z] "bip": "10.250.0.254/24", [2022-06-27T05:09:49.551Z] "hosts": [ [2022-06-27T05:09:49.551Z] "tcp://0.0.0.0:5555", [2022-06-27T05:09:49.551Z] "unix:///var/run/docker.sock" [2022-06-27T05:09:49.551Z] ], [2022-06-27T05:09:49.551Z] "mtu": 1458, [2022-06-27T05:09:49.551Z] "selinux-enabled": true, [2022-06-27T05:09:49.551Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T05:09:49.551Z] } [Pipeline] sh [2022-06-27T05:09:50.188Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T05:09:50.553Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:10:08.990Z] provisioning config files... [2022-06-27T05:10:09.023Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1630622253988388314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:10:09.427Z] ---> docker-login.sh [2022-06-27T05:10:09.427Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:10:10.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:10:10.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:10:10.313Z] Configure a credential helper to remove this warning. See [2022-06-27T05:10:10.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:10:10.313Z] [2022-06-27T05:10:10.313Z] Login Succeeded [2022-06-27T05:10:10.313Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:10:10.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:10:10.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:10:10.920Z] Configure a credential helper to remove this warning. See [2022-06-27T05:10:10.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:10:10.920Z] [2022-06-27T05:10:10.920Z] Login Succeeded [2022-06-27T05:10:10.920Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:10:11.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:10:11.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:10:11.526Z] Configure a credential helper to remove this warning. See [2022-06-27T05:10:11.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:10:11.526Z] [2022-06-27T05:10:11.526Z] Login Succeeded [2022-06-27T05:10:11.526Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:10:11.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:10:12.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:10:12.077Z] Configure a credential helper to remove this warning. See [2022-06-27T05:10:12.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:10:12.077Z] [2022-06-27T05:10:12.077Z] Login Succeeded [2022-06-27T05:10:12.077Z] docker.io [2022-06-27T05:10:12.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:10:12.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:10:12.951Z] Configure a credential helper to remove this warning. See [2022-06-27T05:10:12.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:10:12.951Z] [2022-06-27T05:10:12.951Z] Login Succeeded [2022-06-27T05:10:12.951Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:10:12.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:10:13.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:10:13.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:10:13.459Z] ========================================================= [2022-06-27T05:10:13.459Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T05:10:13.459Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:10:13.983Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T05:10:14.258Z] Sending build context to Docker daemon 2.785MB [2022-06-27T05:10:14.541Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:10:14.541Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T05:10:14.541Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T05:10:14.541Z] 9b3977197b4f: Pulling fs layer [2022-06-27T05:10:14.541Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T05:10:14.541Z] 94645a83ff95: Pulling fs layer [2022-06-27T05:10:14.541Z] e6fb740bc735: Pulling fs layer [2022-06-27T05:10:14.541Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T05:10:14.541Z] 355e64cbe906: Pulling fs layer [2022-06-27T05:10:14.541Z] 63ab81a10011: Pulling fs layer [2022-06-27T05:10:14.541Z] 555d1d1c4555: Pulling fs layer [2022-06-27T05:10:14.541Z] 7d9057610161: Pulling fs layer [2022-06-27T05:10:14.541Z] e6fb740bc735: Waiting [2022-06-27T05:10:14.541Z] 3a77bd46dcc9: Waiting [2022-06-27T05:10:14.541Z] 355e64cbe906: Waiting [2022-06-27T05:10:14.541Z] 63ab81a10011: Waiting [2022-06-27T05:10:14.541Z] 555d1d1c4555: Waiting [2022-06-27T05:10:14.541Z] 7d9057610161: Waiting [2022-06-27T05:10:14.541Z] 94645a83ff95: Verifying Checksum [2022-06-27T05:10:14.541Z] 94645a83ff95: Download complete [2022-06-27T05:10:14.541Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T05:10:14.541Z] 1a89e8eeedd5: Download complete [2022-06-27T05:10:14.541Z] 3a77bd46dcc9: Download complete [2022-06-27T05:10:14.821Z] 355e64cbe906: Verifying Checksum [2022-06-27T05:10:14.821Z] 355e64cbe906: Download complete [2022-06-27T05:10:14.821Z] 9b3977197b4f: Verifying Checksum [2022-06-27T05:10:14.821Z] 9b3977197b4f: Download complete [2022-06-27T05:10:14.821Z] 63ab81a10011: Verifying Checksum [2022-06-27T05:10:14.821Z] 63ab81a10011: Download complete [2022-06-27T05:10:15.812Z] 9b3977197b4f: Pull complete [2022-06-27T05:10:15.812Z] 7d9057610161: Verifying Checksum [2022-06-27T05:10:15.812Z] 7d9057610161: Download complete [2022-06-27T05:10:16.420Z] 1a89e8eeedd5: Pull complete [2022-06-27T05:10:16.695Z] 94645a83ff95: Pull complete [2022-06-27T05:10:16.972Z] 555d1d1c4555: Verifying Checksum [2022-06-27T05:10:16.972Z] 555d1d1c4555: Download complete [2022-06-27T05:10:17.578Z] e6fb740bc735: Verifying Checksum [2022-06-27T05:10:17.578Z] e6fb740bc735: Download complete [2022-06-27T05:10:30.013Z] e6fb740bc735: Pull complete [2022-06-27T05:10:30.013Z] 3a77bd46dcc9: Pull complete [2022-06-27T05:10:30.013Z] 355e64cbe906: Pull complete [2022-06-27T05:10:30.013Z] 63ab81a10011: Pull complete [2022-06-27T05:10:36.741Z] 555d1d1c4555: Pull complete [2022-06-27T05:10:38.742Z] 7d9057610161: Pull complete [2022-06-27T05:10:38.742Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T05:10:38.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T05:10:38.742Z] ---> 819e984ddca1 [2022-06-27T05:10:38.742Z] Step 3/12 : ARG MAKE='make build' [2022-06-27T05:10:40.196Z] ---> Running in c96e53a84b0c [2022-06-27T05:10:40.822Z] Removing intermediate container c96e53a84b0c [2022-06-27T05:10:40.822Z] ---> 01b783e566c9 [2022-06-27T05:10:40.822Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T05:10:40.822Z] ---> Running in 49d48fa54d02 [2022-06-27T05:10:41.104Z] Removing intermediate container 49d48fa54d02 [2022-06-27T05:10:41.104Z] ---> 04eca77f13fa [2022-06-27T05:10:41.104Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T05:10:41.104Z] ---> Running in d9f4deeeb0ba [2022-06-27T05:10:41.703Z] Removing intermediate container d9f4deeeb0ba [2022-06-27T05:10:41.703Z] ---> 6b9ba598b6d1 [2022-06-27T05:10:41.703Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:10:41.703Z] ---> Running in 6ad4fe546ff6 [2022-06-27T05:10:43.689Z] Removing intermediate container 6ad4fe546ff6 [2022-06-27T05:10:43.689Z] ---> 8f8aaa19e642 [2022-06-27T05:10:43.689Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T05:10:43.689Z] ---> Running in a693ec5dd523 [2022-06-27T05:10:45.127Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:10:45.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:10:46.713Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:10:46.714Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T05:10:46.991Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:10:47.281Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:10:47.281Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:10:47.281Z] OK: 224 MiB in 56 packages [2022-06-27T05:10:48.283Z] Removing intermediate container a693ec5dd523 [2022-06-27T05:10:48.283Z] ---> ee9e28d34d51 [2022-06-27T05:10:48.283Z] Step 8/12 : WORKDIR /device-snmp-go [2022-06-27T05:10:48.283Z] ---> Running in 83b885d05bdd [2022-06-27T05:10:48.892Z] Removing intermediate container 83b885d05bdd [2022-06-27T05:10:48.892Z] ---> 3490480e2199 [2022-06-27T05:10:48.892Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T05:10:49.493Z] ---> e16c842f7275 [2022-06-27T05:10:49.493Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:10:49.493Z] ---> Running in 951215e5883b [2022-06-27T05:11:36.499Z] Removing intermediate container 951215e5883b [2022-06-27T05:11:36.499Z] ---> 26479407658e [2022-06-27T05:11:36.499Z] Step 11/12 : COPY . . [2022-06-27T05:11:36.782Z] ---> 2a774174ec26 [2022-06-27T05:11:36.782Z] Step 12/12 : RUN ${MAKE} [2022-06-27T05:11:36.782Z] ---> Running in 2d3b7cb59437 [2022-06-27T05:11:37.758Z] noop [2022-06-27T05:11:38.355Z] Removing intermediate container 2d3b7cb59437 [2022-06-27T05:11:38.355Z] ---> 13e9f6b09839 [2022-06-27T05:11:38.355Z] Successfully built 13e9f6b09839 [2022-06-27T05:11:38.355Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:11:38.832Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:11:38.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:11:39.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-16065 does not seem to be running inside a container [2022-06-27T05:11:39.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T05:11:40.553Z] $ docker top 57727a3d4f3213659b5f49fa906f6ecd57485d922dbec6acee80ae38e10db472 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:11:41.623Z] + go version [2022-06-27T05:11:41.623Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T05:11:41.667Z] $ docker stop --time=1 57727a3d4f3213659b5f49fa906f6ecd57485d922dbec6acee80ae38e10db472 [2022-06-27T05:11:43.372Z] $ docker rm -f 57727a3d4f3213659b5f49fa906f6ecd57485d922dbec6acee80ae38e10db472 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:11:44.295Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:11:44.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:11:44.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-16065 does not seem to be running inside a container [2022-06-27T05:11:44.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T05:11:46.192Z] $ docker top ddbce5f500b3abfff2b6aba66fee26543f2730dd383b6e6a674960ec7df4a7e0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:11:47.239Z] + make test [2022-06-27T05:11:47.239Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:11:49.254Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-27T05:13:26.147Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-27T05:13:26.147Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements [2022-06-27T05:13:26.147Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T05:13:26.147Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:13:41.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:13:41.280Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:13:41.280Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:13:43.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:13:43.343Z] $ docker stop --time=1 ddbce5f500b3abfff2b6aba66fee26543f2730dd383b6e6a674960ec7df4a7e0 [2022-06-27T05:13:45.204Z] $ docker rm -f ddbce5f500b3abfff2b6aba66fee26543f2730dd383b6e6a674960ec7df4a7e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:13:46.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:13:46.318Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T05:13:46.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:13:47.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:13:47.811Z] + ls -al . [2022-06-27T05:13:47.811Z] total 164 [2022-06-27T05:13:47.811Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:13 . [2022-06-27T05:13:47.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:09 .. [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 27 05:09 .dockerignore [2022-06-27T05:13:47.811Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:09 .git [2022-06-27T05:13:47.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:09 .github [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 328 Jun 27 05:09 .gitignore [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:09 .golangci.yml [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jun 27 05:09 Attribution.txt [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jun 27 05:09 CHANGELOG.md [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 1516 Jun 27 05:09 Dockerfile [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:09 GOVERNANCE.md [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 27 05:09 Jenkinsfile [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:09 LICENSE [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jun 27 05:09 Makefile [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 05:09 OWNERS.md [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jun 27 05:09 README.md [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 05:06 VERSION [2022-06-27T05:13:47.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:09 bin [2022-06-27T05:13:47.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:09 cmd [2022-06-27T05:13:47.811Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 27 05:13 coverage.out [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jun 27 05:09 go.mod [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 36549 Jun 27 05:09 go.sum [2022-06-27T05:13:47.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:09 internal [2022-06-27T05:13:47.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:09 snap [2022-06-27T05:13:47.811Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 27 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:13:48.258Z] + 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=fe5187ccf8d61784eb9d7f9566f1baf24898a1df --label arch=arm64 --label version=0.0.0 . [2022-06-27T05:13:48.534Z] Sending build context to Docker daemon 2.793MB [2022-06-27T05:13:48.534Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:13:48.534Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T05:13:48.534Z] ---> 13e9f6b09839 [2022-06-27T05:13:48.534Z] Step 3/24 : ARG MAKE='make build' [2022-06-27T05:13:48.808Z] ---> Running in af90a9d20bec [2022-06-27T05:13:49.084Z] Removing intermediate container af90a9d20bec [2022-06-27T05:13:49.084Z] ---> 9f0d0aab898e [2022-06-27T05:13:49.084Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T05:13:49.084Z] ---> Running in 75581b68a08d [2022-06-27T05:13:49.368Z] Removing intermediate container 75581b68a08d [2022-06-27T05:13:49.368Z] ---> 897e260d9a9a [2022-06-27T05:13:49.368Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T05:13:49.647Z] ---> Running in 8c3d9c72d600 [2022-06-27T05:13:49.923Z] Removing intermediate container 8c3d9c72d600 [2022-06-27T05:13:49.923Z] ---> e788e0b1e6bf [2022-06-27T05:13:49.923Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:13:49.923Z] ---> Running in 633971eece31 [2022-06-27T05:13:51.905Z] Removing intermediate container 633971eece31 [2022-06-27T05:13:51.905Z] ---> b1723a9c5289 [2022-06-27T05:13:51.905Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T05:13:51.905Z] ---> Running in c4ba9f34ba56 [2022-06-27T05:13:52.893Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:13:53.492Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:13:54.973Z] OK: 224 MiB in 56 packages [2022-06-27T05:13:55.576Z] Removing intermediate container c4ba9f34ba56 [2022-06-27T05:13:55.576Z] ---> 76a16d418775 [2022-06-27T05:13:55.576Z] Step 8/24 : WORKDIR /device-snmp-go [2022-06-27T05:13:55.576Z] ---> Running in ee51c4704015 [2022-06-27T05:13:55.860Z] Removing intermediate container ee51c4704015 [2022-06-27T05:13:55.860Z] ---> 0ed6f64a16a1 [2022-06-27T05:13:55.860Z] Step 9/24 : COPY go.mod vendor* ./ [2022-06-27T05:13:56.462Z] ---> eaecda60c196 [2022-06-27T05:13:56.462Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:13:56.741Z] ---> Running in 9e730baf3047 [2022-06-27T05:13:58.736Z] Removing intermediate container 9e730baf3047 [2022-06-27T05:13:58.736Z] ---> 30b5a039eb3b [2022-06-27T05:13:58.736Z] Step 11/24 : COPY . . [2022-06-27T05:13:59.341Z] ---> bc007651cebf [2022-06-27T05:13:59.341Z] Step 12/24 : RUN ${MAKE} [2022-06-27T05:13:59.341Z] ---> Running in a3496068f59b [2022-06-27T05:14:00.802Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.10 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-06-27T05:16:07.735Z] Removing intermediate container a3496068f59b [2022-06-27T05:16:07.735Z] ---> bab2ee4cc525 [2022-06-27T05:16:07.735Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T05:16:07.735Z] 3.14: Pulling from library/alpine [2022-06-27T05:16:07.735Z] 455c02918c45: Pulling fs layer [2022-06-27T05:16:08.009Z] 455c02918c45: Verifying Checksum [2022-06-27T05:16:08.009Z] 455c02918c45: Download complete [2022-06-27T05:16:08.623Z] 455c02918c45: Pull complete [2022-06-27T05:16:08.623Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:16:08.623Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:16:08.623Z] ---> ac73e934f311 [2022-06-27T05:16:08.624Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:16:08.624Z] ---> Running in 2af5b47a50c1 [2022-06-27T05:16:09.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:16:09.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:16:10.864Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:16:10.864Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:16:10.864Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:16:10.864Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:16:10.864Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:16:10.864Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:16:10.864Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:16:10.864Z] OK: 8 MiB in 20 packages [2022-06-27T05:16:11.847Z] Removing intermediate container 2af5b47a50c1 [2022-06-27T05:16:11.847Z] ---> da7737788a64 [2022-06-27T05:16:11.847Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-06-27T05:16:13.286Z] ---> 48aecef632a8 [2022-06-27T05:16:13.286Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-27T05:16:13.887Z] ---> 4d7ae8193bde [2022-06-27T05:16:13.887Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-27T05:16:14.488Z] ---> 7b8350ee4d97 [2022-06-27T05:16:14.488Z] Step 18/24 : EXPOSE 59993 [2022-06-27T05:16:14.488Z] ---> Running in c00669740bfb [2022-06-27T05:16:14.761Z] Removing intermediate container c00669740bfb [2022-06-27T05:16:14.761Z] ---> 44674ad7416b [2022-06-27T05:16:14.761Z] Step 19/24 : EXPOSE 161 [2022-06-27T05:16:14.761Z] ---> Running in ce6602b21734 [2022-06-27T05:16:15.044Z] Removing intermediate container ce6602b21734 [2022-06-27T05:16:15.044Z] ---> f8dde3aa7fac [2022-06-27T05:16:15.044Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-06-27T05:16:15.044Z] ---> Running in ef1b6c449160 [2022-06-27T05:16:15.320Z] Removing intermediate container ef1b6c449160 [2022-06-27T05:16:15.320Z] ---> 52a8e182b08e [2022-06-27T05:16:15.320Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-27T05:16:15.594Z] ---> Running in 46d99d172c04 [2022-06-27T05:16:15.869Z] Removing intermediate container 46d99d172c04 [2022-06-27T05:16:15.869Z] ---> da45359e68fc [2022-06-27T05:16:15.869Z] Step 22/24 : LABEL arch=arm64 [2022-06-27T05:16:15.869Z] ---> Running in 5ae64c1b5bec [2022-06-27T05:16:16.143Z] Removing intermediate container 5ae64c1b5bec [2022-06-27T05:16:16.143Z] ---> 8b1cc31f4e73 [2022-06-27T05:16:16.143Z] Step 23/24 : LABEL git_sha=fe5187ccf8d61784eb9d7f9566f1baf24898a1df [2022-06-27T05:16:16.416Z] ---> Running in db2551a5228b [2022-06-27T05:16:16.692Z] Removing intermediate container db2551a5228b [2022-06-27T05:16:16.692Z] ---> 7bcd8f5c016c [2022-06-27T05:16:16.692Z] Step 24/24 : LABEL version=0.0.0 [2022-06-27T05:16:16.692Z] ---> Running in 7a1005c29ed3 [2022-06-27T05:16:16.965Z] Removing intermediate container 7a1005c29ed3 [2022-06-27T05:16:16.965Z] ---> 46beedc98b21 [2022-06-27T05:16:16.965Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:16:16.965Z] Successfully built 46beedc98b21 [2022-06-27T05:16:16.965Z] 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-06-27T05:16:17.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:16:17.797Z] [2022-06-27T05:16:17.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:16:18.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:16:18.496Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T05:16:18.497Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T05:16:18.497Z] 04944245beec: Pulling fs layer [2022-06-27T05:16:18.497Z] 699f458cf7ca: Pulling fs layer [2022-06-27T05:16:18.497Z] 765212b225bb: Pulling fs layer [2022-06-27T05:16:18.497Z] f23df028b6ca: Pulling fs layer [2022-06-27T05:16:18.497Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T05:16:18.497Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T05:16:18.497Z] 765212b225bb: Waiting [2022-06-27T05:16:18.497Z] f23df028b6ca: Waiting [2022-06-27T05:16:18.497Z] d65c8cfc05b1: Waiting [2022-06-27T05:16:18.497Z] 2437ff75d9bd: Waiting [2022-06-27T05:16:18.497Z] 04944245beec: Verifying Checksum [2022-06-27T05:16:18.497Z] 04944245beec: Download complete [2022-06-27T05:16:18.497Z] 765212b225bb: Verifying Checksum [2022-06-27T05:16:18.497Z] 765212b225bb: Download complete [2022-06-27T05:16:18.497Z] f23df028b6ca: Verifying Checksum [2022-06-27T05:16:18.497Z] f23df028b6ca: Download complete [2022-06-27T05:16:18.497Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T05:16:18.497Z] d65c8cfc05b1: Download complete [2022-06-27T05:16:18.772Z] 699f458cf7ca: Verifying Checksum [2022-06-27T05:16:18.772Z] 699f458cf7ca: Download complete [2022-06-27T05:16:19.050Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T05:16:19.050Z] 8998bd30e6a1: Download complete [2022-06-27T05:16:21.696Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T05:16:21.696Z] 2437ff75d9bd: Download complete [2022-06-27T05:16:23.688Z] 8998bd30e6a1: Pull complete [2022-06-27T05:16:23.966Z] 04944245beec: Pull complete [2022-06-27T05:16:25.405Z] 699f458cf7ca: Pull complete [2022-06-27T05:16:25.681Z] 765212b225bb: Pull complete [2022-06-27T05:16:26.664Z] f23df028b6ca: Pull complete [2022-06-27T05:16:26.664Z] d65c8cfc05b1: Pull complete [2022-06-27T05:16:41.777Z] 2437ff75d9bd: Pull complete [2022-06-27T05:16:41.777Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T05:16:41.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:16:41.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:16:42.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-16065 does not seem to be running inside a container [2022-06-27T05:16:42.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T05:16:44.763Z] $ docker top 7969719e1c5e7dfe11a953112c91b8d3a955c73d849e5fb79766de5026c78c28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:45.753Z] ---> job-cost.sh [2022-06-27T05:16:45.753Z] lf-activate-venv: SKIPPING [2022-06-27T05:16:45.753Z] INFO: No Stack... [2022-06-27T05:16:46.026Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T05:16:47.004Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:16:47.685Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-06-27T05:16:47.685Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T05:16:47.767Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] [2022-06-27T05:16:47.771Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] did not exist. Created. [2022-06-27T05:16:47.771Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:16:48.514Z] /w/workspace/device-snmp-go/1@tmp/durable-11ac4f94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T05:16:49.219Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T05:16:49.257Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T05:16:49.302Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:16:49.316Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:16:49.400Z] $ docker stop --time=1 7969719e1c5e7dfe11a953112c91b8d3a955c73d849e5fb79766de5026c78c28 [2022-06-27T05:16:50.914Z] $ docker rm -f 7969719e1c5e7dfe11a953112c91b8d3a955c73d849e5fb79766de5026c78c28 [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-06-27T05:16:51.890Z] provisioning config files... [2022-06-27T05:16:51.902Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/config3815743909368896754tmp [Pipeline] { [Pipeline] sh [2022-06-27T05:16:52.241Z] + set +x [2022-06-27T05:16:52.241Z] + curl -s https://codecov.io/bash [2022-06-27T05:16:52.241Z] + bash -s -- [2022-06-27T05:16:52.241Z] [2022-06-27T05:16:52.241Z] _____ _ [2022-06-27T05:16:52.241Z] / ____| | | [2022-06-27T05:16:52.241Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T05:16:52.241Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T05:16:52.241Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T05:16:52.241Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T05:16:52.241Z] Bash-1.0.6 [2022-06-27T05:16:52.241Z] [2022-06-27T05:16:52.241Z] [2022-06-27T05:16:52.241Z] ==> git version 2.25.1 found [2022-06-27T05:16:52.241Z] ==> 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-06-27T05:16:52.241Z] Release-Date: 2020-01-08 [2022-06-27T05:16:52.241Z] 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-06-27T05:16:52.241Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T05:16:52.241Z] ==> Jenkins CI detected. [2022-06-27T05:16:52.241Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-180 [2022-06-27T05:16:52.241Z] project root: . [2022-06-27T05:16:52.241Z] --> token set from env [2022-06-27T05:16:52.241Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T05:16:52.241Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T05:16:52.241Z] ==> Python coveragepy not found [2022-06-27T05:16:52.242Z] ==> Searching for coverage reports in: [2022-06-27T05:16:52.242Z] + . [2022-06-27T05:16:52.242Z] -> Found 1 reports [2022-06-27T05:16:52.242Z] ==> Detecting git/mercurial file structure [2022-06-27T05:16:52.242Z] ==> Reading reports [2022-06-27T05:16:52.242Z] + ./coverage.out bytes=7631 [2022-06-27T05:16:52.242Z] ==> Appending adjustments [2022-06-27T05:16:52.242Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T05:16:52.502Z] + Found adjustments [2022-06-27T05:16:52.502Z] ==> Gzipping contents [2022-06-27T05:16:52.502Z] 4.0K /tmp/codecov.ptMKPc.gz [2022-06-27T05:16:52.502Z] ==> Uploading reports [2022-06-27T05:16:52.502Z] url: https://codecov.io [2022-06-27T05:16:52.502Z] query: branch=PR-180&commit=fe5187ccf8d61784eb9d7f9566f1baf24898a1df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-06-27T05:16:52.502Z] -> Pinging Codecov [2022-06-27T05:16:52.502Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-180&commit=fe5187ccf8d61784eb9d7f9566f1baf24898a1df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-06-27T05:16:52.763Z] -> Uploading to [2022-06-27T05:16:52.763Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/6C56EA5C29638FB4528AC87E60AF5AE0/fe5187ccf8d61784eb9d7f9566f1baf24898a1df/d5a355f7-34d5-4a35-aea0-9d42ebb648b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T051652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=61568d974d48d2df45e6bdf8f2e4f440322116fa60724dae17ab9644a0c8b07e [2022-06-27T05:16:52.763Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:16:52.763Z] Dload Upload Total Spent Left Speed [2022-06-27T05:16:53.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7896 --:--:-- --:--:-- --:--:-- 7896 [2022-06-27T05:16:53.023Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/fe5187ccf8d61784eb9d7f9566f1baf24898a1df [Pipeline] } [2022-06-27T05:16:53.050Z] 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-06-27T05:16:54.683Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-180/archives ] [2022-06-27T05:16:54.684Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-180/archives [2022-06-27T05:16:54.684Z] total 16 [2022-06-27T05:16:54.684Z] drwxr-xr-x 3 root root 4096 Jun 27 05:07 . [2022-06-27T05:16:54.684Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 05:07 .. [2022-06-27T05:16:54.684Z] drwxr-xr-x 2 root root 4096 Jun 27 05:07 cost [2022-06-27T05:16:54.684Z] -rw-r--r-- 1 root root 85 Jun 27 05:07 cost.csv [2022-06-27T05:16:54.684Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-180/archives [2022-06-27T05:16:54.684Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-180/archives [2022-06-27T05:16:54.684Z] total 16 [2022-06-27T05:16:54.684Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:07 . [2022-06-27T05:16:54.684Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 05:07 .. [2022-06-27T05:16:54.684Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 05:07 cost [2022-06-27T05:16:54.684Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 27 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:55.016Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:55.910Z] ---> package-listing.sh [2022-06-27T05:16:55.910Z] ++ facter osfamily [2022-06-27T05:16:55.910Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T05:16:56.170Z] + OS_FAMILY=debian [2022-06-27T05:16:56.170Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-180 [2022-06-27T05:16:56.170Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T05:16:56.170Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T05:16:56.170Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T05:16:56.170Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T05:16:56.170Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-180 ']' [2022-06-27T05:16:56.170Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T05:16:56.170Z] + case "${OS_FAMILY}" in [2022-06-27T05:16:56.170Z] + dpkg -l [2022-06-27T05:16:56.170Z] + grep '^ii' [2022-06-27T05:16:56.170Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T05:16:56.170Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T05:16:56.170Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T05:16:56.170Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-180 ']' [2022-06-27T05:16:56.170Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-180/archives/ [2022-06-27T05:16:56.170Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-180/archives/ [Pipeline] echo [2022-06-27T05:16:56.201Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T05:16:56.496Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:16:57.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:16:57.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:16:57.277Z] prd-ubuntu20.04-docker-8c-8g-16062 does not seem to be running inside a container [2022-06-27T05:16:57.314Z] $ 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-180/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-180 -v /w/workspace/gexfoundry_device-snmp-go_PR-180:/w/workspace/gexfoundry_device-snmp-go_PR-180:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:16:57.508Z] $ docker top 6c0e624de444368088acb222278b2b2e8c2a733efc2c75c351a1acd1f57a8694 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:16:57.907Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T05:16:58.215Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T05:16:58.526Z] + ls /var/log/sa-host [2022-06-27T05:16:58.526Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:16:58.652Z] provisioning config files... [2022-06-27T05:16:58.661Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-180@tmp/config7253378027656051880tmp [Pipeline] { [Pipeline] echo [2022-06-27T05:16:58.718Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:59.029Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T05:16:59.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:59.458Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T05:16:59.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:59.811Z] ---> sudo-logs.sh [2022-06-27T05:16:59.811Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T05:16:59.893Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:17:00.212Z] ---> job-cost.sh [2022-06-27T05:17:00.212Z] lf-activate-venv: SKIPPING [2022-06-27T05:17:00.212Z] DEBUG: total: 0.2199999988079071 [2022-06-27T05:17:00.212Z] INFO: Retrieving Stack Cost... [2022-06-27T05:17:00.784Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:17:01.046Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T05:17:01.076Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:17:01.392Z] ---> logs-deploy.sh [2022-06-27T05:17:01.392Z] lf-activate-venv: SKIPPING [2022-06-27T05:17:01.392Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-180/1 [2022-06-27T05:17:01.392Z] INFO: archiving workspace using pattern(s): [2022-06-27T05:17:02.333Z] Archives upload complete. [2022-06-27T05:17:02.333Z] INFO: archiving logs to Nexus