Pull request #194 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7dd6deb7c2fbdec19c5544181b465eabd69939b1+63e28895b9126edb3139522702b6e6ce592ce3b8 (5cfffc18977bd2608e112002f9f4744d9c4465ba) 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-ssh5164923351445812715.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15487867785149506294.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-194/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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5390623441796946130.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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7783636850150907997.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh76464980437257329.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-194/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-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14639287965577625074.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-6821 in /w/workspace/gexfoundry_device-snmp-go_PR-194 [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-194 # 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/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63e28895b9126edb3139522702b6e6ce592ce3b8 into PR head commit 7dd6deb7c2fbdec19c5544181b465eabd69939b1 Merge succeeded, producing 7dd6deb7c2fbdec19c5544181b465eabd69939b1 Checking out Revision 7dd6deb7c2fbdec19c5544181b465eabd69939b1 (PR-194) 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 bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T05:04:20.093Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T05:04:20.271Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T05:04:20.367Z] ========================================================= [2022-10-03T05:04:20.367Z] EdgeX Global Pipelines Version Info [2022-10-03T05:04:20.367Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # 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 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # timeout=10 [2022-10-03T05:04:21.127Z] ------------------- [2022-10-03T05:04:21.127Z] stable info: [2022-10-03T05:04:21.127Z] ------------------- [2022-10-03T05:04:21.127Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T05:04:21.127Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T05:04:21.127Z] Message: update stable to v1.0.239 [2022-10-03T05:04:21.699Z] ------------------- [2022-10-03T05:04:21.699Z] experimental info: [2022-10-03T05:04:21.699Z] ------------------- [2022-10-03T05:04:21.699Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T05:04:21.699Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T05:04:21.699Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T05:04:22.003Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-03T05:04:22.042Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-03T05:04:22.080Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T05:04:22.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T05:04:22.154Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T05:04:22.193Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T05:04:22.232Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T05:04:22.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T05:04:22.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T05:04:22.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T05:04:22.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T05:04:22.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-03T05:04:22.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T05:04:22.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T05:04:22.533Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T05:04:22.573Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T05:04:22.611Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T05:04:22.645Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T05:04:22.680Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T05:04:22.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T05:04:22.754Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T05:04:22.794Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T05:04:22.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T05:04:22.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T05:04:22.900Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T05:04:22.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T05:04:22.982Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T05:04:23.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo [2022-10-03T05:04:23.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo [2022-10-03T05:04:23.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo [2022-10-03T05:04:23.144Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] echo [2022-10-03T05:04:23.181Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7dd6deb [Pipeline] echo [2022-10-03T05:04:23.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:04:23.327Z] provisioning config files... [2022-10-03T05:04:23.339Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/config14367528418943300983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:04:23.687Z] ---> docker-login.sh [2022-10-03T05:04:23.687Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:04:23.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:23.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:23.948Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:23.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:23.948Z] [2022-10-03T05:04:23.948Z] Login Succeeded [2022-10-03T05:04:23.948Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:04:23.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:23.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:23.948Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:23.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:23.948Z] [2022-10-03T05:04:23.948Z] Login Succeeded [2022-10-03T05:04:23.948Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:04:24.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:24.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:24.209Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:24.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:24.209Z] [2022-10-03T05:04:24.209Z] Login Succeeded [2022-10-03T05:04:24.209Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:04:24.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:24.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:24.209Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:24.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:24.209Z] [2022-10-03T05:04:24.209Z] Login Succeeded [2022-10-03T05:04:24.209Z] docker.io [2022-10-03T05:04:24.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:24.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:24.784Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:24.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:24.784Z] [2022-10-03T05:04:24.784Z] Login Succeeded [2022-10-03T05:04:24.784Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:04:24.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T05:04:25.415Z] + git rev-list -1 --merges 7dd6deb7c2fbdec19c5544181b465eabd69939b1~1..7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] echo [2022-10-03T05:04:25.462Z] -----------> git rev-list -1 --merges 7dd6deb7c2fbdec19c5544181b465eabd69939b1~1..7dd6deb7c2fbdec19c5544181b465eabd69939b1 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [false] [Pipeline] sh [2022-10-03T05:04:25.779Z] + git log --format=format:%s -1 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] echo [2022-10-03T05:04:25.815Z] ========================================================= [2022-10-03T05:04:25.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T05:04:25.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:04:26.244Z] + git log --format=format:%s -1 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] echo [2022-10-03T05:04:26.278Z] [semverPrep] GIT_COMMIT: 7dd6deb7c2fbdec19c5544181b465eabd69939b1, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-03T05:04:26.312Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T05:04:26.687Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T05:04:26.687Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T05:04:26.687Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T05:04:26.687Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T05:04:26.687Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T05:04:26.687Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T05:04:26.687Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:27.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:04:27.122Z] [2022-10-03T05:04:27.122Z] 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-03T05:04:27.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:04:27.505Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T05:04:27.505Z] b85a868b505f: Pulling fs layer [2022-10-03T05:04:27.505Z] e2be974225ed: Pulling fs layer [2022-10-03T05:04:27.505Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T05:04:27.505Z] 988bab9f4d93: Pulling fs layer [2022-10-03T05:04:27.505Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T05:04:27.505Z] eaf3925da568: Pulling fs layer [2022-10-03T05:04:27.505Z] bab4dde63d76: Pulling fs layer [2022-10-03T05:04:27.505Z] bde34c3a00c8: Pulling fs layer [2022-10-03T05:04:27.505Z] b352a97aabf1: Pulling fs layer [2022-10-03T05:04:27.505Z] 4872d77fe225: Pulling fs layer [2022-10-03T05:04:27.505Z] 5851b861e8e6: Pulling fs layer [2022-10-03T05:04:27.505Z] eaf3925da568: Waiting [2022-10-03T05:04:27.505Z] 1469e6f7b9e6: Waiting [2022-10-03T05:04:27.505Z] bab4dde63d76: Waiting [2022-10-03T05:04:27.505Z] 4872d77fe225: Waiting [2022-10-03T05:04:27.505Z] bde34c3a00c8: Waiting [2022-10-03T05:04:27.505Z] e2be974225ed: Download complete [2022-10-03T05:04:27.505Z] 988bab9f4d93: Verifying Checksum [2022-10-03T05:04:27.505Z] 988bab9f4d93: Download complete [2022-10-03T05:04:27.765Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T05:04:27.765Z] 1469e6f7b9e6: Download complete [2022-10-03T05:04:27.765Z] eaf3925da568: Verifying Checksum [2022-10-03T05:04:27.765Z] eaf3925da568: Download complete [2022-10-03T05:04:27.765Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T05:04:27.765Z] 339a4e72a1f5: Download complete [2022-10-03T05:04:27.765Z] bde34c3a00c8: Download complete [2022-10-03T05:04:27.765Z] b352a97aabf1: Download complete [2022-10-03T05:04:27.765Z] 4872d77fe225: Verifying Checksum [2022-10-03T05:04:27.765Z] 4872d77fe225: Download complete [2022-10-03T05:04:27.765Z] 5851b861e8e6: Verifying Checksum [2022-10-03T05:04:27.765Z] 5851b861e8e6: Download complete [2022-10-03T05:04:27.765Z] b85a868b505f: Verifying Checksum [2022-10-03T05:04:27.765Z] b85a868b505f: Download complete [2022-10-03T05:04:28.024Z] bab4dde63d76: Verifying Checksum [2022-10-03T05:04:28.024Z] bab4dde63d76: Download complete [2022-10-03T05:04:28.959Z] b85a868b505f: Pull complete [2022-10-03T05:04:28.959Z] e2be974225ed: Pull complete [2022-10-03T05:04:29.527Z] 339a4e72a1f5: Pull complete [2022-10-03T05:04:29.527Z] 988bab9f4d93: Pull complete [2022-10-03T05:04:29.785Z] 1469e6f7b9e6: Pull complete [2022-10-03T05:04:29.785Z] eaf3925da568: Pull complete [2022-10-03T05:04:31.685Z] bab4dde63d76: Pull complete [2022-10-03T05:04:31.685Z] bde34c3a00c8: Pull complete [2022-10-03T05:04:31.685Z] b352a97aabf1: Pull complete [2022-10-03T05:04:31.685Z] 4872d77fe225: Pull complete [2022-10-03T05:04:31.685Z] 5851b861e8e6: Pull complete [2022-10-03T05:04:31.685Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T05:04:31.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:04:31.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:04:31.891Z] prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container [2022-10-03T05:04:31.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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-03T05:04:34.019Z] $ docker top 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 -eo pid,comm [2022-10-03T05:04:34.074Z] 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-03T05:04:34.074Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T05:04:34.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T05:04:34.197Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T05:04:34.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T05:04:34.301Z] $ docker exec 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent [2022-10-03T05:04:34.411Z] SSH_AUTH_SOCK=/tmp/ssh-so9nygDBflCO/agent.32 [2022-10-03T05:04:34.411Z] SSH_AGENT_PID=38 [2022-10-03T05:04:34.417Z] Running ssh-add (command line suppressed) [2022-10-03T05:04:34.518Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_13802230796050496379.key (/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_13802230796050496379.key) [2022-10-03T05:04:34.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T05:04:34.874Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T05:04:34.894Z] $ docker exec --env ******** --env ******** 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent -k [2022-10-03T05:04:34.988Z] unset SSH_AUTH_SOCK; [2022-10-03T05:04:34.988Z] unset SSH_AGENT_PID; [2022-10-03T05:04:34.988Z] echo Agent pid 38 killed; [2022-10-03T05:04:35.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T05:04:35.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T05:04:35.088Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T05:04:35.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T05:04:35.198Z] $ docker exec 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent [2022-10-03T05:04:35.305Z] SSH_AUTH_SOCK=/tmp/ssh-n6KtXR30kPcM/agent.70 [2022-10-03T05:04:35.305Z] SSH_AGENT_PID=76 [2022-10-03T05:04:35.310Z] Running ssh-add (command line suppressed) [2022-10-03T05:04:35.407Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_5517644689092735450.key (/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_5517644689092735450.key) [2022-10-03T05:04:35.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T05:04:35.758Z] + git semver init [2022-10-03T05:04:36.037Z] 2022-10-03 05:04:35,960 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T05:04:36.037Z] 2022-10-03 05:04:35,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver [2022-10-03T05:04:36.037Z] 2022-10-03 05:04:35,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-194/.semver [2022-10-03T05:04:36.037Z] 2022-10-03 05:04:35,962 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-194, universal_newlines=False, shell=None, istream=None) [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,843 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-194/.git/info/exclude [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,844 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver/PR-194 with force:False [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,844 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver/PR-194 [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,849 [execute] INFO git cat-file --batch-check [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,857 [execute] INFO git cat-file --batch [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T05:04:36.987Z] 2022-10-03 05:04:36,863 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-194/.semver/PR-194 [2022-10-03T05:04:36.987Z] 0.0.0 [Pipeline] } [2022-10-03T05:04:37.012Z] $ docker exec --env ******** --env ******** 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent -k [2022-10-03T05:04:37.117Z] unset SSH_AUTH_SOCK; [2022-10-03T05:04:37.117Z] unset SSH_AGENT_PID; [2022-10-03T05:04:37.118Z] echo Agent pid 76 killed; [2022-10-03T05:04:37.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T05:04:37.549Z] + git semver [Pipeline] } [2022-10-03T05:04:37.828Z] $ docker stop --time=1 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 [2022-10-03T05:04:39.112Z] $ docker rm -f 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:04:39.498Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T05:04:39.721Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T05:04:39.737Z] [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-03T05:04:40.345Z] provisioning config files... [2022-10-03T05:04:40.354Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/config5807500669554176909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:04:40.702Z] ---> docker-login.sh [2022-10-03T05:04:40.702Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:04:40.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:40.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:40.702Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:40.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:40.702Z] [2022-10-03T05:04:40.702Z] Login Succeeded [2022-10-03T05:04:40.702Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:04:40.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:40.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:40.702Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:40.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:40.702Z] [2022-10-03T05:04:40.702Z] Login Succeeded [2022-10-03T05:04:40.702Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:04:40.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:40.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:40.965Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:40.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:40.965Z] [2022-10-03T05:04:40.965Z] Login Succeeded [2022-10-03T05:04:40.965Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:04:40.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:40.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:40.965Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:40.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:40.965Z] [2022-10-03T05:04:40.965Z] Login Succeeded [2022-10-03T05:04:40.965Z] docker.io [2022-10-03T05:04:41.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:41.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:41.484Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:41.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:41.484Z] [2022-10-03T05:04:41.484Z] Login Succeeded [2022-10-03T05:04:41.484Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:04:41.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T05:04:41.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:04:41.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:04:41.750Z] ========================================================= [2022-10-03T05:04:41.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T05:04:41.750Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:42.215Z] + 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-03T05:04:42.215Z] Sending build context to Docker daemon 5.514MB [2022-10-03T05:04:42.215Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:04:42.215Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T05:04:42.215Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T05:04:42.215Z] 2408cc74d12b: Pulling fs layer [2022-10-03T05:04:42.215Z] ea60b727a1ce: Pulling fs layer [2022-10-03T05:04:42.215Z] 30c4a7721957: Pulling fs layer [2022-10-03T05:04:42.215Z] 370296b7ddb6: Pulling fs layer [2022-10-03T05:04:42.215Z] 7c6cee850709: Pulling fs layer [2022-10-03T05:04:42.215Z] aa9baa53a306: Pulling fs layer [2022-10-03T05:04:42.215Z] 8b309c321861: Pulling fs layer [2022-10-03T05:04:42.215Z] d8d76fd02f46: Pulling fs layer [2022-10-03T05:04:42.215Z] fa31f396de31: Pulling fs layer [2022-10-03T05:04:42.215Z] aa9baa53a306: Waiting [2022-10-03T05:04:42.215Z] 370296b7ddb6: Waiting [2022-10-03T05:04:42.215Z] 8b309c321861: Waiting [2022-10-03T05:04:42.215Z] 7c6cee850709: Waiting [2022-10-03T05:04:42.215Z] d8d76fd02f46: Waiting [2022-10-03T05:04:42.215Z] fa31f396de31: Waiting [2022-10-03T05:04:42.215Z] 30c4a7721957: Verifying Checksum [2022-10-03T05:04:42.215Z] 30c4a7721957: Download complete [2022-10-03T05:04:42.215Z] ea60b727a1ce: Verifying Checksum [2022-10-03T05:04:42.215Z] ea60b727a1ce: Download complete [2022-10-03T05:04:42.215Z] 7c6cee850709: Download complete [2022-10-03T05:04:42.215Z] aa9baa53a306: Download complete [2022-10-03T05:04:42.481Z] 2408cc74d12b: Verifying Checksum [2022-10-03T05:04:42.481Z] 2408cc74d12b: Download complete [2022-10-03T05:04:42.481Z] 8b309c321861: Download complete [2022-10-03T05:04:42.481Z] 2408cc74d12b: Pull complete [2022-10-03T05:04:42.754Z] ea60b727a1ce: Pull complete [2022-10-03T05:04:42.754Z] 30c4a7721957: Pull complete [2022-10-03T05:04:43.325Z] 370296b7ddb6: Verifying Checksum [2022-10-03T05:04:43.325Z] 370296b7ddb6: Download complete [2022-10-03T05:04:43.325Z] fa31f396de31: Verifying Checksum [2022-10-03T05:04:43.325Z] fa31f396de31: Download complete [2022-10-03T05:04:43.325Z] d8d76fd02f46: Verifying Checksum [2022-10-03T05:04:43.325Z] d8d76fd02f46: Download complete [2022-10-03T05:04:47.506Z] 370296b7ddb6: Pull complete [2022-10-03T05:04:47.506Z] 7c6cee850709: Pull complete [2022-10-03T05:04:47.506Z] aa9baa53a306: Pull complete [2022-10-03T05:04:47.506Z] 8b309c321861: Pull complete [2022-10-03T05:04:48.878Z] d8d76fd02f46: Pull complete [2022-10-03T05:04:49.810Z] fa31f396de31: Pull complete [2022-10-03T05:04:49.810Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T05:04:49.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T05:04:49.810Z] ---> cef68f9685f8 [2022-10-03T05:04:49.810Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:04:53.097Z] ---> Running in fa9145d20ccf [2022-10-03T05:04:53.097Z] Removing intermediate container fa9145d20ccf [2022-10-03T05:04:53.097Z] ---> 8412144a1199 [2022-10-03T05:04:53.097Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:04:53.097Z] ---> Running in aad0ed551a36 [2022-10-03T05:04:53.097Z] Removing intermediate container aad0ed551a36 [2022-10-03T05:04:53.097Z] ---> 118811f700c8 [2022-10-03T05:04:53.097Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:04:53.097Z] ---> Running in f4bfc03ce324 [2022-10-03T05:04:53.097Z] Removing intermediate container f4bfc03ce324 [2022-10-03T05:04:53.097Z] ---> a6125a4c239a [2022-10-03T05:04:53.097Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:04:53.097Z] ---> Running in bf82ece6392c [2022-10-03T05:04:53.097Z] Removing intermediate container bf82ece6392c [2022-10-03T05:04:53.097Z] ---> d6c8a580e4b4 [2022-10-03T05:04:53.097Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:04:53.097Z] ---> Running in 9e45677730fe [2022-10-03T05:04:53.668Z] Removing intermediate container 9e45677730fe [2022-10-03T05:04:53.668Z] ---> 432bd9e82c8e [2022-10-03T05:04:53.668Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:04:53.668Z] ---> Running in 398a91d6d346 [2022-10-03T05:04:53.930Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:04:54.876Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:04:55.140Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T05:04:55.140Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T05:04:55.164Z] Still waiting to schedule task [2022-10-03T05:04:55.164Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6824’ is offline [2022-10-03T05:04:55.398Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T05:04:55.398Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T05:04:55.398Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T05:04:55.398Z] OK: 216 MiB in 55 packages [2022-10-03T05:04:55.968Z] Removing intermediate container 398a91d6d346 [2022-10-03T05:04:55.968Z] ---> ce1902e392b5 [2022-10-03T05:04:55.968Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-03T05:04:55.968Z] ---> Running in 345ed4506dfc [2022-10-03T05:04:55.968Z] Removing intermediate container 345ed4506dfc [2022-10-03T05:04:55.968Z] ---> 9712448cc39d [2022-10-03T05:04:55.968Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T05:04:56.226Z] ---> 425658a9afd7 [2022-10-03T05:04:56.226Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:04:56.226Z] ---> Running in bf4ef55d15df [2022-10-03T05:05:14.343Z] Removing intermediate container bf4ef55d15df [2022-10-03T05:05:14.343Z] ---> 76d2eb3d4c27 [2022-10-03T05:05:14.343Z] Step 12/13 : COPY . . [2022-10-03T05:05:14.343Z] ---> d9c9e1793ae6 [2022-10-03T05:05:14.343Z] Step 13/13 : RUN ${MAKE} [2022-10-03T05:05:14.343Z] ---> Running in dc9fe2639ac5 [2022-10-03T05:05:14.343Z] noop [2022-10-03T05:05:14.343Z] Removing intermediate container dc9fe2639ac5 [2022-10-03T05:05:14.343Z] ---> ea1209667c73 [2022-10-03T05:05:14.343Z] Successfully built ea1209667c73 [2022-10-03T05:05:14.343Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:05:14.800Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T05:05:14.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:05:14.944Z] prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container [2022-10-03T05:05:14.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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-03T05:05:15.304Z] $ docker top 5318cb23904814d6c5bad4d26f1c406f8c9fd8edbf24dea0a4f6760720cdc34d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:05:15.705Z] + go version [2022-10-03T05:05:15.705Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T05:05:15.739Z] $ docker stop --time=1 5318cb23904814d6c5bad4d26f1c406f8c9fd8edbf24dea0a4f6760720cdc34d [2022-10-03T05:05:16.998Z] $ docker rm -f 5318cb23904814d6c5bad4d26f1c406f8c9fd8edbf24dea0a4f6760720cdc34d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:05:17.719Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T05:05:17.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:05:17.855Z] prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container [2022-10-03T05:05:17.885Z] $ 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-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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-03T05:05:18.190Z] $ docker top a3c20f8b152e7642f13c4920db0afd6a2e5d158a777d32ac71ec5aa9a8cfcef1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:05:18.582Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-194 [Pipeline] fileExists [Pipeline] sh [2022-10-03T05:05:18.929Z] + make test [2022-10-03T05:05:18.929Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T05:05:19.186Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-03T05:05:27.294Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-03T05:05:27.294Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements [2022-10-03T05:05:32.567Z] 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-03T05:05:32.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T05:05:35.848Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T05:05:35.848Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T05:05:35.848Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T05:05:35.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T05:05:35.983Z] $ docker stop --time=1 a3c20f8b152e7642f13c4920db0afd6a2e5d158a777d32ac71ec5aa9a8cfcef1 [2022-10-03T05:05:38.039Z] $ docker rm -f a3c20f8b152e7642f13c4920db0afd6a2e5d158a777d32ac71ec5aa9a8cfcef1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:05:38.548Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T05:05:38.609Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T05:05:39.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T05:05:39.474Z] + ls -al . [2022-10-03T05:05:39.475Z] total 172 [2022-10-03T05:05:39.475Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:05 . [2022-10-03T05:05:39.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 .. [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:04 .dockerignore [2022-10-03T05:05:39.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:05 .git [2022-10-03T05:05:39.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 .github [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:04 .gitignore [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:04 .golangci.yml [2022-10-03T05:05:39.475Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:04 .semver [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:04 Attribution.txt [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:04 CHANGELOG.md [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:04 Dockerfile [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:04 GOVERNANCE.md [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:04 Jenkinsfile [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:04 LICENSE [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:04 Makefile [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:04 OWNERS.md [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:04 README.md [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION [2022-10-03T05:05:39.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:04 bin [2022-10-03T05:05:39.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 cmd [2022-10-03T05:05:39.475Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:05 coverage.out [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:04 go.mod [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:04 go.sum [2022-10-03T05:05:39.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 internal [2022-10-03T05:05:39.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 snap [2022-10-03T05:05:39.475Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:05:39.863Z] + 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=7dd6deb7c2fbdec19c5544181b465eabd69939b1 --label arch=amd64 --label version=0.0.0 . [2022-10-03T05:05:39.863Z] Sending build context to Docker daemon 5.522MB [2022-10-03T05:05:39.863Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:05:39.863Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T05:05:39.863Z] ---> ea1209667c73 [2022-10-03T05:05:39.863Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:05:39.863Z] ---> Running in c8b61fa782f8 [2022-10-03T05:05:40.121Z] Removing intermediate container c8b61fa782f8 [2022-10-03T05:05:40.121Z] ---> aa0d51b12b72 [2022-10-03T05:05:40.121Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:05:40.121Z] ---> Running in 4e259b978663 [2022-10-03T05:05:40.121Z] Removing intermediate container 4e259b978663 [2022-10-03T05:05:40.121Z] ---> 7ab5c1355441 [2022-10-03T05:05:40.121Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:05:40.121Z] ---> Running in 475ee9de3c08 [2022-10-03T05:05:40.121Z] Removing intermediate container 475ee9de3c08 [2022-10-03T05:05:40.121Z] ---> 5f21905c4a8f [2022-10-03T05:05:40.121Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:05:40.121Z] ---> Running in bd574675ca57 [2022-10-03T05:05:40.381Z] Removing intermediate container bd574675ca57 [2022-10-03T05:05:40.381Z] ---> 659e273b1c02 [2022-10-03T05:05:40.381Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:05:40.381Z] ---> Running in a120878ed859 [2022-10-03T05:05:40.947Z] Removing intermediate container a120878ed859 [2022-10-03T05:05:40.947Z] ---> 5882a137558f [2022-10-03T05:05:40.947Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:05:40.947Z] ---> Running in fa3c6b2ee877 [2022-10-03T05:05:41.205Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:05:41.771Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:05:42.339Z] OK: 216 MiB in 55 packages [2022-10-03T05:05:42.598Z] Removing intermediate container fa3c6b2ee877 [2022-10-03T05:05:42.598Z] ---> 980daf96ef8f [2022-10-03T05:05:42.598Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-03T05:05:42.598Z] ---> Running in c5cf47cd668f [2022-10-03T05:05:42.598Z] Removing intermediate container c5cf47cd668f [2022-10-03T05:05:42.598Z] ---> a849a015aaaf [2022-10-03T05:05:42.598Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T05:05:42.598Z] ---> 8cbcd6d35a6f [2022-10-03T05:05:42.598Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:05:42.858Z] ---> Running in 0236dda79208 [2022-10-03T05:05:43.529Z] Removing intermediate container 0236dda79208 [2022-10-03T05:05:43.529Z] ---> abb9349bf078 [2022-10-03T05:05:43.529Z] Step 12/25 : COPY . . [2022-10-03T05:05:43.788Z] ---> 4fa96a0233b3 [2022-10-03T05:05:43.788Z] Step 13/25 : RUN ${MAKE} [2022-10-03T05:05:43.788Z] ---> Running in f354e9252fb1 [2022-10-03T05:05:44.045Z] 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.34 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-03T05:06:02.114Z] Removing intermediate container f354e9252fb1 [2022-10-03T05:06:02.114Z] ---> c61850529adc [2022-10-03T05:06:02.114Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T05:06:02.373Z] 3.16: Pulling from library/alpine [2022-10-03T05:06:02.373Z] 213ec9aee27d: Pulling fs layer [2022-10-03T05:06:02.654Z] 213ec9aee27d: Verifying Checksum [2022-10-03T05:06:02.654Z] 213ec9aee27d: Download complete [2022-10-03T05:06:02.913Z] 213ec9aee27d: Pull complete [2022-10-03T05:06:02.913Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T05:06:02.913Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T05:06:02.913Z] ---> 9c6f07244728 [2022-10-03T05:06:02.913Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T05:06:02.913Z] ---> Running in adc8fbe62b52 [2022-10-03T05:06:03.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:06:03.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:06:03.432Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T05:06:03.432Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T05:06:03.432Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T05:06:03.432Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T05:06:03.432Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T05:06:03.432Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T05:06:03.432Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T05:06:03.432Z] OK: 8 MiB in 20 packages [2022-10-03T05:06:04.002Z] Removing intermediate container adc8fbe62b52 [2022-10-03T05:06:04.002Z] ---> 37ff780e3bbc [2022-10-03T05:06:04.002Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-03T05:06:04.571Z] ---> 822b79639665 [2022-10-03T05:06:04.571Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-03T05:06:04.571Z] ---> e27b6415abd0 [2022-10-03T05:06:04.571Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-03T05:06:04.830Z] ---> 556db63ea000 [2022-10-03T05:06:04.830Z] Step 19/25 : EXPOSE 59993 [2022-10-03T05:06:04.830Z] ---> Running in 33e4f6fca2e2 [2022-10-03T05:06:04.830Z] Removing intermediate container 33e4f6fca2e2 [2022-10-03T05:06:04.830Z] ---> 0cd338975f15 [2022-10-03T05:06:04.830Z] Step 20/25 : EXPOSE 161 [2022-10-03T05:06:04.830Z] ---> Running in 59289423a2f6 [2022-10-03T05:06:04.830Z] Removing intermediate container 59289423a2f6 [2022-10-03T05:06:04.830Z] ---> 19e231e43eaa [2022-10-03T05:06:04.830Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-03T05:06:05.088Z] ---> Running in 73a2ae6f723c [2022-10-03T05:06:05.088Z] Removing intermediate container 73a2ae6f723c [2022-10-03T05:06:05.088Z] ---> de3c3258c81c [2022-10-03T05:06:05.088Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T05:06:05.088Z] ---> Running in bfb6db6ea0e8 [2022-10-03T05:06:05.088Z] Removing intermediate container bfb6db6ea0e8 [2022-10-03T05:06:05.088Z] ---> 8e835c73e17e [2022-10-03T05:06:05.088Z] Step 23/25 : LABEL arch=amd64 [2022-10-03T05:06:05.088Z] ---> Running in 02659bfe97ca [2022-10-03T05:06:05.088Z] Removing intermediate container 02659bfe97ca [2022-10-03T05:06:05.088Z] ---> bd2dd55e5dc0 [2022-10-03T05:06:05.088Z] Step 24/25 : LABEL git_sha=7dd6deb7c2fbdec19c5544181b465eabd69939b1 [2022-10-03T05:06:05.346Z] ---> Running in 672135caab0a [2022-10-03T05:06:05.346Z] Removing intermediate container 672135caab0a [2022-10-03T05:06:05.346Z] ---> f17f7e64282e [2022-10-03T05:06:05.346Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T05:06:05.346Z] ---> Running in 52138a743d45 [2022-10-03T05:06:05.346Z] Removing intermediate container 52138a743d45 [2022-10-03T05:06:05.346Z] ---> dec93f295815 [2022-10-03T05:06:05.346Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T05:06:05.346Z] Successfully built dec93f295815 [2022-10-03T05:06:05.346Z] 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-03T05:06:06.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:06:06.203Z] [2022-10-03T05:06:06.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:06:06.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:06:06.575Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T05:06:06.575Z] 5eb5b503b376: Pulling fs layer [2022-10-03T05:06:06.575Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T05:06:06.575Z] ec43610c2a17: Pulling fs layer [2022-10-03T05:06:06.575Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T05:06:06.575Z] 33b1e0a273af: Pulling fs layer [2022-10-03T05:06:06.575Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T05:06:06.575Z] 2f39f015ded8: Pulling fs layer [2022-10-03T05:06:06.575Z] 33b1e0a273af: Waiting [2022-10-03T05:06:06.575Z] 5d3b04190fa2: Waiting [2022-10-03T05:06:06.575Z] 2f39f015ded8: Waiting [2022-10-03T05:06:06.575Z] 3a2ae6a8a46f: Waiting [2022-10-03T05:06:06.575Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T05:06:06.575Z] 5c69ac0246d0: Download complete [2022-10-03T05:06:06.575Z] 3a2ae6a8a46f: Download complete [2022-10-03T05:06:06.575Z] 33b1e0a273af: Verifying Checksum [2022-10-03T05:06:06.575Z] 33b1e0a273af: Download complete [2022-10-03T05:06:06.575Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T05:06:06.575Z] 5d3b04190fa2: Download complete [2022-10-03T05:06:06.575Z] ec43610c2a17: Verifying Checksum [2022-10-03T05:06:06.575Z] ec43610c2a17: Download complete [2022-10-03T05:06:06.834Z] 5eb5b503b376: Download complete [2022-10-03T05:06:07.407Z] 2f39f015ded8: Download complete [2022-10-03T05:06:07.973Z] 5eb5b503b376: Pull complete [2022-10-03T05:06:07.973Z] 5c69ac0246d0: Pull complete [2022-10-03T05:06:08.538Z] ec43610c2a17: Pull complete [2022-10-03T05:06:08.538Z] 3a2ae6a8a46f: Pull complete [2022-10-03T05:06:08.538Z] 33b1e0a273af: Pull complete [2022-10-03T05:06:08.796Z] 5d3b04190fa2: Pull complete [2022-10-03T05:06:12.976Z] 2f39f015ded8: Pull complete [2022-10-03T05:06:12.976Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T05:06:12.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:06:12.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:06:13.183Z] prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container [2022-10-03T05:06:13.216Z] $ 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-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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-03T05:06:15.485Z] $ docker top 056338f6b8c7ac7266c7548ce18677cd9f2fbc6cea5bb8c4ec493453eaa54d21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:06:15.912Z] ---> job-cost.sh [2022-10-03T05:06:15.912Z] lf-activate-venv: SKIPPING [2022-10-03T05:06:15.912Z] INFO: No Stack... [2022-10-03T05:06:16.171Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T05:06:16.429Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T05:06:16.738Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-194/archives/cost.csv [2022-10-03T05:06:16.738Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T05:06:16.781Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [2022-10-03T05:06:16.786Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] did not exist. Created. [2022-10-03T05:06:16.786Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T05:06:17.173Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T05:06:17.224Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T05:06:17.249Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T05:06:17.328Z] $ docker stop --time=1 056338f6b8c7ac7266c7548ce18677cd9f2fbc6cea5bb8c4ec493453eaa54d21 [2022-10-03T05:06:18.473Z] $ docker rm -f 056338f6b8c7ac7266c7548ce18677cd9f2fbc6cea5bb8c4ec493453eaa54d21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T05:07:30.479Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6828 in /w/workspace/gexfoundry_device-snmp-go_PR-194 [Pipeline] { [Pipeline] ws [2022-10-03T05:07:30.521Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T05:07:30.616Z] Selected Git installation does not exist. Using Default [2022-10-03T05:07:30.616Z] The recommended git tool is: NONE [2022-10-03T05:07:37.222Z] using credential edgex-jenkins-ssh [2022-10-03T05:07:37.240Z] Cloning the remote Git repository [2022-10-03T05:07:37.312Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-03T05:07:37.412Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-10-03T05:07:37.592Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-03T05:07:37.593Z] > git --version # timeout=10 [2022-10-03T05:07:37.622Z] > git --version # 'git version 2.25.1' [2022-10-03T05:07:37.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:07:37.686Z] Verifying host key using known hosts file [2022-10-03T05:07:37.934Z] 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-03T05:07:37.949Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T05:07:39.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-03T05:07:39.332Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T05:07:40.500Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-03T05:07:40.553Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-03T05:07:40.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:07:40.561Z] Verifying host key using known hosts file [2022-10-03T05:07:40.570Z] 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-03T05:07:40.585Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T05:07:41.168Z] Merging remotes/origin/main commit 63e28895b9126edb3139522702b6e6ce592ce3b8 into PR head commit 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [2022-10-03T05:07:41.461Z] Merge succeeded, producing 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [2022-10-03T05:07:41.461Z] Checking out Revision 7dd6deb7c2fbdec19c5544181b465eabd69939b1 (PR-194) [2022-10-03T05:07:42.082Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-03T05:07:42.144Z] > git --version # timeout=10 [2022-10-03T05:07:42.158Z] > git --version # 'git version 2.25.1' [2022-10-03T05:07:42.184Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T05:07:41.195Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T05:07:41.220Z] > git checkout -f 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # timeout=10 [2022-10-03T05:07:41.326Z] > git remote # timeout=10 [2022-10-03T05:07:41.349Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T05:07:41.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:07:41.387Z] Verifying host key using known hosts file [2022-10-03T05:07:41.391Z] 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-03T05:07:41.403Z] > git merge 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 [2022-10-03T05:07:41.436Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T05:07:41.471Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T05:07:41.492Z] > git checkout -f 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:07:43.277Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T05:07:43.277Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T05:07:43.277Z] Dload Upload Total Spent Left Speed [2022-10-03T05:07:43.277Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh [2022-10-03T05:07:43.972Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T05:07:44.363Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T05:07:44.363Z] + sudo tee /etc/docker/daemon.new [2022-10-03T05:07:44.363Z] { [2022-10-03T05:07:44.363Z] "registry-mirrors": [ [2022-10-03T05:07:44.363Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T05:07:44.363Z] ], [2022-10-03T05:07:44.363Z] "bip": "10.250.0.254/24", [2022-10-03T05:07:44.363Z] "hosts": [ [2022-10-03T05:07:44.363Z] "tcp://0.0.0.0:5555", [2022-10-03T05:07:44.363Z] "unix:///var/run/docker.sock" [2022-10-03T05:07:44.363Z] ], [2022-10-03T05:07:44.363Z] "mtu": 1458, [2022-10-03T05:07:44.363Z] "selinux-enabled": true, [2022-10-03T05:07:44.363Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T05:07:44.363Z] } [Pipeline] sh [2022-10-03T05:07:44.756Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T05:07:45.134Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:08:03.522Z] provisioning config files... [2022-10-03T05:08:03.559Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14628152387032777402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:08:03.977Z] ---> docker-login.sh [2022-10-03T05:08:03.977Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:08:04.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:04.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:04.575Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:04.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:04.575Z] [2022-10-03T05:08:04.575Z] Login Succeeded [2022-10-03T05:08:04.575Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:08:05.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:05.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:05.169Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:05.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:05.169Z] [2022-10-03T05:08:05.169Z] Login Succeeded [2022-10-03T05:08:05.169Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:08:05.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:05.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:05.447Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:05.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:05.447Z] [2022-10-03T05:08:05.447Z] Login Succeeded [2022-10-03T05:08:05.447Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:08:05.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:06.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:06.000Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:06.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:06.000Z] [2022-10-03T05:08:06.000Z] Login Succeeded [2022-10-03T05:08:06.000Z] docker.io [2022-10-03T05:08:06.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:06.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:06.541Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:06.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:06.541Z] [2022-10-03T05:08:06.541Z] Login Succeeded [2022-10-03T05:08:06.541Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:08:06.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T05:08:06.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:08:06.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:08:06.978Z] ========================================================= [2022-10-03T05:08:06.978Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T05:08:06.978Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:08:08.420Z] + 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-03T05:08:08.700Z] Sending build context to Docker daemon 2.848MB [2022-10-03T05:08:08.700Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:08:08.700Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T05:08:08.981Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T05:08:08.981Z] b3c136eddcbf: Pulling fs layer [2022-10-03T05:08:08.981Z] c0a3192eca97: Pulling fs layer [2022-10-03T05:08:08.981Z] a050256f5b6f: Pulling fs layer [2022-10-03T05:08:08.981Z] 656be50a0ddc: Pulling fs layer [2022-10-03T05:08:08.981Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T05:08:08.981Z] f607e4fc86c3: Pulling fs layer [2022-10-03T05:08:08.981Z] 4d572c569a2c: Pulling fs layer [2022-10-03T05:08:08.981Z] fcf976331f73: Pulling fs layer [2022-10-03T05:08:08.981Z] 656be50a0ddc: Waiting [2022-10-03T05:08:08.981Z] 2bbca73fdf42: Waiting [2022-10-03T05:08:08.981Z] f607e4fc86c3: Waiting [2022-10-03T05:08:08.981Z] 4d572c569a2c: Waiting [2022-10-03T05:08:08.981Z] fcf976331f73: Waiting [2022-10-03T05:08:08.981Z] a050256f5b6f: Verifying Checksum [2022-10-03T05:08:08.981Z] a050256f5b6f: Download complete [2022-10-03T05:08:08.981Z] c0a3192eca97: Verifying Checksum [2022-10-03T05:08:08.981Z] c0a3192eca97: Download complete [2022-10-03T05:08:08.981Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T05:08:08.981Z] 2bbca73fdf42: Download complete [2022-10-03T05:08:08.981Z] f607e4fc86c3: Verifying Checksum [2022-10-03T05:08:08.981Z] f607e4fc86c3: Download complete [2022-10-03T05:08:08.981Z] b3c136eddcbf: Download complete [2022-10-03T05:08:09.972Z] b3c136eddcbf: Pull complete [2022-10-03T05:08:10.575Z] fcf976331f73: Verifying Checksum [2022-10-03T05:08:10.575Z] fcf976331f73: Download complete [2022-10-03T05:08:10.575Z] c0a3192eca97: Pull complete [2022-10-03T05:08:10.852Z] a050256f5b6f: Pull complete [2022-10-03T05:08:11.833Z] 4d572c569a2c: Verifying Checksum [2022-10-03T05:08:11.833Z] 4d572c569a2c: Download complete [2022-10-03T05:08:12.516Z] 656be50a0ddc: Verifying Checksum [2022-10-03T05:08:12.516Z] 656be50a0ddc: Download complete [2022-10-03T05:08:27.713Z] 656be50a0ddc: Pull complete [2022-10-03T05:08:27.713Z] 2bbca73fdf42: Pull complete [2022-10-03T05:08:27.713Z] f607e4fc86c3: Pull complete [2022-10-03T05:08:33.119Z] 4d572c569a2c: Pull complete [2022-10-03T05:08:35.082Z] fcf976331f73: Pull complete [2022-10-03T05:08:35.082Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T05:08:35.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T05:08:35.082Z] ---> 3970a7415f9e [2022-10-03T05:08:35.082Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:08:36.047Z] ---> Running in 7a15e43e4892 [2022-10-03T05:08:36.316Z] Removing intermediate container 7a15e43e4892 [2022-10-03T05:08:36.316Z] ---> 3e35ea9aebf6 [2022-10-03T05:08:36.316Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:08:36.587Z] ---> Running in 7cb60b6dddeb [2022-10-03T05:08:36.863Z] Removing intermediate container 7cb60b6dddeb [2022-10-03T05:08:36.863Z] ---> a897fb4faf8c [2022-10-03T05:08:36.863Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:08:37.134Z] ---> Running in 815e5d8e8f5b [2022-10-03T05:08:37.404Z] Removing intermediate container 815e5d8e8f5b [2022-10-03T05:08:37.404Z] ---> 826e74f26e6c [2022-10-03T05:08:37.404Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:08:37.404Z] ---> Running in 29565819fbfd [2022-10-03T05:08:37.992Z] Removing intermediate container 29565819fbfd [2022-10-03T05:08:37.992Z] ---> cbe64ef9e523 [2022-10-03T05:08:37.992Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:08:37.992Z] ---> Running in a2e059b36c77 [2022-10-03T05:08:39.953Z] Removing intermediate container a2e059b36c77 [2022-10-03T05:08:39.953Z] ---> 12e41d5be1a4 [2022-10-03T05:08:39.953Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:08:40.222Z] ---> Running in bdaca35ef019 [2022-10-03T05:08:41.191Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:08:42.168Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:08:43.594Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T05:08:43.594Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T05:08:43.594Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T05:08:43.594Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T05:08:43.864Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T05:08:43.864Z] OK: 226 MiB in 55 packages [2022-10-03T05:08:44.848Z] Removing intermediate container bdaca35ef019 [2022-10-03T05:08:44.848Z] ---> 3f3366d77eaf [2022-10-03T05:08:44.848Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-03T05:08:45.115Z] ---> Running in e1e1e101838b [2022-10-03T05:08:45.388Z] Removing intermediate container e1e1e101838b [2022-10-03T05:08:45.388Z] ---> cf18f0a52e6d [2022-10-03T05:08:45.388Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T05:08:45.984Z] ---> 05efa97ae08d [2022-10-03T05:08:45.984Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:08:45.984Z] ---> Running in ff4c07635c95 [2022-10-03T05:09:42.442Z] Removing intermediate container ff4c07635c95 [2022-10-03T05:09:42.442Z] ---> c278af926e82 [2022-10-03T05:09:42.442Z] Step 12/13 : COPY . . [2022-10-03T05:09:42.442Z] ---> 72475e0b621f [2022-10-03T05:09:42.442Z] Step 13/13 : RUN ${MAKE} [2022-10-03T05:09:42.442Z] ---> Running in 42d6eca54ffd [2022-10-03T05:09:42.442Z] noop [2022-10-03T05:09:42.442Z] Removing intermediate container 42d6eca54ffd [2022-10-03T05:09:42.442Z] ---> ac77b4399b75 [2022-10-03T05:09:42.442Z] Successfully built ac77b4399b75 [2022-10-03T05:09:42.443Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:09:42.940Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T05:09:42.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:09:43.225Z] prd-ubuntu20.04-docker-arm64-4c-16g-6828 does not seem to be running inside a container [2022-10-03T05:09:43.300Z] $ 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-03T05:09:44.638Z] $ docker top ebf65e730f087b286e34a9a09cd9ee042916d16b6d258190d4f21cee648c0062 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:09:45.565Z] + go version [2022-10-03T05:09:45.565Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T05:09:45.602Z] $ docker stop --time=1 ebf65e730f087b286e34a9a09cd9ee042916d16b6d258190d4f21cee648c0062 [2022-10-03T05:09:47.313Z] $ docker rm -f ebf65e730f087b286e34a9a09cd9ee042916d16b6d258190d4f21cee648c0062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:09:48.178Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T05:09:48.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:09:48.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-6828 does not seem to be running inside a container [2022-10-03T05:09:48.517Z] $ 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-03T05:09:49.776Z] $ docker top d49bdeb64383f2a2aaacfe4e9346164467cbc743aa2280d46122ec85a45126c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:09:50.680Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T05:09:51.391Z] + make test [2022-10-03T05:09:51.392Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T05:09:53.344Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-03T05:11:45.490Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-03T05:11:45.490Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.068s coverage: 0.0% of statements [2022-10-03T05:11:45.490Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T05:11:45.490Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T05:12:07.614Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T05:12:07.614Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T05:12:07.614Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T05:12:07.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T05:12:07.684Z] $ docker stop --time=1 d49bdeb64383f2a2aaacfe4e9346164467cbc743aa2280d46122ec85a45126c6 [2022-10-03T05:12:09.674Z] $ docker rm -f d49bdeb64383f2a2aaacfe4e9346164467cbc743aa2280d46122ec85a45126c6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:12:10.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T05:12:10.944Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T05:12:11.514Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:12:12.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T05:12:12.493Z] + ls -al . [2022-10-03T05:12:12.493Z] total 168 [2022-10-03T05:12:12.493Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:09 . [2022-10-03T05:12:12.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 .. [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:07 .dockerignore [2022-10-03T05:12:12.493Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:07 .git [2022-10-03T05:12:12.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 .github [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:07 .gitignore [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:07 .golangci.yml [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:07 Attribution.txt [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:07 CHANGELOG.md [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:07 Dockerfile [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:07 GOVERNANCE.md [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:07 Jenkinsfile [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:07 LICENSE [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:07 Makefile [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:07 OWNERS.md [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:07 README.md [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION [2022-10-03T05:12:12.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:07 bin [2022-10-03T05:12:12.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 cmd [2022-10-03T05:12:12.493Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:11 coverage.out [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:07 go.mod [2022-10-03T05:12:12.493Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:07 go.sum [2022-10-03T05:12:12.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 internal [2022-10-03T05:12:12.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 snap [2022-10-03T05:12:12.494Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:12:12.944Z] + 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=7dd6deb7c2fbdec19c5544181b465eabd69939b1 --label arch=arm64 --label version=0.0.0 . [2022-10-03T05:12:13.215Z] Sending build context to Docker daemon 2.856MB [2022-10-03T05:12:13.484Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:12:13.484Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T05:12:13.484Z] ---> ac77b4399b75 [2022-10-03T05:12:13.484Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:12:13.758Z] ---> Running in 1bb4d3be1757 [2022-10-03T05:12:14.028Z] Removing intermediate container 1bb4d3be1757 [2022-10-03T05:12:14.028Z] ---> eb3c01646269 [2022-10-03T05:12:14.029Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:12:14.300Z] ---> Running in 1792e6efebfb [2022-10-03T05:12:14.570Z] Removing intermediate container 1792e6efebfb [2022-10-03T05:12:14.570Z] ---> 05c6bc8e7daf [2022-10-03T05:12:14.570Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:12:14.570Z] ---> Running in e9fac7b76376 [2022-10-03T05:12:15.171Z] Removing intermediate container e9fac7b76376 [2022-10-03T05:12:15.171Z] ---> e09f30fdb2d5 [2022-10-03T05:12:15.171Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:12:15.171Z] ---> Running in 1ef31e6fbbb8 [2022-10-03T05:12:15.444Z] Removing intermediate container 1ef31e6fbbb8 [2022-10-03T05:12:15.444Z] ---> 4792b5f9b118 [2022-10-03T05:12:15.444Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:12:15.717Z] ---> Running in 91be342987bf [2022-10-03T05:12:17.700Z] Removing intermediate container 91be342987bf [2022-10-03T05:12:17.700Z] ---> 681379883ee5 [2022-10-03T05:12:17.700Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:12:17.700Z] ---> Running in 6839663cf0f8 [2022-10-03T05:12:19.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:12:20.084Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:12:21.504Z] OK: 226 MiB in 55 packages [2022-10-03T05:12:22.484Z] Removing intermediate container 6839663cf0f8 [2022-10-03T05:12:22.484Z] ---> 0f06cc3c0b70 [2022-10-03T05:12:22.484Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-03T05:12:22.484Z] ---> Running in 4e602a23e158 [2022-10-03T05:12:23.076Z] Removing intermediate container 4e602a23e158 [2022-10-03T05:12:23.076Z] ---> 75b7df4713f1 [2022-10-03T05:12:23.076Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T05:12:23.669Z] ---> 9b2a0ea84089 [2022-10-03T05:12:23.669Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:12:23.669Z] ---> Running in d61e794d6474 [2022-10-03T05:12:25.623Z] Removing intermediate container d61e794d6474 [2022-10-03T05:12:25.623Z] ---> 712e3c481ad5 [2022-10-03T05:12:25.623Z] Step 12/25 : COPY . . [2022-10-03T05:12:27.039Z] ---> e942c94563e8 [2022-10-03T05:12:27.039Z] Step 13/25 : RUN ${MAKE} [2022-10-03T05:12:27.039Z] ---> Running in 6d55bf878b70 [2022-10-03T05:12:28.024Z] 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.34 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-03T05:15:04.851Z] Removing intermediate container 6d55bf878b70 [2022-10-03T05:15:04.851Z] ---> f85aa0c515de [2022-10-03T05:15:04.851Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T05:15:04.851Z] 3.16: Pulling from library/alpine [2022-10-03T05:15:04.851Z] 9b18e9b68314: Pulling fs layer [2022-10-03T05:15:04.851Z] 9b18e9b68314: Verifying Checksum [2022-10-03T05:15:04.851Z] 9b18e9b68314: Download complete [2022-10-03T05:15:04.851Z] 9b18e9b68314: Pull complete [2022-10-03T05:15:04.851Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T05:15:04.851Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T05:15:04.851Z] ---> a6215f271958 [2022-10-03T05:15:04.851Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T05:15:04.851Z] ---> Running in 7f1bfbd0a2b5 [2022-10-03T05:15:04.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:15:05.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:15:06.079Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T05:15:06.079Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T05:15:06.079Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T05:15:06.079Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T05:15:06.079Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T05:15:06.079Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T05:15:06.079Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T05:15:06.079Z] OK: 8 MiB in 20 packages [2022-10-03T05:15:07.039Z] Removing intermediate container 7f1bfbd0a2b5 [2022-10-03T05:15:07.039Z] ---> 00adc2146c1b [2022-10-03T05:15:07.039Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-03T05:15:08.447Z] ---> 15b124941e3a [2022-10-03T05:15:08.447Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-03T05:15:09.031Z] ---> d02e9e886276 [2022-10-03T05:15:09.031Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-03T05:15:09.304Z] ---> c56e6943d101 [2022-10-03T05:15:09.304Z] Step 19/25 : EXPOSE 59993 [2022-10-03T05:15:09.572Z] ---> Running in 0c4ff6467768 [2022-10-03T05:15:09.840Z] Removing intermediate container 0c4ff6467768 [2022-10-03T05:15:09.840Z] ---> b418cc99f8df [2022-10-03T05:15:09.840Z] Step 20/25 : EXPOSE 161 [2022-10-03T05:15:09.840Z] ---> Running in ec9f9cb34778 [2022-10-03T05:15:10.112Z] Removing intermediate container ec9f9cb34778 [2022-10-03T05:15:10.112Z] ---> f883a7fb733c [2022-10-03T05:15:10.112Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-03T05:15:10.700Z] ---> Running in df7ccb20fb8f [2022-10-03T05:15:10.967Z] Removing intermediate container df7ccb20fb8f [2022-10-03T05:15:10.967Z] ---> 3df1661e6a4e [2022-10-03T05:15:10.967Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T05:15:10.967Z] ---> Running in 24a987a7038a [2022-10-03T05:15:11.244Z] Removing intermediate container 24a987a7038a [2022-10-03T05:15:11.244Z] ---> c8cb67f70ea3 [2022-10-03T05:15:11.244Z] Step 23/25 : LABEL arch=arm64 [2022-10-03T05:15:11.515Z] ---> Running in 5181e2a77fe3 [2022-10-03T05:15:11.784Z] Removing intermediate container 5181e2a77fe3 [2022-10-03T05:15:11.784Z] ---> 3a60a87380e8 [2022-10-03T05:15:11.784Z] Step 24/25 : LABEL git_sha=7dd6deb7c2fbdec19c5544181b465eabd69939b1 [2022-10-03T05:15:11.784Z] ---> Running in f842c4c78223 [2022-10-03T05:15:12.055Z] Removing intermediate container f842c4c78223 [2022-10-03T05:15:12.055Z] ---> 3442965d8a38 [2022-10-03T05:15:12.055Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T05:15:12.323Z] ---> Running in 7c9e72fef1ba [2022-10-03T05:15:12.591Z] Removing intermediate container 7c9e72fef1ba [2022-10-03T05:15:12.591Z] ---> 95fef7bc9776 [2022-10-03T05:15:12.591Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T05:15:12.591Z] Successfully built 95fef7bc9776 [2022-10-03T05:15:12.591Z] 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-03T05:15:13.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:15:13.432Z] [2022-10-03T05:15:13.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:15:13.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:15:13.844Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T05:15:13.844Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T05:15:13.844Z] 04944245beec: Pulling fs layer [2022-10-03T05:15:13.844Z] 699f458cf7ca: Pulling fs layer [2022-10-03T05:15:13.844Z] 765212b225bb: Pulling fs layer [2022-10-03T05:15:13.844Z] f23df028b6ca: Pulling fs layer [2022-10-03T05:15:13.844Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T05:15:13.844Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T05:15:13.845Z] 765212b225bb: Waiting [2022-10-03T05:15:13.845Z] f23df028b6ca: Waiting [2022-10-03T05:15:13.845Z] d65c8cfc05b1: Waiting [2022-10-03T05:15:13.845Z] 2437ff75d9bd: Waiting [2022-10-03T05:15:14.112Z] 04944245beec: Verifying Checksum [2022-10-03T05:15:14.112Z] 04944245beec: Download complete [2022-10-03T05:15:14.112Z] 765212b225bb: Verifying Checksum [2022-10-03T05:15:14.112Z] 765212b225bb: Download complete [2022-10-03T05:15:14.112Z] f23df028b6ca: Verifying Checksum [2022-10-03T05:15:14.112Z] f23df028b6ca: Download complete [2022-10-03T05:15:14.112Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T05:15:14.112Z] d65c8cfc05b1: Download complete [2022-10-03T05:15:14.386Z] 699f458cf7ca: Verifying Checksum [2022-10-03T05:15:14.386Z] 699f458cf7ca: Download complete [2022-10-03T05:15:14.654Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T05:15:14.654Z] 8998bd30e6a1: Download complete [2022-10-03T05:15:17.246Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T05:15:17.246Z] 2437ff75d9bd: Download complete [2022-10-03T05:15:19.195Z] 8998bd30e6a1: Pull complete [2022-10-03T05:15:19.462Z] 04944245beec: Pull complete [2022-10-03T05:15:20.986Z] 699f458cf7ca: Pull complete [2022-10-03T05:15:21.374Z] 765212b225bb: Pull complete [2022-10-03T05:15:22.383Z] f23df028b6ca: Pull complete [2022-10-03T05:15:22.657Z] d65c8cfc05b1: Pull complete [2022-10-03T05:15:37.729Z] 2437ff75d9bd: Pull complete [2022-10-03T05:15:37.729Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T05:15:37.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:15:37.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:15:38.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-6828 does not seem to be running inside a container [2022-10-03T05:15:38.102Z] $ 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-03T05:15:41.101Z] $ docker top ef032a26eea5a95ac0460e867a6c17f5629cf9f3ba5e96ec3a4850d26b06f2be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:42.034Z] ---> job-cost.sh [2022-10-03T05:15:42.034Z] lf-activate-venv: SKIPPING [2022-10-03T05:15:42.034Z] INFO: No Stack... [2022-10-03T05:15:42.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T05:15:43.263Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T05:15:43.920Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-10-03T05:15:43.920Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T05:15:44.008Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [2022-10-03T05:15:44.012Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] did not exist. Created. [2022-10-03T05:15:44.012Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T05:15:44.420Z] /w/workspace/device-snmp-go/1@tmp/durable-39f6fbdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T05:15:45.049Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T05:15:45.086Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T05:15:45.132Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T05:15:45.147Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T05:15:45.222Z] $ docker stop --time=1 ef032a26eea5a95ac0460e867a6c17f5629cf9f3ba5e96ec3a4850d26b06f2be [2022-10-03T05:15:46.745Z] $ docker rm -f ef032a26eea5a95ac0460e867a6c17f5629cf9f3ba5e96ec3a4850d26b06f2be [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-03T05:15:47.681Z] provisioning config files... [2022-10-03T05:15:47.690Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/config6995501039553582308tmp [Pipeline] { [Pipeline] sh [2022-10-03T05:15:48.034Z] + set +x [2022-10-03T05:15:48.034Z] + curl -s https://codecov.io/bash [2022-10-03T05:15:48.034Z] + bash -s -- [2022-10-03T05:15:48.034Z] [2022-10-03T05:15:48.034Z] _____ _ [2022-10-03T05:15:48.034Z] / ____| | | [2022-10-03T05:15:48.034Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T05:15:48.034Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T05:15:48.034Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T05:15:48.034Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T05:15:48.034Z] Bash-1.0.6 [2022-10-03T05:15:48.034Z] [2022-10-03T05:15:48.034Z] [2022-10-03T05:15:48.034Z] ==> git version 2.25.1 found [2022-10-03T05:15:48.034Z] ==> 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-03T05:15:48.034Z] Release-Date: 2020-01-08 [2022-10-03T05:15:48.034Z] 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-03T05:15:48.034Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T05:15:48.034Z] ==> Jenkins CI detected. [2022-10-03T05:15:48.034Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-194 [2022-10-03T05:15:48.034Z] project root: . [2022-10-03T05:15:48.034Z] --> token set from env [2022-10-03T05:15:48.034Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T05:15:48.034Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T05:15:48.034Z] ==> Python coveragepy not found [2022-10-03T05:15:48.034Z] ==> Searching for coverage reports in: [2022-10-03T05:15:48.034Z] + . [2022-10-03T05:15:48.034Z] -> Found 1 reports [2022-10-03T05:15:48.034Z] ==> Detecting git/mercurial file structure [2022-10-03T05:15:48.034Z] ==> Reading reports [2022-10-03T05:15:48.034Z] + ./coverage.out bytes=7631 [2022-10-03T05:15:48.034Z] ==> Appending adjustments [2022-10-03T05:15:48.034Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T05:15:48.034Z] + Found adjustments [2022-10-03T05:15:48.034Z] ==> Gzipping contents [2022-10-03T05:15:48.294Z] 4.0K /tmp/codecov.cnFt1p.gz [2022-10-03T05:15:48.294Z] ==> Uploading reports [2022-10-03T05:15:48.294Z] url: https://codecov.io [2022-10-03T05:15:48.294Z] query: branch=PR-194&commit=7dd6deb7c2fbdec19c5544181b465eabd69939b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=194&job=&cmd_args= [2022-10-03T05:15:48.294Z] -> Pinging Codecov [2022-10-03T05:15:48.294Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-194&commit=7dd6deb7c2fbdec19c5544181b465eabd69939b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=194&job=&cmd_args= [2022-10-03T05:15:48.554Z] -> Uploading to [2022-10-03T05:15:48.554Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/6C56EA5C29638FB4528AC87E60AF5AE0/7dd6deb7c2fbdec19c5544181b465eabd69939b1/adbbeee7-f811-4ef4-8555-655db23e3446.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T051548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9604102e71467846d2fdec2d78563711ddcc31663212e4b30607eea714276cd9 [2022-10-03T05:15:48.554Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T05:15:48.554Z] Dload Upload Total Spent Left Speed [2022-10-03T05:15:48.814Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7600 --:--:-- --:--:-- --:--:-- 7563 100 1543 0 0 100 1543 0 7244 --:--:-- --:--:-- --:--:-- 7210 [2022-10-03T05:15:48.815Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] } [2022-10-03T05:15:48.841Z] 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-03T05:15:50.555Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-194/archives ] [2022-10-03T05:15:50.555Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-194/archives [2022-10-03T05:15:50.555Z] total 16 [2022-10-03T05:15:50.555Z] drwxr-xr-x 3 root root 4096 Oct 3 05:06 . [2022-10-03T05:15:50.555Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. [2022-10-03T05:15:50.555Z] drwxr-xr-x 2 root root 4096 Oct 3 05:06 cost [2022-10-03T05:15:50.555Z] -rw-r--r-- 1 root root 86 Oct 3 05:06 cost.csv [2022-10-03T05:15:50.555Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-194/archives [2022-10-03T05:15:50.555Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-194/archives [2022-10-03T05:15:50.555Z] total 16 [2022-10-03T05:15:50.555Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:06 . [2022-10-03T05:15:50.555Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. [2022-10-03T05:15:50.555Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:06 cost [2022-10-03T05:15:50.555Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:50.887Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:51.789Z] ---> package-listing.sh [2022-10-03T05:15:51.789Z] ++ facter osfamily [2022-10-03T05:15:51.789Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T05:15:52.049Z] + OS_FAMILY=debian [2022-10-03T05:15:52.049Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-194 [2022-10-03T05:15:52.049Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T05:15:52.049Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T05:15:52.049Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T05:15:52.049Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T05:15:52.049Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-194 ']' [2022-10-03T05:15:52.049Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T05:15:52.049Z] + case "${OS_FAMILY}" in [2022-10-03T05:15:52.049Z] + dpkg -l [2022-10-03T05:15:52.049Z] + grep '^ii' [2022-10-03T05:15:52.049Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T05:15:52.049Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T05:15:52.049Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T05:15:52.049Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-194 ']' [2022-10-03T05:15:52.049Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-194/archives/ [2022-10-03T05:15:52.049Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-194/archives/ [Pipeline] echo [2022-10-03T05:15:52.085Z] 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T05:15:52.377Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:15:53.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:15:53.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:15:53.161Z] prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container [2022-10-03T05:15:53.202Z] $ 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-194/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-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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-03T05:15:53.377Z] $ docker top 8fd61ae3380b8d3704439918ae9dd672033647b3c2255f3d4ce44d0ec79e8cae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:15:53.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T05:15:54.071Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T05:15:54.377Z] + ls /var/log/sa-host [2022-10-03T05:15:54.377Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:15:54.507Z] provisioning config files... [2022-10-03T05:15:54.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/config15079197719313967347tmp [Pipeline] { [Pipeline] echo [2022-10-03T05:15:54.563Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:54.869Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T05:15:54.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:55.277Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T05:15:55.310Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:55.615Z] ---> sudo-logs.sh [2022-10-03T05:15:55.615Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T05:15:55.701Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:56.006Z] ---> job-cost.sh [2022-10-03T05:15:56.006Z] lf-activate-venv: SKIPPING [2022-10-03T05:15:56.006Z] DEBUG: total: 0.2199999988079071 [2022-10-03T05:15:56.006Z] INFO: Retrieving Stack Cost... [2022-10-03T05:15:56.266Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T05:15:56.836Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T05:15:56.867Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:15:57.177Z] ---> logs-deploy.sh [2022-10-03T05:15:57.178Z] lf-activate-venv: SKIPPING [2022-10-03T05:15:57.178Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-194/1 [2022-10-03T05:15:57.178Z] INFO: archiving workspace using pattern(s): [2022-10-03T05:15:58.112Z] Archives upload complete. [2022-10-03T05:15:58.112Z] INFO: archiving logs to Nexus