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 05:04:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:38 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 05:04:38 ========================================================= 05:04:38 EdgeX Global Pipelines Version Info 05:04:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:38 ------------------- 05:04:38 stable info: 05:04:38 ------------------- 05:04:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:38 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:38 Message: update stable to v1.0.239 05:04:39 ------------------- 05:04:39 experimental info: 05:04:39 ------------------- 05:04:39 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:39 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-195 [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-195 [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-195 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25aa39b [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:41 provisioning config files... 05:04:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config5385807499894301547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:41 ---> docker-login.sh 05:04:41 nexus3.edgexfoundry.org:10001 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 nexus3.edgexfoundry.org:10002 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 nexus3.edgexfoundry.org:10003 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 nexus3.edgexfoundry.org:10004 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 docker.io 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 ---> docker-login.sh ends [Pipeline] } 05:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:43 + git rev-list -1 --merges 25aa39b2e621d0714a7f2a81b6cf53447a35028e~1..25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo 05:04:43 -----------> git rev-list -1 --merges 25aa39b2e621d0714a7f2a81b6cf53447a35028e~1..25aa39b2e621d0714a7f2a81b6cf53447a35028e 25aa39b2e621d0714a7f2a81b6cf53447a35028e [false] [Pipeline] sh 05:04:43 + git log --format=format:%s -1 25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo 05:04:43 ========================================================= 05:04:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:44 + git log --format=format:%s -1 25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] echo 05:04:44 [semverPrep] GIT_COMMIT: 25aa39b2e621d0714a7f2a81b6cf53447a35028e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:04:44 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:44 + grep -v github /etc/ssh/ssh_known_hosts 05:04:44 + [ -e /tmp/ssh_known_hosts ] 05:04:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:44 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:44 05:04:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:45 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:45 b85a868b505f: Pulling fs layer 05:04:45 e2be974225ed: Pulling fs layer 05:04:45 339a4e72a1f5: Pulling fs layer 05:04:45 988bab9f4d93: Pulling fs layer 05:04:45 1469e6f7b9e6: Pulling fs layer 05:04:45 eaf3925da568: Pulling fs layer 05:04:45 bab4dde63d76: Pulling fs layer 05:04:45 bde34c3a00c8: Pulling fs layer 05:04:45 b352a97aabf1: Pulling fs layer 05:04:45 4872d77fe225: Pulling fs layer 05:04:45 5851b861e8e6: Pulling fs layer 05:04:45 bde34c3a00c8: Waiting 05:04:45 988bab9f4d93: Waiting 05:04:45 1469e6f7b9e6: Waiting 05:04:45 eaf3925da568: Waiting 05:04:45 bab4dde63d76: Waiting 05:04:45 b352a97aabf1: Waiting 05:04:45 4872d77fe225: Waiting 05:04:45 e2be974225ed: Verifying Checksum 05:04:45 e2be974225ed: Download complete 05:04:45 988bab9f4d93: Verifying Checksum 05:04:45 988bab9f4d93: Download complete 05:04:45 1469e6f7b9e6: Verifying Checksum 05:04:45 1469e6f7b9e6: Download complete 05:04:45 eaf3925da568: Verifying Checksum 05:04:45 eaf3925da568: Download complete 05:04:45 339a4e72a1f5: Download complete 05:04:45 bde34c3a00c8: Download complete 05:04:45 b352a97aabf1: Verifying Checksum 05:04:45 b352a97aabf1: Download complete 05:04:45 4872d77fe225: Verifying Checksum 05:04:45 4872d77fe225: Download complete 05:04:45 5851b861e8e6: Verifying Checksum 05:04:45 5851b861e8e6: Download complete 05:04:45 b85a868b505f: Verifying Checksum 05:04:45 b85a868b505f: Download complete 05:04:45 bab4dde63d76: Download complete 05:04:47 b85a868b505f: Pull complete 05:04:47 e2be974225ed: Pull complete 05:04:47 339a4e72a1f5: Pull complete 05:04:47 988bab9f4d93: Pull complete 05:04:48 1469e6f7b9e6: Pull complete 05:04:48 eaf3925da568: Pull complete 05:04:49 bab4dde63d76: Pull complete 05:04:49 bde34c3a00c8: Pull complete 05:04:50 b352a97aabf1: Pull complete 05:04:50 4872d77fe225: Pull complete 05:04:50 5851b861e8e6: Pull complete 05:04:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:50 prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container 05:04:50 $ 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 05:04:51 $ docker top 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 -eo pid,comm 05:04:51 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). 05:04:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:51 [ssh-agent] Looking for ssh-agent implementation... 05:04:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:52 $ docker exec 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent 05:04:52 SSH_AUTH_SOCK=/tmp/ssh-JT5ru8rbM1wf/agent.32 05:04:52 SSH_AGENT_PID=37 05:04:52 Running ssh-add (command line suppressed) 05:04:52 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) 05:04:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:52 + git tag --points-at HEAD [Pipeline] } 05:04:52 $ docker exec --env ******** --env ******** 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent -k 05:04:52 unset SSH_AUTH_SOCK; 05:04:52 unset SSH_AGENT_PID; 05:04:52 echo Agent pid 37 killed; 05:04:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:52 [ssh-agent] Looking for ssh-agent implementation... 05:04:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:53 $ docker exec 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent 05:04:53 SSH_AUTH_SOCK=/tmp/ssh-xuCDvjOGRkL4/agent.69 05:04:53 SSH_AGENT_PID=75 05:04:53 Running ssh-add (command line suppressed) 05:04:53 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) 05:04:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:53 + git semver init 05:04:53 2022-10-03 05:04:53,779 [run_init] DEBUG init version:0.0.0 force:False 05:04:53 2022-10-03 05:04:53,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver 05:04:53 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 05:04:53 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) 05:04:54 2022-10-03 05:04:54,632 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-195/.git/info/exclude 05:04:54 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 05:04:54 2022-10-03 05:04:54,633 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-195/.semver/PR-195 05:04:54 2022-10-03 05:04:54,637 [execute] INFO git cat-file --batch-check 05:04:54 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=) 05:04:54 2022-10-03 05:04:54,643 [execute] INFO git cat-file --batch 05:04:54 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=) 05:04:54 2022-10-03 05:04:54,648 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-195/.semver/PR-195 05:04:54 0.0.0 [Pipeline] } 05:04:54 $ docker exec --env ******** --env ******** 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 ssh-agent -k 05:04:54 unset SSH_AUTH_SOCK; 05:04:54 unset SSH_AGENT_PID; 05:04:54 echo Agent pid 75 killed; 05:04:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:55 + git semver [Pipeline] } 05:04:55 $ docker stop --time=1 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 05:04:56 $ docker rm -f 4fb768dccaa1d6a2b60d5f286d8bf3fc3bb42af4803f52d70fb424e4a6412d26 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:57 Stashed 1 file(s) [Pipeline] echo 05:04:57 [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 05:04:58 provisioning config files... 05:04:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config14834056846186429036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:58 ---> docker-login.sh 05:04:58 nexus3.edgexfoundry.org:10001 05:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:58 Configure a credential helper to remove this warning. See 05:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:58 05:04:58 Login Succeeded 05:04:58 nexus3.edgexfoundry.org:10002 05:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:58 Configure a credential helper to remove this warning. See 05:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:58 05:04:58 Login Succeeded 05:04:58 nexus3.edgexfoundry.org:10003 05:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:58 Configure a credential helper to remove this warning. See 05:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:58 05:04:58 Login Succeeded 05:04:58 nexus3.edgexfoundry.org:10004 05:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:59 Configure a credential helper to remove this warning. See 05:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:59 05:04:59 Login Succeeded 05:04:59 docker.io 05:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:59 Configure a credential helper to remove this warning. See 05:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:59 05:04:59 Login Succeeded 05:04:59 ---> docker-login.sh ends [Pipeline] } 05:04:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:59 ========================================================= 05:04:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:00 + 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 . 05:05:00 Sending build context to Docker daemon 5.514MB 05:05:00 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:05:00 Step 2/13 : FROM ${BASE} AS builder 05:05:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:00 2408cc74d12b: Pulling fs layer 05:05:00 ea60b727a1ce: Pulling fs layer 05:05:00 30c4a7721957: Pulling fs layer 05:05:00 370296b7ddb6: Pulling fs layer 05:05:00 7c6cee850709: Pulling fs layer 05:05:00 aa9baa53a306: Pulling fs layer 05:05:00 8b309c321861: Pulling fs layer 05:05:00 d8d76fd02f46: Pulling fs layer 05:05:00 fa31f396de31: Pulling fs layer 05:05:00 370296b7ddb6: Waiting 05:05:00 7c6cee850709: Waiting 05:05:00 aa9baa53a306: Waiting 05:05:00 8b309c321861: Waiting 05:05:00 d8d76fd02f46: Waiting 05:05:00 fa31f396de31: Waiting 05:05:00 30c4a7721957: Verifying Checksum 05:05:00 30c4a7721957: Download complete 05:05:00 ea60b727a1ce: Download complete 05:05:00 7c6cee850709: Verifying Checksum 05:05:00 7c6cee850709: Download complete 05:05:00 aa9baa53a306: Verifying Checksum 05:05:00 aa9baa53a306: Download complete 05:05:00 2408cc74d12b: Verifying Checksum 05:05:00 2408cc74d12b: Download complete 05:05:00 8b309c321861: Download complete 05:05:00 2408cc74d12b: Pull complete 05:05:00 ea60b727a1ce: Pull complete 05:05:00 30c4a7721957: Pull complete 05:05:01 fa31f396de31: Verifying Checksum 05:05:01 fa31f396de31: Download complete 05:05:01 370296b7ddb6: Verifying Checksum 05:05:01 370296b7ddb6: Download complete 05:05:01 d8d76fd02f46: Verifying Checksum 05:05:01 d8d76fd02f46: Download complete 05:05:05 370296b7ddb6: Pull complete 05:05:05 7c6cee850709: Pull complete 05:05:05 aa9baa53a306: Pull complete 05:05:05 8b309c321861: Pull complete 05:05:07 d8d76fd02f46: Pull complete 05:05:08 fa31f396de31: Pull complete 05:05:08 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 05:05:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:05:08 ---> cef68f9685f8 05:05:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:05:09 ---> Running in 7a422968e7b9 05:05:09 Removing intermediate container 7a422968e7b9 05:05:09 ---> 825ddf590083 05:05:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:09 ---> Running in cea7f7995f85 05:05:09 Removing intermediate container cea7f7995f85 05:05:09 ---> 0dd768767f59 05:05:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:10 ---> Running in cd65cfad98c6 05:05:10 Removing intermediate container cd65cfad98c6 05:05:10 ---> e60213aaf8c6 05:05:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:05:10 ---> Running in a43a9b0c8e99 05:05:10 Removing intermediate container a43a9b0c8e99 05:05:10 ---> fb82f3aca6a7 05:05:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:10 ---> Running in c0f5580647e3 05:05:11 Removing intermediate container c0f5580647e3 05:05:11 ---> 74e51e8ce4f6 05:05:11 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:11 ---> Running in 3017627b9ae9 05:05:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:05:12 (2/4) Installing libedit (20210910.3.1-r0) 05:05:12 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:05:12 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:05:13 Executing busybox-1.35.0-r13.trigger 05:05:13 OK: 216 MiB in 55 packages 05:05:13 Still waiting to schedule task 05:05:13 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6824’ is offline 05:05:13 Removing intermediate container 3017627b9ae9 05:05:13 ---> d468be0132f0 05:05:13 Step 9/13 : WORKDIR /device-snmp-go 05:05:13 ---> Running in 1b067a8bf760 05:05:13 Removing intermediate container 1b067a8bf760 05:05:13 ---> 7334a41c46cf 05:05:13 Step 10/13 : COPY go.mod vendor* ./ 05:05:13 ---> bdb928a8e4ac 05:05:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:13 ---> Running in 6c5abaf4ef4c 05:05:28 Removing intermediate container 6c5abaf4ef4c 05:05:28 ---> 89481344ce30 05:05:28 Step 12/13 : COPY . . 05:05:28 ---> ad8c83917388 05:05:28 Step 13/13 : RUN ${MAKE} 05:05:28 ---> Running in 987fabf3bafd 05:05:28 noop 05:05:28 Removing intermediate container 987fabf3bafd 05:05:28 ---> e060c0a40ec8 05:05:28 Successfully built e060c0a40ec8 05:05:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:28 + docker inspect -f . ci-base-image-x86_64 05:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:29 prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container 05:05:29 $ 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 05:05:29 $ docker top 2b8b17dbc09cc27b7fc36b8c5ffd629a561b5ad5cb579c2e6aa6241b13e82f2d -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:29 + go version 05:05:29 go version go1.18.3 linux/amd64 [Pipeline] } 05:05:29 $ docker stop --time=1 2b8b17dbc09cc27b7fc36b8c5ffd629a561b5ad5cb579c2e6aa6241b13e82f2d 05:05:31 $ 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 05:05:31 + docker inspect -f . ci-base-image-x86_64 05:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:31 prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container 05:05:31 $ 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 05:05:32 $ docker top da1fab469f17646b606bab723f0b321e89c1b657052a9b03906957a9919b3430 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-195 [Pipeline] fileExists [Pipeline] sh 05:05:33 + make test 05:05:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:33 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 05:05:50 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." 05:05:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:53 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:53 $ docker stop --time=1 da1fab469f17646b606bab723f0b321e89c1b657052a9b03906957a9919b3430 05:05:55 $ docker rm -f da1fab469f17646b606bab723f0b321e89c1b657052a9b03906957a9919b3430 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:57 + ls -al . 05:05:57 total 172 05:05:57 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:05 . 05:05:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 .. 05:05:57 -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:04 .dockerignore 05:05:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:05 .git 05:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 .github 05:05:57 -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:04 .gitignore 05:05:57 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:04 .golangci.yml 05:05:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:04 .semver 05:05:57 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:04 Attribution.txt 05:05:57 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:04 CHANGELOG.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:04 Dockerfile 05:05:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:04 GOVERNANCE.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:04 Jenkinsfile 05:05:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:04 LICENSE 05:05:57 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:04 Makefile 05:05:57 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:04 OWNERS.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:04 README.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION 05:05:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:04 bin 05:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 cmd 05:05:57 -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:05 coverage.out 05:05:57 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:04 go.mod 05:05:57 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:04 go.sum 05:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 internal 05:05:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 snap 05:05:57 -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:57 + 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 . 05:05:57 Sending build context to Docker daemon 5.522MB 05:05:57 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:05:57 Step 2/25 : FROM ${BASE} AS builder 05:05:57 ---> e060c0a40ec8 05:05:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:05:57 ---> Running in 396a7f455bd7 05:05:58 Removing intermediate container 396a7f455bd7 05:05:58 ---> e1ffd06aee2c 05:05:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:58 ---> Running in 05c5b865b247 05:05:58 Removing intermediate container 05c5b865b247 05:05:58 ---> 5cb960069f4f 05:05:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:58 ---> Running in a09150f58d3f 05:05:58 Removing intermediate container a09150f58d3f 05:05:58 ---> 253d2660755b 05:05:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:05:58 ---> Running in 185d08a5805d 05:05:58 Removing intermediate container 185d08a5805d 05:05:58 ---> f32a54da8485 05:05:58 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:58 ---> Running in 3940762ceda6 05:05:58 Removing intermediate container 3940762ceda6 05:05:58 ---> f17ccdab5e63 05:05:58 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:58 ---> Running in 8c358a7a9b6d 05:05:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:00 OK: 216 MiB in 55 packages 05:06:00 Removing intermediate container 8c358a7a9b6d 05:06:00 ---> 5ab53f5b8775 05:06:00 Step 9/25 : WORKDIR /device-snmp-go 05:06:00 ---> Running in 458d0a0cd85a 05:06:00 Removing intermediate container 458d0a0cd85a 05:06:00 ---> 9fe80b9d3387 05:06:00 Step 10/25 : COPY go.mod vendor* ./ 05:06:00 ---> 7cb2b6f209ad 05:06:00 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:00 ---> Running in d8ad4646c8a8 05:06:01 Removing intermediate container d8ad4646c8a8 05:06:01 ---> a64a2347a895 05:06:01 Step 12/25 : COPY . . 05:06:02 ---> 465b370980f5 05:06:02 Step 13/25 : RUN ${MAKE} 05:06:02 ---> Running in e3725d54b232 05:06:02 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 05:06:24 Removing intermediate container e3725d54b232 05:06:24 ---> db1f293397d3 05:06:24 Step 14/25 : FROM alpine:3.16 05:06:24 3.16: Pulling from library/alpine 05:06:24 213ec9aee27d: Pulling fs layer 05:06:24 213ec9aee27d: Verifying Checksum 05:06:24 213ec9aee27d: Download complete 05:06:24 213ec9aee27d: Pull complete 05:06:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:06:24 Status: Downloaded newer image for alpine:3.16 05:06:24 ---> 9c6f07244728 05:06:24 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:06:24 ---> Running in 4104ec724783 05:06:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:25 (1/6) Installing dumb-init (1.2.5-r1) 05:06:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:06:25 (3/6) Installing libsodium (1.0.18-r0) 05:06:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:06:25 (5/6) Installing libzmq (4.3.4-r0) 05:06:25 (6/6) Installing zeromq (4.3.4-r0) 05:06:25 Executing busybox-1.35.0-r17.trigger 05:06:25 OK: 8 MiB in 20 packages 05:06:25 Removing intermediate container 4104ec724783 05:06:25 ---> c35333189843 05:06:25 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:06:26 ---> 3c534fe9113d 05:06:26 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:06:26 ---> ab3a7b3a8ae2 05:06:26 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:06:26 ---> 7943321bbcf8 05:06:26 Step 19/25 : EXPOSE 59993 05:06:26 ---> Running in a23bbb166908 05:06:26 Removing intermediate container a23bbb166908 05:06:26 ---> 5e9948c93bc9 05:06:26 Step 20/25 : EXPOSE 161 05:06:26 ---> Running in 0c52c8ddc3f7 05:06:26 Removing intermediate container 0c52c8ddc3f7 05:06:26 ---> f13920c40fff 05:06:26 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:06:26 ---> Running in c9fd7f127982 05:06:26 Removing intermediate container c9fd7f127982 05:06:26 ---> c698b75276f5 05:06:26 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:06:26 ---> Running in 25c09f8803d0 05:06:27 Removing intermediate container 25c09f8803d0 05:06:27 ---> a3c23d3eca41 05:06:27 Step 23/25 : LABEL arch=amd64 05:06:27 ---> Running in d88bda5569d8 05:06:27 Removing intermediate container d88bda5569d8 05:06:27 ---> 68b4cab26cc7 05:06:27 Step 24/25 : LABEL git_sha=25aa39b2e621d0714a7f2a81b6cf53447a35028e 05:06:27 ---> Running in bc88e1d5e22c 05:06:27 Removing intermediate container bc88e1d5e22c 05:06:27 ---> a48f74778236 05:06:27 Step 25/25 : LABEL version=0.0.0 05:06:27 ---> Running in 8f3103cb6bd9 05:06:27 Removing intermediate container 8f3103cb6bd9 05:06:27 ---> 7ec7d9861784 05:06:27 [Warning] One or more build-args [ARCH] were not consumed 05:06:27 Successfully built 7ec7d9861784 05:06:27 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 05:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:28 05:06:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:28 latest: Pulling from edgex-lftools-log-publisher 05:06:28 5eb5b503b376: Pulling fs layer 05:06:28 5c69ac0246d0: Pulling fs layer 05:06:28 ec43610c2a17: Pulling fs layer 05:06:28 3a2ae6a8a46f: Pulling fs layer 05:06:28 33b1e0a273af: Pulling fs layer 05:06:28 5d3b04190fa2: Pulling fs layer 05:06:28 2f39f015ded8: Pulling fs layer 05:06:28 3a2ae6a8a46f: Waiting 05:06:28 33b1e0a273af: Waiting 05:06:28 5d3b04190fa2: Waiting 05:06:28 2f39f015ded8: Waiting 05:06:28 5c69ac0246d0: Verifying Checksum 05:06:28 5c69ac0246d0: Download complete 05:06:28 3a2ae6a8a46f: Verifying Checksum 05:06:28 3a2ae6a8a46f: Download complete 05:06:28 33b1e0a273af: Verifying Checksum 05:06:28 33b1e0a273af: Download complete 05:06:28 5d3b04190fa2: Verifying Checksum 05:06:28 5d3b04190fa2: Download complete 05:06:28 ec43610c2a17: Verifying Checksum 05:06:28 ec43610c2a17: Download complete 05:06:28 5eb5b503b376: Download complete 05:06:29 2f39f015ded8: Download complete 05:06:30 5eb5b503b376: Pull complete 05:06:30 5c69ac0246d0: Pull complete 05:06:30 ec43610c2a17: Pull complete 05:06:30 3a2ae6a8a46f: Pull complete 05:06:31 33b1e0a273af: Pull complete 05:06:31 5d3b04190fa2: Pull complete 05:06:35 2f39f015ded8: Pull complete 05:06:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:35 prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container 05:06:35 $ 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 05:06:37 $ docker top e04de2592a01aa6def7f0a8d04c1cd851ae1cf810a57c5b47ff0882aba8df648 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:38 ---> job-cost.sh 05:06:38 lf-activate-venv: SKIPPING 05:06:38 INFO: No Stack... 05:06:38 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:38 INFO: Archiving Costs [Pipeline] sh 05:06:39 + cat /w/workspace/gexfoundry_device-snmp-go_PR-195/archives/cost.csv 05:06:39 + cut -d, -f6 [Pipeline] lock 05:06:39 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] 05:06:39 Resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] did not exist. Created. 05:06:39 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:39 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:39 Stashed 1 file(s) [Pipeline] } 05:06:39 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:39 $ docker stop --time=1 e04de2592a01aa6def7f0a8d04c1cd851ae1cf810a57c5b47ff0882aba8df648 05:06:40 $ docker rm -f e04de2592a01aa6def7f0a8d04c1cd851ae1cf810a57c5b47ff0882aba8df648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6829 in /w/workspace/gexfoundry_device-snmp-go_PR-195 [Pipeline] { [Pipeline] ws 05:07:49 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:49 Selected Git installation does not exist. Using Default 05:07:49 The recommended git tool is: NONE 05:07:56 using credential edgex-jenkins-ssh 05:07:56 Cloning the remote Git repository 05:07:56 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:56 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:56 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:56 > git --version # timeout=10 05:07:56 > git --version # 'git version 2.25.1' 05:07:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:56 Verifying host key using known hosts file 05:07:57 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. 05:07:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:59 Merging remotes/origin/main commit 63e28895b9126edb3139522702b6e6ce592ce3b8 into PR head commit 25aa39b2e621d0714a7f2a81b6cf53447a35028e 05:07:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:59 Verifying host key using known hosts file 05:07:59 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. 05:07:59 > 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 05:07:59 > git config core.sparsecheckout # timeout=10 05:07:59 > git checkout -f 25aa39b2e621d0714a7f2a81b6cf53447a35028e # timeout=10 05:08:00 > git remote # timeout=10 05:08:00 > git config --get remote.origin.url # timeout=10 05:08:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:00 Verifying host key using known hosts file 05:08:00 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. 05:08:00 Merge succeeded, producing 25aa39b2e621d0714a7f2a81b6cf53447a35028e 05:08:00 Checking out Revision 25aa39b2e621d0714a7f2a81b6cf53447a35028e (PR-195) 05:08:00 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:08:00 > git --version # timeout=10 05:08:00 > git --version # 'git version 2.25.1' 05:08:01 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:08:00 > git merge 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 05:08:00 > git rev-parse HEAD^{commit} # timeout=10 05:08:00 > git config core.sparsecheckout # timeout=10 05:08:00 > git checkout -f 25aa39b2e621d0714a7f2a81b6cf53447a35028e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:08:02 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:02 Dload Upload Total Spent Left Speed 05:08:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 05:08:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:08:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:08:03 + sudo tee /etc/docker/daemon.new 05:08:03 { 05:08:03 "registry-mirrors": [ 05:08:03 "https://nexus3.edgexfoundry.org:10001" 05:08:03 ], 05:08:03 "bip": "10.250.0.254/24", 05:08:03 "hosts": [ 05:08:03 "tcp://0.0.0.0:5555", 05:08:03 "unix:///var/run/docker.sock" 05:08:03 ], 05:08:03 "mtu": 1458, 05:08:03 "selinux-enabled": true, 05:08:03 "seccomp-profile": "/etc/docker/seccomp.json" 05:08:03 } [Pipeline] sh 05:08:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:08:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:22 provisioning config files... 05:08:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7379049956310122974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:22 ---> docker-login.sh 05:08:22 nexus3.edgexfoundry.org:10001 05:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:23 Configure a credential helper to remove this warning. See 05:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:23 05:08:23 Login Succeeded 05:08:23 nexus3.edgexfoundry.org:10002 05:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:24 Configure a credential helper to remove this warning. See 05:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:24 05:08:24 Login Succeeded 05:08:24 nexus3.edgexfoundry.org:10003 05:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:24 Configure a credential helper to remove this warning. See 05:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:24 05:08:24 Login Succeeded 05:08:24 nexus3.edgexfoundry.org:10004 05:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:25 Configure a credential helper to remove this warning. See 05:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:25 05:08:25 Login Succeeded 05:08:25 docker.io 05:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:25 Configure a credential helper to remove this warning. See 05:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:25 05:08:25 Login Succeeded 05:08:25 ---> docker-login.sh ends [Pipeline] } 05:08:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:26 ========================================================= 05:08:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:08:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:26 + 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 . 05:08:27 Sending build context to Docker daemon 2.848MB 05:08:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:08:27 Step 2/13 : FROM ${BASE} AS builder 05:08:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:27 b3c136eddcbf: Pulling fs layer 05:08:27 c0a3192eca97: Pulling fs layer 05:08:27 a050256f5b6f: Pulling fs layer 05:08:27 656be50a0ddc: Pulling fs layer 05:08:27 2bbca73fdf42: Pulling fs layer 05:08:27 f607e4fc86c3: Pulling fs layer 05:08:27 4d572c569a2c: Pulling fs layer 05:08:27 fcf976331f73: Pulling fs layer 05:08:27 656be50a0ddc: Waiting 05:08:27 f607e4fc86c3: Waiting 05:08:27 4d572c569a2c: Waiting 05:08:27 2bbca73fdf42: Waiting 05:08:27 fcf976331f73: Waiting 05:08:27 a050256f5b6f: Verifying Checksum 05:08:27 a050256f5b6f: Download complete 05:08:27 c0a3192eca97: Verifying Checksum 05:08:27 c0a3192eca97: Download complete 05:08:27 2bbca73fdf42: Verifying Checksum 05:08:27 2bbca73fdf42: Download complete 05:08:27 f607e4fc86c3: Verifying Checksum 05:08:27 f607e4fc86c3: Download complete 05:08:27 b3c136eddcbf: Verifying Checksum 05:08:27 b3c136eddcbf: Download complete 05:08:28 b3c136eddcbf: Pull complete 05:08:29 fcf976331f73: Verifying Checksum 05:08:29 fcf976331f73: Download complete 05:08:29 c0a3192eca97: Pull complete 05:08:29 a050256f5b6f: Pull complete 05:08:30 4d572c569a2c: Verifying Checksum 05:08:30 4d572c569a2c: Download complete 05:08:31 656be50a0ddc: Verifying Checksum 05:08:31 656be50a0ddc: Download complete 05:08:46 656be50a0ddc: Pull complete 05:08:46 2bbca73fdf42: Pull complete 05:08:46 f607e4fc86c3: Pull complete 05:08:50 4d572c569a2c: Pull complete 05:08:52 fcf976331f73: Pull complete 05:08:52 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 05:08:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:52 ---> 3970a7415f9e 05:08:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:08:55 ---> Running in db79efe4645d 05:08:55 Removing intermediate container db79efe4645d 05:08:55 ---> 0f46ffda3582 05:08:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:55 ---> Running in 7bf692e28c78 05:08:55 Removing intermediate container 7bf692e28c78 05:08:55 ---> db091b83c3c2 05:08:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:55 ---> Running in 512fe3a4408d 05:08:55 Removing intermediate container 512fe3a4408d 05:08:55 ---> 10e34d103d79 05:08:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:08:55 ---> Running in 81435f1f7637 05:08:56 Removing intermediate container 81435f1f7637 05:08:56 ---> 8093edfded79 05:08:56 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:56 ---> Running in e68a9c18f6aa 05:08:58 Removing intermediate container e68a9c18f6aa 05:08:58 ---> 2a6327450f8f 05:08:58 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:58 ---> Running in 608a99968cd8 05:08:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:09:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:09:01 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:09:01 (2/4) Installing libedit (20210910.3.1-r0) 05:09:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:09:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:09:02 Executing busybox-1.35.0-r13.trigger 05:09:02 OK: 226 MiB in 55 packages 05:09:03 Removing intermediate container 608a99968cd8 05:09:03 ---> f89fe6c64cb7 05:09:03 Step 9/13 : WORKDIR /device-snmp-go 05:09:03 ---> Running in 6fa94ef5f9b1 05:09:04 Removing intermediate container 6fa94ef5f9b1 05:09:04 ---> 4f4f0068e886 05:09:04 Step 10/13 : COPY go.mod vendor* ./ 05:09:04 ---> d8d2431dfac7 05:09:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:04 ---> Running in f3047a59e4cb 05:10:01 Removing intermediate container f3047a59e4cb 05:10:01 ---> e03ee395c7a4 05:10:01 Step 12/13 : COPY . . 05:10:01 ---> 598a31b7fe88 05:10:01 Step 13/13 : RUN ${MAKE} 05:10:01 ---> Running in b2e7723651d9 05:10:01 noop 05:10:01 Removing intermediate container b2e7723651d9 05:10:01 ---> 293c1a2aedd6 05:10:01 Successfully built 293c1a2aedd6 05:10:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:01 + docker inspect -f . ci-base-image-arm64 05:10:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:01 prd-ubuntu20.04-docker-arm64-4c-16g-6829 does not seem to be running inside a container 05:10:01 $ 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 05:10:03 $ docker top d3091452eabd0ba20e118eac42d104951a7aca519851e297640ec98e449bf9e5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:04 + go version 05:10:04 go version go1.18.3 linux/arm64 [Pipeline] } 05:10:04 $ docker stop --time=1 d3091452eabd0ba20e118eac42d104951a7aca519851e297640ec98e449bf9e5 05:10:06 $ 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 05:10:06 + docker inspect -f . ci-base-image-arm64 05:10:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:07 prd-ubuntu20.04-docker-arm64-4c-16g-6829 does not seem to be running inside a container 05:10:07 $ 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 05:10:08 $ docker top e5db8f44fff905ff5a32d88ef5f72c54e972ccb7291471e22af34d4fc81aee5a -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:09 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:10:10 + make test 05:10:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:12:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:12:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.095s coverage: 0.0% of statements 05:12:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:12:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:12:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:12:26 $ docker stop --time=1 e5db8f44fff905ff5a32d88ef5f72c54e972ccb7291471e22af34d4fc81aee5a 05:12:28 $ docker rm -f e5db8f44fff905ff5a32d88ef5f72c54e972ccb7291471e22af34d4fc81aee5a [Pipeline] // withDockerContainer [Pipeline] sh 05:12:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:29 Warning: overwriting stash ‘coverage-report’ 05:12:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:30 + ls -al . 05:12:30 total 168 05:12:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:10 . 05:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 .. 05:12:30 -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:07 .dockerignore 05:12:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:08 .git 05:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 .github 05:12:30 -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:07 .gitignore 05:12:30 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:07 .golangci.yml 05:12:30 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:07 Attribution.txt 05:12:30 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:07 CHANGELOG.md 05:12:30 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:07 Dockerfile 05:12:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:07 GOVERNANCE.md 05:12:30 -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:07 Jenkinsfile 05:12:30 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:07 LICENSE 05:12:30 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:07 Makefile 05:12:30 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:07 OWNERS.md 05:12:30 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:07 README.md 05:12:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION 05:12:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:07 bin 05:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 cmd 05:12:30 -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:11 coverage.out 05:12:30 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:07 go.mod 05:12:30 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:07 go.sum 05:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 internal 05:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 snap 05:12:30 -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:31 + 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 . 05:12:31 Sending build context to Docker daemon 2.856MB 05:12:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:12:31 Step 2/25 : FROM ${BASE} AS builder 05:12:31 ---> 293c1a2aedd6 05:12:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:12:31 ---> Running in 2ec08f5382be 05:12:32 Removing intermediate container 2ec08f5382be 05:12:32 ---> 4a038bf7d952 05:12:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:32 ---> Running in fd5e0b9de9e6 05:12:32 Removing intermediate container fd5e0b9de9e6 05:12:32 ---> 9b2e1c7d638e 05:12:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:12:32 ---> Running in fafddd2bafaa 05:12:33 Removing intermediate container fafddd2bafaa 05:12:33 ---> 9b68be21e957 05:12:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:12:33 ---> Running in 64b634ea6ef2 05:12:33 Removing intermediate container 64b634ea6ef2 05:12:33 ---> 7ddb2593aa3a 05:12:33 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:33 ---> Running in c5d0dbca6f90 05:12:35 Removing intermediate container c5d0dbca6f90 05:12:35 ---> 57c52aaf9f8b 05:12:35 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:12:35 ---> Running in 2494bf6c1042 05:12:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:12:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:12:39 OK: 226 MiB in 55 packages 05:12:40 Removing intermediate container 2494bf6c1042 05:12:40 ---> 6f9223e3f1cf 05:12:40 Step 9/25 : WORKDIR /device-snmp-go 05:12:40 ---> Running in e8dd7f534656 05:12:40 Removing intermediate container e8dd7f534656 05:12:40 ---> 4a44d4be8336 05:12:40 Step 10/25 : COPY go.mod vendor* ./ 05:12:41 ---> 7f2232929852 05:12:41 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:41 ---> Running in 61966b392ba6 05:12:43 Removing intermediate container 61966b392ba6 05:12:43 ---> 50690d88015b 05:12:43 Step 12/25 : COPY . . 05:12:44 ---> beffaaeb5d74 05:12:44 Step 13/25 : RUN ${MAKE} 05:12:44 ---> Running in b31a8bb0f342 05:12:46 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 05:15:38 Removing intermediate container b31a8bb0f342 05:15:38 ---> feb33138f03f 05:15:38 Step 14/25 : FROM alpine:3.16 05:15:38 3.16: Pulling from library/alpine 05:15:38 9b18e9b68314: Pulling fs layer 05:15:38 9b18e9b68314: Verifying Checksum 05:15:38 9b18e9b68314: Download complete 05:15:38 9b18e9b68314: Pull complete 05:15:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:15:38 Status: Downloaded newer image for alpine:3.16 05:15:38 ---> a6215f271958 05:15:38 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:15:38 ---> Running in da5f21e0eb3d 05:15:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:15:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:15:38 (1/6) Installing dumb-init (1.2.5-r1) 05:15:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:15:38 (3/6) Installing libsodium (1.0.18-r0) 05:15:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:15:38 (5/6) Installing libzmq (4.3.4-r0) 05:15:38 (6/6) Installing zeromq (4.3.4-r0) 05:15:38 Executing busybox-1.35.0-r17.trigger 05:15:38 OK: 8 MiB in 20 packages 05:15:38 Removing intermediate container da5f21e0eb3d 05:15:38 ---> 42791d86f344 05:15:38 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:15:38 ---> e492135d186f 05:15:38 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:15:38 ---> 335708683035 05:15:38 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:15:38 ---> d5d2c9120776 05:15:38 Step 19/25 : EXPOSE 59993 05:15:38 ---> Running in 7a76277a97e2 05:15:38 Removing intermediate container 7a76277a97e2 05:15:38 ---> 701d1736f1cd 05:15:38 Step 20/25 : EXPOSE 161 05:15:38 ---> Running in 1f0e8936d121 05:15:38 Removing intermediate container 1f0e8936d121 05:15:38 ---> 06e9cf6cb253 05:15:38 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:15:38 ---> Running in 102706e2f0fa 05:15:38 Removing intermediate container 102706e2f0fa 05:15:38 ---> bf67405bdd38 05:15:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:15:38 ---> Running in aa24d5974f18 05:15:38 Removing intermediate container aa24d5974f18 05:15:38 ---> 44a6d33dc102 05:15:38 Step 23/25 : LABEL arch=arm64 05:15:38 ---> Running in eca2a7de3aec 05:15:38 Removing intermediate container eca2a7de3aec 05:15:38 ---> f0f7083bbdee 05:15:38 Step 24/25 : LABEL git_sha=25aa39b2e621d0714a7f2a81b6cf53447a35028e 05:15:38 ---> Running in 6732cd1edd61 05:15:38 Removing intermediate container 6732cd1edd61 05:15:38 ---> 62f58bf71f93 05:15:38 Step 25/25 : LABEL version=0.0.0 05:15:38 ---> Running in 2434a50912b6 05:15:38 Removing intermediate container 2434a50912b6 05:15:38 ---> 892cb06dab58 05:15:38 [Warning] One or more build-args [ARCH] were not consumed 05:15:38 Successfully built 892cb06dab58 05:15:38 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 05:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:38 05:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:39 arm64: Pulling from edgex-lftools-log-publisher 05:15:39 8998bd30e6a1: Pulling fs layer 05:15:39 04944245beec: Pulling fs layer 05:15:39 699f458cf7ca: Pulling fs layer 05:15:39 765212b225bb: Pulling fs layer 05:15:39 f23df028b6ca: Pulling fs layer 05:15:39 d65c8cfc05b1: Pulling fs layer 05:15:39 2437ff75d9bd: Pulling fs layer 05:15:39 f23df028b6ca: Waiting 05:15:39 2437ff75d9bd: Waiting 05:15:39 d65c8cfc05b1: Waiting 05:15:39 765212b225bb: Waiting 05:15:39 04944245beec: Verifying Checksum 05:15:39 04944245beec: Download complete 05:15:39 765212b225bb: Verifying Checksum 05:15:39 765212b225bb: Download complete 05:15:39 f23df028b6ca: Download complete 05:15:39 d65c8cfc05b1: Verifying Checksum 05:15:39 d65c8cfc05b1: Download complete 05:15:39 699f458cf7ca: Verifying Checksum 05:15:39 699f458cf7ca: Download complete 05:15:39 8998bd30e6a1: Verifying Checksum 05:15:39 8998bd30e6a1: Download complete 05:15:42 2437ff75d9bd: Verifying Checksum 05:15:42 2437ff75d9bd: Download complete 05:15:43 8998bd30e6a1: Pull complete 05:15:45 04944245beec: Pull complete 05:15:46 699f458cf7ca: Pull complete 05:15:46 765212b225bb: Pull complete 05:15:47 f23df028b6ca: Pull complete 05:15:47 d65c8cfc05b1: Pull complete 05:15:59 2437ff75d9bd: Pull complete 05:15:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:00 prd-ubuntu20.04-docker-arm64-4c-16g-6829 does not seem to be running inside a container 05:16:00 $ 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 05:16:03 $ docker top 3aed805989f2137784115cb4adbd084d383b3fff61e444e411439c604e5c8e18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:04 ---> job-cost.sh 05:16:04 lf-activate-venv: SKIPPING 05:16:04 INFO: No Stack... 05:16:04 INFO: Retrieving Pricing Info for: v3-standard-4 05:16:05 INFO: Archiving Costs [Pipeline] sh 05:16:06 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:16:06 + cut -d, -f6 [Pipeline] lock 05:16:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] 05:16:06 Resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] did not exist. Created. 05:16:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:06 /w/workspace/device-snmp-go/1@tmp/durable-1e9e9866/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:16:07 + echo total: 0.10999999940395355 [Pipeline] stash 05:16:07 Warning: overwriting stash ‘stack-cost’ 05:16:07 Stashed 1 file(s) [Pipeline] } 05:16:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:07 $ docker stop --time=1 3aed805989f2137784115cb4adbd084d383b3fff61e444e411439c604e5c8e18 05:16:08 $ 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 05:16:09 provisioning config files... 05:16:09 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config6830979001783540444tmp [Pipeline] { [Pipeline] sh 05:16:10 + set +x 05:16:10 + bash -s -- 05:16:10 + curl -s https://codecov.io/bash 05:16:10 05:16:10 _____ _ 05:16:10 / ____| | | 05:16:10 | | ___ __| | ___ ___ _____ __ 05:16:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:10 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:10 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:10 Bash-1.0.6 05:16:10 05:16:10 05:16:10 ==> git version 2.25.1 found 05:16:10 ==> 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 05:16:10 Release-Date: 2020-01-08 05:16:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:16:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:16:10 ==> Jenkins CI detected. 05:16:10 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-195 05:16:10 project root: . 05:16:10 --> token set from env 05:16:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:16:10 ==> Running gcov in . (disable via -X gcov) 05:16:10 ==> Python coveragepy not found 05:16:10 ==> Searching for coverage reports in: 05:16:10 + . 05:16:10 -> Found 1 reports 05:16:10 ==> Detecting git/mercurial file structure 05:16:10 ==> Reading reports 05:16:10 + ./coverage.out bytes=7631 05:16:10 ==> Appending adjustments 05:16:10 https://docs.codecov.io/docs/fixing-reports 05:16:10 + Found adjustments 05:16:10 ==> Gzipping contents 05:16:10 4.0K /tmp/codecov.nFYccG.gz 05:16:10 ==> Uploading reports 05:16:10 url: https://codecov.io 05:16:10 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= 05:16:10 -> Pinging Codecov 05:16:10 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= 05:16:10 -> Uploading to 05:16:10 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 05:16:10 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:10 Dload Upload Total Spent Left Speed 05:16:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6827 --:--:-- --:--:-- --:--:-- 6827 05:16:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/25aa39b2e621d0714a7f2a81b6cf53447a35028e [Pipeline] } 05:16:11 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 05:16:12 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-195/archives ] 05:16:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-195/archives 05:16:12 total 16 05:16:12 drwxr-xr-x 3 root root 4096 Oct 3 05:06 . 05:16:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. 05:16:12 drwxr-xr-x 2 root root 4096 Oct 3 05:06 cost 05:16:12 -rw-r--r-- 1 root root 86 Oct 3 05:06 cost.csv 05:16:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-195/archives 05:16:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-195/archives 05:16:12 total 16 05:16:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:06 . 05:16:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. 05:16:12 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:06 cost 05:16:12 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:16:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:14 ---> package-listing.sh 05:16:14 ++ facter osfamily 05:16:14 ++ tr '[:upper:]' '[:lower:]' 05:16:14 + OS_FAMILY=debian 05:16:14 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-195 05:16:14 + START_PACKAGES=/tmp/packages_start.txt 05:16:14 + END_PACKAGES=/tmp/packages_end.txt 05:16:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:14 + PACKAGES=/tmp/packages_start.txt 05:16:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-195 ']' 05:16:14 + PACKAGES=/tmp/packages_end.txt 05:16:14 + case "${OS_FAMILY}" in 05:16:14 + dpkg -l 05:16:14 + grep '^ii' 05:16:14 + '[' -f /tmp/packages_start.txt ']' 05:16:14 + '[' -f /tmp/packages_end.txt ']' 05:16:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-195 ']' 05:16:14 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-195/archives/ 05:16:14 + 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 05:16:14 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 05:16:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:15 prd-ubuntu20.04-docker-8c-8g-6825 does not seem to be running inside a container 05:16:15 $ 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 05:16:15 $ docker top c8f59fe106bc7ce7b85400c3c770068fa3ece79b9c49dc72d0edcc83011bf1ee -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:16 + touch /tmp/pre-build-complete [Pipeline] sh 05:16:16 + mkdir -p /var/log/sysstat [Pipeline] sh 05:16:16 + ls /var/log/sa-host 05:16:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:16 provisioning config files... 05:16:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-195@tmp/config2180076340295433368tmp [Pipeline] { [Pipeline] echo 05:16:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:17 ---> create-netrc.sh [Pipeline] } 05:16:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:16:17 ---> python-tools-install.sh [Pipeline] echo 05:16:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:16:17 ---> sudo-logs.sh 05:16:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:18 ---> job-cost.sh 05:16:18 lf-activate-venv: SKIPPING 05:16:18 DEBUG: total: 0.2199999988079071 05:16:18 INFO: Retrieving Stack Cost... 05:16:18 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:19 INFO: Archiving Costs [Pipeline] echo 05:16:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:16:19 ---> logs-deploy.sh 05:16:19 lf-activate-venv: SKIPPING 05:16:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-195/1 05:16:19 INFO: archiving workspace using pattern(s): 05:16:20 Archives upload complete. 05:16:20 INFO: archiving logs to Nexus