Pull request #223 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7+2bd6e5dae59222faf073cfb9822f90f2048c0bba (06a21991602e02b7a973fc664d052d931fc1ebb2) 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-ssh4422209581596211660.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-ssh16651677011832559109.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-223/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-223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15183325635352403974.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-223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2697600074328420361.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-ssh13412037307910807526.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-223/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-223/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17111591823174355449.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4348 in /w/workspace/gexfoundry_device-snmp-go_PR-223 [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-223 # 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 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 > 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/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 Checking out Revision 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 (PR-223) 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-02-02T05:02:29.879Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-02T05:02:30.064Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-02T05:02:30.149Z] ========================================================= [2023-02-02T05:02:30.149Z] EdgeX Global Pipelines Version Info [2023-02-02T05:02:30.149Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 # timeout=10 [2023-02-02T05:02:30.893Z] ------------------- [2023-02-02T05:02:30.893Z] stable info: [2023-02-02T05:02:30.893Z] ------------------- [2023-02-02T05:02:30.893Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-02T05:02:30.893Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T05:02:30.893Z] Message: update stable to v1.0.244 [2023-02-02T05:02:31.464Z] ------------------- [2023-02-02T05:02:31.464Z] experimental info: [2023-02-02T05:02:31.464Z] ------------------- [2023-02-02T05:02:31.464Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-02T05:02:31.464Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T05:02:31.464Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-02T05:02:31.756Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-02T05:02:31.802Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-02T05:02:31.842Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-02T05:02:31.887Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-02T05:02:31.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-02T05:02:31.969Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-02T05:02:32.009Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-02T05:02:32.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-02T05:02:32.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-02T05:02:32.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-02T05:02:32.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-02T05:02:32.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-02T05:02:32.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-02T05:02:32.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-02T05:02:32.328Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-02T05:02:32.368Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-02T05:02:32.403Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T05:02:32.437Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T05:02:32.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-02T05:02:32.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-02T05:02:32.547Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-02T05:02:32.584Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-02T05:02:32.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-02T05:02:32.659Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-02T05:02:32.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-02T05:02:32.815Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-02T05:02:32.858Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-02T05:02:32.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-223 [Pipeline] echo [2023-02-02T05:02:32.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-223 [Pipeline] echo [2023-02-02T05:02:32.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-223 [Pipeline] echo [2023-02-02T05:02:33.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [Pipeline] echo [2023-02-02T05:02:33.056Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 245fecf [Pipeline] echo [2023-02-02T05:02:33.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T05:02:33.212Z] provisioning config files... [2023-02-02T05:02:33.228Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/config8063133497230225994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:02:33.571Z] ---> docker-login.sh [2023-02-02T05:02:33.571Z] nexus3.edgexfoundry.org:10001 [2023-02-02T05:02:33.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:33.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:33.832Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:33.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:33.832Z] [2023-02-02T05:02:33.832Z] Login Succeeded [2023-02-02T05:02:33.832Z] nexus3.edgexfoundry.org:10002 [2023-02-02T05:02:34.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:34.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:34.094Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:34.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:34.094Z] [2023-02-02T05:02:34.094Z] Login Succeeded [2023-02-02T05:02:34.094Z] nexus3.edgexfoundry.org:10003 [2023-02-02T05:02:34.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:34.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:34.094Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:34.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:34.094Z] [2023-02-02T05:02:34.094Z] Login Succeeded [2023-02-02T05:02:34.094Z] nexus3.edgexfoundry.org:10004 [2023-02-02T05:02:34.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:34.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:34.356Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:34.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:34.356Z] [2023-02-02T05:02:34.356Z] Login Succeeded [2023-02-02T05:02:34.356Z] docker.io [2023-02-02T05:02:34.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:34.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:34.615Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:34.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:34.615Z] [2023-02-02T05:02:34.615Z] Login Succeeded [2023-02-02T05:02:34.615Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T05:02:34.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-02T05:02:35.251Z] + git rev-list -1 --merges 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7~1..245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [Pipeline] echo [2023-02-02T05:02:35.314Z] -----------> git rev-list -1 --merges 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7~1..245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [false] [Pipeline] sh [2023-02-02T05:02:35.621Z] + git log --format=format:%s -1 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [Pipeline] echo [2023-02-02T05:02:35.656Z] ========================================================= [2023-02-02T05:02:35.656Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-02T05:02:35.656Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T05:02:36.070Z] + git log --format=format:%s -1 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [Pipeline] echo [2023-02-02T05:02:36.103Z] [semverPrep] GIT_COMMIT: 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-02T05:02:36.134Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-02T05:02:36.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-02T05:02:36.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-02T05:02:36.537Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-02T05:02:36.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-02T05:02:36.537Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-02T05:02:36.537Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-02T05:02:36.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:02:37.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T05:02:37.030Z] [2023-02-02T05:02:37.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:02:37.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T05:02:37.407Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-02T05:02:37.407Z] b85a868b505f: Pulling fs layer [2023-02-02T05:02:37.407Z] e2be974225ed: Pulling fs layer [2023-02-02T05:02:37.407Z] 339a4e72a1f5: Pulling fs layer [2023-02-02T05:02:37.407Z] 988bab9f4d93: Pulling fs layer [2023-02-02T05:02:37.407Z] 1469e6f7b9e6: Pulling fs layer [2023-02-02T05:02:37.407Z] eaf3925da568: Pulling fs layer [2023-02-02T05:02:37.407Z] bab4dde63d76: Pulling fs layer [2023-02-02T05:02:37.407Z] bde34c3a00c8: Pulling fs layer [2023-02-02T05:02:37.407Z] b352a97aabf1: Pulling fs layer [2023-02-02T05:02:37.407Z] 4872d77fe225: Pulling fs layer [2023-02-02T05:02:37.407Z] 5851b861e8e6: Pulling fs layer [2023-02-02T05:02:37.407Z] 1469e6f7b9e6: Waiting [2023-02-02T05:02:37.407Z] 988bab9f4d93: Waiting [2023-02-02T05:02:37.407Z] eaf3925da568: Waiting [2023-02-02T05:02:37.407Z] bab4dde63d76: Waiting [2023-02-02T05:02:37.407Z] bde34c3a00c8: Waiting [2023-02-02T05:02:37.407Z] 5851b861e8e6: Waiting [2023-02-02T05:02:37.407Z] 4872d77fe225: Waiting [2023-02-02T05:02:37.407Z] b352a97aabf1: Waiting [2023-02-02T05:02:37.407Z] e2be974225ed: Verifying Checksum [2023-02-02T05:02:37.407Z] e2be974225ed: Download complete [2023-02-02T05:02:37.671Z] 988bab9f4d93: Download complete [2023-02-02T05:02:37.671Z] 1469e6f7b9e6: Verifying Checksum [2023-02-02T05:02:37.671Z] 1469e6f7b9e6: Download complete [2023-02-02T05:02:37.934Z] eaf3925da568: Download complete [2023-02-02T05:02:37.934Z] b85a868b505f: Verifying Checksum [2023-02-02T05:02:37.934Z] b85a868b505f: Download complete [2023-02-02T05:02:37.934Z] bde34c3a00c8: Verifying Checksum [2023-02-02T05:02:37.934Z] bde34c3a00c8: Download complete [2023-02-02T05:02:37.934Z] b352a97aabf1: Verifying Checksum [2023-02-02T05:02:37.934Z] b352a97aabf1: Download complete [2023-02-02T05:02:37.934Z] 4872d77fe225: Download complete [2023-02-02T05:02:37.934Z] 5851b861e8e6: Download complete [2023-02-02T05:02:38.195Z] 339a4e72a1f5: Verifying Checksum [2023-02-02T05:02:38.195Z] 339a4e72a1f5: Download complete [2023-02-02T05:02:38.462Z] bab4dde63d76: Verifying Checksum [2023-02-02T05:02:38.462Z] bab4dde63d76: Download complete [2023-02-02T05:02:39.040Z] b85a868b505f: Pull complete [2023-02-02T05:02:39.300Z] e2be974225ed: Pull complete [2023-02-02T05:02:39.875Z] 339a4e72a1f5: Pull complete [2023-02-02T05:02:39.875Z] 988bab9f4d93: Pull complete [2023-02-02T05:02:40.134Z] 1469e6f7b9e6: Pull complete [2023-02-02T05:02:40.134Z] eaf3925da568: Pull complete [2023-02-02T05:02:42.042Z] bab4dde63d76: Pull complete [2023-02-02T05:02:42.042Z] bde34c3a00c8: Pull complete [2023-02-02T05:02:42.042Z] b352a97aabf1: Pull complete [2023-02-02T05:02:42.304Z] 4872d77fe225: Pull complete [2023-02-02T05:02:42.304Z] 5851b861e8e6: Pull complete [2023-02-02T05:02:42.304Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-02T05:02:42.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T05:02:42.304Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:02:42.532Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-02-02T05:02:42.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-223 -v /w/workspace/gexfoundry_device-snmp-go_PR-223:/w/workspace/gexfoundry_device-snmp-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-223@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-02T05:02:46.263Z] $ docker top 9f8e542f0fc3f48f2f153f92f2c0a8440663dfd385bba7c2173997c839adc6da -eo pid,comm [2023-02-02T05:02:46.313Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-02T05:02:46.313Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-02T05:02:46.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T05:02:46.439Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T05:02:46.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T05:02:46.566Z] $ docker exec 9f8e542f0fc3f48f2f153f92f2c0a8440663dfd385bba7c2173997c839adc6da ssh-agent [2023-02-02T05:02:46.666Z] SSH_AUTH_SOCK=/tmp/ssh-jlTqPVhzBpZI/agent.33 [2023-02-02T05:02:46.666Z] SSH_AGENT_PID=39 [2023-02-02T05:02:46.675Z] Running ssh-add (command line suppressed) [2023-02-02T05:02:46.777Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/private_key_1371579447288393769.key (/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/private_key_1371579447288393769.key) [2023-02-02T05:02:46.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T05:02:47.119Z] + git tag --points-at HEAD [Pipeline] } [2023-02-02T05:02:47.147Z] $ docker exec --env ******** --env ******** 9f8e542f0fc3f48f2f153f92f2c0a8440663dfd385bba7c2173997c839adc6da ssh-agent -k [2023-02-02T05:02:47.252Z] unset SSH_AUTH_SOCK; [2023-02-02T05:02:47.255Z] unset SSH_AGENT_PID; [2023-02-02T05:02:47.255Z] echo Agent pid 39 killed; [2023-02-02T05:02:47.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-02T05:02:47.344Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T05:02:47.344Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T05:02:47.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T05:02:47.459Z] $ docker exec 9f8e542f0fc3f48f2f153f92f2c0a8440663dfd385bba7c2173997c839adc6da ssh-agent [2023-02-02T05:02:47.559Z] SSH_AUTH_SOCK=/tmp/ssh-FK9hIALu47qw/agent.71 [2023-02-02T05:02:47.559Z] SSH_AGENT_PID=77 [2023-02-02T05:02:47.564Z] Running ssh-add (command line suppressed) [2023-02-02T05:02:47.657Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/private_key_11224436000474031973.key (/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/private_key_11224436000474031973.key) [2023-02-02T05:02:47.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T05:02:48.001Z] + git semver init [2023-02-02T05:02:48.265Z] 2023-02-02 05:02:48,195 [run_init] DEBUG init version:0.0.0 force:False [2023-02-02T05:02:48.265Z] 2023-02-02 05:02:48,196 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-223/.semver [2023-02-02T05:02:48.265Z] 2023-02-02 05:02:48,197 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-223/.semver [2023-02-02T05:02:48.265Z] 2023-02-02 05:02:48,197 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-223/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-223, universal_newlines=False, shell=None, istream=None) [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,014 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-223/.git/info/exclude [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-223/.semver/PR-223 with force:False [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,015 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-223/.semver/PR-223 [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,019 [execute] INFO git cat-file --batch-check [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-223/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,025 [execute] INFO git cat-file --batch [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-223/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T05:02:49.205Z] 2023-02-02 05:02:49,030 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-223/.semver/PR-223 [2023-02-02T05:02:49.205Z] 0.0.0 [Pipeline] } [2023-02-02T05:02:49.230Z] $ docker exec --env ******** --env ******** 9f8e542f0fc3f48f2f153f92f2c0a8440663dfd385bba7c2173997c839adc6da ssh-agent -k [2023-02-02T05:02:49.337Z] unset SSH_AUTH_SOCK; [2023-02-02T05:02:49.337Z] unset SSH_AGENT_PID; [2023-02-02T05:02:49.337Z] echo Agent pid 77 killed; [2023-02-02T05:02:49.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-02T05:02:49.827Z] + git semver [Pipeline] } [2023-02-02T05:02:50.113Z] $ docker stop --time=1 9f8e542f0fc3f48f2f153f92f2c0a8440663dfd385bba7c2173997c839adc6da [2023-02-02T05:02:51.407Z] $ docker rm -f --volumes 9f8e542f0fc3f48f2f153f92f2c0a8440663dfd385bba7c2173997c839adc6da [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T05:02:51.805Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-02T05:02:52.089Z] Stashed 1 file(s) [Pipeline] echo [2023-02-02T05:02:52.106Z] [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-02-02T05:02:52.712Z] provisioning config files... [2023-02-02T05:02:52.721Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/config2264057599083435507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:02:53.079Z] ---> docker-login.sh [2023-02-02T05:02:53.079Z] nexus3.edgexfoundry.org:10001 [2023-02-02T05:02:53.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:53.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:53.079Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:53.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:53.079Z] [2023-02-02T05:02:53.079Z] Login Succeeded [2023-02-02T05:02:53.079Z] nexus3.edgexfoundry.org:10002 [2023-02-02T05:02:53.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:53.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:53.079Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:53.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:53.079Z] [2023-02-02T05:02:53.079Z] Login Succeeded [2023-02-02T05:02:53.079Z] nexus3.edgexfoundry.org:10003 [2023-02-02T05:02:53.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:53.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:53.338Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:53.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:53.338Z] [2023-02-02T05:02:53.338Z] Login Succeeded [2023-02-02T05:02:53.338Z] nexus3.edgexfoundry.org:10004 [2023-02-02T05:02:53.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:53.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:53.338Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:53.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:53.338Z] [2023-02-02T05:02:53.338Z] Login Succeeded [2023-02-02T05:02:53.338Z] docker.io [2023-02-02T05:02:53.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:02:53.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:02:53.598Z] Configure a credential helper to remove this warning. See [2023-02-02T05:02:53.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:02:53.598Z] [2023-02-02T05:02:53.598Z] Login Succeeded [2023-02-02T05:02:53.598Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T05:02:53.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-02T05:02:53.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T05:02:53.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T05:02:53.896Z] ========================================================= [2023-02-02T05:02:53.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-02T05:02:53.896Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:02:54.374Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-02T05:02:54.374Z] Sending build context to Docker daemon 5.681MB [2023-02-02T05:02:54.374Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T05:02:54.374Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-02T05:02:54.374Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-02T05:02:54.374Z] 213ec9aee27d: Pulling fs layer [2023-02-02T05:02:54.374Z] 4583459ba037: Pulling fs layer [2023-02-02T05:02:54.374Z] 93c1e223e6f2: Pulling fs layer [2023-02-02T05:02:54.374Z] 53926ce57604: Pulling fs layer [2023-02-02T05:02:54.374Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-02T05:02:54.374Z] 22ff95d597cd: Pulling fs layer [2023-02-02T05:02:54.374Z] 12d6caf4c0d1: Pulling fs layer [2023-02-02T05:02:54.374Z] 96b7cbca73a9: Pulling fs layer [2023-02-02T05:02:54.374Z] a7acece74701: Pulling fs layer [2023-02-02T05:02:54.374Z] 53926ce57604: Waiting [2023-02-02T05:02:54.374Z] 12d6caf4c0d1: Waiting [2023-02-02T05:02:54.374Z] a7acece74701: Waiting [2023-02-02T05:02:54.374Z] 22ff95d597cd: Waiting [2023-02-02T05:02:54.374Z] 21b2b0c7a3f4: Waiting [2023-02-02T05:02:54.374Z] 93c1e223e6f2: Verifying Checksum [2023-02-02T05:02:54.374Z] 93c1e223e6f2: Download complete [2023-02-02T05:02:54.640Z] 4583459ba037: Verifying Checksum [2023-02-02T05:02:54.640Z] 4583459ba037: Download complete [2023-02-02T05:02:54.640Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-02T05:02:54.640Z] 21b2b0c7a3f4: Download complete [2023-02-02T05:02:54.640Z] 22ff95d597cd: Verifying Checksum [2023-02-02T05:02:54.640Z] 22ff95d597cd: Download complete [2023-02-02T05:02:54.640Z] 213ec9aee27d: Verifying Checksum [2023-02-02T05:02:54.640Z] 213ec9aee27d: Download complete [2023-02-02T05:02:54.640Z] 12d6caf4c0d1: Verifying Checksum [2023-02-02T05:02:54.640Z] 12d6caf4c0d1: Download complete [2023-02-02T05:02:54.908Z] 213ec9aee27d: Pull complete [2023-02-02T05:02:54.908Z] 4583459ba037: Pull complete [2023-02-02T05:02:54.908Z] 93c1e223e6f2: Pull complete [2023-02-02T05:02:55.508Z] a7acece74701: Verifying Checksum [2023-02-02T05:02:55.508Z] a7acece74701: Download complete [2023-02-02T05:02:55.772Z] 53926ce57604: Verifying Checksum [2023-02-02T05:02:55.772Z] 53926ce57604: Download complete [2023-02-02T05:02:55.772Z] 96b7cbca73a9: Verifying Checksum [2023-02-02T05:02:55.772Z] 96b7cbca73a9: Download complete [2023-02-02T05:02:59.957Z] 53926ce57604: Pull complete [2023-02-02T05:02:59.957Z] 21b2b0c7a3f4: Pull complete [2023-02-02T05:02:59.957Z] 22ff95d597cd: Pull complete [2023-02-02T05:02:59.957Z] 12d6caf4c0d1: Pull complete [2023-02-02T05:03:01.858Z] 96b7cbca73a9: Pull complete [2023-02-02T05:03:02.792Z] a7acece74701: Pull complete [2023-02-02T05:03:02.792Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-02T05:03:02.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-02T05:03:02.792Z] ---> db6d94c90886 [2023-02-02T05:03:02.792Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-02T05:03:07.534Z] Still waiting to schedule task [2023-02-02T05:03:07.534Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-02T05:03:09.488Z] ---> Running in 4fac73b2d088 [2023-02-02T05:03:09.488Z] Removing intermediate container 4fac73b2d088 [2023-02-02T05:03:09.488Z] ---> 5fe84496a123 [2023-02-02T05:03:09.488Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T05:03:09.488Z] ---> Running in 08c721edacde [2023-02-02T05:03:09.488Z] Removing intermediate container 08c721edacde [2023-02-02T05:03:09.488Z] ---> cf149712ce00 [2023-02-02T05:03:09.488Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T05:03:09.488Z] ---> Running in 43305ddf8f9f [2023-02-02T05:03:09.488Z] Removing intermediate container 43305ddf8f9f [2023-02-02T05:03:09.488Z] ---> 609a9ba548a8 [2023-02-02T05:03:09.488Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T05:03:09.488Z] ---> Running in e993fab92570 [2023-02-02T05:03:09.488Z] Removing intermediate container e993fab92570 [2023-02-02T05:03:09.488Z] ---> 5fcb40432a95 [2023-02-02T05:03:09.488Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T05:03:09.488Z] ---> Running in 4434bc407cca [2023-02-02T05:03:09.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T05:03:09.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T05:03:09.488Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-02T05:03:09.488Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-02T05:03:09.488Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-02T05:03:09.747Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-02T05:03:09.747Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T05:03:09.747Z] OK: 216 MiB in 55 packages [2023-02-02T05:03:10.316Z] Removing intermediate container 4434bc407cca [2023-02-02T05:03:10.316Z] ---> 30a9b07c1fe1 [2023-02-02T05:03:10.316Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-02T05:03:10.316Z] ---> Running in ea979078c1c9 [2023-02-02T05:03:10.316Z] Removing intermediate container ea979078c1c9 [2023-02-02T05:03:10.316Z] ---> 5e52e0c2e76c [2023-02-02T05:03:10.316Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-02T05:03:10.316Z] ---> 2688a26628f0 [2023-02-02T05:03:10.316Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T05:03:10.316Z] ---> Running in d759b6b6c2e7 [2023-02-02T05:04:06.669Z] Removing intermediate container d759b6b6c2e7 [2023-02-02T05:04:06.669Z] ---> 86116882f164 [2023-02-02T05:04:06.669Z] Step 11/12 : COPY . . [2023-02-02T05:04:06.669Z] ---> c1fe0713e06e [2023-02-02T05:04:06.669Z] Step 12/12 : RUN ${MAKE} [2023-02-02T05:04:06.669Z] ---> Running in d00360727ec0 [2023-02-02T05:04:06.669Z] noop [2023-02-02T05:04:06.669Z] Removing intermediate container d00360727ec0 [2023-02-02T05:04:06.669Z] ---> 794500247320 [2023-02-02T05:04:06.669Z] Successfully built 794500247320 [2023-02-02T05:04:06.669Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:04:07.108Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T05:04:07.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:04:07.260Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-02-02T05:04:07.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-223 -v /w/workspace/gexfoundry_device-snmp-go_PR-223:/w/workspace/gexfoundry_device-snmp-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-02T05:04:07.657Z] $ docker top 52114203c5066bfedeec97c76e07a88adff38d8642b75cf2a80331311ccbd577 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T05:04:08.060Z] + go version [2023-02-02T05:04:08.060Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-02T05:04:08.101Z] $ docker stop --time=1 52114203c5066bfedeec97c76e07a88adff38d8642b75cf2a80331311ccbd577 [2023-02-02T05:04:09.402Z] $ docker rm -f --volumes 52114203c5066bfedeec97c76e07a88adff38d8642b75cf2a80331311ccbd577 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:04:10.120Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T05:04:10.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:04:10.268Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-02-02T05:04:10.300Z] $ 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-223 -v /w/workspace/gexfoundry_device-snmp-go_PR-223:/w/workspace/gexfoundry_device-snmp-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-02T05:04:10.659Z] $ docker top 6af5445c8b8bb6d51f655c0aba4003d87b8b9063037bf382ad78d203cd3d9692 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T05:04:11.046Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-223 [Pipeline] fileExists [Pipeline] sh [2023-02-02T05:04:11.409Z] + make test [2023-02-02T05:04:11.409Z] go test ./... -coverprofile=coverage.out [2023-02-02T05:04:11.978Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-02T05:04:21.956Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-02T05:04:21.956Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.022s coverage: 0.0% of statements [2023-02-02T05:04:28.516Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-02T05:04:28.516Z] go vet ./... [2023-02-02T05:04:31.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T05:04:31.796Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T05:04:31.796Z] ./bin/test-attribution-txt.sh [2023-02-02T05:04:31.796Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-02T05:04:31.796Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-02T05:04:31.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T05:04:31.867Z] $ docker stop --time=1 6af5445c8b8bb6d51f655c0aba4003d87b8b9063037bf382ad78d203cd3d9692 [2023-02-02T05:04:35.250Z] $ docker rm -f --volumes 6af5445c8b8bb6d51f655c0aba4003d87b8b9063037bf382ad78d203cd3d9692 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T05:04:35.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T05:04:35.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-02T05:04:36.469Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T05:04:36.773Z] + ls -al . [2023-02-02T05:04:36.773Z] total 172 [2023-02-02T05:04:36.773Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 2 05:04 . [2023-02-02T05:04:36.773Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 05:02 .. [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 2 05:02 .dockerignore [2023-02-02T05:04:36.773Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 05:04 .git [2023-02-02T05:04:36.773Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 05:02 .github [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 2 05:02 .gitignore [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 2 05:02 .golangci.yml [2023-02-02T05:04:36.773Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 05:02 .semver [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 2 05:02 Attribution.txt [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 2 05:02 CHANGELOG.md [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 2 05:02 Dockerfile [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 05:02 GOVERNANCE.md [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 2 05:02 Jenkinsfile [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 05:02 LICENSE [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 2 05:02 Makefile [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 2 05:02 OWNERS.md [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 2 05:02 README.md [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 05:02 VERSION [2023-02-02T05:04:36.773Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 05:02 bin [2023-02-02T05:04:36.773Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 05:02 cmd [2023-02-02T05:04:36.773Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 2 05:04 coverage.out [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 3325 Feb 2 05:02 go.mod [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 34310 Feb 2 05:02 go.sum [2023-02-02T05:04:36.773Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 05:02 internal [2023-02-02T05:04:36.773Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 05:02 snap [2023-02-02T05:04:36.773Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 2 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:04:37.195Z] + 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=245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 --label arch=amd64 --label version=0.0.0 . [2023-02-02T05:04:37.195Z] Sending build context to Docker daemon 5.689MB [2023-02-02T05:04:37.195Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T05:04:37.195Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-02T05:04:37.195Z] ---> 794500247320 [2023-02-02T05:04:37.195Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-02T05:04:37.454Z] ---> Running in ac8fe749a4fc [2023-02-02T05:04:37.454Z] Removing intermediate container ac8fe749a4fc [2023-02-02T05:04:37.454Z] ---> 6232731c9d04 [2023-02-02T05:04:37.454Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T05:04:37.454Z] ---> Running in a0168b9a2161 [2023-02-02T05:04:37.454Z] Removing intermediate container a0168b9a2161 [2023-02-02T05:04:37.454Z] ---> 574da33ac2ea [2023-02-02T05:04:37.454Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T05:04:37.713Z] ---> Running in 1189b760a01c [2023-02-02T05:04:37.713Z] Removing intermediate container 1189b760a01c [2023-02-02T05:04:37.713Z] ---> 669d133fa2f4 [2023-02-02T05:04:37.713Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T05:04:37.713Z] ---> Running in cfaa88c4bd78 [2023-02-02T05:04:37.713Z] Removing intermediate container cfaa88c4bd78 [2023-02-02T05:04:37.713Z] ---> 0a567400da87 [2023-02-02T05:04:37.713Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T05:04:37.713Z] ---> Running in c3d849fd541c [2023-02-02T05:04:37.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T05:04:38.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T05:04:38.496Z] OK: 216 MiB in 55 packages [2023-02-02T05:04:38.755Z] Removing intermediate container c3d849fd541c [2023-02-02T05:04:38.755Z] ---> aef071407409 [2023-02-02T05:04:38.755Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-02T05:04:38.755Z] ---> Running in 95e726f80df6 [2023-02-02T05:04:39.015Z] Removing intermediate container 95e726f80df6 [2023-02-02T05:04:39.015Z] ---> c35128396853 [2023-02-02T05:04:39.015Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-02T05:04:39.015Z] ---> 08f892b185ac [2023-02-02T05:04:39.015Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T05:04:39.015Z] ---> Running in afc12be7b15b [2023-02-02T05:04:40.275Z] Removing intermediate container afc12be7b15b [2023-02-02T05:04:40.275Z] ---> 6e7a57847b8c [2023-02-02T05:04:40.275Z] Step 11/24 : COPY . . [2023-02-02T05:04:40.544Z] ---> 384bc3795c00 [2023-02-02T05:04:40.544Z] Step 12/24 : RUN ${MAKE} [2023-02-02T05:04:40.544Z] ---> Running in 2ef0a09ef47a [2023-02-02T05:04:40.832Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-02T05:04:41.502Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4349 in /w/workspace/gexfoundry_device-snmp-go_PR-223 [Pipeline] { [Pipeline] ws [2023-02-02T05:04:41.557Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-02T05:04:41.632Z] Selected Git installation does not exist. Using Default [2023-02-02T05:04:41.632Z] The recommended git tool is: NONE [2023-02-02T05:04:47.016Z] using credential edgex-jenkins-ssh [2023-02-02T05:04:47.032Z] Cloning the remote Git repository [2023-02-02T05:04:47.074Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-02T05:04:47.146Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-02T05:04:47.284Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-02T05:04:47.285Z] > git --version # timeout=10 [2023-02-02T05:04:47.304Z] > git --version # 'git version 2.25.1' [2023-02-02T05:04:47.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T05:04:47.367Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T05:04:49.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-02T05:04:49.908Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T05:04:51.277Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [2023-02-02T05:04:51.515Z] Merge succeeded, producing 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [2023-02-02T05:04:51.516Z] Checking out Revision 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 (PR-223) [2023-02-02T05:04:50.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-02T05:04:50.786Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-02T05:04:50.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T05:04:50.805Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-02T05:04:51.301Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T05:04:51.319Z] > git checkout -f 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 # timeout=10 [2023-02-02T05:04:51.407Z] > git remote # timeout=10 [2023-02-02T05:04:51.432Z] > git config --get remote.origin.url # timeout=10 [2023-02-02T05:04:51.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T05:04:51.467Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-02T05:04:51.495Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-02T05:04:51.526Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T05:04:51.543Z] > git checkout -f 245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 # timeout=10 [2023-02-02T05:04:52.008Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-02T05:04:52.060Z] > git --version # timeout=10 [2023-02-02T05:04:52.079Z] > git --version # 'git version 2.25.1' [2023-02-02T05:04:52.094Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T05:04:53.236Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-02T05:04:53.236Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T05:04:53.236Z] Dload Upload Total Spent Left Speed [2023-02-02T05:04:53.236Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-02-02T05:04:53.846Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-02T05:04:54.195Z] + sudo tee /etc/docker/daemon.new [2023-02-02T05:04:54.195Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-02T05:04:54.195Z] { [2023-02-02T05:04:54.195Z] "registry-mirrors": [ [2023-02-02T05:04:54.195Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-02T05:04:54.195Z] ], [2023-02-02T05:04:54.195Z] "bip": "10.250.0.254/24", [2023-02-02T05:04:54.195Z] "hosts": [ [2023-02-02T05:04:54.195Z] "tcp://0.0.0.0:5555", [2023-02-02T05:04:54.195Z] "unix:///var/run/docker.sock" [2023-02-02T05:04:54.195Z] ], [2023-02-02T05:04:54.195Z] "mtu": 1458, [2023-02-02T05:04:54.195Z] "selinux-enabled": true, [2023-02-02T05:04:54.195Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-02T05:04:54.195Z] } [Pipeline] sh [2023-02-02T05:04:54.548Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-02T05:04:54.896Z] + sudo service docker restart [2023-02-02T05:05:07.454Z] Removing intermediate container 2ef0a09ef47a [2023-02-02T05:05:07.454Z] ---> f347b0910309 [2023-02-02T05:05:07.454Z] Step 13/24 : FROM alpine:3.16 [2023-02-02T05:05:07.454Z] 3.16: Pulling from library/alpine [2023-02-02T05:05:07.454Z] ca7dd9ec2225: Pulling fs layer [2023-02-02T05:05:07.454Z] ca7dd9ec2225: Verifying Checksum [2023-02-02T05:05:07.454Z] ca7dd9ec2225: Download complete [2023-02-02T05:05:07.454Z] ca7dd9ec2225: Pull complete [2023-02-02T05:05:07.454Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T05:05:07.454Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T05:05:07.454Z] ---> bfe296a52501 [2023-02-02T05:05:07.454Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-02T05:05:07.454Z] ---> Running in 6ec35dcab4ec [2023-02-02T05:05:07.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T05:05:07.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T05:05:07.454Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-02T05:05:07.454Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T05:05:07.454Z] OK: 6 MiB in 15 packages [2023-02-02T05:05:07.454Z] Removing intermediate container 6ec35dcab4ec [2023-02-02T05:05:07.454Z] ---> 6139f2dc1f8a [2023-02-02T05:05:07.454Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-02T05:05:07.454Z] ---> e2f6db2865eb [2023-02-02T05:05:07.454Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-02T05:05:07.454Z] ---> 23ff004141da [2023-02-02T05:05:07.454Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-02T05:05:07.454Z] ---> 3ce30360c2a0 [2023-02-02T05:05:07.454Z] Step 18/24 : EXPOSE 59993 [2023-02-02T05:05:07.454Z] ---> Running in 6fbdba7573b8 [2023-02-02T05:05:07.454Z] Removing intermediate container 6fbdba7573b8 [2023-02-02T05:05:07.454Z] ---> 0812abe0b22c [2023-02-02T05:05:07.454Z] Step 19/24 : EXPOSE 161 [2023-02-02T05:05:07.454Z] ---> Running in 1ff7321f9ed1 [2023-02-02T05:05:07.454Z] Removing intermediate container 1ff7321f9ed1 [2023-02-02T05:05:07.454Z] ---> 6360062048c9 [2023-02-02T05:05:07.454Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-02T05:05:07.454Z] ---> Running in c405ab953ed2 [2023-02-02T05:05:07.454Z] Removing intermediate container c405ab953ed2 [2023-02-02T05:05:07.454Z] ---> 584f171cfddd [2023-02-02T05:05:07.454Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-02T05:05:07.713Z] ---> Running in fbb2288388d7 [2023-02-02T05:05:07.713Z] Removing intermediate container fbb2288388d7 [2023-02-02T05:05:07.714Z] ---> 55434659ed5f [2023-02-02T05:05:07.714Z] Step 22/24 : LABEL arch=amd64 [2023-02-02T05:05:07.714Z] ---> Running in 0c63caf5a1b9 [2023-02-02T05:05:07.714Z] Removing intermediate container 0c63caf5a1b9 [2023-02-02T05:05:07.714Z] ---> b38d97e44b2c [2023-02-02T05:05:07.714Z] Step 23/24 : LABEL git_sha=245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [2023-02-02T05:05:07.714Z] ---> Running in 05c3679309f9 [2023-02-02T05:05:07.973Z] Removing intermediate container 05c3679309f9 [2023-02-02T05:05:07.973Z] ---> 4ca655fa5f68 [2023-02-02T05:05:07.973Z] Step 24/24 : LABEL version=0.0.0 [2023-02-02T05:05:07.973Z] ---> Running in c1a06d89a0a4 [2023-02-02T05:05:07.973Z] Removing intermediate container c1a06d89a0a4 [2023-02-02T05:05:07.973Z] ---> 8a5fea5e767a [2023-02-02T05:05:07.973Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T05:05:07.973Z] Successfully built 8a5fea5e767a [2023-02-02T05:05:07.973Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:05:08.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T05:05:08.869Z] [2023-02-02T05:05:08.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:05:09.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T05:05:09.253Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-02T05:05:09.253Z] 5eb5b503b376: Pulling fs layer [2023-02-02T05:05:09.253Z] 5c69ac0246d0: Pulling fs layer [2023-02-02T05:05:09.253Z] ec43610c2a17: Pulling fs layer [2023-02-02T05:05:09.253Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-02T05:05:09.253Z] 33b1e0a273af: Pulling fs layer [2023-02-02T05:05:09.253Z] 5d3b04190fa2: Pulling fs layer [2023-02-02T05:05:09.253Z] 2f39f015ded8: Pulling fs layer [2023-02-02T05:05:09.253Z] 3a2ae6a8a46f: Waiting [2023-02-02T05:05:09.253Z] 33b1e0a273af: Waiting [2023-02-02T05:05:09.253Z] 5d3b04190fa2: Waiting [2023-02-02T05:05:09.253Z] 2f39f015ded8: Waiting [2023-02-02T05:05:09.253Z] 5c69ac0246d0: Download complete [2023-02-02T05:05:09.253Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-02T05:05:09.253Z] 3a2ae6a8a46f: Download complete [2023-02-02T05:05:09.515Z] 33b1e0a273af: Verifying Checksum [2023-02-02T05:05:09.515Z] 33b1e0a273af: Download complete [2023-02-02T05:05:09.515Z] 5d3b04190fa2: Verifying Checksum [2023-02-02T05:05:09.515Z] 5d3b04190fa2: Download complete [2023-02-02T05:05:09.515Z] ec43610c2a17: Verifying Checksum [2023-02-02T05:05:09.515Z] ec43610c2a17: Download complete [2023-02-02T05:05:09.775Z] 5eb5b503b376: Verifying Checksum [2023-02-02T05:05:09.775Z] 5eb5b503b376: Download complete [2023-02-02T05:05:10.344Z] 2f39f015ded8: Download complete [2023-02-02T05:05:10.923Z] 5eb5b503b376: Pull complete [2023-02-02T05:05:10.923Z] 5c69ac0246d0: Pull complete [2023-02-02T05:05:11.488Z] ec43610c2a17: Pull complete [2023-02-02T05:05:11.488Z] 3a2ae6a8a46f: Pull complete [2023-02-02T05:05:11.747Z] 33b1e0a273af: Pull complete [2023-02-02T05:05:11.747Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T05:05:13.227Z] provisioning config files... [2023-02-02T05:05:13.255Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3553930245078980138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:05:13.643Z] ---> docker-login.sh [2023-02-02T05:05:13.643Z] nexus3.edgexfoundry.org:10001 [2023-02-02T05:05:13.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:05:14.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:05:14.185Z] Configure a credential helper to remove this warning. See [2023-02-02T05:05:14.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:05:14.185Z] [2023-02-02T05:05:14.185Z] Login Succeeded [2023-02-02T05:05:14.185Z] nexus3.edgexfoundry.org:10002 [2023-02-02T05:05:14.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:05:14.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:05:14.731Z] Configure a credential helper to remove this warning. See [2023-02-02T05:05:14.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:05:14.731Z] [2023-02-02T05:05:14.731Z] Login Succeeded [2023-02-02T05:05:14.731Z] nexus3.edgexfoundry.org:10003 [2023-02-02T05:05:14.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:05:15.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:05:15.002Z] Configure a credential helper to remove this warning. See [2023-02-02T05:05:15.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:05:15.002Z] [2023-02-02T05:05:15.002Z] Login Succeeded [2023-02-02T05:05:15.002Z] nexus3.edgexfoundry.org:10004 [2023-02-02T05:05:15.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:05:15.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:05:15.275Z] Configure a credential helper to remove this warning. See [2023-02-02T05:05:15.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:05:15.275Z] [2023-02-02T05:05:15.275Z] Login Succeeded [2023-02-02T05:05:15.275Z] docker.io [2023-02-02T05:05:15.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T05:05:15.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T05:05:15.816Z] Configure a credential helper to remove this warning. See [2023-02-02T05:05:15.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T05:05:15.816Z] [2023-02-02T05:05:15.816Z] Login Succeeded [2023-02-02T05:05:15.816Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T05:05:15.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-02T05:05:16.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T05:05:16.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T05:05:16.281Z] ========================================================= [2023-02-02T05:05:16.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-02T05:05:16.281Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:05:16.832Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-02T05:05:17.019Z] 2f39f015ded8: Pull complete [2023-02-02T05:05:17.019Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-02T05:05:17.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T05:05:17.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [2023-02-02T05:05:17.104Z] Sending build context to Docker daemon 2.939MB [2023-02-02T05:05:17.104Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T05:05:17.104Z] Step 2/12 : FROM ${BASE} AS builder [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:05:17.285Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-02-02T05:05:17.329Z] $ 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-223 -v /w/workspace/gexfoundry_device-snmp-go_PR-223:/w/workspace/gexfoundry_device-snmp-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-02T05:05:17.375Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-02T05:05:17.375Z] 9b18e9b68314: Pulling fs layer [2023-02-02T05:05:17.375Z] 35d82f9e3411: Pulling fs layer [2023-02-02T05:05:17.375Z] e16973657156: Pulling fs layer [2023-02-02T05:05:17.375Z] fc693d55d65f: Pulling fs layer [2023-02-02T05:05:17.375Z] 7e9fc2657dce: Pulling fs layer [2023-02-02T05:05:17.375Z] dda99020689f: Pulling fs layer [2023-02-02T05:05:17.375Z] db1c61fa0a46: Pulling fs layer [2023-02-02T05:05:17.375Z] 891c053d2c06: Pulling fs layer [2023-02-02T05:05:17.375Z] 7e9fc2657dce: Waiting [2023-02-02T05:05:17.375Z] dda99020689f: Waiting [2023-02-02T05:05:17.375Z] 891c053d2c06: Waiting [2023-02-02T05:05:17.375Z] db1c61fa0a46: Waiting [2023-02-02T05:05:17.375Z] fc693d55d65f: Waiting [2023-02-02T05:05:17.375Z] e16973657156: Verifying Checksum [2023-02-02T05:05:17.375Z] e16973657156: Download complete [2023-02-02T05:05:17.375Z] 35d82f9e3411: Download complete [2023-02-02T05:05:17.375Z] 7e9fc2657dce: Verifying Checksum [2023-02-02T05:05:17.375Z] 7e9fc2657dce: Download complete [2023-02-02T05:05:17.375Z] dda99020689f: Download complete [2023-02-02T05:05:17.375Z] 9b18e9b68314: Verifying Checksum [2023-02-02T05:05:17.375Z] 9b18e9b68314: Download complete [2023-02-02T05:05:18.353Z] 9b18e9b68314: Pull complete [2023-02-02T05:05:18.627Z] 891c053d2c06: Verifying Checksum [2023-02-02T05:05:18.627Z] 891c053d2c06: Download complete [2023-02-02T05:05:18.906Z] 35d82f9e3411: Pull complete [2023-02-02T05:05:19.186Z] e16973657156: Pull complete [2023-02-02T05:05:19.781Z] db1c61fa0a46: Verifying Checksum [2023-02-02T05:05:19.781Z] db1c61fa0a46: Download complete [2023-02-02T05:05:20.368Z] fc693d55d65f: Verifying Checksum [2023-02-02T05:05:20.368Z] fc693d55d65f: Download complete [2023-02-02T05:05:25.324Z] $ docker top ec3b4dbad5929ec1e46ad2884b4a847da5b40cbbee1e42613b8f98efd6b60a34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:05:25.897Z] ---> job-cost.sh [2023-02-02T05:05:25.897Z] lf-activate-venv: SKIPPING [2023-02-02T05:05:25.897Z] INFO: No Stack... [2023-02-02T05:05:26.465Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T05:05:26.724Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T05:05:27.050Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-223/archives/cost.csv [2023-02-02T05:05:27.050Z] + cut -d, -f6 [Pipeline] lock [2023-02-02T05:05:27.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] [2023-02-02T05:05:27.104Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] did not exist. Created. [2023-02-02T05:05:27.104Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T05:05:27.500Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-02T05:05:27.552Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T05:05:27.584Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T05:05:27.674Z] $ docker stop --time=1 ec3b4dbad5929ec1e46ad2884b4a847da5b40cbbee1e42613b8f98efd6b60a34 [2023-02-02T05:05:28.819Z] $ docker rm -f --volumes ec3b4dbad5929ec1e46ad2884b4a847da5b40cbbee1e42613b8f98efd6b60a34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-02T05:05:32.737Z] fc693d55d65f: Pull complete [2023-02-02T05:05:32.738Z] 7e9fc2657dce: Pull complete [2023-02-02T05:05:32.738Z] dda99020689f: Pull complete [2023-02-02T05:05:39.411Z] db1c61fa0a46: Pull complete [2023-02-02T05:05:41.437Z] 891c053d2c06: Pull complete [2023-02-02T05:05:41.726Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-02T05:05:41.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-02T05:05:41.726Z] ---> f96f9c87975a [2023-02-02T05:05:41.726Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-02T05:05:43.697Z] ---> Running in 51627a581c57 [2023-02-02T05:05:43.697Z] Removing intermediate container 51627a581c57 [2023-02-02T05:05:43.697Z] ---> 5600569961a4 [2023-02-02T05:05:43.697Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T05:05:43.964Z] ---> Running in 85d772f9c9b6 [2023-02-02T05:05:44.232Z] Removing intermediate container 85d772f9c9b6 [2023-02-02T05:05:44.232Z] ---> 7674905272e6 [2023-02-02T05:05:44.232Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T05:05:44.232Z] ---> Running in bd0bd8b3fbf5 [2023-02-02T05:05:44.499Z] Removing intermediate container bd0bd8b3fbf5 [2023-02-02T05:05:44.499Z] ---> 133778f82f0f [2023-02-02T05:05:44.499Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T05:05:44.499Z] ---> Running in b937874d51c2 [2023-02-02T05:05:44.764Z] Removing intermediate container b937874d51c2 [2023-02-02T05:05:44.764Z] ---> 3cee58a6f7be [2023-02-02T05:05:44.764Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T05:05:45.032Z] ---> Running in 83979616e6d3 [2023-02-02T05:05:45.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T05:05:46.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T05:05:47.669Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-02T05:05:47.669Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-02T05:05:47.669Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-02T05:05:47.669Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-02T05:05:47.669Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T05:05:47.939Z] OK: 226 MiB in 55 packages [2023-02-02T05:05:48.910Z] Removing intermediate container 83979616e6d3 [2023-02-02T05:05:48.910Z] ---> 766a005d5b64 [2023-02-02T05:05:48.910Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-02T05:05:48.910Z] ---> Running in 00dc0efbd0b2 [2023-02-02T05:05:49.179Z] Removing intermediate container 00dc0efbd0b2 [2023-02-02T05:05:49.180Z] ---> 6ccd6cce57e1 [2023-02-02T05:05:49.180Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-02T05:05:49.777Z] ---> b77795b22900 [2023-02-02T05:05:49.777Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T05:05:49.777Z] ---> Running in b988460bd5fe [2023-02-02T05:06:57.654Z] Removing intermediate container b988460bd5fe [2023-02-02T05:06:57.654Z] ---> fbbff646cfa4 [2023-02-02T05:06:57.654Z] Step 11/12 : COPY . . [2023-02-02T05:06:57.654Z] ---> 303dbbe7439c [2023-02-02T05:06:57.654Z] Step 12/12 : RUN ${MAKE} [2023-02-02T05:06:57.654Z] ---> Running in 6a32c43c3313 [2023-02-02T05:06:57.654Z] noop [2023-02-02T05:06:57.926Z] Removing intermediate container 6a32c43c3313 [2023-02-02T05:06:57.926Z] ---> 7919c97a4049 [2023-02-02T05:06:57.926Z] Successfully built 7919c97a4049 [2023-02-02T05:06:57.926Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:06:58.410Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T05:06:58.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:06:58.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-4349 does not seem to be running inside a container [2023-02-02T05:06:58.736Z] $ 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-02-02T05:06:59.867Z] $ docker top 15cafb5f30745cad28decfa859ebf7d4a7c20acbc2badcfec506c3df5c5565c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T05:07:00.739Z] + go version [2023-02-02T05:07:00.740Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-02T05:07:00.775Z] $ docker stop --time=1 15cafb5f30745cad28decfa859ebf7d4a7c20acbc2badcfec506c3df5c5565c0 [2023-02-02T05:07:02.411Z] $ docker rm -f --volumes 15cafb5f30745cad28decfa859ebf7d4a7c20acbc2badcfec506c3df5c5565c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:07:03.251Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T05:07:03.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:07:03.501Z] prd-ubuntu20.04-docker-arm64-4c-16g-4349 does not seem to be running inside a container [2023-02-02T05:07:03.566Z] $ 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-02-02T05:07:04.690Z] $ docker top d9c2cb7c94b919dcb52c4e91393a4e26eee406354a594ccb484c68bb5eb6c4b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T05:07:05.231Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-02T05:07:05.626Z] + make test [2023-02-02T05:07:05.626Z] go test ./... -coverprofile=coverage.out [2023-02-02T05:07:07.590Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-02T05:08:29.244Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-02T05:08:29.244Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements [2023-02-02T05:08:29.244Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-02T05:08:29.244Z] go vet ./... [2023-02-02T05:08:41.543Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T05:08:41.543Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T05:08:41.543Z] ./bin/test-attribution-txt.sh [2023-02-02T05:08:41.543Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-02T05:08:41.543Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-02T05:08:41.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T05:08:41.874Z] $ docker stop --time=1 d9c2cb7c94b919dcb52c4e91393a4e26eee406354a594ccb484c68bb5eb6c4b9 [2023-02-02T05:08:43.607Z] $ docker rm -f --volumes d9c2cb7c94b919dcb52c4e91393a4e26eee406354a594ccb484c68bb5eb6c4b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T05:08:44.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T05:08:44.568Z] Warning: overwriting stash ‘coverage-report’ [2023-02-02T05:08:44.990Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T05:08:45.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T05:08:45.911Z] + ls -al . [2023-02-02T05:08:45.911Z] total 168 [2023-02-02T05:08:45.911Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 05:07 . [2023-02-02T05:08:45.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 05:04 .. [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 2 05:04 .dockerignore [2023-02-02T05:08:45.911Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 05:04 .git [2023-02-02T05:08:45.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 05:04 .github [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 2 05:04 .gitignore [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 2 05:04 .golangci.yml [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 2 05:04 Attribution.txt [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 2 05:04 CHANGELOG.md [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 2 05:04 Dockerfile [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 05:04 GOVERNANCE.md [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 2 05:04 Jenkinsfile [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 05:04 LICENSE [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 2 05:04 Makefile [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 2 05:04 OWNERS.md [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 2 05:04 README.md [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 05:02 VERSION [2023-02-02T05:08:45.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 05:04 bin [2023-02-02T05:08:45.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 05:04 cmd [2023-02-02T05:08:45.911Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 2 05:08 coverage.out [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 3325 Feb 2 05:04 go.mod [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 34310 Feb 2 05:04 go.sum [2023-02-02T05:08:45.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 05:04 internal [2023-02-02T05:08:45.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 05:04 snap [2023-02-02T05:08:45.911Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 2 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:08:46.328Z] + 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=245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 --label arch=arm64 --label version=0.0.0 . [2023-02-02T05:08:46.593Z] Sending build context to Docker daemon 2.948MB [2023-02-02T05:08:46.594Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T05:08:46.594Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-02T05:08:46.594Z] ---> 7919c97a4049 [2023-02-02T05:08:46.594Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-02T05:08:46.594Z] ---> Running in a27a92b1a354 [2023-02-02T05:08:46.861Z] Removing intermediate container a27a92b1a354 [2023-02-02T05:08:46.861Z] ---> 303dc4022af9 [2023-02-02T05:08:46.861Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T05:08:47.126Z] ---> Running in dfd946f5df16 [2023-02-02T05:08:47.391Z] Removing intermediate container dfd946f5df16 [2023-02-02T05:08:47.391Z] ---> 6e6006bb3a6f [2023-02-02T05:08:47.391Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T05:08:47.391Z] ---> Running in b16c92742b54 [2023-02-02T05:08:47.658Z] Removing intermediate container b16c92742b54 [2023-02-02T05:08:47.658Z] ---> 7eaf480cf367 [2023-02-02T05:08:47.658Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T05:08:47.658Z] ---> Running in dbae3effee19 [2023-02-02T05:08:47.924Z] Removing intermediate container dbae3effee19 [2023-02-02T05:08:47.924Z] ---> 777e24ecb041 [2023-02-02T05:08:47.924Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T05:08:47.924Z] ---> Running in ed6ae58d755a [2023-02-02T05:08:48.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T05:08:49.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T05:08:50.575Z] OK: 226 MiB in 55 packages [2023-02-02T05:08:51.158Z] Removing intermediate container ed6ae58d755a [2023-02-02T05:08:51.158Z] ---> c61a243771c0 [2023-02-02T05:08:51.158Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-02T05:08:51.158Z] ---> Running in ce0a1aebb4cf [2023-02-02T05:08:51.424Z] Removing intermediate container ce0a1aebb4cf [2023-02-02T05:08:51.424Z] ---> 6b414e5e25aa [2023-02-02T05:08:51.424Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-02T05:08:51.691Z] ---> c13c08d14d42 [2023-02-02T05:08:51.691Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T05:08:51.963Z] ---> Running in 576c01b2f022 [2023-02-02T05:08:53.905Z] Removing intermediate container 576c01b2f022 [2023-02-02T05:08:53.905Z] ---> 47cce04da94c [2023-02-02T05:08:53.905Z] Step 11/24 : COPY . . [2023-02-02T05:08:54.863Z] ---> 82eb63b73b2d [2023-02-02T05:08:54.863Z] Step 12/24 : RUN ${MAKE} [2023-02-02T05:08:54.863Z] ---> Running in 19bfc4dab237 [2023-02-02T05:08:55.822Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-02T05:11:17.515Z] Removing intermediate container 19bfc4dab237 [2023-02-02T05:11:17.515Z] ---> 5b37fa15d426 [2023-02-02T05:11:17.515Z] Step 13/24 : FROM alpine:3.16 [2023-02-02T05:11:17.515Z] 3.16: Pulling from library/alpine [2023-02-02T05:11:17.515Z] 6875df1f5354: Pulling fs layer [2023-02-02T05:11:17.515Z] 6875df1f5354: Download complete [2023-02-02T05:11:17.515Z] 6875df1f5354: Pull complete [2023-02-02T05:11:17.515Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T05:11:17.515Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T05:11:17.515Z] ---> 2b4661558fb8 [2023-02-02T05:11:17.515Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-02T05:11:17.515Z] ---> Running in 0b1c47ac0b98 [2023-02-02T05:11:17.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T05:11:17.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T05:11:17.515Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-02T05:11:17.515Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T05:11:17.515Z] OK: 5 MiB in 15 packages [2023-02-02T05:11:17.515Z] Removing intermediate container 0b1c47ac0b98 [2023-02-02T05:11:17.515Z] ---> ee3a8b6cd1b8 [2023-02-02T05:11:17.515Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-02T05:11:17.515Z] ---> 721fe2658ca0 [2023-02-02T05:11:17.515Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-02T05:11:17.515Z] ---> 86968f50a4cd [2023-02-02T05:11:17.515Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-02T05:11:18.110Z] ---> 3d54c8f7eb38 [2023-02-02T05:11:18.110Z] Step 18/24 : EXPOSE 59993 [2023-02-02T05:11:18.110Z] ---> Running in e13e89fcf462 [2023-02-02T05:11:18.380Z] Removing intermediate container e13e89fcf462 [2023-02-02T05:11:18.380Z] ---> 04bb60fa03ce [2023-02-02T05:11:18.380Z] Step 19/24 : EXPOSE 161 [2023-02-02T05:11:18.380Z] ---> Running in ebb8884ad7d6 [2023-02-02T05:11:18.965Z] Removing intermediate container ebb8884ad7d6 [2023-02-02T05:11:18.965Z] ---> 5c5c2151b601 [2023-02-02T05:11:18.965Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-02T05:11:18.965Z] ---> Running in 9905c2ed4fb0 [2023-02-02T05:11:19.233Z] Removing intermediate container 9905c2ed4fb0 [2023-02-02T05:11:19.233Z] ---> fb7ff610ab12 [2023-02-02T05:11:19.233Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-02T05:11:19.233Z] ---> Running in 09dd21102968 [2023-02-02T05:11:19.501Z] Removing intermediate container 09dd21102968 [2023-02-02T05:11:19.501Z] ---> 63734fa57d1d [2023-02-02T05:11:19.501Z] Step 22/24 : LABEL arch=arm64 [2023-02-02T05:11:19.501Z] ---> Running in 7d4d7359c7bc [2023-02-02T05:11:19.772Z] Removing intermediate container 7d4d7359c7bc [2023-02-02T05:11:19.772Z] ---> 00b21fca3bfb [2023-02-02T05:11:19.772Z] Step 23/24 : LABEL git_sha=245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [2023-02-02T05:11:20.041Z] ---> Running in c78b5a453043 [2023-02-02T05:11:20.312Z] Removing intermediate container c78b5a453043 [2023-02-02T05:11:20.312Z] ---> a937699c9a84 [2023-02-02T05:11:20.312Z] Step 24/24 : LABEL version=0.0.0 [2023-02-02T05:11:20.312Z] ---> Running in 99f9b7f938df [2023-02-02T05:11:20.582Z] Removing intermediate container 99f9b7f938df [2023-02-02T05:11:20.582Z] ---> 04a359dc1171 [2023-02-02T05:11:20.582Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T05:11:20.582Z] Successfully built 04a359dc1171 [2023-02-02T05:11:20.582Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:11:21.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T05:11:21.371Z] [2023-02-02T05:11:21.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:11:21.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T05:11:21.790Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-02T05:11:21.790Z] 8998bd30e6a1: Pulling fs layer [2023-02-02T05:11:21.790Z] 04944245beec: Pulling fs layer [2023-02-02T05:11:21.790Z] 699f458cf7ca: Pulling fs layer [2023-02-02T05:11:21.790Z] 765212b225bb: Pulling fs layer [2023-02-02T05:11:21.790Z] f23df028b6ca: Pulling fs layer [2023-02-02T05:11:21.790Z] d65c8cfc05b1: Pulling fs layer [2023-02-02T05:11:21.790Z] 2437ff75d9bd: Pulling fs layer [2023-02-02T05:11:21.790Z] 765212b225bb: Waiting [2023-02-02T05:11:21.790Z] f23df028b6ca: Waiting [2023-02-02T05:11:21.790Z] d65c8cfc05b1: Waiting [2023-02-02T05:11:21.790Z] 2437ff75d9bd: Waiting [2023-02-02T05:11:22.060Z] 04944245beec: Verifying Checksum [2023-02-02T05:11:22.060Z] 04944245beec: Download complete [2023-02-02T05:11:22.060Z] 765212b225bb: Verifying Checksum [2023-02-02T05:11:22.060Z] 765212b225bb: Download complete [2023-02-02T05:11:22.060Z] f23df028b6ca: Verifying Checksum [2023-02-02T05:11:22.060Z] f23df028b6ca: Download complete [2023-02-02T05:11:22.060Z] d65c8cfc05b1: Verifying Checksum [2023-02-02T05:11:22.060Z] d65c8cfc05b1: Download complete [2023-02-02T05:11:22.329Z] 699f458cf7ca: Verifying Checksum [2023-02-02T05:11:22.329Z] 699f458cf7ca: Download complete [2023-02-02T05:11:22.596Z] 8998bd30e6a1: Verifying Checksum [2023-02-02T05:11:22.596Z] 8998bd30e6a1: Download complete [2023-02-02T05:11:25.180Z] 2437ff75d9bd: Verifying Checksum [2023-02-02T05:11:25.180Z] 2437ff75d9bd: Download complete [2023-02-02T05:11:26.589Z] 8998bd30e6a1: Pull complete [2023-02-02T05:11:26.856Z] 04944245beec: Pull complete [2023-02-02T05:11:28.265Z] 699f458cf7ca: Pull complete [2023-02-02T05:11:28.533Z] 765212b225bb: Pull complete [2023-02-02T05:11:29.117Z] f23df028b6ca: Pull complete [2023-02-02T05:11:29.383Z] d65c8cfc05b1: Pull complete [2023-02-02T05:11:44.384Z] 2437ff75d9bd: Pull complete [2023-02-02T05:11:44.384Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-02T05:11:44.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T05:11:44.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:11:44.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-4349 does not seem to be running inside a container [2023-02-02T05:11:44.780Z] $ 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-02-02T05:11:49.330Z] $ docker top b819cea7429487af73be21989a83641b5bae78ee0a3c7f98d7db4b35087a9569 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:11:50.222Z] ---> job-cost.sh [2023-02-02T05:11:50.222Z] lf-activate-venv: SKIPPING [2023-02-02T05:11:50.222Z] INFO: No Stack... [2023-02-02T05:11:50.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-02T05:11:51.478Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T05:11:52.133Z] + cut -d, -f6 [2023-02-02T05:11:52.134Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2023-02-02T05:11:52.247Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] [2023-02-02T05:11:52.253Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] did not exist. Created. [2023-02-02T05:11:52.253Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T05:11:52.995Z] /w/workspace/device-snmp-go/1@tmp/durable-47d9bb7b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-02T05:11:53.381Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-02T05:11:53.423Z] Warning: overwriting stash ‘stack-cost’ [2023-02-02T05:11:53.476Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T05:11:53.491Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-223-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T05:11:53.566Z] $ docker stop --time=1 b819cea7429487af73be21989a83641b5bae78ee0a3c7f98d7db4b35087a9569 [2023-02-02T05:11:55.048Z] $ docker rm -f --volumes b819cea7429487af73be21989a83641b5bae78ee0a3c7f98d7db4b35087a9569 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-02T05:11:56.003Z] provisioning config files... [2023-02-02T05:11:56.011Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/config16284745424647259143tmp [Pipeline] { [Pipeline] sh [2023-02-02T05:11:56.340Z] + set +x [2023-02-02T05:11:56.340Z] + bash -s -- [2023-02-02T05:11:56.340Z] + curl -s https://codecov.io/bash [2023-02-02T05:11:56.340Z] [2023-02-02T05:11:56.340Z] _____ _ [2023-02-02T05:11:56.340Z] / ____| | | [2023-02-02T05:11:56.340Z] | | ___ __| | ___ ___ _____ __ [2023-02-02T05:11:56.340Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-02T05:11:56.340Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-02T05:11:56.340Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-02T05:11:56.340Z] Bash-1.0.6 [2023-02-02T05:11:56.340Z] [2023-02-02T05:11:56.340Z] [2023-02-02T05:11:56.340Z] ==> git version 2.25.1 found [2023-02-02T05:11:56.340Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-02T05:11:56.340Z] Release-Date: 2020-01-08 [2023-02-02T05:11:56.340Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-02T05:11:56.340Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-02T05:11:56.340Z] ==> Jenkins CI detected. [2023-02-02T05:11:56.340Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-223 [2023-02-02T05:11:56.340Z] project root: . [2023-02-02T05:11:56.340Z] --> token set from env [2023-02-02T05:11:56.340Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-02T05:11:56.340Z] ==> Running gcov in . (disable via -X gcov) [2023-02-02T05:11:56.340Z] ==> Python coveragepy not found [2023-02-02T05:11:56.340Z] ==> Searching for coverage reports in: [2023-02-02T05:11:56.340Z] + . [2023-02-02T05:11:56.340Z] -> Found 1 reports [2023-02-02T05:11:56.340Z] ==> Detecting git/mercurial file structure [2023-02-02T05:11:56.340Z] ==> Reading reports [2023-02-02T05:11:56.340Z] + ./coverage.out bytes=7631 [2023-02-02T05:11:56.340Z] ==> Appending adjustments [2023-02-02T05:11:56.340Z] https://docs.codecov.io/docs/fixing-reports [2023-02-02T05:11:56.599Z] + Found adjustments [2023-02-02T05:11:56.599Z] ==> Gzipping contents [2023-02-02T05:11:56.599Z] 4.0K /tmp/codecov.Jlu0HT.gz [2023-02-02T05:11:56.599Z] ==> Uploading reports [2023-02-02T05:11:56.599Z] url: https://codecov.io [2023-02-02T05:11:56.599Z] query: branch=PR-223&commit=245fecf3c48b3b6edf5d569fd754e4fe5606bfd7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-223%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=223&job=&cmd_args= [2023-02-02T05:11:56.599Z] -> Pinging Codecov [2023-02-02T05:11:56.599Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-223&commit=245fecf3c48b3b6edf5d569fd754e4fe5606bfd7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-223%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=223&job=&cmd_args= [2023-02-02T05:11:56.859Z] -> Uploading to [2023-02-02T05:11:56.859Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-02/6C56EA5C29638FB4528AC87E60AF5AE0/245fecf3c48b3b6edf5d569fd754e4fe5606bfd7/5b75ef36-4a4d-40a4-a089-684483095112.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T051156Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9cb0a5f90c9be521b5c735bc959243af74a759a82cef09c1f76151481507dedb [2023-02-02T05:11:56.859Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T05:11:56.859Z] Dload Upload Total Spent Left Speed [2023-02-02T05:11:57.426Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5159 --:--:-- --:--:-- --:--:-- 5159 [2023-02-02T05:11:57.426Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/245fecf3c48b3b6edf5d569fd754e4fe5606bfd7 [Pipeline] } [2023-02-02T05:11:57.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-02T05:11:59.139Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-223/archives ] [2023-02-02T05:11:59.139Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-223/archives [2023-02-02T05:11:59.139Z] total 16 [2023-02-02T05:11:59.139Z] drwxr-xr-x 3 root root 4096 Feb 2 05:05 . [2023-02-02T05:11:59.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 05:05 .. [2023-02-02T05:11:59.139Z] drwxr-xr-x 2 root root 4096 Feb 2 05:05 cost [2023-02-02T05:11:59.139Z] -rw-r--r-- 1 root root 86 Feb 2 05:05 cost.csv [2023-02-02T05:11:59.139Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-223/archives [2023-02-02T05:11:59.139Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-223/archives [2023-02-02T05:11:59.139Z] total 16 [2023-02-02T05:11:59.139Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 05:05 . [2023-02-02T05:11:59.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 05:05 .. [2023-02-02T05:11:59.139Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 05:05 cost [2023-02-02T05:11:59.139Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 2 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:11:59.472Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:12:00.364Z] ---> package-listing.sh [2023-02-02T05:12:00.364Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-02T05:12:00.364Z] ++ facter osfamily [2023-02-02T05:12:00.626Z] + OS_FAMILY=debian [2023-02-02T05:12:00.626Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-223 [2023-02-02T05:12:00.626Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-02T05:12:00.626Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-02T05:12:00.626Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-02T05:12:00.626Z] + PACKAGES=/tmp/packages_start.txt [2023-02-02T05:12:00.626Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-223 ']' [2023-02-02T05:12:00.626Z] + PACKAGES=/tmp/packages_end.txt [2023-02-02T05:12:00.626Z] + case "${OS_FAMILY}" in [2023-02-02T05:12:00.626Z] + dpkg -l [2023-02-02T05:12:00.626Z] + grep '^ii' [2023-02-02T05:12:00.626Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-02T05:12:00.626Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-02T05:12:00.626Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-02T05:12:00.626Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-223 ']' [2023-02-02T05:12:00.626Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-223/archives/ [2023-02-02T05:12:00.626Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-223/archives/ [Pipeline] echo [2023-02-02T05:12:00.655Z] 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-223/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-02T05:12:00.953Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T05:12:01.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T05:12:01.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T05:12:01.718Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-02-02T05:12:01.753Z] $ 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-223/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-223 -v /w/workspace/gexfoundry_device-snmp-go_PR-223:/w/workspace/gexfoundry_device-snmp-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-223@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-223@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-02T05:12:01.952Z] $ docker top 8475d8c07fe7a2233a458a2ec13e60eb7d75fb6c850407c606bfd7c5acfc794a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T05:12:02.351Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-02T05:12:02.664Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-02T05:12:02.977Z] + ls /var/log/sa-host [2023-02-02T05:12:02.977Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T05:12:03.247Z] provisioning config files... [2023-02-02T05:12:03.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-223@tmp/config15641309551995908520tmp [Pipeline] { [Pipeline] echo [2023-02-02T05:12:03.313Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:12:03.628Z] ---> create-netrc.sh [Pipeline] } [2023-02-02T05:12:03.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:12:04.061Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-02T05:12:04.094Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:12:04.406Z] ---> sudo-logs.sh [2023-02-02T05:12:04.406Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-02T05:12:04.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:12:04.799Z] ---> job-cost.sh [2023-02-02T05:12:04.799Z] lf-activate-venv: SKIPPING [2023-02-02T05:12:04.799Z] DEBUG: total: 0.2199999988079071 [2023-02-02T05:12:04.799Z] INFO: Retrieving Stack Cost... [2023-02-02T05:12:05.367Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T05:12:05.626Z] INFO: Archiving Costs [Pipeline] echo [2023-02-02T05:12:05.659Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T05:12:05.970Z] ---> logs-deploy.sh [2023-02-02T05:12:05.970Z] lf-activate-venv: SKIPPING [2023-02-02T05:12:05.970Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-223/1 [2023-02-02T05:12:05.970Z] INFO: archiving workspace using pattern(s): [2023-02-02T05:12:06.908Z] Archives upload complete. [2023-02-02T05:12:06.908Z] INFO: archiving logs to Nexus