Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 073f6628e4882ecd405eac7767f08140f08a9e58 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-ssh9942272509539006546.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1008642291922308289.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10891479853347858990.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11434385358865321976.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6599663295722542446.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 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 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117369 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 Avoid second fetch Checking out Revision 073f6628e4882ecd405eac7767f08140f08a9e58 (main) Commit message: "build: Latest go-mods, config and Dockerfile fix (#200)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 073f6628e4882ecd405eac7767f08140f08a9e58 # timeout=10 > git rev-list --no-walk dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:52:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:52:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:40 ========================================================= 20:52:40 EdgeX Global Pipelines Version Info 20:52:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:52:41 ------------------- 20:52:41 stable info: 20:52:41 ------------------- 20:52:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:52:41 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:52:41 Message: update stable to v1.0.243 20:52:41 ------------------- 20:52:41 experimental info: 20:52:41 ------------------- 20:52:41 Commited By: **** collab-it+edgex@linuxfoundation.org 20:52:41 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:52:41 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:52:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 20:52:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 20:52:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 073f662 [Pipeline] echo 20:52:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:42 provisioning config files... 20:52:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14618441602560773801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:42 ---> docker-login.sh 20:52:42 nexus3.edgexfoundry.org:10001 20:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:43 Configure a credential helper to remove this warning. See 20:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:43 20:52:43 Login Succeeded 20:52:43 nexus3.edgexfoundry.org:10002 20:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:43 Configure a credential helper to remove this warning. See 20:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:43 20:52:43 Login Succeeded 20:52:43 nexus3.edgexfoundry.org:10003 20:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:43 Configure a credential helper to remove this warning. See 20:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:43 20:52:43 Login Succeeded 20:52:43 nexus3.edgexfoundry.org:10004 20:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:43 Configure a credential helper to remove this warning. See 20:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:43 20:52:43 Login Succeeded 20:52:43 docker.io 20:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:43 Configure a credential helper to remove this warning. See 20:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:43 20:52:43 Login Succeeded 20:52:43 ---> docker-login.sh ends [Pipeline] } 20:52:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:52:44 + git rev-list -1 --merges 073f6628e4882ecd405eac7767f08140f08a9e58~1..073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] echo 20:52:44 -----------> git rev-list -1 --merges 073f6628e4882ecd405eac7767f08140f08a9e58~1..073f6628e4882ecd405eac7767f08140f08a9e58 073f6628e4882ecd405eac7767f08140f08a9e58 [false] [Pipeline] sh 20:52:44 + git log --format=format:%s -1 073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] echo 20:52:44 ========================================================= 20:52:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:52:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:44 + git log --format=format:%s -1 073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] echo 20:52:44 [semverPrep] GIT_COMMIT: 073f6628e4882ecd405eac7767f08140f08a9e58, Commit Message: build: Latest go-mods, config and Dockerfile fix (#200) [Pipeline] echo 20:52:44 [semverPrep] This is not a build commit. [Pipeline] sh 20:52:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:45 + grep -v github /etc/ssh/ssh_known_hosts 20:52:45 + [ -e /tmp/ssh_known_hosts ] 20:52:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:52:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:52:45 + sudo tee -a /etc/ssh/ssh_known_hosts 20:52:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:45 20:52:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:45 0.1.4: Pulling from edgex-devops/py-git-semver 20:52:45 b85a868b505f: Pulling fs layer 20:52:45 e2be974225ed: Pulling fs layer 20:52:45 339a4e72a1f5: Pulling fs layer 20:52:45 988bab9f4d93: Pulling fs layer 20:52:45 1469e6f7b9e6: Pulling fs layer 20:52:45 eaf3925da568: Pulling fs layer 20:52:45 bab4dde63d76: Pulling fs layer 20:52:45 bde34c3a00c8: Pulling fs layer 20:52:45 b352a97aabf1: Pulling fs layer 20:52:45 4872d77fe225: Pulling fs layer 20:52:45 5851b861e8e6: Pulling fs layer 20:52:45 bab4dde63d76: Waiting 20:52:45 988bab9f4d93: Waiting 20:52:45 4872d77fe225: Waiting 20:52:45 b352a97aabf1: Waiting 20:52:45 5851b861e8e6: Waiting 20:52:45 1469e6f7b9e6: Waiting 20:52:45 eaf3925da568: Waiting 20:52:45 e2be974225ed: Verifying Checksum 20:52:45 e2be974225ed: Download complete 20:52:45 988bab9f4d93: Verifying Checksum 20:52:45 988bab9f4d93: Download complete 20:52:46 1469e6f7b9e6: Verifying Checksum 20:52:46 1469e6f7b9e6: Download complete 20:52:46 339a4e72a1f5: Verifying Checksum 20:52:46 339a4e72a1f5: Download complete 20:52:46 eaf3925da568: Verifying Checksum 20:52:46 eaf3925da568: Download complete 20:52:46 bde34c3a00c8: Verifying Checksum 20:52:46 bde34c3a00c8: Download complete 20:52:46 b352a97aabf1: Download complete 20:52:46 4872d77fe225: Verifying Checksum 20:52:46 4872d77fe225: Download complete 20:52:46 5851b861e8e6: Download complete 20:52:46 b85a868b505f: Download complete 20:52:46 bab4dde63d76: Verifying Checksum 20:52:46 bab4dde63d76: Download complete 20:52:47 b85a868b505f: Pull complete 20:52:47 e2be974225ed: Pull complete 20:52:48 339a4e72a1f5: Pull complete 20:52:48 988bab9f4d93: Pull complete 20:52:48 1469e6f7b9e6: Pull complete 20:52:48 eaf3925da568: Pull complete 20:52:50 bab4dde63d76: Pull complete 20:52:50 bde34c3a00c8: Pull complete 20:52:50 b352a97aabf1: Pull complete 20:52:50 4872d77fe225: Pull complete 20:52:50 5851b861e8e6: Pull complete 20:52:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:50 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 20:52:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:52:52 $ docker top d4d8c057ba27d6d16d3cf45fbd60b919a5d91bcbfb3dc1bcfa085bc0ff1d741d -eo pid,comm 20:52:52 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). 20:52:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:52 [ssh-agent] Looking for ssh-agent implementation... 20:52:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:52 $ docker exec d4d8c057ba27d6d16d3cf45fbd60b919a5d91bcbfb3dc1bcfa085bc0ff1d741d ssh-agent 20:52:52 SSH_AUTH_SOCK=/tmp/ssh-lxSyqIxPvsG9/agent.32 20:52:52 SSH_AGENT_PID=38 20:52:52 Running ssh-add (command line suppressed) 20:52:52 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11958772952868551615.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11958772952868551615.key) 20:52:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:53 + git tag --points-at HEAD [Pipeline] } 20:52:53 $ docker exec --env ******** --env ******** d4d8c057ba27d6d16d3cf45fbd60b919a5d91bcbfb3dc1bcfa085bc0ff1d741d ssh-agent -k 20:52:53 unset SSH_AUTH_SOCK; 20:52:53 unset SSH_AGENT_PID; 20:52:53 echo Agent pid 38 killed; 20:52:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:52:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:53 [ssh-agent] Looking for ssh-agent implementation... 20:52:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:53 $ docker exec d4d8c057ba27d6d16d3cf45fbd60b919a5d91bcbfb3dc1bcfa085bc0ff1d741d ssh-agent 20:52:53 SSH_AUTH_SOCK=/tmp/ssh-hl3q7M0jqW0W/agent.70 20:52:53 SSH_AGENT_PID=76 20:52:53 Running ssh-add (command line suppressed) 20:52:53 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16956995567134880315.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16956995567134880315.key) 20:52:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:53 + git semver init 20:52:54 2022-10-26 20:52:54,154 [run_init] DEBUG init version:0.0.0 force:False 20:52:54 2022-10-26 20:52:54,155 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:52:54 2022-10-26 20:52:54,156 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:52:54 2022-10-26 20:52:54,156 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 20:52:55 2022-10-26 20:52:55,220 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 20:52:55 2022-10-26 20:52:55,221 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 20:52:55 2022-10-26 20:52:55,221 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:52:55 2022-10-26 20:52:55,221 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:52:55 2.3.0-dev.21 [Pipeline] } 20:52:55 $ docker exec --env ******** --env ******** d4d8c057ba27d6d16d3cf45fbd60b919a5d91bcbfb3dc1bcfa085bc0ff1d741d ssh-agent -k 20:52:55 unset SSH_AUTH_SOCK; 20:52:55 unset SSH_AGENT_PID; 20:52:55 echo Agent pid 76 killed; 20:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:56 + git semver [Pipeline] } 20:52:56 $ docker stop --time=1 d4d8c057ba27d6d16d3cf45fbd60b919a5d91bcbfb3dc1bcfa085bc0ff1d741d 20:52:57 $ docker rm -f d4d8c057ba27d6d16d3cf45fbd60b919a5d91bcbfb3dc1bcfa085bc0ff1d741d [Pipeline] // withDockerContainer [Pipeline] sh 20:52:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:52:58 Stashed 1 file(s) [Pipeline] echo 20:52:58 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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 20:52:58 provisioning config files... 20:52:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11362733722621461848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:58 ---> docker-login.sh 20:52:58 nexus3.edgexfoundry.org:10001 20:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:58 Configure a credential helper to remove this warning. See 20:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:58 20:52:58 Login Succeeded 20:52:58 nexus3.edgexfoundry.org:10002 20:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:58 Configure a credential helper to remove this warning. See 20:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:58 20:52:58 Login Succeeded 20:52:58 nexus3.edgexfoundry.org:10003 20:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:58 Configure a credential helper to remove this warning. See 20:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:58 20:52:58 Login Succeeded 20:52:58 nexus3.edgexfoundry.org:10004 20:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:58 Configure a credential helper to remove this warning. See 20:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:58 20:52:58 Login Succeeded 20:52:58 docker.io 20:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:59 Configure a credential helper to remove this warning. See 20:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:59 20:52:59 Login Succeeded 20:52:59 ---> docker-login.sh ends [Pipeline] } 20:52:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:52:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:59 ========================================================= 20:52:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:52:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:59 + 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 . 20:52:59 Sending build context to Docker daemon 5.535MB 20:52:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:52:59 Step 2/12 : FROM ${BASE} AS builder 20:52:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:52:59 213ec9aee27d: Pulling fs layer 20:52:59 4583459ba037: Pulling fs layer 20:52:59 93c1e223e6f2: Pulling fs layer 20:52:59 53926ce57604: Pulling fs layer 20:52:59 21b2b0c7a3f4: Pulling fs layer 20:52:59 30f14e443154: Pulling fs layer 20:52:59 801331c1e519: Pulling fs layer 20:52:59 99cc6dd402b0: Pulling fs layer 20:52:59 7d9ed39f4882: Pulling fs layer 20:52:59 53926ce57604: Waiting 20:52:59 21b2b0c7a3f4: Waiting 20:52:59 30f14e443154: Waiting 20:52:59 801331c1e519: Waiting 20:52:59 99cc6dd402b0: Waiting 20:52:59 7d9ed39f4882: Waiting 20:52:59 93c1e223e6f2: Verifying Checksum 20:52:59 93c1e223e6f2: Download complete 20:52:59 4583459ba037: Verifying Checksum 20:52:59 4583459ba037: Download complete 20:52:59 21b2b0c7a3f4: Verifying Checksum 20:52:59 21b2b0c7a3f4: Download complete 20:53:00 30f14e443154: Download complete 20:53:00 213ec9aee27d: Verifying Checksum 20:53:00 213ec9aee27d: Download complete 20:53:00 801331c1e519: Download complete 20:53:00 213ec9aee27d: Pull complete 20:53:00 4583459ba037: Pull complete 20:53:00 93c1e223e6f2: Pull complete 20:53:00 7d9ed39f4882: Verifying Checksum 20:53:00 7d9ed39f4882: Download complete 20:53:00 99cc6dd402b0: Verifying Checksum 20:53:00 99cc6dd402b0: Download complete 20:53:00 53926ce57604: Verifying Checksum 20:53:00 53926ce57604: Download complete 20:53:05 53926ce57604: Pull complete 20:53:05 21b2b0c7a3f4: Pull complete 20:53:05 30f14e443154: Pull complete 20:53:05 801331c1e519: Pull complete 20:53:06 99cc6dd402b0: Pull complete 20:53:07 7d9ed39f4882: Pull complete 20:53:07 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:53:07 ---> 1dedd983c030 20:53:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:53:09 ---> Running in 31ca5f66d45f 20:53:09 Removing intermediate container 31ca5f66d45f 20:53:09 ---> fccb638b3604 20:53:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:09 ---> Running in e022a43bd9eb 20:53:09 Removing intermediate container e022a43bd9eb 20:53:09 ---> 291e9645bfc6 20:53:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:53:09 ---> Running in 5f396a79c208 20:53:09 Removing intermediate container 5f396a79c208 20:53:09 ---> 9e4c3c4e8f2e 20:53:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:53:09 ---> Running in 96266eb616bc 20:53:09 Removing intermediate container 96266eb616bc 20:53:09 ---> d6dd2c35e66c 20:53:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:09 ---> Running in 91e72abde3b9 20:53:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:53:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:53:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:53:10 (2/4) Installing libedit (20210910.3.1-r0) 20:53:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:53:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:53:10 Executing busybox-1.35.0-r17.trigger 20:53:10 OK: 216 MiB in 55 packages 20:53:11 Removing intermediate container 91e72abde3b9 20:53:11 ---> 29cd04799702 20:53:11 Step 8/12 : WORKDIR /device-snmp-go 20:53:11 ---> Running in c3c0152d618d 20:53:11 Removing intermediate container c3c0152d618d 20:53:11 ---> 604d4d787118 20:53:11 Step 9/12 : COPY go.mod vendor* ./ 20:53:12 ---> 33b40bf9b212 20:53:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:12 ---> Running in 7e6ca74b03bf 20:53:13 Still waiting to schedule task 20:53:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:53:30 Removing intermediate container 7e6ca74b03bf 20:53:30 ---> 124c35a1fc83 20:53:30 Step 11/12 : COPY . . 20:53:30 ---> 1c42b4cbcd20 20:53:30 Step 12/12 : RUN ${MAKE} 20:53:30 ---> Running in c6473232c0ab 20:53:31 noop 20:53:31 Removing intermediate container c6473232c0ab 20:53:31 ---> 11e0685f59e7 20:53:31 Successfully built 11e0685f59e7 20:53:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:31 + docker inspect -f . ci-base-image-x86_64 20:53:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:31 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 20:53:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 20:53:32 $ docker top 53598e4d98f163865bc9d12c30afe00b7c426355d07f0cef73e707c8ab114d9c -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:32 + go version 20:53:32 go version go1.18.7 linux/amd64 [Pipeline] } 20:53:32 $ docker stop --time=1 53598e4d98f163865bc9d12c30afe00b7c426355d07f0cef73e707c8ab114d9c 20:53:33 $ docker rm -f 53598e4d98f163865bc9d12c30afe00b7c426355d07f0cef73e707c8ab114d9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:34 + docker inspect -f . ci-base-image-x86_64 20:53:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:34 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 20:53:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 20:53:34 $ docker top ede54ea7432850858819da9a9c5d004196aa10f71319e5fd168c441859a93ae7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 20:53:35 + make test 20:53:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:53:35 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:53:45 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:53:45 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements 20:53:51 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." 20:53:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:53:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:53:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:53:54 ./bin/test-attribution-txt.sh [Pipeline] echo 20:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:53:54 $ docker stop --time=1 ede54ea7432850858819da9a9c5d004196aa10f71319e5fd168c441859a93ae7 20:53:56 $ docker rm -f ede54ea7432850858819da9a9c5d004196aa10f71319e5fd168c441859a93ae7 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:53:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:53:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:53:57 + ls -al . 20:53:57 total 180 20:53:57 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:53 . 20:53:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:52 .. 20:53:57 -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 20:52 .dockerignore 20:53:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:53 .git 20:53:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:52 .github 20:53:57 -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 20:52 .gitignore 20:53:57 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:52 .golangci.yml 20:53:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:52 .semver 20:53:57 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 20:52 Attribution.txt 20:53:57 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 20:52 CHANGELOG.md 20:53:57 -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 20:52 Dockerfile 20:53:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:52 GOVERNANCE.md 20:53:57 -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 20:52 Jenkinsfile 20:53:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:52 LICENSE 20:53:57 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 20:52 Makefile 20:53:57 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:52 OWNERS.md 20:53:57 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 20:52 README.md 20:53:57 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:52 VERSION 20:53:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:52 bin 20:53:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:52 cmd 20:53:57 -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 20:53 coverage.out 20:53:57 -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 20:52 go.mod 20:53:57 -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 20:52 go.sum 20:53:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:52 internal 20:53:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:52 snap 20:53:57 -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53: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=073f6628e4882ecd405eac7767f08140f08a9e58 --label arch=amd64 --label version=2.3.0-dev.21 . 20:53:57 Sending build context to Docker daemon 5.543MB 20:53:57 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 20:53:57 Step 2/24 : FROM ${BASE} AS builder 20:53:57 ---> 11e0685f59e7 20:53:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:53:57 ---> Running in a5597d2dd884 20:53:57 Removing intermediate container a5597d2dd884 20:53:57 ---> 5338746d9cab 20:53:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:57 ---> Running in 15867b573b3a 20:53:57 Removing intermediate container 15867b573b3a 20:53:57 ---> 7c7a862b8a8a 20:53:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:53:57 ---> Running in 4733c96bc3a0 20:53:57 Removing intermediate container 4733c96bc3a0 20:53:57 ---> a756056ad09b 20:53:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:53:58 ---> Running in d9bfc46591cf 20:53:58 Removing intermediate container d9bfc46591cf 20:53:58 ---> e9c1e29771a9 20:53:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:58 ---> Running in 27ad28e40fa9 20:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:53:58 OK: 216 MiB in 55 packages 20:53:58 Removing intermediate container 27ad28e40fa9 20:53:58 ---> 08a86e7737fa 20:53:58 Step 8/24 : WORKDIR /device-snmp-go 20:53:59 ---> Running in 126ab76badd3 20:53:59 Removing intermediate container 126ab76badd3 20:53:59 ---> 2c59d43b26d1 20:53:59 Step 9/24 : COPY go.mod vendor* ./ 20:53:59 ---> d3640327236a 20:53:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:59 ---> Running in 6708641f7316 20:54:00 Removing intermediate container 6708641f7316 20:54:00 ---> 48571a0a94b3 20:54:00 Step 11/24 : COPY . . 20:54:00 ---> 26ea685e1c94 20:54:00 Step 12/24 : RUN ${MAKE} 20:54:00 ---> Running in e130dfb489ae 20:54:00 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.49 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 20:54:22 Removing intermediate container e130dfb489ae 20:54:22 ---> d5ace1ee9960 20:54:22 Step 13/24 : FROM alpine:3.16 20:54:22 3.16: Pulling from library/alpine 20:54:22 213ec9aee27d: Already exists 20:54:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:54:22 Status: Downloaded newer image for alpine:3.16 20:54:22 ---> 9c6f07244728 20:54:22 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 20:54:22 ---> Running in 8f7322271175 20:54:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:54:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:54:22 (1/6) Installing dumb-init (1.2.5-r1) 20:54:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:54:22 (3/6) Installing libsodium (1.0.18-r0) 20:54:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:54:22 (5/6) Installing libzmq (4.3.4-r0) 20:54:22 (6/6) Installing zeromq (4.3.4-r0) 20:54:22 Executing busybox-1.35.0-r17.trigger 20:54:22 OK: 8 MiB in 20 packages 20:54:22 Removing intermediate container 8f7322271175 20:54:22 ---> 1372054d079c 20:54:22 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:54:22 ---> 857e633cc78a 20:54:22 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:54:22 ---> ddccecfe2478 20:54:22 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:54:22 ---> 41c6f14e4902 20:54:22 Step 18/24 : EXPOSE 59993 20:54:22 ---> Running in b160ae6e1ed5 20:54:22 Removing intermediate container b160ae6e1ed5 20:54:22 ---> b186cfd06e77 20:54:22 Step 19/24 : EXPOSE 161 20:54:22 ---> Running in 97d9c3438955 20:54:22 Removing intermediate container 97d9c3438955 20:54:22 ---> b3f91c16393b 20:54:22 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:54:22 ---> Running in 1df971b9479f 20:54:22 Removing intermediate container 1df971b9479f 20:54:22 ---> 0d10e5f6b18a 20:54:22 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:54:22 ---> Running in 7afe9a199351 20:54:22 Removing intermediate container 7afe9a199351 20:54:22 ---> 50f2ce2c5561 20:54:22 Step 22/24 : LABEL arch=amd64 20:54:22 ---> Running in ae8e27d12855 20:54:22 Removing intermediate container ae8e27d12855 20:54:22 ---> 0297a7a139f9 20:54:22 Step 23/24 : LABEL git_sha=073f6628e4882ecd405eac7767f08140f08a9e58 20:54:22 ---> Running in 92f78dc9ad64 20:54:22 Removing intermediate container 92f78dc9ad64 20:54:22 ---> 1614a193b3d1 20:54:22 Step 24/24 : LABEL version=2.3.0-dev.21 20:54:22 ---> Running in ea0771ed81a7 20:54:22 Removing intermediate container ea0771ed81a7 20:54:22 ---> bba456d4e68f 20:54:22 [Warning] One or more build-args [ARCH] were not consumed 20:54:22 Successfully built bba456d4e68f 20:54:22 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:22 provisioning config files... 20:54:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5204598336896225511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:23 ---> docker-login.sh 20:54:23 nexus3.edgexfoundry.org:10001 20:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:23 Configure a credential helper to remove this warning. See 20:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:23 20:54:23 Login Succeeded 20:54:23 nexus3.edgexfoundry.org:10002 20:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:23 Configure a credential helper to remove this warning. See 20:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:23 20:54:23 Login Succeeded 20:54:23 nexus3.edgexfoundry.org:10003 20:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:23 Configure a credential helper to remove this warning. See 20:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:23 20:54:23 Login Succeeded 20:54:23 nexus3.edgexfoundry.org:10004 20:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:23 Configure a credential helper to remove this warning. See 20:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:23 20:54:23 Login Succeeded 20:54:23 docker.io 20:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:24 Configure a credential helper to remove this warning. See 20:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:24 20:54:24 Login Succeeded 20:54:24 ---> docker-login.sh ends [Pipeline] } 20:54:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:24 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 20:54:24 073f6628e4882ecd405eac7767f08140f08a9e58 20:54:24 latest 20:54:24 2.3.0-dev.21 20:54:24 073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 20:54:24 main 20:54:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:24 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp:073f6628e4882ecd405eac7767f08140f08a9e58 20:54:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:54:24 7936a8ca3a28: Preparing 20:54:24 340f58b340ac: Preparing 20:54:24 0bd2ee207759: Preparing 20:54:24 a98d2f088c79: Preparing 20:54:24 994393dc58e7: Preparing 20:54:24 994393dc58e7: Layer already exists 20:54:24 7936a8ca3a28: Pushed 20:54:24 340f58b340ac: Pushed 20:54:25 a98d2f088c79: Pushed 20:54:27 0bd2ee207759: Pushed 20:54:27 073f6628e4882ecd405eac7767f08140f08a9e58: digest: sha256:517249975b6fdde94b36b85f97f0ced86546b34b82cfb2ae4130dca5f8e88e83 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:27 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:28 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 20:54:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:54:28 7936a8ca3a28: Preparing 20:54:28 340f58b340ac: Preparing 20:54:28 0bd2ee207759: Preparing 20:54:28 a98d2f088c79: Preparing 20:54:28 994393dc58e7: Preparing 20:54:28 0bd2ee207759: Layer already exists 20:54:28 a98d2f088c79: Layer already exists 20:54:28 7936a8ca3a28: Layer already exists 20:54:28 994393dc58e7: Layer already exists 20:54:28 340f58b340ac: Layer already exists 20:54:28 latest: digest: sha256:517249975b6fdde94b36b85f97f0ced86546b34b82cfb2ae4130dca5f8e88e83 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:28 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:28 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.21 20:54:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:54:28 7936a8ca3a28: Preparing 20:54:28 340f58b340ac: Preparing 20:54:28 0bd2ee207759: Preparing 20:54:28 a98d2f088c79: Preparing 20:54:28 994393dc58e7: Preparing 20:54:28 0bd2ee207759: Layer already exists 20:54:28 7936a8ca3a28: Layer already exists 20:54:28 340f58b340ac: Layer already exists 20:54:28 a98d2f088c79: Layer already exists 20:54:28 994393dc58e7: Layer already exists 20:54:28 2.3.0-dev.21: digest: sha256:517249975b6fdde94b36b85f97f0ced86546b34b82cfb2ae4130dca5f8e88e83 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:29 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:29 + docker push nexus3.edgexfoundry.org:10004/device-snmp:073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 20:54:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:54:29 7936a8ca3a28: Preparing 20:54:29 340f58b340ac: Preparing 20:54:29 0bd2ee207759: Preparing 20:54:29 a98d2f088c79: Preparing 20:54:29 994393dc58e7: Preparing 20:54:29 7936a8ca3a28: Layer already exists 20:54:29 a98d2f088c79: Layer already exists 20:54:29 340f58b340ac: Layer already exists 20:54:29 0bd2ee207759: Layer already exists 20:54:29 994393dc58e7: Layer already exists 20:54:29 073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21: digest: sha256:517249975b6fdde94b36b85f97f0ced86546b34b82cfb2ae4130dca5f8e88e83 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:29 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 20:54:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:54:30 7936a8ca3a28: Preparing 20:54:30 340f58b340ac: Preparing 20:54:30 0bd2ee207759: Preparing 20:54:30 a98d2f088c79: Preparing 20:54:30 994393dc58e7: Preparing 20:54:30 0bd2ee207759: Layer already exists 20:54:30 a98d2f088c79: Layer already exists 20:54:30 340f58b340ac: Layer already exists 20:54:30 7936a8ca3a28: Layer already exists 20:54:30 994393dc58e7: Layer already exists 20:54:30 main: digest: sha256:517249975b6fdde94b36b85f97f0ced86546b34b82cfb2ae4130dca5f8e88e83 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:30 ===================================================== [Pipeline] echo 20:54:30 taggedImages: 20:54:30 - nexus3.edgexfoundry.org:10004/device-snmp:073f6628e4882ecd405eac7767f08140f08a9e58 20:54:30 - nexus3.edgexfoundry.org:10004/device-snmp:latest 20:54:30 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.21 20:54:30 - nexus3.edgexfoundry.org:10004/device-snmp:073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 20:54:30 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [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 20:54:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:30 20:54:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:30 latest: Pulling from edgex-lftools-log-publisher 20:54:30 5eb5b503b376: Pulling fs layer 20:54:30 5c69ac0246d0: Pulling fs layer 20:54:30 ec43610c2a17: Pulling fs layer 20:54:30 3a2ae6a8a46f: Pulling fs layer 20:54:30 33b1e0a273af: Pulling fs layer 20:54:30 5d3b04190fa2: Pulling fs layer 20:54:30 2f39f015ded8: Pulling fs layer 20:54:30 3a2ae6a8a46f: Waiting 20:54:30 5d3b04190fa2: Waiting 20:54:30 33b1e0a273af: Waiting 20:54:30 2f39f015ded8: Waiting 20:54:30 5c69ac0246d0: Verifying Checksum 20:54:30 5c69ac0246d0: Download complete 20:54:30 3a2ae6a8a46f: Verifying Checksum 20:54:30 3a2ae6a8a46f: Download complete 20:54:30 33b1e0a273af: Verifying Checksum 20:54:30 33b1e0a273af: Download complete 20:54:30 ec43610c2a17: Verifying Checksum 20:54:30 ec43610c2a17: Download complete 20:54:30 5d3b04190fa2: Download complete 20:54:30 5eb5b503b376: Verifying Checksum 20:54:30 5eb5b503b376: Download complete 20:54:31 2f39f015ded8: Download complete 20:54:32 5eb5b503b376: Pull complete 20:54:32 5c69ac0246d0: Pull complete 20:54:32 ec43610c2a17: Pull complete 20:54:32 3a2ae6a8a46f: Pull complete 20:54:33 33b1e0a273af: Pull complete 20:54:33 5d3b04190fa2: Pull complete 20:54:37 2f39f015ded8: Pull complete 20:54:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:37 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 20:54:37 $ 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/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:54:38 $ docker top 490c038d127036cafc1be4db559a2d60b94646e032c43e105701fddade1733f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:39 ---> job-cost.sh 20:54:39 lf-activate-venv: SKIPPING 20:54:39 INFO: No Stack... 20:54:39 INFO: Retrieving Pricing Info for: v3-standard-8 20:54:40 INFO: Archiving Costs [Pipeline] sh 20:54:40 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 20:54:40 + cut -d, -f6 [Pipeline] lock 20:54:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] 20:54:40 Resource [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] did not exist. Created. 20:54:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:40 + echo total: 0.2199999988079071 [Pipeline] stash 20:54:40 Stashed 1 file(s) [Pipeline] } 20:54:40 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:40 $ docker stop --time=1 490c038d127036cafc1be4db559a2d60b94646e032c43e105701fddade1733f9 20:54:42 $ docker rm -f 490c038d127036cafc1be4db559a2d60b94646e032c43e105701fddade1733f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:56:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117373 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 20:56:05 Running in /w/workspace/device-snmp-go/52 [Pipeline] { [Pipeline] checkout 20:56:05 Selected Git installation does not exist. Using Default 20:56:05 The recommended git tool is: NONE 20:56:12 using credential edgex-jenkins-ssh 20:56:12 Cloning the remote Git repository 20:56:12 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:56:12 > git init /w/workspace/device-snmp-go/52 # timeout=10 20:56:12 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:56:12 > git --version # timeout=10 20:56:12 > git --version # 'git version 2.25.1' 20:56:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:12 Verifying host key using known hosts file 20:56:13 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. 20:56:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:14 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:56:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:15 Avoid second fetch 20:56:15 Checking out Revision 073f6628e4882ecd405eac7767f08140f08a9e58 (main) 20:56:16 Commit message: "build: Latest go-mods, config and Dockerfile fix (#200)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:15 > git config core.sparsecheckout # timeout=10 20:56:15 > git checkout -f 073f6628e4882ecd405eac7767f08140f08a9e58 # timeout=10 20:56:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:56:17 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:17 Dload Upload Total Spent Left Speed 20:56:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 168k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 20:56:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:56:18 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 20:56:18 /etc/docker/daemon.json 20:56:18 { 20:56:18 "registry-mirrors": [ 20:56:18 "https://nexus3.edgexfoundry.org:10001" 20:56:18 ], 20:56:18 "bip": "10.250.0.254/24", 20:56:18 "hosts": [ 20:56:18 "tcp://0.0.0.0:5555", 20:56:18 "unix:///var/run/docker.sock" 20:56:18 ], 20:56:18 "mtu": 1458, 20:56:18 "selinux-enabled": true, 20:56:18 "seccomp-profile": "/etc/docker/seccomp.json" 20:56:18 } [Pipeline] sh 20:56:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:56:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:37 provisioning config files... 20:56:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/52@tmp/config16177666522551059416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:38 ---> docker-login.sh 20:56:38 nexus3.edgexfoundry.org:10001 20:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:38 Configure a credential helper to remove this warning. See 20:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:38 20:56:38 Login Succeeded 20:56:38 nexus3.edgexfoundry.org:10002 20:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:39 Configure a credential helper to remove this warning. See 20:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:39 20:56:39 Login Succeeded 20:56:39 nexus3.edgexfoundry.org:10003 20:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:39 Configure a credential helper to remove this warning. See 20:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:39 20:56:39 Login Succeeded 20:56:39 nexus3.edgexfoundry.org:10004 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 docker.io 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 ---> docker-login.sh ends [Pipeline] } 20:56:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:41 ========================================================= 20:56:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:56:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:41 + 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 . 20:56:41 Sending build context to Docker daemon 2.858MB 20:56:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:56:41 Step 2/12 : FROM ${BASE} AS builder 20:56:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:56:42 9b18e9b68314: Pulling fs layer 20:56:42 d32db5db7311: Pulling fs layer 20:56:42 d0c4b47475fc: Pulling fs layer 20:56:42 5831b945b038: Pulling fs layer 20:56:42 86bbec2aaacd: Pulling fs layer 20:56:42 e10730c5d714: Pulling fs layer 20:56:42 5831b945b038: Waiting 20:56:42 86bbec2aaacd: Waiting 20:56:42 5dd5c2283517: Pulling fs layer 20:56:42 d5ac0230b979: Pulling fs layer 20:56:42 5dd5c2283517: Waiting 20:56:42 d5ac0230b979: Waiting 20:56:42 e10730c5d714: Waiting 20:56:42 d0c4b47475fc: Download complete 20:56:42 d32db5db7311: Verifying Checksum 20:56:42 d32db5db7311: Download complete 20:56:42 86bbec2aaacd: Verifying Checksum 20:56:42 86bbec2aaacd: Download complete 20:56:42 e10730c5d714: Download complete 20:56:42 9b18e9b68314: Verifying Checksum 20:56:42 9b18e9b68314: Download complete 20:56:43 9b18e9b68314: Pull complete 20:56:43 d5ac0230b979: Verifying Checksum 20:56:43 d5ac0230b979: Download complete 20:56:43 d32db5db7311: Pull complete 20:56:44 d0c4b47475fc: Pull complete 20:56:45 5dd5c2283517: Verifying Checksum 20:56:45 5dd5c2283517: Download complete 20:56:45 5831b945b038: Verifying Checksum 20:56:45 5831b945b038: Download complete 20:57:00 5831b945b038: Pull complete 20:57:00 86bbec2aaacd: Pull complete 20:57:00 e10730c5d714: Pull complete 20:57:06 5dd5c2283517: Pull complete 20:57:08 d5ac0230b979: Pull complete 20:57:08 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:57:08 ---> 59b3b1a385d4 20:57:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:57:09 ---> Running in 50df6e7ba77f 20:57:09 Removing intermediate container 50df6e7ba77f 20:57:09 ---> bd09cec5db62 20:57:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:09 ---> Running in 6832ee424489 20:57:10 Removing intermediate container 6832ee424489 20:57:10 ---> af0989cfe5ed 20:57:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:57:10 ---> Running in 651100e95087 20:57:10 Removing intermediate container 651100e95087 20:57:10 ---> 68c49c294308 20:57:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:57:10 ---> Running in 36fee6af0979 20:57:10 Removing intermediate container 36fee6af0979 20:57:10 ---> dbeddceaf496 20:57:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:11 ---> Running in fe27df5cef5f 20:57:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:57:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:57:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:57:14 (2/4) Installing libedit (20210910.3.1-r0) 20:57:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:57:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:57:14 Executing busybox-1.35.0-r17.trigger 20:57:14 OK: 226 MiB in 55 packages 20:57:15 Removing intermediate container fe27df5cef5f 20:57:15 ---> 3e1359802457 20:57:15 Step 8/12 : WORKDIR /device-snmp-go 20:57:15 ---> Running in e95e7b1f8c53 20:57:16 Removing intermediate container e95e7b1f8c53 20:57:16 ---> 72afb08593cf 20:57:16 Step 9/12 : COPY go.mod vendor* ./ 20:57:16 ---> 9b7e11b0310f 20:57:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:16 ---> Running in 4accd0a630e3 20:58:24 Removing intermediate container 4accd0a630e3 20:58:24 ---> eeae70d26baa 20:58:24 Step 11/12 : COPY . . 20:58:24 ---> f883cbffe408 20:58:24 Step 12/12 : RUN ${MAKE} 20:58:24 ---> Running in e3b54e60aa4b 20:58:24 noop 20:58:24 Removing intermediate container e3b54e60aa4b 20:58:24 ---> b5ba13ea05ba 20:58:24 Successfully built b5ba13ea05ba 20:58:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:25 + docker inspect -f . ci-base-image-arm64 20:58:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:25 prd-ubuntu20.04-docker-arm64-4c-16g-117373 does not seem to be running inside a container 20:58:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/52 -v /w/workspace/device-snmp-go/52:/w/workspace/device-snmp-go/52:rw,z -v /w/workspace/device-snmp-go/52@tmp:/w/workspace/device-snmp-go/52@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 ******** ci-base-image-arm64 cat 20:58:26 $ docker top 61a85127ac0aba4ba834b3a9be653b10858dea9f6330648967315c113004df43 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:27 + go version 20:58:27 go version go1.18.7 linux/arm64 [Pipeline] } 20:58:27 $ docker stop --time=1 61a85127ac0aba4ba834b3a9be653b10858dea9f6330648967315c113004df43 20:58:29 $ docker rm -f 61a85127ac0aba4ba834b3a9be653b10858dea9f6330648967315c113004df43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:30 + docker inspect -f . ci-base-image-arm64 20:58:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:30 prd-ubuntu20.04-docker-arm64-4c-16g-117373 does not seem to be running inside a container 20:58:30 $ 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/52 -v /w/workspace/device-snmp-go/52:/w/workspace/device-snmp-go/52:rw,z -v /w/workspace/device-snmp-go/52@tmp:/w/workspace/device-snmp-go/52@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 ******** ci-base-image-arm64 cat 20:58:31 $ docker top 2e01ff97fcfa33f1ecf5a90fd85f0522fd119dfa146fd62500aa8302cba9a285 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:32 + git config --global --add safe.directory /w/workspace/device-snmp-go/52 [Pipeline] fileExists [Pipeline] sh 20:58:33 + make test 20:58:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:58:35 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:00:27 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:00:27 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.084s coverage: 0.0% of statements 21:00:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:00:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:00:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:53 $ docker stop --time=1 2e01ff97fcfa33f1ecf5a90fd85f0522fd119dfa146fd62500aa8302cba9a285 21:00:56 $ docker rm -f 2e01ff97fcfa33f1ecf5a90fd85f0522fd119dfa146fd62500aa8302cba9a285 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:57 Warning: overwriting stash ‘coverage-report’ 21:00:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:58 + ls -al . 21:00:58 total 176 21:00:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:58 . 21:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:56 .. 21:00:58 -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 20:56 .dockerignore 21:00:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:56 .git 21:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:56 .github 21:00:58 -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 20:56 .gitignore 21:00:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:56 .golangci.yml 21:00:58 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 20:56 Attribution.txt 21:00:58 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 20:56 CHANGELOG.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 20:56 Dockerfile 21:00:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:56 GOVERNANCE.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 20:56 Jenkinsfile 21:00:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:56 LICENSE 21:00:58 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 20:56 Makefile 21:00:58 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:56 OWNERS.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 20:56 README.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:52 VERSION 21:00:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:56 bin 21:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:56 cmd 21:00:58 -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 21:00 coverage.out 21:00:58 -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 20:56 go.mod 21:00:58 -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 20:56 go.sum 21:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:56 internal 21:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:56 snap 21:00:58 -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:58 + 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=073f6628e4882ecd405eac7767f08140f08a9e58 --label arch=arm64 --label version=2.3.0-dev.21 . 21:00:59 Sending build context to Docker daemon 2.866MB 21:00:59 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:00:59 Step 2/24 : FROM ${BASE} AS builder 21:00:59 ---> b5ba13ea05ba 21:00:59 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:00:59 ---> Running in 851137b4261b 21:00:59 Removing intermediate container 851137b4261b 21:00:59 ---> 88adb0242684 21:00:59 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:59 ---> Running in a6c44ea81906 21:01:00 Removing intermediate container a6c44ea81906 21:01:00 ---> e7890a7e227e 21:01:00 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:01:00 ---> Running in d65c5fc09894 21:01:00 Removing intermediate container d65c5fc09894 21:01:00 ---> ef9bd6fbea32 21:01:00 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:01:00 ---> Running in 3a6b9080858a 21:01:01 Removing intermediate container 3a6b9080858a 21:01:01 ---> 53481417cd1f 21:01:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:01 ---> Running in 29450437c1cb 21:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:01:03 OK: 226 MiB in 55 packages 21:01:05 Removing intermediate container 29450437c1cb 21:01:05 ---> 5b37160d14f2 21:01:05 Step 8/24 : WORKDIR /device-snmp-go 21:01:05 ---> Running in 9336dc2ac286 21:01:05 Removing intermediate container 9336dc2ac286 21:01:05 ---> f81258bb080f 21:01:05 Step 9/24 : COPY go.mod vendor* ./ 21:01:06 ---> dd540a5e775e 21:01:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:06 ---> Running in 6140172534b7 21:01:08 Removing intermediate container 6140172534b7 21:01:08 ---> be80b98736d1 21:01:08 Step 11/24 : COPY . . 21:01:11 ---> b2ba8faa0f8c 21:01:11 Step 12/24 : RUN ${MAKE} 21:01:11 ---> Running in f3220f2a912c 21:01:13 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.49 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 21:03:50 Removing intermediate container f3220f2a912c 21:03:50 ---> f0233b20a1d8 21:03:50 Step 13/24 : FROM alpine:3.16 21:03:50 3.16: Pulling from library/alpine 21:03:51 9b18e9b68314: Already exists 21:03:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:03:51 Status: Downloaded newer image for alpine:3.16 21:03:51 ---> a6215f271958 21:03:51 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:03:51 ---> Running in 993a4ca00770 21:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:03:54 (1/6) Installing dumb-init (1.2.5-r1) 21:03:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:03:54 (3/6) Installing libsodium (1.0.18-r0) 21:03:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:03:54 (5/6) Installing libzmq (4.3.4-r0) 21:03:54 (6/6) Installing zeromq (4.3.4-r0) 21:03:54 Executing busybox-1.35.0-r17.trigger 21:03:54 OK: 8 MiB in 20 packages 21:03:55 Removing intermediate container 993a4ca00770 21:03:55 ---> 2c9b6f964d62 21:03:55 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:03:57 ---> 701c847566c7 21:03:57 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:03:57 ---> c0852fe461dc 21:03:57 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:03:58 ---> aa036b7164dc 21:03:58 Step 18/24 : EXPOSE 59993 21:03:58 ---> Running in 72b3306419a3 21:03:58 Removing intermediate container 72b3306419a3 21:03:58 ---> 056ed830375b 21:03:58 Step 19/24 : EXPOSE 161 21:03:58 ---> Running in e92adcebc4a6 21:03:59 Removing intermediate container e92adcebc4a6 21:03:59 ---> d3024e32cf9b 21:03:59 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:03:59 ---> Running in 3889b1536d69 21:03:59 Removing intermediate container 3889b1536d69 21:03:59 ---> ec2d4069249c 21:03:59 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:03:59 ---> Running in a86158f3d800 21:03:59 Removing intermediate container a86158f3d800 21:03:59 ---> 91f9dc4e457c 21:03:59 Step 22/24 : LABEL arch=arm64 21:03:59 ---> Running in 0e1facbace82 21:04:00 Removing intermediate container 0e1facbace82 21:04:00 ---> 9c26c03439a4 21:04:00 Step 23/24 : LABEL git_sha=073f6628e4882ecd405eac7767f08140f08a9e58 21:04:00 ---> Running in b5689771f6e3 21:04:00 Removing intermediate container b5689771f6e3 21:04:00 ---> d9d19e1fcda5 21:04:00 Step 24/24 : LABEL version=2.3.0-dev.21 21:04:00 ---> Running in 2e89a4d6dc7c 21:04:01 Removing intermediate container 2e89a4d6dc7c 21:04:01 ---> 7addd408ae9a 21:04:01 [Warning] One or more build-args [ARCH] were not consumed 21:04:01 Successfully built 7addd408ae9a 21:04:01 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:01 provisioning config files... 21:04:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/52@tmp/config9298722471514649215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:01 ---> docker-login.sh 21:04:01 nexus3.edgexfoundry.org:10001 21:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:01 Configure a credential helper to remove this warning. See 21:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:01 21:04:01 Login Succeeded 21:04:01 nexus3.edgexfoundry.org:10002 21:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:02 Configure a credential helper to remove this warning. See 21:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:02 21:04:02 Login Succeeded 21:04:02 nexus3.edgexfoundry.org:10003 21:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:02 Configure a credential helper to remove this warning. See 21:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:02 21:04:02 Login Succeeded 21:04:02 nexus3.edgexfoundry.org:10004 21:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:03 Configure a credential helper to remove this warning. See 21:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:03 21:04:03 Login Succeeded 21:04:03 docker.io 21:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:03 Configure a credential helper to remove this warning. See 21:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:03 21:04:03 Login Succeeded 21:04:03 ---> docker-login.sh ends [Pipeline] } 21:04:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:04:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:03 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 21:04:03 073f6628e4882ecd405eac7767f08140f08a9e58 21:04:03 latest 21:04:03 2.3.0-dev.21 21:04:03 073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 21:04:03 main 21:04:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:04 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:073f6628e4882ecd405eac7767f08140f08a9e58 21:04:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:04:04 f3caf9248882: Preparing 21:04:04 3da8b35a7c2f: Preparing 21:04:04 c556883219f3: Preparing 21:04:04 5cb31bb14c0a: Preparing 21:04:04 5d3e392a13a0: Preparing 21:04:04 5d3e392a13a0: Layer already exists 21:04:04 3da8b35a7c2f: Pushed 21:04:04 f3caf9248882: Pushed 21:04:05 5cb31bb14c0a: Pushed 21:04:09 c556883219f3: Pushed 21:04:09 073f6628e4882ecd405eac7767f08140f08a9e58: digest: sha256:45f079d27055edabf99444724efa81c4127d7849ad96fe1f08ec15ef77244632 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:04:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:04:10 f3caf9248882: Preparing 21:04:10 3da8b35a7c2f: Preparing 21:04:10 c556883219f3: Preparing 21:04:10 5cb31bb14c0a: Preparing 21:04:10 5d3e392a13a0: Preparing 21:04:10 3da8b35a7c2f: Layer already exists 21:04:10 5cb31bb14c0a: Layer already exists 21:04:10 f3caf9248882: Layer already exists 21:04:10 c556883219f3: Layer already exists 21:04:10 5d3e392a13a0: Layer already exists 21:04:10 latest: digest: sha256:45f079d27055edabf99444724efa81c4127d7849ad96fe1f08ec15ef77244632 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.21 21:04:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:04:11 f3caf9248882: Preparing 21:04:11 3da8b35a7c2f: Preparing 21:04:11 c556883219f3: Preparing 21:04:11 5cb31bb14c0a: Preparing 21:04:11 5d3e392a13a0: Preparing 21:04:11 5d3e392a13a0: Layer already exists 21:04:11 3da8b35a7c2f: Layer already exists 21:04:11 f3caf9248882: Layer already exists 21:04:11 5cb31bb14c0a: Layer already exists 21:04:11 c556883219f3: Layer already exists 21:04:11 2.3.0-dev.21: digest: sha256:45f079d27055edabf99444724efa81c4127d7849ad96fe1f08ec15ef77244632 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:11 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 21:04:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:04:11 f3caf9248882: Preparing 21:04:11 3da8b35a7c2f: Preparing 21:04:11 c556883219f3: Preparing 21:04:11 5cb31bb14c0a: Preparing 21:04:11 5d3e392a13a0: Preparing 21:04:11 c556883219f3: Layer already exists 21:04:11 5cb31bb14c0a: Layer already exists 21:04:11 f3caf9248882: Layer already exists 21:04:11 3da8b35a7c2f: Layer already exists 21:04:11 5d3e392a13a0: Layer already exists 21:04:12 073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21: digest: sha256:45f079d27055edabf99444724efa81c4127d7849ad96fe1f08ec15ef77244632 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:12 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 21:04:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:04:12 f3caf9248882: Preparing 21:04:12 3da8b35a7c2f: Preparing 21:04:12 c556883219f3: Preparing 21:04:12 5cb31bb14c0a: Preparing 21:04:12 5d3e392a13a0: Preparing 21:04:12 f3caf9248882: Layer already exists 21:04:12 3da8b35a7c2f: Layer already exists 21:04:12 5d3e392a13a0: Layer already exists 21:04:12 c556883219f3: Layer already exists 21:04:12 5cb31bb14c0a: Layer already exists 21:04:12 main: digest: sha256:45f079d27055edabf99444724efa81c4127d7849ad96fe1f08ec15ef77244632 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:04:13 ===================================================== [Pipeline] echo 21:04:13 taggedImages: 21:04:13 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:073f6628e4882ecd405eac7767f08140f08a9e58 21:04:13 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:04:13 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.21 21:04:13 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:073f6628e4882ecd405eac7767f08140f08a9e58-2.3.0-dev.21 21:04:13 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:13 21:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:13 arm64: Pulling from edgex-lftools-log-publisher 21:04:13 8998bd30e6a1: Pulling fs layer 21:04:13 04944245beec: Pulling fs layer 21:04:13 699f458cf7ca: Pulling fs layer 21:04:13 765212b225bb: Pulling fs layer 21:04:13 f23df028b6ca: Pulling fs layer 21:04:13 d65c8cfc05b1: Pulling fs layer 21:04:13 2437ff75d9bd: Pulling fs layer 21:04:13 f23df028b6ca: Waiting 21:04:13 d65c8cfc05b1: Waiting 21:04:13 2437ff75d9bd: Waiting 21:04:13 765212b225bb: Waiting 21:04:14 04944245beec: Verifying Checksum 21:04:14 04944245beec: Download complete 21:04:14 765212b225bb: Verifying Checksum 21:04:14 765212b225bb: Download complete 21:04:14 f23df028b6ca: Verifying Checksum 21:04:14 f23df028b6ca: Download complete 21:04:14 d65c8cfc05b1: Verifying Checksum 21:04:14 d65c8cfc05b1: Download complete 21:04:14 699f458cf7ca: Verifying Checksum 21:04:14 699f458cf7ca: Download complete 21:04:14 8998bd30e6a1: Download complete 21:04:16 2437ff75d9bd: Verifying Checksum 21:04:16 2437ff75d9bd: Download complete 21:04:18 8998bd30e6a1: Pull complete 21:04:18 04944245beec: Pull complete 21:04:20 699f458cf7ca: Pull complete 21:04:20 765212b225bb: Pull complete 21:04:21 f23df028b6ca: Pull complete 21:04:21 d65c8cfc05b1: Pull complete 21:04:33 2437ff75d9bd: Pull complete 21:04:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:34 prd-ubuntu20.04-docker-arm64-4c-16g-117373 does not seem to be running inside a container 21:04:34 $ 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/52 -v /w/workspace/device-snmp-go/52:/w/workspace/device-snmp-go/52:rw,z -v /w/workspace/device-snmp-go/52@tmp:/w/workspace/device-snmp-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:04:36 $ docker top 32adfd3898f231e8425d0d821a6623e94c1ade0c7634ff80f1bc005256a52bea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:37 ---> job-cost.sh 21:04:37 lf-activate-venv: SKIPPING 21:04:37 INFO: No Stack... 21:04:38 INFO: Retrieving Pricing Info for: v3-standard-4 21:04:38 INFO: Archiving Costs [Pipeline] sh 21:04:39 + cat /w/workspace/device-snmp-go/52/archives/cost.csv 21:04:39 + cut -d, -f6 [Pipeline] lock 21:04:39 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] 21:04:39 Resource [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] did not exist. Created. 21:04:39 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:04:39 /w/workspace/device-snmp-go/52@tmp/durable-06bb4864/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:04:40 + echo total: 0.10999999940395355 [Pipeline] stash 21:04:40 Warning: overwriting stash ‘stack-cost’ 21:04:40 Stashed 1 file(s) [Pipeline] } 21:04:40 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 21:04:40 $ docker stop --time=1 32adfd3898f231e8425d0d821a6623e94c1ade0c7634ff80f1bc005256a52bea 21:04:41 $ docker rm -f 32adfd3898f231e8425d0d821a6623e94c1ade0c7634ff80f1bc005256a52bea [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 21:04:42 provisioning config files... 21:04:42 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17078221462746869106tmp [Pipeline] { [Pipeline] sh 21:04:42 + set +x 21:04:42 + curl -s https://codecov.io/bash 21:04:42 + bash -s -- 21:04:42 21:04:42 _____ _ 21:04:42 / ____| | | 21:04:42 | | ___ __| | ___ ___ _____ __ 21:04:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:04:42 | |___| (_) | (_| | __/ (_| (_) \ V / 21:04:42 \_____\___/ \__,_|\___|\___\___/ \_/ 21:04:42 Bash-1.0.6 21:04:42 21:04:42 21:04:42 ==> git version 2.25.1 found 21:04:42 ==> 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 21:04:42 Release-Date: 2020-01-08 21:04:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:04:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:04:42 ==> Jenkins CI detected. 21:04:42 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 21:04:42 project root: . 21:04:42 --> token set from env 21:04:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:04:42 ==> Running gcov in . (disable via -X gcov) 21:04:42 ==> Python coveragepy not found 21:04:42 ==> Searching for coverage reports in: 21:04:42 + . 21:04:42 -> Found 1 reports 21:04:42 ==> Detecting git/mercurial file structure 21:04:42 ==> Reading reports 21:04:42 + ./coverage.out bytes=7631 21:04:42 ==> Appending adjustments 21:04:42 https://docs.codecov.io/docs/fixing-reports 21:04:42 + Found adjustments 21:04:42 ==> Gzipping contents 21:04:42 4.0K /tmp/codecov.cZQxjn.gz 21:04:42 ==> Uploading reports 21:04:42 url: https://codecov.io 21:04:42 query: branch=main&commit=073f6628e4882ecd405eac7767f08140f08a9e58&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:04:42 -> Pinging Codecov 21:04:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=073f6628e4882ecd405eac7767f08140f08a9e58&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:04:42 -> Uploading to 21:04:42 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/6C56EA5C29638FB4528AC87E60AF5AE0/073f6628e4882ecd405eac7767f08140f08a9e58/c99bdec1-f143-4184-886c-cfd29c6447c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T210442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab6b3765220c086694c8fd560dcc7220f1cdb8c3df0e2d28c4e0b7df1b48a4d2 21:04:42 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:42 Dload Upload Total Spent Left Speed 21:04:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7454 --:--:-- --:--:-- --:--:-- 7454 21:04:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] } 21:04:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:04:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:04:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:04:43 21:04:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:04:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:04:43 df9b9388f04a: Pulling fs layer 21:04:43 52dc419b0ee2: Pulling fs layer 21:04:43 25bc292e5bac: Pulling fs layer 21:04:43 114826534d7a: Pulling fs layer 21:04:43 4657fd5d0bcf: Pulling fs layer 21:04:43 6ad1cebc031e: Pulling fs layer 21:04:43 8a3aa393b2d8: Pulling fs layer 21:04:43 4657fd5d0bcf: Waiting 21:04:43 6ad1cebc031e: Waiting 21:04:43 25bc292e5bac: Verifying Checksum 21:04:43 25bc292e5bac: Download complete 21:04:43 52dc419b0ee2: Verifying Checksum 21:04:43 52dc419b0ee2: Download complete 21:04:43 4657fd5d0bcf: Download complete 21:04:43 df9b9388f04a: Verifying Checksum 21:04:44 df9b9388f04a: Pull complete 21:04:44 6ad1cebc031e: Verifying Checksum 21:04:44 6ad1cebc031e: Download complete 21:04:44 52dc419b0ee2: Pull complete 21:04:44 25bc292e5bac: Pull complete 21:04:44 114826534d7a: Verifying Checksum 21:04:44 114826534d7a: Download complete 21:04:44 8a3aa393b2d8: Verifying Checksum 21:04:44 8a3aa393b2d8: Download complete 21:04:47 114826534d7a: Pull complete 21:04:47 4657fd5d0bcf: Pull complete 21:04:48 6ad1cebc031e: Pull complete 21:04:50 8a3aa393b2d8: Pull complete 21:04:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:04:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:50 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 21:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:04:53 $ docker top 0a85b82ff203dfe5a170bd7a0d7f9f47fd9eb292f90562619591825d325a8598 -eo pid,comm [Pipeline] { [Pipeline] echo 21:04:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 21:04:53 + set -o pipefail 21:04:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 21:04:59 21:04:59 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 21:04:59 21:04:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/13979151-eb2d-4fe7-9890-958234e1ad92 21:04:59 21:04:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:04:59 21:04:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:04:59 21:04:59 21:04:59 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:04:59 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:04:59 More details here: https://snyk.co/ue1NS [Pipeline] } 21:04:59 $ docker stop --time=1 0a85b82ff203dfe5a170bd7a0d7f9f47fd9eb292f90562619591825d325a8598 21:05:02 $ docker rm -f 0a85b82ff203dfe5a170bd7a0d7f9f47fd9eb292f90562619591825d325a8598 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:02 + git log --format=format:%s -1 073f6628e4882ecd405eac7767f08140f08a9e58 [Pipeline] sh 21:05:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:03 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 21:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 21:05:04 $ docker top fca31d5175307944562e93de7ce3a27c4dcd2a1144dc2ef8f2ca4184a0041001 -eo pid,comm 21:05:04 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). 21:05:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:04 [ssh-agent] Looking for ssh-agent implementation... 21:05:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:04 $ docker exec fca31d5175307944562e93de7ce3a27c4dcd2a1144dc2ef8f2ca4184a0041001 ssh-agent 21:05:04 SSH_AUTH_SOCK=/tmp/ssh-7j69MZjG6Myl/agent.32 21:05:04 SSH_AGENT_PID=38 21:05:04 Running ssh-add (command line suppressed) 21:05:04 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1633736833299813253.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1633736833299813253.key) 21:05:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:04 + git semver tag 21:05:05 2022-10-26 21:05:04,952 [run_tag] DEBUG tag force:False 21:05:05 2022-10-26 21:05:04,952 [check_head_tag] DEBUG check head tag 21:05:05 2022-10-26 21:05:04,953 [execute] INFO git cat-file --batch-check 21:05:05 2022-10-26 21:05:04,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 21:05:05 2022-10-26 21:05:04,957 [execute] INFO git cat-file --batch 21:05:05 2022-10-26 21:05:04,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 21:05:05 2022-10-26 21:05:04,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:05:05 2022-10-26 21:05:04,970 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 21:05:05 2022-10-26 21:05:04,970 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 21:05:05 2022-10-26 21:05:04,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:05:05 2.3.0-dev.21 [Pipeline] } 21:05:05 $ docker exec --env ******** --env ******** fca31d5175307944562e93de7ce3a27c4dcd2a1144dc2ef8f2ca4184a0041001 ssh-agent -k 21:05:05 unset SSH_AUTH_SOCK; 21:05:05 unset SSH_AGENT_PID; 21:05:05 echo Agent pid 38 killed; 21:05:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:05 + git semver [Pipeline] } 21:05:05 $ docker stop --time=1 fca31d5175307944562e93de7ce3a27c4dcd2a1144dc2ef8f2ca4184a0041001 21:05:07 $ docker rm -f fca31d5175307944562e93de7ce3a27c4dcd2a1144dc2ef8f2ca4184a0041001 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:07 21:05:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:07 0.23.1-centos7: Pulling from edgex-lftools 21:05:07 ab5ef0e58194: Pulling fs layer 21:05:07 9712f1f96733: Pulling fs layer 21:05:07 63f879dbbcfc: Pulling fs layer 21:05:07 0d9ebad4ef96: Pulling fs layer 21:05:07 e9a5061849ea: Pulling fs layer 21:05:07 d747dcd14b5f: Pulling fs layer 21:05:07 2de7ff778b66: Pulling fs layer 21:05:07 d747dcd14b5f: Waiting 21:05:07 e9a5061849ea: Waiting 21:05:07 2de7ff778b66: Waiting 21:05:07 0d9ebad4ef96: Waiting 21:05:07 9712f1f96733: Verifying Checksum 21:05:07 9712f1f96733: Download complete 21:05:07 63f879dbbcfc: Verifying Checksum 21:05:07 63f879dbbcfc: Download complete 21:05:08 e9a5061849ea: Verifying Checksum 21:05:08 e9a5061849ea: Download complete 21:05:08 d747dcd14b5f: Verifying Checksum 21:05:08 0d9ebad4ef96: Verifying Checksum 21:05:08 0d9ebad4ef96: Download complete 21:05:08 ab5ef0e58194: Verifying Checksum 21:05:08 ab5ef0e58194: Download complete 21:05:08 2de7ff778b66: Verifying Checksum 21:05:08 2de7ff778b66: Download complete 21:05:11 ab5ef0e58194: Pull complete 21:05:11 9712f1f96733: Pull complete 21:05:11 63f879dbbcfc: Pull complete 21:05:14 0d9ebad4ef96: Pull complete 21:05:14 e9a5061849ea: Pull complete 21:05:14 d747dcd14b5f: Pull complete 21:05:15 2de7ff778b66: Pull complete 21:05:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:15 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 21:05:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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-lftools:0.23.1-centos7 cat 21:05:18 $ docker top 31f22094eb994f50d00452f1e9218a61a15510a7eaf755db89e250f29bee8a33 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:05:18 provisioning config files... 21:05:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9651833293770084009tmp 21:05:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10034556308172838804tmp 21:05:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14020958812043656359tmp [Pipeline] { [Pipeline] echo 21:05:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:05:18 ---> sigul-configuration.sh 21:05:18 gpg: directory `/root/.gnupg' created 21:05:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:05:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:05:18 gpg: keyring `/root/.gnupg/secring.gpg' created 21:05:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:05:18 gpg: CAST5 encrypted data 21:05:18 gpg: encrypted with 1 passphrase 21:05:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:05:18 + mkdir /home/jenkins 21:05:18 + mkdir /home/jenkins/sigul [Pipeline] sh 21:05:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:05:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:05:19 ---> sigul-install.sh 21:05:19 Sigul already installed; skipping installation. [Pipeline] sh 21:05:19 + git tag --list 21:05:19 1.0.0 21:05:19 v0.0.0 21:05:19 v1.1.0 21:05:19 v1.1.1 21:05:19 v1.2.2 21:05:19 v1.3.0 21:05:19 v1.3.1 21:05:19 v2.0.0 21:05:19 v2.1.0 21:05:19 v2.1.1 21:05:19 v2.1.1-dev.2 21:05:19 v2.1.1-dev.3 21:05:19 v2.2.0 21:05:19 v2.2.1-dev.1 21:05:19 v2.2.1-dev.2 21:05:19 v2.2.1-dev.3 21:05:19 v2.2.1-dev.4 21:05:19 v2.2.1-dev.5 21:05:19 v2.2.1-dev.6 21:05:19 v2.2.1-dev.7 21:05:19 v2.3.0-dev.10 21:05:19 v2.3.0-dev.11 21:05:19 v2.3.0-dev.12 21:05:19 v2.3.0-dev.13 21:05:19 v2.3.0-dev.14 21:05:19 v2.3.0-dev.15 21:05:19 v2.3.0-dev.16 21:05:19 v2.3.0-dev.17 21:05:19 v2.3.0-dev.18 21:05:19 v2.3.0-dev.19 21:05:19 v2.3.0-dev.20 21:05:19 v2.3.0-dev.21 21:05:19 v2.3.0-dev.7 21:05:19 v2.3.0-dev.8 21:05:19 v2.3.0-dev.9 [Pipeline] sh 21:05:19 + lftools sign git-tag v2.3.0-dev.21 21:05:20 Signing Git tag with Sigul... 21:05:20 Signing v2.3.0-dev.21 [Pipeline] echo 21:05:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:05:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:05:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:05:21 $ docker stop --time=1 31f22094eb994f50d00452f1e9218a61a15510a7eaf755db89e250f29bee8a33 21:05:22 $ docker rm -f 31f22094eb994f50d00452f1e9218a61a15510a7eaf755db89e250f29bee8a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:05:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:23 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 21:05:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 21:05:23 $ docker top 8dd2e10c924845d4102060ff55e4f155a86655b79626a0e66e7ba843f2e36b74 -eo pid,comm 21:05:23 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). 21:05:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:23 [ssh-agent] Looking for ssh-agent implementation... 21:05:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:23 $ docker exec 8dd2e10c924845d4102060ff55e4f155a86655b79626a0e66e7ba843f2e36b74 ssh-agent 21:05:23 SSH_AUTH_SOCK=/tmp/ssh-EsJxMEAeIFpx/agent.32 21:05:23 SSH_AGENT_PID=38 21:05:23 Running ssh-add (command line suppressed) 21:05:23 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14327815301366076378.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14327815301366076378.key) 21:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:24 + git semver bump pre 21:05:24 2022-10-26 21:05:24,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:05:24 2022-10-26 21:05:24,465 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev 21:05:24 2022-10-26 21:05:24,465 [bump_version] DEBUG bumped version:2.3.0-dev.22 21:05:24 2022-10-26 21:05:24,465 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 21:05:24 2022-10-26 21:05:24,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:05:24 2022-10-26 21:05:24,466 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:05:24 2022-10-26 21:05:24,468 [execute] INFO git cat-file --batch-check 21:05:24 2022-10-26 21:05:24,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:24 2022-10-26 21:05:24,474 [execute] INFO git cat-file --batch 21:05:24 2022-10-26 21:05:24,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:24 2022-10-26 21:05:24,479 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:05:24 2.3.0-dev.22 [Pipeline] } 21:05:24 $ docker exec --env ******** --env ******** 8dd2e10c924845d4102060ff55e4f155a86655b79626a0e66e7ba843f2e36b74 ssh-agent -k 21:05:24 unset SSH_AUTH_SOCK; 21:05:24 unset SSH_AGENT_PID; 21:05:24 echo Agent pid 38 killed; 21:05:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:24 + git semver [Pipeline] } 21:05:25 $ docker stop --time=1 8dd2e10c924845d4102060ff55e4f155a86655b79626a0e66e7ba843f2e36b74 21:05:26 $ docker rm -f 8dd2e10c924845d4102060ff55e4f155a86655b79626a0e66e7ba843f2e36b74 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:27 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 21:05:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 21:05:27 $ docker top 037a60393e30208d1bf5f20a583c264d3bd22f9e288a68348449220a747357bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:27 [ssh-agent] Looking for ssh-agent implementation... 21:05:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:27 $ docker exec 037a60393e30208d1bf5f20a583c264d3bd22f9e288a68348449220a747357bb ssh-agent 21:05:27 SSH_AUTH_SOCK=/tmp/ssh-jrdsqS1ACuvd/agent.33 21:05:27 SSH_AGENT_PID=39 21:05:27 Running ssh-add (command line suppressed) 21:05:28 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17840806676598379483.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17840806676598379483.key) 21:05:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:28 + git semver push 21:05:28 2022-10-26 21:05:28,492 [run_push] DEBUG push 21:05:28 2022-10-26 21:05:28,492 [execute] INFO git cat-file --batch-check 21:05:28 2022-10-26 21:05:28,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:28 2022-10-26 21:05:28,497 [execute] INFO git rev-list 63ff54f64df09a6ce24989fd7c090f725d7c45f8 -- 21:05:28 2022-10-26 21:05:28,497 [execute] DEBUG Popen(['git', 'rev-list', '63ff54f64df09a6ce24989fd7c090f725d7c45f8', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:05:28 2022-10-26 21:05:28,506 [execute] INFO git fetch -v origin 21:05:28 2022-10-26 21:05:28,506 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:05:29 2022-10-26 21:05:29,094 [run_push] DEBUG no remote changes detected 21:05:29 2022-10-26 21:05:29,094 [execute] INFO git push origin semver 21:05:29 2022-10-26 21:05:29,095 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:05:30 2022-10-26 21:05:29,893 [run_push] DEBUG push all version tags 21:05:30 2022-10-26 21:05:29,893 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:05:30 2022-10-26 21:05:29,894 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 21:05:31 2022-10-26 21:05:30,702 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:05:31 2.3.0-dev.22 [Pipeline] } 21:05:31 $ docker exec --env ******** --env ******** 037a60393e30208d1bf5f20a583c264d3bd22f9e288a68348449220a747357bb ssh-agent -k 21:05:31 unset SSH_AUTH_SOCK; 21:05:31 unset SSH_AGENT_PID; 21:05:31 echo Agent pid 39 killed; 21:05:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:31 + git semver [Pipeline] } 21:05:31 $ docker stop --time=1 037a60393e30208d1bf5f20a583c264d3bd22f9e288a68348449220a747357bb 21:05:32 $ docker rm -f 037a60393e30208d1bf5f20a583c264d3bd22f9e288a68348449220a747357bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 21:05:33 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 21:05:33 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:05:33 total 16 21:05:33 drwxr-xr-x 3 root root 4096 Oct 26 20:54 . 21:05:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 21:05 .. 21:05:33 drwxr-xr-x 2 root root 4096 Oct 26 20:54 cost 21:05:33 -rw-r--r-- 1 root root 85 Oct 26 20:54 cost.csv 21:05:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:05:33 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:05:33 total 16 21:05:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:54 . 21:05:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 21:05 .. 21:05:33 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:54 cost 21:05:33 -rw-r--r-- 1 jenkins jenkins 85 Oct 26 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:05:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:05:34 ---> package-listing.sh 21:05:34 ++ facter osfamily 21:05:34 ++ tr '[:upper:]' '[:lower:]' 21:05:34 + OS_FAMILY=debian 21:05:34 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 21:05:34 + START_PACKAGES=/tmp/packages_start.txt 21:05:34 + END_PACKAGES=/tmp/packages_end.txt 21:05:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:05:34 + PACKAGES=/tmp/packages_start.txt 21:05:34 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:05:34 + PACKAGES=/tmp/packages_end.txt 21:05:34 + case "${OS_FAMILY}" in 21:05:34 + dpkg -l 21:05:34 + grep '^ii' 21:05:34 + '[' -f /tmp/packages_start.txt ']' 21:05:34 + '[' -f /tmp/packages_end.txt ']' 21:05:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:05:34 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:05:34 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 21:05:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 21:05:34 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:05:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:35 prd-ubuntu20.04-docker-8c-8g-117369 does not seem to be running inside a container 21:05:35 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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-lftools-log-publisher:latest cat 21:05:36 $ docker top 729618d6d8bec9032e89fc7897bbc5380874173ed583e9b5905b8d8102c4a435 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:05:36 + mkdir -p /var/log/sysstat [Pipeline] sh 21:05:36 + ls /var/log/sa-host 21:05:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:36 provisioning config files... 21:05:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config535495607538396931tmp [Pipeline] { [Pipeline] echo 21:05:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:05:37 ---> create-netrc.sh [Pipeline] } 21:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:05:37 ---> python-tools-install.sh [Pipeline] echo 21:05:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:05:37 ---> sudo-logs.sh 21:05:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:05:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:05:38 ---> job-cost.sh 21:05:38 lf-activate-venv: SKIPPING 21:05:38 DEBUG: total: 0.2199999988079071 21:05:38 INFO: Retrieving Stack Cost... 21:05:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:39 INFO: Archiving Costs [Pipeline] echo 21:05:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:05:39 ---> logs-deploy.sh 21:05:39 lf-activate-venv: SKIPPING 21:05:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/52 21:05:39 INFO: archiving workspace using pattern(s): 21:05:40 Archives upload complete. 21:05:40 INFO: archiving logs to Nexus 21:05:40 ---> uname -a: 21:05:40 Linux prd-ubuntu20-04-docker-8c-8g-117369 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:05:40 21:05:40 21:05:40 ---> lscpu: 21:05:40 Architecture: x86_64 21:05:40 CPU op-mode(s): 32-bit, 64-bit 21:05:40 Byte Order: Little Endian 21:05:40 Address sizes: 40 bits physical, 48 bits virtual 21:05:40 CPU(s): 8 21:05:40 On-line CPU(s) list: 0-7 21:05:40 Thread(s) per core: 1 21:05:40 Core(s) per socket: 1 21:05:40 Socket(s): 8 21:05:40 NUMA node(s): 1 21:05:40 Vendor ID: AuthenticAMD 21:05:40 CPU family: 23 21:05:40 Model: 49 21:05:40 Model name: AMD EPYC-Rome Processor 21:05:40 Stepping: 0 21:05:40 CPU MHz: 2799.998 21:05:40 BogoMIPS: 5599.99 21:05:40 Virtualization: AMD-V 21:05:40 Hypervisor vendor: KVM 21:05:40 Virtualization type: full 21:05:40 L1d cache: 256 KiB 21:05:40 L1i cache: 256 KiB 21:05:40 L2 cache: 4 MiB 21:05:40 L3 cache: 128 MiB 21:05:40 NUMA node0 CPU(s): 0-7 21:05:40 Vulnerability Itlb multihit: Not affected 21:05:40 Vulnerability L1tf: Not affected 21:05:40 Vulnerability Mds: Not affected 21:05:40 Vulnerability Meltdown: Not affected 21:05:40 Vulnerability Mmio stale data: Not affected 21:05:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:05:40 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:05:40 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:05:40 Vulnerability Srbds: Not affected 21:05:40 Vulnerability Tsx async abort: Not affected 21:05:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:05:40 21:05:40 21:05:40 ---> nproc: 21:05:40 8 21:05:40 21:05:40 21:05:40 ---> df -h: 21:05:40 Filesystem Size Used Avail Use% Mounted on 21:05:40 overlay 155G 13G 143G 9% / 21:05:40 tmpfs 64M 0 64M 0% /dev 21:05:40 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:05:40 shm 64M 0 64M 0% /dev/shm 21:05:40 /dev/vda1 155G 13G 143G 9% /facter-os 21:05:40 21:05:40