Pull request #233 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2ba7dfe89be2dd647f3a6af01938d8070291575+2bd6e5dae59222faf073cfb9822f90f2048c0bba (c7bf2d4c092ca3218e3047fdd0861ffd2853f373) 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-ssh16276697870561398587.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3851210138157616687.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-233/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-233/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh816834626523291418.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-233/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17712832564953165024.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11763849983283304777.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-233/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-233/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12448232943541490823.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6061’ Running on prd-ubuntu20.04-docker-8c-8g-6071 in /w/workspace/gexfoundry_device-snmp-go_PR-233 [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-233 # 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/233/head:refs/remotes/origin/PR-233 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit f2ba7dfe89be2dd647f3a6af01938d8070291575 Merge succeeded, producing f2ba7dfe89be2dd647f3a6af01938d8070291575 Checking out Revision f2ba7dfe89be2dd647f3a6af01938d8070291575 (PR-233) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > git config core.sparsecheckout # timeout=10 > git checkout -f f2ba7dfe89be2dd647f3a6af01938d8070291575 # 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2ba7dfe89be2dd647f3a6af01938d8070291575 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T06:02:01.924Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T06:02:02.106Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T06:02:02.202Z] ========================================================= [2023-02-15T06:02:02.202Z] EdgeX Global Pipelines Version Info [2023-02-15T06:02:02.202Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:02:02.943Z] ------------------- [2023-02-15T06:02:02.943Z] stable info: [2023-02-15T06:02:02.943Z] ------------------- [2023-02-15T06:02:02.943Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T06:02:02.943Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T06:02:02.943Z] Message: update stable to v1.0.244 [2023-02-15T06:02:03.512Z] ------------------- [2023-02-15T06:02:03.512Z] experimental info: [2023-02-15T06:02:03.512Z] ------------------- [2023-02-15T06:02:03.512Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T06:02:03.512Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T06:02:03.512Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T06:02:03.778Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-15T06:02:03.814Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-15T06:02:03.857Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T06:02:03.898Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T06:02:03.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T06:02:03.984Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T06:02:04.022Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T06:02:04.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T06:02:04.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T06:02:04.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T06:02:04.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T06:02:04.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-15T06:02:04.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T06:02:04.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T06:02:04.353Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T06:02:04.394Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T06:02:04.438Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T06:02:04.481Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T06:02:04.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T06:02:04.559Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T06:02:04.595Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T06:02:04.635Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T06:02:04.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T06:02:04.715Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T06:02:04.755Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T06:02:04.796Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T06:02:04.838Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T06:02:04.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-233 [Pipeline] echo [2023-02-15T06:02:04.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-233 [Pipeline] echo [2023-02-15T06:02:04.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-233 [Pipeline] echo [2023-02-15T06:02:05.006Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2ba7dfe89be2dd647f3a6af01938d8070291575 [Pipeline] echo [2023-02-15T06:02:05.094Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2ba7df [Pipeline] echo [2023-02-15T06:02:05.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T06:02:05.259Z] provisioning config files... [2023-02-15T06:02:05.274Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/config11853493439937706839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:02:05.616Z] ---> docker-login.sh [2023-02-15T06:02:05.616Z] nexus3.edgexfoundry.org:10001 [2023-02-15T06:02:05.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:05.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:05.878Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:05.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:05.878Z] [2023-02-15T06:02:05.878Z] Login Succeeded [2023-02-15T06:02:05.878Z] nexus3.edgexfoundry.org:10002 [2023-02-15T06:02:05.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:06.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:06.139Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:06.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:06.139Z] [2023-02-15T06:02:06.139Z] Login Succeeded [2023-02-15T06:02:06.139Z] nexus3.edgexfoundry.org:10003 [2023-02-15T06:02:06.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:06.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:06.139Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:06.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:06.139Z] [2023-02-15T06:02:06.139Z] Login Succeeded [2023-02-15T06:02:06.139Z] nexus3.edgexfoundry.org:10004 [2023-02-15T06:02:06.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:06.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:06.398Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:06.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:06.398Z] [2023-02-15T06:02:06.398Z] Login Succeeded [2023-02-15T06:02:06.398Z] docker.io [2023-02-15T06:02:06.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:06.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:06.658Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:06.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:06.658Z] [2023-02-15T06:02:06.658Z] Login Succeeded [2023-02-15T06:02:06.658Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T06:02:06.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T06:02:07.284Z] + git rev-list -1 --merges f2ba7dfe89be2dd647f3a6af01938d8070291575~1..f2ba7dfe89be2dd647f3a6af01938d8070291575 [Pipeline] echo [2023-02-15T06:02:07.350Z] -----------> git rev-list -1 --merges f2ba7dfe89be2dd647f3a6af01938d8070291575~1..f2ba7dfe89be2dd647f3a6af01938d8070291575 f2ba7dfe89be2dd647f3a6af01938d8070291575 [false] [Pipeline] sh [2023-02-15T06:02:07.665Z] + git log --format=format:%s -1 f2ba7dfe89be2dd647f3a6af01938d8070291575 [Pipeline] echo [2023-02-15T06:02:07.701Z] ========================================================= [2023-02-15T06:02:07.701Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T06:02:07.701Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T06:02:08.131Z] + git log --format=format:%s -1 f2ba7dfe89be2dd647f3a6af01938d8070291575 [Pipeline] echo [2023-02-15T06:02:08.161Z] [semverPrep] GIT_COMMIT: f2ba7dfe89be2dd647f3a6af01938d8070291575, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-15T06:02:08.190Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T06:02:08.553Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T06:02:08.553Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T06:02:08.554Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T06:02:08.554Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T06:02:08.554Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T06:02:08.554Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T06:02:08.554Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:02:08.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T06:02:08.977Z] [2023-02-15T06:02:08.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:02:09.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T06:02:09.382Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T06:02:09.382Z] b85a868b505f: Pulling fs layer [2023-02-15T06:02:09.382Z] e2be974225ed: Pulling fs layer [2023-02-15T06:02:09.382Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T06:02:09.382Z] 988bab9f4d93: Pulling fs layer [2023-02-15T06:02:09.382Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T06:02:09.382Z] eaf3925da568: Pulling fs layer [2023-02-15T06:02:09.382Z] bab4dde63d76: Pulling fs layer [2023-02-15T06:02:09.382Z] bde34c3a00c8: Pulling fs layer [2023-02-15T06:02:09.382Z] b352a97aabf1: Pulling fs layer [2023-02-15T06:02:09.382Z] 4872d77fe225: Pulling fs layer [2023-02-15T06:02:09.382Z] 5851b861e8e6: Pulling fs layer [2023-02-15T06:02:09.382Z] bde34c3a00c8: Waiting [2023-02-15T06:02:09.382Z] b352a97aabf1: Waiting [2023-02-15T06:02:09.382Z] 4872d77fe225: Waiting [2023-02-15T06:02:09.382Z] 988bab9f4d93: Waiting [2023-02-15T06:02:09.382Z] 5851b861e8e6: Waiting [2023-02-15T06:02:09.382Z] 1469e6f7b9e6: Waiting [2023-02-15T06:02:09.382Z] eaf3925da568: Waiting [2023-02-15T06:02:09.382Z] bab4dde63d76: Waiting [2023-02-15T06:02:09.653Z] e2be974225ed: Verifying Checksum [2023-02-15T06:02:09.653Z] e2be974225ed: Download complete [2023-02-15T06:02:09.653Z] 988bab9f4d93: Verifying Checksum [2023-02-15T06:02:09.653Z] 988bab9f4d93: Download complete [2023-02-15T06:02:09.920Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T06:02:09.920Z] 1469e6f7b9e6: Download complete [2023-02-15T06:02:09.920Z] eaf3925da568: Verifying Checksum [2023-02-15T06:02:09.920Z] eaf3925da568: Download complete [2023-02-15T06:02:09.920Z] 339a4e72a1f5: Download complete [2023-02-15T06:02:09.920Z] bde34c3a00c8: Verifying Checksum [2023-02-15T06:02:09.920Z] bde34c3a00c8: Download complete [2023-02-15T06:02:09.920Z] b352a97aabf1: Download complete [2023-02-15T06:02:09.920Z] 4872d77fe225: Verifying Checksum [2023-02-15T06:02:09.920Z] 4872d77fe225: Download complete [2023-02-15T06:02:10.180Z] 5851b861e8e6: Verifying Checksum [2023-02-15T06:02:10.181Z] 5851b861e8e6: Download complete [2023-02-15T06:02:10.181Z] b85a868b505f: Verifying Checksum [2023-02-15T06:02:10.181Z] b85a868b505f: Download complete [2023-02-15T06:02:10.438Z] bab4dde63d76: Verifying Checksum [2023-02-15T06:02:10.438Z] bab4dde63d76: Download complete [2023-02-15T06:02:11.372Z] b85a868b505f: Pull complete [2023-02-15T06:02:11.631Z] e2be974225ed: Pull complete [2023-02-15T06:02:12.199Z] 339a4e72a1f5: Pull complete [2023-02-15T06:02:12.199Z] 988bab9f4d93: Pull complete [2023-02-15T06:02:12.457Z] 1469e6f7b9e6: Pull complete [2023-02-15T06:02:12.457Z] eaf3925da568: Pull complete [2023-02-15T06:02:14.365Z] bab4dde63d76: Pull complete [2023-02-15T06:02:14.365Z] bde34c3a00c8: Pull complete [2023-02-15T06:02:14.365Z] b352a97aabf1: Pull complete [2023-02-15T06:02:14.625Z] 4872d77fe225: Pull complete [2023-02-15T06:02:14.625Z] 5851b861e8e6: Pull complete [2023-02-15T06:02:14.625Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T06:02:14.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T06:02:14.625Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:02:14.836Z] prd-ubuntu20.04-docker-8c-8g-6071 does not seem to be running inside a container [2023-02-15T06:02:14.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-233 -v /w/workspace/gexfoundry_device-snmp-go_PR-233:/w/workspace/gexfoundry_device-snmp-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-233@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-233@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 [2023-02-15T06:02:18.916Z] $ docker top 7867dceffa69748ed71b7197d033f763e66461382129fdfa070e141a3677ae82 -eo pid,comm [2023-02-15T06:02:18.965Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T06:02:18.965Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T06:02:19.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T06:02:19.083Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T06:02:19.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T06:02:19.193Z] $ docker exec 7867dceffa69748ed71b7197d033f763e66461382129fdfa070e141a3677ae82 ssh-agent [2023-02-15T06:02:19.285Z] SSH_AUTH_SOCK=/tmp/ssh-1e4sDmJ0NCta/agent.32 [2023-02-15T06:02:19.285Z] SSH_AGENT_PID=38 [2023-02-15T06:02:19.291Z] Running ssh-add (command line suppressed) [2023-02-15T06:02:19.395Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/private_key_1133560285061460369.key (/w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/private_key_1133560285061460369.key) [2023-02-15T06:02:19.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T06:02:19.732Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T06:02:19.756Z] $ docker exec --env ******** --env ******** 7867dceffa69748ed71b7197d033f763e66461382129fdfa070e141a3677ae82 ssh-agent -k [2023-02-15T06:02:19.846Z] unset SSH_AUTH_SOCK; [2023-02-15T06:02:19.847Z] unset SSH_AGENT_PID; [2023-02-15T06:02:19.847Z] echo Agent pid 38 killed; [2023-02-15T06:02:19.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T06:02:19.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T06:02:19.926Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T06:02:20.029Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T06:02:20.035Z] $ docker exec 7867dceffa69748ed71b7197d033f763e66461382129fdfa070e141a3677ae82 ssh-agent [2023-02-15T06:02:20.140Z] SSH_AUTH_SOCK=/tmp/ssh-Mnd99kh12w9z/agent.70 [2023-02-15T06:02:20.140Z] SSH_AGENT_PID=76 [2023-02-15T06:02:20.146Z] Running ssh-add (command line suppressed) [2023-02-15T06:02:20.248Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/private_key_9802888757207375596.key (/w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/private_key_9802888757207375596.key) [2023-02-15T06:02:20.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T06:02:20.591Z] + git semver init [2023-02-15T06:02:20.851Z] 2023-02-15 06:02:20,766 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T06:02:20.851Z] 2023-02-15 06:02:20,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-233/.semver [2023-02-15T06:02:20.851Z] 2023-02-15 06:02:20,768 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-233/.semver [2023-02-15T06:02:20.851Z] 2023-02-15 06:02:20,768 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-233/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-233, universal_newlines=False, shell=None, istream=None) [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,666 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-233/.git/info/exclude [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,667 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-233/.semver/PR-233 with force:False [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,667 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-233/.semver/PR-233 [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,671 [execute] INFO git cat-file --batch-check [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-233/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,677 [execute] INFO git cat-file --batch [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-233/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T06:02:21.788Z] 2023-02-15 06:02:21,682 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-233/.semver/PR-233 [2023-02-15T06:02:21.788Z] 0.0.0 [Pipeline] } [2023-02-15T06:02:21.818Z] $ docker exec --env ******** --env ******** 7867dceffa69748ed71b7197d033f763e66461382129fdfa070e141a3677ae82 ssh-agent -k [2023-02-15T06:02:21.911Z] unset SSH_AUTH_SOCK; [2023-02-15T06:02:21.911Z] unset SSH_AGENT_PID; [2023-02-15T06:02:21.911Z] echo Agent pid 76 killed; [2023-02-15T06:02:21.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T06:02:22.325Z] + git semver [Pipeline] } [2023-02-15T06:02:22.609Z] $ docker stop --time=1 7867dceffa69748ed71b7197d033f763e66461382129fdfa070e141a3677ae82 [2023-02-15T06:02:23.895Z] $ docker rm -f --volumes 7867dceffa69748ed71b7197d033f763e66461382129fdfa070e141a3677ae82 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T06:02:24.302Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T06:02:24.569Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T06:02:24.586Z] [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] { [2023-02-15T06:02:25.199Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6067 in /w/workspace/gexfoundry_device-snmp-go_PR-233 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T06:02:25.276Z] provisioning config files... [2023-02-15T06:02:25.286Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/config14522378776838535499tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-02-15T06:02:25.439Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T06:02:25.510Z] Selected Git installation does not exist. Using Default [2023-02-15T06:02:25.510Z] The recommended git tool is: NONE [2023-02-15T06:02:25.661Z] ---> docker-login.sh [2023-02-15T06:02:25.661Z] nexus3.edgexfoundry.org:10001 [2023-02-15T06:02:25.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:25.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:25.661Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:25.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:25.661Z] [2023-02-15T06:02:25.661Z] Login Succeeded [2023-02-15T06:02:25.661Z] nexus3.edgexfoundry.org:10002 [2023-02-15T06:02:25.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:25.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:25.661Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:25.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:25.661Z] [2023-02-15T06:02:25.661Z] Login Succeeded [2023-02-15T06:02:25.661Z] nexus3.edgexfoundry.org:10003 [2023-02-15T06:02:25.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:25.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:25.922Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:25.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:25.922Z] [2023-02-15T06:02:25.922Z] Login Succeeded [2023-02-15T06:02:25.922Z] nexus3.edgexfoundry.org:10004 [2023-02-15T06:02:25.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:25.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:25.922Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:25.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:25.922Z] [2023-02-15T06:02:25.922Z] Login Succeeded [2023-02-15T06:02:25.922Z] docker.io [2023-02-15T06:02:26.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:26.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:26.180Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:26.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:26.180Z] [2023-02-15T06:02:26.180Z] Login Succeeded [2023-02-15T06:02:26.180Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T06:02:26.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T06:02:26.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T06:02:26.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T06:02:26.467Z] ========================================================= [2023-02-15T06:02:26.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T06:02:26.467Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:02:26.933Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T06:02:26.933Z] Sending build context to Docker daemon 5.679MB [2023-02-15T06:02:26.933Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T06:02:26.933Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T06:02:26.933Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T06:02:26.933Z] 213ec9aee27d: Pulling fs layer [2023-02-15T06:02:26.933Z] 4583459ba037: Pulling fs layer [2023-02-15T06:02:26.933Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T06:02:26.933Z] 53926ce57604: Pulling fs layer [2023-02-15T06:02:26.933Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T06:02:26.933Z] 22ff95d597cd: Pulling fs layer [2023-02-15T06:02:26.933Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T06:02:26.933Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T06:02:26.933Z] a7acece74701: Pulling fs layer [2023-02-15T06:02:26.933Z] 21b2b0c7a3f4: Waiting [2023-02-15T06:02:26.933Z] 22ff95d597cd: Waiting [2023-02-15T06:02:26.933Z] 12d6caf4c0d1: Waiting [2023-02-15T06:02:26.933Z] a7acece74701: Waiting [2023-02-15T06:02:26.933Z] 53926ce57604: Waiting [2023-02-15T06:02:26.933Z] 96b7cbca73a9: Waiting [2023-02-15T06:02:26.933Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T06:02:26.933Z] 93c1e223e6f2: Download complete [2023-02-15T06:02:26.933Z] 4583459ba037: Download complete [2023-02-15T06:02:27.199Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T06:02:27.199Z] 21b2b0c7a3f4: Download complete [2023-02-15T06:02:27.199Z] 22ff95d597cd: Download complete [2023-02-15T06:02:27.199Z] 213ec9aee27d: Verifying Checksum [2023-02-15T06:02:27.199Z] 213ec9aee27d: Download complete [2023-02-15T06:02:27.199Z] 12d6caf4c0d1: Download complete [2023-02-15T06:02:27.199Z] 213ec9aee27d: Pull complete [2023-02-15T06:02:27.501Z] 4583459ba037: Pull complete [2023-02-15T06:02:27.501Z] 93c1e223e6f2: Pull complete [2023-02-15T06:02:29.745Z] a7acece74701: Verifying Checksum [2023-02-15T06:02:29.745Z] a7acece74701: Download complete [2023-02-15T06:02:29.745Z] 53926ce57604: Verifying Checksum [2023-02-15T06:02:29.745Z] 53926ce57604: Download complete [2023-02-15T06:02:30.037Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T06:02:30.037Z] 96b7cbca73a9: Download complete [2023-02-15T06:02:32.162Z] using credential edgex-jenkins-ssh [2023-02-15T06:02:32.184Z] Cloning the remote Git repository [2023-02-15T06:02:32.250Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-15T06:02:32.323Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-15T06:02:32.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-15T06:02:32.491Z] > git --version # timeout=10 [2023-02-15T06:02:32.514Z] > git --version # 'git version 2.25.1' [2023-02-15T06:02:32.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T06:02:32.575Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T06:02:33.360Z] 53926ce57604: Pull complete [2023-02-15T06:02:33.361Z] 21b2b0c7a3f4: Pull complete [2023-02-15T06:02:33.361Z] 22ff95d597cd: Pull complete [2023-02-15T06:02:33.619Z] 12d6caf4c0d1: Pull complete [2023-02-15T06:02:33.716Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-15T06:02:33.738Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T06:02:35.342Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit f2ba7dfe89be2dd647f3a6af01938d8070291575 [2023-02-15T06:02:35.514Z] 96b7cbca73a9: Pull complete [2023-02-15T06:02:35.570Z] Merge succeeded, producing f2ba7dfe89be2dd647f3a6af01938d8070291575 [2023-02-15T06:02:35.571Z] Checking out Revision f2ba7dfe89be2dd647f3a6af01938d8070291575 (PR-233) [2023-02-15T06:02:34.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-15T06:02:34.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-15T06:02:34.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T06:02:34.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/233/head:refs/remotes/origin/PR-233 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T06:02:35.375Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T06:02:35.392Z] > git checkout -f f2ba7dfe89be2dd647f3a6af01938d8070291575 # timeout=10 [2023-02-15T06:02:35.472Z] > git remote # timeout=10 [2023-02-15T06:02:35.490Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T06:02:35.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T06:02:35.537Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-15T06:02:35.566Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T06:02:35.590Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T06:02:35.604Z] > git checkout -f f2ba7dfe89be2dd647f3a6af01938d8070291575 # timeout=10 [2023-02-15T06:02:36.080Z] a7acece74701: Pull complete [2023-02-15T06:02:36.083Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-15T06:02:36.151Z] > git --version # timeout=10 [2023-02-15T06:02:36.163Z] > git --version # 'git version 2.25.1' [2023-02-15T06:02:36.178Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T06:02:36.339Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T06:02:36.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T06:02:36.339Z] ---> db6d94c90886 [2023-02-15T06:02:36.339Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T06:02:37.294Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T06:02:37.294Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T06:02:37.294Z] Dload Upload Total Spent Left Speed [2023-02-15T06:02:37.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh [2023-02-15T06:02:37.971Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T06:02:38.322Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-02-15T06:02:38.322Z] /etc/docker/daemon.new [2023-02-15T06:02:38.322Z] { [2023-02-15T06:02:38.322Z] "registry-mirrors": [ [2023-02-15T06:02:38.322Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T06:02:38.322Z] ], [2023-02-15T06:02:38.322Z] "bip": "10.250.0.254/24", [2023-02-15T06:02:38.322Z] "hosts": [ [2023-02-15T06:02:38.322Z] "tcp://0.0.0.0:5555", [2023-02-15T06:02:38.322Z] "unix:///var/run/docker.sock" [2023-02-15T06:02:38.322Z] ], [2023-02-15T06:02:38.322Z] "mtu": 1458, [2023-02-15T06:02:38.322Z] "selinux-enabled": true, [2023-02-15T06:02:38.322Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T06:02:38.322Z] } [Pipeline] sh [2023-02-15T06:02:38.680Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T06:02:39.023Z] + sudo service docker restart [2023-02-15T06:02:41.738Z] ---> Running in 09df71336ff0 [2023-02-15T06:02:41.998Z] Removing intermediate container 09df71336ff0 [2023-02-15T06:02:41.998Z] ---> 1d14ae48a927 [2023-02-15T06:02:41.998Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T06:02:42.257Z] ---> Running in 497c83394e8b [2023-02-15T06:02:42.825Z] Removing intermediate container 497c83394e8b [2023-02-15T06:02:42.825Z] ---> a568d815200f [2023-02-15T06:02:42.825Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T06:02:43.392Z] ---> Running in 9f7ed37e9af6 [2023-02-15T06:02:43.650Z] Removing intermediate container 9f7ed37e9af6 [2023-02-15T06:02:43.650Z] ---> 6a8c8be3bbea [2023-02-15T06:02:43.650Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T06:02:43.909Z] ---> Running in ca9ca7deaf5f [2023-02-15T06:02:44.478Z] Removing intermediate container ca9ca7deaf5f [2023-02-15T06:02:44.478Z] ---> 48046ab43299 [2023-02-15T06:02:44.478Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T06:02:44.478Z] ---> Running in a6aee873e75b [2023-02-15T06:02:45.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T06:02:45.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T06:02:45.304Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T06:02:45.304Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T06:02:45.304Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T06:02:45.304Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T06:02:45.304Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T06:02:45.304Z] OK: 216 MiB in 55 packages [2023-02-15T06:02:45.871Z] Removing intermediate container a6aee873e75b [2023-02-15T06:02:45.871Z] ---> 1b5c54ed92c5 [2023-02-15T06:02:45.871Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-15T06:02:45.871Z] ---> Running in e973748dbe86 [2023-02-15T06:02:45.871Z] Removing intermediate container e973748dbe86 [2023-02-15T06:02:45.871Z] ---> b13de9901bfc [2023-02-15T06:02:45.871Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T06:02:46.130Z] ---> c9ef57168aa8 [2023-02-15T06:02:46.130Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T06:02:46.130Z] ---> Running in 27b2f2917f92 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T06:02:57.373Z] provisioning config files... [2023-02-15T06:02:57.402Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14540049901738262350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:02:57.789Z] ---> docker-login.sh [2023-02-15T06:02:57.789Z] nexus3.edgexfoundry.org:10001 [2023-02-15T06:02:58.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:58.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:58.375Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:58.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:58.375Z] [2023-02-15T06:02:58.375Z] Login Succeeded [2023-02-15T06:02:58.375Z] nexus3.edgexfoundry.org:10002 [2023-02-15T06:02:58.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:58.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:58.924Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:58.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:58.924Z] [2023-02-15T06:02:58.924Z] Login Succeeded [2023-02-15T06:02:58.924Z] nexus3.edgexfoundry.org:10003 [2023-02-15T06:02:59.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:59.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:59.192Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:59.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:59.192Z] [2023-02-15T06:02:59.192Z] Login Succeeded [2023-02-15T06:02:59.192Z] nexus3.edgexfoundry.org:10004 [2023-02-15T06:02:59.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:02:59.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:02:59.460Z] Configure a credential helper to remove this warning. See [2023-02-15T06:02:59.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:02:59.460Z] [2023-02-15T06:02:59.460Z] Login Succeeded [2023-02-15T06:02:59.460Z] docker.io [2023-02-15T06:02:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T06:03:00.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T06:03:00.001Z] Configure a credential helper to remove this warning. See [2023-02-15T06:03:00.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T06:03:00.001Z] [2023-02-15T06:03:00.001Z] Login Succeeded [2023-02-15T06:03:00.001Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T06:03:00.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T06:03:00.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T06:03:00.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T06:03:00.430Z] ========================================================= [2023-02-15T06:03:00.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T06:03:00.430Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:03:00.930Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T06:03:01.199Z] Sending build context to Docker daemon 2.938MB [2023-02-15T06:03:01.199Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T06:03:01.199Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T06:03:01.470Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T06:03:01.471Z] 9b18e9b68314: Pulling fs layer [2023-02-15T06:03:01.471Z] 35d82f9e3411: Pulling fs layer [2023-02-15T06:03:01.471Z] e16973657156: Pulling fs layer [2023-02-15T06:03:01.471Z] fc693d55d65f: Pulling fs layer [2023-02-15T06:03:01.471Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T06:03:01.471Z] dda99020689f: Pulling fs layer [2023-02-15T06:03:01.471Z] db1c61fa0a46: Pulling fs layer [2023-02-15T06:03:01.471Z] 891c053d2c06: Pulling fs layer [2023-02-15T06:03:01.471Z] 7e9fc2657dce: Waiting [2023-02-15T06:03:01.471Z] dda99020689f: Waiting [2023-02-15T06:03:01.471Z] db1c61fa0a46: Waiting [2023-02-15T06:03:01.471Z] 891c053d2c06: Waiting [2023-02-15T06:03:01.471Z] fc693d55d65f: Waiting [2023-02-15T06:03:01.471Z] e16973657156: Verifying Checksum [2023-02-15T06:03:01.471Z] e16973657156: Download complete [2023-02-15T06:03:01.471Z] 35d82f9e3411: Verifying Checksum [2023-02-15T06:03:01.471Z] 35d82f9e3411: Download complete [2023-02-15T06:03:01.471Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T06:03:01.471Z] 7e9fc2657dce: Download complete [2023-02-15T06:03:01.471Z] dda99020689f: Verifying Checksum [2023-02-15T06:03:01.471Z] dda99020689f: Download complete [2023-02-15T06:03:01.471Z] 9b18e9b68314: Verifying Checksum [2023-02-15T06:03:02.446Z] 9b18e9b68314: Pull complete [2023-02-15T06:03:02.719Z] 891c053d2c06: Verifying Checksum [2023-02-15T06:03:02.719Z] 891c053d2c06: Download complete [2023-02-15T06:03:02.988Z] 35d82f9e3411: Pull complete [2023-02-15T06:03:03.260Z] e16973657156: Pull complete [2023-02-15T06:03:03.849Z] db1c61fa0a46: Verifying Checksum [2023-02-15T06:03:03.849Z] db1c61fa0a46: Download complete [2023-02-15T06:03:04.434Z] fc693d55d65f: Verifying Checksum [2023-02-15T06:03:04.434Z] fc693d55d65f: Download complete [2023-02-15T06:03:16.778Z] fc693d55d65f: Pull complete [2023-02-15T06:03:16.778Z] 7e9fc2657dce: Pull complete [2023-02-15T06:03:16.778Z] dda99020689f: Pull complete [2023-02-15T06:03:24.843Z] Removing intermediate container 27b2f2917f92 [2023-02-15T06:03:24.843Z] ---> 8332b28748e6 [2023-02-15T06:03:24.843Z] Step 11/12 : COPY . . [2023-02-15T06:03:24.843Z] ---> 314402ed2c82 [2023-02-15T06:03:24.843Z] Step 12/12 : RUN ${MAKE} [2023-02-15T06:03:24.843Z] ---> Running in f2367b62cf5b [2023-02-15T06:03:24.843Z] noop [2023-02-15T06:03:24.843Z] Removing intermediate container f2367b62cf5b [2023-02-15T06:03:24.843Z] ---> ed921493cbd0 [2023-02-15T06:03:24.843Z] Successfully built ed921493cbd0 [2023-02-15T06:03:24.843Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-02-15T06:03:25.023Z] db1c61fa0a46: Pull complete [Pipeline] sh [2023-02-15T06:03:25.343Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T06:03:25.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:03:25.503Z] prd-ubuntu20.04-docker-8c-8g-6071 does not seem to be running inside a container [2023-02-15T06:03:25.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-233 -v /w/workspace/gexfoundry_device-snmp-go_PR-233:/w/workspace/gexfoundry_device-snmp-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-233@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-233@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 [2023-02-15T06:03:25.866Z] $ docker top d56fb1d8f0d12854163fa2b7fff1b337168f029ebd8e199f3bd6677bceaff8d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T06:03:26.254Z] + go version [2023-02-15T06:03:26.254Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T06:03:26.294Z] $ docker stop --time=1 d56fb1d8f0d12854163fa2b7fff1b337168f029ebd8e199f3bd6677bceaff8d7 [2023-02-15T06:03:26.966Z] 891c053d2c06: Pull complete [2023-02-15T06:03:26.966Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T06:03:26.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T06:03:26.966Z] ---> f96f9c87975a [2023-02-15T06:03:26.966Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T06:03:27.556Z] $ docker rm -f --volumes d56fb1d8f0d12854163fa2b7fff1b337168f029ebd8e199f3bd6677bceaff8d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:03:28.360Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T06:03:28.360Z] . [2023-02-15T06:03:28.380Z] ---> Running in 0256f2818555 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:03:28.539Z] prd-ubuntu20.04-docker-8c-8g-6071 does not seem to be running inside a container [2023-02-15T06:03:28.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-233 -v /w/workspace/gexfoundry_device-snmp-go_PR-233:/w/workspace/gexfoundry_device-snmp-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-233@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-233@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 [2023-02-15T06:03:28.648Z] Removing intermediate container 0256f2818555 [2023-02-15T06:03:28.648Z] ---> b11896d6cda5 [2023-02-15T06:03:28.648Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T06:03:28.911Z] $ docker top cd38d5c4ab161b35f61fdc0d9800e0ceaec86ee995c7b29093576d4267ae26ef -eo pid,comm [2023-02-15T06:03:28.920Z] ---> Running in d1814e0038c2 [Pipeline] { [Pipeline] sh [2023-02-15T06:03:29.190Z] Removing intermediate container d1814e0038c2 [2023-02-15T06:03:29.190Z] ---> 25d934ea5d25 [2023-02-15T06:03:29.190Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T06:03:29.190Z] ---> Running in 083f076fa2b6 [2023-02-15T06:03:29.335Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-233 [Pipeline] fileExists [Pipeline] sh [2023-02-15T06:03:29.458Z] Removing intermediate container 083f076fa2b6 [2023-02-15T06:03:29.458Z] ---> 4402dec0d292 [2023-02-15T06:03:29.458Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T06:03:29.458Z] ---> Running in 8cae88ba4f03 [2023-02-15T06:03:29.689Z] + make test [2023-02-15T06:03:29.689Z] go test ./... -coverprofile=coverage.out [2023-02-15T06:03:29.732Z] Removing intermediate container 8cae88ba4f03 [2023-02-15T06:03:29.732Z] ---> 1dfefe736ccf [2023-02-15T06:03:29.732Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T06:03:29.948Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-15T06:03:30.001Z] ---> Running in 8029b43d743b [2023-02-15T06:03:30.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T06:03:31.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T06:03:32.206Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T06:03:32.206Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T06:03:32.206Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T06:03:32.206Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T06:03:32.206Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T06:03:32.206Z] OK: 226 MiB in 55 packages [2023-02-15T06:03:33.190Z] Removing intermediate container 8029b43d743b [2023-02-15T06:03:33.190Z] ---> 72b192718022 [2023-02-15T06:03:33.190Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-15T06:03:33.459Z] ---> Running in e6a9b535d19f [2023-02-15T06:03:33.728Z] Removing intermediate container e6a9b535d19f [2023-02-15T06:03:33.728Z] ---> 1bf53234a856 [2023-02-15T06:03:33.728Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T06:03:33.996Z] ---> 42ed91ec7566 [2023-02-15T06:03:33.996Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T06:03:34.264Z] ---> Running in 45c7031cbf99 [2023-02-15T06:03:38.068Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-15T06:03:38.068Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-02-15T06:03:44.626Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T06:03:44.626Z] go vet ./... [2023-02-15T06:03:47.907Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T06:03:47.907Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T06:03:47.907Z] ./bin/test-attribution-txt.sh [2023-02-15T06:03:47.907Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T06:03:47.907Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T06:03:47.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T06:03:47.974Z] $ docker stop --time=1 cd38d5c4ab161b35f61fdc0d9800e0ceaec86ee995c7b29093576d4267ae26ef [2023-02-15T06:03:50.573Z] $ docker rm -f --volumes cd38d5c4ab161b35f61fdc0d9800e0ceaec86ee995c7b29093576d4267ae26ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T06:03:51.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T06:03:51.143Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T06:03:51.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T06:03:52.112Z] + ls -al . [2023-02-15T06:03:52.112Z] total 172 [2023-02-15T06:03:52.112Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 06:03 . [2023-02-15T06:03:52.112Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 06:01 .. [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 15 06:02 .dockerignore [2023-02-15T06:03:52.112Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 06:03 .git [2023-02-15T06:03:52.112Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 06:02 .github [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 15 06:02 .gitignore [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 06:02 .golangci.yml [2023-02-15T06:03:52.112Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 06:02 .semver [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 15 06:02 Attribution.txt [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 15 06:02 CHANGELOG.md [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 15 06:02 Dockerfile [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 06:02 GOVERNANCE.md [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 15 06:02 Jenkinsfile [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 06:02 LICENSE [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 15 06:02 Makefile [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 06:02 OWNERS.md [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 15 06:02 README.md [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 06:02 VERSION [2023-02-15T06:03:52.112Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 06:02 bin [2023-02-15T06:03:52.112Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 06:02 cmd [2023-02-15T06:03:52.112Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 15 06:03 coverage.out [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 15 06:02 go.mod [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 15 06:02 go.sum [2023-02-15T06:03:52.112Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 06:02 internal [2023-02-15T06:03:52.112Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 06:02 snap [2023-02-15T06:03:52.112Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 15 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:03:52.505Z] + 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=f2ba7dfe89be2dd647f3a6af01938d8070291575 --label arch=amd64 --label version=0.0.0 . [2023-02-15T06:03:52.505Z] Sending build context to Docker daemon 5.687MB [2023-02-15T06:03:52.505Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T06:03:52.505Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-15T06:03:52.505Z] ---> ed921493cbd0 [2023-02-15T06:03:52.505Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-15T06:03:52.764Z] ---> Running in 669deefd4acf [2023-02-15T06:03:52.764Z] Removing intermediate container 669deefd4acf [2023-02-15T06:03:52.764Z] ---> 99e3ef6d9e6f [2023-02-15T06:03:52.764Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T06:03:52.764Z] ---> Running in 74437903397a [2023-02-15T06:03:52.764Z] Removing intermediate container 74437903397a [2023-02-15T06:03:52.764Z] ---> e011b67c8703 [2023-02-15T06:03:52.764Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T06:03:52.764Z] ---> Running in b7c168e314ef [2023-02-15T06:03:53.023Z] Removing intermediate container b7c168e314ef [2023-02-15T06:03:53.023Z] ---> cee2c7804ccd [2023-02-15T06:03:53.023Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T06:03:53.023Z] ---> Running in 6c6c053fa47e [2023-02-15T06:03:53.023Z] Removing intermediate container 6c6c053fa47e [2023-02-15T06:03:53.023Z] ---> a79a5916c803 [2023-02-15T06:03:53.023Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T06:03:53.023Z] ---> Running in 67e94d17e4ad [2023-02-15T06:03:53.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T06:03:53.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T06:03:53.798Z] OK: 216 MiB in 55 packages [2023-02-15T06:03:54.056Z] Removing intermediate container 67e94d17e4ad [2023-02-15T06:03:54.056Z] ---> 1bf35171e51e [2023-02-15T06:03:54.056Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-15T06:03:54.056Z] ---> Running in 711f3d874299 [2023-02-15T06:03:54.056Z] Removing intermediate container 711f3d874299 [2023-02-15T06:03:54.056Z] ---> 30cc88555fd8 [2023-02-15T06:03:54.056Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-15T06:03:54.314Z] ---> 9d17ecf15614 [2023-02-15T06:03:54.314Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T06:03:54.314Z] ---> Running in 36c7e2f6646b [2023-02-15T06:03:55.289Z] Removing intermediate container 36c7e2f6646b [2023-02-15T06:03:55.289Z] ---> 253886044505 [2023-02-15T06:03:55.289Z] Step 11/24 : COPY . . [2023-02-15T06:03:55.548Z] ---> 4ba89f4afda7 [2023-02-15T06:03:55.548Z] Step 12/24 : RUN ${MAKE} [2023-02-15T06:03:55.548Z] ---> Running in cbb0a8a2cb4f [2023-02-15T06:03:55.807Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-15T06:04:17.740Z] Removing intermediate container cbb0a8a2cb4f [2023-02-15T06:04:17.740Z] ---> df83215f8b26 [2023-02-15T06:04:17.740Z] Step 13/24 : FROM alpine:3.16 [2023-02-15T06:04:17.740Z] 3.16: Pulling from library/alpine [2023-02-15T06:04:17.740Z] ef5531b6e74e: Pulling fs layer [2023-02-15T06:04:17.740Z] ef5531b6e74e: Verifying Checksum [2023-02-15T06:04:17.740Z] ef5531b6e74e: Download complete [2023-02-15T06:04:17.740Z] ef5531b6e74e: Pull complete [2023-02-15T06:04:17.740Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T06:04:17.740Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T06:04:17.740Z] ---> dfd21b5a31f5 [2023-02-15T06:04:17.740Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-15T06:04:17.740Z] ---> Running in 9e30d24a74e9 [2023-02-15T06:04:18.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T06:04:18.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T06:04:18.264Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T06:04:18.264Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T06:04:18.264Z] OK: 6 MiB in 15 packages [2023-02-15T06:04:18.832Z] Removing intermediate container 9e30d24a74e9 [2023-02-15T06:04:18.832Z] ---> 5580bbfecf11 [2023-02-15T06:04:18.832Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-15T06:04:19.398Z] ---> f636751846b4 [2023-02-15T06:04:19.398Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-15T06:04:19.657Z] ---> 989825e033dd [2023-02-15T06:04:19.657Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-15T06:04:19.657Z] ---> ee135739233e [2023-02-15T06:04:19.657Z] Step 18/24 : EXPOSE 59993 [2023-02-15T06:04:19.657Z] ---> Running in 8b6feb0211c8 [2023-02-15T06:04:19.917Z] Removing intermediate container 8b6feb0211c8 [2023-02-15T06:04:19.917Z] ---> 36246e0a769d [2023-02-15T06:04:19.917Z] Step 19/24 : EXPOSE 161 [2023-02-15T06:04:19.917Z] ---> Running in 796d61a8ce78 [2023-02-15T06:04:19.917Z] Removing intermediate container 796d61a8ce78 [2023-02-15T06:04:19.917Z] ---> bbc7e41efbd7 [2023-02-15T06:04:19.917Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-15T06:04:19.917Z] ---> Running in 5e61095f67f1 [2023-02-15T06:04:19.917Z] Removing intermediate container 5e61095f67f1 [2023-02-15T06:04:19.917Z] ---> 66897d4fcf17 [2023-02-15T06:04:19.917Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T06:04:20.176Z] ---> Running in 9b057709f2b3 [2023-02-15T06:04:20.176Z] Removing intermediate container 9b057709f2b3 [2023-02-15T06:04:20.176Z] ---> 35cdc4cf3a0d [2023-02-15T06:04:20.176Z] Step 22/24 : LABEL arch=amd64 [2023-02-15T06:04:20.176Z] ---> Running in 7b3c91353c01 [2023-02-15T06:04:20.176Z] Removing intermediate container 7b3c91353c01 [2023-02-15T06:04:20.176Z] ---> 81d5cb5ddbbd [2023-02-15T06:04:20.176Z] Step 23/24 : LABEL git_sha=f2ba7dfe89be2dd647f3a6af01938d8070291575 [2023-02-15T06:04:20.176Z] ---> Running in f9e369660f04 [2023-02-15T06:04:20.435Z] Removing intermediate container f9e369660f04 [2023-02-15T06:04:20.435Z] ---> 117ceee9e9c1 [2023-02-15T06:04:20.435Z] Step 24/24 : LABEL version=0.0.0 [2023-02-15T06:04:20.435Z] ---> Running in 02c777f04a5f [2023-02-15T06:04:20.435Z] Removing intermediate container 02c777f04a5f [2023-02-15T06:04:20.435Z] ---> 0780006c1f19 [2023-02-15T06:04:20.435Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T06:04:20.435Z] Successfully built 0780006c1f19 [2023-02-15T06:04:20.435Z] 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 [2023-02-15T06:04:21.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T06:04:21.269Z] [2023-02-15T06:04:21.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:04:21.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T06:04:21.640Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T06:04:21.640Z] 5eb5b503b376: Pulling fs layer [2023-02-15T06:04:21.640Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T06:04:21.640Z] ec43610c2a17: Pulling fs layer [2023-02-15T06:04:21.640Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T06:04:21.640Z] 33b1e0a273af: Pulling fs layer [2023-02-15T06:04:21.640Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T06:04:21.640Z] 2f39f015ded8: Pulling fs layer [2023-02-15T06:04:21.640Z] 2f39f015ded8: Waiting [2023-02-15T06:04:21.640Z] 33b1e0a273af: Waiting [2023-02-15T06:04:21.640Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T06:04:21.640Z] 5c69ac0246d0: Download complete [2023-02-15T06:04:21.640Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T06:04:21.640Z] 3a2ae6a8a46f: Download complete [2023-02-15T06:04:21.901Z] 33b1e0a273af: Verifying Checksum [2023-02-15T06:04:21.901Z] 33b1e0a273af: Download complete [2023-02-15T06:04:21.901Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T06:04:21.901Z] 5d3b04190fa2: Download complete [2023-02-15T06:04:21.901Z] ec43610c2a17: Download complete [2023-02-15T06:04:22.160Z] 5eb5b503b376: Verifying Checksum [2023-02-15T06:04:22.160Z] 5eb5b503b376: Download complete [2023-02-15T06:04:22.728Z] 2f39f015ded8: Download complete [2023-02-15T06:04:23.294Z] 5eb5b503b376: Pull complete [2023-02-15T06:04:23.553Z] 5c69ac0246d0: Pull complete [2023-02-15T06:04:24.120Z] ec43610c2a17: Pull complete [2023-02-15T06:04:24.120Z] 3a2ae6a8a46f: Pull complete [2023-02-15T06:04:24.378Z] 33b1e0a273af: Pull complete [2023-02-15T06:04:24.378Z] 5d3b04190fa2: Pull complete [2023-02-15T06:04:28.562Z] 2f39f015ded8: Pull complete [2023-02-15T06:04:28.562Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T06:04:28.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T06:04:28.562Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:04:28.792Z] prd-ubuntu20.04-docker-8c-8g-6071 does not seem to be running inside a container [2023-02-15T06:04:28.827Z] $ 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-233 -v /w/workspace/gexfoundry_device-snmp-go_PR-233:/w/workspace/gexfoundry_device-snmp-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-233@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-233@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 [2023-02-15T06:04:32.034Z] $ docker top 551559304f9a8886399a4a34184b38ec8f2a24001a2bf34c88c8e7eff2ac88ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:04:32.462Z] ---> job-cost.sh [2023-02-15T06:04:32.463Z] lf-activate-venv: SKIPPING [2023-02-15T06:04:32.463Z] INFO: No Stack... [2023-02-15T06:04:33.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T06:04:33.601Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T06:04:33.915Z] + + cut -d, -f6cat [2023-02-15T06:04:33.915Z] /w/workspace/gexfoundry_device-snmp-go_PR-233/archives/cost.csv [Pipeline] lock [2023-02-15T06:04:33.957Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] [2023-02-15T06:04:33.966Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] did not exist. Created. [2023-02-15T06:04:33.967Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T06:04:34.354Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T06:04:34.403Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T06:04:34.435Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T06:04:34.517Z] $ docker stop --time=1 551559304f9a8886399a4a34184b38ec8f2a24001a2bf34c88c8e7eff2ac88ae [2023-02-15T06:04:35.675Z] $ docker rm -f --volumes 551559304f9a8886399a4a34184b38ec8f2a24001a2bf34c88c8e7eff2ac88ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T06:04:42.133Z] Removing intermediate container 45c7031cbf99 [2023-02-15T06:04:42.133Z] ---> afb6c6d67f33 [2023-02-15T06:04:42.133Z] Step 11/12 : COPY . . [2023-02-15T06:04:42.133Z] ---> 7778f9b38f8d [2023-02-15T06:04:42.133Z] Step 12/12 : RUN ${MAKE} [2023-02-15T06:04:42.133Z] ---> Running in e0e30504e870 [2023-02-15T06:04:42.402Z] noop [2023-02-15T06:04:43.363Z] Removing intermediate container e0e30504e870 [2023-02-15T06:04:43.363Z] ---> fab6e706dbfb [2023-02-15T06:04:43.363Z] Successfully built fab6e706dbfb [2023-02-15T06:04:43.363Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:04:43.835Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T06:04:43.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:04:44.089Z] prd-ubuntu20.04-docker-arm64-4c-16g-6067 does not seem to be running inside a container [2023-02-15T06:04:44.168Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-15T06:04:45.349Z] $ docker top 09f642ba959d578a6badce6dfed6cc352aa9ab095c7e71bf4fc8aba80c6eb030 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T06:04:46.288Z] + go version [2023-02-15T06:04:46.288Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T06:04:46.339Z] $ docker stop --time=1 09f642ba959d578a6badce6dfed6cc352aa9ab095c7e71bf4fc8aba80c6eb030 [2023-02-15T06:04:47.958Z] $ docker rm -f --volumes 09f642ba959d578a6badce6dfed6cc352aa9ab095c7e71bf4fc8aba80c6eb030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:04:48.743Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T06:04:48.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:04:48.986Z] prd-ubuntu20.04-docker-arm64-4c-16g-6067 does not seem to be running inside a container [2023-02-15T06:04:49.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T06:04:50.394Z] $ docker top b95a839f397ff32fde74ac526f1dac26701ba633c3175df6fd64aa6c1b6d35a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T06:04:51.327Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T06:04:52.029Z] + make test [2023-02-15T06:04:52.029Z] go test ./... -coverprofile=coverage.out [2023-02-15T06:04:53.977Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-15T06:06:15.595Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-15T06:06:15.595Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2023-02-15T06:06:15.595Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T06:06:15.595Z] go vet ./... [2023-02-15T06:06:33.817Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T06:06:33.817Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T06:06:33.817Z] ./bin/test-attribution-txt.sh [2023-02-15T06:06:33.817Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T06:06:33.817Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T06:06:33.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T06:06:33.905Z] $ docker stop --time=1 b95a839f397ff32fde74ac526f1dac26701ba633c3175df6fd64aa6c1b6d35a2 [2023-02-15T06:06:37.107Z] $ docker rm -f --volumes b95a839f397ff32fde74ac526f1dac26701ba633c3175df6fd64aa6c1b6d35a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T06:06:38.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T06:06:38.074Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T06:06:38.502Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T06:06:39.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T06:06:39.488Z] + ls -al . [2023-02-15T06:06:39.488Z] total 168 [2023-02-15T06:06:39.488Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 06:04 . [2023-02-15T06:06:39.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 06:02 .. [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 15 06:02 .dockerignore [2023-02-15T06:06:39.488Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 06:02 .git [2023-02-15T06:06:39.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 06:02 .github [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 15 06:02 .gitignore [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 06:02 .golangci.yml [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 15 06:02 Attribution.txt [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 15 06:02 CHANGELOG.md [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 15 06:02 Dockerfile [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 06:02 GOVERNANCE.md [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 15 06:02 Jenkinsfile [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 06:02 LICENSE [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 15 06:02 Makefile [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 06:02 OWNERS.md [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 15 06:02 README.md [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 06:02 VERSION [2023-02-15T06:06:39.488Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 06:02 bin [2023-02-15T06:06:39.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 06:02 cmd [2023-02-15T06:06:39.488Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 15 06:06 coverage.out [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 15 06:02 go.mod [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 15 06:02 go.sum [2023-02-15T06:06:39.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 06:02 internal [2023-02-15T06:06:39.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 06:02 snap [2023-02-15T06:06:39.488Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 15 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:06:39.912Z] + 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=f2ba7dfe89be2dd647f3a6af01938d8070291575 --label arch=arm64 --label version=0.0.0 . [2023-02-15T06:06:40.182Z] Sending build context to Docker daemon 2.947MB [2023-02-15T06:06:40.182Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T06:06:40.182Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-15T06:06:40.182Z] ---> fab6e706dbfb [2023-02-15T06:06:40.182Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-15T06:06:40.452Z] ---> Running in 0361a109132a [2023-02-15T06:06:40.719Z] Removing intermediate container 0361a109132a [2023-02-15T06:06:40.719Z] ---> 4105c4fb699e [2023-02-15T06:06:40.719Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T06:06:40.719Z] ---> Running in 36d9553bb704 [2023-02-15T06:06:40.988Z] Removing intermediate container 36d9553bb704 [2023-02-15T06:06:40.988Z] ---> 0bbc3b82c2e2 [2023-02-15T06:06:40.988Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T06:06:41.255Z] ---> Running in 539663314b7b [2023-02-15T06:06:41.521Z] Removing intermediate container 539663314b7b [2023-02-15T06:06:41.521Z] ---> a1a4e659105e [2023-02-15T06:06:41.521Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T06:06:41.521Z] ---> Running in ea33de330ec5 [2023-02-15T06:06:41.790Z] Removing intermediate container ea33de330ec5 [2023-02-15T06:06:41.790Z] ---> cfa6ba26dc31 [2023-02-15T06:06:41.790Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T06:06:41.790Z] ---> Running in 7998af7f4670 [2023-02-15T06:06:42.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T06:06:43.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T06:06:44.299Z] OK: 226 MiB in 55 packages [2023-02-15T06:06:45.274Z] Removing intermediate container 7998af7f4670 [2023-02-15T06:06:45.274Z] ---> 406f820883ad [2023-02-15T06:06:45.274Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-15T06:06:45.274Z] ---> Running in 4171e4180efe [2023-02-15T06:06:45.542Z] Removing intermediate container 4171e4180efe [2023-02-15T06:06:45.542Z] ---> 3bfa985b8a10 [2023-02-15T06:06:45.542Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-15T06:06:46.125Z] ---> 404cdbb92e19 [2023-02-15T06:06:46.125Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T06:06:46.125Z] ---> Running in de3ebc8821d4 [2023-02-15T06:06:49.482Z] Removing intermediate container de3ebc8821d4 [2023-02-15T06:06:49.482Z] ---> 6d8667eec0d1 [2023-02-15T06:06:49.482Z] Step 11/24 : COPY . . [2023-02-15T06:06:49.751Z] ---> f6eac644fcf0 [2023-02-15T06:06:49.751Z] Step 12/24 : RUN ${MAKE} [2023-02-15T06:06:49.751Z] ---> Running in 1ea89dba56dc [2023-02-15T06:06:50.728Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-15T06:08:57.405Z] Removing intermediate container 1ea89dba56dc [2023-02-15T06:08:57.405Z] ---> ef6d0672e512 [2023-02-15T06:08:57.405Z] Step 13/24 : FROM alpine:3.16 [2023-02-15T06:08:57.405Z] 3.16: Pulling from library/alpine [2023-02-15T06:08:57.405Z] 3760b48202b3: Pulling fs layer [2023-02-15T06:08:57.405Z] 3760b48202b3: Verifying Checksum [2023-02-15T06:08:57.405Z] 3760b48202b3: Download complete [2023-02-15T06:08:57.405Z] 3760b48202b3: Pull complete [2023-02-15T06:08:57.405Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T06:08:57.405Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T06:08:57.405Z] ---> 4c81e5bf8899 [2023-02-15T06:08:57.405Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-15T06:08:57.405Z] ---> Running in d3da09ad1ca5 [2023-02-15T06:08:57.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T06:08:57.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T06:08:57.406Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T06:08:57.406Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T06:08:57.406Z] OK: 5 MiB in 15 packages [2023-02-15T06:08:57.406Z] Removing intermediate container d3da09ad1ca5 [2023-02-15T06:08:57.406Z] ---> 8cfece06ae56 [2023-02-15T06:08:57.406Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-15T06:08:57.671Z] ---> 6c2d1ec98cd0 [2023-02-15T06:08:57.671Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-15T06:08:58.265Z] ---> f9022db29cc5 [2023-02-15T06:08:58.265Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-15T06:08:58.850Z] ---> 2d1bafd5dd4c [2023-02-15T06:08:58.850Z] Step 18/24 : EXPOSE 59993 [2023-02-15T06:08:58.850Z] ---> Running in 38ba19fca118 [2023-02-15T06:08:59.120Z] Removing intermediate container 38ba19fca118 [2023-02-15T06:08:59.120Z] ---> 1f569bcd0008 [2023-02-15T06:08:59.120Z] Step 19/24 : EXPOSE 161 [2023-02-15T06:08:59.120Z] ---> Running in 2013b4b8ec26 [2023-02-15T06:08:59.712Z] Removing intermediate container 2013b4b8ec26 [2023-02-15T06:08:59.712Z] ---> 6256fc07f7db [2023-02-15T06:08:59.712Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-15T06:08:59.712Z] ---> Running in 5a85581fdb58 [2023-02-15T06:08:59.983Z] Removing intermediate container 5a85581fdb58 [2023-02-15T06:08:59.983Z] ---> ee5e18a7e288 [2023-02-15T06:08:59.983Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T06:08:59.983Z] ---> Running in 6f201bce3f70 [2023-02-15T06:09:00.249Z] Removing intermediate container 6f201bce3f70 [2023-02-15T06:09:00.249Z] ---> e95681e98c6a [2023-02-15T06:09:00.249Z] Step 22/24 : LABEL arch=arm64 [2023-02-15T06:09:00.249Z] ---> Running in bfd5046c4467 [2023-02-15T06:09:00.518Z] Removing intermediate container bfd5046c4467 [2023-02-15T06:09:00.518Z] ---> 102409417c15 [2023-02-15T06:09:00.518Z] Step 23/24 : LABEL git_sha=f2ba7dfe89be2dd647f3a6af01938d8070291575 [2023-02-15T06:09:00.784Z] ---> Running in 28348af056ff [2023-02-15T06:09:01.050Z] Removing intermediate container 28348af056ff [2023-02-15T06:09:01.050Z] ---> 318932ad8eb8 [2023-02-15T06:09:01.050Z] Step 24/24 : LABEL version=0.0.0 [2023-02-15T06:09:01.050Z] ---> Running in 09a350250460 [2023-02-15T06:09:01.316Z] Removing intermediate container 09a350250460 [2023-02-15T06:09:01.316Z] ---> 8d9a93998dce [2023-02-15T06:09:01.316Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T06:09:01.316Z] Successfully built 8d9a93998dce [2023-02-15T06:09:01.316Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:09:02.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T06:09:02.099Z] [2023-02-15T06:09:02.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:09:02.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T06:09:02.511Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T06:09:02.511Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T06:09:02.511Z] 04944245beec: Pulling fs layer [2023-02-15T06:09:02.511Z] 699f458cf7ca: Pulling fs layer [2023-02-15T06:09:02.511Z] 765212b225bb: Pulling fs layer [2023-02-15T06:09:02.511Z] f23df028b6ca: Pulling fs layer [2023-02-15T06:09:02.511Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T06:09:02.511Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T06:09:02.511Z] 765212b225bb: Waiting [2023-02-15T06:09:02.511Z] f23df028b6ca: Waiting [2023-02-15T06:09:02.511Z] 2437ff75d9bd: Waiting [2023-02-15T06:09:02.511Z] d65c8cfc05b1: Waiting [2023-02-15T06:09:02.783Z] 04944245beec: Verifying Checksum [2023-02-15T06:09:02.783Z] 04944245beec: Download complete [2023-02-15T06:09:02.783Z] 765212b225bb: Verifying Checksum [2023-02-15T06:09:02.783Z] 765212b225bb: Download complete [2023-02-15T06:09:02.783Z] f23df028b6ca: Verifying Checksum [2023-02-15T06:09:02.783Z] f23df028b6ca: Download complete [2023-02-15T06:09:02.783Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T06:09:02.783Z] d65c8cfc05b1: Download complete [2023-02-15T06:09:03.051Z] 699f458cf7ca: Download complete [2023-02-15T06:09:03.319Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T06:09:03.319Z] 8998bd30e6a1: Download complete [2023-02-15T06:09:05.925Z] 2437ff75d9bd: Download complete [2023-02-15T06:09:07.338Z] 8998bd30e6a1: Pull complete [2023-02-15T06:09:07.605Z] 04944245beec: Pull complete [2023-02-15T06:09:09.016Z] 699f458cf7ca: Pull complete [2023-02-15T06:09:09.284Z] 765212b225bb: Pull complete [2023-02-15T06:09:09.868Z] f23df028b6ca: Pull complete [2023-02-15T06:09:10.135Z] d65c8cfc05b1: Pull complete [2023-02-15T06:09:25.134Z] 2437ff75d9bd: Pull complete [2023-02-15T06:09:25.134Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T06:09:25.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T06:09:25.134Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:09:25.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-6067 does not seem to be running inside a container [2023-02-15T06:09:25.562Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T06:09:28.189Z] $ docker top 70b1a785254ef2804ccf4664d5506f64ce806b38fb13964bb9fd406d95ef1eaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:29.088Z] ---> job-cost.sh [2023-02-15T06:09:29.088Z] lf-activate-venv: SKIPPING [2023-02-15T06:09:29.088Z] INFO: No Stack... [2023-02-15T06:09:29.670Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T06:09:30.252Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T06:09:30.911Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-15T06:09:30.911Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T06:09:30.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] [2023-02-15T06:09:30.975Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] did not exist. Created. [2023-02-15T06:09:30.976Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T06:09:31.710Z] /w/workspace/device-snmp-go/1@tmp/durable-eb134c8c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T06:09:32.394Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T06:09:32.494Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T06:09:32.541Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T06:09:32.560Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-233-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T06:09:32.696Z] $ docker stop --time=1 70b1a785254ef2804ccf4664d5506f64ce806b38fb13964bb9fd406d95ef1eaa [2023-02-15T06:09:34.219Z] $ docker rm -f --volumes 70b1a785254ef2804ccf4664d5506f64ce806b38fb13964bb9fd406d95ef1eaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-15T06:09:35.230Z] provisioning config files... [2023-02-15T06:09:35.241Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/config7275041357181001881tmp [Pipeline] { [Pipeline] sh [2023-02-15T06:09:35.580Z] + set +x [2023-02-15T06:09:35.580Z] + + bash -s -- [2023-02-15T06:09:35.580Z] curl -s https://codecov.io/bash [2023-02-15T06:09:35.580Z] [2023-02-15T06:09:35.580Z] _____ _ [2023-02-15T06:09:35.580Z] / ____| | | [2023-02-15T06:09:35.580Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T06:09:35.580Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T06:09:35.580Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T06:09:35.580Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T06:09:35.580Z] Bash-1.0.6 [2023-02-15T06:09:35.580Z] [2023-02-15T06:09:35.580Z] [2023-02-15T06:09:35.580Z] ==> git version 2.25.1 found [2023-02-15T06:09:35.580Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-15T06:09:35.580Z] Release-Date: 2020-01-08 [2023-02-15T06:09:35.580Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T06:09:35.580Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T06:09:35.580Z] ==> Jenkins CI detected. [2023-02-15T06:09:35.580Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-233 [2023-02-15T06:09:35.580Z] project root: . [2023-02-15T06:09:35.580Z] --> token set from env [2023-02-15T06:09:35.580Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T06:09:35.580Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T06:09:35.580Z] ==> Python coveragepy not found [2023-02-15T06:09:35.580Z] ==> Searching for coverage reports in: [2023-02-15T06:09:35.580Z] + . [2023-02-15T06:09:35.839Z] -> Found 1 reports [2023-02-15T06:09:35.839Z] ==> Detecting git/mercurial file structure [2023-02-15T06:09:35.839Z] ==> Reading reports [2023-02-15T06:09:35.839Z] + ./coverage.out bytes=7631 [2023-02-15T06:09:35.839Z] ==> Appending adjustments [2023-02-15T06:09:35.839Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T06:09:35.839Z] + Found adjustments [2023-02-15T06:09:35.839Z] ==> Gzipping contents [2023-02-15T06:09:35.839Z] 4.0K /tmp/codecov.HnRWj2.gz [2023-02-15T06:09:35.839Z] ==> Uploading reports [2023-02-15T06:09:35.839Z] url: https://codecov.io [2023-02-15T06:09:35.839Z] query: branch=PR-233&commit=f2ba7dfe89be2dd647f3a6af01938d8070291575&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-233%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=233&job=&cmd_args= [2023-02-15T06:09:35.839Z] -> Pinging Codecov [2023-02-15T06:09:35.839Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-233&commit=f2ba7dfe89be2dd647f3a6af01938d8070291575&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-233%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=233&job=&cmd_args= [2023-02-15T06:09:36.099Z] -> Uploading to [2023-02-15T06:09:36.099Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/6C56EA5C29638FB4528AC87E60AF5AE0/f2ba7dfe89be2dd647f3a6af01938d8070291575/66232003-89db-487f-87f2-f6e51e28c28b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T060935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3ee715e51068b4b4036a6c90357543fb25b50e7c33263fd5f8b0ce8c2670254 [2023-02-15T06:09:36.099Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T06:09:36.099Z] Dload Upload Total Spent Left Speed [2023-02-15T06:09:36.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5303 --:--:-- --:--:-- --:--:-- 5303 [2023-02-15T06:09:36.358Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/f2ba7dfe89be2dd647f3a6af01938d8070291575 [Pipeline] } [2023-02-15T06:09:36.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T06:09:38.161Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-233/archives ] [2023-02-15T06:09:38.161Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-233/archives [2023-02-15T06:09:38.161Z] total 16 [2023-02-15T06:09:38.161Z] drwxr-xr-x 3 root root 4096 Feb 15 06:04 . [2023-02-15T06:09:38.161Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 06:04 .. [2023-02-15T06:09:38.161Z] drwxr-xr-x 2 root root 4096 Feb 15 06:04 cost [2023-02-15T06:09:38.161Z] -rw-r--r-- 1 root root 86 Feb 15 06:04 cost.csv [2023-02-15T06:09:38.161Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-233/archives [2023-02-15T06:09:38.161Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-233/archives [2023-02-15T06:09:38.161Z] total 16 [2023-02-15T06:09:38.161Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 06:04 . [2023-02-15T06:09:38.161Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 06:04 .. [2023-02-15T06:09:38.161Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 06:04 cost [2023-02-15T06:09:38.161Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 06:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:38.492Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:39.381Z] ---> package-listing.sh [2023-02-15T06:09:39.382Z] ++ facter osfamily [2023-02-15T06:09:39.382Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T06:09:39.641Z] + OS_FAMILY=debian [2023-02-15T06:09:39.641Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-233 [2023-02-15T06:09:39.641Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T06:09:39.641Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T06:09:39.641Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T06:09:39.641Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T06:09:39.641Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-233 ']' [2023-02-15T06:09:39.641Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T06:09:39.641Z] + case "${OS_FAMILY}" in [2023-02-15T06:09:39.641Z] + dpkg -l [2023-02-15T06:09:39.641Z] + grep '^ii' [2023-02-15T06:09:39.641Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T06:09:39.641Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T06:09:39.641Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T06:09:39.641Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-233 ']' [2023-02-15T06:09:39.641Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-233/archives/ [2023-02-15T06:09:39.641Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-233/archives/ [Pipeline] echo [2023-02-15T06:09:39.676Z] 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-233/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T06:09:39.966Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T06:09:40.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T06:09:40.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T06:09:40.741Z] prd-ubuntu20.04-docker-8c-8g-6071 does not seem to be running inside a container [2023-02-15T06:09:40.775Z] $ 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-233/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-233 -v /w/workspace/gexfoundry_device-snmp-go_PR-233:/w/workspace/gexfoundry_device-snmp-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-233@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-233@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 [2023-02-15T06:09:42.017Z] $ docker top f6b42eb6fdac692c488e08c7e1c89634474a11842b20586c7de4b4e0544a86e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T06:09:42.409Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T06:09:42.724Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T06:09:43.040Z] + ls /var/log/sa-host [2023-02-15T06:09:43.040Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T06:09:43.180Z] provisioning config files... [2023-02-15T06:09:43.189Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-233@tmp/config9957857403724582134tmp [Pipeline] { [Pipeline] echo [2023-02-15T06:09:43.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:43.552Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T06:09:43.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:43.980Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T06:09:44.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:44.338Z] ---> sudo-logs.sh [2023-02-15T06:09:44.338Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T06:09:44.423Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:44.735Z] ---> job-cost.sh [2023-02-15T06:09:44.735Z] lf-activate-venv: SKIPPING [2023-02-15T06:09:44.735Z] DEBUG: total: 0.2199999988079071 [2023-02-15T06:09:44.735Z] INFO: Retrieving Stack Cost... [2023-02-15T06:09:44.993Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T06:09:45.252Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T06:09:45.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T06:09:45.608Z] ---> logs-deploy.sh [2023-02-15T06:09:45.608Z] lf-activate-venv: SKIPPING [2023-02-15T06:09:45.608Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-233/1 [2023-02-15T06:09:45.608Z] INFO: archiving workspace using pattern(s): [2023-02-15T06:09:46.985Z] Archives upload complete. [2023-02-15T06:09:46.985Z] INFO: archiving logs to Nexus