Pull request #199 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b63f99bb65d0e15b86975d5c4b1513bc7943aff6+c5649ddb8ffd305e282f5692e5ab02afc05b76b1 (bd0029b8e23d4799a6d96bdeb5e2db6c389c4a5a) 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-ssh8777604479210094827.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh3554378746834328064.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-199/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-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5636182902330141398.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9305537743669029245.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh4934916673295297581.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-199/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-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12126394486840573242.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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-9180 in /w/workspace/gexfoundry_device-snmp-go_PR-199 [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-199 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c5649ddb8ffd305e282f5692e5ab02afc05b76b1 into PR head commit b63f99bb65d0e15b86975d5c4b1513bc7943aff6 Merge succeeded, producing b63f99bb65d0e15b86975d5c4b1513bc7943aff6 Checking out Revision b63f99bb65d0e15b86975d5c4b1513bc7943aff6 (PR-199) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T05:04:18.514Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T05:04:18.690Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c5649ddb8ffd305e282f5692e5ab02afc05b76b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # timeout=10 [Pipeline] echo [2022-10-24T05:04:18.797Z] ========================================================= [2022-10-24T05:04:18.797Z] EdgeX Global Pipelines Version Info [2022-10-24T05:04:18.797Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:04:19.539Z] ------------------- [2022-10-24T05:04:19.539Z] stable info: [2022-10-24T05:04:19.539Z] ------------------- [2022-10-24T05:04:19.539Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T05:04:19.539Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T05:04:19.539Z] Message: update stable to v1.0.243 [2022-10-24T05:04:20.110Z] ------------------- [2022-10-24T05:04:20.110Z] experimental info: [2022-10-24T05:04:20.110Z] ------------------- [2022-10-24T05:04:20.110Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T05:04:20.110Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T05:04:20.110Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T05:04:20.419Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-24T05:04:20.463Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-24T05:04:20.511Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T05:04:20.554Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T05:04:20.599Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T05:04:20.641Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T05:04:20.681Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T05:04:20.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T05:04:20.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T05:04:20.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T05:04:20.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T05:04:20.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-24T05:04:20.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T05:04:20.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T05:04:21.035Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T05:04:21.084Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T05:04:21.127Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T05:04:21.168Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T05:04:21.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T05:04:21.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T05:04:21.290Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T05:04:21.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T05:04:21.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T05:04:21.416Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T05:04:21.463Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T05:04:21.505Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T05:04:21.551Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T05:04:21.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2022-10-24T05:04:21.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2022-10-24T05:04:21.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2022-10-24T05:04:21.714Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo [2022-10-24T05:04:21.759Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b63f99b [Pipeline] echo [2022-10-24T05:04:21.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:04:21.926Z] provisioning config files... [2022-10-24T05:04:21.942Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config10584092285449396750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:04:22.289Z] ---> docker-login.sh [2022-10-24T05:04:22.289Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:04:22.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:22.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:22.549Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:22.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:22.549Z] [2022-10-24T05:04:22.549Z] Login Succeeded [2022-10-24T05:04:22.549Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:04:22.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:22.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:22.808Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:22.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:22.808Z] [2022-10-24T05:04:22.808Z] Login Succeeded [2022-10-24T05:04:22.808Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:04:22.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:22.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:22.808Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:22.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:22.808Z] [2022-10-24T05:04:22.808Z] Login Succeeded [2022-10-24T05:04:22.808Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:04:22.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:23.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:23.067Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:23.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:23.067Z] [2022-10-24T05:04:23.067Z] Login Succeeded [2022-10-24T05:04:23.067Z] docker.io [2022-10-24T05:04:23.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:24.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:24.447Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:24.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:24.447Z] [2022-10-24T05:04:24.447Z] Login Succeeded [2022-10-24T05:04:24.447Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:04:24.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T05:04:25.105Z] + git rev-list -1 --merges b63f99bb65d0e15b86975d5c4b1513bc7943aff6~1..b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo [2022-10-24T05:04:25.154Z] -----------> git rev-list -1 --merges b63f99bb65d0e15b86975d5c4b1513bc7943aff6~1..b63f99bb65d0e15b86975d5c4b1513bc7943aff6 b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [false] [Pipeline] sh [2022-10-24T05:04:25.461Z] + git log --format=format:%s -1 b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo [2022-10-24T05:04:25.497Z] ========================================================= [2022-10-24T05:04:25.497Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T05:04:25.497Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:04:25.941Z] + git log --format=format:%s -1 b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo [2022-10-24T05:04:25.975Z] [semverPrep] GIT_COMMIT: b63f99bb65d0e15b86975d5c4b1513bc7943aff6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-24T05:04:26.006Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T05:04:26.393Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T05:04:26.393Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T05:04:26.393Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T05:04:26.393Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T05:04:26.393Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T05:04:26.393Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T05:04:26.393Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:04:26.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:26.826Z] [2022-10-24T05:04:26.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:04:27.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:27.213Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T05:04:27.213Z] b85a868b505f: Pulling fs layer [2022-10-24T05:04:27.213Z] e2be974225ed: Pulling fs layer [2022-10-24T05:04:27.213Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T05:04:27.213Z] 988bab9f4d93: Pulling fs layer [2022-10-24T05:04:27.213Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T05:04:27.213Z] 988bab9f4d93: Waiting [2022-10-24T05:04:27.213Z] eaf3925da568: Pulling fs layer [2022-10-24T05:04:27.213Z] bab4dde63d76: Pulling fs layer [2022-10-24T05:04:27.213Z] 1469e6f7b9e6: Waiting [2022-10-24T05:04:27.213Z] eaf3925da568: Waiting [2022-10-24T05:04:27.213Z] bde34c3a00c8: Pulling fs layer [2022-10-24T05:04:27.213Z] bab4dde63d76: Waiting [2022-10-24T05:04:27.213Z] b352a97aabf1: Pulling fs layer [2022-10-24T05:04:27.213Z] bde34c3a00c8: Waiting [2022-10-24T05:04:27.213Z] b352a97aabf1: Waiting [2022-10-24T05:04:27.213Z] 4872d77fe225: Pulling fs layer [2022-10-24T05:04:27.213Z] 5851b861e8e6: Pulling fs layer [2022-10-24T05:04:27.213Z] e2be974225ed: Download complete [2022-10-24T05:04:27.213Z] 988bab9f4d93: Download complete [2022-10-24T05:04:27.475Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T05:04:27.475Z] 1469e6f7b9e6: Download complete [2022-10-24T05:04:27.475Z] eaf3925da568: Verifying Checksum [2022-10-24T05:04:27.475Z] eaf3925da568: Download complete [2022-10-24T05:04:27.475Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T05:04:27.475Z] 339a4e72a1f5: Download complete [2022-10-24T05:04:27.475Z] bde34c3a00c8: Verifying Checksum [2022-10-24T05:04:27.475Z] bde34c3a00c8: Download complete [2022-10-24T05:04:27.475Z] b352a97aabf1: Download complete [2022-10-24T05:04:27.475Z] 4872d77fe225: Verifying Checksum [2022-10-24T05:04:27.475Z] 4872d77fe225: Download complete [2022-10-24T05:04:27.475Z] 5851b861e8e6: Download complete [2022-10-24T05:04:27.475Z] b85a868b505f: Download complete [2022-10-24T05:04:27.734Z] bab4dde63d76: Verifying Checksum [2022-10-24T05:04:27.734Z] bab4dde63d76: Download complete [2022-10-24T05:04:29.109Z] b85a868b505f: Pull complete [2022-10-24T05:04:29.367Z] e2be974225ed: Pull complete [2022-10-24T05:04:29.626Z] 339a4e72a1f5: Pull complete [2022-10-24T05:04:29.887Z] 988bab9f4d93: Pull complete [2022-10-24T05:04:30.148Z] 1469e6f7b9e6: Pull complete [2022-10-24T05:04:30.148Z] eaf3925da568: Pull complete [2022-10-24T05:04:32.050Z] bab4dde63d76: Pull complete [2022-10-24T05:04:32.050Z] bde34c3a00c8: Pull complete [2022-10-24T05:04:32.050Z] b352a97aabf1: Pull complete [2022-10-24T05:04:32.311Z] 4872d77fe225: Pull complete [2022-10-24T05:04:32.311Z] 5851b861e8e6: Pull complete [2022-10-24T05:04:32.311Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T05:04:32.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:32.311Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:04:32.553Z] prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container [2022-10-24T05:04:32.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T05:04:33.844Z] $ docker top aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 -eo pid,comm [2022-10-24T05:04:33.917Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-24T05:04:33.917Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T05:04:34.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T05:04:34.048Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T05:04:34.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T05:04:34.163Z] $ docker exec aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent [2022-10-24T05:04:34.293Z] SSH_AUTH_SOCK=/tmp/ssh-zjBrNNZds2Gq/agent.32 [2022-10-24T05:04:34.293Z] SSH_AGENT_PID=38 [2022-10-24T05:04:34.300Z] Running ssh-add (command line suppressed) [2022-10-24T05:04:34.394Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_7280347401061568274.key (/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_7280347401061568274.key) [2022-10-24T05:04:34.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T05:04:34.745Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T05:04:34.758Z] $ docker exec --env ******** --env ******** aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent -k [2022-10-24T05:04:34.865Z] unset SSH_AUTH_SOCK; [2022-10-24T05:04:34.866Z] unset SSH_AGENT_PID; [2022-10-24T05:04:34.866Z] echo Agent pid 38 killed; [2022-10-24T05:04:34.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T05:04:34.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T05:04:34.975Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T05:04:35.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T05:04:35.077Z] $ docker exec aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent [2022-10-24T05:04:35.211Z] SSH_AUTH_SOCK=/tmp/ssh-jSVtv7BDTIQR/agent.70 [2022-10-24T05:04:35.211Z] SSH_AGENT_PID=76 [2022-10-24T05:04:35.216Z] Running ssh-add (command line suppressed) [2022-10-24T05:04:35.304Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_4426225656619927948.key (/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_4426225656619927948.key) [2022-10-24T05:04:35.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T05:04:35.656Z] + git semver init [2022-10-24T05:04:35.915Z] 2022-10-24 05:04:35,830 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T05:04:35.915Z] 2022-10-24 05:04:35,831 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver [2022-10-24T05:04:35.915Z] 2022-10-24 05:04:35,832 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-199/.semver [2022-10-24T05:04:35.915Z] 2022-10-24 05:04:35,832 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-199, universal_newlines=False, shell=None, istream=None) [2022-10-24T05:04:37.296Z] 2022-10-24 05:04:36,899 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-199/.git/info/exclude [2022-10-24T05:04:37.296Z] 2022-10-24 05:04:36,900 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver/PR-199 with force:False [2022-10-24T05:04:37.296Z] 2022-10-24 05:04:36,900 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver/PR-199 [2022-10-24T05:04:37.296Z] 2022-10-24 05:04:36,904 [execute] INFO git cat-file --batch-check [2022-10-24T05:04:37.296Z] 2022-10-24 05:04:36,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T05:04:37.296Z] 2022-10-24 05:04:36,911 [execute] INFO git cat-file --batch [2022-10-24T05:04:37.297Z] 2022-10-24 05:04:36,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T05:04:37.297Z] 2022-10-24 05:04:36,917 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-199/.semver/PR-199 [2022-10-24T05:04:37.297Z] 0.0.0 [Pipeline] } [2022-10-24T05:04:37.313Z] $ docker exec --env ******** --env ******** aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent -k [2022-10-24T05:04:37.408Z] unset SSH_AUTH_SOCK; [2022-10-24T05:04:37.408Z] unset SSH_AGENT_PID; [2022-10-24T05:04:37.409Z] echo Agent pid 76 killed; [2022-10-24T05:04:37.431Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T05:04:37.863Z] + git semver [Pipeline] } [2022-10-24T05:04:38.139Z] $ docker stop --time=1 aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 [2022-10-24T05:04:39.427Z] $ docker rm -f aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:04:39.838Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T05:04:40.052Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T05:04:40.068Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:04:40.662Z] provisioning config files... [2022-10-24T05:04:40.670Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config14064706957693667273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:04:41.018Z] ---> docker-login.sh [2022-10-24T05:04:41.018Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:04:41.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:41.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:41.018Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:41.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:41.018Z] [2022-10-24T05:04:41.018Z] Login Succeeded [2022-10-24T05:04:41.018Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:04:41.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:41.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:41.018Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:41.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:41.018Z] [2022-10-24T05:04:41.018Z] Login Succeeded [2022-10-24T05:04:41.018Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:04:41.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:41.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:41.277Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:41.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:41.277Z] [2022-10-24T05:04:41.277Z] Login Succeeded [2022-10-24T05:04:41.277Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:04:41.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:41.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:41.277Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:41.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:41.277Z] [2022-10-24T05:04:41.277Z] Login Succeeded [2022-10-24T05:04:41.277Z] docker.io [2022-10-24T05:04:41.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:41.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:41.795Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:41.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:41.795Z] [2022-10-24T05:04:41.795Z] Login Succeeded [2022-10-24T05:04:41.795Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:04:41.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T05:04:42.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:04:42.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:04:42.100Z] ========================================================= [2022-10-24T05:04:42.100Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T05:04:42.100Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:04:42.582Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T05:04:42.582Z] Sending build context to Docker daemon 5.535MB [2022-10-24T05:04:42.582Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:04:42.582Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T05:04:42.582Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T05:04:42.582Z] 213ec9aee27d: Pulling fs layer [2022-10-24T05:04:42.582Z] 4583459ba037: Pulling fs layer [2022-10-24T05:04:42.582Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T05:04:42.582Z] 53926ce57604: Pulling fs layer [2022-10-24T05:04:42.582Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T05:04:42.582Z] 30f14e443154: Pulling fs layer [2022-10-24T05:04:42.582Z] 801331c1e519: Pulling fs layer [2022-10-24T05:04:42.582Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T05:04:42.582Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T05:04:42.582Z] 30f14e443154: Waiting [2022-10-24T05:04:42.582Z] 801331c1e519: Waiting [2022-10-24T05:04:42.582Z] 99cc6dd402b0: Waiting [2022-10-24T05:04:42.582Z] 7d9ed39f4882: Waiting [2022-10-24T05:04:42.582Z] 53926ce57604: Waiting [2022-10-24T05:04:42.582Z] 21b2b0c7a3f4: Waiting [2022-10-24T05:04:42.582Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T05:04:42.582Z] 93c1e223e6f2: Download complete [2022-10-24T05:04:42.582Z] 4583459ba037: Verifying Checksum [2022-10-24T05:04:42.582Z] 4583459ba037: Download complete [2022-10-24T05:04:42.582Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T05:04:42.582Z] 21b2b0c7a3f4: Download complete [2022-10-24T05:04:42.840Z] 30f14e443154: Download complete [2022-10-24T05:04:42.840Z] 213ec9aee27d: Verifying Checksum [2022-10-24T05:04:42.840Z] 213ec9aee27d: Download complete [2022-10-24T05:04:42.840Z] 801331c1e519: Verifying Checksum [2022-10-24T05:04:42.840Z] 801331c1e519: Download complete [2022-10-24T05:04:42.840Z] 213ec9aee27d: Pull complete [2022-10-24T05:04:43.103Z] 4583459ba037: Pull complete [2022-10-24T05:04:43.103Z] 93c1e223e6f2: Pull complete [2022-10-24T05:04:43.669Z] 53926ce57604: Verifying Checksum [2022-10-24T05:04:43.669Z] 53926ce57604: Download complete [2022-10-24T05:04:43.669Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T05:04:43.669Z] 7d9ed39f4882: Download complete [2022-10-24T05:04:43.669Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T05:04:43.669Z] 99cc6dd402b0: Download complete [2022-10-24T05:04:47.855Z] 53926ce57604: Pull complete [2022-10-24T05:04:47.855Z] 21b2b0c7a3f4: Pull complete [2022-10-24T05:04:47.855Z] 30f14e443154: Pull complete [2022-10-24T05:04:47.855Z] 801331c1e519: Pull complete [2022-10-24T05:04:49.752Z] 99cc6dd402b0: Pull complete [2022-10-24T05:04:50.316Z] 7d9ed39f4882: Pull complete [2022-10-24T05:04:50.573Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T05:04:50.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T05:04:50.573Z] ---> 1dedd983c030 [2022-10-24T05:04:50.573Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:04:51.950Z] ---> Running in 24e4f71f123f [2022-10-24T05:04:51.950Z] Removing intermediate container 24e4f71f123f [2022-10-24T05:04:51.950Z] ---> 03b3d5228db4 [2022-10-24T05:04:51.950Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:04:52.209Z] ---> Running in 2d4a0c734b69 [2022-10-24T05:04:52.209Z] Removing intermediate container 2d4a0c734b69 [2022-10-24T05:04:52.209Z] ---> c1185b3c0993 [2022-10-24T05:04:52.209Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T05:04:52.209Z] ---> Running in 5dc347889e53 [2022-10-24T05:04:52.209Z] Removing intermediate container 5dc347889e53 [2022-10-24T05:04:52.209Z] ---> 1b440476a24f [2022-10-24T05:04:52.209Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T05:04:52.466Z] ---> Running in da3a4c7281fe [2022-10-24T05:04:52.466Z] Removing intermediate container da3a4c7281fe [2022-10-24T05:04:52.466Z] ---> 70e556019e4a [2022-10-24T05:04:52.466Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:04:52.466Z] ---> Running in 6ef5dd7ab6a6 [2022-10-24T05:04:53.033Z] Removing intermediate container 6ef5dd7ab6a6 [2022-10-24T05:04:53.033Z] ---> 2051ffc1a89b [2022-10-24T05:04:53.033Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T05:04:53.033Z] ---> Running in 6241f77268b9 [2022-10-24T05:04:53.291Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:04:54.226Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:04:54.485Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T05:04:54.743Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T05:04:54.743Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T05:04:54.743Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T05:04:55.004Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:04:55.004Z] OK: 216 MiB in 55 packages [2022-10-24T05:04:55.262Z] Removing intermediate container 6241f77268b9 [2022-10-24T05:04:55.262Z] ---> 54d95f1ae172 [2022-10-24T05:04:55.262Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-24T05:04:55.483Z] Still waiting to schedule task [2022-10-24T05:04:55.484Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-24T05:04:55.520Z] ---> Running in 88d1ab264552 [2022-10-24T05:04:55.520Z] Removing intermediate container 88d1ab264552 [2022-10-24T05:04:55.520Z] ---> d2b6082f16ee [2022-10-24T05:04:55.520Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T05:04:55.520Z] ---> 968517125a1c [2022-10-24T05:04:55.520Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:04:55.778Z] ---> Running in 7eadda692d2d [2022-10-24T05:05:13.863Z] Removing intermediate container 7eadda692d2d [2022-10-24T05:05:13.863Z] ---> 035d9c3967c0 [2022-10-24T05:05:13.863Z] Step 12/13 : COPY . . [2022-10-24T05:05:13.863Z] ---> a6a4888aefa5 [2022-10-24T05:05:13.863Z] Step 13/13 : RUN ${MAKE} [2022-10-24T05:05:13.863Z] ---> Running in da7ecfcff825 [2022-10-24T05:05:13.863Z] noop [2022-10-24T05:05:13.863Z] Removing intermediate container da7ecfcff825 [2022-10-24T05:05:13.863Z] ---> 95b1af1ab259 [2022-10-24T05:05:13.863Z] Successfully built 95b1af1ab259 [2022-10-24T05:05:13.863Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:14.310Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T05:05:14.310Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:05:14.482Z] prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container [2022-10-24T05:05:14.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T05:05:14.866Z] $ docker top d7d122666dbf1d0c88171a61df9ea531d15526cac27bcda733c42d2e0abef341 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:05:15.250Z] + go version [2022-10-24T05:05:15.250Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T05:05:15.290Z] $ docker stop --time=1 d7d122666dbf1d0c88171a61df9ea531d15526cac27bcda733c42d2e0abef341 [2022-10-24T05:05:16.597Z] $ docker rm -f d7d122666dbf1d0c88171a61df9ea531d15526cac27bcda733c42d2e0abef341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:17.279Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T05:05:17.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:05:17.426Z] prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container [2022-10-24T05:05:17.463Z] $ 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-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T05:05:17.820Z] $ docker top 8e97ec5bd98ec5e6537e45a9a4640573ab469788989b386e8114ec3e42bee48f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:05:18.205Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-199 [Pipeline] fileExists [Pipeline] sh [2022-10-24T05:05:18.561Z] + make test [2022-10-24T05:05:18.561Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T05:05:19.124Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-24T05:05:29.083Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-24T05:05:29.083Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2022-10-24T05:05:35.648Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-24T05:05:35.648Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T05:05:39.009Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T05:05:39.009Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T05:05:39.009Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T05:05:39.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T05:05:39.089Z] $ docker stop --time=1 8e97ec5bd98ec5e6537e45a9a4640573ab469788989b386e8114ec3e42bee48f [2022-10-24T05:05:40.781Z] $ docker rm -f 8e97ec5bd98ec5e6537e45a9a4640573ab469788989b386e8114ec3e42bee48f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:05:41.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T05:05:41.339Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T05:05:42.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T05:05:42.374Z] + ls -al . [2022-10-24T05:05:42.374Z] total 172 [2022-10-24T05:05:42.374Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 05:05 . [2022-10-24T05:05:42.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 .. [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 05:04 .dockerignore [2022-10-24T05:05:42.374Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:05 .git [2022-10-24T05:05:42.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 .github [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 24 05:04 .gitignore [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:04 .golangci.yml [2022-10-24T05:05:42.374Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:04 .semver [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 24 05:04 Attribution.txt [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 24 05:04 CHANGELOG.md [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 24 05:04 Dockerfile [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:04 GOVERNANCE.md [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 05:04 Jenkinsfile [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:04 LICENSE [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 24 05:04 Makefile [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 05:04 OWNERS.md [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 24 05:04 README.md [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:04 VERSION [2022-10-24T05:05:42.374Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 bin [2022-10-24T05:05:42.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 cmd [2022-10-24T05:05:42.374Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 24 05:05 coverage.out [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 24 05:04 go.mod [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 24 05:04 go.sum [2022-10-24T05:05:42.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 internal [2022-10-24T05:05:42.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 snap [2022-10-24T05:05:42.374Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:42.766Z] + 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=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 --label arch=amd64 --label version=0.0.0 . [2022-10-24T05:05:42.767Z] Sending build context to Docker daemon 5.543MB [2022-10-24T05:05:42.767Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:05:42.767Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T05:05:42.767Z] ---> 95b1af1ab259 [2022-10-24T05:05:42.767Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:05:42.767Z] ---> Running in ca9beadabfd8 [2022-10-24T05:05:43.024Z] Removing intermediate container ca9beadabfd8 [2022-10-24T05:05:43.025Z] ---> 0a1834becb77 [2022-10-24T05:05:43.025Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:05:43.025Z] ---> Running in 59c535d3a388 [2022-10-24T05:05:43.025Z] Removing intermediate container 59c535d3a388 [2022-10-24T05:05:43.025Z] ---> ca3404c4640d [2022-10-24T05:05:43.025Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T05:05:43.025Z] ---> Running in de3c2364d8db [2022-10-24T05:05:43.025Z] Removing intermediate container de3c2364d8db [2022-10-24T05:05:43.025Z] ---> 66cf5201d7f4 [2022-10-24T05:05:43.025Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T05:05:43.283Z] ---> Running in 3bbc6be33331 [2022-10-24T05:05:43.283Z] Removing intermediate container 3bbc6be33331 [2022-10-24T05:05:43.283Z] ---> 985d856d6c1d [2022-10-24T05:05:43.283Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:05:43.283Z] ---> Running in 4a60825470fd [2022-10-24T05:05:43.849Z] Removing intermediate container 4a60825470fd [2022-10-24T05:05:43.849Z] ---> 98244b35c61d [2022-10-24T05:05:43.849Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T05:05:43.849Z] ---> Running in 19612018ea4f [2022-10-24T05:05:44.108Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:05:45.043Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:05:45.302Z] OK: 216 MiB in 55 packages [2022-10-24T05:05:45.560Z] Removing intermediate container 19612018ea4f [2022-10-24T05:05:45.560Z] ---> 911c11ef2d89 [2022-10-24T05:05:45.560Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-24T05:05:45.560Z] ---> Running in 3d826bf42366 [2022-10-24T05:05:45.820Z] Removing intermediate container 3d826bf42366 [2022-10-24T05:05:45.820Z] ---> 159d7981929e [2022-10-24T05:05:45.820Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T05:05:45.820Z] ---> d2c5d587cc54 [2022-10-24T05:05:45.820Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:05:45.820Z] ---> Running in 14ed1a5f7e13 [2022-10-24T05:05:46.753Z] Removing intermediate container 14ed1a5f7e13 [2022-10-24T05:05:46.753Z] ---> 4cb8ed05dac1 [2022-10-24T05:05:46.753Z] Step 12/25 : COPY . . [2022-10-24T05:05:47.012Z] ---> 68320935c2fa [2022-10-24T05:05:47.012Z] Step 13/25 : RUN ${MAKE} [2022-10-24T05:05:47.012Z] ---> Running in 4dbc41f1ccc9 [2022-10-24T05:05:47.277Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.45 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-24T05:06:09.201Z] Removing intermediate container 4dbc41f1ccc9 [2022-10-24T05:06:09.201Z] ---> 4804ff637213 [2022-10-24T05:06:09.201Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T05:06:09.201Z] 3.16: Pulling from library/alpine [2022-10-24T05:06:09.201Z] 213ec9aee27d: Already exists [2022-10-24T05:06:09.201Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T05:06:09.201Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T05:06:09.201Z] ---> 9c6f07244728 [2022-10-24T05:06:09.201Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T05:06:09.201Z] ---> Running in e0f420555293 [2022-10-24T05:06:09.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:09.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:09.201Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T05:06:09.201Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T05:06:09.201Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T05:06:09.201Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T05:06:09.201Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T05:06:09.201Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T05:06:09.201Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:06:09.201Z] OK: 8 MiB in 20 packages [2022-10-24T05:06:09.201Z] Removing intermediate container e0f420555293 [2022-10-24T05:06:09.201Z] ---> db828488517f [2022-10-24T05:06:09.201Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-24T05:06:09.201Z] ---> 29444190be0c [2022-10-24T05:06:09.201Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-24T05:06:09.201Z] ---> 252f92d57d0a [2022-10-24T05:06:09.201Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-24T05:06:09.201Z] ---> cd0b7ee154bd [2022-10-24T05:06:09.201Z] Step 19/25 : EXPOSE 59993 [2022-10-24T05:06:09.461Z] ---> Running in c392477c479c [2022-10-24T05:06:09.461Z] Removing intermediate container c392477c479c [2022-10-24T05:06:09.461Z] ---> 08412fabd724 [2022-10-24T05:06:09.461Z] Step 20/25 : EXPOSE 161 [2022-10-24T05:06:09.461Z] ---> Running in 632a3d3b2701 [2022-10-24T05:06:09.721Z] Removing intermediate container 632a3d3b2701 [2022-10-24T05:06:09.721Z] ---> 6e60037bebc5 [2022-10-24T05:06:09.721Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-24T05:06:09.721Z] ---> Running in 8eed9f38036b [2022-10-24T05:06:09.721Z] Removing intermediate container 8eed9f38036b [2022-10-24T05:06:09.721Z] ---> 18e0c8ff4578 [2022-10-24T05:06:09.721Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-24T05:06:09.979Z] ---> Running in a31a0a3ca597 [2022-10-24T05:06:09.979Z] Removing intermediate container a31a0a3ca597 [2022-10-24T05:06:09.979Z] ---> e64eaef23ea8 [2022-10-24T05:06:09.979Z] Step 23/25 : LABEL arch=amd64 [2022-10-24T05:06:09.979Z] ---> Running in a8b7b969e209 [2022-10-24T05:06:10.238Z] Removing intermediate container a8b7b969e209 [2022-10-24T05:06:10.238Z] ---> 1694f6e09a15 [2022-10-24T05:06:10.238Z] Step 24/25 : LABEL git_sha=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [2022-10-24T05:06:10.238Z] ---> Running in 6bd9c80eeb79 [2022-10-24T05:06:10.238Z] Removing intermediate container 6bd9c80eeb79 [2022-10-24T05:06:10.238Z] ---> a0c4efd04e74 [2022-10-24T05:06:10.238Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T05:06:10.238Z] ---> Running in c294c4373db2 [2022-10-24T05:06:10.498Z] Removing intermediate container c294c4373db2 [2022-10-24T05:06:10.498Z] ---> 353f86cde473 [2022-10-24T05:06:10.498Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T05:06:10.498Z] Successfully built 353f86cde473 [2022-10-24T05:06:10.498Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:11.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:11.449Z] [2022-10-24T05:06:11.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:11.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:11.828Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T05:06:11.828Z] 5eb5b503b376: Pulling fs layer [2022-10-24T05:06:11.828Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T05:06:11.828Z] ec43610c2a17: Pulling fs layer [2022-10-24T05:06:11.828Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T05:06:11.828Z] 33b1e0a273af: Pulling fs layer [2022-10-24T05:06:11.828Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T05:06:11.828Z] 2f39f015ded8: Pulling fs layer [2022-10-24T05:06:11.828Z] 5d3b04190fa2: Waiting [2022-10-24T05:06:11.828Z] 33b1e0a273af: Waiting [2022-10-24T05:06:11.828Z] 2f39f015ded8: Waiting [2022-10-24T05:06:11.828Z] 3a2ae6a8a46f: Waiting [2022-10-24T05:06:11.828Z] 5c69ac0246d0: Download complete [2022-10-24T05:06:11.828Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T05:06:11.828Z] 3a2ae6a8a46f: Download complete [2022-10-24T05:06:12.087Z] 33b1e0a273af: Verifying Checksum [2022-10-24T05:06:12.087Z] 33b1e0a273af: Download complete [2022-10-24T05:06:12.087Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T05:06:12.087Z] 5d3b04190fa2: Download complete [2022-10-24T05:06:12.087Z] ec43610c2a17: Verifying Checksum [2022-10-24T05:06:12.087Z] 5eb5b503b376: Verifying Checksum [2022-10-24T05:06:12.087Z] 5eb5b503b376: Download complete [2022-10-24T05:06:13.021Z] 2f39f015ded8: Download complete [2022-10-24T05:06:13.586Z] 5eb5b503b376: Pull complete [2022-10-24T05:06:13.586Z] 5c69ac0246d0: Pull complete [2022-10-24T05:06:14.152Z] ec43610c2a17: Pull complete [2022-10-24T05:06:14.152Z] 3a2ae6a8a46f: Pull complete [2022-10-24T05:06:14.411Z] 33b1e0a273af: Pull complete [2022-10-24T05:06:14.670Z] 5d3b04190fa2: Pull complete [2022-10-24T05:06:18.850Z] 2f39f015ded8: Pull complete [2022-10-24T05:06:18.850Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T05:06:18.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:18.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:06:19.059Z] prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container [2022-10-24T05:06:19.094Z] $ 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-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T05:06:21.202Z] $ docker top 8ca360b9eec40f3b20cc14687960d051590af2ee574e1ef6757fe2a41fdb2d70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:06:21.624Z] ---> job-cost.sh [2022-10-24T05:06:21.624Z] lf-activate-venv: SKIPPING [2022-10-24T05:06:21.624Z] INFO: No Stack... [2022-10-24T05:06:22.190Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T05:06:22.448Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T05:06:22.768Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-199/archives/cost.csv [2022-10-24T05:06:22.768Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T05:06:22.811Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [2022-10-24T05:06:22.816Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] did not exist. Created. [2022-10-24T05:06:22.816Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T05:06:23.202Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T05:06:23.252Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T05:06:23.278Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T05:06:23.375Z] $ docker stop --time=1 8ca360b9eec40f3b20cc14687960d051590af2ee574e1ef6757fe2a41fdb2d70 [2022-10-24T05:06:24.557Z] $ docker rm -f 8ca360b9eec40f3b20cc14687960d051590af2ee574e1ef6757fe2a41fdb2d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T05:07:00.007Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9185 in /w/workspace/gexfoundry_device-snmp-go_PR-199 [Pipeline] { [Pipeline] ws [2022-10-24T05:07:00.055Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-10-24T05:07:00.130Z] Selected Git installation does not exist. Using Default [2022-10-24T05:07:00.131Z] The recommended git tool is: NONE [2022-10-24T05:07:05.562Z] using credential edgex-jenkins-ssh [2022-10-24T05:07:05.579Z] Cloning the remote Git repository [2022-10-24T05:07:05.622Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-24T05:07:05.699Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-10-24T05:07:05.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-24T05:07:05.871Z] > git --version # timeout=10 [2022-10-24T05:07:05.899Z] > git --version # 'git version 2.25.1' [2022-10-24T05:07:05.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:07:05.944Z] Verifying host key using known hosts file [2022-10-24T05:07:06.124Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:07:06.135Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T05:07:07.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-24T05:07:07.236Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T05:07:08.023Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-24T05:07:08.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-24T05:07:08.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:07:08.078Z] Verifying host key using known hosts file [2022-10-24T05:07:08.084Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:07:08.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T05:07:08.903Z] Merging remotes/origin/main commit c5649ddb8ffd305e282f5692e5ab02afc05b76b1 into PR head commit b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [2022-10-24T05:07:09.139Z] Merge succeeded, producing b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [2022-10-24T05:07:09.139Z] Checking out Revision b63f99bb65d0e15b86975d5c4b1513bc7943aff6 (PR-199) [2022-10-24T05:07:09.684Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-24T05:07:09.739Z] > git --version # timeout=10 [2022-10-24T05:07:09.751Z] > git --version # 'git version 2.25.1' [2022-10-24T05:07:09.781Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-10-24T05:07:08.919Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T05:07:08.940Z] > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # timeout=10 [2022-10-24T05:07:09.037Z] > git remote # timeout=10 [2022-10-24T05:07:09.053Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T05:07:09.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:07:09.076Z] Verifying host key using known hosts file [2022-10-24T05:07:09.080Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:07:09.090Z] > git merge c5649ddb8ffd305e282f5692e5ab02afc05b76b1 # timeout=10 [2022-10-24T05:07:09.117Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T05:07:09.143Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T05:07:09.162Z] > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:07:10.835Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T05:07:10.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T05:07:10.835Z] Dload Upload Total Spent Left Speed [2022-10-24T05:07:10.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-10-24T05:07:11.461Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T05:07:11.817Z] + sudo tee /etc/docker/daemon.new [2022-10-24T05:07:11.817Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T05:07:11.817Z] { [2022-10-24T05:07:11.817Z] "registry-mirrors": [ [2022-10-24T05:07:11.817Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T05:07:11.817Z] ], [2022-10-24T05:07:11.817Z] "bip": "10.250.0.254/24", [2022-10-24T05:07:11.817Z] "hosts": [ [2022-10-24T05:07:11.817Z] "tcp://0.0.0.0:5555", [2022-10-24T05:07:11.817Z] "unix:///var/run/docker.sock" [2022-10-24T05:07:11.817Z] ], [2022-10-24T05:07:11.817Z] "mtu": 1458, [2022-10-24T05:07:11.817Z] "selinux-enabled": true, [2022-10-24T05:07:11.817Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T05:07:11.817Z] } [Pipeline] sh [2022-10-24T05:07:12.165Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T05:07:12.516Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:07:30.824Z] provisioning config files... [2022-10-24T05:07:30.853Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6520829122650579807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:07:31.249Z] ---> docker-login.sh [2022-10-24T05:07:31.249Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:07:31.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:07:31.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:07:31.838Z] Configure a credential helper to remove this warning. See [2022-10-24T05:07:31.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:07:31.838Z] [2022-10-24T05:07:31.838Z] Login Succeeded [2022-10-24T05:07:31.838Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:07:32.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:07:32.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:07:32.381Z] Configure a credential helper to remove this warning. See [2022-10-24T05:07:32.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:07:32.381Z] [2022-10-24T05:07:32.381Z] Login Succeeded [2022-10-24T05:07:32.381Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:07:32.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:07:32.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:07:32.652Z] Configure a credential helper to remove this warning. See [2022-10-24T05:07:32.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:07:32.652Z] [2022-10-24T05:07:32.652Z] Login Succeeded [2022-10-24T05:07:32.652Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:07:32.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:07:32.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:07:32.925Z] Configure a credential helper to remove this warning. See [2022-10-24T05:07:32.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:07:32.925Z] [2022-10-24T05:07:32.925Z] Login Succeeded [2022-10-24T05:07:32.925Z] docker.io [2022-10-24T05:07:33.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:07:33.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:07:33.788Z] Configure a credential helper to remove this warning. See [2022-10-24T05:07:33.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:07:33.788Z] [2022-10-24T05:07:33.788Z] Login Succeeded [2022-10-24T05:07:33.788Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:07:33.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T05:07:34.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:07:34.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:07:34.175Z] ========================================================= [2022-10-24T05:07:34.175Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T05:07:34.175Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:07:34.682Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T05:07:34.950Z] Sending build context to Docker daemon 2.86MB [2022-10-24T05:07:34.950Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:07:34.950Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T05:07:35.223Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T05:07:35.223Z] 9b18e9b68314: Pulling fs layer [2022-10-24T05:07:35.223Z] d32db5db7311: Pulling fs layer [2022-10-24T05:07:35.223Z] d0c4b47475fc: Pulling fs layer [2022-10-24T05:07:35.223Z] 5831b945b038: Pulling fs layer [2022-10-24T05:07:35.223Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T05:07:35.223Z] e10730c5d714: Pulling fs layer [2022-10-24T05:07:35.223Z] 5dd5c2283517: Pulling fs layer [2022-10-24T05:07:35.223Z] d5ac0230b979: Pulling fs layer [2022-10-24T05:07:35.223Z] 86bbec2aaacd: Waiting [2022-10-24T05:07:35.223Z] e10730c5d714: Waiting [2022-10-24T05:07:35.223Z] 5dd5c2283517: Waiting [2022-10-24T05:07:35.223Z] d5ac0230b979: Waiting [2022-10-24T05:07:35.223Z] 5831b945b038: Waiting [2022-10-24T05:07:35.223Z] d0c4b47475fc: Download complete [2022-10-24T05:07:35.223Z] d32db5db7311: Download complete [2022-10-24T05:07:35.223Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T05:07:35.223Z] 86bbec2aaacd: Download complete [2022-10-24T05:07:35.223Z] e10730c5d714: Verifying Checksum [2022-10-24T05:07:35.223Z] e10730c5d714: Download complete [2022-10-24T05:07:35.223Z] 9b18e9b68314: Verifying Checksum [2022-10-24T05:07:35.223Z] 9b18e9b68314: Download complete [2022-10-24T05:07:36.198Z] 9b18e9b68314: Pull complete [2022-10-24T05:07:36.470Z] d5ac0230b979: Verifying Checksum [2022-10-24T05:07:36.470Z] d5ac0230b979: Download complete [2022-10-24T05:07:36.742Z] d32db5db7311: Pull complete [2022-10-24T05:07:37.018Z] d0c4b47475fc: Pull complete [2022-10-24T05:07:37.615Z] 5dd5c2283517: Verifying Checksum [2022-10-24T05:07:37.615Z] 5dd5c2283517: Download complete [2022-10-24T05:07:38.206Z] 5831b945b038: Verifying Checksum [2022-10-24T05:07:38.206Z] 5831b945b038: Download complete [2022-10-24T05:07:50.543Z] 5831b945b038: Pull complete [2022-10-24T05:07:50.543Z] 86bbec2aaacd: Pull complete [2022-10-24T05:07:50.543Z] e10730c5d714: Pull complete [2022-10-24T05:07:54.822Z] 5dd5c2283517: Pull complete [2022-10-24T05:07:56.768Z] d5ac0230b979: Pull complete [2022-10-24T05:07:56.768Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T05:07:56.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T05:07:56.768Z] ---> 59b3b1a385d4 [2022-10-24T05:07:56.768Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:07:58.721Z] ---> Running in b4c93fa9070c [2022-10-24T05:07:58.990Z] Removing intermediate container b4c93fa9070c [2022-10-24T05:07:58.990Z] ---> 34fada78fccf [2022-10-24T05:07:58.990Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:07:59.260Z] ---> Running in 8fd5a0d3983d [2022-10-24T05:07:59.528Z] Removing intermediate container 8fd5a0d3983d [2022-10-24T05:07:59.528Z] ---> ff52144cdd6b [2022-10-24T05:07:59.528Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T05:07:59.528Z] ---> Running in 417ab07aa2e5 [2022-10-24T05:07:59.796Z] Removing intermediate container 417ab07aa2e5 [2022-10-24T05:07:59.796Z] ---> 253295a747dd [2022-10-24T05:07:59.796Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T05:07:59.796Z] ---> Running in 5e109e2ab4cc [2022-10-24T05:08:00.381Z] Removing intermediate container 5e109e2ab4cc [2022-10-24T05:08:00.381Z] ---> 2707dad97d2f [2022-10-24T05:08:00.381Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:08:00.381Z] ---> Running in 4548d7df61aa [2022-10-24T05:08:02.329Z] Removing intermediate container 4548d7df61aa [2022-10-24T05:08:02.329Z] ---> d51bbc459155 [2022-10-24T05:08:02.329Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T05:08:02.329Z] ---> Running in 6b4a10169a19 [2022-10-24T05:08:03.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:08:03.876Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:08:04.844Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T05:08:05.113Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T05:08:05.113Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T05:08:05.383Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T05:08:05.383Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:08:05.383Z] OK: 226 MiB in 55 packages [2022-10-24T05:08:06.342Z] Removing intermediate container 6b4a10169a19 [2022-10-24T05:08:06.342Z] ---> decf47dd5ef6 [2022-10-24T05:08:06.342Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-24T05:08:06.611Z] ---> Running in 5ab2ed30840e [2022-10-24T05:08:06.878Z] Removing intermediate container 5ab2ed30840e [2022-10-24T05:08:06.878Z] ---> 936f6c39f7af [2022-10-24T05:08:06.878Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T05:08:07.146Z] ---> 8cb18ed23717 [2022-10-24T05:08:07.146Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:08:07.419Z] ---> Running in 9c2a5a23d746 [2022-10-24T05:08:54.268Z] Removing intermediate container 9c2a5a23d746 [2022-10-24T05:08:54.268Z] ---> ff4d8505e9c9 [2022-10-24T05:08:54.268Z] Step 12/13 : COPY . . [2022-10-24T05:08:54.538Z] ---> cd5f68371107 [2022-10-24T05:08:54.538Z] Step 13/13 : RUN ${MAKE} [2022-10-24T05:08:54.538Z] ---> Running in 61ad655748d3 [2022-10-24T05:08:55.503Z] noop [2022-10-24T05:08:56.487Z] Removing intermediate container 61ad655748d3 [2022-10-24T05:08:56.487Z] ---> 1758727507cd [2022-10-24T05:08:56.487Z] Successfully built 1758727507cd [2022-10-24T05:08:56.487Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:08:56.972Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T05:08:56.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:08:57.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2022-10-24T05:08:57.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T05:08:58.608Z] $ docker top 9e2aa9d288cd38403150d53b88c9121a242fe3f2beba059836988c2867651106 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:08:59.521Z] + go version [2022-10-24T05:08:59.521Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T05:08:59.567Z] $ docker stop --time=1 9e2aa9d288cd38403150d53b88c9121a242fe3f2beba059836988c2867651106 [2022-10-24T05:09:01.214Z] $ docker rm -f 9e2aa9d288cd38403150d53b88c9121a242fe3f2beba059836988c2867651106 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:09:02.043Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T05:09:02.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:09:02.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2022-10-24T05:09:02.377Z] $ 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 [2022-10-24T05:09:03.580Z] $ docker top d269b6abcf8f0752e5b9ed1dce67773841239035cfbd60346a6aae5fe37707d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:09:04.146Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T05:09:04.824Z] + make test [2022-10-24T05:09:05.092Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T05:09:06.501Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-24T05:10:43.155Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-24T05:10:43.155Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2022-10-24T05:10:43.155Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T05:10:43.155Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T05:10:58.180Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T05:10:58.180Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T05:10:58.180Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T05:10:58.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T05:10:58.525Z] $ docker stop --time=1 d269b6abcf8f0752e5b9ed1dce67773841239035cfbd60346a6aae5fe37707d5 [2022-10-24T05:11:00.353Z] $ docker rm -f d269b6abcf8f0752e5b9ed1dce67773841239035cfbd60346a6aae5fe37707d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:11:01.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T05:11:01.411Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T05:11:01.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:11:02.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T05:11:02.786Z] + ls -al . [2022-10-24T05:11:02.786Z] total 168 [2022-10-24T05:11:02.786Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:09 . [2022-10-24T05:11:02.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 .. [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 05:07 .dockerignore [2022-10-24T05:11:02.786Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:07 .git [2022-10-24T05:11:02.786Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 .github [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 24 05:07 .gitignore [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:07 .golangci.yml [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 24 05:07 Attribution.txt [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 24 05:07 CHANGELOG.md [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 24 05:07 Dockerfile [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:07 GOVERNANCE.md [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 05:07 Jenkinsfile [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:07 LICENSE [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 24 05:07 Makefile [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 05:07 OWNERS.md [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 24 05:07 README.md [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:04 VERSION [2022-10-24T05:11:02.786Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:07 bin [2022-10-24T05:11:02.786Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 cmd [2022-10-24T05:11:02.786Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 24 05:10 coverage.out [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 24 05:07 go.mod [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 24 05:07 go.sum [2022-10-24T05:11:02.786Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 internal [2022-10-24T05:11:02.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 snap [2022-10-24T05:11:02.786Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:11:03.203Z] + 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=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 --label arch=arm64 --label version=0.0.0 . [2022-10-24T05:11:03.470Z] Sending build context to Docker daemon 2.868MB [2022-10-24T05:11:03.470Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:11:03.470Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T05:11:03.470Z] ---> 1758727507cd [2022-10-24T05:11:03.470Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:11:04.432Z] ---> Running in 2c6a0e880a13 [2022-10-24T05:11:04.701Z] Removing intermediate container 2c6a0e880a13 [2022-10-24T05:11:04.701Z] ---> 88d175a7d3ae [2022-10-24T05:11:04.701Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:11:04.701Z] ---> Running in 1d054c0ef444 [2022-10-24T05:11:04.969Z] Removing intermediate container 1d054c0ef444 [2022-10-24T05:11:04.969Z] ---> 11909896b5e6 [2022-10-24T05:11:04.969Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T05:11:04.969Z] ---> Running in 63a863c48627 [2022-10-24T05:11:05.549Z] Removing intermediate container 63a863c48627 [2022-10-24T05:11:05.549Z] ---> 7ef125f5abe9 [2022-10-24T05:11:05.549Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T05:11:05.549Z] ---> Running in 36792719d906 [2022-10-24T05:11:05.829Z] Removing intermediate container 36792719d906 [2022-10-24T05:11:05.829Z] ---> 11c0e6b148d4 [2022-10-24T05:11:05.829Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:11:05.829Z] ---> Running in ca407a14f26e [2022-10-24T05:11:07.772Z] Removing intermediate container ca407a14f26e [2022-10-24T05:11:07.772Z] ---> 2f2ec46a45ef [2022-10-24T05:11:07.772Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T05:11:07.772Z] ---> Running in 81c931c35d2a [2022-10-24T05:11:08.359Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:11:09.317Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:11:10.281Z] OK: 226 MiB in 55 packages [2022-10-24T05:11:11.239Z] Removing intermediate container 81c931c35d2a [2022-10-24T05:11:11.239Z] ---> ba2e974d06f8 [2022-10-24T05:11:11.239Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-24T05:11:11.239Z] ---> Running in c18a00b306d8 [2022-10-24T05:11:11.828Z] Removing intermediate container c18a00b306d8 [2022-10-24T05:11:11.828Z] ---> d4ecf8b53562 [2022-10-24T05:11:11.828Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T05:11:12.421Z] ---> a7ad207d81d8 [2022-10-24T05:11:12.421Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:11:12.421Z] ---> Running in 1ff2e32d2fc5 [2022-10-24T05:11:15.013Z] Removing intermediate container 1ff2e32d2fc5 [2022-10-24T05:11:15.013Z] ---> 50e078592932 [2022-10-24T05:11:15.013Z] Step 12/25 : COPY . . [2022-10-24T05:11:15.612Z] ---> 8d535646c7b7 [2022-10-24T05:11:15.612Z] Step 13/25 : RUN ${MAKE} [2022-10-24T05:11:15.612Z] ---> Running in 186ea99678c3 [2022-10-24T05:11:17.041Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.45 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-24T05:14:08.856Z] Removing intermediate container 186ea99678c3 [2022-10-24T05:14:08.856Z] ---> 095cba9de32f [2022-10-24T05:14:08.856Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T05:14:08.856Z] 3.16: Pulling from library/alpine [2022-10-24T05:14:08.856Z] 9b18e9b68314: Already exists [2022-10-24T05:14:08.856Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T05:14:08.856Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T05:14:08.856Z] ---> a6215f271958 [2022-10-24T05:14:08.856Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T05:14:08.856Z] ---> Running in 0450c6210c6f [2022-10-24T05:14:08.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:14:08.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:14:08.856Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T05:14:08.856Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T05:14:08.856Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T05:14:08.856Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T05:14:08.856Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T05:14:08.856Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T05:14:08.856Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:14:08.856Z] OK: 8 MiB in 20 packages [2022-10-24T05:14:08.856Z] Removing intermediate container 0450c6210c6f [2022-10-24T05:14:08.856Z] ---> d32af3be537b [2022-10-24T05:14:08.856Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-24T05:14:09.818Z] ---> 458df5677182 [2022-10-24T05:14:09.818Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-24T05:14:10.405Z] ---> 3131e386af2d [2022-10-24T05:14:10.405Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-24T05:14:10.993Z] ---> 7920ac1a180b [2022-10-24T05:14:10.993Z] Step 19/25 : EXPOSE 59993 [2022-10-24T05:14:10.993Z] ---> Running in a99a7957cdbb [2022-10-24T05:14:11.260Z] Removing intermediate container a99a7957cdbb [2022-10-24T05:14:11.260Z] ---> 170c78846eec [2022-10-24T05:14:11.260Z] Step 20/25 : EXPOSE 161 [2022-10-24T05:14:11.260Z] ---> Running in 3734c004f526 [2022-10-24T05:14:11.850Z] Removing intermediate container 3734c004f526 [2022-10-24T05:14:11.850Z] ---> 8c34f6f01d8a [2022-10-24T05:14:11.850Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-24T05:14:11.850Z] ---> Running in 192cef0273f8 [2022-10-24T05:14:12.119Z] Removing intermediate container 192cef0273f8 [2022-10-24T05:14:12.119Z] ---> c1b52897b521 [2022-10-24T05:14:12.119Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-24T05:14:12.119Z] ---> Running in 27ae68f9560e [2022-10-24T05:14:12.387Z] Removing intermediate container 27ae68f9560e [2022-10-24T05:14:12.387Z] ---> e412b3edc56b [2022-10-24T05:14:12.387Z] Step 23/25 : LABEL arch=arm64 [2022-10-24T05:14:12.664Z] ---> Running in d06e95913958 [2022-10-24T05:14:12.934Z] Removing intermediate container d06e95913958 [2022-10-24T05:14:12.934Z] ---> e43fdf01173d [2022-10-24T05:14:12.934Z] Step 24/25 : LABEL git_sha=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [2022-10-24T05:14:12.934Z] ---> Running in 734dc41d3922 [2022-10-24T05:14:13.201Z] Removing intermediate container 734dc41d3922 [2022-10-24T05:14:13.201Z] ---> c285ae19e43f [2022-10-24T05:14:13.201Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T05:14:13.201Z] ---> Running in 10567c1db495 [2022-10-24T05:14:13.789Z] Removing intermediate container 10567c1db495 [2022-10-24T05:14:13.789Z] ---> a1921916d6aa [2022-10-24T05:14:13.789Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T05:14:13.789Z] Successfully built a1921916d6aa [2022-10-24T05:14:13.789Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:14:14.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:14:14.600Z] [2022-10-24T05:14:14.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:14:15.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:14:15.013Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T05:14:15.013Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T05:14:15.013Z] 04944245beec: Pulling fs layer [2022-10-24T05:14:15.013Z] 699f458cf7ca: Pulling fs layer [2022-10-24T05:14:15.013Z] 765212b225bb: Pulling fs layer [2022-10-24T05:14:15.013Z] f23df028b6ca: Pulling fs layer [2022-10-24T05:14:15.013Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T05:14:15.013Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T05:14:15.013Z] 765212b225bb: Waiting [2022-10-24T05:14:15.013Z] f23df028b6ca: Waiting [2022-10-24T05:14:15.013Z] d65c8cfc05b1: Waiting [2022-10-24T05:14:15.013Z] 2437ff75d9bd: Waiting [2022-10-24T05:14:15.286Z] 04944245beec: Verifying Checksum [2022-10-24T05:14:15.286Z] 04944245beec: Download complete [2022-10-24T05:14:15.286Z] 765212b225bb: Verifying Checksum [2022-10-24T05:14:15.286Z] 765212b225bb: Download complete [2022-10-24T05:14:15.286Z] f23df028b6ca: Verifying Checksum [2022-10-24T05:14:15.286Z] f23df028b6ca: Download complete [2022-10-24T05:14:15.286Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T05:14:15.286Z] d65c8cfc05b1: Download complete [2022-10-24T05:14:15.555Z] 699f458cf7ca: Verifying Checksum [2022-10-24T05:14:15.555Z] 699f458cf7ca: Download complete [2022-10-24T05:14:15.825Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T05:14:15.825Z] 8998bd30e6a1: Download complete [2022-10-24T05:14:18.420Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T05:14:18.420Z] 2437ff75d9bd: Download complete [2022-10-24T05:14:19.837Z] 8998bd30e6a1: Pull complete [2022-10-24T05:14:20.422Z] 04944245beec: Pull complete [2022-10-24T05:14:21.837Z] 699f458cf7ca: Pull complete [2022-10-24T05:14:21.837Z] 765212b225bb: Pull complete [2022-10-24T05:14:22.880Z] f23df028b6ca: Pull complete [2022-10-24T05:14:22.880Z] d65c8cfc05b1: Pull complete [2022-10-24T05:14:37.979Z] 2437ff75d9bd: Pull complete [2022-10-24T05:14:37.979Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T05:14:37.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:14:37.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:14:38.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2022-10-24T05:14:38.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T05:14:41.270Z] $ docker top 35a5bf984b2c44b19ab94a14864e2dda15a5e97e212f0b106b78bafa79a143f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:42.166Z] ---> job-cost.sh [2022-10-24T05:14:42.166Z] lf-activate-venv: SKIPPING [2022-10-24T05:14:42.166Z] INFO: No Stack... [2022-10-24T05:14:42.432Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T05:14:43.393Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T05:14:44.060Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-10-24T05:14:44.060Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T05:14:44.151Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [2022-10-24T05:14:44.157Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] did not exist. Created. [2022-10-24T05:14:44.157Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T05:14:44.887Z] /w/workspace/device-snmp-go/1@tmp/durable-f3c8aa30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T05:14:45.574Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T05:14:45.609Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T05:14:45.659Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T05:14:45.674Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T05:14:45.773Z] $ docker stop --time=1 35a5bf984b2c44b19ab94a14864e2dda15a5e97e212f0b106b78bafa79a143f8 [2022-10-24T05:14:47.283Z] $ docker rm -f 35a5bf984b2c44b19ab94a14864e2dda15a5e97e212f0b106b78bafa79a143f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-24T05:14:48.304Z] provisioning config files... [2022-10-24T05:14:48.311Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config1637968604921404689tmp [Pipeline] { [Pipeline] sh [2022-10-24T05:14:48.650Z] + set +x [2022-10-24T05:14:48.650Z] + bash -s -- [2022-10-24T05:14:48.650Z] + curl -s https://codecov.io/bash [2022-10-24T05:14:48.650Z] [2022-10-24T05:14:48.650Z] _____ _ [2022-10-24T05:14:48.650Z] / ____| | | [2022-10-24T05:14:48.650Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T05:14:48.650Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T05:14:48.650Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T05:14:48.650Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T05:14:48.650Z] Bash-1.0.6 [2022-10-24T05:14:48.650Z] [2022-10-24T05:14:48.650Z] [2022-10-24T05:14:48.650Z] ==> git version 2.25.1 found [2022-10-24T05:14:48.650Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-24T05:14:48.650Z] Release-Date: 2020-01-08 [2022-10-24T05:14:48.650Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-24T05:14:48.650Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T05:14:48.650Z] ==> Jenkins CI detected. [2022-10-24T05:14:48.650Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-199 [2022-10-24T05:14:48.650Z] project root: . [2022-10-24T05:14:48.650Z] --> token set from env [2022-10-24T05:14:48.650Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T05:14:48.650Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T05:14:48.650Z] ==> Python coveragepy not found [2022-10-24T05:14:48.650Z] ==> Searching for coverage reports in: [2022-10-24T05:14:48.650Z] + . [2022-10-24T05:14:48.650Z] -> Found 1 reports [2022-10-24T05:14:48.650Z] ==> Detecting git/mercurial file structure [2022-10-24T05:14:48.650Z] ==> Reading reports [2022-10-24T05:14:48.650Z] + ./coverage.out bytes=7631 [2022-10-24T05:14:48.650Z] ==> Appending adjustments [2022-10-24T05:14:48.650Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T05:14:48.650Z] + Found adjustments [2022-10-24T05:14:48.910Z] ==> Gzipping contents [2022-10-24T05:14:48.910Z] 4.0K /tmp/codecov.dvBmD6.gz [2022-10-24T05:14:48.910Z] ==> Uploading reports [2022-10-24T05:14:48.910Z] url: https://codecov.io [2022-10-24T05:14:48.910Z] query: branch=PR-199&commit=b63f99bb65d0e15b86975d5c4b1513bc7943aff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2022-10-24T05:14:48.910Z] -> Pinging Codecov [2022-10-24T05:14:48.910Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-199&commit=b63f99bb65d0e15b86975d5c4b1513bc7943aff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2022-10-24T05:14:49.171Z] -> Uploading to [2022-10-24T05:14:49.171Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/6C56EA5C29638FB4528AC87E60AF5AE0/b63f99bb65d0e15b86975d5c4b1513bc7943aff6/08ac07a2-5c50-494e-a7fd-ef7bb7fc7c12.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T051448Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd38ca7def65e477d54cce84bcca207ef5a864a60a83e9c9c2e1149d1ce5b379 [2022-10-24T05:14:49.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T05:14:49.171Z] Dload Upload Total Spent Left Speed [2022-10-24T05:14:49.430Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 5779 --:--:-- --:--:-- --:--:-- 5779 [2022-10-24T05:14:49.430Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] } [2022-10-24T05:14:49.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-24T05:14:51.221Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-199/archives ] [2022-10-24T05:14:51.221Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-199/archives [2022-10-24T05:14:51.221Z] total 16 [2022-10-24T05:14:51.221Z] drwxr-xr-x 3 root root 4096 Oct 24 05:06 . [2022-10-24T05:14:51.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:06 .. [2022-10-24T05:14:51.221Z] drwxr-xr-x 2 root root 4096 Oct 24 05:06 cost [2022-10-24T05:14:51.221Z] -rw-r--r-- 1 root root 86 Oct 24 05:06 cost.csv [2022-10-24T05:14:51.221Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-199/archives [2022-10-24T05:14:51.221Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-199/archives [2022-10-24T05:14:51.221Z] total 16 [2022-10-24T05:14:51.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:06 . [2022-10-24T05:14:51.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:06 .. [2022-10-24T05:14:51.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 05:06 cost [2022-10-24T05:14:51.221Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:51.547Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:52.432Z] ---> package-listing.sh [2022-10-24T05:14:52.432Z] ++ facter osfamily [2022-10-24T05:14:52.432Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T05:14:52.691Z] + OS_FAMILY=debian [2022-10-24T05:14:52.691Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-199 [2022-10-24T05:14:52.691Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T05:14:52.691Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T05:14:52.691Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T05:14:52.691Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T05:14:52.691Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-199 ']' [2022-10-24T05:14:52.691Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T05:14:52.691Z] + case "${OS_FAMILY}" in [2022-10-24T05:14:52.691Z] + dpkg -l [2022-10-24T05:14:52.691Z] + grep '^ii' [2022-10-24T05:14:52.691Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T05:14:52.691Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T05:14:52.691Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T05:14:52.691Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-199 ']' [2022-10-24T05:14:52.691Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-199/archives/ [2022-10-24T05:14:52.691Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-199/archives/ [Pipeline] echo [2022-10-24T05:14:52.725Z] 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T05:14:53.018Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:14:53.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:14:53.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:14:53.788Z] prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container [2022-10-24T05:14:53.831Z] $ 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-199/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-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T05:14:54.079Z] $ docker top ab1422652f44b5a882292d66367376b8cbc2b4e82ff7e89b45a34dcafcb810a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:14:54.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T05:14:54.768Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T05:14:55.075Z] + ls /var/log/sa-host [2022-10-24T05:14:55.075Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:14:55.206Z] provisioning config files... [2022-10-24T05:14:55.217Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config2719510490748893221tmp [Pipeline] { [Pipeline] echo [2022-10-24T05:14:55.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:55.579Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T05:14:55.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:56.018Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T05:14:56.051Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:56.362Z] ---> sudo-logs.sh [2022-10-24T05:14:56.362Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T05:14:56.441Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:56.748Z] ---> job-cost.sh [2022-10-24T05:14:56.748Z] lf-activate-venv: SKIPPING [2022-10-24T05:14:56.748Z] DEBUG: total: 0.2199999988079071 [2022-10-24T05:14:56.748Z] INFO: Retrieving Stack Cost... [2022-10-24T05:14:57.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T05:14:57.575Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T05:14:57.607Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:14:57.912Z] ---> logs-deploy.sh [2022-10-24T05:14:57.912Z] lf-activate-venv: SKIPPING [2022-10-24T05:14:57.912Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-199/1 [2022-10-24T05:14:57.912Z] INFO: archiving workspace using pattern(s): [2022-10-24T05:14:58.847Z] Archives upload complete. [2022-10-24T05:14:58.847Z] INFO: archiving logs to Nexus [2022-10-24T05:14:59.414Z] ---> uname -a: [2022-10-24T05:14:59.414Z] Linux prd-ubuntu20-04-docker-8c-8g-9180 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-24T05:14:59.414Z] [2022-10-24T05:14:59.414Z]