Pull request #207 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3aac130de74ae3e4001c80fe97d09512d3f436a3+d1c7c2ea98aab23790d51b6eaeef7bb46474233e (258320b267d98a98ca8ddadece41286ded0cca0e) 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-ssh16617852039386510477.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1498077605560145600.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-207/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-207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8495567838548989056.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9837208431855547125.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh940242534967405479.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-207/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-207/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2171357390097361819.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1424’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1426 in /w/workspace/gexfoundry_device-snmp-go_PR-207 [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-207 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d1c7c2ea98aab23790d51b6eaeef7bb46474233e into PR head commit 3aac130de74ae3e4001c80fe97d09512d3f436a3 Merge succeeded, producing 3aac130de74ae3e4001c80fe97d09512d3f436a3 Checking out Revision 3aac130de74ae3e4001c80fe97d09512d3f436a3 (PR-207) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-09T05:03:56.782Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-09T05:03:56.969Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T05:03:57.068Z] ========================================================= [2023-01-09T05:03:57.068Z] EdgeX Global Pipelines Version Info [2023-01-09T05:03:57.068Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 3aac130de74ae3e4001c80fe97d09512d3f436a3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d1c7c2ea98aab23790d51b6eaeef7bb46474233e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3aac130de74ae3e4001c80fe97d09512d3f436a3 # timeout=10 [2023-01-09T05:03:57.805Z] ------------------- [2023-01-09T05:03:57.805Z] stable info: [2023-01-09T05:03:57.805Z] ------------------- [2023-01-09T05:03:57.805Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T05:03:57.805Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T05:03:57.805Z] Message: update stable to v1.0.244 [2023-01-09T05:03:58.378Z] ------------------- [2023-01-09T05:03:58.378Z] experimental info: [2023-01-09T05:03:58.378Z] ------------------- [2023-01-09T05:03:58.378Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T05:03:58.378Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T05:03:58.378Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T05:03:58.648Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-09T05:03:58.691Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-09T05:03:58.733Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T05:03:58.775Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T05:03:58.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T05:03:58.857Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T05:03:58.900Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T05:03:58.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-09T05:03:58.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T05:03:59.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T05:03:59.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T05:03:59.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-09T05:03:59.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T05:03:59.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T05:03:59.221Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T05:03:59.261Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T05:03:59.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T05:03:59.340Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T05:03:59.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T05:03:59.417Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T05:03:59.464Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-09T05:03:59.502Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-09T05:03:59.536Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T05:03:59.584Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T05:03:59.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T05:03:59.674Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T05:03:59.719Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T05:03:59.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-207 [Pipeline] echo [2023-01-09T05:03:59.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-207 [Pipeline] echo [2023-01-09T05:03:59.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-207 [Pipeline] echo [2023-01-09T05:03:59.875Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3aac130de74ae3e4001c80fe97d09512d3f436a3 [Pipeline] echo [2023-01-09T05:03:59.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3aac130 [Pipeline] echo [2023-01-09T05:03:59.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T05:04:00.072Z] provisioning config files... [2023-01-09T05:04:00.087Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/config11730883381683039904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:04:00.431Z] ---> docker-login.sh [2023-01-09T05:04:00.431Z] nexus3.edgexfoundry.org:10001 [2023-01-09T05:04:00.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:00.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:00.692Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:00.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:00.692Z] [2023-01-09T05:04:00.692Z] Login Succeeded [2023-01-09T05:04:00.692Z] nexus3.edgexfoundry.org:10002 [2023-01-09T05:04:00.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:00.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:00.952Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:00.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:00.952Z] [2023-01-09T05:04:00.952Z] Login Succeeded [2023-01-09T05:04:00.952Z] nexus3.edgexfoundry.org:10003 [2023-01-09T05:04:00.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:00.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:00.952Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:00.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:00.952Z] [2023-01-09T05:04:00.952Z] Login Succeeded [2023-01-09T05:04:00.952Z] nexus3.edgexfoundry.org:10004 [2023-01-09T05:04:00.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:01.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:01.213Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:01.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:01.213Z] [2023-01-09T05:04:01.213Z] Login Succeeded [2023-01-09T05:04:01.213Z] docker.io [2023-01-09T05:04:01.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:01.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:01.474Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:01.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:01.474Z] [2023-01-09T05:04:01.474Z] Login Succeeded [2023-01-09T05:04:01.474Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T05:04:01.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T05:04:02.103Z] + git rev-list -1 --merges 3aac130de74ae3e4001c80fe97d09512d3f436a3~1..3aac130de74ae3e4001c80fe97d09512d3f436a3 [Pipeline] echo [2023-01-09T05:04:02.173Z] -----------> git rev-list -1 --merges 3aac130de74ae3e4001c80fe97d09512d3f436a3~1..3aac130de74ae3e4001c80fe97d09512d3f436a3 3aac130de74ae3e4001c80fe97d09512d3f436a3 [false] [Pipeline] sh [2023-01-09T05:04:02.486Z] + git log --format=format:%s -1 3aac130de74ae3e4001c80fe97d09512d3f436a3 [Pipeline] echo [2023-01-09T05:04:02.526Z] ========================================================= [2023-01-09T05:04:02.526Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T05:04:02.526Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T05:04:02.960Z] + git log --format=format:%s -1 3aac130de74ae3e4001c80fe97d09512d3f436a3 [Pipeline] echo [2023-01-09T05:04:02.992Z] [semverPrep] GIT_COMMIT: 3aac130de74ae3e4001c80fe97d09512d3f436a3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-09T05:04:03.022Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T05:04:03.395Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T05:04:03.395Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T05:04:03.395Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T05:04:03.395Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T05:04:03.395Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T05:04:03.395Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T05:04:03.395Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:04:03.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T05:04:03.820Z] [2023-01-09T05:04:03.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:04:04.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T05:04:04.194Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T05:04:04.194Z] b85a868b505f: Pulling fs layer [2023-01-09T05:04:04.194Z] e2be974225ed: Pulling fs layer [2023-01-09T05:04:04.194Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T05:04:04.194Z] 988bab9f4d93: Pulling fs layer [2023-01-09T05:04:04.194Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T05:04:04.194Z] eaf3925da568: Pulling fs layer [2023-01-09T05:04:04.194Z] bab4dde63d76: Pulling fs layer [2023-01-09T05:04:04.194Z] bde34c3a00c8: Pulling fs layer [2023-01-09T05:04:04.194Z] b352a97aabf1: Pulling fs layer [2023-01-09T05:04:04.194Z] 4872d77fe225: Pulling fs layer [2023-01-09T05:04:04.194Z] 5851b861e8e6: Pulling fs layer [2023-01-09T05:04:04.194Z] bab4dde63d76: Waiting [2023-01-09T05:04:04.194Z] bde34c3a00c8: Waiting [2023-01-09T05:04:04.194Z] b352a97aabf1: Waiting [2023-01-09T05:04:04.194Z] 4872d77fe225: Waiting [2023-01-09T05:04:04.194Z] 5851b861e8e6: Waiting [2023-01-09T05:04:04.194Z] 1469e6f7b9e6: Waiting [2023-01-09T05:04:04.194Z] eaf3925da568: Waiting [2023-01-09T05:04:04.194Z] e2be974225ed: Download complete [2023-01-09T05:04:04.194Z] 988bab9f4d93: Verifying Checksum [2023-01-09T05:04:04.194Z] 988bab9f4d93: Download complete [2023-01-09T05:04:04.455Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T05:04:04.455Z] 1469e6f7b9e6: Download complete [2023-01-09T05:04:04.455Z] eaf3925da568: Verifying Checksum [2023-01-09T05:04:04.455Z] eaf3925da568: Download complete [2023-01-09T05:04:04.455Z] 339a4e72a1f5: Download complete [2023-01-09T05:04:04.455Z] bde34c3a00c8: Verifying Checksum [2023-01-09T05:04:04.455Z] bde34c3a00c8: Download complete [2023-01-09T05:04:04.455Z] b352a97aabf1: Verifying Checksum [2023-01-09T05:04:04.455Z] b352a97aabf1: Download complete [2023-01-09T05:04:04.455Z] 4872d77fe225: Verifying Checksum [2023-01-09T05:04:04.455Z] 4872d77fe225: Download complete [2023-01-09T05:04:04.455Z] 5851b861e8e6: Verifying Checksum [2023-01-09T05:04:04.455Z] b85a868b505f: Verifying Checksum [2023-01-09T05:04:04.455Z] b85a868b505f: Download complete [2023-01-09T05:04:04.715Z] bab4dde63d76: Verifying Checksum [2023-01-09T05:04:04.715Z] bab4dde63d76: Download complete [2023-01-09T05:04:05.653Z] b85a868b505f: Pull complete [2023-01-09T05:04:05.914Z] e2be974225ed: Pull complete [2023-01-09T05:04:06.483Z] 339a4e72a1f5: Pull complete [2023-01-09T05:04:06.483Z] 988bab9f4d93: Pull complete [2023-01-09T05:04:06.741Z] 1469e6f7b9e6: Pull complete [2023-01-09T05:04:07.000Z] eaf3925da568: Pull complete [2023-01-09T05:04:08.952Z] bab4dde63d76: Pull complete [2023-01-09T05:04:08.952Z] bde34c3a00c8: Pull complete [2023-01-09T05:04:08.952Z] b352a97aabf1: Pull complete [2023-01-09T05:04:08.952Z] 4872d77fe225: Pull complete [2023-01-09T05:04:08.952Z] 5851b861e8e6: Pull complete [2023-01-09T05:04:08.952Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T05:04:08.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T05:04:08.952Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:04:09.170Z] prd-ubuntu20.04-docker-8c-8g-1426 does not seem to be running inside a container [2023-01-09T05:04:09.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-207 -v /w/workspace/gexfoundry_device-snmp-go_PR-207:/w/workspace/gexfoundry_device-snmp-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T05:04:12.065Z] $ docker top e030708bba55514289d9813a61578435f5fe1bbf6d44c4cbcb63f17f128ecdd1 -eo pid,comm [2023-01-09T05:04:12.121Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-09T05:04:12.121Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T05:04:12.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T05:04:12.249Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T05:04:12.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T05:04:12.378Z] $ docker exec e030708bba55514289d9813a61578435f5fe1bbf6d44c4cbcb63f17f128ecdd1 ssh-agent [2023-01-09T05:04:12.487Z] SSH_AUTH_SOCK=/tmp/ssh-58e8Y6LiSYxr/agent.32 [2023-01-09T05:04:12.487Z] SSH_AGENT_PID=38 [2023-01-09T05:04:12.493Z] Running ssh-add (command line suppressed) [2023-01-09T05:04:12.596Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/private_key_9666024052298371849.key (/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/private_key_9666024052298371849.key) [2023-01-09T05:04:12.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T05:04:12.931Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T05:04:12.960Z] $ docker exec --env ******** --env ******** e030708bba55514289d9813a61578435f5fe1bbf6d44c4cbcb63f17f128ecdd1 ssh-agent -k [2023-01-09T05:04:13.064Z] unset SSH_AUTH_SOCK; [2023-01-09T05:04:13.065Z] unset SSH_AGENT_PID; [2023-01-09T05:04:13.065Z] echo Agent pid 38 killed; [2023-01-09T05:04:13.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T05:04:13.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T05:04:13.161Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T05:04:13.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T05:04:13.291Z] $ docker exec e030708bba55514289d9813a61578435f5fe1bbf6d44c4cbcb63f17f128ecdd1 ssh-agent [2023-01-09T05:04:13.394Z] SSH_AUTH_SOCK=/tmp/ssh-L2gvIEhLmzwF/agent.70 [2023-01-09T05:04:13.394Z] SSH_AGENT_PID=76 [2023-01-09T05:04:13.399Z] Running ssh-add (command line suppressed) [2023-01-09T05:04:13.510Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/private_key_7683248184811014700.key (/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/private_key_7683248184811014700.key) [2023-01-09T05:04:13.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T05:04:13.848Z] + git semver init [2023-01-09T05:04:14.108Z] 2023-01-09 05:04:14,019 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T05:04:14.108Z] 2023-01-09 05:04:14,019 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-207/.semver [2023-01-09T05:04:14.108Z] 2023-01-09 05:04:14,020 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-207/.semver [2023-01-09T05:04:14.108Z] 2023-01-09 05:04:14,020 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-207/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-207, universal_newlines=False, shell=None, istream=None) [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,815 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-207/.git/info/exclude [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,815 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-207/.semver/PR-207 with force:False [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,816 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-207/.semver/PR-207 [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,820 [execute] INFO git cat-file --batch-check [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-207/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,826 [execute] INFO git cat-file --batch [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-207/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T05:04:15.048Z] 2023-01-09 05:04:14,830 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-207/.semver/PR-207 [2023-01-09T05:04:15.048Z] 0.0.0 [Pipeline] } [2023-01-09T05:04:15.074Z] $ docker exec --env ******** --env ******** e030708bba55514289d9813a61578435f5fe1bbf6d44c4cbcb63f17f128ecdd1 ssh-agent -k [2023-01-09T05:04:15.174Z] unset SSH_AUTH_SOCK; [2023-01-09T05:04:15.174Z] unset SSH_AGENT_PID; [2023-01-09T05:04:15.174Z] echo Agent pid 76 killed; [2023-01-09T05:04:15.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T05:04:15.608Z] + git semver [Pipeline] } [2023-01-09T05:04:15.894Z] $ docker stop --time=1 e030708bba55514289d9813a61578435f5fe1bbf6d44c4cbcb63f17f128ecdd1 [2023-01-09T05:04:17.209Z] $ docker rm -f --volumes e030708bba55514289d9813a61578435f5fe1bbf6d44c4cbcb63f17f128ecdd1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T05:04:17.608Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T05:04:17.871Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T05:04:17.887Z] [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 [2023-01-09T05:04:18.465Z] provisioning config files... [2023-01-09T05:04:18.473Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/config15689170273459505560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:04:18.820Z] ---> docker-login.sh [2023-01-09T05:04:18.820Z] nexus3.edgexfoundry.org:10001 [2023-01-09T05:04:18.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:18.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:18.820Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:18.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:18.820Z] [2023-01-09T05:04:18.820Z] Login Succeeded [2023-01-09T05:04:18.820Z] nexus3.edgexfoundry.org:10002 [2023-01-09T05:04:18.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:18.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:18.820Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:18.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:18.820Z] [2023-01-09T05:04:18.820Z] Login Succeeded [2023-01-09T05:04:18.820Z] nexus3.edgexfoundry.org:10003 [2023-01-09T05:04:19.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:19.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:19.088Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:19.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:19.088Z] [2023-01-09T05:04:19.088Z] Login Succeeded [2023-01-09T05:04:19.088Z] nexus3.edgexfoundry.org:10004 [2023-01-09T05:04:19.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:19.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:19.088Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:19.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:19.088Z] [2023-01-09T05:04:19.088Z] Login Succeeded [2023-01-09T05:04:19.088Z] docker.io [2023-01-09T05:04:19.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:19.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:19.347Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:19.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:19.347Z] [2023-01-09T05:04:19.347Z] Login Succeeded [2023-01-09T05:04:19.347Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T05:04:19.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T05:04:19.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:04:19.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:04:19.640Z] ========================================================= [2023-01-09T05:04:19.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T05:04:19.640Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:04:20.113Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T05:04:20.113Z] Sending build context to Docker daemon 5.624MB [2023-01-09T05:04:20.113Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:04:20.113Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-09T05:04:20.113Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T05:04:20.113Z] 213ec9aee27d: Pulling fs layer [2023-01-09T05:04:20.113Z] 4583459ba037: Pulling fs layer [2023-01-09T05:04:20.113Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T05:04:20.113Z] 53926ce57604: Pulling fs layer [2023-01-09T05:04:20.113Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T05:04:20.113Z] 22ff95d597cd: Pulling fs layer [2023-01-09T05:04:20.113Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T05:04:20.113Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T05:04:20.113Z] a7acece74701: Pulling fs layer [2023-01-09T05:04:20.113Z] 22ff95d597cd: Waiting [2023-01-09T05:04:20.113Z] 12d6caf4c0d1: Waiting [2023-01-09T05:04:20.113Z] 53926ce57604: Waiting [2023-01-09T05:04:20.113Z] 21b2b0c7a3f4: Waiting [2023-01-09T05:04:20.113Z] 96b7cbca73a9: Waiting [2023-01-09T05:04:20.113Z] a7acece74701: Waiting [2023-01-09T05:04:20.113Z] 93c1e223e6f2: Download complete [2023-01-09T05:04:20.113Z] 4583459ba037: Verifying Checksum [2023-01-09T05:04:20.113Z] 4583459ba037: Download complete [2023-01-09T05:04:20.113Z] 21b2b0c7a3f4: Download complete [2023-01-09T05:04:20.113Z] 22ff95d597cd: Verifying Checksum [2023-01-09T05:04:20.113Z] 22ff95d597cd: Download complete [2023-01-09T05:04:20.391Z] 213ec9aee27d: Verifying Checksum [2023-01-09T05:04:20.391Z] 213ec9aee27d: Download complete [2023-01-09T05:04:20.391Z] 12d6caf4c0d1: Download complete [2023-01-09T05:04:20.391Z] 213ec9aee27d: Pull complete [2023-01-09T05:04:20.653Z] 4583459ba037: Pull complete [2023-01-09T05:04:20.653Z] 93c1e223e6f2: Pull complete [2023-01-09T05:04:20.920Z] a7acece74701: Verifying Checksum [2023-01-09T05:04:20.920Z] a7acece74701: Download complete [2023-01-09T05:04:20.920Z] 96b7cbca73a9: Download complete [2023-01-09T05:04:21.183Z] 53926ce57604: Verifying Checksum [2023-01-09T05:04:21.183Z] 53926ce57604: Download complete [2023-01-09T05:04:25.363Z] 53926ce57604: Pull complete [2023-01-09T05:04:25.363Z] 21b2b0c7a3f4: Pull complete [2023-01-09T05:04:25.363Z] 22ff95d597cd: Pull complete [2023-01-09T05:04:25.363Z] 12d6caf4c0d1: Pull complete [2023-01-09T05:04:27.262Z] 96b7cbca73a9: Pull complete [2023-01-09T05:04:27.520Z] a7acece74701: Pull complete [2023-01-09T05:04:27.520Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T05:04:27.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T05:04:27.779Z] ---> db6d94c90886 [2023-01-09T05:04:27.779Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:04:33.141Z] ---> Running in 4b89c6fd68d3 [2023-01-09T05:04:33.141Z] Removing intermediate container 4b89c6fd68d3 [2023-01-09T05:04:33.141Z] ---> 17c5b403ccee [2023-01-09T05:04:33.141Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:04:33.141Z] ---> Running in 58707ff76c0c [2023-01-09T05:04:33.141Z] Removing intermediate container 58707ff76c0c [2023-01-09T05:04:33.141Z] ---> 2d1cacc8baf9 [2023-01-09T05:04:33.141Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T05:04:33.141Z] ---> Running in fb54aecc7f3d [2023-01-09T05:04:33.141Z] Removing intermediate container fb54aecc7f3d [2023-01-09T05:04:33.141Z] ---> 8faacfb79fa0 [2023-01-09T05:04:33.141Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T05:04:33.141Z] ---> Running in 163fa1b9b0b3 [2023-01-09T05:04:33.141Z] Removing intermediate container 163fa1b9b0b3 [2023-01-09T05:04:33.141Z] ---> b89446863522 [2023-01-09T05:04:33.141Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T05:04:33.141Z] ---> Running in cf994672e2b1 [2023-01-09T05:04:33.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T05:04:33.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T05:04:33.289Z] Still waiting to schedule task [2023-01-09T05:04:33.289Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1425’ [2023-01-09T05:04:33.400Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-09T05:04:33.400Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-09T05:04:33.400Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-09T05:04:33.400Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-09T05:04:33.400Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T05:04:33.400Z] OK: 216 MiB in 55 packages [2023-01-09T05:04:33.967Z] Removing intermediate container cf994672e2b1 [2023-01-09T05:04:33.967Z] ---> a0f28c5e4d99 [2023-01-09T05:04:33.967Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-09T05:04:33.967Z] ---> Running in ef4c8ffd88c4 [2023-01-09T05:04:33.967Z] Removing intermediate container ef4c8ffd88c4 [2023-01-09T05:04:33.967Z] ---> 0583180ec8ca [2023-01-09T05:04:33.967Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-09T05:04:33.967Z] ---> 484e8c5f3459 [2023-01-09T05:04:33.967Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:04:34.227Z] ---> Running in 9957e019729a [2023-01-09T05:05:00.845Z] Removing intermediate container 9957e019729a [2023-01-09T05:05:00.845Z] ---> 1a48e7ab1403 [2023-01-09T05:05:00.845Z] Step 11/12 : COPY . . [2023-01-09T05:05:00.845Z] ---> 35a3ead1c161 [2023-01-09T05:05:00.845Z] Step 12/12 : RUN ${MAKE} [2023-01-09T05:05:00.845Z] ---> Running in 4e1bc726a9b3 [2023-01-09T05:05:00.845Z] noop [2023-01-09T05:05:00.845Z] Removing intermediate container 4e1bc726a9b3 [2023-01-09T05:05:00.845Z] ---> 1e760cf368f8 [2023-01-09T05:05:00.845Z] Successfully built 1e760cf368f8 [2023-01-09T05:05:00.845Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:05:01.281Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T05:05:01.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:05:01.431Z] prd-ubuntu20.04-docker-8c-8g-1426 does not seem to be running inside a container [2023-01-09T05:05:01.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-207 -v /w/workspace/gexfoundry_device-snmp-go_PR-207:/w/workspace/gexfoundry_device-snmp-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T05:05:01.778Z] $ docker top 4d9ca365897a917361e2387c31f73f6d235489726a15e337d386390ffa19ca8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:05:02.175Z] + go version [2023-01-09T05:05:02.175Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T05:05:02.212Z] $ docker stop --time=1 4d9ca365897a917361e2387c31f73f6d235489726a15e337d386390ffa19ca8e [2023-01-09T05:05:03.492Z] $ docker rm -f --volumes 4d9ca365897a917361e2387c31f73f6d235489726a15e337d386390ffa19ca8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:05:04.238Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T05:05:04.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:05:04.404Z] prd-ubuntu20.04-docker-8c-8g-1426 does not seem to be running inside a container [2023-01-09T05:05:04.435Z] $ 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-207 -v /w/workspace/gexfoundry_device-snmp-go_PR-207:/w/workspace/gexfoundry_device-snmp-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T05:05:04.764Z] $ docker top 894914d456620f219e4408e09a3575bb9483ae9b50d4655b1c2fe01a725d263f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:05:05.145Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-207 [Pipeline] fileExists [Pipeline] sh [2023-01-09T05:05:05.500Z] + make test [2023-01-09T05:05:05.500Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-09T05:05:05.759Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-09T05:05:15.725Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-09T05:05:15.725Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.024s coverage: 0.0% of statements [2023-01-09T05:05:20.998Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-09T05:05:20.998Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T05:05:24.281Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T05:05:24.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T05:05:24.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T05:05:24.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T05:05:24.348Z] $ docker stop --time=1 894914d456620f219e4408e09a3575bb9483ae9b50d4655b1c2fe01a725d263f [2023-01-09T05:05:26.775Z] $ docker rm -f --volumes 894914d456620f219e4408e09a3575bb9483ae9b50d4655b1c2fe01a725d263f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T05:05:27.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T05:05:27.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T05:05:27.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T05:05:28.253Z] + ls -al . [2023-01-09T05:05:28.253Z] total 180 [2023-01-09T05:05:28.253Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 05:05 . [2023-01-09T05:05:28.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:03 .. [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 9 05:03 .dockerignore [2023-01-09T05:05:28.253Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 05:05 .git [2023-01-09T05:05:28.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:03 .github [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 9 05:03 .gitignore [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 05:03 .golangci.yml [2023-01-09T05:05:28.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 05:04 .semver [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 8932 Jan 9 05:03 Attribution.txt [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 9 05:03 CHANGELOG.md [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 1486 Jan 9 05:03 Dockerfile [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 05:03 GOVERNANCE.md [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 9 05:03 Jenkinsfile [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 05:03 LICENSE [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 2543 Jan 9 05:03 Makefile [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 9 05:03 OWNERS.md [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 9 05:03 README.md [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 05:04 VERSION [2023-01-09T05:05:28.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 05:03 bin [2023-01-09T05:05:28.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:03 cmd [2023-01-09T05:05:28.253Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 9 05:05 coverage.out [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 9 05:03 go.mod [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 9 05:03 go.sum [2023-01-09T05:05:28.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:03 internal [2023-01-09T05:05:28.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:03 snap [2023-01-09T05:05:28.253Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 9 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:05:28.643Z] + 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=3aac130de74ae3e4001c80fe97d09512d3f436a3 --label arch=amd64 --label version=0.0.0 . [2023-01-09T05:05:28.643Z] Sending build context to Docker daemon 5.632MB [2023-01-09T05:05:28.643Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:05:28.643Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-09T05:05:28.643Z] ---> 1e760cf368f8 [2023-01-09T05:05:28.643Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:05:28.902Z] ---> Running in bf179ccf326c [2023-01-09T05:05:28.902Z] Removing intermediate container bf179ccf326c [2023-01-09T05:05:28.902Z] ---> 5600c97708c1 [2023-01-09T05:05:28.902Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:05:28.902Z] ---> Running in bf175921aa53 [2023-01-09T05:05:28.902Z] Removing intermediate container bf175921aa53 [2023-01-09T05:05:28.902Z] ---> 5d1ea11f67db [2023-01-09T05:05:28.902Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T05:05:28.902Z] ---> Running in 401bb2fe830d [2023-01-09T05:05:29.161Z] Removing intermediate container 401bb2fe830d [2023-01-09T05:05:29.161Z] ---> 275fcf32bc6b [2023-01-09T05:05:29.161Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T05:05:29.161Z] ---> Running in 9634a7d27419 [2023-01-09T05:05:29.161Z] Removing intermediate container 9634a7d27419 [2023-01-09T05:05:29.161Z] ---> 25d3580ad3b8 [2023-01-09T05:05:29.161Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T05:05:29.161Z] ---> Running in 5649ad59052b [2023-01-09T05:05:29.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T05:05:29.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T05:05:29.936Z] OK: 216 MiB in 55 packages [2023-01-09T05:05:30.195Z] Removing intermediate container 5649ad59052b [2023-01-09T05:05:30.195Z] ---> 47fcc08b4565 [2023-01-09T05:05:30.195Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-09T05:05:30.195Z] ---> Running in 8cc37dce209d [2023-01-09T05:05:30.195Z] Removing intermediate container 8cc37dce209d [2023-01-09T05:05:30.195Z] ---> 3de5058a4dd4 [2023-01-09T05:05:30.195Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-09T05:05:30.455Z] ---> f15ca3fbed59 [2023-01-09T05:05:30.455Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:05:30.455Z] ---> Running in e981f72eb93a [2023-01-09T05:05:31.021Z] Removing intermediate container e981f72eb93a [2023-01-09T05:05:31.021Z] ---> c61780ad5f05 [2023-01-09T05:05:31.021Z] Step 11/24 : COPY . . [2023-01-09T05:05:31.590Z] ---> fbf78eff6b90 [2023-01-09T05:05:31.590Z] Step 12/24 : RUN ${MAKE} [2023-01-09T05:05:31.590Z] ---> Running in fdff952d78bf [2023-01-09T05:05:31.850Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.6 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2023-01-09T05:05:53.784Z] Removing intermediate container fdff952d78bf [2023-01-09T05:05:53.784Z] ---> 331b9730d68a [2023-01-09T05:05:53.784Z] Step 13/24 : FROM alpine:3.16 [2023-01-09T05:05:53.784Z] 3.16: Pulling from library/alpine [2023-01-09T05:05:54.042Z] ca7dd9ec2225: Pulling fs layer [2023-01-09T05:05:54.042Z] ca7dd9ec2225: Verifying Checksum [2023-01-09T05:05:54.042Z] ca7dd9ec2225: Download complete [2023-01-09T05:05:54.301Z] ca7dd9ec2225: Pull complete [2023-01-09T05:05:54.301Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T05:05:54.301Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T05:05:54.301Z] ---> bfe296a52501 [2023-01-09T05:05:54.301Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T05:05:54.562Z] ---> Running in 2ab42dc1a8f2 [2023-01-09T05:05:54.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T05:05:54.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T05:05:55.078Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T05:05:55.078Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T05:05:55.078Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T05:05:55.078Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T05:05:55.078Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T05:05:55.078Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T05:05:55.078Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T05:05:55.078Z] OK: 8 MiB in 20 packages [2023-01-09T05:05:55.644Z] Removing intermediate container 2ab42dc1a8f2 [2023-01-09T05:05:55.645Z] ---> cd2d9998b49b [2023-01-09T05:05:55.645Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-09T05:05:56.579Z] ---> a7ae6a382aea [2023-01-09T05:05:56.579Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-09T05:05:56.579Z] ---> 315e3dce0c9b [2023-01-09T05:05:56.579Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-09T05:05:56.579Z] ---> fe832a8e1115 [2023-01-09T05:05:56.579Z] Step 18/24 : EXPOSE 59993 [2023-01-09T05:05:56.579Z] ---> Running in a8cc916ac8f2 [2023-01-09T05:05:56.579Z] Removing intermediate container a8cc916ac8f2 [2023-01-09T05:05:56.579Z] ---> 8ce11ebfebb6 [2023-01-09T05:05:56.579Z] Step 19/24 : EXPOSE 161 [2023-01-09T05:05:56.579Z] ---> Running in 303964c38471 [2023-01-09T05:05:56.838Z] Removing intermediate container 303964c38471 [2023-01-09T05:05:56.838Z] ---> 69a99e8f0b55 [2023-01-09T05:05:56.838Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-09T05:05:56.838Z] ---> Running in 1a8fcbd0f416 [2023-01-09T05:05:56.838Z] Removing intermediate container 1a8fcbd0f416 [2023-01-09T05:05:56.838Z] ---> d52ba525e8c4 [2023-01-09T05:05:56.838Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2023-01-09T05:05:56.838Z] ---> Running in 7972a588eaf9 [2023-01-09T05:05:56.838Z] Removing intermediate container 7972a588eaf9 [2023-01-09T05:05:56.838Z] ---> ac1fb8e4e89a [2023-01-09T05:05:56.838Z] Step 22/24 : LABEL arch=amd64 [2023-01-09T05:05:56.838Z] ---> Running in 8bc3e98673cd [2023-01-09T05:05:57.097Z] Removing intermediate container 8bc3e98673cd [2023-01-09T05:05:57.097Z] ---> 4caa306ce7a5 [2023-01-09T05:05:57.098Z] Step 23/24 : LABEL git_sha=3aac130de74ae3e4001c80fe97d09512d3f436a3 [2023-01-09T05:05:57.098Z] ---> Running in c688b89d76bd [2023-01-09T05:05:57.098Z] Removing intermediate container c688b89d76bd [2023-01-09T05:05:57.098Z] ---> ec0a142559cd [2023-01-09T05:05:57.098Z] Step 24/24 : LABEL version=0.0.0 [2023-01-09T05:05:57.098Z] ---> Running in 0fe0b121765f [2023-01-09T05:05:57.098Z] Removing intermediate container 0fe0b121765f [2023-01-09T05:05:57.098Z] ---> 79da585e765b [2023-01-09T05:05:57.098Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T05:05:57.357Z] Successfully built 79da585e765b [2023-01-09T05:05:57.357Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:05:58.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:05:58.265Z] [2023-01-09T05:05:58.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:05:58.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:05:58.645Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T05:05:58.645Z] 5eb5b503b376: Pulling fs layer [2023-01-09T05:05:58.645Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T05:05:58.645Z] ec43610c2a17: Pulling fs layer [2023-01-09T05:05:58.645Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T05:05:58.645Z] 33b1e0a273af: Pulling fs layer [2023-01-09T05:05:58.645Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T05:05:58.645Z] 33b1e0a273af: Waiting [2023-01-09T05:05:58.645Z] 2f39f015ded8: Pulling fs layer [2023-01-09T05:05:58.645Z] 3a2ae6a8a46f: Waiting [2023-01-09T05:05:58.645Z] 2f39f015ded8: Waiting [2023-01-09T05:05:58.645Z] 5d3b04190fa2: Waiting [2023-01-09T05:05:58.645Z] 5c69ac0246d0: Download complete [2023-01-09T05:05:58.645Z] 3a2ae6a8a46f: Download complete [2023-01-09T05:05:58.645Z] 33b1e0a273af: Verifying Checksum [2023-01-09T05:05:58.645Z] 33b1e0a273af: Download complete [2023-01-09T05:05:58.645Z] ec43610c2a17: Verifying Checksum [2023-01-09T05:05:58.645Z] ec43610c2a17: Download complete [2023-01-09T05:05:58.905Z] 5d3b04190fa2: Download complete [2023-01-09T05:05:58.905Z] 5eb5b503b376: Verifying Checksum [2023-01-09T05:05:58.905Z] 5eb5b503b376: Download complete [2023-01-09T05:05:59.474Z] 2f39f015ded8: Download complete [2023-01-09T05:06:00.426Z] 5eb5b503b376: Pull complete [2023-01-09T05:06:00.426Z] 5c69ac0246d0: Pull complete [2023-01-09T05:06:00.993Z] ec43610c2a17: Pull complete [2023-01-09T05:06:00.993Z] 3a2ae6a8a46f: Pull complete [2023-01-09T05:06:01.251Z] 33b1e0a273af: Pull complete [2023-01-09T05:06:01.251Z] 5d3b04190fa2: Pull complete [2023-01-09T05:06:06.521Z] 2f39f015ded8: Pull complete [2023-01-09T05:06:06.521Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T05:06:06.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:06:06.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:06:06.730Z] prd-ubuntu20.04-docker-8c-8g-1426 does not seem to be running inside a container [2023-01-09T05:06:06.763Z] $ 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-207 -v /w/workspace/gexfoundry_device-snmp-go_PR-207:/w/workspace/gexfoundry_device-snmp-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T05:06:10.870Z] $ docker top 045575715cdc03eadd589413f8f45be4e9cac1282bdd2c387c13aa34803ad4d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:06:11.299Z] ---> job-cost.sh [2023-01-09T05:06:11.299Z] lf-activate-venv: SKIPPING [2023-01-09T05:06:11.299Z] INFO: No Stack... [2023-01-09T05:06:11.557Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T05:06:11.815Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T05:06:12.133Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-207/archives/cost.csv [2023-01-09T05:06:12.133Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T05:06:12.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] [2023-01-09T05:06:12.180Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] did not exist. Created. [2023-01-09T05:06:12.180Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T05:06:12.568Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T05:06:12.616Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T05:06:12.643Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T05:06:12.726Z] $ docker stop --time=1 045575715cdc03eadd589413f8f45be4e9cac1282bdd2c387c13aa34803ad4d1 [2023-01-09T05:06:13.874Z] $ docker rm -f --volumes 045575715cdc03eadd589413f8f45be4e9cac1282bdd2c387c13aa34803ad4d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-09T05:06:59.033Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1428 in /w/workspace/gexfoundry_device-snmp-go_PR-207 [Pipeline] { [Pipeline] ws [2023-01-09T05:06:59.086Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-01-09T05:06:59.164Z] Selected Git installation does not exist. Using Default [2023-01-09T05:06:59.164Z] The recommended git tool is: NONE [2023-01-09T05:07:06.856Z] using credential edgex-jenkins-ssh [2023-01-09T05:07:06.874Z] Cloning the remote Git repository [2023-01-09T05:07:06.912Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-09T05:07:06.991Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-01-09T05:07:07.171Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-09T05:07:07.172Z] > git --version # timeout=10 [2023-01-09T05:07:07.194Z] > git --version # 'git version 2.25.1' [2023-01-09T05:07:07.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T05:07:07.265Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T05:07:08.260Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-09T05:07:08.286Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T05:07:09.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-09T05:07:09.283Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-09T05:07:09.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T05:07:09.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T05:07:09.822Z] Merging remotes/origin/main commit d1c7c2ea98aab23790d51b6eaeef7bb46474233e into PR head commit 3aac130de74ae3e4001c80fe97d09512d3f436a3 [2023-01-09T05:07:10.048Z] Merge succeeded, producing 3aac130de74ae3e4001c80fe97d09512d3f436a3 [2023-01-09T05:07:10.048Z] Checking out Revision 3aac130de74ae3e4001c80fe97d09512d3f436a3 (PR-207) [2023-01-09T05:07:10.549Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-09T05:07:10.601Z] > git --version # timeout=10 [2023-01-09T05:07:10.613Z] > git --version # 'git version 2.25.1' [2023-01-09T05:07:10.625Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T05:07:09.836Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T05:07:09.855Z] > git checkout -f 3aac130de74ae3e4001c80fe97d09512d3f436a3 # timeout=10 [2023-01-09T05:07:09.939Z] > git remote # timeout=10 [2023-01-09T05:07:09.959Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T05:07:09.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T05:07:09.996Z] > git merge d1c7c2ea98aab23790d51b6eaeef7bb46474233e # timeout=10 [2023-01-09T05:07:10.025Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T05:07:10.049Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T05:07:10.066Z] > git checkout -f 3aac130de74ae3e4001c80fe97d09512d3f436a3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T05:07:11.840Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T05:07:11.841Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T05:07:11.841Z] Dload Upload Total Spent Left Speed [2023-01-09T05:07:11.841Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-01-09T05:07:12.434Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T05:07:12.784Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-09T05:07:12.785Z] + sudo tee /etc/docker/daemon.new [2023-01-09T05:07:12.785Z] { [2023-01-09T05:07:12.785Z] "registry-mirrors": [ [2023-01-09T05:07:12.785Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T05:07:12.785Z] ], [2023-01-09T05:07:12.785Z] "bip": "10.250.0.254/24", [2023-01-09T05:07:12.785Z] "hosts": [ [2023-01-09T05:07:12.785Z] "tcp://0.0.0.0:5555", [2023-01-09T05:07:12.785Z] "unix:///var/run/docker.sock" [2023-01-09T05:07:12.785Z] ], [2023-01-09T05:07:12.785Z] "mtu": 1458, [2023-01-09T05:07:12.785Z] "selinux-enabled": true, [2023-01-09T05:07:12.785Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T05:07:12.785Z] } [Pipeline] sh [2023-01-09T05:07:13.134Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T05:07:13.490Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T05:07:31.859Z] provisioning config files... [2023-01-09T05:07:31.892Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8237873338647484887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:07:32.294Z] ---> docker-login.sh [2023-01-09T05:07:32.294Z] nexus3.edgexfoundry.org:10001 [2023-01-09T05:07:32.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:07:33.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:07:33.155Z] Configure a credential helper to remove this warning. See [2023-01-09T05:07:33.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:07:33.155Z] [2023-01-09T05:07:33.155Z] Login Succeeded [2023-01-09T05:07:33.155Z] nexus3.edgexfoundry.org:10002 [2023-01-09T05:07:33.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:07:33.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:07:33.423Z] Configure a credential helper to remove this warning. See [2023-01-09T05:07:33.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:07:33.423Z] [2023-01-09T05:07:33.423Z] Login Succeeded [2023-01-09T05:07:33.423Z] nexus3.edgexfoundry.org:10003 [2023-01-09T05:07:33.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:07:33.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:07:33.693Z] Configure a credential helper to remove this warning. See [2023-01-09T05:07:33.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:07:33.693Z] [2023-01-09T05:07:33.693Z] Login Succeeded [2023-01-09T05:07:33.693Z] nexus3.edgexfoundry.org:10004 [2023-01-09T05:07:33.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:07:34.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:07:34.244Z] Configure a credential helper to remove this warning. See [2023-01-09T05:07:34.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:07:34.244Z] [2023-01-09T05:07:34.244Z] Login Succeeded [2023-01-09T05:07:34.244Z] docker.io [2023-01-09T05:07:34.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:07:34.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:07:34.786Z] Configure a credential helper to remove this warning. See [2023-01-09T05:07:34.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:07:34.786Z] [2023-01-09T05:07:34.786Z] Login Succeeded [2023-01-09T05:07:34.786Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T05:07:34.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T05:07:35.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:07:35.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:07:35.303Z] ========================================================= [2023-01-09T05:07:35.303Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T05:07:35.303Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:07:35.803Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T05:07:36.075Z] Sending build context to Docker daemon 2.91MB [2023-01-09T05:07:36.075Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:07:36.075Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-09T05:07:36.348Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T05:07:36.348Z] 9b18e9b68314: Pulling fs layer [2023-01-09T05:07:36.348Z] 35d82f9e3411: Pulling fs layer [2023-01-09T05:07:36.348Z] e16973657156: Pulling fs layer [2023-01-09T05:07:36.348Z] fc693d55d65f: Pulling fs layer [2023-01-09T05:07:36.348Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T05:07:36.348Z] dda99020689f: Pulling fs layer [2023-01-09T05:07:36.348Z] db1c61fa0a46: Pulling fs layer [2023-01-09T05:07:36.348Z] 891c053d2c06: Pulling fs layer [2023-01-09T05:07:36.348Z] fc693d55d65f: Waiting [2023-01-09T05:07:36.348Z] dda99020689f: Waiting [2023-01-09T05:07:36.348Z] 7e9fc2657dce: Waiting [2023-01-09T05:07:36.348Z] db1c61fa0a46: Waiting [2023-01-09T05:07:36.348Z] 891c053d2c06: Waiting [2023-01-09T05:07:36.348Z] e16973657156: Verifying Checksum [2023-01-09T05:07:36.348Z] e16973657156: Download complete [2023-01-09T05:07:36.348Z] 35d82f9e3411: Verifying Checksum [2023-01-09T05:07:36.348Z] 35d82f9e3411: Download complete [2023-01-09T05:07:36.348Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T05:07:36.348Z] 7e9fc2657dce: Download complete [2023-01-09T05:07:36.348Z] dda99020689f: Verifying Checksum [2023-01-09T05:07:36.348Z] dda99020689f: Download complete [2023-01-09T05:07:36.348Z] 9b18e9b68314: Verifying Checksum [2023-01-09T05:07:36.348Z] 9b18e9b68314: Download complete [2023-01-09T05:07:37.347Z] 9b18e9b68314: Pull complete [2023-01-09T05:07:37.626Z] 891c053d2c06: Verifying Checksum [2023-01-09T05:07:37.626Z] 891c053d2c06: Download complete [2023-01-09T05:07:37.896Z] 35d82f9e3411: Pull complete [2023-01-09T05:07:38.488Z] e16973657156: Pull complete [2023-01-09T05:07:38.759Z] db1c61fa0a46: Verifying Checksum [2023-01-09T05:07:38.759Z] db1c61fa0a46: Download complete [2023-01-09T05:07:39.728Z] fc693d55d65f: Verifying Checksum [2023-01-09T05:07:39.728Z] fc693d55d65f: Download complete [2023-01-09T05:07:52.087Z] fc693d55d65f: Pull complete [2023-01-09T05:07:52.087Z] 7e9fc2657dce: Pull complete [2023-01-09T05:07:52.087Z] dda99020689f: Pull complete [2023-01-09T05:07:58.762Z] db1c61fa0a46: Pull complete [2023-01-09T05:08:00.207Z] 891c053d2c06: Pull complete [2023-01-09T05:08:00.207Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T05:08:00.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T05:08:00.207Z] ---> f96f9c87975a [2023-01-09T05:08:00.207Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:08:00.805Z] ---> Running in 9a474b787e7e [2023-01-09T05:08:01.401Z] Removing intermediate container 9a474b787e7e [2023-01-09T05:08:01.401Z] ---> f1f5a21b6af0 [2023-01-09T05:08:01.401Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:08:01.401Z] ---> Running in 3d5874757ff0 [2023-01-09T05:08:01.686Z] Removing intermediate container 3d5874757ff0 [2023-01-09T05:08:01.686Z] ---> de37e32fc6f5 [2023-01-09T05:08:01.686Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T05:08:01.686Z] ---> Running in c1e0194a954e [2023-01-09T05:08:01.960Z] Removing intermediate container c1e0194a954e [2023-01-09T05:08:01.960Z] ---> 50678ebb6ff5 [2023-01-09T05:08:01.960Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T05:08:02.231Z] ---> Running in 3d964428df11 [2023-01-09T05:08:02.578Z] Removing intermediate container 3d964428df11 [2023-01-09T05:08:02.578Z] ---> 9526effa575e [2023-01-09T05:08:02.578Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T05:08:02.578Z] ---> Running in a1c7ce4edbea [2023-01-09T05:08:04.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T05:08:04.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T05:08:05.009Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-09T05:08:05.009Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-09T05:08:05.009Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-09T05:08:05.280Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-09T05:08:05.280Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T05:08:05.280Z] OK: 226 MiB in 55 packages [2023-01-09T05:08:06.699Z] Removing intermediate container a1c7ce4edbea [2023-01-09T05:08:06.699Z] ---> 74e1cc5fd104 [2023-01-09T05:08:06.699Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-09T05:08:06.699Z] ---> Running in 1bff457c16f9 [2023-01-09T05:08:06.969Z] Removing intermediate container 1bff457c16f9 [2023-01-09T05:08:06.969Z] ---> d6f534b48552 [2023-01-09T05:08:06.969Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-09T05:08:07.553Z] ---> c4054e3c9126 [2023-01-09T05:08:07.553Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:08:07.553Z] ---> Running in b63f641be950 [2023-01-09T05:09:03.967Z] Removing intermediate container b63f641be950 [2023-01-09T05:09:03.967Z] ---> 0c00f0910f3b [2023-01-09T05:09:03.967Z] Step 11/12 : COPY . . [2023-01-09T05:09:04.553Z] ---> 982992870a21 [2023-01-09T05:09:04.553Z] Step 12/12 : RUN ${MAKE} [2023-01-09T05:09:04.553Z] ---> Running in 1d3c2ee62daa [2023-01-09T05:09:05.515Z] noop [2023-01-09T05:09:06.105Z] Removing intermediate container 1d3c2ee62daa [2023-01-09T05:09:06.105Z] ---> aa39afeda991 [2023-01-09T05:09:06.105Z] Successfully built aa39afeda991 [2023-01-09T05:09:06.105Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:09:06.858Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T05:09:06.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:09:07.148Z] prd-ubuntu20.04-docker-arm64-4c-16g-1428 does not seem to be running inside a container [2023-01-09T05:09:07.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-09T05:09:08.543Z] $ docker top 883e629977862f2d830ffe3c687f3fc1405c316a6ee1a5335130b23856f2bea7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:09:09.454Z] + go version [2023-01-09T05:09:09.454Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T05:09:09.490Z] $ docker stop --time=1 883e629977862f2d830ffe3c687f3fc1405c316a6ee1a5335130b23856f2bea7 [2023-01-09T05:09:11.167Z] $ docker rm -f --volumes 883e629977862f2d830ffe3c687f3fc1405c316a6ee1a5335130b23856f2bea7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:09:12.040Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T05:09:12.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:09:12.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-1428 does not seem to be running inside a container [2023-01-09T05:09:12.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-09T05:09:13.656Z] $ docker top 89fd9e25bfaba388d2f84f164073697b704b413a765f253f6c45e35bdd5b4b6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:09:14.567Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-09T05:09:15.289Z] + make test [2023-01-09T05:09:15.289Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-09T05:09:16.706Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-09T05:10:38.411Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-09T05:10:38.411Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2023-01-09T05:10:38.411Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T05:10:38.411Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T05:11:00.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T05:11:00.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T05:11:00.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T05:11:00.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T05:11:00.593Z] $ docker stop --time=1 89fd9e25bfaba388d2f84f164073697b704b413a765f253f6c45e35bdd5b4b6e [2023-01-09T05:11:02.405Z] $ docker rm -f --volumes 89fd9e25bfaba388d2f84f164073697b704b413a765f253f6c45e35bdd5b4b6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T05:11:03.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T05:11:03.416Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T05:11:03.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T05:11:04.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T05:11:04.789Z] + ls -al . [2023-01-09T05:11:04.789Z] total 176 [2023-01-09T05:11:04.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 05:09 . [2023-01-09T05:11:04.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:07 .. [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 9 05:07 .dockerignore [2023-01-09T05:11:04.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 05:07 .git [2023-01-09T05:11:04.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:07 .github [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 9 05:07 .gitignore [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 05:07 .golangci.yml [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 8932 Jan 9 05:07 Attribution.txt [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 9 05:07 CHANGELOG.md [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 1486 Jan 9 05:07 Dockerfile [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 05:07 GOVERNANCE.md [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 9 05:07 Jenkinsfile [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 05:07 LICENSE [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 2543 Jan 9 05:07 Makefile [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 9 05:07 OWNERS.md [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 9 05:07 README.md [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 05:04 VERSION [2023-01-09T05:11:04.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 05:07 bin [2023-01-09T05:11:04.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:07 cmd [2023-01-09T05:11:04.789Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 9 05:10 coverage.out [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 9 05:07 go.mod [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 9 05:07 go.sum [2023-01-09T05:11:04.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:07 internal [2023-01-09T05:11:04.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:07 snap [2023-01-09T05:11:04.789Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 9 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:11:05.202Z] + 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=3aac130de74ae3e4001c80fe97d09512d3f436a3 --label arch=arm64 --label version=0.0.0 . [2023-01-09T05:11:05.471Z] Sending build context to Docker daemon 2.918MB [2023-01-09T05:11:05.471Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:11:05.471Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-09T05:11:05.471Z] ---> aa39afeda991 [2023-01-09T05:11:05.471Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:11:05.738Z] ---> Running in 8f95c1ea58d7 [2023-01-09T05:11:06.006Z] Removing intermediate container 8f95c1ea58d7 [2023-01-09T05:11:06.006Z] ---> 748d9961343d [2023-01-09T05:11:06.006Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:11:06.006Z] ---> Running in 977135fc086f [2023-01-09T05:11:06.273Z] Removing intermediate container 977135fc086f [2023-01-09T05:11:06.273Z] ---> f0089ac35d33 [2023-01-09T05:11:06.273Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T05:11:06.273Z] ---> Running in 8884cd9e39ff [2023-01-09T05:11:06.539Z] Removing intermediate container 8884cd9e39ff [2023-01-09T05:11:06.539Z] ---> 638458452ac1 [2023-01-09T05:11:06.539Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T05:11:06.812Z] ---> Running in 81dbc8b8067e [2023-01-09T05:11:07.080Z] Removing intermediate container 81dbc8b8067e [2023-01-09T05:11:07.080Z] ---> c4c4eab1f49e [2023-01-09T05:11:07.080Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T05:11:07.080Z] ---> Running in d742f17e8e0c [2023-01-09T05:11:08.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T05:11:08.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T05:11:09.605Z] OK: 226 MiB in 55 packages [2023-01-09T05:11:10.682Z] Removing intermediate container d742f17e8e0c [2023-01-09T05:11:10.682Z] ---> 0b6913eb88bc [2023-01-09T05:11:10.682Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-09T05:11:10.682Z] ---> Running in bb45a7f47119 [2023-01-09T05:11:10.682Z] Removing intermediate container bb45a7f47119 [2023-01-09T05:11:10.682Z] ---> 8b1fd0154111 [2023-01-09T05:11:10.682Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-09T05:11:11.278Z] ---> 5fefc83547e7 [2023-01-09T05:11:11.278Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:11:11.278Z] ---> Running in 63f3902a524e [2023-01-09T05:11:13.247Z] Removing intermediate container 63f3902a524e [2023-01-09T05:11:13.247Z] ---> f6a85227adfc [2023-01-09T05:11:13.247Z] Step 11/24 : COPY . . [2023-01-09T05:11:14.218Z] ---> 2cfd9ee0a384 [2023-01-09T05:11:14.218Z] Step 12/24 : RUN ${MAKE} [2023-01-09T05:11:14.218Z] ---> Running in 6d9c4e6ddda2 [2023-01-09T05:11:15.185Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.6 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2023-01-09T05:13:51.969Z] Removing intermediate container 6d9c4e6ddda2 [2023-01-09T05:13:51.969Z] ---> 1f3db9093a98 [2023-01-09T05:13:51.969Z] Step 13/24 : FROM alpine:3.16 [2023-01-09T05:13:51.969Z] 3.16: Pulling from library/alpine [2023-01-09T05:13:51.969Z] 6875df1f5354: Pulling fs layer [2023-01-09T05:13:51.969Z] 6875df1f5354: Verifying Checksum [2023-01-09T05:13:51.969Z] 6875df1f5354: Download complete [2023-01-09T05:13:51.969Z] 6875df1f5354: Pull complete [2023-01-09T05:13:51.969Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T05:13:51.969Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T05:13:51.969Z] ---> 2b4661558fb8 [2023-01-09T05:13:51.969Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T05:13:51.969Z] ---> Running in ca6d27c16a31 [2023-01-09T05:13:51.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T05:13:51.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T05:13:51.969Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T05:13:51.969Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T05:13:51.969Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T05:13:51.969Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T05:13:51.969Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T05:13:51.969Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T05:13:51.969Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T05:13:51.969Z] OK: 8 MiB in 20 packages [2023-01-09T05:13:51.969Z] Removing intermediate container ca6d27c16a31 [2023-01-09T05:13:51.969Z] ---> ee5abbebf24a [2023-01-09T05:13:51.969Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-09T05:13:51.969Z] ---> 51986934c1ee [2023-01-09T05:13:51.969Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-09T05:13:51.969Z] ---> df7c3c84bdb5 [2023-01-09T05:13:51.969Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-09T05:13:51.969Z] ---> d683dac4f611 [2023-01-09T05:13:51.969Z] Step 18/24 : EXPOSE 59993 [2023-01-09T05:13:51.969Z] ---> Running in 74fd1927b2f3 [2023-01-09T05:13:51.969Z] Removing intermediate container 74fd1927b2f3 [2023-01-09T05:13:51.969Z] ---> 0f68311335af [2023-01-09T05:13:51.969Z] Step 19/24 : EXPOSE 161 [2023-01-09T05:13:51.969Z] ---> Running in 1135cb1b7370 [2023-01-09T05:13:51.969Z] Removing intermediate container 1135cb1b7370 [2023-01-09T05:13:51.969Z] ---> 550fedd9124c [2023-01-09T05:13:51.969Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-09T05:13:51.969Z] ---> Running in 151cdeb83a0c [2023-01-09T05:13:51.969Z] Removing intermediate container 151cdeb83a0c [2023-01-09T05:13:51.969Z] ---> 2a0f8462be98 [2023-01-09T05:13:51.969Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2023-01-09T05:13:51.969Z] ---> Running in 7f78e7c4a73e [2023-01-09T05:13:51.969Z] Removing intermediate container 7f78e7c4a73e [2023-01-09T05:13:51.969Z] ---> 244e84712ebd [2023-01-09T05:13:51.969Z] Step 22/24 : LABEL arch=arm64 [2023-01-09T05:13:51.969Z] ---> Running in dfb8173cfb17 [2023-01-09T05:13:51.969Z] Removing intermediate container dfb8173cfb17 [2023-01-09T05:13:51.969Z] ---> 3cb57175713c [2023-01-09T05:13:51.969Z] Step 23/24 : LABEL git_sha=3aac130de74ae3e4001c80fe97d09512d3f436a3 [2023-01-09T05:13:51.969Z] ---> Running in 5b18de3a95e3 [2023-01-09T05:13:51.969Z] Removing intermediate container 5b18de3a95e3 [2023-01-09T05:13:51.969Z] ---> 3e1ef2eec8e4 [2023-01-09T05:13:51.969Z] Step 24/24 : LABEL version=0.0.0 [2023-01-09T05:13:51.969Z] ---> Running in 8fe499cf65dc [2023-01-09T05:13:51.970Z] Removing intermediate container 8fe499cf65dc [2023-01-09T05:13:51.970Z] ---> eb54d06c2dcc [2023-01-09T05:13:51.970Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T05:13:51.970Z] Successfully built eb54d06c2dcc [2023-01-09T05:13:51.970Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:13:52.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T05:13:52.748Z] [2023-01-09T05:13:52.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:13:53.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T05:13:53.154Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T05:13:53.154Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T05:13:53.154Z] 04944245beec: Pulling fs layer [2023-01-09T05:13:53.154Z] 699f458cf7ca: Pulling fs layer [2023-01-09T05:13:53.154Z] 765212b225bb: Pulling fs layer [2023-01-09T05:13:53.154Z] f23df028b6ca: Pulling fs layer [2023-01-09T05:13:53.154Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T05:13:53.154Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T05:13:53.154Z] f23df028b6ca: Waiting [2023-01-09T05:13:53.154Z] d65c8cfc05b1: Waiting [2023-01-09T05:13:53.154Z] 2437ff75d9bd: Waiting [2023-01-09T05:13:53.154Z] 765212b225bb: Waiting [2023-01-09T05:13:53.426Z] 04944245beec: Verifying Checksum [2023-01-09T05:13:53.426Z] 04944245beec: Download complete [2023-01-09T05:13:53.426Z] 765212b225bb: Verifying Checksum [2023-01-09T05:13:53.426Z] 765212b225bb: Download complete [2023-01-09T05:13:53.426Z] f23df028b6ca: Verifying Checksum [2023-01-09T05:13:53.426Z] f23df028b6ca: Download complete [2023-01-09T05:13:53.426Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T05:13:53.426Z] d65c8cfc05b1: Download complete [2023-01-09T05:13:53.692Z] 699f458cf7ca: Verifying Checksum [2023-01-09T05:13:53.692Z] 699f458cf7ca: Download complete [2023-01-09T05:13:53.960Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T05:13:53.960Z] 8998bd30e6a1: Download complete [2023-01-09T05:13:56.548Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T05:13:56.548Z] 2437ff75d9bd: Download complete [2023-01-09T05:13:58.500Z] 8998bd30e6a1: Pull complete [2023-01-09T05:13:58.500Z] 04944245beec: Pull complete [2023-01-09T05:13:59.906Z] 699f458cf7ca: Pull complete [2023-01-09T05:14:00.174Z] 765212b225bb: Pull complete [2023-01-09T05:14:00.759Z] f23df028b6ca: Pull complete [2023-01-09T05:14:01.025Z] d65c8cfc05b1: Pull complete [2023-01-09T05:14:16.018Z] 2437ff75d9bd: Pull complete [2023-01-09T05:14:16.018Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T05:14:16.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T05:14:16.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:14:16.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-1428 does not seem to be running inside a container [2023-01-09T05:14:16.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-09T05:14:18.919Z] $ docker top 3dd6ca1063308f2d66cf183eb7646d98a34326886cbe44a4fbc1c785c504bf4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:19.564Z] ---> job-cost.sh [2023-01-09T05:14:19.836Z] lf-activate-venv: SKIPPING [2023-01-09T05:14:19.836Z] INFO: No Stack... [2023-01-09T05:14:20.110Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T05:14:21.079Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T05:14:21.737Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-01-09T05:14:21.737Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T05:14:21.818Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] [2023-01-09T05:14:21.822Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] did not exist. Created. [2023-01-09T05:14:21.822Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T05:14:22.555Z] /w/workspace/device-snmp-go/1@tmp/durable-13e337ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T05:14:23.222Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T05:14:23.259Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T05:14:23.305Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T05:14:23.318Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-207-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T05:14:23.406Z] $ docker stop --time=1 3dd6ca1063308f2d66cf183eb7646d98a34326886cbe44a4fbc1c785c504bf4b [2023-01-09T05:14:24.897Z] $ docker rm -f --volumes 3dd6ca1063308f2d66cf183eb7646d98a34326886cbe44a4fbc1c785c504bf4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-09T05:14:25.881Z] provisioning config files... [2023-01-09T05:14:25.888Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/config7933788568488463658tmp [Pipeline] { [Pipeline] sh [2023-01-09T05:14:26.221Z] + set +x [2023-01-09T05:14:26.222Z] + curl -s https://codecov.io/bash [2023-01-09T05:14:26.222Z] + bash -s -- [2023-01-09T05:14:26.222Z] [2023-01-09T05:14:26.222Z] _____ _ [2023-01-09T05:14:26.222Z] / ____| | | [2023-01-09T05:14:26.222Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T05:14:26.222Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T05:14:26.222Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T05:14:26.222Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T05:14:26.222Z] Bash-1.0.6 [2023-01-09T05:14:26.222Z] [2023-01-09T05:14:26.222Z] [2023-01-09T05:14:26.222Z] ==> git version 2.25.1 found [2023-01-09T05:14:26.222Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-09T05:14:26.222Z] Release-Date: 2020-01-08 [2023-01-09T05:14:26.222Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-09T05:14:26.222Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T05:14:26.222Z] ==> Jenkins CI detected. [2023-01-09T05:14:26.222Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-207 [2023-01-09T05:14:26.222Z] project root: . [2023-01-09T05:14:26.222Z] --> token set from env [2023-01-09T05:14:26.222Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T05:14:26.222Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T05:14:26.222Z] ==> Python coveragepy not found [2023-01-09T05:14:26.222Z] ==> Searching for coverage reports in: [2023-01-09T05:14:26.222Z] + . [2023-01-09T05:14:26.222Z] -> Found 1 reports [2023-01-09T05:14:26.222Z] ==> Detecting git/mercurial file structure [2023-01-09T05:14:26.222Z] ==> Reading reports [2023-01-09T05:14:26.222Z] + ./coverage.out bytes=7631 [2023-01-09T05:14:26.222Z] ==> Appending adjustments [2023-01-09T05:14:26.222Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T05:14:26.481Z] + Found adjustments [2023-01-09T05:14:26.481Z] ==> Gzipping contents [2023-01-09T05:14:26.481Z] 4.0K /tmp/codecov.9iNF0A.gz [2023-01-09T05:14:26.481Z] ==> Uploading reports [2023-01-09T05:14:26.481Z] url: https://codecov.io [2023-01-09T05:14:26.481Z] query: branch=PR-207&commit=3aac130de74ae3e4001c80fe97d09512d3f436a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-207%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=207&job=&cmd_args= [2023-01-09T05:14:26.481Z] -> Pinging Codecov [2023-01-09T05:14:26.481Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-207&commit=3aac130de74ae3e4001c80fe97d09512d3f436a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-207%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=207&job=&cmd_args= [2023-01-09T05:14:26.741Z] -> Uploading to [2023-01-09T05:14:26.741Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/6C56EA5C29638FB4528AC87E60AF5AE0/3aac130de74ae3e4001c80fe97d09512d3f436a3/e4cc2523-0b58-4308-9a21-7925d97afa07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T051426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea44a460f8580b64ca4b0cb91b865f274cf50a8b533db70cafecf8a1670e6706 [2023-01-09T05:14:26.741Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T05:14:26.741Z] Dload Upload Total Spent Left Speed [2023-01-09T05:14:27.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6797 --:--:-- --:--:-- --:--:-- 6767 100 1543 0 0 100 1543 0 4898 --:--:-- --:--:-- --:--:-- 4882 [2023-01-09T05:14:27.000Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/3aac130de74ae3e4001c80fe97d09512d3f436a3 [Pipeline] } [2023-01-09T05:14:27.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-09T05:14:28.676Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-207/archives ] [2023-01-09T05:14:28.676Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-207/archives [2023-01-09T05:14:28.676Z] total 16 [2023-01-09T05:14:28.676Z] drwxr-xr-x 3 root root 4096 Jan 9 05:06 . [2023-01-09T05:14:28.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 05:06 .. [2023-01-09T05:14:28.676Z] drwxr-xr-x 2 root root 4096 Jan 9 05:06 cost [2023-01-09T05:14:28.676Z] -rw-r--r-- 1 root root 86 Jan 9 05:06 cost.csv [2023-01-09T05:14:28.676Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-207/archives [2023-01-09T05:14:28.676Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-207/archives [2023-01-09T05:14:28.676Z] total 16 [2023-01-09T05:14:28.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 05:06 . [2023-01-09T05:14:28.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 05:06 .. [2023-01-09T05:14:28.676Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 05:06 cost [2023-01-09T05:14:28.676Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 9 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:29.007Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:29.892Z] ---> package-listing.sh [2023-01-09T05:14:29.892Z] ++ facter osfamily [2023-01-09T05:14:29.892Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T05:14:30.151Z] + OS_FAMILY=debian [2023-01-09T05:14:30.151Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-207 [2023-01-09T05:14:30.151Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T05:14:30.151Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T05:14:30.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T05:14:30.151Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T05:14:30.151Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-207 ']' [2023-01-09T05:14:30.151Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T05:14:30.151Z] + case "${OS_FAMILY}" in [2023-01-09T05:14:30.151Z] + dpkg -l [2023-01-09T05:14:30.151Z] + grep '^ii' [2023-01-09T05:14:30.151Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T05:14:30.151Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T05:14:30.151Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T05:14:30.151Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-207 ']' [2023-01-09T05:14:30.151Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-207/archives/ [2023-01-09T05:14:30.151Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-207/archives/ [Pipeline] echo [2023-01-09T05:14:30.185Z] 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-207/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T05:14:30.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:14:31.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:14:31.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:14:31.231Z] prd-ubuntu20.04-docker-8c-8g-1426 does not seem to be running inside a container [2023-01-09T05:14:31.263Z] $ 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-207/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-207 -v /w/workspace/gexfoundry_device-snmp-go_PR-207:/w/workspace/gexfoundry_device-snmp-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T05:14:31.479Z] $ docker top 2bfe04eb72db7ead185c9a2bd6d4157194efc4cc3ff2fcec4d8b63a1acc11d5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:14:31.870Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T05:14:32.180Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T05:14:32.488Z] + ls /var/log/sa-host [2023-01-09T05:14:32.488Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T05:14:32.625Z] provisioning config files... [2023-01-09T05:14:32.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-207@tmp/config14032820828010407484tmp [Pipeline] { [Pipeline] echo [2023-01-09T05:14:32.682Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:32.989Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T05:14:33.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:33.406Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T05:14:33.438Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:33.749Z] ---> sudo-logs.sh [2023-01-09T05:14:33.750Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T05:14:33.840Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:34.152Z] ---> job-cost.sh [2023-01-09T05:14:34.152Z] lf-activate-venv: SKIPPING [2023-01-09T05:14:34.152Z] DEBUG: total: 0.2199999988079071 [2023-01-09T05:14:34.152Z] INFO: Retrieving Stack Cost... [2023-01-09T05:14:34.724Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T05:14:34.983Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T05:14:35.024Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:14:35.335Z] ---> logs-deploy.sh [2023-01-09T05:14:35.336Z] lf-activate-venv: SKIPPING [2023-01-09T05:14:35.336Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-207/1 [2023-01-09T05:14:35.336Z] INFO: archiving workspace using pattern(s): [2023-01-09T05:14:36.274Z] Archives upload complete. [2023-01-09T05:14:36.533Z] INFO: archiving logs to Nexus [2023-01-09T05:14:37.102Z] ---> uname -a: [2023-01-09T05:14:37.102Z] Linux prd-ubuntu20-04-docker-8c-8g-1426 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-01-09T05:14:37.102Z] [2023-01-09T05:14:37.102Z]