Pull request #204 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 32c17f25423055b5469d16a308272506ca5a799e+0845b1209c9eb9dd940496004e850c7da2ef6955 (d1e399982b8ca30951844fd13b9ea1a19caae098) 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-ssh11632853297049250198.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11220604067380338138.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-204/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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13352931551286087149.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12671812160703580330.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18337397994504018771.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-204/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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6569186049702792490.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118676 in /w/workspace/gexfoundry_device-snmp-go_PR-204 [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-204 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0845b1209c9eb9dd940496004e850c7da2ef6955 into PR head commit 32c17f25423055b5469d16a308272506ca5a799e Merge succeeded, producing 32c17f25423055b5469d16a308272506ca5a799e Checking out Revision 32c17f25423055b5469d16a308272506ca5a799e (PR-204) > git config core.sparsecheckout # timeout=10 > git checkout -f 32c17f25423055b5469d16a308272506ca5a799e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0845b1209c9eb9dd940496004e850c7da2ef6955 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32c17f25423055b5469d16a308272506ca5a799e # timeout=10 Commit message: "build: Update to use released SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T23:09:01.057Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T23:09:01.220Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T23:09:01.321Z] ========================================================= [2022-11-08T23:09:01.321Z] EdgeX Global Pipelines Version Info [2022-11-08T23:09:01.321Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:09:02.046Z] ------------------- [2022-11-08T23:09:02.046Z] stable info: [2022-11-08T23:09:02.046Z] ------------------- [2022-11-08T23:09:02.046Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T23:09:02.046Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:09:02.046Z] Message: update stable to v1.0.244 [2022-11-08T23:09:02.620Z] ------------------- [2022-11-08T23:09:02.620Z] experimental info: [2022-11-08T23:09:02.620Z] ------------------- [2022-11-08T23:09:02.620Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T23:09:02.620Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:09:02.620Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T23:09:02.916Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-11-08T23:09:02.957Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-11-08T23:09:02.997Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T23:09:03.033Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T23:09:03.073Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T23:09:03.114Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T23:09:03.158Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T23:09:03.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T23:09:03.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T23:09:03.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T23:09:03.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T23:09:03.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-11-08T23:09:03.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T23:09:03.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T23:09:03.500Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:09:03.539Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:09:03.575Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:09:03.614Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:09:03.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T23:09:03.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T23:09:03.731Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T23:09:03.772Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T23:09:03.809Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T23:09:03.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T23:09:03.896Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T23:09:03.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T23:09:03.988Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T23:09:04.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2022-11-08T23:09:04.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2022-11-08T23:09:04.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2022-11-08T23:09:04.156Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32c17f25423055b5469d16a308272506ca5a799e [Pipeline] echo [2022-11-08T23:09:04.201Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32c17f2 [Pipeline] echo [2022-11-08T23:09:04.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:09:04.354Z] provisioning config files... [2022-11-08T23:09:04.368Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/config14982059621551649155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:09:04.715Z] ---> docker-login.sh [2022-11-08T23:09:04.715Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:09:04.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:04.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:04.977Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:04.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:04.977Z] [2022-11-08T23:09:04.977Z] Login Succeeded [2022-11-08T23:09:04.977Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:09:04.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:04.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:04.977Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:04.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:04.977Z] [2022-11-08T23:09:04.977Z] Login Succeeded [2022-11-08T23:09:05.239Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:09:05.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:05.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:05.239Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:05.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:05.239Z] [2022-11-08T23:09:05.239Z] Login Succeeded [2022-11-08T23:09:05.239Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:09:05.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:05.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:05.239Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:05.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:05.239Z] [2022-11-08T23:09:05.239Z] Login Succeeded [2022-11-08T23:09:05.239Z] docker.io [2022-11-08T23:09:05.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:05.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:05.759Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:05.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:05.759Z] [2022-11-08T23:09:05.759Z] Login Succeeded [2022-11-08T23:09:05.759Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:09:05.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T23:09:06.463Z] + git rev-list -1 --merges 32c17f25423055b5469d16a308272506ca5a799e~1..32c17f25423055b5469d16a308272506ca5a799e [Pipeline] echo [2022-11-08T23:09:06.506Z] -----------> git rev-list -1 --merges 32c17f25423055b5469d16a308272506ca5a799e~1..32c17f25423055b5469d16a308272506ca5a799e 32c17f25423055b5469d16a308272506ca5a799e [false] [Pipeline] sh [2022-11-08T23:09:06.821Z] + git log --format=format:%s -1 32c17f25423055b5469d16a308272506ca5a799e [Pipeline] echo [2022-11-08T23:09:06.857Z] ========================================================= [2022-11-08T23:09:06.857Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T23:09:06.857Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:09:07.292Z] + git log --format=format:%s -1 32c17f25423055b5469d16a308272506ca5a799e [Pipeline] echo [2022-11-08T23:09:07.323Z] [semverPrep] GIT_COMMIT: 32c17f25423055b5469d16a308272506ca5a799e, Commit Message: build: Update to use released SDK [Pipeline] echo [2022-11-08T23:09:07.351Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T23:09:07.720Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:09:07.720Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T23:09:07.720Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T23:09:07.720Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T23:09:07.720Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T23:09:07.720Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T23:09:07.720Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:09:08.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:09:08.219Z] [2022-11-08T23:09:08.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:09:08.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:09:08.605Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T23:09:08.605Z] b85a868b505f: Pulling fs layer [2022-11-08T23:09:08.605Z] e2be974225ed: Pulling fs layer [2022-11-08T23:09:08.605Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T23:09:08.605Z] 988bab9f4d93: Pulling fs layer [2022-11-08T23:09:08.605Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T23:09:08.605Z] eaf3925da568: Pulling fs layer [2022-11-08T23:09:08.605Z] bab4dde63d76: Pulling fs layer [2022-11-08T23:09:08.605Z] bde34c3a00c8: Pulling fs layer [2022-11-08T23:09:08.605Z] b352a97aabf1: Pulling fs layer [2022-11-08T23:09:08.605Z] 4872d77fe225: Pulling fs layer [2022-11-08T23:09:08.605Z] 5851b861e8e6: Pulling fs layer [2022-11-08T23:09:08.605Z] 988bab9f4d93: Waiting [2022-11-08T23:09:08.605Z] eaf3925da568: Waiting [2022-11-08T23:09:08.605Z] bde34c3a00c8: Waiting [2022-11-08T23:09:08.605Z] bab4dde63d76: Waiting [2022-11-08T23:09:08.605Z] 1469e6f7b9e6: Waiting [2022-11-08T23:09:08.605Z] e2be974225ed: Verifying Checksum [2022-11-08T23:09:08.605Z] e2be974225ed: Download complete [2022-11-08T23:09:08.605Z] 988bab9f4d93: Verifying Checksum [2022-11-08T23:09:08.605Z] 988bab9f4d93: Download complete [2022-11-08T23:09:08.868Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T23:09:08.868Z] 1469e6f7b9e6: Download complete [2022-11-08T23:09:08.868Z] eaf3925da568: Download complete [2022-11-08T23:09:08.868Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T23:09:08.868Z] 339a4e72a1f5: Download complete [2022-11-08T23:09:08.868Z] bde34c3a00c8: Download complete [2022-11-08T23:09:08.868Z] b352a97aabf1: Download complete [2022-11-08T23:09:08.868Z] 4872d77fe225: Verifying Checksum [2022-11-08T23:09:08.868Z] 4872d77fe225: Download complete [2022-11-08T23:09:08.868Z] 5851b861e8e6: Download complete [2022-11-08T23:09:08.868Z] b85a868b505f: Verifying Checksum [2022-11-08T23:09:08.868Z] b85a868b505f: Download complete [2022-11-08T23:09:09.130Z] bab4dde63d76: Verifying Checksum [2022-11-08T23:09:09.130Z] bab4dde63d76: Download complete [2022-11-08T23:09:10.069Z] b85a868b505f: Pull complete [2022-11-08T23:09:10.328Z] e2be974225ed: Pull complete [2022-11-08T23:09:10.588Z] 339a4e72a1f5: Pull complete [2022-11-08T23:09:10.588Z] 988bab9f4d93: Pull complete [2022-11-08T23:09:10.847Z] 1469e6f7b9e6: Pull complete [2022-11-08T23:09:11.105Z] eaf3925da568: Pull complete [2022-11-08T23:09:12.531Z] bab4dde63d76: Pull complete [2022-11-08T23:09:12.531Z] bde34c3a00c8: Pull complete [2022-11-08T23:09:12.790Z] b352a97aabf1: Pull complete [2022-11-08T23:09:12.790Z] 4872d77fe225: Pull complete [2022-11-08T23:09:12.790Z] 5851b861e8e6: Pull complete [2022-11-08T23:09:12.790Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T23:09:12.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:09:12.790Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:09:13.015Z] prd-ubuntu20.04-docker-8c-8g-118676 does not seem to be running inside a container [2022-11-08T23:09:13.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-204 -v /w/workspace/gexfoundry_device-snmp-go_PR-204:/w/workspace/gexfoundry_device-snmp-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:09:14.397Z] $ docker top 9ede2def4e80dd28dc28ac71681aca907a084a3c83c284a973bc81cb9b71157a -eo pid,comm [2022-11-08T23:09:14.447Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-08T23:09:14.448Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:09:14.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:09:14.579Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:09:14.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:09:14.687Z] $ docker exec 9ede2def4e80dd28dc28ac71681aca907a084a3c83c284a973bc81cb9b71157a ssh-agent [2022-11-08T23:09:14.780Z] SSH_AUTH_SOCK=/tmp/ssh-3fAY0b4FaxUC/agent.32 [2022-11-08T23:09:14.780Z] SSH_AGENT_PID=38 [2022-11-08T23:09:14.786Z] Running ssh-add (command line suppressed) [2022-11-08T23:09:14.893Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/private_key_8982456128954835509.key (/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/private_key_8982456128954835509.key) [2022-11-08T23:09:14.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:09:15.233Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T23:09:15.266Z] $ docker exec --env ******** --env ******** 9ede2def4e80dd28dc28ac71681aca907a084a3c83c284a973bc81cb9b71157a ssh-agent -k [2022-11-08T23:09:15.377Z] unset SSH_AUTH_SOCK; [2022-11-08T23:09:15.377Z] unset SSH_AGENT_PID; [2022-11-08T23:09:15.377Z] echo Agent pid 38 killed; [2022-11-08T23:09:15.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T23:09:15.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:09:15.479Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:09:15.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:09:15.588Z] $ docker exec 9ede2def4e80dd28dc28ac71681aca907a084a3c83c284a973bc81cb9b71157a ssh-agent [2022-11-08T23:09:15.698Z] SSH_AUTH_SOCK=/tmp/ssh-gZxkjCJBk5B5/agent.70 [2022-11-08T23:09:15.698Z] SSH_AGENT_PID=76 [2022-11-08T23:09:15.703Z] Running ssh-add (command line suppressed) [2022-11-08T23:09:15.798Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/private_key_842812847907960947.key (/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/private_key_842812847907960947.key) [2022-11-08T23:09:15.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:09:16.140Z] + git semver init [2022-11-08T23:09:16.397Z] 2022-11-08 23:09:16,313 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T23:09:16.397Z] 2022-11-08 23:09:16,313 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-204/.semver [2022-11-08T23:09:16.397Z] 2022-11-08 23:09:16,314 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-204/.semver [2022-11-08T23:09:16.397Z] 2022-11-08 23:09:16,314 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-204/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-204, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,239 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-204/.git/info/exclude [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-204/.semver/PR-204 with force:False [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,240 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-204/.semver/PR-204 [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,244 [execute] INFO git cat-file --batch-check [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,250 [execute] INFO git cat-file --batch [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:09:17.341Z] 2022-11-08 23:09:17,252 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-204/.semver/PR-204 [2022-11-08T23:09:17.341Z] 0.0.0 [Pipeline] } [2022-11-08T23:09:17.375Z] $ docker exec --env ******** --env ******** 9ede2def4e80dd28dc28ac71681aca907a084a3c83c284a973bc81cb9b71157a ssh-agent -k [2022-11-08T23:09:17.476Z] unset SSH_AUTH_SOCK; [2022-11-08T23:09:17.477Z] unset SSH_AGENT_PID; [2022-11-08T23:09:17.477Z] echo Agent pid 76 killed; [2022-11-08T23:09:17.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:09:17.974Z] + git semver [Pipeline] } [2022-11-08T23:09:18.262Z] $ docker stop --time=1 9ede2def4e80dd28dc28ac71681aca907a084a3c83c284a973bc81cb9b71157a [2022-11-08T23:09:19.559Z] $ docker rm -f 9ede2def4e80dd28dc28ac71681aca907a084a3c83c284a973bc81cb9b71157a [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:09:19.960Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T23:09:20.222Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T23:09:20.239Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:09:20.801Z] provisioning config files... [2022-11-08T23:09:20.811Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/config14432693948113857955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:09:21.150Z] ---> docker-login.sh [2022-11-08T23:09:21.150Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:09:21.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:21.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:21.150Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:21.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:21.150Z] [2022-11-08T23:09:21.150Z] Login Succeeded [2022-11-08T23:09:21.150Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:09:21.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:21.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:21.150Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:21.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:21.150Z] [2022-11-08T23:09:21.150Z] Login Succeeded [2022-11-08T23:09:21.150Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:09:21.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:21.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:21.408Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:21.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:21.408Z] [2022-11-08T23:09:21.408Z] Login Succeeded [2022-11-08T23:09:21.408Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:09:21.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:21.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:21.408Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:21.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:21.408Z] [2022-11-08T23:09:21.408Z] Login Succeeded [2022-11-08T23:09:21.408Z] docker.io [2022-11-08T23:09:21.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:09:21.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:09:21.925Z] Configure a credential helper to remove this warning. See [2022-11-08T23:09:21.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:09:21.925Z] [2022-11-08T23:09:21.925Z] Login Succeeded [2022-11-08T23:09:21.925Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:09:21.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:09:22.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:09:22.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:09:22.199Z] ========================================================= [2022-11-08T23:09:22.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T23:09:22.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:09:22.657Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T23:09:22.657Z] Sending build context to Docker daemon 5.604MB [2022-11-08T23:09:22.657Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:09:22.657Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:09:22.657Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T23:09:22.657Z] 213ec9aee27d: Pulling fs layer [2022-11-08T23:09:22.657Z] 4583459ba037: Pulling fs layer [2022-11-08T23:09:22.657Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T23:09:22.657Z] 53926ce57604: Pulling fs layer [2022-11-08T23:09:22.657Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T23:09:22.657Z] 22ff95d597cd: Pulling fs layer [2022-11-08T23:09:22.657Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T23:09:22.657Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T23:09:22.657Z] a7acece74701: Pulling fs layer [2022-11-08T23:09:22.657Z] 12d6caf4c0d1: Waiting [2022-11-08T23:09:22.657Z] 53926ce57604: Waiting [2022-11-08T23:09:22.657Z] 96b7cbca73a9: Waiting [2022-11-08T23:09:22.657Z] a7acece74701: Waiting [2022-11-08T23:09:22.657Z] 21b2b0c7a3f4: Waiting [2022-11-08T23:09:22.657Z] 22ff95d597cd: Waiting [2022-11-08T23:09:22.657Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T23:09:22.657Z] 93c1e223e6f2: Download complete [2022-11-08T23:09:22.657Z] 4583459ba037: Verifying Checksum [2022-11-08T23:09:22.657Z] 4583459ba037: Download complete [2022-11-08T23:09:22.657Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T23:09:22.657Z] 21b2b0c7a3f4: Download complete [2022-11-08T23:09:22.657Z] 22ff95d597cd: Download complete [2022-11-08T23:09:22.918Z] 213ec9aee27d: Verifying Checksum [2022-11-08T23:09:22.918Z] 12d6caf4c0d1: Download complete [2022-11-08T23:09:22.918Z] 213ec9aee27d: Pull complete [2022-11-08T23:09:23.180Z] 4583459ba037: Pull complete [2022-11-08T23:09:23.180Z] 93c1e223e6f2: Pull complete [2022-11-08T23:09:23.180Z] a7acece74701: Verifying Checksum [2022-11-08T23:09:23.180Z] a7acece74701: Download complete [2022-11-08T23:09:23.747Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T23:09:23.747Z] 96b7cbca73a9: Download complete [2022-11-08T23:09:23.747Z] 53926ce57604: Verifying Checksum [2022-11-08T23:09:23.747Z] 53926ce57604: Download complete [2022-11-08T23:09:27.930Z] 53926ce57604: Pull complete [2022-11-08T23:09:27.930Z] 21b2b0c7a3f4: Pull complete [2022-11-08T23:09:27.930Z] 22ff95d597cd: Pull complete [2022-11-08T23:09:27.930Z] 12d6caf4c0d1: Pull complete [2022-11-08T23:09:29.833Z] 96b7cbca73a9: Pull complete [2022-11-08T23:09:30.406Z] a7acece74701: Pull complete [2022-11-08T23:09:30.666Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T23:09:30.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T23:09:30.667Z] ---> db6d94c90886 [2022-11-08T23:09:30.667Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:09:32.570Z] ---> Running in d06db8aef279 [2022-11-08T23:09:32.570Z] Removing intermediate container d06db8aef279 [2022-11-08T23:09:32.570Z] ---> e41691b8f71f [2022-11-08T23:09:32.570Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:09:32.570Z] ---> Running in c42318d7d0bb [2022-11-08T23:09:32.570Z] Removing intermediate container c42318d7d0bb [2022-11-08T23:09:32.570Z] ---> 9c646b68b848 [2022-11-08T23:09:32.570Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:09:32.570Z] ---> Running in 0cecaa0a59a2 [2022-11-08T23:09:32.828Z] Removing intermediate container 0cecaa0a59a2 [2022-11-08T23:09:32.828Z] ---> 417e46831d72 [2022-11-08T23:09:32.828Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:09:32.828Z] ---> Running in 972ea5222077 [2022-11-08T23:09:32.828Z] Removing intermediate container 972ea5222077 [2022-11-08T23:09:32.828Z] ---> a53848682def [2022-11-08T23:09:32.828Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:09:32.828Z] ---> Running in 961862816f41 [2022-11-08T23:09:33.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:09:33.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:09:33.601Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:09:33.601Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:09:33.601Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:09:33.601Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:09:33.601Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:09:33.601Z] OK: 216 MiB in 55 packages [2022-11-08T23:09:34.168Z] Removing intermediate container 961862816f41 [2022-11-08T23:09:34.168Z] ---> 4286a1c242f3 [2022-11-08T23:09:34.168Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-08T23:09:34.168Z] ---> Running in ffa44aef9069 [2022-11-08T23:09:34.168Z] Removing intermediate container ffa44aef9069 [2022-11-08T23:09:34.168Z] ---> 1aba6783e52d [2022-11-08T23:09:34.168Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:09:34.427Z] ---> dc90622db5a0 [2022-11-08T23:09:34.427Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:09:34.427Z] ---> Running in 216c9a3c0d3e [2022-11-08T23:09:35.626Z] Still waiting to schedule task [2022-11-08T23:09:35.626Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T23:09:52.516Z] Removing intermediate container 216c9a3c0d3e [2022-11-08T23:09:52.516Z] ---> 05d0b278334e [2022-11-08T23:09:52.516Z] Step 11/12 : COPY . . [2022-11-08T23:09:52.774Z] ---> 8dac9faeffdf [2022-11-08T23:09:52.774Z] Step 12/12 : RUN ${MAKE} [2022-11-08T23:09:52.774Z] ---> Running in 8587ab053929 [2022-11-08T23:09:53.041Z] noop [2022-11-08T23:09:53.302Z] Removing intermediate container 8587ab053929 [2022-11-08T23:09:53.302Z] ---> 4fc69bdbfb00 [2022-11-08T23:09:53.302Z] Successfully built 4fc69bdbfb00 [2022-11-08T23:09:53.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:09:53.860Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:09:53.860Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:09:54.012Z] prd-ubuntu20.04-docker-8c-8g-118676 does not seem to be running inside a container [2022-11-08T23:09:54.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-204 -v /w/workspace/gexfoundry_device-snmp-go_PR-204:/w/workspace/gexfoundry_device-snmp-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T23:09:54.390Z] $ docker top 1b7e2e3e88938d453235033c2b6da0db2e1f8771019d629d4e60fa9a13932d60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:09:54.785Z] + go version [2022-11-08T23:09:54.785Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T23:09:54.817Z] $ docker stop --time=1 1b7e2e3e88938d453235033c2b6da0db2e1f8771019d629d4e60fa9a13932d60 [2022-11-08T23:09:56.097Z] $ docker rm -f 1b7e2e3e88938d453235033c2b6da0db2e1f8771019d629d4e60fa9a13932d60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:09:56.786Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:09:56.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:09:56.933Z] prd-ubuntu20.04-docker-8c-8g-118676 does not seem to be running inside a container [2022-11-08T23:09:56.966Z] $ 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-204 -v /w/workspace/gexfoundry_device-snmp-go_PR-204:/w/workspace/gexfoundry_device-snmp-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T23:09:57.331Z] $ docker top 0d39bcaaaf63163a107757e1b9dbc37af08019a3069916062e83c15fe7375d63 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:09:57.728Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-204 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:09:58.088Z] + make test [2022-11-08T23:09:58.088Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T23:09:58.654Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-08T23:10:08.616Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-08T23:10:08.616Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements [2022-11-08T23:10:15.175Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-08T23:10:15.175Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:10:17.705Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:10:17.705Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:10:17.705Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:10:17.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:10:17.774Z] $ docker stop --time=1 0d39bcaaaf63163a107757e1b9dbc37af08019a3069916062e83c15fe7375d63 [2022-11-08T23:10:19.488Z] $ docker rm -f 0d39bcaaaf63163a107757e1b9dbc37af08019a3069916062e83c15fe7375d63 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:10:20.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:10:20.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T23:10:20.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:10:21.122Z] + ls -al . [2022-11-08T23:10:21.122Z] total 180 [2022-11-08T23:10:21.122Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:09 . [2022-11-08T23:10:21.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:08 .. [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 8 23:08 .dockerignore [2022-11-08T23:10:21.122Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:10 .git [2022-11-08T23:10:21.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:08 .github [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 8 23:08 .gitignore [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:08 .golangci.yml [2022-11-08T23:10:21.122Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:09 .semver [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 8 23:08 Attribution.txt [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 8 23:08 CHANGELOG.md [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 8 23:08 Dockerfile [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:08 GOVERNANCE.md [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 8 23:08 Jenkinsfile [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:08 LICENSE [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 8 23:08 Makefile [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:08 OWNERS.md [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 8 23:08 README.md [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:09 VERSION [2022-11-08T23:10:21.122Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:08 bin [2022-11-08T23:10:21.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:08 cmd [2022-11-08T23:10:21.122Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 8 23:10 coverage.out [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 3413 Nov 8 23:08 go.mod [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 44971 Nov 8 23:08 go.sum [2022-11-08T23:10:21.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:08 internal [2022-11-08T23:10:21.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:08 snap [2022-11-08T23:10:21.122Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 8 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:10:21.504Z] + 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=32c17f25423055b5469d16a308272506ca5a799e --label arch=amd64 --label version=0.0.0 . [2022-11-08T23:10:21.504Z] Sending build context to Docker daemon 5.612MB [2022-11-08T23:10:21.504Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:10:21.504Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T23:10:21.504Z] ---> 4fc69bdbfb00 [2022-11-08T23:10:21.504Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:10:21.504Z] ---> Running in bc875f12f987 [2022-11-08T23:10:21.762Z] Removing intermediate container bc875f12f987 [2022-11-08T23:10:21.762Z] ---> 3727d87f78c5 [2022-11-08T23:10:21.762Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:10:21.762Z] ---> Running in c5f60821d290 [2022-11-08T23:10:21.762Z] Removing intermediate container c5f60821d290 [2022-11-08T23:10:21.762Z] ---> e722036633ff [2022-11-08T23:10:21.762Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:10:21.762Z] ---> Running in 6af37082b596 [2022-11-08T23:10:21.762Z] Removing intermediate container 6af37082b596 [2022-11-08T23:10:21.762Z] ---> ce1e8eedfa7b [2022-11-08T23:10:21.762Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:10:22.021Z] ---> Running in 2bde72402306 [2022-11-08T23:10:22.021Z] Removing intermediate container 2bde72402306 [2022-11-08T23:10:22.021Z] ---> 3211d53fa328 [2022-11-08T23:10:22.021Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:10:22.021Z] ---> Running in f721689cfb1b [2022-11-08T23:10:22.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:10:22.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:10:22.543Z] OK: 216 MiB in 55 packages [2022-11-08T23:10:22.801Z] Removing intermediate container f721689cfb1b [2022-11-08T23:10:22.802Z] ---> f77677c0f51b [2022-11-08T23:10:22.802Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-08T23:10:23.061Z] ---> Running in 81b2aa11f9fb [2022-11-08T23:10:23.061Z] Removing intermediate container 81b2aa11f9fb [2022-11-08T23:10:23.061Z] ---> db44e75157b5 [2022-11-08T23:10:23.061Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T23:10:23.320Z] ---> 5a2493f6ed23 [2022-11-08T23:10:23.320Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:10:23.320Z] ---> Running in 80c707b90338 [2022-11-08T23:10:23.886Z] Removing intermediate container 80c707b90338 [2022-11-08T23:10:23.886Z] ---> d2c483b39382 [2022-11-08T23:10:23.886Z] Step 11/24 : COPY . . [2022-11-08T23:10:24.145Z] ---> b380462dba00 [2022-11-08T23:10:24.145Z] Step 12/24 : RUN ${MAKE} [2022-11-08T23:10:24.145Z] ---> Running in d416a46fad88 [2022-11-08T23:10:24.404Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-08T23:10:46.327Z] Removing intermediate container d416a46fad88 [2022-11-08T23:10:46.327Z] ---> d731d504856b [2022-11-08T23:10:46.327Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T23:10:46.327Z] 3.16: Pulling from library/alpine [2022-11-08T23:10:46.327Z] 213ec9aee27d: Already exists [2022-11-08T23:10:46.327Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:10:46.327Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:10:46.328Z] ---> 9c6f07244728 [2022-11-08T23:10:46.328Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T23:10:46.328Z] ---> Running in 43a2d48e027b [2022-11-08T23:10:46.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:10:46.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:10:46.328Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T23:10:46.328Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:10:46.328Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T23:10:46.328Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:10:46.328Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T23:10:46.328Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T23:10:46.328Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:10:46.328Z] OK: 8 MiB in 20 packages [2022-11-08T23:10:46.328Z] Removing intermediate container 43a2d48e027b [2022-11-08T23:10:46.328Z] ---> 5518dce1c8a5 [2022-11-08T23:10:46.328Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-08T23:10:46.328Z] ---> 57c8fcf5eb79 [2022-11-08T23:10:46.328Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-08T23:10:46.328Z] ---> 65c1162b0cd5 [2022-11-08T23:10:46.328Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-08T23:10:46.328Z] ---> d2db99c67234 [2022-11-08T23:10:46.328Z] Step 18/24 : EXPOSE 59993 [2022-11-08T23:10:46.584Z] ---> Running in d0649f3caf76 [2022-11-08T23:10:46.584Z] Removing intermediate container d0649f3caf76 [2022-11-08T23:10:46.584Z] ---> 66bb14dd2c96 [2022-11-08T23:10:46.584Z] Step 19/24 : EXPOSE 161 [2022-11-08T23:10:46.584Z] ---> Running in 21f2783a5b12 [2022-11-08T23:10:46.584Z] Removing intermediate container 21f2783a5b12 [2022-11-08T23:10:46.584Z] ---> e86161d4a4a5 [2022-11-08T23:10:46.584Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-08T23:10:46.584Z] ---> Running in 957012edfebd [2022-11-08T23:10:46.843Z] Removing intermediate container 957012edfebd [2022-11-08T23:10:46.843Z] ---> 499954080b06 [2022-11-08T23:10:46.843Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T23:10:46.843Z] ---> Running in d107ea6818a5 [2022-11-08T23:10:46.843Z] Removing intermediate container d107ea6818a5 [2022-11-08T23:10:46.843Z] ---> 37a6102ee787 [2022-11-08T23:10:46.843Z] Step 22/24 : LABEL arch=amd64 [2022-11-08T23:10:46.843Z] ---> Running in 4afa92b69a4c [2022-11-08T23:10:47.101Z] Removing intermediate container 4afa92b69a4c [2022-11-08T23:10:47.101Z] ---> 0fc54b182460 [2022-11-08T23:10:47.101Z] Step 23/24 : LABEL git_sha=32c17f25423055b5469d16a308272506ca5a799e [2022-11-08T23:10:47.101Z] ---> Running in 302bd69a3285 [2022-11-08T23:10:47.101Z] Removing intermediate container 302bd69a3285 [2022-11-08T23:10:47.101Z] ---> 666c9c28a825 [2022-11-08T23:10:47.101Z] Step 24/24 : LABEL version=0.0.0 [2022-11-08T23:10:47.101Z] ---> Running in 69c8fdda348c [2022-11-08T23:10:47.364Z] Removing intermediate container 69c8fdda348c [2022-11-08T23:10:47.364Z] ---> 812ac3f336ff [2022-11-08T23:10:47.364Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:10:47.364Z] Successfully built 812ac3f336ff [2022-11-08T23:10:47.364Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:10:48.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:10:48.224Z] [2022-11-08T23:10:48.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:10:48.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:10:48.597Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T23:10:48.597Z] 5eb5b503b376: Pulling fs layer [2022-11-08T23:10:48.597Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T23:10:48.597Z] ec43610c2a17: Pulling fs layer [2022-11-08T23:10:48.597Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T23:10:48.597Z] 33b1e0a273af: Pulling fs layer [2022-11-08T23:10:48.597Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T23:10:48.597Z] 2f39f015ded8: Pulling fs layer [2022-11-08T23:10:48.597Z] 33b1e0a273af: Waiting [2022-11-08T23:10:48.597Z] 5d3b04190fa2: Waiting [2022-11-08T23:10:48.597Z] 2f39f015ded8: Waiting [2022-11-08T23:10:48.597Z] 3a2ae6a8a46f: Waiting [2022-11-08T23:10:48.597Z] 5c69ac0246d0: Download complete [2022-11-08T23:10:48.597Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T23:10:48.597Z] 3a2ae6a8a46f: Download complete [2022-11-08T23:10:48.597Z] 33b1e0a273af: Verifying Checksum [2022-11-08T23:10:48.597Z] 33b1e0a273af: Download complete [2022-11-08T23:10:48.597Z] ec43610c2a17: Verifying Checksum [2022-11-08T23:10:48.597Z] ec43610c2a17: Download complete [2022-11-08T23:10:48.597Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T23:10:48.597Z] 5d3b04190fa2: Download complete [2022-11-08T23:10:48.856Z] 5eb5b503b376: Verifying Checksum [2022-11-08T23:10:48.856Z] 5eb5b503b376: Download complete [2022-11-08T23:10:49.426Z] 2f39f015ded8: Download complete [2022-11-08T23:10:49.994Z] 5eb5b503b376: Pull complete [2022-11-08T23:10:49.994Z] 5c69ac0246d0: Pull complete [2022-11-08T23:10:50.254Z] ec43610c2a17: Pull complete [2022-11-08T23:10:50.254Z] 3a2ae6a8a46f: Pull complete [2022-11-08T23:10:50.515Z] 33b1e0a273af: Pull complete [2022-11-08T23:10:50.515Z] 5d3b04190fa2: Pull complete [2022-11-08T23:10:54.697Z] 2f39f015ded8: Pull complete [2022-11-08T23:10:54.697Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T23:10:54.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:10:54.697Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:10:54.903Z] prd-ubuntu20.04-docker-8c-8g-118676 does not seem to be running inside a container [2022-11-08T23:10:54.932Z] $ 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-204 -v /w/workspace/gexfoundry_device-snmp-go_PR-204:/w/workspace/gexfoundry_device-snmp-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:10:56.509Z] $ docker top ea88e38de11e570156752963d2dd9136258b63e0c1ff39736f3bb07b8c08eebd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:10:56.947Z] ---> job-cost.sh [2022-11-08T23:10:56.947Z] lf-activate-venv: SKIPPING [2022-11-08T23:10:56.947Z] INFO: No Stack... [2022-11-08T23:10:57.209Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:10:57.790Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:10:58.099Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-204/archives/cost.csv [2022-11-08T23:10:58.099Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:10:58.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] [2022-11-08T23:10:58.140Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] did not exist. Created. [2022-11-08T23:10:58.140Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:10:58.526Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T23:10:58.567Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:10:58.595Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:10:58.666Z] $ docker stop --time=1 ea88e38de11e570156752963d2dd9136258b63e0c1ff39736f3bb07b8c08eebd [2022-11-08T23:10:59.814Z] $ docker rm -f ea88e38de11e570156752963d2dd9136258b63e0c1ff39736f3bb07b8c08eebd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T23:12:14.260Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118679 in /w/workspace/gexfoundry_device-snmp-go_PR-204 [Pipeline] { [Pipeline] ws [2022-11-08T23:12:14.298Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-11-08T23:12:14.373Z] Selected Git installation does not exist. Using Default [2022-11-08T23:12:14.373Z] The recommended git tool is: NONE [2022-11-08T23:12:20.309Z] using credential edgex-jenkins-ssh [2022-11-08T23:12:20.327Z] Cloning the remote Git repository [2022-11-08T23:12:20.376Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-11-08T23:12:20.463Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-11-08T23:12:20.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-08T23:12:20.629Z] > git --version # timeout=10 [2022-11-08T23:12:20.650Z] > git --version # 'git version 2.25.1' [2022-11-08T23:12:20.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:12:20.703Z] Verifying host key using known hosts file [2022-11-08T23:12:20.919Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T23:12:20.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:12:22.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-08T23:12:22.120Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:12:23.982Z] Merging remotes/origin/main commit 0845b1209c9eb9dd940496004e850c7da2ef6955 into PR head commit 32c17f25423055b5469d16a308272506ca5a799e [2022-11-08T23:12:24.239Z] Merge succeeded, producing 32c17f25423055b5469d16a308272506ca5a799e [2022-11-08T23:12:24.239Z] Checking out Revision 32c17f25423055b5469d16a308272506ca5a799e (PR-204) [2022-11-08T23:12:23.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-08T23:12:23.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-08T23:12:23.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:12:23.269Z] Verifying host key using known hosts file [2022-11-08T23:12:23.278Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T23:12:23.295Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T23:12:24.001Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:12:24.023Z] > git checkout -f 32c17f25423055b5469d16a308272506ca5a799e # timeout=10 [2022-11-08T23:12:24.114Z] > git remote # timeout=10 [2022-11-08T23:12:24.136Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T23:12:24.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:12:24.173Z] Verifying host key using known hosts file [2022-11-08T23:12:24.177Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T23:12:24.188Z] > git merge 0845b1209c9eb9dd940496004e850c7da2ef6955 # timeout=10 [2022-11-08T23:12:24.215Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T23:12:24.245Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:12:24.260Z] > git checkout -f 32c17f25423055b5469d16a308272506ca5a799e # timeout=10 [2022-11-08T23:12:27.818Z] Commit message: "build: Update to use released SDK" [2022-11-08T23:12:27.873Z] > git --version # timeout=10 [2022-11-08T23:12:27.889Z] > git --version # 'git version 2.25.1' [2022-11-08T23:12:27.911Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:12:28.963Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T23:12:28.963Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:12:28.963Z] Dload Upload Total Spent Left Speed [2022-11-08T23:12:28.963Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-11-08T23:12:29.693Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T23:12:30.044Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T23:12:30.044Z] + sudo tee /etc/docker/daemon.new [2022-11-08T23:12:30.044Z] { [2022-11-08T23:12:30.044Z] "registry-mirrors": [ [2022-11-08T23:12:30.044Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T23:12:30.044Z] ], [2022-11-08T23:12:30.044Z] "bip": "10.250.0.254/24", [2022-11-08T23:12:30.044Z] "hosts": [ [2022-11-08T23:12:30.044Z] "tcp://0.0.0.0:5555", [2022-11-08T23:12:30.044Z] "unix:///var/run/docker.sock" [2022-11-08T23:12:30.044Z] ], [2022-11-08T23:12:30.044Z] "mtu": 1458, [2022-11-08T23:12:30.044Z] "selinux-enabled": true, [2022-11-08T23:12:30.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T23:12:30.044Z] } [Pipeline] sh [2022-11-08T23:12:30.400Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T23:12:30.771Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:12:49.127Z] provisioning config files... [2022-11-08T23:12:49.163Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config10743378100452584029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:12:49.556Z] ---> docker-login.sh [2022-11-08T23:12:49.556Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:12:50.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:50.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:50.156Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:50.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:50.156Z] [2022-11-08T23:12:50.156Z] Login Succeeded [2022-11-08T23:12:50.156Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:12:50.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:50.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:50.692Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:50.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:50.692Z] [2022-11-08T23:12:50.692Z] Login Succeeded [2022-11-08T23:12:50.692Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:12:50.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:50.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:50.962Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:50.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:50.962Z] [2022-11-08T23:12:50.962Z] Login Succeeded [2022-11-08T23:12:50.962Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:12:51.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:51.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:51.509Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:51.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:51.509Z] [2022-11-08T23:12:51.509Z] Login Succeeded [2022-11-08T23:12:51.509Z] docker.io [2022-11-08T23:12:51.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:52.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:52.050Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:52.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:52.051Z] [2022-11-08T23:12:52.051Z] Login Succeeded [2022-11-08T23:12:52.051Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:12:52.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:12:52.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:12:52.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:12:52.461Z] ========================================================= [2022-11-08T23:12:52.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T23:12:52.461Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:52.944Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T23:12:53.217Z] Sending build context to Docker daemon 2.908MB [2022-11-08T23:12:53.217Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:12:53.217Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:12:53.486Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T23:12:53.486Z] 9b18e9b68314: Pulling fs layer [2022-11-08T23:12:53.486Z] 35d82f9e3411: Pulling fs layer [2022-11-08T23:12:53.486Z] e16973657156: Pulling fs layer [2022-11-08T23:12:53.486Z] fc693d55d65f: Pulling fs layer [2022-11-08T23:12:53.486Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T23:12:53.486Z] dda99020689f: Pulling fs layer [2022-11-08T23:12:53.486Z] db1c61fa0a46: Pulling fs layer [2022-11-08T23:12:53.486Z] 891c053d2c06: Pulling fs layer [2022-11-08T23:12:53.486Z] fc693d55d65f: Waiting [2022-11-08T23:12:53.486Z] 7e9fc2657dce: Waiting [2022-11-08T23:12:53.486Z] dda99020689f: Waiting [2022-11-08T23:12:53.486Z] db1c61fa0a46: Waiting [2022-11-08T23:12:53.486Z] 891c053d2c06: Waiting [2022-11-08T23:12:53.486Z] e16973657156: Verifying Checksum [2022-11-08T23:12:53.486Z] e16973657156: Download complete [2022-11-08T23:12:53.486Z] 35d82f9e3411: Download complete [2022-11-08T23:12:53.771Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T23:12:53.771Z] 7e9fc2657dce: Download complete [2022-11-08T23:12:53.771Z] dda99020689f: Verifying Checksum [2022-11-08T23:12:53.771Z] dda99020689f: Download complete [2022-11-08T23:12:53.771Z] 9b18e9b68314: Verifying Checksum [2022-11-08T23:12:53.771Z] 9b18e9b68314: Download complete [2022-11-08T23:12:54.756Z] 9b18e9b68314: Pull complete [2022-11-08T23:12:55.034Z] 891c053d2c06: Verifying Checksum [2022-11-08T23:12:55.034Z] 891c053d2c06: Download complete [2022-11-08T23:12:55.309Z] 35d82f9e3411: Pull complete [2022-11-08T23:12:55.908Z] e16973657156: Pull complete [2022-11-08T23:12:56.178Z] db1c61fa0a46: Verifying Checksum [2022-11-08T23:12:56.178Z] db1c61fa0a46: Download complete [2022-11-08T23:12:56.771Z] fc693d55d65f: Verifying Checksum [2022-11-08T23:12:56.771Z] fc693d55d65f: Download complete [2022-11-08T23:13:09.127Z] fc693d55d65f: Pull complete [2022-11-08T23:13:09.127Z] 7e9fc2657dce: Pull complete [2022-11-08T23:13:09.127Z] dda99020689f: Pull complete [2022-11-08T23:13:14.518Z] db1c61fa0a46: Pull complete [2022-11-08T23:13:16.499Z] 891c053d2c06: Pull complete [2022-11-08T23:13:16.499Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T23:13:16.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T23:13:16.499Z] ---> f96f9c87975a [2022-11-08T23:13:16.499Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:13:18.467Z] ---> Running in 7c562a8b491f [2022-11-08T23:13:18.736Z] Removing intermediate container 7c562a8b491f [2022-11-08T23:13:18.736Z] ---> d49bc241d4bd [2022-11-08T23:13:18.736Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:13:18.736Z] ---> Running in 4c2ea44c36b3 [2022-11-08T23:13:19.016Z] Removing intermediate container 4c2ea44c36b3 [2022-11-08T23:13:19.016Z] ---> 2d5c5f421055 [2022-11-08T23:13:19.016Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:13:19.291Z] ---> Running in 64d8db611f7d [2022-11-08T23:13:19.561Z] Removing intermediate container 64d8db611f7d [2022-11-08T23:13:19.561Z] ---> c31ab064dde7 [2022-11-08T23:13:19.561Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:13:19.561Z] ---> Running in c1ebc3e74952 [2022-11-08T23:13:20.153Z] Removing intermediate container c1ebc3e74952 [2022-11-08T23:13:20.153Z] ---> 897fe08b0831 [2022-11-08T23:13:20.153Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:13:20.153Z] ---> Running in b0eba9e2e5e5 [2022-11-08T23:13:21.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:13:21.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:13:22.822Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:13:22.822Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:13:22.822Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:13:22.822Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:13:22.822Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:13:23.091Z] OK: 226 MiB in 55 packages [2022-11-08T23:13:24.087Z] Removing intermediate container b0eba9e2e5e5 [2022-11-08T23:13:24.088Z] ---> c5d0d25f8928 [2022-11-08T23:13:24.088Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-08T23:13:24.088Z] ---> Running in 7b864f3592e4 [2022-11-08T23:13:24.360Z] Removing intermediate container 7b864f3592e4 [2022-11-08T23:13:24.360Z] ---> d0745d7e97c1 [2022-11-08T23:13:24.360Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:13:24.950Z] ---> 5848e844a632 [2022-11-08T23:13:24.950Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:13:25.220Z] ---> Running in fb66d2284c0e [2022-11-08T23:14:21.669Z] Removing intermediate container fb66d2284c0e [2022-11-08T23:14:21.669Z] ---> 9531e0dd085f [2022-11-08T23:14:21.669Z] Step 11/12 : COPY . . [2022-11-08T23:14:21.669Z] ---> aa7008543455 [2022-11-08T23:14:21.669Z] Step 12/12 : RUN ${MAKE} [2022-11-08T23:14:21.669Z] ---> Running in 8489c2f2d2de [2022-11-08T23:14:21.941Z] noop [2022-11-08T23:14:22.524Z] Removing intermediate container 8489c2f2d2de [2022-11-08T23:14:22.524Z] ---> 6323811204e4 [2022-11-08T23:14:22.524Z] Successfully built 6323811204e4 [2022-11-08T23:14:22.524Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:14:23.001Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:14:23.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:14:23.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-118679 does not seem to be running inside a container [2022-11-08T23:14:23.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:14:24.483Z] $ docker top bb5fcc1ab1ca77e630b630fa8d6110a69d6e19ba812cd44f1bc72e4d1bce8035 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:14:25.371Z] + go version [2022-11-08T23:14:25.371Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T23:14:25.402Z] $ docker stop --time=1 bb5fcc1ab1ca77e630b630fa8d6110a69d6e19ba812cd44f1bc72e4d1bce8035 [2022-11-08T23:14:27.099Z] $ docker rm -f bb5fcc1ab1ca77e630b630fa8d6110a69d6e19ba812cd44f1bc72e4d1bce8035 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:14:27.947Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:14:27.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:14:28.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-118679 does not seem to be running inside a container [2022-11-08T23:14:28.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:14:29.573Z] $ docker top 2cf2f90cc6ee763ea9d35b8bb395d9031a77b43d245b535daa9eb6253b25ad55 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:14:30.146Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:14:31.110Z] + make test [2022-11-08T23:14:31.110Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T23:14:32.529Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-08T23:16:09.262Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-08T23:16:09.262Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.055s coverage: 0.0% of statements [2022-11-08T23:16:09.262Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T23:16:09.262Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:16:31.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:16:31.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:16:31.346Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:16:31.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:16:31.413Z] $ docker stop --time=1 2cf2f90cc6ee763ea9d35b8bb395d9031a77b43d245b535daa9eb6253b25ad55 [2022-11-08T23:16:33.417Z] $ docker rm -f 2cf2f90cc6ee763ea9d35b8bb395d9031a77b43d245b535daa9eb6253b25ad55 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:16:34.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:16:34.632Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T23:16:35.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:16:35.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:16:36.084Z] + ls -al . [2022-11-08T23:16:36.084Z] total 176 [2022-11-08T23:16:36.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:14 . [2022-11-08T23:16:36.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:12 .. [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 8 23:12 .dockerignore [2022-11-08T23:16:36.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:12 .git [2022-11-08T23:16:36.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:12 .github [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 8 23:12 .gitignore [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:12 .golangci.yml [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 8 23:12 Attribution.txt [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 8 23:12 CHANGELOG.md [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 8 23:12 Dockerfile [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:12 GOVERNANCE.md [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 8 23:12 Jenkinsfile [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:12 LICENSE [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 8 23:12 Makefile [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:12 OWNERS.md [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 8 23:12 README.md [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:09 VERSION [2022-11-08T23:16:36.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:12 bin [2022-11-08T23:16:36.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:12 cmd [2022-11-08T23:16:36.084Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 8 23:16 coverage.out [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 3413 Nov 8 23:12 go.mod [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 44971 Nov 8 23:12 go.sum [2022-11-08T23:16:36.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:12 internal [2022-11-08T23:16:36.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:12 snap [2022-11-08T23:16:36.084Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 8 23:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:16:36.505Z] + 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=32c17f25423055b5469d16a308272506ca5a799e --label arch=arm64 --label version=0.0.0 . [2022-11-08T23:16:36.773Z] Sending build context to Docker daemon 2.916MB [2022-11-08T23:16:36.773Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:16:36.773Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T23:16:36.773Z] ---> 6323811204e4 [2022-11-08T23:16:36.773Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:16:37.366Z] ---> Running in cc3662c2555a [2022-11-08T23:16:37.637Z] Removing intermediate container cc3662c2555a [2022-11-08T23:16:37.637Z] ---> fbac2272fc27 [2022-11-08T23:16:37.637Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:16:37.637Z] ---> Running in 629d26477834 [2022-11-08T23:16:37.907Z] Removing intermediate container 629d26477834 [2022-11-08T23:16:37.907Z] ---> 232d09a530f0 [2022-11-08T23:16:37.907Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:16:38.182Z] ---> Running in dd1c1978a721 [2022-11-08T23:16:38.454Z] Removing intermediate container dd1c1978a721 [2022-11-08T23:16:38.454Z] ---> ff6438c8b7ba [2022-11-08T23:16:38.454Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:16:38.454Z] ---> Running in 44076d205a92 [2022-11-08T23:16:39.062Z] Removing intermediate container 44076d205a92 [2022-11-08T23:16:39.062Z] ---> 9cf9f34c5b56 [2022-11-08T23:16:39.062Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:16:39.062Z] ---> Running in 0c2da5db400b [2022-11-08T23:16:40.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:16:40.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:16:42.042Z] OK: 226 MiB in 55 packages [2022-11-08T23:16:43.097Z] Removing intermediate container 0c2da5db400b [2022-11-08T23:16:43.097Z] ---> 34fa072d1d66 [2022-11-08T23:16:43.097Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-08T23:16:43.097Z] ---> Running in ca3a928aee86 [2022-11-08T23:16:43.718Z] Removing intermediate container ca3a928aee86 [2022-11-08T23:16:43.718Z] ---> 58a08a11242c [2022-11-08T23:16:43.718Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T23:16:44.332Z] ---> 562d817c317e [2022-11-08T23:16:44.332Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:16:44.332Z] ---> Running in 1a1a0c118344 [2022-11-08T23:16:48.644Z] Removing intermediate container 1a1a0c118344 [2022-11-08T23:16:48.644Z] ---> 50d841cba33a [2022-11-08T23:16:48.644Z] Step 11/24 : COPY . . [2022-11-08T23:16:50.604Z] ---> 1c6806b7fa1c [2022-11-08T23:16:50.604Z] Step 12/24 : RUN ${MAKE} [2022-11-08T23:16:50.604Z] ---> Running in dae86b5fcf23 [2022-11-08T23:16:52.567Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-08T23:19:29.378Z] Removing intermediate container dae86b5fcf23 [2022-11-08T23:19:29.378Z] ---> 9540b191ebcb [2022-11-08T23:19:29.378Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T23:19:29.964Z] 3.16: Pulling from library/alpine [2022-11-08T23:19:30.232Z] 9b18e9b68314: Already exists [2022-11-08T23:19:30.501Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:19:30.501Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:19:30.501Z] ---> a6215f271958 [2022-11-08T23:19:30.501Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T23:19:30.501Z] ---> Running in 923b3593c60a [2022-11-08T23:19:31.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:19:32.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:19:33.012Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T23:19:33.012Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:19:33.012Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T23:19:33.280Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:19:33.280Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T23:19:33.280Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T23:19:33.280Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:19:33.280Z] OK: 8 MiB in 20 packages [2022-11-08T23:19:34.247Z] Removing intermediate container 923b3593c60a [2022-11-08T23:19:34.247Z] ---> db6672a4f482 [2022-11-08T23:19:34.247Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-08T23:19:35.679Z] ---> ad5dd5c9031a [2022-11-08T23:19:35.679Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-08T23:19:36.281Z] ---> 23c97cc62338 [2022-11-08T23:19:36.281Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-08T23:19:36.872Z] ---> 1a464b15c51f [2022-11-08T23:19:36.872Z] Step 18/24 : EXPOSE 59993 [2022-11-08T23:19:36.872Z] ---> Running in edc6f310b247 [2022-11-08T23:19:37.142Z] Removing intermediate container edc6f310b247 [2022-11-08T23:19:37.142Z] ---> 3a69f31ed3e5 [2022-11-08T23:19:37.142Z] Step 19/24 : EXPOSE 161 [2022-11-08T23:19:37.411Z] ---> Running in d6832184d854 [2022-11-08T23:19:37.678Z] Removing intermediate container d6832184d854 [2022-11-08T23:19:37.678Z] ---> dd41e95027b1 [2022-11-08T23:19:37.678Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-08T23:19:37.678Z] ---> Running in 001e4008fdf9 [2022-11-08T23:19:37.948Z] Removing intermediate container 001e4008fdf9 [2022-11-08T23:19:37.948Z] ---> c3138bc66033 [2022-11-08T23:19:37.948Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T23:19:37.948Z] ---> Running in 15694604b20b [2022-11-08T23:19:38.225Z] Removing intermediate container 15694604b20b [2022-11-08T23:19:38.225Z] ---> 48f4f3d614de [2022-11-08T23:19:38.225Z] Step 22/24 : LABEL arch=arm64 [2022-11-08T23:19:38.494Z] ---> Running in e296295062b9 [2022-11-08T23:19:38.760Z] Removing intermediate container e296295062b9 [2022-11-08T23:19:38.760Z] ---> 860f31d6a7dd [2022-11-08T23:19:38.760Z] Step 23/24 : LABEL git_sha=32c17f25423055b5469d16a308272506ca5a799e [2022-11-08T23:19:38.760Z] ---> Running in d5c7b27a5e2a [2022-11-08T23:19:39.028Z] Removing intermediate container d5c7b27a5e2a [2022-11-08T23:19:39.028Z] ---> 9df627e76cba [2022-11-08T23:19:39.028Z] Step 24/24 : LABEL version=0.0.0 [2022-11-08T23:19:39.028Z] ---> Running in 1b48a176a1ea [2022-11-08T23:19:39.613Z] Removing intermediate container 1b48a176a1ea [2022-11-08T23:19:39.613Z] ---> 2420eaa46b4d [2022-11-08T23:19:39.613Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:19:39.613Z] Successfully built 2420eaa46b4d [2022-11-08T23:19:39.613Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:19:40.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:19:40.380Z] [2022-11-08T23:19:40.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:19:40.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:19:41.064Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T23:19:41.064Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T23:19:41.064Z] 04944245beec: Pulling fs layer [2022-11-08T23:19:41.064Z] 699f458cf7ca: Pulling fs layer [2022-11-08T23:19:41.064Z] 765212b225bb: Pulling fs layer [2022-11-08T23:19:41.064Z] f23df028b6ca: Pulling fs layer [2022-11-08T23:19:41.064Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T23:19:41.064Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T23:19:41.064Z] 765212b225bb: Waiting [2022-11-08T23:19:41.064Z] f23df028b6ca: Waiting [2022-11-08T23:19:41.064Z] d65c8cfc05b1: Waiting [2022-11-08T23:19:41.064Z] 2437ff75d9bd: Waiting [2022-11-08T23:19:41.064Z] 04944245beec: Verifying Checksum [2022-11-08T23:19:41.064Z] 04944245beec: Download complete [2022-11-08T23:19:41.064Z] 765212b225bb: Verifying Checksum [2022-11-08T23:19:41.064Z] 765212b225bb: Download complete [2022-11-08T23:19:41.064Z] f23df028b6ca: Verifying Checksum [2022-11-08T23:19:41.064Z] f23df028b6ca: Download complete [2022-11-08T23:19:41.338Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T23:19:41.338Z] d65c8cfc05b1: Download complete [2022-11-08T23:19:41.338Z] 699f458cf7ca: Verifying Checksum [2022-11-08T23:19:41.338Z] 699f458cf7ca: Download complete [2022-11-08T23:19:41.610Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T23:19:41.610Z] 8998bd30e6a1: Download complete [2022-11-08T23:19:44.198Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T23:19:44.198Z] 2437ff75d9bd: Download complete [2022-11-08T23:19:46.144Z] 8998bd30e6a1: Pull complete [2022-11-08T23:19:46.144Z] 04944245beec: Pull complete [2022-11-08T23:19:47.549Z] 699f458cf7ca: Pull complete [2022-11-08T23:19:47.816Z] 765212b225bb: Pull complete [2022-11-08T23:19:48.778Z] f23df028b6ca: Pull complete [2022-11-08T23:19:48.778Z] d65c8cfc05b1: Pull complete [2022-11-08T23:20:03.771Z] 2437ff75d9bd: Pull complete [2022-11-08T23:20:03.771Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T23:20:03.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:20:03.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:20:04.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-118679 does not seem to be running inside a container [2022-11-08T23:20:04.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T23:20:07.051Z] $ docker top c03fae7098cf688b9dbe5aff0b9eb721de79d0f1e171c57f3b5c5da9c077aa84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:07.974Z] ---> job-cost.sh [2022-11-08T23:20:07.974Z] lf-activate-venv: SKIPPING [2022-11-08T23:20:07.974Z] INFO: No Stack... [2022-11-08T23:20:08.241Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T23:20:09.201Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:20:09.542Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-11-08T23:20:09.809Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:20:09.894Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] [2022-11-08T23:20:09.899Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] did not exist. Created. [2022-11-08T23:20:09.899Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:20:10.313Z] /w/workspace/device-snmp-go/1@tmp/durable-d5196317/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T23:20:11.005Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T23:20:11.043Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T23:20:11.086Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:20:11.101Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:20:11.175Z] $ docker stop --time=1 c03fae7098cf688b9dbe5aff0b9eb721de79d0f1e171c57f3b5c5da9c077aa84 [2022-11-08T23:20:12.671Z] $ docker rm -f c03fae7098cf688b9dbe5aff0b9eb721de79d0f1e171c57f3b5c5da9c077aa84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-08T23:20:13.735Z] provisioning config files... [2022-11-08T23:20:13.747Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/config4228600133712876289tmp [Pipeline] { [Pipeline] sh [2022-11-08T23:20:14.082Z] + set +x [2022-11-08T23:20:14.082Z] + curl -s https://codecov.io/bash [2022-11-08T23:20:14.082Z] + bash -s -- [2022-11-08T23:20:14.082Z] [2022-11-08T23:20:14.082Z] _____ _ [2022-11-08T23:20:14.082Z] / ____| | | [2022-11-08T23:20:14.082Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T23:20:14.082Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T23:20:14.082Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T23:20:14.082Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T23:20:14.082Z] Bash-1.0.6 [2022-11-08T23:20:14.082Z] [2022-11-08T23:20:14.082Z] [2022-11-08T23:20:14.082Z] ==> git version 2.25.1 found [2022-11-08T23:20:14.082Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-08T23:20:14.082Z] Release-Date: 2020-01-08 [2022-11-08T23:20:14.082Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T23:20:14.082Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T23:20:14.082Z] ==> Jenkins CI detected. [2022-11-08T23:20:14.082Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-204 [2022-11-08T23:20:14.082Z] project root: . [2022-11-08T23:20:14.082Z] --> token set from env [2022-11-08T23:20:14.082Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T23:20:14.082Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T23:20:14.082Z] ==> Python coveragepy not found [2022-11-08T23:20:14.082Z] ==> Searching for coverage reports in: [2022-11-08T23:20:14.082Z] + . [2022-11-08T23:20:14.082Z] -> Found 1 reports [2022-11-08T23:20:14.082Z] ==> Detecting git/mercurial file structure [2022-11-08T23:20:14.082Z] ==> Reading reports [2022-11-08T23:20:14.082Z] + ./coverage.out bytes=7631 [2022-11-08T23:20:14.082Z] ==> Appending adjustments [2022-11-08T23:20:14.082Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T23:20:14.340Z] + Found adjustments [2022-11-08T23:20:14.340Z] ==> Gzipping contents [2022-11-08T23:20:14.340Z] 4.0K /tmp/codecov.NOU5KS.gz [2022-11-08T23:20:14.340Z] ==> Uploading reports [2022-11-08T23:20:14.340Z] url: https://codecov.io [2022-11-08T23:20:14.340Z] query: branch=PR-204&commit=32c17f25423055b5469d16a308272506ca5a799e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-11-08T23:20:14.340Z] -> Pinging Codecov [2022-11-08T23:20:14.340Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-204&commit=32c17f25423055b5469d16a308272506ca5a799e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-11-08T23:20:14.598Z] -> Uploading to [2022-11-08T23:20:14.598Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/6C56EA5C29638FB4528AC87E60AF5AE0/32c17f25423055b5469d16a308272506ca5a799e/8cdb6de1-d2ed-43d9-9e36-ac6f3633e4e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T232014Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e04859823a611ce2b3602a52cc7a30cbaa63de507834e50f204f0351323c923b [2022-11-08T23:20:14.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:20:14.598Z] Dload Upload Total Spent Left Speed [2022-11-08T23:20:15.115Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6767 --:--:-- --:--:-- --:--:-- 6737 100 1543 0 0 100 1543 0 5452 --:--:-- --:--:-- --:--:-- 5433 [2022-11-08T23:20:15.115Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/32c17f25423055b5469d16a308272506ca5a799e [Pipeline] } [2022-11-08T23:20:15.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-08T23:20:16.892Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-204/archives ] [2022-11-08T23:20:16.893Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-204/archives [2022-11-08T23:20:16.893Z] total 16 [2022-11-08T23:20:16.893Z] drwxr-xr-x 3 root root 4096 Nov 8 23:10 . [2022-11-08T23:20:16.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:10 .. [2022-11-08T23:20:16.893Z] drwxr-xr-x 2 root root 4096 Nov 8 23:10 cost [2022-11-08T23:20:16.893Z] -rw-r--r-- 1 root root 86 Nov 8 23:10 cost.csv [2022-11-08T23:20:16.893Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-204/archives [2022-11-08T23:20:16.893Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-204/archives [2022-11-08T23:20:16.893Z] total 16 [2022-11-08T23:20:16.893Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:10 . [2022-11-08T23:20:16.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:10 .. [2022-11-08T23:20:16.893Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:10 cost [2022-11-08T23:20:16.893Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:17.227Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:18.116Z] ---> package-listing.sh [2022-11-08T23:20:18.116Z] ++ facter osfamily [2022-11-08T23:20:18.116Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T23:20:18.375Z] + OS_FAMILY=debian [2022-11-08T23:20:18.376Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-204 [2022-11-08T23:20:18.376Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T23:20:18.376Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T23:20:18.376Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T23:20:18.376Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T23:20:18.376Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-204 ']' [2022-11-08T23:20:18.376Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T23:20:18.376Z] + case "${OS_FAMILY}" in [2022-11-08T23:20:18.376Z] + dpkg -l [2022-11-08T23:20:18.376Z] + grep '^ii' [2022-11-08T23:20:18.376Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T23:20:18.376Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T23:20:18.376Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T23:20:18.376Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-204 ']' [2022-11-08T23:20:18.376Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-204/archives/ [2022-11-08T23:20:18.376Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-204/archives/ [Pipeline] echo [2022-11-08T23:20:18.409Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T23:20:18.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:19.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:20:19.331Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:20:19.477Z] prd-ubuntu20.04-docker-8c-8g-118676 does not seem to be running inside a container [2022-11-08T23:20:19.510Z] $ 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-204/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-204 -v /w/workspace/gexfoundry_device-snmp-go_PR-204:/w/workspace/gexfoundry_device-snmp-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:20:19.713Z] $ docker top e94da02615375a8bc4e940fc95bcbf2f3a44445de7da8578a92861f2de9f16eb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:20:20.095Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T23:20:20.400Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T23:20:20.706Z] + ls /var/log/sa-host [2022-11-08T23:20:20.706Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:20:20.840Z] provisioning config files... [2022-11-08T23:20:20.850Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-204@tmp/config5247726069871822620tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:20:20.900Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:21.215Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T23:20:21.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:21.638Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T23:20:21.669Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:21.981Z] ---> sudo-logs.sh [2022-11-08T23:20:21.981Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T23:20:22.067Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:22.375Z] ---> job-cost.sh [2022-11-08T23:20:22.375Z] lf-activate-venv: SKIPPING [2022-11-08T23:20:22.375Z] DEBUG: total: 0.2199999988079071 [2022-11-08T23:20:22.375Z] INFO: Retrieving Stack Cost... [2022-11-08T23:20:22.941Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:20:23.200Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T23:20:23.236Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:23.546Z] ---> logs-deploy.sh [2022-11-08T23:20:23.546Z] lf-activate-venv: SKIPPING [2022-11-08T23:20:23.546Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-204/1 [2022-11-08T23:20:23.546Z] INFO: archiving workspace using pattern(s): [2022-11-08T23:20:24.480Z] Archives upload complete. [2022-11-08T23:20:24.480Z] INFO: archiving logs to Nexus