Pull request #195 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 25aa39b2e621d0714a7f2a81b6cf53447a35028e+63e28895b9126edb3139522702b6e6ce592ce3b8 (597dd85eefba15d0d5ee17147156cebe04eba3db) 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-ssh2772846250255483521.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-ssh7165712857479440310.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-195/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-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3760109581593332627.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-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1774748737304992339.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-ssh17910774892709962979.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-195/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-195/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2410093418187734178.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-6825 in /w/workspace/gexfoundry_device-snmp-go_PR-195 [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-195 # 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/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63e28895b9126edb3139522702b6e6ce592ce3b8 into PR head commit 25aa39b2e621d0714a7f2a81b6cf53447a35028e Merge succeeded, producing 25aa39b2e621d0714a7f2a81b6cf53447a35028e Checking out Revision 25aa39b2e621d0714a7f2a81b6cf53447a35028e (PR-195) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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:37.861Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T05:04:38.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 25aa39b2e621d0714a7f2a81b6cf53447a35028e # 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 25aa39b2e621d0714a7f2a81b6cf53447a35028e # timeout=10 [Pipeline] echo [2022-10-03T05:04:38.134Z] ========================================================= [2022-10-03T05:04:38.134Z] EdgeX Global Pipelines Version Info [2022-10-03T05:04:38.134Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:04:38.859Z] ------------------- [2022-10-03T05:04:38.859Z] stable info: [2022-10-03T05:04:38.859Z] ------------------- [2022-10-03T05:04:38.859Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T05:04:38.859Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T05:04:38.859Z] Message: update stable to v1.0.239 [2022-10-03T05:04:39.431Z] ------------------- [2022-10-03T05:04:39.431Z] experimental info: [2022-10-03T05:04:39.431Z] ------------------- [2022-10-03T05:04:39.431Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T05:04:39.431Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T05:04:39.431Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T05:04:39.735Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-03T05:04:39.781Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-03T05:04:39.830Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T05:04:39.878Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T05:04:39.917Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T05:04:39.961Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T05:04:39.997Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T05:04:40.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T05:04:40.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T05:04:40.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T05:04:40.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T05:04:40.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-03T05:04:40.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T05:04:40.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T05:04:40.337Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T05:04:40.378Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T05:04:40.421Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T05:04:40.463Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T05:04:40.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T05:04:40.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T05:04:40.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T05:04:40.630Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T05:04:40.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T05:04:40.713Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T05:04:40.757Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T05:04:40.802Z] [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:40.842Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T05:04:40.884Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-195 [Pipeline] echo [2022-10-03T05:04:40.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-195 [Pipeline] echo [2022-10-03T05:04:40.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-195 [Pipeline] echo [2022-10-03T05:04:41.001Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo [2022-10-03T05:04:41.043Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25aa39b [Pipeline] echo [2022-10-03T05:04:41.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:04:41.194Z] provisioning config files... [2022-10-03T05:04:41.208Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config5385807499894301547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:04:41.553Z] ---> docker-login.sh [2022-10-03T05:04:41.553Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:04:41.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:41.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:41.816Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:41.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:41.816Z] [2022-10-03T05:04:41.816Z] Login Succeeded [2022-10-03T05:04:41.816Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:04:42.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:42.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:42.077Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:42.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:42.077Z] [2022-10-03T05:04:42.077Z] Login Succeeded [2022-10-03T05:04:42.077Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:04:42.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:42.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:42.077Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:42.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:42.077Z] [2022-10-03T05:04:42.077Z] Login Succeeded [2022-10-03T05:04:42.077Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:04:42.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:42.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:42.339Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:42.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:42.339Z] [2022-10-03T05:04:42.339Z] Login Succeeded [2022-10-03T05:04:42.339Z] docker.io [2022-10-03T05:04:42.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:42.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:42.610Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:42.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:42.610Z] [2022-10-03T05:04:42.610Z] Login Succeeded [2022-10-03T05:04:42.610Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:04:42.643Z] 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:43.275Z] + git rev-list -1 --merges 25aa39b2e621d0714a7f2a81b6cf53447a35028e~1..25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo [2022-10-03T05:04:43.332Z] -----------> git rev-list -1 --merges 25aa39b2e621d0714a7f2a81b6cf53447a35028e~1..25aa39b2e621d0714a7f2a81b6cf53447a35028e 25aa39b2e621d0714a7f2a81b6cf53447a35028e [false] [Pipeline] sh [2022-10-03T05:04:43.634Z] + git log --format=format:%s -1 25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo [2022-10-03T05:04:43.667Z] ========================================================= [2022-10-03T05:04:43.667Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T05:04:43.667Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:04:44.084Z] + git log --format=format:%s -1 25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo [2022-10-03T05:04:44.117Z] [semverPrep] GIT_COMMIT: 25aa39b2e621d0714a7f2a81b6cf53447a35028e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-10-03T05:04:44.148Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T05:04:44.512Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T05:04:44.512Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T05:04:44.512Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T05:04:44.512Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T05:04:44.512Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T05:04:44.512Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T05:04:44.512Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:04:44.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:04:44.939Z] [2022-10-03T05:04:44.939Z] 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:45.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:04:45.336Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T05:04:45.336Z] b85a868b505f: Pulling fs layer [2022-10-03T05:04:45.336Z] e2be974225ed: Pulling fs layer [2022-10-03T05:04:45.336Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T05:04:45.336Z] 988bab9f4d93: Pulling fs layer [2022-10-03T05:04:45.336Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T05:04:45.336Z] eaf3925da568: Pulling fs layer [2022-10-03T05:04:45.336Z] bab4dde63d76: Pulling fs layer [2022-10-03T05:04:45.336Z] bde34c3a00c8: Pulling fs layer [2022-10-03T05:04:45.336Z] b352a97aabf1: Pulling fs layer [2022-10-03T05:04:45.336Z] 4872d77fe225: Pulling fs layer [2022-10-03T05:04:45.336Z] 5851b861e8e6: Pulling fs layer [2022-10-03T05:04:45.336Z] bde34c3a00c8: Waiting [2022-10-03T05:04:45.336Z] 988bab9f4d93: Waiting [2022-10-03T05:04:45.336Z] 1469e6f7b9e6: Waiting [2022-10-03T05:04:45.336Z] eaf3925da568: Waiting [2022-10-03T05:04:45.336Z] bab4dde63d76: Waiting [2022-10-03T05:04:45.336Z] b352a97aabf1: Waiting [2022-10-03T05:04:45.336Z] 4872d77fe225: Waiting [2022-10-03T05:04:45.336Z] e2be974225ed: Verifying Checksum [2022-10-03T05:04:45.336Z] e2be974225ed: Download complete [2022-10-03T05:04:45.336Z] 988bab9f4d93: Verifying Checksum [2022-10-03T05:04:45.336Z] 988bab9f4d93: Download complete [2022-10-03T05:04:45.600Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T05:04:45.600Z] 1469e6f7b9e6: Download complete [2022-10-03T05:04:45.600Z] eaf3925da568: Verifying Checksum [2022-10-03T05:04:45.600Z] eaf3925da568: Download complete [2022-10-03T05:04:45.600Z] 339a4e72a1f5: Download complete [2022-10-03T05:04:45.600Z] bde34c3a00c8: Download complete [2022-10-03T05:04:45.600Z] b352a97aabf1: Verifying Checksum [2022-10-03T05:04:45.600Z] b352a97aabf1: Download complete [2022-10-03T05:04:45.600Z] 4872d77fe225: Verifying Checksum [2022-10-03T05:04:45.600Z] 4872d77fe225: Download complete [2022-10-03T05:04:45.600Z] 5851b861e8e6: Verifying Checksum [2022-10-03T05:04:45.600Z] 5851b861e8e6: Download complete [2022-10-03T05:04:45.600Z] b85a868b505f: Verifying Checksum [2022-10-03T05:04:45.600Z] b85a868b505f: Download complete [2022-10-03T05:04:45.860Z] bab4dde63d76: Download complete [2022-10-03T05:04:47.241Z] b85a868b505f: Pull complete [2022-10-03T05:04:47.241Z] e2be974225ed: Pull complete [2022-10-03T05:04:47.500Z] 339a4e72a1f5: Pull complete [2022-10-03T05:04:47.759Z] 988bab9f4d93: Pull complete [2022-10-03T05:04:48.018Z] 1469e6f7b9e6: Pull complete [2022-10-03T05:04:48.018Z] eaf3925da568: Pull complete [2022-10-03T05:04:49.921Z] bab4dde63d76: Pull complete [2022-10-03T05:04:49.921Z] bde34c3a00c8: Pull complete [2022-10-03T05:04:50.180Z] b352a97aabf1: Pull complete [2022-10-03T05:04:50.180Z] 4872d77fe225: Pull complete [2022-10-03T05:04:50.180Z] 5851b861e8e6: Pull complete [2022-10-03T05:04:50.180Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T05:04:50.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T05:04:50.180Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:04:50.407Z] prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container [2022-10-03T05:04:50.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-195 -v /w/workspace/gexfoundry_device-snmp-go_PR-195:/w/workspace/gexfoundry_device-snmp-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-195@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-195@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:51.787Z] $ docker top 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 -eo pid,comm [2022-10-03T05:04:51.848Z] 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:51.848Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T05:04:51.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T05:04:51.974Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T05:04:52.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T05:04:52.091Z] $ docker exec 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent [2022-10-03T05:04:52.206Z] SSH_AUTH_SOCK=/tmp/ssh-JT5ru8rbM1wf/agent.32 [2022-10-03T05:04:52.206Z] SSH_AGENT_PID=37 [2022-10-03T05:04:52.212Z] Running ssh-add (command line suppressed) [2022-10-03T05:04:52.324Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/private_key_487279606180537174.key (/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/private_key_487279606180537174.key) [2022-10-03T05:04:52.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T05:04:52.682Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T05:04:52.704Z] $ docker exec --env ******** --env ******** 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent -k [2022-10-03T05:04:52.812Z] unset SSH_AUTH_SOCK; [2022-10-03T05:04:52.813Z] unset SSH_AGENT_PID; [2022-10-03T05:04:52.813Z] echo Agent pid 37 killed; [2022-10-03T05:04:52.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T05:04:52.921Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T05:04:52.921Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T05:04:53.042Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T05:04:53.040Z] $ docker exec 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent [2022-10-03T05:04:53.170Z] SSH_AUTH_SOCK=/tmp/ssh-xuCDvjOGRkL4/agent.69 [2022-10-03T05:04:53.170Z] SSH_AGENT_PID=75 [2022-10-03T05:04:53.174Z] Running ssh-add (command line suppressed) [2022-10-03T05:04:53.265Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/private_key_15448118014429452201.key (/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/private_key_15448118014429452201.key) [2022-10-03T05:04:53.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T05:04:53.609Z] + git semver init [2022-10-03T05:04:53.869Z] 2022-10-03 05:04:53,779 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T05:04:53.869Z] 2022-10-03 05:04:53,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver [2022-10-03T05:04:53.869Z] 2022-10-03 05:04:53,780 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-195/.semver [2022-10-03T05:04:53.869Z] 2022-10-03 05:04:53,780 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-195, universal_newlines=False, shell=None, istream=None) [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,632 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-195/.git/info/exclude [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver/PR-195 with force:False [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,633 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver/PR-195 [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,637 [execute] INFO git cat-file --batch-check [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,643 [execute] INFO git cat-file --batch [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T05:04:54.814Z] 2022-10-03 05:04:54,648 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-195/.semver/PR-195 [2022-10-03T05:04:54.814Z] 0.0.0 [Pipeline] } [2022-10-03T05:04:54.834Z] $ docker exec --env ******** --env ******** 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent -k [2022-10-03T05:04:54.934Z] unset SSH_AUTH_SOCK; [2022-10-03T05:04:54.935Z] unset SSH_AGENT_PID; [2022-10-03T05:04:54.935Z] echo Agent pid 75 killed; [2022-10-03T05:04:54.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T05:04:55.381Z] + git semver [Pipeline] } [2022-10-03T05:04:55.663Z] $ docker stop --time=1 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 [2022-10-03T05:04:56.965Z] $ docker rm -f 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:04:57.383Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T05:04:57.634Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T05:04:57.652Z] [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:58.267Z] provisioning config files... [2022-10-03T05:04:58.277Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config14834056846186429036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:04:58.763Z] ---> docker-login.sh [2022-10-03T05:04:58.763Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:04:58.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:58.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:58.763Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:58.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:58.763Z] [2022-10-03T05:04:58.763Z] Login Succeeded [2022-10-03T05:04:58.763Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:04:58.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:58.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:58.763Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:58.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:58.763Z] [2022-10-03T05:04:58.763Z] Login Succeeded [2022-10-03T05:04:58.763Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:04:58.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:58.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:58.763Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:58.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:58.763Z] [2022-10-03T05:04:58.763Z] Login Succeeded [2022-10-03T05:04:58.763Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:04:59.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:59.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:59.025Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:59.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:59.025Z] [2022-10-03T05:04:59.025Z] Login Succeeded [2022-10-03T05:04:59.025Z] docker.io [2022-10-03T05:04:59.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:04:59.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:04:59.594Z] Configure a credential helper to remove this warning. See [2022-10-03T05:04:59.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:04:59.594Z] [2022-10-03T05:04:59.594Z] Login Succeeded [2022-10-03T05:04:59.594Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:04:59.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T05:04:59.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:04:59.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:04:59.890Z] ========================================================= [2022-10-03T05:04:59.890Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T05:04:59.890Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:05:00.341Z] + 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:05:00.341Z] Sending build context to Docker daemon 5.514MB [2022-10-03T05:05:00.341Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:05:00.341Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T05:05:00.341Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T05:05:00.341Z] 2408cc74d12b: Pulling fs layer [2022-10-03T05:05:00.341Z] ea60b727a1ce: Pulling fs layer [2022-10-03T05:05:00.341Z] 30c4a7721957: Pulling fs layer [2022-10-03T05:05:00.341Z] 370296b7ddb6: Pulling fs layer [2022-10-03T05:05:00.341Z] 7c6cee850709: Pulling fs layer [2022-10-03T05:05:00.341Z] aa9baa53a306: Pulling fs layer [2022-10-03T05:05:00.341Z] 8b309c321861: Pulling fs layer [2022-10-03T05:05:00.341Z] d8d76fd02f46: Pulling fs layer [2022-10-03T05:05:00.341Z] fa31f396de31: Pulling fs layer [2022-10-03T05:05:00.341Z] 370296b7ddb6: Waiting [2022-10-03T05:05:00.341Z] 7c6cee850709: Waiting [2022-10-03T05:05:00.341Z] aa9baa53a306: Waiting [2022-10-03T05:05:00.341Z] 8b309c321861: Waiting [2022-10-03T05:05:00.341Z] d8d76fd02f46: Waiting [2022-10-03T05:05:00.341Z] fa31f396de31: Waiting [2022-10-03T05:05:00.341Z] 30c4a7721957: Verifying Checksum [2022-10-03T05:05:00.341Z] 30c4a7721957: Download complete [2022-10-03T05:05:00.341Z] ea60b727a1ce: Download complete [2022-10-03T05:05:00.341Z] 7c6cee850709: Verifying Checksum [2022-10-03T05:05:00.341Z] 7c6cee850709: Download complete [2022-10-03T05:05:00.607Z] aa9baa53a306: Verifying Checksum [2022-10-03T05:05:00.607Z] aa9baa53a306: Download complete [2022-10-03T05:05:00.607Z] 2408cc74d12b: Verifying Checksum [2022-10-03T05:05:00.607Z] 2408cc74d12b: Download complete [2022-10-03T05:05:00.607Z] 8b309c321861: Download complete [2022-10-03T05:05:00.607Z] 2408cc74d12b: Pull complete [2022-10-03T05:05:00.870Z] ea60b727a1ce: Pull complete [2022-10-03T05:05:00.870Z] 30c4a7721957: Pull complete [2022-10-03T05:05:01.132Z] fa31f396de31: Verifying Checksum [2022-10-03T05:05:01.132Z] fa31f396de31: Download complete [2022-10-03T05:05:01.391Z] 370296b7ddb6: Verifying Checksum [2022-10-03T05:05:01.391Z] 370296b7ddb6: Download complete [2022-10-03T05:05:01.391Z] d8d76fd02f46: Verifying Checksum [2022-10-03T05:05:01.391Z] d8d76fd02f46: Download complete [2022-10-03T05:05:05.578Z] 370296b7ddb6: Pull complete [2022-10-03T05:05:05.578Z] 7c6cee850709: Pull complete [2022-10-03T05:05:05.578Z] aa9baa53a306: Pull complete [2022-10-03T05:05:05.578Z] 8b309c321861: Pull complete [2022-10-03T05:05:07.479Z] d8d76fd02f46: Pull complete [2022-10-03T05:05:08.046Z] fa31f396de31: Pull complete [2022-10-03T05:05:08.046Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T05:05:08.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T05:05:08.046Z] ---> cef68f9685f8 [2022-10-03T05:05:08.046Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:05:09.951Z] ---> Running in 7a422968e7b9 [2022-10-03T05:05:09.951Z] Removing intermediate container 7a422968e7b9 [2022-10-03T05:05:09.951Z] ---> 825ddf590083 [2022-10-03T05:05:09.951Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:05:09.951Z] ---> Running in cea7f7995f85 [2022-10-03T05:05:09.951Z] Removing intermediate container cea7f7995f85 [2022-10-03T05:05:09.951Z] ---> 0dd768767f59 [2022-10-03T05:05:09.951Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:05:10.211Z] ---> Running in cd65cfad98c6 [2022-10-03T05:05:10.211Z] Removing intermediate container cd65cfad98c6 [2022-10-03T05:05:10.211Z] ---> e60213aaf8c6 [2022-10-03T05:05:10.211Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:05:10.211Z] ---> Running in a43a9b0c8e99 [2022-10-03T05:05:10.470Z] Removing intermediate container a43a9b0c8e99 [2022-10-03T05:05:10.470Z] ---> fb82f3aca6a7 [2022-10-03T05:05:10.470Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:05:10.470Z] ---> Running in c0f5580647e3 [2022-10-03T05:05:11.036Z] Removing intermediate container c0f5580647e3 [2022-10-03T05:05:11.036Z] ---> 74e51e8ce4f6 [2022-10-03T05:05:11.036Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:05:11.036Z] ---> Running in 3017627b9ae9 [2022-10-03T05:05:11.294Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:05:12.228Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:05:12.486Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T05:05:12.486Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T05:05:12.747Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T05:05:12.747Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T05:05:13.005Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T05:05:13.005Z] OK: 216 MiB in 55 packages [2022-10-03T05:05:13.090Z] Still waiting to schedule task [2022-10-03T05:05:13.091Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6824’ is offline [2022-10-03T05:05:13.574Z] Removing intermediate container 3017627b9ae9 [2022-10-03T05:05:13.574Z] ---> d468be0132f0 [2022-10-03T05:05:13.574Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-03T05:05:13.574Z] ---> Running in 1b067a8bf760 [2022-10-03T05:05:13.574Z] Removing intermediate container 1b067a8bf760 [2022-10-03T05:05:13.574Z] ---> 7334a41c46cf [2022-10-03T05:05:13.574Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T05:05:13.574Z] ---> bdb928a8e4ac [2022-10-03T05:05:13.574Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:05:13.574Z] ---> Running in 6c5abaf4ef4c [2022-10-03T05:05:28.450Z] Removing intermediate container 6c5abaf4ef4c [2022-10-03T05:05:28.450Z] ---> 89481344ce30 [2022-10-03T05:05:28.450Z] Step 12/13 : COPY . . [2022-10-03T05:05:28.450Z] ---> ad8c83917388 [2022-10-03T05:05:28.450Z] Step 13/13 : RUN ${MAKE} [2022-10-03T05:05:28.450Z] ---> Running in 987fabf3bafd [2022-10-03T05:05:28.450Z] noop [2022-10-03T05:05:28.451Z] Removing intermediate container 987fabf3bafd [2022-10-03T05:05:28.451Z] ---> e060c0a40ec8 [2022-10-03T05:05:28.451Z] Successfully built e060c0a40ec8 [2022-10-03T05:05:28.451Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:05:28.892Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T05:05:28.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:05:29.081Z] prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container [2022-10-03T05:05:29.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-195 -v /w/workspace/gexfoundry_device-snmp-go_PR-195:/w/workspace/gexfoundry_device-snmp-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-195@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-195@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:29.454Z] $ docker top 2b8b17dbc09cc27b7fc36b8c5ffd629a561b5ad5cb579c2e6aa6241b13e82f2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:05:29.826Z] + go version [2022-10-03T05:05:29.826Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T05:05:29.860Z] $ docker stop --time=1 2b8b17dbc09cc27b7fc36b8c5ffd629a561b5ad5cb579c2e6aa6241b13e82f2d [2022-10-03T05:05:31.115Z] $ docker rm -f 2b8b17dbc09cc27b7fc36b8c5ffd629a561b5ad5cb579c2e6aa6241b13e82f2d [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:31.815Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T05:05:31.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:05:31.954Z] prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container [2022-10-03T05:05:31.991Z] $ 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-195 -v /w/workspace/gexfoundry_device-snmp-go_PR-195:/w/workspace/gexfoundry_device-snmp-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-195@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-195@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:32.356Z] $ docker top da1fab469f17646b606bab723f0b321e89c1b657052a9b03906957a9919b3430 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:05:32.743Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-195 [Pipeline] fileExists [Pipeline] sh [2022-10-03T05:05:33.099Z] + make test [2022-10-03T05:05:33.099Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T05:05:33.664Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-03T05:05:43.635Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-03T05:05:43.635Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-10-03T05:05:50.196Z] 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:50.196Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T05:05:53.479Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T05:05:53.479Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T05:05:53.479Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T05:05:53.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T05:05:53.802Z] $ docker stop --time=1 da1fab469f17646b606bab723f0b321e89c1b657052a9b03906957a9919b3430 [2022-10-03T05:05:55.889Z] $ docker rm -f da1fab469f17646b606bab723f0b321e89c1b657052a9b03906957a9919b3430 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:05:56.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T05:05:56.501Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T05:05:57.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T05:05:57.420Z] + ls -al . [2022-10-03T05:05:57.420Z] total 172 [2022-10-03T05:05:57.420Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:05 . [2022-10-03T05:05:57.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 .. [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:04 .dockerignore [2022-10-03T05:05:57.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:05 .git [2022-10-03T05:05:57.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 .github [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:04 .gitignore [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:04 .golangci.yml [2022-10-03T05:05:57.420Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:04 .semver [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:04 Attribution.txt [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:04 CHANGELOG.md [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:04 Dockerfile [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:04 GOVERNANCE.md [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:04 Jenkinsfile [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:04 LICENSE [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:04 Makefile [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:04 OWNERS.md [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:04 README.md [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION [2022-10-03T05:05:57.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:04 bin [2022-10-03T05:05:57.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 cmd [2022-10-03T05:05:57.420Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:05 coverage.out [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:04 go.mod [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:04 go.sum [2022-10-03T05:05:57.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 internal [2022-10-03T05:05:57.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 snap [2022-10-03T05:05:57.420Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:05:57.806Z] + 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=25aa39b2e621d0714a7f2a81b6cf53447a35028e --label arch=amd64 --label version=0.0.0 . [2022-10-03T05:05:57.806Z] Sending build context to Docker daemon 5.522MB [2022-10-03T05:05:57.806Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:05:57.806Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T05:05:57.806Z] ---> e060c0a40ec8 [2022-10-03T05:05:57.806Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:05:57.806Z] ---> Running in 396a7f455bd7 [2022-10-03T05:05:58.087Z] Removing intermediate container 396a7f455bd7 [2022-10-03T05:05:58.087Z] ---> e1ffd06aee2c [2022-10-03T05:05:58.087Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:05:58.087Z] ---> Running in 05c5b865b247 [2022-10-03T05:05:58.087Z] Removing intermediate container 05c5b865b247 [2022-10-03T05:05:58.087Z] ---> 5cb960069f4f [2022-10-03T05:05:58.087Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:05:58.087Z] ---> Running in a09150f58d3f [2022-10-03T05:05:58.087Z] Removing intermediate container a09150f58d3f [2022-10-03T05:05:58.087Z] ---> 253d2660755b [2022-10-03T05:05:58.087Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:05:58.347Z] ---> Running in 185d08a5805d [2022-10-03T05:05:58.347Z] Removing intermediate container 185d08a5805d [2022-10-03T05:05:58.347Z] ---> f32a54da8485 [2022-10-03T05:05:58.347Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:05:58.347Z] ---> Running in 3940762ceda6 [2022-10-03T05:05:58.916Z] Removing intermediate container 3940762ceda6 [2022-10-03T05:05:58.916Z] ---> f17ccdab5e63 [2022-10-03T05:05:58.916Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:05:58.916Z] ---> Running in 8c358a7a9b6d [2022-10-03T05:05:59.174Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:06:00.116Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:06:00.376Z] OK: 216 MiB in 55 packages [2022-10-03T05:06:00.641Z] Removing intermediate container 8c358a7a9b6d [2022-10-03T05:06:00.641Z] ---> 5ab53f5b8775 [2022-10-03T05:06:00.641Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-03T05:06:00.641Z] ---> Running in 458d0a0cd85a [2022-10-03T05:06:00.902Z] Removing intermediate container 458d0a0cd85a [2022-10-03T05:06:00.902Z] ---> 9fe80b9d3387 [2022-10-03T05:06:00.902Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T05:06:00.902Z] ---> 7cb2b6f209ad [2022-10-03T05:06:00.902Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:06:00.902Z] ---> Running in d8ad4646c8a8 [2022-10-03T05:06:01.745Z] Removing intermediate container d8ad4646c8a8 [2022-10-03T05:06:01.745Z] ---> a64a2347a895 [2022-10-03T05:06:01.745Z] Step 12/25 : COPY . . [2022-10-03T05:06:02.005Z] ---> 465b370980f5 [2022-10-03T05:06:02.005Z] Step 13/25 : RUN ${MAKE} [2022-10-03T05:06:02.005Z] ---> Running in e3725d54b232 [2022-10-03T05:06:02.265Z] 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.30 -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:24.257Z] Removing intermediate container e3725d54b232 [2022-10-03T05:06:24.257Z] ---> db1f293397d3 [2022-10-03T05:06:24.257Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T05:06:24.257Z] 3.16: Pulling from library/alpine [2022-10-03T05:06:24.257Z] 213ec9aee27d: Pulling fs layer [2022-10-03T05:06:24.528Z] 213ec9aee27d: Verifying Checksum [2022-10-03T05:06:24.528Z] 213ec9aee27d: Download complete [2022-10-03T05:06:24.528Z] 213ec9aee27d: Pull complete [2022-10-03T05:06:24.528Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T05:06:24.528Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T05:06:24.528Z] ---> 9c6f07244728 [2022-10-03T05:06:24.528Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T05:06:24.788Z] ---> Running in 4104ec724783 [2022-10-03T05:06:25.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T05:06:25.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T05:06:25.307Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T05:06:25.307Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T05:06:25.307Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T05:06:25.307Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T05:06:25.307Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T05:06:25.307Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T05:06:25.307Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T05:06:25.307Z] OK: 8 MiB in 20 packages [2022-10-03T05:06:25.876Z] Removing intermediate container 4104ec724783 [2022-10-03T05:06:25.876Z] ---> c35333189843 [2022-10-03T05:06:25.876Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-03T05:06:26.446Z] ---> 3c534fe9113d [2022-10-03T05:06:26.446Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-03T05:06:26.446Z] ---> ab3a7b3a8ae2 [2022-10-03T05:06:26.446Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-03T05:06:26.704Z] ---> 7943321bbcf8 [2022-10-03T05:06:26.704Z] Step 19/25 : EXPOSE 59993 [2022-10-03T05:06:26.704Z] ---> Running in a23bbb166908 [2022-10-03T05:06:26.704Z] Removing intermediate container a23bbb166908 [2022-10-03T05:06:26.704Z] ---> 5e9948c93bc9 [2022-10-03T05:06:26.704Z] Step 20/25 : EXPOSE 161 [2022-10-03T05:06:26.704Z] ---> Running in 0c52c8ddc3f7 [2022-10-03T05:06:26.965Z] Removing intermediate container 0c52c8ddc3f7 [2022-10-03T05:06:26.965Z] ---> f13920c40fff [2022-10-03T05:06:26.965Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-03T05:06:26.965Z] ---> Running in c9fd7f127982 [2022-10-03T05:06:26.965Z] Removing intermediate container c9fd7f127982 [2022-10-03T05:06:26.965Z] ---> c698b75276f5 [2022-10-03T05:06:26.965Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T05:06:26.965Z] ---> Running in 25c09f8803d0 [2022-10-03T05:06:27.223Z] Removing intermediate container 25c09f8803d0 [2022-10-03T05:06:27.223Z] ---> a3c23d3eca41 [2022-10-03T05:06:27.223Z] Step 23/25 : LABEL arch=amd64 [2022-10-03T05:06:27.223Z] ---> Running in d88bda5569d8 [2022-10-03T05:06:27.223Z] Removing intermediate container d88bda5569d8 [2022-10-03T05:06:27.223Z] ---> 68b4cab26cc7 [2022-10-03T05:06:27.223Z] Step 24/25 : LABEL git_sha=25aa39b2e621d0714a7f2a81b6cf53447a35028e [2022-10-03T05:06:27.223Z] ---> Running in bc88e1d5e22c [2022-10-03T05:06:27.223Z] Removing intermediate container bc88e1d5e22c [2022-10-03T05:06:27.223Z] ---> a48f74778236 [2022-10-03T05:06:27.223Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T05:06:27.223Z] ---> Running in 8f3103cb6bd9 [2022-10-03T05:06:27.483Z] Removing intermediate container 8f3103cb6bd9 [2022-10-03T05:06:27.483Z] ---> 7ec7d9861784 [2022-10-03T05:06:27.483Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T05:06:27.483Z] Successfully built 7ec7d9861784 [2022-10-03T05:06:27.483Z] 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:28.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:06:28.311Z] [2022-10-03T05:06:28.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:06:28.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:06:28.684Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T05:06:28.684Z] 5eb5b503b376: Pulling fs layer [2022-10-03T05:06:28.684Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T05:06:28.684Z] ec43610c2a17: Pulling fs layer [2022-10-03T05:06:28.684Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T05:06:28.684Z] 33b1e0a273af: Pulling fs layer [2022-10-03T05:06:28.684Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T05:06:28.684Z] 2f39f015ded8: Pulling fs layer [2022-10-03T05:06:28.684Z] 3a2ae6a8a46f: Waiting [2022-10-03T05:06:28.684Z] 33b1e0a273af: Waiting [2022-10-03T05:06:28.684Z] 5d3b04190fa2: Waiting [2022-10-03T05:06:28.684Z] 2f39f015ded8: Waiting [2022-10-03T05:06:28.684Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T05:06:28.684Z] 5c69ac0246d0: Download complete [2022-10-03T05:06:28.684Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T05:06:28.684Z] 3a2ae6a8a46f: Download complete [2022-10-03T05:06:28.684Z] 33b1e0a273af: Verifying Checksum [2022-10-03T05:06:28.684Z] 33b1e0a273af: Download complete [2022-10-03T05:06:28.684Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T05:06:28.684Z] 5d3b04190fa2: Download complete [2022-10-03T05:06:28.943Z] ec43610c2a17: Verifying Checksum [2022-10-03T05:06:28.943Z] ec43610c2a17: Download complete [2022-10-03T05:06:28.943Z] 5eb5b503b376: Download complete [2022-10-03T05:06:29.510Z] 2f39f015ded8: Download complete [2022-10-03T05:06:30.080Z] 5eb5b503b376: Pull complete [2022-10-03T05:06:30.338Z] 5c69ac0246d0: Pull complete [2022-10-03T05:06:30.906Z] ec43610c2a17: Pull complete [2022-10-03T05:06:30.906Z] 3a2ae6a8a46f: Pull complete [2022-10-03T05:06:31.163Z] 33b1e0a273af: Pull complete [2022-10-03T05:06:31.163Z] 5d3b04190fa2: Pull complete [2022-10-03T05:06:35.348Z] 2f39f015ded8: Pull complete [2022-10-03T05:06:35.348Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T05:06:35.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:06:35.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:06:35.573Z] prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container [2022-10-03T05:06:35.605Z] $ 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-195 -v /w/workspace/gexfoundry_device-snmp-go_PR-195:/w/workspace/gexfoundry_device-snmp-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-195@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-195@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:37.754Z] $ docker top e04de2592a01aa6def7f0a8d04c1cd851ae1cf810a57c5b47ff0882aba8df648 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:06:38.182Z] ---> job-cost.sh [2022-10-03T05:06:38.182Z] lf-activate-venv: SKIPPING [2022-10-03T05:06:38.182Z] INFO: No Stack... [2022-10-03T05:06:38.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T05:06:38.699Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T05:06:39.012Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-195/archives/cost.csv [2022-10-03T05:06:39.013Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T05:06:39.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [2022-10-03T05:06:39.058Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] did not exist. Created. [2022-10-03T05:06:39.058Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T05:06:39.440Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T05:06:39.492Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T05:06:39.519Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T05:06:39.596Z] $ docker stop --time=1 e04de2592a01aa6def7f0a8d04c1cd851ae1cf810a57c5b47ff0882aba8df648 [2022-10-03T05:06:40.762Z] $ docker rm -f e04de2592a01aa6def7f0a8d04c1cd851ae1cf810a57c5b47ff0882aba8df648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T05:07:49.718Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6829 in /w/workspace/gexfoundry_device-snmp-go_PR-195 [Pipeline] { [Pipeline] ws [2022-10-03T05:07:49.759Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T05:07:49.849Z] Selected Git installation does not exist. Using Default [2022-10-03T05:07:49.849Z] The recommended git tool is: NONE [2022-10-03T05:07:56.331Z] using credential edgex-jenkins-ssh [2022-10-03T05:07:56.357Z] Cloning the remote Git repository [2022-10-03T05:07:56.417Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-03T05:07:56.532Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-10-03T05:07:56.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-03T05:07:56.720Z] > git --version # timeout=10 [2022-10-03T05:07:56.742Z] > git --version # 'git version 2.25.1' [2022-10-03T05:07:56.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:07:56.802Z] Verifying host key using known hosts file [2022-10-03T05:07:57.039Z] 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:57.055Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T05:07:58.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-03T05:07:58.196Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T05:07:59.912Z] Merging remotes/origin/main commit 63e28895b9126edb3139522702b6e6ce592ce3b8 into PR head commit 25aa39b2e621d0714a7f2a81b6cf53447a35028e [2022-10-03T05:07:59.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-03T05:07:59.283Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-03T05:07:59.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:07:59.291Z] Verifying host key using known hosts file [2022-10-03T05:07:59.299Z] 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:59.314Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T05:07:59.939Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T05:07:59.965Z] > git checkout -f 25aa39b2e621d0714a7f2a81b6cf53447a35028e # timeout=10 [2022-10-03T05:08:00.075Z] > git remote # timeout=10 [2022-10-03T05:08:00.098Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T05:08:00.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T05:08:00.132Z] Verifying host key using known hosts file [2022-10-03T05:08:00.140Z] 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:08:00.208Z] Merge succeeded, producing 25aa39b2e621d0714a7f2a81b6cf53447a35028e [2022-10-03T05:08:00.209Z] Checking out Revision 25aa39b2e621d0714a7f2a81b6cf53447a35028e (PR-195) [2022-10-03T05:08:00.898Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-10-03T05:08:00.975Z] > git --version # timeout=10 [2022-10-03T05:08:00.991Z] > git --version # 'git version 2.25.1' [2022-10-03T05:08:01.025Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-10-03T05:08:00.155Z] > git merge 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 [2022-10-03T05:08:00.184Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T05:08:00.217Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T05:08:00.244Z] > git checkout -f 25aa39b2e621d0714a7f2a81b6cf53447a35028e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:08:02.239Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T05:08:02.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T05:08:02.239Z] Dload Upload Total Spent Left Speed [2022-10-03T05:08:02.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2022-10-03T05:08:02.878Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T05:08:03.244Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T05:08:03.244Z] + sudo tee /etc/docker/daemon.new [2022-10-03T05:08:03.244Z] { [2022-10-03T05:08:03.244Z] "registry-mirrors": [ [2022-10-03T05:08:03.244Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T05:08:03.244Z] ], [2022-10-03T05:08:03.244Z] "bip": "10.250.0.254/24", [2022-10-03T05:08:03.244Z] "hosts": [ [2022-10-03T05:08:03.244Z] "tcp://0.0.0.0:5555", [2022-10-03T05:08:03.244Z] "unix:///var/run/docker.sock" [2022-10-03T05:08:03.244Z] ], [2022-10-03T05:08:03.244Z] "mtu": 1458, [2022-10-03T05:08:03.244Z] "selinux-enabled": true, [2022-10-03T05:08:03.244Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T05:08:03.244Z] } [Pipeline] sh [2022-10-03T05:08:03.617Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T05:08:03.978Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:08:22.345Z] provisioning config files... [2022-10-03T05:08:22.378Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7379049956310122974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:08:22.791Z] ---> docker-login.sh [2022-10-03T05:08:22.791Z] nexus3.edgexfoundry.org:10001 [2022-10-03T05:08:23.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:23.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:23.659Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:23.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:23.659Z] [2022-10-03T05:08:23.659Z] Login Succeeded [2022-10-03T05:08:23.659Z] nexus3.edgexfoundry.org:10002 [2022-10-03T05:08:23.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:24.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:24.218Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:24.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:24.218Z] [2022-10-03T05:08:24.218Z] Login Succeeded [2022-10-03T05:08:24.218Z] nexus3.edgexfoundry.org:10003 [2022-10-03T05:08:24.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:24.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:24.771Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:24.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:24.771Z] [2022-10-03T05:08:24.771Z] Login Succeeded [2022-10-03T05:08:24.771Z] nexus3.edgexfoundry.org:10004 [2022-10-03T05:08:25.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:25.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:25.041Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:25.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:25.041Z] [2022-10-03T05:08:25.041Z] Login Succeeded [2022-10-03T05:08:25.042Z] docker.io [2022-10-03T05:08:25.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T05:08:25.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T05:08:25.923Z] Configure a credential helper to remove this warning. See [2022-10-03T05:08:25.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T05:08:25.923Z] [2022-10-03T05:08:25.923Z] Login Succeeded [2022-10-03T05:08:25.923Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T05:08:25.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T05:08:26.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:08:26.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T05:08:26.355Z] ========================================================= [2022-10-03T05:08:26.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T05:08:26.355Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:08:26.913Z] + 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:27.197Z] Sending build context to Docker daemon 2.848MB [2022-10-03T05:08:27.197Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:08:27.197Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T05:08:27.472Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T05:08:27.472Z] b3c136eddcbf: Pulling fs layer [2022-10-03T05:08:27.472Z] c0a3192eca97: Pulling fs layer [2022-10-03T05:08:27.472Z] a050256f5b6f: Pulling fs layer [2022-10-03T05:08:27.472Z] 656be50a0ddc: Pulling fs layer [2022-10-03T05:08:27.472Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T05:08:27.472Z] f607e4fc86c3: Pulling fs layer [2022-10-03T05:08:27.472Z] 4d572c569a2c: Pulling fs layer [2022-10-03T05:08:27.472Z] fcf976331f73: Pulling fs layer [2022-10-03T05:08:27.472Z] 656be50a0ddc: Waiting [2022-10-03T05:08:27.472Z] f607e4fc86c3: Waiting [2022-10-03T05:08:27.472Z] 4d572c569a2c: Waiting [2022-10-03T05:08:27.472Z] 2bbca73fdf42: Waiting [2022-10-03T05:08:27.472Z] fcf976331f73: Waiting [2022-10-03T05:08:27.472Z] a050256f5b6f: Verifying Checksum [2022-10-03T05:08:27.472Z] a050256f5b6f: Download complete [2022-10-03T05:08:27.472Z] c0a3192eca97: Verifying Checksum [2022-10-03T05:08:27.472Z] c0a3192eca97: Download complete [2022-10-03T05:08:27.472Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T05:08:27.472Z] 2bbca73fdf42: Download complete [2022-10-03T05:08:27.472Z] f607e4fc86c3: Verifying Checksum [2022-10-03T05:08:27.472Z] f607e4fc86c3: Download complete [2022-10-03T05:08:27.472Z] b3c136eddcbf: Verifying Checksum [2022-10-03T05:08:27.472Z] b3c136eddcbf: Download complete [2022-10-03T05:08:28.935Z] b3c136eddcbf: Pull complete [2022-10-03T05:08:29.207Z] fcf976331f73: Verifying Checksum [2022-10-03T05:08:29.207Z] fcf976331f73: Download complete [2022-10-03T05:08:29.802Z] c0a3192eca97: Pull complete [2022-10-03T05:08:29.802Z] a050256f5b6f: Pull complete [2022-10-03T05:08:30.793Z] 4d572c569a2c: Verifying Checksum [2022-10-03T05:08:30.793Z] 4d572c569a2c: Download complete [2022-10-03T05:08:31.134Z] 656be50a0ddc: Verifying Checksum [2022-10-03T05:08:31.134Z] 656be50a0ddc: Download complete [2022-10-03T05:08:46.244Z] 656be50a0ddc: Pull complete [2022-10-03T05:08:46.244Z] 2bbca73fdf42: Pull complete [2022-10-03T05:08:46.244Z] f607e4fc86c3: Pull complete [2022-10-03T05:08:50.544Z] 4d572c569a2c: Pull complete [2022-10-03T05:08:52.510Z] fcf976331f73: Pull complete [2022-10-03T05:08:52.510Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T05:08:52.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T05:08:52.510Z] ---> 3970a7415f9e [2022-10-03T05:08:52.510Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:08:55.126Z] ---> Running in db79efe4645d [2022-10-03T05:08:55.126Z] Removing intermediate container db79efe4645d [2022-10-03T05:08:55.126Z] ---> 0f46ffda3582 [2022-10-03T05:08:55.126Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:08:55.126Z] ---> Running in 7bf692e28c78 [2022-10-03T05:08:55.397Z] Removing intermediate container 7bf692e28c78 [2022-10-03T05:08:55.397Z] ---> db091b83c3c2 [2022-10-03T05:08:55.397Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:08:55.667Z] ---> Running in 512fe3a4408d [2022-10-03T05:08:55.941Z] Removing intermediate container 512fe3a4408d [2022-10-03T05:08:55.941Z] ---> 10e34d103d79 [2022-10-03T05:08:55.941Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:08:55.941Z] ---> Running in 81435f1f7637 [2022-10-03T05:08:56.536Z] Removing intermediate container 81435f1f7637 [2022-10-03T05:08:56.536Z] ---> 8093edfded79 [2022-10-03T05:08:56.536Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:08:56.536Z] ---> Running in e68a9c18f6aa [2022-10-03T05:08:58.506Z] Removing intermediate container e68a9c18f6aa [2022-10-03T05:08:58.506Z] ---> 2a6327450f8f [2022-10-03T05:08:58.506Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:08:58.778Z] ---> Running in 608a99968cd8 [2022-10-03T05:08:59.757Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:09:00.728Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:09:01.699Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T05:09:01.969Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T05:09:01.969Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T05:09:02.240Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T05:09:02.240Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T05:09:02.513Z] OK: 226 MiB in 55 packages [2022-10-03T05:09:03.483Z] Removing intermediate container 608a99968cd8 [2022-10-03T05:09:03.483Z] ---> f89fe6c64cb7 [2022-10-03T05:09:03.483Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-03T05:09:03.483Z] ---> Running in 6fa94ef5f9b1 [2022-10-03T05:09:04.071Z] Removing intermediate container 6fa94ef5f9b1 [2022-10-03T05:09:04.071Z] ---> 4f4f0068e886 [2022-10-03T05:09:04.071Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T05:09:04.659Z] ---> d8d2431dfac7 [2022-10-03T05:09:04.659Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:09:04.659Z] ---> Running in f3047a59e4cb [2022-10-03T05:10:01.111Z] Removing intermediate container f3047a59e4cb [2022-10-03T05:10:01.111Z] ---> e03ee395c7a4 [2022-10-03T05:10:01.111Z] Step 12/13 : COPY . . [2022-10-03T05:10:01.111Z] ---> 598a31b7fe88 [2022-10-03T05:10:01.111Z] Step 13/13 : RUN ${MAKE} [2022-10-03T05:10:01.111Z] ---> Running in b2e7723651d9 [2022-10-03T05:10:01.111Z] noop [2022-10-03T05:10:01.111Z] Removing intermediate container b2e7723651d9 [2022-10-03T05:10:01.111Z] ---> 293c1a2aedd6 [2022-10-03T05:10:01.111Z] Successfully built 293c1a2aedd6 [2022-10-03T05:10:01.111Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:10:01.588Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T05:10:01.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:10:01.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-6829 does not seem to be running inside a container [2022-10-03T05:10:01.961Z] $ 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:10:03.257Z] $ docker top d3091452eabd0ba20e118eac42d104951a7aca519851e297640ec98e449bf9e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:10:04.157Z] + go version [2022-10-03T05:10:04.157Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T05:10:04.197Z] $ docker stop --time=1 d3091452eabd0ba20e118eac42d104951a7aca519851e297640ec98e449bf9e5 [2022-10-03T05:10:06.026Z] $ docker rm -f d3091452eabd0ba20e118eac42d104951a7aca519851e297640ec98e449bf9e5 [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:10:06.886Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T05:10:06.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:10:07.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-6829 does not seem to be running inside a container [2022-10-03T05:10:07.213Z] $ 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:10:08.588Z] $ docker top e5db8f44fff905ff5a32d88ef5f72c54e972ccb7291471e22af34d4fc81aee5a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:10:09.503Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T05:10:10.218Z] + make test [2022-10-03T05:10:10.218Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T05:10:12.175Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-03T05:12:03.942Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-03T05:12:03.942Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.095s coverage: 0.0% of statements [2022-10-03T05:12:03.942Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T05:12:03.942Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T05:12:26.041Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T05:12:26.041Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T05:12:26.041Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T05:12:26.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T05:12:26.116Z] $ docker stop --time=1 e5db8f44fff905ff5a32d88ef5f72c54e972ccb7291471e22af34d4fc81aee5a [2022-10-03T05:12:28.149Z] $ docker rm -f e5db8f44fff905ff5a32d88ef5f72c54e972ccb7291471e22af34d4fc81aee5a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T05:12:29.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T05:12:29.286Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T05:12:29.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T05:12:30.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T05:12:30.692Z] + ls -al . [2022-10-03T05:12:30.692Z] total 168 [2022-10-03T05:12:30.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:10 . [2022-10-03T05:12:30.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 .. [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:07 .dockerignore [2022-10-03T05:12:30.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:08 .git [2022-10-03T05:12:30.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 .github [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:07 .gitignore [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:07 .golangci.yml [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:07 Attribution.txt [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:07 CHANGELOG.md [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:07 Dockerfile [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:07 GOVERNANCE.md [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:07 Jenkinsfile [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:07 LICENSE [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:07 Makefile [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:07 OWNERS.md [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:07 README.md [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION [2022-10-03T05:12:30.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:07 bin [2022-10-03T05:12:30.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 cmd [2022-10-03T05:12:30.692Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:11 coverage.out [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:07 go.mod [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:07 go.sum [2022-10-03T05:12:30.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 internal [2022-10-03T05:12:30.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 snap [2022-10-03T05:12:30.692Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:12:31.113Z] + 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=25aa39b2e621d0714a7f2a81b6cf53447a35028e --label arch=arm64 --label version=0.0.0 . [2022-10-03T05:12:31.383Z] Sending build context to Docker daemon 2.856MB [2022-10-03T05:12:31.383Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T05:12:31.383Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T05:12:31.383Z] ---> 293c1a2aedd6 [2022-10-03T05:12:31.383Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T05:12:31.657Z] ---> Running in 2ec08f5382be [2022-10-03T05:12:32.245Z] Removing intermediate container 2ec08f5382be [2022-10-03T05:12:32.245Z] ---> 4a038bf7d952 [2022-10-03T05:12:32.245Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T05:12:32.245Z] ---> Running in fd5e0b9de9e6 [2022-10-03T05:12:32.516Z] Removing intermediate container fd5e0b9de9e6 [2022-10-03T05:12:32.516Z] ---> 9b2e1c7d638e [2022-10-03T05:12:32.516Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T05:12:32.786Z] ---> Running in fafddd2bafaa [2022-10-03T05:12:33.059Z] Removing intermediate container fafddd2bafaa [2022-10-03T05:12:33.059Z] ---> 9b68be21e957 [2022-10-03T05:12:33.059Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T05:12:33.334Z] ---> Running in 64b634ea6ef2 [2022-10-03T05:12:33.613Z] Removing intermediate container 64b634ea6ef2 [2022-10-03T05:12:33.613Z] ---> 7ddb2593aa3a [2022-10-03T05:12:33.613Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T05:12:33.613Z] ---> Running in c5d0dbca6f90 [2022-10-03T05:12:35.591Z] Removing intermediate container c5d0dbca6f90 [2022-10-03T05:12:35.591Z] ---> 57c52aaf9f8b [2022-10-03T05:12:35.591Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T05:12:35.591Z] ---> Running in 2494bf6c1042 [2022-10-03T05:12:37.007Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:12:37.976Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:12:39.402Z] OK: 226 MiB in 55 packages [2022-10-03T05:12:40.366Z] Removing intermediate container 2494bf6c1042 [2022-10-03T05:12:40.366Z] ---> 6f9223e3f1cf [2022-10-03T05:12:40.366Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-03T05:12:40.366Z] ---> Running in e8dd7f534656 [2022-10-03T05:12:40.634Z] Removing intermediate container e8dd7f534656 [2022-10-03T05:12:40.634Z] ---> 4a44d4be8336 [2022-10-03T05:12:40.634Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T05:12:41.222Z] ---> 7f2232929852 [2022-10-03T05:12:41.222Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T05:12:41.222Z] ---> Running in 61966b392ba6 [2022-10-03T05:12:43.827Z] Removing intermediate container 61966b392ba6 [2022-10-03T05:12:43.827Z] ---> 50690d88015b [2022-10-03T05:12:43.827Z] Step 12/25 : COPY . . [2022-10-03T05:12:44.790Z] ---> beffaaeb5d74 [2022-10-03T05:12:44.790Z] Step 13/25 : RUN ${MAKE} [2022-10-03T05:12:44.790Z] ---> Running in b31a8bb0f342 [2022-10-03T05:12:46.218Z] 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.30 -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:38.014Z] Removing intermediate container b31a8bb0f342 [2022-10-03T05:15:38.014Z] ---> feb33138f03f [2022-10-03T05:15:38.014Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T05:15:38.014Z] 3.16: Pulling from library/alpine [2022-10-03T05:15:38.014Z] 9b18e9b68314: Pulling fs layer [2022-10-03T05:15:38.014Z] 9b18e9b68314: Verifying Checksum [2022-10-03T05:15:38.014Z] 9b18e9b68314: Download complete [2022-10-03T05:15:38.014Z] 9b18e9b68314: Pull complete [2022-10-03T05:15:38.014Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T05:15:38.014Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T05:15:38.014Z] ---> a6215f271958 [2022-10-03T05:15:38.014Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T05:15:38.014Z] ---> Running in da5f21e0eb3d [2022-10-03T05:15:38.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T05:15:38.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T05:15:38.014Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T05:15:38.014Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T05:15:38.014Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T05:15:38.014Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T05:15:38.014Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T05:15:38.014Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T05:15:38.014Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T05:15:38.014Z] OK: 8 MiB in 20 packages [2022-10-03T05:15:38.015Z] Removing intermediate container da5f21e0eb3d [2022-10-03T05:15:38.015Z] ---> 42791d86f344 [2022-10-03T05:15:38.015Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-03T05:15:38.015Z] ---> e492135d186f [2022-10-03T05:15:38.015Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-03T05:15:38.015Z] ---> 335708683035 [2022-10-03T05:15:38.015Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-03T05:15:38.015Z] ---> d5d2c9120776 [2022-10-03T05:15:38.015Z] Step 19/25 : EXPOSE 59993 [2022-10-03T05:15:38.015Z] ---> Running in 7a76277a97e2 [2022-10-03T05:15:38.015Z] Removing intermediate container 7a76277a97e2 [2022-10-03T05:15:38.015Z] ---> 701d1736f1cd [2022-10-03T05:15:38.015Z] Step 20/25 : EXPOSE 161 [2022-10-03T05:15:38.015Z] ---> Running in 1f0e8936d121 [2022-10-03T05:15:38.015Z] Removing intermediate container 1f0e8936d121 [2022-10-03T05:15:38.015Z] ---> 06e9cf6cb253 [2022-10-03T05:15:38.015Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-03T05:15:38.015Z] ---> Running in 102706e2f0fa [2022-10-03T05:15:38.015Z] Removing intermediate container 102706e2f0fa [2022-10-03T05:15:38.015Z] ---> bf67405bdd38 [2022-10-03T05:15:38.015Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T05:15:38.015Z] ---> Running in aa24d5974f18 [2022-10-03T05:15:38.015Z] Removing intermediate container aa24d5974f18 [2022-10-03T05:15:38.015Z] ---> 44a6d33dc102 [2022-10-03T05:15:38.015Z] Step 23/25 : LABEL arch=arm64 [2022-10-03T05:15:38.015Z] ---> Running in eca2a7de3aec [2022-10-03T05:15:38.015Z] Removing intermediate container eca2a7de3aec [2022-10-03T05:15:38.015Z] ---> f0f7083bbdee [2022-10-03T05:15:38.015Z] Step 24/25 : LABEL git_sha=25aa39b2e621d0714a7f2a81b6cf53447a35028e [2022-10-03T05:15:38.015Z] ---> Running in 6732cd1edd61 [2022-10-03T05:15:38.015Z] Removing intermediate container 6732cd1edd61 [2022-10-03T05:15:38.015Z] ---> 62f58bf71f93 [2022-10-03T05:15:38.015Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T05:15:38.015Z] ---> Running in 2434a50912b6 [2022-10-03T05:15:38.015Z] Removing intermediate container 2434a50912b6 [2022-10-03T05:15:38.015Z] ---> 892cb06dab58 [2022-10-03T05:15:38.015Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T05:15:38.015Z] Successfully built 892cb06dab58 [2022-10-03T05:15:38.015Z] 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:38.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:15:38.777Z] [2022-10-03T05:15:38.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:15:39.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:15:39.180Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T05:15:39.180Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T05:15:39.180Z] 04944245beec: Pulling fs layer [2022-10-03T05:15:39.180Z] 699f458cf7ca: Pulling fs layer [2022-10-03T05:15:39.180Z] 765212b225bb: Pulling fs layer [2022-10-03T05:15:39.180Z] f23df028b6ca: Pulling fs layer [2022-10-03T05:15:39.180Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T05:15:39.180Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T05:15:39.180Z] f23df028b6ca: Waiting [2022-10-03T05:15:39.180Z] 2437ff75d9bd: Waiting [2022-10-03T05:15:39.447Z] d65c8cfc05b1: Waiting [2022-10-03T05:15:39.447Z] 765212b225bb: Waiting [2022-10-03T05:15:39.447Z] 04944245beec: Verifying Checksum [2022-10-03T05:15:39.447Z] 04944245beec: Download complete [2022-10-03T05:15:39.447Z] 765212b225bb: Verifying Checksum [2022-10-03T05:15:39.447Z] 765212b225bb: Download complete [2022-10-03T05:15:39.447Z] f23df028b6ca: Download complete [2022-10-03T05:15:39.447Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T05:15:39.447Z] d65c8cfc05b1: Download complete [2022-10-03T05:15:39.716Z] 699f458cf7ca: Verifying Checksum [2022-10-03T05:15:39.716Z] 699f458cf7ca: Download complete [2022-10-03T05:15:39.986Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T05:15:39.986Z] 8998bd30e6a1: Download complete [2022-10-03T05:15:42.574Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T05:15:42.574Z] 2437ff75d9bd: Download complete [2022-10-03T05:15:43.551Z] 8998bd30e6a1: Pull complete [2022-10-03T05:15:45.495Z] 04944245beec: Pull complete [2022-10-03T05:15:46.455Z] 699f458cf7ca: Pull complete [2022-10-03T05:15:46.721Z] 765212b225bb: Pull complete [2022-10-03T05:15:47.302Z] f23df028b6ca: Pull complete [2022-10-03T05:15:47.567Z] d65c8cfc05b1: Pull complete [2022-10-03T05:15:59.994Z] 2437ff75d9bd: Pull complete [2022-10-03T05:15:59.994Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T05:15:59.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T05:15:59.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:16:00.338Z] prd-ubuntu20.04-docker-arm64-4c-16g-6829 does not seem to be running inside a container [2022-10-03T05:16:00.424Z] $ 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:16:03.345Z] $ docker top 3aed805989f2137784115cb4adbd084d383b3fff61e444e411439c604e5c8e18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:04.243Z] ---> job-cost.sh [2022-10-03T05:16:04.243Z] lf-activate-venv: SKIPPING [2022-10-03T05:16:04.243Z] INFO: No Stack... [2022-10-03T05:16:04.827Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T05:16:05.410Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T05:16:06.071Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-10-03T05:16:06.071Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T05:16:06.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [2022-10-03T05:16:06.155Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] did not exist. Created. [2022-10-03T05:16:06.155Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T05:16:06.563Z] /w/workspace/device-snmp-go/1@tmp/durable-1e9e9866/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T05:16:07.244Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T05:16:07.277Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T05:16:07.323Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T05:16:07.338Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T05:16:07.428Z] $ docker stop --time=1 3aed805989f2137784115cb4adbd084d383b3fff61e444e411439c604e5c8e18 [2022-10-03T05:16:08.955Z] $ docker rm -f 3aed805989f2137784115cb4adbd084d383b3fff61e444e411439c604e5c8e18 [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:16:09.897Z] provisioning config files... [2022-10-03T05:16:09.905Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config6830979001783540444tmp [Pipeline] { [Pipeline] sh [2022-10-03T05:16:10.238Z] + set +x [2022-10-03T05:16:10.238Z] + bash -s -- [2022-10-03T05:16:10.238Z] + curl -s https://codecov.io/bash [2022-10-03T05:16:10.238Z] [2022-10-03T05:16:10.238Z] _____ _ [2022-10-03T05:16:10.238Z] / ____| | | [2022-10-03T05:16:10.238Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T05:16:10.238Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T05:16:10.238Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T05:16:10.238Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T05:16:10.238Z] Bash-1.0.6 [2022-10-03T05:16:10.238Z] [2022-10-03T05:16:10.238Z] [2022-10-03T05:16:10.238Z] ==> git version 2.25.1 found [2022-10-03T05:16:10.238Z] ==> 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:16:10.238Z] Release-Date: 2020-01-08 [2022-10-03T05:16:10.238Z] 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:16:10.238Z] 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:16:10.238Z] ==> Jenkins CI detected. [2022-10-03T05:16:10.238Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-195 [2022-10-03T05:16:10.238Z] project root: . [2022-10-03T05:16:10.238Z] --> token set from env [2022-10-03T05:16:10.238Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T05:16:10.238Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T05:16:10.238Z] ==> Python coveragepy not found [2022-10-03T05:16:10.238Z] ==> Searching for coverage reports in: [2022-10-03T05:16:10.238Z] + . [2022-10-03T05:16:10.238Z] -> Found 1 reports [2022-10-03T05:16:10.238Z] ==> Detecting git/mercurial file structure [2022-10-03T05:16:10.238Z] ==> Reading reports [2022-10-03T05:16:10.238Z] + ./coverage.out bytes=7631 [2022-10-03T05:16:10.238Z] ==> Appending adjustments [2022-10-03T05:16:10.238Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T05:16:10.497Z] + Found adjustments [2022-10-03T05:16:10.497Z] ==> Gzipping contents [2022-10-03T05:16:10.497Z] 4.0K /tmp/codecov.nFYccG.gz [2022-10-03T05:16:10.497Z] ==> Uploading reports [2022-10-03T05:16:10.497Z] url: https://codecov.io [2022-10-03T05:16:10.497Z] query: branch=PR-195&commit=25aa39b2e621d0714a7f2a81b6cf53447a35028e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-195%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=195&job=&cmd_args= [2022-10-03T05:16:10.497Z] -> Pinging Codecov [2022-10-03T05:16:10.497Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-195&commit=25aa39b2e621d0714a7f2a81b6cf53447a35028e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-195%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=195&job=&cmd_args= [2022-10-03T05:16:10.756Z] -> Uploading to [2022-10-03T05:16:10.756Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/6C56EA5C29638FB4528AC87E60AF5AE0/25aa39b2e621d0714a7f2a81b6cf53447a35028e/d9532d81-e6d2-47c1-9935-85c69c24c6a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T051610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7fb6109dc59f3c4c6d4f6f9e293f2c53b83b33710aa5ff8001bd03c08b091425 [2022-10-03T05:16:10.756Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T05:16:10.756Z] Dload Upload Total Spent Left Speed [2022-10-03T05:16:11.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6827 --:--:-- --:--:-- --:--:-- 6827 [2022-10-03T05:16:11.017Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] } [2022-10-03T05:16:11.046Z] 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:16:12.829Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-195/archives ] [2022-10-03T05:16:12.830Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-195/archives [2022-10-03T05:16:12.830Z] total 16 [2022-10-03T05:16:12.830Z] drwxr-xr-x 3 root root 4096 Oct 3 05:06 . [2022-10-03T05:16:12.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. [2022-10-03T05:16:12.830Z] drwxr-xr-x 2 root root 4096 Oct 3 05:06 cost [2022-10-03T05:16:12.830Z] -rw-r--r-- 1 root root 86 Oct 3 05:06 cost.csv [2022-10-03T05:16:12.830Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-195/archives [2022-10-03T05:16:12.830Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-195/archives [2022-10-03T05:16:12.830Z] total 16 [2022-10-03T05:16:12.830Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:06 . [2022-10-03T05:16:12.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. [2022-10-03T05:16:12.830Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:06 cost [2022-10-03T05:16:12.830Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:13.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:14.058Z] ---> package-listing.sh [2022-10-03T05:16:14.058Z] ++ facter osfamily [2022-10-03T05:16:14.058Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T05:16:14.323Z] + OS_FAMILY=debian [2022-10-03T05:16:14.323Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-195 [2022-10-03T05:16:14.323Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T05:16:14.323Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T05:16:14.323Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T05:16:14.323Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T05:16:14.323Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-195 ']' [2022-10-03T05:16:14.323Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T05:16:14.323Z] + case "${OS_FAMILY}" in [2022-10-03T05:16:14.323Z] + dpkg -l [2022-10-03T05:16:14.323Z] + grep '^ii' [2022-10-03T05:16:14.323Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T05:16:14.323Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T05:16:14.323Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T05:16:14.323Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-195 ']' [2022-10-03T05:16:14.323Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-195/archives/ [2022-10-03T05:16:14.323Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-195/archives/ [Pipeline] echo [2022-10-03T05:16:14.357Z] 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-195/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:16:14.652Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T05:16:15.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T05:16:15.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T05:16:15.446Z] prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container [2022-10-03T05:16:15.484Z] $ 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-195/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-195 -v /w/workspace/gexfoundry_device-snmp-go_PR-195:/w/workspace/gexfoundry_device-snmp-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-195@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-195@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:16:15.681Z] $ docker top c8f59fe106bc7ce7b85400c3c770068fa3ece79b9c49dc72d0edcc83011bf1ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T05:16:16.082Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T05:16:16.390Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T05:16:16.698Z] + ls /var/log/sa-host [2022-10-03T05:16:16.698Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T05:16:16.831Z] provisioning config files... [2022-10-03T05:16:16.839Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config2180076340295433368tmp [Pipeline] { [Pipeline] echo [2022-10-03T05:16:16.891Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:17.201Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T05:16:17.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:17.628Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T05:16:17.665Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:17.976Z] ---> sudo-logs.sh [2022-10-03T05:16:17.977Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T05:16:18.068Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:18.374Z] ---> job-cost.sh [2022-10-03T05:16:18.374Z] lf-activate-venv: SKIPPING [2022-10-03T05:16:18.374Z] DEBUG: total: 0.2199999988079071 [2022-10-03T05:16:18.374Z] INFO: Retrieving Stack Cost... [2022-10-03T05:16:18.940Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T05:16:19.199Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T05:16:19.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T05:16:19.541Z] ---> logs-deploy.sh [2022-10-03T05:16:19.541Z] lf-activate-venv: SKIPPING [2022-10-03T05:16:19.541Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-195/1 [2022-10-03T05:16:19.541Z] INFO: archiving workspace using pattern(s): [2022-10-03T05:16:20.481Z] Archives upload complete. [2022-10-03T05:16:20.481Z] INFO: archiving logs to Nexus