Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63e28895b9126edb3139522702b6e6ce592ce3b8 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-ssh7499676145854584015.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13227455800912827334.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh17250484685051091096.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh12985421692930208241.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-ssh6311089773310108874.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-1796 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 63e28895b9126edb3139522702b6e6ce592ce3b8 (main) Commit message: "Merge pull request #193 from hahattan/internal" > 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 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 > git rev-list --no-walk 60caeb9825f5d012501e30119000cf9f18d868f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:15:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:15:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:15:07 ========================================================= 07:15:07 EdgeX Global Pipelines Version Info 07:15:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:15:07 ------------------- 07:15:07 stable info: 07:15:07 ------------------- 07:15:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:15:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 07:15:07 Message: update stable to v1.0.239 07:15:08 ------------------- 07:15:08 experimental info: 07:15:08 ------------------- 07:15:08 Commited By: **** collab-it+edgex@linuxfoundation.org 07:15:08 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 07:15:08 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63e2889 [Pipeline] echo 07:15:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:09 provisioning config files... 07:15:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8966534945739535283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:09 ---> docker-login.sh 07:15:09 nexus3.edgexfoundry.org:10001 07:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:09 Configure a credential helper to remove this warning. See 07:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:09 07:15:09 Login Succeeded 07:15:09 nexus3.edgexfoundry.org:10002 07:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:09 Configure a credential helper to remove this warning. See 07:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:09 07:15:09 Login Succeeded 07:15:09 nexus3.edgexfoundry.org:10003 07:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:09 Configure a credential helper to remove this warning. See 07:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:09 07:15:09 Login Succeeded 07:15:09 nexus3.edgexfoundry.org:10004 07:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:10 Configure a credential helper to remove this warning. See 07:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:10 07:15:10 Login Succeeded 07:15:10 docker.io 07:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:10 Configure a credential helper to remove this warning. See 07:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:10 07:15:10 Login Succeeded 07:15:10 ---> docker-login.sh ends [Pipeline] } 07:15:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:15:10 + git rev-list -1 --merges 63e28895b9126edb3139522702b6e6ce592ce3b8~1..63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] echo 07:15:10 -----------> git rev-list -1 --merges 63e28895b9126edb3139522702b6e6ce592ce3b8~1..63e28895b9126edb3139522702b6e6ce592ce3b8 63e28895b9126edb3139522702b6e6ce592ce3b8 07:15:10 63e28895b9126edb3139522702b6e6ce592ce3b8 [false] [Pipeline] sh 07:15:11 + git log --format=format:%s -1 63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] echo 07:15:11 ========================================================= 07:15:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:15:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:11 + git log --format=format:%s -1 63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] echo 07:15:11 [semverPrep] GIT_COMMIT: 63e28895b9126edb3139522702b6e6ce592ce3b8, Commit Message: Merge pull request #193 from hahattan/internal [Pipeline] echo 07:15:11 [semverPrep] This is not a build commit. [Pipeline] sh 07:15:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:11 + grep -v github /etc/ssh/ssh_known_hosts 07:15:11 + [ -e /tmp/ssh_known_hosts ] 07:15:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:15:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:15:11 + sudo tee -a /etc/ssh/ssh_known_hosts 07:15:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:12 07:15:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:12 0.1.4: Pulling from edgex-devops/py-git-semver 07:15:12 b85a868b505f: Pulling fs layer 07:15:12 e2be974225ed: Pulling fs layer 07:15:12 339a4e72a1f5: Pulling fs layer 07:15:12 988bab9f4d93: Pulling fs layer 07:15:12 1469e6f7b9e6: Pulling fs layer 07:15:12 eaf3925da568: Pulling fs layer 07:15:12 bab4dde63d76: Pulling fs layer 07:15:12 bde34c3a00c8: Pulling fs layer 07:15:12 b352a97aabf1: Pulling fs layer 07:15:12 4872d77fe225: Pulling fs layer 07:15:12 5851b861e8e6: Pulling fs layer 07:15:12 1469e6f7b9e6: Waiting 07:15:12 bab4dde63d76: Waiting 07:15:12 eaf3925da568: Waiting 07:15:12 4872d77fe225: Waiting 07:15:12 5851b861e8e6: Waiting 07:15:12 bde34c3a00c8: Waiting 07:15:12 988bab9f4d93: Waiting 07:15:12 b352a97aabf1: Waiting 07:15:12 e2be974225ed: Verifying Checksum 07:15:12 e2be974225ed: Download complete 07:15:12 988bab9f4d93: Verifying Checksum 07:15:12 988bab9f4d93: Download complete 07:15:12 1469e6f7b9e6: Verifying Checksum 07:15:12 1469e6f7b9e6: Download complete 07:15:12 eaf3925da568: Verifying Checksum 07:15:12 eaf3925da568: Download complete 07:15:12 339a4e72a1f5: Verifying Checksum 07:15:12 339a4e72a1f5: Download complete 07:15:12 bde34c3a00c8: Download complete 07:15:12 b352a97aabf1: Download complete 07:15:12 4872d77fe225: Verifying Checksum 07:15:12 4872d77fe225: Download complete 07:15:12 b85a868b505f: Download complete 07:15:12 5851b861e8e6: Verifying Checksum 07:15:12 5851b861e8e6: Download complete 07:15:13 bab4dde63d76: Verifying Checksum 07:15:13 bab4dde63d76: Download complete 07:15:14 b85a868b505f: Pull complete 07:15:14 e2be974225ed: Pull complete 07:15:14 339a4e72a1f5: Pull complete 07:15:14 988bab9f4d93: Pull complete 07:15:14 1469e6f7b9e6: Pull complete 07:15:14 eaf3925da568: Pull complete 07:15:16 bab4dde63d76: Pull complete 07:15:16 bde34c3a00c8: Pull complete 07:15:17 b352a97aabf1: Pull complete 07:15:17 4872d77fe225: Pull complete 07:15:17 5851b861e8e6: Pull complete 07:15:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:15:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:17 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:15:17 $ 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 07:15:19 $ docker top 38d3fc946dd628590201361bb966db6191c3090844203b54f4475d435ab5849d -eo pid,comm 07:15:19 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). 07:15:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:19 [ssh-agent] Looking for ssh-agent implementation... 07:15:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:19 $ docker exec 38d3fc946dd628590201361bb966db6191c3090844203b54f4475d435ab5849d ssh-agent 07:15:20 SSH_AUTH_SOCK=/tmp/ssh-W8jeHqfctkEZ/agent.32 07:15:20 SSH_AGENT_PID=38 07:15:20 Running ssh-add (command line suppressed) 07:15:20 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7538365447313641253.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7538365447313641253.key) 07:15:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:20 + git tag --points-at HEAD [Pipeline] } 07:15:20 $ docker exec --env ******** --env ******** 38d3fc946dd628590201361bb966db6191c3090844203b54f4475d435ab5849d ssh-agent -k 07:15:20 unset SSH_AUTH_SOCK; 07:15:20 unset SSH_AGENT_PID; 07:15:20 echo Agent pid 38 killed; 07:15:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:20 [ssh-agent] Looking for ssh-agent implementation... 07:15:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:20 $ docker exec 38d3fc946dd628590201361bb966db6191c3090844203b54f4475d435ab5849d ssh-agent 07:15:20 SSH_AUTH_SOCK=/tmp/ssh-mlymAdu3brbr/agent.71 07:15:20 SSH_AGENT_PID=77 07:15:20 Running ssh-add (command line suppressed) 07:15:20 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13642642592950553262.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13642642592950553262.key) 07:15:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:21 + git semver init 07:15:21 2022-09-28 07:15:21,394 [run_init] DEBUG init version:0.0.0 force:False 07:15:21 2022-09-28 07:15:21,394 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:15:21 2022-09-28 07:15:21,395 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:15:21 2022-09-28 07:15:21,395 [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) 07:15:22 2022-09-28 07:15:22,295 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 07:15:22 2022-09-28 07:15:22,296 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 07:15:22 2022-09-28 07:15:22,296 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:15:22 2022-09-28 07:15:22,296 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:15:22 2.3.0-dev.15 [Pipeline] } 07:15:22 $ docker exec --env ******** --env ******** 38d3fc946dd628590201361bb966db6191c3090844203b54f4475d435ab5849d ssh-agent -k 07:15:22 unset SSH_AUTH_SOCK; 07:15:22 unset SSH_AGENT_PID; 07:15:22 echo Agent pid 77 killed; 07:15:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:22 + git semver [Pipeline] } 07:15:23 $ docker stop --time=1 38d3fc946dd628590201361bb966db6191c3090844203b54f4475d435ab5849d 07:15:24 $ docker rm -f 38d3fc946dd628590201361bb966db6191c3090844203b54f4475d435ab5849d [Pipeline] // withDockerContainer [Pipeline] sh 07:15:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:25 Stashed 1 file(s) [Pipeline] echo 07:15:25 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [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 07:15:25 provisioning config files... 07:15:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4976189797707570222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:25 ---> docker-login.sh 07:15:25 nexus3.edgexfoundry.org:10001 07:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:25 Configure a credential helper to remove this warning. See 07:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:25 07:15:25 Login Succeeded 07:15:25 nexus3.edgexfoundry.org:10002 07:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:25 Configure a credential helper to remove this warning. See 07:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:25 07:15:25 Login Succeeded 07:15:25 nexus3.edgexfoundry.org:10003 07:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:25 Configure a credential helper to remove this warning. See 07:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:25 07:15:25 Login Succeeded 07:15:25 nexus3.edgexfoundry.org:10004 07:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:25 Configure a credential helper to remove this warning. See 07:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:25 07:15:25 Login Succeeded 07:15:25 docker.io 07:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:26 Configure a credential helper to remove this warning. See 07:15:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:26 07:15:26 Login Succeeded 07:15:26 ---> docker-login.sh ends [Pipeline] } 07:15:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:26 ========================================================= 07:15:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:15:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:26 + 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 . 07:15:26 Sending build context to Docker daemon 5.481MB 07:15:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 07:15:26 Step 2/13 : FROM ${BASE} AS builder 07:15:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:15:26 2408cc74d12b: Pulling fs layer 07:15:26 ea60b727a1ce: Pulling fs layer 07:15:26 30c4a7721957: Pulling fs layer 07:15:26 370296b7ddb6: Pulling fs layer 07:15:26 7c6cee850709: Pulling fs layer 07:15:26 39a5fcdaea64: Pulling fs layer 07:15:26 d94ebbe4e438: Pulling fs layer 07:15:26 bcfd1f05c69d: Pulling fs layer 07:15:26 59ccb84bbe0f: Pulling fs layer 07:15:26 39a5fcdaea64: Waiting 07:15:26 d94ebbe4e438: Waiting 07:15:26 bcfd1f05c69d: Waiting 07:15:26 370296b7ddb6: Waiting 07:15:26 7c6cee850709: Waiting 07:15:26 30c4a7721957: Verifying Checksum 07:15:26 30c4a7721957: Download complete 07:15:26 ea60b727a1ce: Download complete 07:15:26 7c6cee850709: Verifying Checksum 07:15:26 7c6cee850709: Download complete 07:15:26 39a5fcdaea64: Download complete 07:15:26 2408cc74d12b: Download complete 07:15:26 d94ebbe4e438: Verifying Checksum 07:15:26 d94ebbe4e438: Download complete 07:15:27 2408cc74d12b: Pull complete 07:15:27 ea60b727a1ce: Pull complete 07:15:27 30c4a7721957: Pull complete 07:15:27 59ccb84bbe0f: Verifying Checksum 07:15:27 59ccb84bbe0f: Download complete 07:15:28 370296b7ddb6: Verifying Checksum 07:15:28 370296b7ddb6: Download complete 07:15:28 bcfd1f05c69d: Verifying Checksum 07:15:32 370296b7ddb6: Pull complete 07:15:32 7c6cee850709: Pull complete 07:15:32 39a5fcdaea64: Pull complete 07:15:32 d94ebbe4e438: Pull complete 07:15:34 bcfd1f05c69d: Pull complete 07:15:35 59ccb84bbe0f: Pull complete 07:15:35 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 07:15:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:15:35 ---> a4fb48ad2a94 07:15:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:15:38 ---> Running in 98bc3403f6dc 07:15:38 Removing intermediate container 98bc3403f6dc 07:15:38 ---> b6e8b05152fb 07:15:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:15:38 ---> Running in 7592d7f9934c 07:15:38 Removing intermediate container 7592d7f9934c 07:15:38 ---> 87cf6d350dd3 07:15:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:15:38 ---> Running in 0c1f605c9a9d 07:15:38 Removing intermediate container 0c1f605c9a9d 07:15:38 ---> 6060211c0a20 07:15:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:15:38 ---> Running in bea1907b10f7 07:15:39 Removing intermediate container bea1907b10f7 07:15:39 ---> 01e804c9195f 07:15:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:39 ---> Running in 16b7ddf538e2 07:15:39 Removing intermediate container 16b7ddf538e2 07:15:39 ---> 7f97a9f46fd3 07:15:39 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:15:39 ---> Running in 6cf00e579069 07:15:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:15:40 Still waiting to schedule task 07:15:40 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:15:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:15:41 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:15:41 (2/4) Installing libedit (20210910.3.1-r0) 07:15:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:15:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:15:41 Executing busybox-1.35.0-r13.trigger 07:15:41 OK: 216 MiB in 55 packages 07:15:42 Removing intermediate container 6cf00e579069 07:15:42 ---> e0951eaa50d9 07:15:42 Step 9/13 : WORKDIR /device-snmp-go 07:15:42 ---> Running in faa011763a4d 07:15:42 Removing intermediate container faa011763a4d 07:15:42 ---> 5ab782022842 07:15:42 Step 10/13 : COPY go.mod vendor* ./ 07:15:42 ---> 961ac747a0b9 07:15:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:15:42 ---> Running in 74964327a0da 07:16:00 Removing intermediate container 74964327a0da 07:16:00 ---> 150d443891d9 07:16:00 Step 12/13 : COPY . . 07:16:00 ---> 536306e498b0 07:16:00 Step 13/13 : RUN ${MAKE} 07:16:00 ---> Running in 974bebf99320 07:16:00 noop 07:16:00 Removing intermediate container 974bebf99320 07:16:00 ---> ce488a77f90f 07:16:00 Successfully built ce488a77f90f 07:16:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:00 + docker inspect -f . ci-base-image-x86_64 07:16:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:00 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:16:01 $ 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 07:16:01 $ docker top 6de8f630f6c21e033f65802612c31d972a5c700de998eec4b2d4b54e663fc16d -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:01 + go version 07:16:01 go version go1.18.3 linux/amd64 [Pipeline] } 07:16:01 $ docker stop --time=1 6de8f630f6c21e033f65802612c31d972a5c700de998eec4b2d4b54e663fc16d 07:16:03 $ docker rm -f 6de8f630f6c21e033f65802612c31d972a5c700de998eec4b2d4b54e663fc16d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:03 + docker inspect -f . ci-base-image-x86_64 07:16:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:03 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:16:03 $ 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 07:16:03 $ docker top 88aa80b3bafde2d065b7ef9bca66bfafca08cef35050efa7eafbec57a502e44c -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 07:16:04 + make test 07:16:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:16:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:16:14 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:16:14 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 07:16:20 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." 07:16:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:16:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:16:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:16:22 ./bin/test-attribution-txt.sh [Pipeline] echo 07:16:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:16:22 $ docker stop --time=1 88aa80b3bafde2d065b7ef9bca66bfafca08cef35050efa7eafbec57a502e44c 07:16:25 $ docker rm -f 88aa80b3bafde2d065b7ef9bca66bfafca08cef35050efa7eafbec57a502e44c [Pipeline] // withDockerContainer [Pipeline] sh 07:16:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:16:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:26 + ls -al . 07:16:26 total 172 07:16:26 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 07:16 . 07:16:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:15 .. 07:16:26 -rw-rw-r-- 1 jenkins jenkins 6 Sep 28 07:15 .dockerignore 07:16:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 07:16 .git 07:16:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:15 .github 07:16:26 -rw-rw-r-- 1 jenkins jenkins 328 Sep 28 07:15 .gitignore 07:16:26 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 07:15 .golangci.yml 07:16:26 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 07:15 .semver 07:16:26 -rw-rw-r-- 1 jenkins jenkins 8932 Sep 28 07:15 Attribution.txt 07:16:26 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 28 07:15 CHANGELOG.md 07:16:26 -rw-rw-r-- 1 jenkins jenkins 1575 Sep 28 07:15 Dockerfile 07:16:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 07:15 GOVERNANCE.md 07:16:26 -rw-rw-r-- 1 jenkins jenkins 656 Sep 28 07:15 Jenkinsfile 07:16:26 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 07:15 LICENSE 07:16:26 -rw-rw-r-- 1 jenkins jenkins 2543 Sep 28 07:15 Makefile 07:16:26 -rw-rw-r-- 1 jenkins jenkins 620 Sep 28 07:15 OWNERS.md 07:16:26 -rw-rw-r-- 1 jenkins jenkins 10054 Sep 28 07:15 README.md 07:16:26 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 07:15 VERSION 07:16:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:15 bin 07:16:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:15 cmd 07:16:26 -rw-r--r-- 1 jenkins jenkins 7631 Sep 28 07:16 coverage.out 07:16:26 -rw-rw-r-- 1 jenkins jenkins 3473 Sep 28 07:15 go.mod 07:16:26 -rw-rw-r-- 1 jenkins jenkins 38138 Sep 28 07:15 go.sum 07:16:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:15 internal 07:16:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:15 snap 07:16:26 -rw-rw-r-- 1 jenkins jenkins 228 Sep 28 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:26 + 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=63e28895b9126edb3139522702b6e6ce592ce3b8 --label arch=amd64 --label version=2.3.0-dev.15 . 07:16:26 Sending build context to Docker daemon 5.489MB 07:16:26 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:16:26 Step 2/25 : FROM ${BASE} AS builder 07:16:26 ---> ce488a77f90f 07:16:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:16:26 ---> Running in d69d95bffc67 07:16:26 Removing intermediate container d69d95bffc67 07:16:26 ---> 5822ed6a5243 07:16:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:16:26 ---> Running in 07915287663c 07:16:26 Removing intermediate container 07915287663c 07:16:26 ---> 751d79586d35 07:16:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:16:27 ---> Running in 45090cba349d 07:16:27 Removing intermediate container 45090cba349d 07:16:27 ---> 5713d22f8bb3 07:16:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:16:27 ---> Running in 15eb7a532f97 07:16:27 Removing intermediate container 15eb7a532f97 07:16:27 ---> 2e751a14fa44 07:16:27 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:27 ---> Running in 418add88914b 07:16:27 Removing intermediate container 418add88914b 07:16:27 ---> 2e5673d4c6ce 07:16:27 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:27 ---> Running in 35af91b1865b 07:16:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:16:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:16:29 OK: 216 MiB in 55 packages 07:16:29 Removing intermediate container 35af91b1865b 07:16:29 ---> 02409482d9ba 07:16:29 Step 9/25 : WORKDIR /device-snmp-go 07:16:29 ---> Running in 2c9796f9431c 07:16:29 Removing intermediate container 2c9796f9431c 07:16:29 ---> 059df112b34a 07:16:29 Step 10/25 : COPY go.mod vendor* ./ 07:16:29 ---> d5018face217 07:16:29 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:29 ---> Running in cf0c424194d5 07:16:30 Removing intermediate container cf0c424194d5 07:16:30 ---> 18e98c2bcc43 07:16:30 Step 12/25 : COPY . . 07:16:30 ---> 06e71e1446b1 07:16:30 Step 13/25 : RUN ${MAKE} 07:16:30 ---> Running in 11cc8d7e845b 07:16:31 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 07:16:53 Removing intermediate container 11cc8d7e845b 07:16:53 ---> fdc78ab28ccd 07:16:53 Step 14/25 : FROM alpine:3.16 07:16:53 3.16: Pulling from library/alpine 07:16:53 213ec9aee27d: Pulling fs layer 07:16:53 213ec9aee27d: Verifying Checksum 07:16:53 213ec9aee27d: Download complete 07:16:53 213ec9aee27d: Pull complete 07:16:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:16:53 Status: Downloaded newer image for alpine:3.16 07:16:53 ---> 9c6f07244728 07:16:53 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 07:16:53 ---> Running in 843c0538fd8e 07:16:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:16:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:16:53 (1/6) Installing dumb-init (1.2.5-r1) 07:16:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:16:53 (3/6) Installing libsodium (1.0.18-r0) 07:16:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:16:53 (5/6) Installing libzmq (4.3.4-r0) 07:16:53 (6/6) Installing zeromq (4.3.4-r0) 07:16:53 Executing busybox-1.35.0-r17.trigger 07:16:53 OK: 8 MiB in 20 packages 07:16:53 Removing intermediate container 843c0538fd8e 07:16:53 ---> 42bfe36c6827 07:16:53 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 07:16:54 ---> 967a1859e550 07:16:54 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:16:54 ---> 574a60e6cb0a 07:16:54 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 07:16:54 ---> 4dadf9dfb25d 07:16:54 Step 19/25 : EXPOSE 59993 07:16:54 ---> Running in 64bc635dff74 07:16:54 Removing intermediate container 64bc635dff74 07:16:54 ---> 08fa0e2916b9 07:16:54 Step 20/25 : EXPOSE 161 07:16:54 ---> Running in 51734fadfe5c 07:16:54 Removing intermediate container 51734fadfe5c 07:16:54 ---> 43d1ea3b95a1 07:16:54 Step 21/25 : ENTRYPOINT ["/device-snmp"] 07:16:54 ---> Running in ae02d1696b6c 07:16:54 Removing intermediate container ae02d1696b6c 07:16:54 ---> 037de9bbbbb8 07:16:54 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:16:54 ---> Running in a913328ecc9d 07:16:55 Removing intermediate container a913328ecc9d 07:16:55 ---> 95cd10e71f61 07:16:55 Step 23/25 : LABEL arch=amd64 07:16:55 ---> Running in 6fcdc128888c 07:16:55 Removing intermediate container 6fcdc128888c 07:16:55 ---> 776000eded06 07:16:55 Step 24/25 : LABEL git_sha=63e28895b9126edb3139522702b6e6ce592ce3b8 07:16:55 ---> Running in 19ea2e6ac8b2 07:16:55 Removing intermediate container 19ea2e6ac8b2 07:16:55 ---> 00cfc4531efb 07:16:55 Step 25/25 : LABEL version=2.3.0-dev.15 07:16:55 ---> Running in d0ee00b9f903 07:16:55 Removing intermediate container d0ee00b9f903 07:16:55 ---> 4e990ad0db27 07:16:55 [Warning] One or more build-args [ARCH] were not consumed 07:16:55 Successfully built 4e990ad0db27 07:16:55 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:16:55 provisioning config files... 07:16:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5044703777008674034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:55 ---> docker-login.sh 07:16:55 nexus3.edgexfoundry.org:10001 07:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:55 Configure a credential helper to remove this warning. See 07:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:55 07:16:55 Login Succeeded 07:16:55 nexus3.edgexfoundry.org:10002 07:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:55 Configure a credential helper to remove this warning. See 07:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:55 07:16:55 Login Succeeded 07:16:55 nexus3.edgexfoundry.org:10003 07:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:55 Configure a credential helper to remove this warning. See 07:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:55 07:16:55 Login Succeeded 07:16:55 nexus3.edgexfoundry.org:10004 07:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:55 Configure a credential helper to remove this warning. See 07:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:55 07:16:55 Login Succeeded 07:16:55 docker.io 07:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:56 Configure a credential helper to remove this warning. See 07:16:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:56 07:16:56 Login Succeeded 07:16:56 ---> docker-login.sh ends [Pipeline] } 07:16:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:16:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:16:56 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 07:16:56 63e28895b9126edb3139522702b6e6ce592ce3b8 07:16:56 latest 07:16:56 2.3.0-dev.15 07:16:56 63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 07:16:56 main 07:16:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:57 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:57 + docker push nexus3.edgexfoundry.org:10004/device-snmp:63e28895b9126edb3139522702b6e6ce592ce3b8 07:16:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:16:57 28c5cce8b27f: Preparing 07:16:57 359b51913ba0: Preparing 07:16:57 ca5f74cce2f4: Preparing 07:16:57 539b7f92e95b: Preparing 07:16:57 994393dc58e7: Preparing 07:16:57 994393dc58e7: Layer already exists 07:16:57 359b51913ba0: Pushed 07:16:57 28c5cce8b27f: Pushed 07:16:57 539b7f92e95b: Pushed 07:17:00 ca5f74cce2f4: Pushed 07:17:00 63e28895b9126edb3139522702b6e6ce592ce3b8: digest: sha256:28a810b26ff4dae3fa2e2df349168aead52ebebb887e1b199023ea20c90a88f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:00 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 07:17:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:17:00 28c5cce8b27f: Preparing 07:17:00 359b51913ba0: Preparing 07:17:00 ca5f74cce2f4: Preparing 07:17:00 539b7f92e95b: Preparing 07:17:00 994393dc58e7: Preparing 07:17:00 28c5cce8b27f: Layer already exists 07:17:00 ca5f74cce2f4: Layer already exists 07:17:00 539b7f92e95b: Layer already exists 07:17:00 994393dc58e7: Layer already exists 07:17:00 359b51913ba0: Layer already exists 07:17:00 latest: digest: sha256:28a810b26ff4dae3fa2e2df349168aead52ebebb887e1b199023ea20c90a88f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.15 07:17:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:17:01 28c5cce8b27f: Preparing 07:17:01 359b51913ba0: Preparing 07:17:01 ca5f74cce2f4: Preparing 07:17:01 539b7f92e95b: Preparing 07:17:01 994393dc58e7: Preparing 07:17:01 994393dc58e7: Layer already exists 07:17:01 359b51913ba0: Layer already exists 07:17:01 28c5cce8b27f: Layer already exists 07:17:01 ca5f74cce2f4: Layer already exists 07:17:01 539b7f92e95b: Layer already exists 07:17:01 2.3.0-dev.15: digest: sha256:28a810b26ff4dae3fa2e2df349168aead52ebebb887e1b199023ea20c90a88f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp:63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 07:17:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:17:01 28c5cce8b27f: Preparing 07:17:01 359b51913ba0: Preparing 07:17:01 ca5f74cce2f4: Preparing 07:17:01 539b7f92e95b: Preparing 07:17:01 994393dc58e7: Preparing 07:17:01 ca5f74cce2f4: Layer already exists 07:17:01 539b7f92e95b: Layer already exists 07:17:01 28c5cce8b27f: Layer already exists 07:17:01 359b51913ba0: Layer already exists 07:17:01 994393dc58e7: Layer already exists 07:17:01 63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15: digest: sha256:28a810b26ff4dae3fa2e2df349168aead52ebebb887e1b199023ea20c90a88f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:02 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 07:17:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:17:02 28c5cce8b27f: Preparing 07:17:02 359b51913ba0: Preparing 07:17:02 ca5f74cce2f4: Preparing 07:17:02 539b7f92e95b: Preparing 07:17:02 994393dc58e7: Preparing 07:17:02 ca5f74cce2f4: Layer already exists 07:17:02 359b51913ba0: Layer already exists 07:17:02 28c5cce8b27f: Layer already exists 07:17:02 539b7f92e95b: Layer already exists 07:17:02 994393dc58e7: Layer already exists 07:17:02 main: digest: sha256:28a810b26ff4dae3fa2e2df349168aead52ebebb887e1b199023ea20c90a88f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:17:02 ===================================================== [Pipeline] echo 07:17:02 taggedImages: 07:17:02 - nexus3.edgexfoundry.org:10004/device-snmp:63e28895b9126edb3139522702b6e6ce592ce3b8 07:17:02 - nexus3.edgexfoundry.org:10004/device-snmp:latest 07:17:02 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.15 07:17:02 - nexus3.edgexfoundry.org:10004/device-snmp:63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 07:17:02 - 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 07:17:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:02 07:17:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:03 latest: Pulling from edgex-lftools-log-publisher 07:17:03 5eb5b503b376: Pulling fs layer 07:17:03 5c69ac0246d0: Pulling fs layer 07:17:03 ec43610c2a17: Pulling fs layer 07:17:03 3a2ae6a8a46f: Pulling fs layer 07:17:03 33b1e0a273af: Pulling fs layer 07:17:03 5d3b04190fa2: Pulling fs layer 07:17:03 2f39f015ded8: Pulling fs layer 07:17:03 33b1e0a273af: Waiting 07:17:03 5d3b04190fa2: Waiting 07:17:03 3a2ae6a8a46f: Waiting 07:17:03 2f39f015ded8: Waiting 07:17:03 5c69ac0246d0: Verifying Checksum 07:17:03 5c69ac0246d0: Download complete 07:17:03 3a2ae6a8a46f: Verifying Checksum 07:17:03 3a2ae6a8a46f: Download complete 07:17:03 33b1e0a273af: Verifying Checksum 07:17:03 33b1e0a273af: Download complete 07:17:03 ec43610c2a17: Verifying Checksum 07:17:03 ec43610c2a17: Download complete 07:17:03 5d3b04190fa2: Verifying Checksum 07:17:03 5d3b04190fa2: Download complete 07:17:03 5eb5b503b376: Verifying Checksum 07:17:03 5eb5b503b376: Download complete 07:17:04 2f39f015ded8: Download complete 07:17:04 5eb5b503b376: Pull complete 07:17:04 5c69ac0246d0: Pull complete 07:17:05 ec43610c2a17: Pull complete 07:17:05 3a2ae6a8a46f: Pull complete 07:17:05 33b1e0a273af: Pull complete 07:17:05 5d3b04190fa2: Pull complete 07:17:09 2f39f015ded8: Pull complete 07:17:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:17:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:09 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:17:09 $ 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 07:17:12 $ docker top c4f40f24b8da81298b6bb8c1b09763e476429636e3e703dc446183a200594de2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:13 ---> job-cost.sh 07:17:13 lf-activate-venv: SKIPPING 07:17:13 INFO: No Stack... 07:17:13 INFO: Retrieving Pricing Info for: v3-standard-8 07:17:14 INFO: Archiving Costs [Pipeline] sh 07:17:14 + cat+ /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 07:17:14 cut -d, -f6 [Pipeline] lock 07:17:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] 07:17:14 Resource [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] did not exist. Created. 07:17:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:17:14 + echo total: 0.2199999988079071 [Pipeline] stash 07:17:14 Stashed 1 file(s) [Pipeline] } 07:17:14 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 07:17:14 $ docker stop --time=1 c4f40f24b8da81298b6bb8c1b09763e476429636e3e703dc446183a200594de2 07:17:15 $ docker rm -f c4f40f24b8da81298b6bb8c1b09763e476429636e3e703dc446183a200594de2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:17:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1799 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 07:17:33 Running in /w/workspace/device-snmp-go/46 [Pipeline] { [Pipeline] checkout 07:17:33 Selected Git installation does not exist. Using Default 07:17:33 The recommended git tool is: NONE 07:17:39 using credential edgex-jenkins-ssh 07:17:39 Cloning the remote Git repository 07:17:39 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:17:39 > git init /w/workspace/device-snmp-go/46 # timeout=10 07:17:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:17:39 > git --version # timeout=10 07:17:39 > git --version # 'git version 2.25.1' 07:17:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:39 Verifying host key using known hosts file 07:17:40 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. 07:17:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:41 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:17:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:42 Avoid second fetch 07:17:42 Checking out Revision 63e28895b9126edb3139522702b6e6ce592ce3b8 (main) 07:17:42 Commit message: "Merge pull request #193 from hahattan/internal" 07:17:42 > git config core.sparsecheckout # timeout=10 07:17:42 > git checkout -f 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:17:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:17:43 Dload Upload Total Spent Left Speed 07:17:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 236k 0 --:--:-- --:--:-- --:--:-- 241k [Pipeline] sh 07:17:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:17:44 + sudo tee /etc/docker/daemon.new 07:17:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:17:44 { 07:17:44 "registry-mirrors": [ 07:17:44 "https://nexus3.edgexfoundry.org:10001" 07:17:44 ], 07:17:44 "bip": "10.250.0.254/24", 07:17:44 "hosts": [ 07:17:44 "tcp://0.0.0.0:5555", 07:17:44 "unix:///var/run/docker.sock" 07:17:44 ], 07:17:44 "mtu": 1458, 07:17:44 "selinux-enabled": true, 07:17:44 "seccomp-profile": "/etc/docker/seccomp.json" 07:17:44 } [Pipeline] sh 07:17:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:17:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:03 provisioning config files... 07:18:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/46@tmp/config15714673247036052799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:03 ---> docker-login.sh 07:18:03 nexus3.edgexfoundry.org:10001 07:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:04 Configure a credential helper to remove this warning. See 07:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:04 07:18:04 Login Succeeded 07:18:04 nexus3.edgexfoundry.org:10002 07:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:04 Configure a credential helper to remove this warning. See 07:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:04 07:18:04 Login Succeeded 07:18:04 nexus3.edgexfoundry.org:10003 07:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:05 Configure a credential helper to remove this warning. See 07:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:05 07:18:05 Login Succeeded 07:18:05 nexus3.edgexfoundry.org:10004 07:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:05 Configure a credential helper to remove this warning. See 07:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:05 07:18:05 Login Succeeded 07:18:05 docker.io 07:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:06 Configure a credential helper to remove this warning. See 07:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:06 07:18:06 Login Succeeded 07:18:06 ---> docker-login.sh ends [Pipeline] } 07:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:06 ========================================================= 07:18:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:18:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:06 + 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 . 07:18:07 Sending build context to Docker daemon 2.828MB 07:18:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 07:18:07 Step 2/13 : FROM ${BASE} AS builder 07:18:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:18:07 b3c136eddcbf: Pulling fs layer 07:18:07 c0a3192eca97: Pulling fs layer 07:18:07 a050256f5b6f: Pulling fs layer 07:18:07 656be50a0ddc: Pulling fs layer 07:18:07 2bbca73fdf42: Pulling fs layer 07:18:07 46d945488cbd: Pulling fs layer 07:18:07 8a5474983e97: Pulling fs layer 07:18:07 329c88fbcd65: Pulling fs layer 07:18:07 656be50a0ddc: Waiting 07:18:07 46d945488cbd: Waiting 07:18:07 2bbca73fdf42: Waiting 07:18:07 8a5474983e97: Waiting 07:18:07 329c88fbcd65: Waiting 07:18:07 a050256f5b6f: Verifying Checksum 07:18:07 a050256f5b6f: Download complete 07:18:07 c0a3192eca97: Verifying Checksum 07:18:07 c0a3192eca97: Download complete 07:18:07 2bbca73fdf42: Download complete 07:18:07 46d945488cbd: Verifying Checksum 07:18:07 46d945488cbd: Download complete 07:18:07 b3c136eddcbf: Verifying Checksum 07:18:07 b3c136eddcbf: Download complete 07:18:08 b3c136eddcbf: Pull complete 07:18:08 329c88fbcd65: Verifying Checksum 07:18:08 329c88fbcd65: Download complete 07:18:08 c0a3192eca97: Pull complete 07:18:09 a050256f5b6f: Pull complete 07:18:09 8a5474983e97: Verifying Checksum 07:18:09 8a5474983e97: Download complete 07:18:10 656be50a0ddc: Download complete 07:18:22 656be50a0ddc: Pull complete 07:18:22 2bbca73fdf42: Pull complete 07:18:22 46d945488cbd: Pull complete 07:18:28 8a5474983e97: Pull complete 07:18:30 329c88fbcd65: Pull complete 07:18:30 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 07:18:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:18:30 ---> ff4287adb874 07:18:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:18:31 ---> Running in ca2d160f52b1 07:18:32 Removing intermediate container ca2d160f52b1 07:18:32 ---> 59874797164d 07:18:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:18:32 ---> Running in 9e922008d1a1 07:18:32 Removing intermediate container 9e922008d1a1 07:18:32 ---> 923953a657ba 07:18:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:18:32 ---> Running in 5665e35461b7 07:18:32 Removing intermediate container 5665e35461b7 07:18:32 ---> 7a824436ee32 07:18:32 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:18:32 ---> Running in bb8d992fd9d3 07:18:33 Removing intermediate container bb8d992fd9d3 07:18:33 ---> 1960bfe0243e 07:18:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:33 ---> Running in 02263078f5a9 07:18:35 Removing intermediate container 02263078f5a9 07:18:35 ---> 02705236ad6b 07:18:35 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:18:35 ---> Running in 602bc36590e5 07:18:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:18:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:18:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:18:38 (2/4) Installing libedit (20210910.3.1-r0) 07:18:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:18:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:18:38 Executing busybox-1.35.0-r13.trigger 07:18:38 OK: 226 MiB in 55 packages 07:18:39 Removing intermediate container 602bc36590e5 07:18:39 ---> 9ccf823bf864 07:18:39 Step 9/13 : WORKDIR /device-snmp-go 07:18:39 ---> Running in ed02e5688da4 07:18:40 Removing intermediate container ed02e5688da4 07:18:40 ---> 5c7a153154dc 07:18:40 Step 10/13 : COPY go.mod vendor* ./ 07:18:40 ---> 617a51607ce3 07:18:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:41 ---> Running in e6f877dcfc05 07:19:37 Removing intermediate container e6f877dcfc05 07:19:37 ---> 31c48a9a4d68 07:19:37 Step 12/13 : COPY . . 07:19:37 ---> 4f9c71d5f84f 07:19:37 Step 13/13 : RUN ${MAKE} 07:19:37 ---> Running in 2deeb7994321 07:19:37 noop 07:19:37 Removing intermediate container 2deeb7994321 07:19:37 ---> 43171cf13c1c 07:19:37 Successfully built 43171cf13c1c 07:19:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:37 + docker inspect -f . ci-base-image-arm64 07:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:38 prd-ubuntu20.04-docker-arm64-4c-16g-1799 does not seem to be running inside a container 07:19:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/46 -v /w/workspace/device-snmp-go/46:/w/workspace/device-snmp-go/46:rw,z -v /w/workspace/device-snmp-go/46@tmp:/w/workspace/device-snmp-go/46@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 07:19:39 $ docker top 952fa7517dfffcbd8783276ff886776a8699f5a69b5303aa3c84c5b98c3d0298 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:40 + go version 07:19:40 go version go1.18.3 linux/arm64 [Pipeline] } 07:19:40 $ docker stop --time=1 952fa7517dfffcbd8783276ff886776a8699f5a69b5303aa3c84c5b98c3d0298 07:19:41 $ docker rm -f 952fa7517dfffcbd8783276ff886776a8699f5a69b5303aa3c84c5b98c3d0298 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:42 + docker inspect -f . ci-base-image-arm64 07:19:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:42 prd-ubuntu20.04-docker-arm64-4c-16g-1799 does not seem to be running inside a container 07:19:42 $ 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/46 -v /w/workspace/device-snmp-go/46:/w/workspace/device-snmp-go/46:rw,z -v /w/workspace/device-snmp-go/46@tmp:/w/workspace/device-snmp-go/46@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 07:19:43 $ docker top 3a85e33fd3ba6a6112083c123f5a6be19111b1bea4dcb0f3a459fc2e34ccc99a -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:44 + git config --global --add safe.directory /w/workspace/device-snmp-go/46 [Pipeline] fileExists [Pipeline] sh 07:19:45 + make test 07:19:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:19:48 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:21:24 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:21:24 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 07:21:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:21:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:21:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:42 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:21:43 $ docker stop --time=1 3a85e33fd3ba6a6112083c123f5a6be19111b1bea4dcb0f3a459fc2e34ccc99a 07:21:45 $ docker rm -f 3a85e33fd3ba6a6112083c123f5a6be19111b1bea4dcb0f3a459fc2e34ccc99a [Pipeline] // withDockerContainer [Pipeline] sh 07:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:46 Warning: overwriting stash ‘coverage-report’ 07:21:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:47 + ls -al . 07:21:47 total 168 07:21:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 07:19 . 07:21:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:17 .. 07:21:47 -rw-rw-r-- 1 jenkins jenkins 6 Sep 28 07:17 .dockerignore 07:21:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 07:17 .git 07:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:17 .github 07:21:47 -rw-rw-r-- 1 jenkins jenkins 328 Sep 28 07:17 .gitignore 07:21:47 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 07:17 .golangci.yml 07:21:47 -rw-rw-r-- 1 jenkins jenkins 8932 Sep 28 07:17 Attribution.txt 07:21:47 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 28 07:17 CHANGELOG.md 07:21:47 -rw-rw-r-- 1 jenkins jenkins 1575 Sep 28 07:17 Dockerfile 07:21:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 07:17 GOVERNANCE.md 07:21:47 -rw-rw-r-- 1 jenkins jenkins 656 Sep 28 07:17 Jenkinsfile 07:21:47 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 07:17 LICENSE 07:21:47 -rw-rw-r-- 1 jenkins jenkins 2543 Sep 28 07:17 Makefile 07:21:47 -rw-rw-r-- 1 jenkins jenkins 620 Sep 28 07:17 OWNERS.md 07:21:47 -rw-rw-r-- 1 jenkins jenkins 10054 Sep 28 07:17 README.md 07:21:47 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 07:15 VERSION 07:21:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:17 bin 07:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:17 cmd 07:21:47 -rw-r--r-- 1 jenkins jenkins 7631 Sep 28 07:21 coverage.out 07:21:47 -rw-rw-r-- 1 jenkins jenkins 3473 Sep 28 07:17 go.mod 07:21:47 -rw-rw-r-- 1 jenkins jenkins 38138 Sep 28 07:17 go.sum 07:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:17 internal 07:21:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:17 snap 07:21:47 -rw-rw-r-- 1 jenkins jenkins 228 Sep 28 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:47 + 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=63e28895b9126edb3139522702b6e6ce592ce3b8 --label arch=arm64 --label version=2.3.0-dev.15 . 07:21:48 Sending build context to Docker daemon 2.836MB 07:21:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:21:48 Step 2/25 : FROM ${BASE} AS builder 07:21:48 ---> 43171cf13c1c 07:21:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:21:48 ---> Running in c5e43b6e8546 07:21:48 Removing intermediate container c5e43b6e8546 07:21:48 ---> e24e3fbbaec2 07:21:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:48 ---> Running in f14a3a1dfa47 07:21:49 Removing intermediate container f14a3a1dfa47 07:21:49 ---> 275d5949a832 07:21:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:21:49 ---> Running in 7b2959add91e 07:21:49 Removing intermediate container 7b2959add91e 07:21:49 ---> a1795be5a685 07:21:49 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:21:49 ---> Running in 928bb5fb7dbc 07:21:50 Removing intermediate container 928bb5fb7dbc 07:21:50 ---> 1d31624e8e3b 07:21:50 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:50 ---> Running in 2338dbf9f979 07:21:52 Removing intermediate container 2338dbf9f979 07:21:52 ---> e1d0328664cb 07:21:52 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:21:52 ---> Running in 8e69cdcece35 07:21:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:21:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:21:57 OK: 226 MiB in 55 packages 07:21:58 Removing intermediate container 8e69cdcece35 07:21:58 ---> 1669880d867d 07:21:58 Step 9/25 : WORKDIR /device-snmp-go 07:21:58 ---> Running in 59192e551b45 07:21:58 Removing intermediate container 59192e551b45 07:21:58 ---> 10a9f78c81ce 07:21:58 Step 10/25 : COPY go.mod vendor* ./ 07:21:59 ---> 1bdb7e53eb0f 07:21:59 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:59 ---> Running in 9e04f83f8d6d 07:22:02 Removing intermediate container 9e04f83f8d6d 07:22:02 ---> 6f0db8c098e7 07:22:02 Step 12/25 : COPY . . 07:22:02 ---> aee80d0f41d9 07:22:02 Step 13/25 : RUN ${MAKE} 07:22:02 ---> Running in c14beab78adf 07:22:03 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 07:24:55 Removing intermediate container c14beab78adf 07:24:55 ---> 4408238e227b 07:24:55 Step 14/25 : FROM alpine:3.16 07:24:55 3.16: Pulling from library/alpine 07:24:55 9b18e9b68314: Pulling fs layer 07:24:55 9b18e9b68314: Download complete 07:24:55 9b18e9b68314: Pull complete 07:24:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:24:55 Status: Downloaded newer image for alpine:3.16 07:24:55 ---> a6215f271958 07:24:55 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 07:24:55 ---> Running in 025df880f801 07:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:24:55 (1/6) Installing dumb-init (1.2.5-r1) 07:24:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:24:55 (3/6) Installing libsodium (1.0.18-r0) 07:24:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:24:55 (5/6) Installing libzmq (4.3.4-r0) 07:24:55 (6/6) Installing zeromq (4.3.4-r0) 07:24:55 Executing busybox-1.35.0-r17.trigger 07:24:55 OK: 8 MiB in 20 packages 07:24:55 Removing intermediate container 025df880f801 07:24:55 ---> f9089f16c09a 07:24:55 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 07:24:55 ---> c94369e5a36b 07:24:55 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:24:55 ---> f2949585ec1c 07:24:55 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 07:24:55 ---> bf603c8574ad 07:24:55 Step 19/25 : EXPOSE 59993 07:24:55 ---> Running in 05768ba5a39f 07:24:55 Removing intermediate container 05768ba5a39f 07:24:55 ---> d6953176ba18 07:24:55 Step 20/25 : EXPOSE 161 07:24:55 ---> Running in 8cecb34dd435 07:24:55 Removing intermediate container 8cecb34dd435 07:24:55 ---> 50d5a2f1c9b5 07:24:55 Step 21/25 : ENTRYPOINT ["/device-snmp"] 07:24:55 ---> Running in 788eda10ecb3 07:24:55 Removing intermediate container 788eda10ecb3 07:24:55 ---> 929e4b6d2afc 07:24:55 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:24:55 ---> Running in 92002e4397b9 07:24:56 Removing intermediate container 92002e4397b9 07:24:56 ---> df32d8eaf45c 07:24:56 Step 23/25 : LABEL arch=arm64 07:24:56 ---> Running in 1490cfefbbdb 07:24:56 Removing intermediate container 1490cfefbbdb 07:24:56 ---> b959a6fe0097 07:24:56 Step 24/25 : LABEL git_sha=63e28895b9126edb3139522702b6e6ce592ce3b8 07:24:56 ---> Running in c2a4ddc666cd 07:24:56 Removing intermediate container c2a4ddc666cd 07:24:56 ---> f77d10b05705 07:24:56 Step 25/25 : LABEL version=2.3.0-dev.15 07:24:56 ---> Running in 7da8c8c1daec 07:24:57 Removing intermediate container 7da8c8c1daec 07:24:57 ---> ab002997a120 07:24:57 [Warning] One or more build-args [ARCH] were not consumed 07:24:57 Successfully built ab002997a120 07:24:57 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 07:24:57 provisioning config files... 07:24:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/46@tmp/config9808901365127458746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:57 ---> docker-login.sh 07:24:57 nexus3.edgexfoundry.org:10001 07:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:57 Configure a credential helper to remove this warning. See 07:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:57 07:24:57 Login Succeeded 07:24:57 nexus3.edgexfoundry.org:10002 07:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:58 Configure a credential helper to remove this warning. See 07:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:58 07:24:58 Login Succeeded 07:24:58 nexus3.edgexfoundry.org:10003 07:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:58 Configure a credential helper to remove this warning. See 07:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:58 07:24:58 Login Succeeded 07:24:58 nexus3.edgexfoundry.org:10004 07:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:58 Configure a credential helper to remove this warning. See 07:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:58 07:24:58 Login Succeeded 07:24:58 docker.io 07:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:59 Configure a credential helper to remove this warning. See 07:24:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:59 07:24:59 Login Succeeded 07:24:59 ---> docker-login.sh ends [Pipeline] } 07:24:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:24:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:59 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 07:24:59 63e28895b9126edb3139522702b6e6ce592ce3b8 07:24:59 latest 07:24:59 2.3.0-dev.15 07:24:59 63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 07:24:59 main 07:24:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:59 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:63e28895b9126edb3139522702b6e6ce592ce3b8 07:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:25:00 4642524cb743: Preparing 07:25:00 1b9708a31153: Preparing 07:25:00 9d4285200e7b: Preparing 07:25:00 a24e92da1721: Preparing 07:25:00 5d3e392a13a0: Preparing 07:25:00 5d3e392a13a0: Layer already exists 07:25:00 4642524cb743: Pushed 07:25:00 1b9708a31153: Pushed 07:25:01 a24e92da1721: Pushed 07:25:05 9d4285200e7b: Pushed 07:25:05 63e28895b9126edb3139522702b6e6ce592ce3b8: digest: sha256:d01c764b7e1e35653b8a4ed0093cf20dd1cc33bc86247e0d156a049245527269 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:05 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:25:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:25:06 4642524cb743: Preparing 07:25:06 1b9708a31153: Preparing 07:25:06 9d4285200e7b: Preparing 07:25:06 a24e92da1721: Preparing 07:25:06 5d3e392a13a0: Preparing 07:25:06 a24e92da1721: Layer already exists 07:25:06 9d4285200e7b: Layer already exists 07:25:06 1b9708a31153: Layer already exists 07:25:06 4642524cb743: Layer already exists 07:25:06 5d3e392a13a0: Layer already exists 07:25:06 latest: digest: sha256:d01c764b7e1e35653b8a4ed0093cf20dd1cc33bc86247e0d156a049245527269 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:06 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.15 07:25:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:25:07 4642524cb743: Preparing 07:25:07 1b9708a31153: Preparing 07:25:07 9d4285200e7b: Preparing 07:25:07 a24e92da1721: Preparing 07:25:07 5d3e392a13a0: Preparing 07:25:07 9d4285200e7b: Layer already exists 07:25:07 1b9708a31153: Layer already exists 07:25:07 a24e92da1721: Layer already exists 07:25:07 4642524cb743: Layer already exists 07:25:07 5d3e392a13a0: Layer already exists 07:25:07 2.3.0-dev.15: digest: sha256:d01c764b7e1e35653b8a4ed0093cf20dd1cc33bc86247e0d156a049245527269 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:07 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 07:25:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:25:07 4642524cb743: Preparing 07:25:07 1b9708a31153: Preparing 07:25:07 9d4285200e7b: Preparing 07:25:07 a24e92da1721: Preparing 07:25:07 5d3e392a13a0: Preparing 07:25:07 5d3e392a13a0: Layer already exists 07:25:07 9d4285200e7b: Layer already exists 07:25:07 4642524cb743: Layer already exists 07:25:07 a24e92da1721: Layer already exists 07:25:07 1b9708a31153: Layer already exists 07:25:07 63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15: digest: sha256:d01c764b7e1e35653b8a4ed0093cf20dd1cc33bc86247e0d156a049245527269 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:08 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 07:25:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:25:08 4642524cb743: Preparing 07:25:08 1b9708a31153: Preparing 07:25:08 9d4285200e7b: Preparing 07:25:08 a24e92da1721: Preparing 07:25:08 5d3e392a13a0: Preparing 07:25:08 5d3e392a13a0: Layer already exists 07:25:08 9d4285200e7b: Layer already exists 07:25:08 a24e92da1721: Layer already exists 07:25:08 4642524cb743: Layer already exists 07:25:08 1b9708a31153: Layer already exists 07:25:08 main: digest: sha256:d01c764b7e1e35653b8a4ed0093cf20dd1cc33bc86247e0d156a049245527269 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:25:08 ===================================================== [Pipeline] echo 07:25:08 taggedImages: 07:25:08 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:63e28895b9126edb3139522702b6e6ce592ce3b8 07:25:08 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:25:08 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.15 07:25:08 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:63e28895b9126edb3139522702b6e6ce592ce3b8-2.3.0-dev.15 07:25:08 - 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 07:25:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:09 07:25:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:09 arm64: Pulling from edgex-lftools-log-publisher 07:25:09 8998bd30e6a1: Pulling fs layer 07:25:09 04944245beec: Pulling fs layer 07:25:09 699f458cf7ca: Pulling fs layer 07:25:09 765212b225bb: Pulling fs layer 07:25:09 f23df028b6ca: Pulling fs layer 07:25:09 d65c8cfc05b1: Pulling fs layer 07:25:09 2437ff75d9bd: Pulling fs layer 07:25:09 765212b225bb: Waiting 07:25:09 f23df028b6ca: Waiting 07:25:09 d65c8cfc05b1: Waiting 07:25:09 2437ff75d9bd: Waiting 07:25:09 04944245beec: Verifying Checksum 07:25:09 04944245beec: Download complete 07:25:09 765212b225bb: Download complete 07:25:09 f23df028b6ca: Verifying Checksum 07:25:09 f23df028b6ca: Download complete 07:25:09 d65c8cfc05b1: Verifying Checksum 07:25:09 d65c8cfc05b1: Download complete 07:25:10 699f458cf7ca: Verifying Checksum 07:25:10 699f458cf7ca: Download complete 07:25:10 8998bd30e6a1: Verifying Checksum 07:25:10 8998bd30e6a1: Download complete 07:25:13 2437ff75d9bd: Verifying Checksum 07:25:13 2437ff75d9bd: Download complete 07:25:14 8998bd30e6a1: Pull complete 07:25:15 04944245beec: Pull complete 07:25:16 699f458cf7ca: Pull complete 07:25:16 765212b225bb: Pull complete 07:25:17 f23df028b6ca: Pull complete 07:25:17 d65c8cfc05b1: Pull complete 07:25:32 2437ff75d9bd: Pull complete 07:25:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:25:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:32 prd-ubuntu20.04-docker-arm64-4c-16g-1799 does not seem to be running inside a container 07:25:32 $ 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/46 -v /w/workspace/device-snmp-go/46:/w/workspace/device-snmp-go/46:rw,z -v /w/workspace/device-snmp-go/46@tmp:/w/workspace/device-snmp-go/46@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 07:25:35 $ docker top e5ecbc131179785c18be919a8f855241c1e17da6f2f35f100d00ce42b45a9b8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:35 ---> job-cost.sh 07:25:35 lf-activate-venv: SKIPPING 07:25:35 INFO: No Stack... 07:25:36 INFO: Retrieving Pricing Info for: v3-standard-4 07:25:37 INFO: Archiving Costs [Pipeline] sh 07:25:37 + + cut -d,cat -f6 /w/workspace/device-snmp-go/46/archives/cost.csv 07:25:37 [Pipeline] lock 07:25:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] 07:25:37 Resource [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] did not exist. Created. 07:25:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:38 /w/workspace/device-snmp-go/46@tmp/durable-83c2d528/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:25:39 + echo total: 0.10999999940395355 [Pipeline] stash 07:25:39 Warning: overwriting stash ‘stack-cost’ 07:25:39 Stashed 1 file(s) [Pipeline] } 07:25:39 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 07:25:39 $ docker stop --time=1 e5ecbc131179785c18be919a8f855241c1e17da6f2f35f100d00ce42b45a9b8a 07:25:40 $ docker rm -f e5ecbc131179785c18be919a8f855241c1e17da6f2f35f100d00ce42b45a9b8a [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 07:25:41 provisioning config files... 07:25:41 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12474959498009366507tmp [Pipeline] { [Pipeline] sh 07:25:41 + set +x 07:25:41 + curl -s https://codecov.io/bash 07:25:41 + bash -s -- 07:25:41 07:25:41 _____ _ 07:25:41 / ____| | | 07:25:41 | | ___ __| | ___ ___ _____ __ 07:25:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:25:41 | |___| (_) | (_| | __/ (_| (_) \ V / 07:25:41 \_____\___/ \__,_|\___|\___\___/ \_/ 07:25:41 Bash-1.0.6 07:25:41 07:25:41 07:25:41 ==> git version 2.25.1 found 07:25:41 ==> 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 07:25:41 Release-Date: 2020-01-08 07:25:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:25:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:25:41 ==> Jenkins CI detected. 07:25:41 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 07:25:41 project root: . 07:25:41 --> token set from env 07:25:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:25:41 ==> Running gcov in . (disable via -X gcov) 07:25:41 ==> Python coveragepy not found 07:25:41 ==> Searching for coverage reports in: 07:25:41 + . 07:25:41 -> Found 1 reports 07:25:41 ==> Detecting git/mercurial file structure 07:25:41 ==> Reading reports 07:25:41 + ./coverage.out bytes=7631 07:25:41 ==> Appending adjustments 07:25:41 https://docs.codecov.io/docs/fixing-reports 07:25:41 + Found adjustments 07:25:41 ==> Gzipping contents 07:25:41 4.0K /tmp/codecov.0IcoXi.gz 07:25:41 ==> Uploading reports 07:25:41 url: https://codecov.io 07:25:41 query: branch=main&commit=63e28895b9126edb3139522702b6e6ce592ce3b8&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:41 -> Pinging Codecov 07:25:41 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=63e28895b9126edb3139522702b6e6ce592ce3b8&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:41 -> Uploading to 07:25:41 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/6C56EA5C29638FB4528AC87E60AF5AE0/63e28895b9126edb3139522702b6e6ce592ce3b8/1001fbf0-adec-409d-9e1d-97f8ac567595.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T072541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=09e7751f5a42b84db6a88ba9ff589917ab218c2085a8152c47918433a167bc6f 07:25:41 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:41 Dload Upload Total Spent Left Speed 07:25:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6767 --:--:-- --:--:-- --:--:-- 6767 07:25:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] } 07:25:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:25:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:25:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:42 07:25:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:25:42 df9b9388f04a: Pulling fs layer 07:25:42 52dc419b0ee2: Pulling fs layer 07:25:42 25bc292e5bac: Pulling fs layer 07:25:42 114826534d7a: Pulling fs layer 07:25:42 4657fd5d0bcf: Pulling fs layer 07:25:42 6ad1cebc031e: Pulling fs layer 07:25:42 8a3aa393b2d8: Pulling fs layer 07:25:42 114826534d7a: Waiting 07:25:42 6ad1cebc031e: Waiting 07:25:42 8a3aa393b2d8: Waiting 07:25:42 25bc292e5bac: Verifying Checksum 07:25:42 25bc292e5bac: Download complete 07:25:42 52dc419b0ee2: Download complete 07:25:42 4657fd5d0bcf: Download complete 07:25:42 df9b9388f04a: Verifying Checksum 07:25:42 df9b9388f04a: Download complete 07:25:43 df9b9388f04a: Pull complete 07:25:43 6ad1cebc031e: Verifying Checksum 07:25:43 6ad1cebc031e: Download complete 07:25:43 52dc419b0ee2: Pull complete 07:25:43 25bc292e5bac: Pull complete 07:25:43 114826534d7a: Verifying Checksum 07:25:43 114826534d7a: Download complete 07:25:44 8a3aa393b2d8: Verifying Checksum 07:25:44 8a3aa393b2d8: Download complete 07:25:46 114826534d7a: Pull complete 07:25:46 4657fd5d0bcf: Pull complete 07:25:47 6ad1cebc031e: Pull complete 07:25:50 8a3aa393b2d8: Pull complete 07:25:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:50 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:25: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 07:25:52 $ docker top 599de37ea5d3d066319acf164eb31fb44043cd628f8511d32bcd6643ca8d60e7 -eo pid,comm [Pipeline] { [Pipeline] echo 07:25:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 07:25:53 + set -o pipefail 07:25:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 07:25:59 07:25:59 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 07:25:59 07:25:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/f24a8d82-6d8b-4b6f-9259-67d1e0d1350d 07:25:59 07:25:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:25:59 07:25:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:25:59 07:25:59 [Pipeline] } 07:25:59 $ docker stop --time=1 599de37ea5d3d066319acf164eb31fb44043cd628f8511d32bcd6643ca8d60e7 07:26:02 $ docker rm -f 599de37ea5d3d066319acf164eb31fb44043cd628f8511d32bcd6643ca8d60e7 [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 07:26:02 + git log --format=format:%s -1 63e28895b9126edb3139522702b6e6ce592ce3b8 [Pipeline] sh 07:26:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:03 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:26: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 07:26:04 $ docker top 900ef106886e82c6dcaa44420619d8fe61863668ab8c1c946036150336c86f30 -eo pid,comm 07:26: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). 07:26:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:04 [ssh-agent] Looking for ssh-agent implementation... 07:26:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:04 $ docker exec 900ef106886e82c6dcaa44420619d8fe61863668ab8c1c946036150336c86f30 ssh-agent 07:26:04 SSH_AUTH_SOCK=/tmp/ssh-VuB7BmvZWKZe/agent.32 07:26:04 SSH_AGENT_PID=38 07:26:04 Running ssh-add (command line suppressed) 07:26:04 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6055842059157301869.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6055842059157301869.key) 07:26:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:04 + git semver tag 07:26:05 2022-09-28 07:26:04,918 [run_tag] DEBUG tag force:False 07:26:05 2022-09-28 07:26:04,918 [check_head_tag] DEBUG check head tag 07:26:05 2022-09-28 07:26:04,918 [execute] INFO git cat-file --batch-check 07:26:05 2022-09-28 07:26:04,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 07:26:05 2022-09-28 07:26:04,923 [execute] INFO git cat-file --batch 07:26:05 2022-09-28 07:26:04,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 07:26:05 2022-09-28 07:26:04,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:26:05 2022-09-28 07:26:04,935 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 07:26:05 2022-09-28 07:26:04,935 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 07:26:05 2022-09-28 07:26:04,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:26:05 2.3.0-dev.15 [Pipeline] } 07:26:05 $ docker exec --env ******** --env ******** 900ef106886e82c6dcaa44420619d8fe61863668ab8c1c946036150336c86f30 ssh-agent -k 07:26:05 unset SSH_AUTH_SOCK; 07:26:05 unset SSH_AGENT_PID; 07:26:05 echo Agent pid 38 killed; 07:26:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:05 + git semver [Pipeline] } 07:26:05 $ docker stop --time=1 900ef106886e82c6dcaa44420619d8fe61863668ab8c1c946036150336c86f30 07:26:06 $ docker rm -f 900ef106886e82c6dcaa44420619d8fe61863668ab8c1c946036150336c86f30 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:07 07:26:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:07 0.23.1-centos7: Pulling from edgex-lftools 07:26:07 ab5ef0e58194: Pulling fs layer 07:26:07 9712f1f96733: Pulling fs layer 07:26:07 63f879dbbcfc: Pulling fs layer 07:26:07 0d9ebad4ef96: Pulling fs layer 07:26:07 e9a5061849ea: Pulling fs layer 07:26:07 d747dcd14b5f: Pulling fs layer 07:26:07 2de7ff778b66: Pulling fs layer 07:26:07 e9a5061849ea: Waiting 07:26:07 d747dcd14b5f: Waiting 07:26:07 2de7ff778b66: Waiting 07:26:07 9712f1f96733: Verifying Checksum 07:26:07 9712f1f96733: Download complete 07:26:07 63f879dbbcfc: Verifying Checksum 07:26:07 63f879dbbcfc: Download complete 07:26:08 e9a5061849ea: Verifying Checksum 07:26:08 e9a5061849ea: Download complete 07:26:08 ab5ef0e58194: Verifying Checksum 07:26:08 ab5ef0e58194: Download complete 07:26:08 0d9ebad4ef96: Verifying Checksum 07:26:08 0d9ebad4ef96: Download complete 07:26:08 2de7ff778b66: Verifying Checksum 07:26:08 2de7ff778b66: Download complete 07:26:11 ab5ef0e58194: Pull complete 07:26:11 9712f1f96733: Pull complete 07:26:11 63f879dbbcfc: Pull complete 07:26:15 0d9ebad4ef96: Pull complete 07:26:15 e9a5061849ea: Pull complete 07:26:15 d747dcd14b5f: Pull complete 07:26:16 2de7ff778b66: Pull complete 07:26:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:17 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:26:17 $ 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 07:26:20 $ docker top d7d0d3901e5836d80f47acb8d5c2daac785a07027199a8a4baf636d4dd8b5149 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:26:20 provisioning config files... 07:26:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3385801574597140374tmp 07:26:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12244829622008957983tmp 07:26:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17942342479646040947tmp [Pipeline] { [Pipeline] echo 07:26:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:26:20 ---> sigul-configuration.sh 07:26:20 gpg: directory `/root/.gnupg' created 07:26:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:26:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:26:20 gpg: keyring `/root/.gnupg/secring.gpg' created 07:26:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:26:20 gpg: CAST5 encrypted data 07:26:20 gpg: encrypted with 1 passphrase 07:26:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:26:20 + mkdir /home/jenkins 07:26:20 + mkdir /home/jenkins/sigul [Pipeline] sh 07:26:21 + 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 07:26:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:26:21 ---> sigul-install.sh 07:26:21 Sigul already installed; skipping installation. [Pipeline] sh 07:26:21 + git tag --list 07:26:21 1.0.0 07:26:21 v0.0.0 07:26:21 v1.1.0 07:26:21 v1.1.1 07:26:21 v1.2.2 07:26:21 v1.3.0 07:26:21 v1.3.1 07:26:21 v2.0.0 07:26:21 v2.1.0 07:26:21 v2.1.1 07:26:21 v2.1.1-dev.2 07:26:21 v2.1.1-dev.3 07:26:21 v2.2.0 07:26:21 v2.2.1-dev.1 07:26:21 v2.2.1-dev.2 07:26:21 v2.2.1-dev.3 07:26:21 v2.2.1-dev.4 07:26:21 v2.2.1-dev.5 07:26:21 v2.2.1-dev.6 07:26:21 v2.2.1-dev.7 07:26:21 v2.3.0-dev.10 07:26:21 v2.3.0-dev.11 07:26:21 v2.3.0-dev.12 07:26:21 v2.3.0-dev.13 07:26:21 v2.3.0-dev.14 07:26:21 v2.3.0-dev.15 07:26:21 v2.3.0-dev.7 07:26:21 v2.3.0-dev.8 07:26:21 v2.3.0-dev.9 [Pipeline] sh 07:26:22 + lftools sign git-tag v2.3.0-dev.15 07:26:22 Signing Git tag with Sigul... 07:26:22 Signing v2.3.0-dev.15 [Pipeline] echo 07:26:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:26:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:26:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:26:23 $ docker stop --time=1 d7d0d3901e5836d80f47acb8d5c2daac785a07027199a8a4baf636d4dd8b5149 07:26:24 $ docker rm -f d7d0d3901e5836d80f47acb8d5c2daac785a07027199a8a4baf636d4dd8b5149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:26:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:25 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:26:25 $ 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 07:26:25 $ docker top f1bd9ce065f89342a0b23fe2cbd0a1863af3c241d984107f26a9fee574422c1b -eo pid,comm 07:26:25 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). 07:26:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:25 [ssh-agent] Looking for ssh-agent implementation... 07:26:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:25 $ docker exec f1bd9ce065f89342a0b23fe2cbd0a1863af3c241d984107f26a9fee574422c1b ssh-agent 07:26:26 SSH_AUTH_SOCK=/tmp/ssh-0VOgGx8QLyOy/agent.32 07:26:26 SSH_AGENT_PID=38 07:26:26 Running ssh-add (command line suppressed) 07:26:26 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12609996778459566213.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12609996778459566213.key) 07:26:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:26 + git semver bump pre 07:26:26 2022-09-28 07:26:26,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:26:26 2022-09-28 07:26:26,605 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 07:26:26 2022-09-28 07:26:26,605 [bump_version] DEBUG bumped version:2.3.0-dev.16 07:26:26 2022-09-28 07:26:26,605 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 07:26:26 2022-09-28 07:26:26,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:26:26 2022-09-28 07:26:26,605 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:26:26 2022-09-28 07:26:26,607 [execute] INFO git cat-file --batch-check 07:26:26 2022-09-28 07:26:26,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:26 2022-09-28 07:26:26,614 [execute] INFO git cat-file --batch 07:26:26 2022-09-28 07:26:26,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:26 2022-09-28 07:26:26,620 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:26:26 2.3.0-dev.16 [Pipeline] } 07:26:26 $ docker exec --env ******** --env ******** f1bd9ce065f89342a0b23fe2cbd0a1863af3c241d984107f26a9fee574422c1b ssh-agent -k 07:26:26 unset SSH_AUTH_SOCK; 07:26:26 unset SSH_AGENT_PID; 07:26:26 echo Agent pid 38 killed; 07:26:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:27 + git semver [Pipeline] } 07:26:27 $ docker stop --time=1 f1bd9ce065f89342a0b23fe2cbd0a1863af3c241d984107f26a9fee574422c1b 07:26:28 $ docker rm -f f1bd9ce065f89342a0b23fe2cbd0a1863af3c241d984107f26a9fee574422c1b [Pipeline] // withDockerContainer [Pipeline] sh 07:26:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:29 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:26:29 $ 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 07:26:29 $ docker top 375a39d1a66e409cab098d683f5342053d22e4d0047a67cd4d6bca8e084b0458 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:29 [ssh-agent] Looking for ssh-agent implementation... 07:26:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:30 $ docker exec 375a39d1a66e409cab098d683f5342053d22e4d0047a67cd4d6bca8e084b0458 ssh-agent 07:26:30 SSH_AUTH_SOCK=/tmp/ssh-pZUwQFFASd7H/agent.32 07:26:30 SSH_AGENT_PID=38 07:26:30 Running ssh-add (command line suppressed) 07:26:30 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17302465094041778374.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17302465094041778374.key) 07:26:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:30 + git semver push 07:26:30 2022-09-28 07:26:30,744 [run_push] DEBUG push 07:26:30 2022-09-28 07:26:30,745 [execute] INFO git cat-file --batch-check 07:26:30 2022-09-28 07:26:30,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:30 2022-09-28 07:26:30,748 [execute] INFO git rev-list a15f5d17508184c57d8cf610224486d5cb5162b8 -- 07:26:30 2022-09-28 07:26:30,749 [execute] DEBUG Popen(['git', 'rev-list', 'a15f5d17508184c57d8cf610224486d5cb5162b8', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:30 2022-09-28 07:26:30,757 [execute] INFO git fetch -v origin 07:26:30 2022-09-28 07:26:30,757 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:26:31 2022-09-28 07:26:31,300 [run_push] DEBUG no remote changes detected 07:26:31 2022-09-28 07:26:31,301 [execute] INFO git push origin semver 07:26:31 2022-09-28 07:26:31,301 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:32 2022-09-28 07:26:32,147 [run_push] DEBUG push all version tags 07:26:32 2022-09-28 07:26:32,148 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:26:32 2022-09-28 07:26:32,148 [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) 07:26:33 2022-09-28 07:26:32,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:26:33 2.3.0-dev.16 [Pipeline] } 07:26:33 $ docker exec --env ******** --env ******** 375a39d1a66e409cab098d683f5342053d22e4d0047a67cd4d6bca8e084b0458 ssh-agent -k 07:26:33 unset SSH_AUTH_SOCK; 07:26:33 unset SSH_AGENT_PID; 07:26:33 echo Agent pid 38 killed; 07:26:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:33 + git semver [Pipeline] } 07:26:33 $ docker stop --time=1 375a39d1a66e409cab098d683f5342053d22e4d0047a67cd4d6bca8e084b0458 07:26:35 $ docker rm -f 375a39d1a66e409cab098d683f5342053d22e4d0047a67cd4d6bca8e084b0458 [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 07:26:35 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 07:26:35 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:26:35 total 16 07:26:35 drwxr-xr-x 3 root root 4096 Sep 28 07:17 . 07:26:35 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 07:26 .. 07:26:35 drwxr-xr-x 2 root root 4096 Sep 28 07:17 cost 07:26:35 -rw-r--r-- 1 root root 85 Sep 28 07:17 cost.csv 07:26:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:26:35 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:26:35 total 16 07:26:35 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 07:17 . 07:26:35 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 07:26 .. 07:26:35 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 07:17 cost 07:26:35 -rw-r--r-- 1 jenkins jenkins 85 Sep 28 07:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:26:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:26:36 ---> package-listing.sh 07:26:36 ++ facter osfamily 07:26:36 ++ tr '[:upper:]' '[:lower:]' 07:26:37 + OS_FAMILY=debian 07:26:37 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 07:26:37 + START_PACKAGES=/tmp/packages_start.txt 07:26:37 + END_PACKAGES=/tmp/packages_end.txt 07:26:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:26:37 + PACKAGES=/tmp/packages_start.txt 07:26:37 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:26:37 + PACKAGES=/tmp/packages_end.txt 07:26:37 + case "${OS_FAMILY}" in 07:26:37 + dpkg -l 07:26:37 + grep '^ii' 07:26:37 + '[' -f /tmp/packages_start.txt ']' 07:26:37 + '[' -f /tmp/packages_end.txt ']' 07:26:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:26:37 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:26:37 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 07:26:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 07:26:37 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 07:26:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:38 prd-ubuntu20.04-docker-8c-8g-1796 does not seem to be running inside a container 07:26:38 $ 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 07:26:38 $ docker top fb06f03e2ad0678ccd3c8c4d3c17e286f78fb98e1a01e3953ada3c7673afe429 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:38 + touch /tmp/pre-build-complete [Pipeline] sh 07:26:39 + mkdir -p /var/log/sysstat [Pipeline] sh 07:26:39 + ls /var/log/sa-host 07:26:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:26:39 provisioning config files... 07:26:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14731228743483894181tmp [Pipeline] { [Pipeline] echo 07:26:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:26:39 ---> create-netrc.sh [Pipeline] } 07:26:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:26:39 ---> python-tools-install.sh [Pipeline] echo 07:26:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:26:40 ---> sudo-logs.sh 07:26:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:26:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:26:40 ---> job-cost.sh 07:26:40 lf-activate-venv: SKIPPING 07:26:40 DEBUG: total: 0.2199999988079071 07:26:40 INFO: Retrieving Stack Cost... 07:26:41 INFO: Retrieving Pricing Info for: v3-standard-8 07:26:41 INFO: Archiving Costs [Pipeline] echo 07:26:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:26:41 ---> logs-deploy.sh 07:26:41 lf-activate-venv: SKIPPING 07:26:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/46 07:26:41 INFO: archiving workspace using pattern(s): 07:26:42 Archives upload complete. 07:26:42 INFO: archiving logs to Nexus