Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d466151200edb95fff3e1a1306a852eb5b109481 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-ssh13421946535815372942.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-ssh918100489268988259.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-ssh2934311221082126426.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-ssh16716604752105723282.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-ssh4583670994009895119.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 ‘prd-ubuntu20.04-docker-8c-8g-6826’ Running on prd-ubuntu20.04-docker-8c-8g-6831 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 d466151200edb95fff3e1a1306a852eb5b109481 (main) Commit message: "Merge pull request #194 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" > 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 d466151200edb95fff3e1a1306a852eb5b109481 # timeout=10 > git rev-list --no-walk 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:53:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:53:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:53:23 ========================================================= 05:53:23 EdgeX Global Pipelines Version Info 05:53:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:53:24 ------------------- 05:53:24 stable info: 05:53:24 ------------------- 05:53:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:53:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:53:24 Message: update stable to v1.0.239 05:53:24 ------------------- 05:53:24 experimental info: 05:53:24 ------------------- 05:53:24 Commited By: **** collab-it+edgex@linuxfoundation.org 05:53:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:53:24 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d466151 [Pipeline] echo 05:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:25 provisioning config files... 05:53:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3434240517702184833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:25 ---> docker-login.sh 05:53:25 nexus3.edgexfoundry.org:10001 05:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:25 Configure a credential helper to remove this warning. See 05:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:25 05:53:25 Login Succeeded 05:53:25 nexus3.edgexfoundry.org:10002 05:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 nexus3.edgexfoundry.org:10003 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 nexus3.edgexfoundry.org:10004 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 docker.io 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 ---> docker-login.sh ends [Pipeline] } 05:53:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:53:27 + git rev-list -1 --merges d466151200edb95fff3e1a1306a852eb5b109481~1..d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] echo 05:53:27 -----------> git rev-list -1 --merges d466151200edb95fff3e1a1306a852eb5b109481~1..d466151200edb95fff3e1a1306a852eb5b109481 d466151200edb95fff3e1a1306a852eb5b109481 05:53:27 d466151200edb95fff3e1a1306a852eb5b109481 [false] [Pipeline] sh 05:53:27 + git log --format=format:%s -1 d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] echo 05:53:27 ========================================================= 05:53:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:53:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:27 + git log --format=format:%s -1 d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] echo 05:53:27 [semverPrep] GIT_COMMIT: d466151200edb95fff3e1a1306a852eb5b109481, Commit Message: Merge pull request #194 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34 [Pipeline] echo 05:53:27 [semverPrep] This is not a build commit. [Pipeline] sh 05:53:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:53:28 + grep -v github /etc/ssh/ssh_known_hosts 05:53:28 + [ -e /tmp/ssh_known_hosts ] 05:53:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:53:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:53:28 + sudo tee -a /etc/ssh/ssh_known_hosts 05:53:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:28 05:53:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:28 0.1.4: Pulling from edgex-devops/py-git-semver 05:53:28 b85a868b505f: Pulling fs layer 05:53:28 e2be974225ed: Pulling fs layer 05:53:28 339a4e72a1f5: Pulling fs layer 05:53:28 988bab9f4d93: Pulling fs layer 05:53:28 1469e6f7b9e6: Pulling fs layer 05:53:28 eaf3925da568: Pulling fs layer 05:53:28 bab4dde63d76: Pulling fs layer 05:53:28 bde34c3a00c8: Pulling fs layer 05:53:28 b352a97aabf1: Pulling fs layer 05:53:28 4872d77fe225: Pulling fs layer 05:53:28 5851b861e8e6: Pulling fs layer 05:53:28 4872d77fe225: Waiting 05:53:28 988bab9f4d93: Waiting 05:53:28 b352a97aabf1: Waiting 05:53:28 5851b861e8e6: Waiting 05:53:28 bab4dde63d76: Waiting 05:53:28 bde34c3a00c8: Waiting 05:53:28 1469e6f7b9e6: Waiting 05:53:28 eaf3925da568: Waiting 05:53:28 e2be974225ed: Verifying Checksum 05:53:28 e2be974225ed: Download complete 05:53:28 988bab9f4d93: Verifying Checksum 05:53:28 988bab9f4d93: Download complete 05:53:29 1469e6f7b9e6: Verifying Checksum 05:53:29 1469e6f7b9e6: Download complete 05:53:29 eaf3925da568: Verifying Checksum 05:53:29 eaf3925da568: Download complete 05:53:29 339a4e72a1f5: Verifying Checksum 05:53:29 339a4e72a1f5: Download complete 05:53:29 bde34c3a00c8: Verifying Checksum 05:53:29 bde34c3a00c8: Download complete 05:53:29 b352a97aabf1: Download complete 05:53:29 4872d77fe225: Verifying Checksum 05:53:29 4872d77fe225: Download complete 05:53:29 5851b861e8e6: Verifying Checksum 05:53:29 5851b861e8e6: Download complete 05:53:29 b85a868b505f: Verifying Checksum 05:53:29 b85a868b505f: Download complete 05:53:29 bab4dde63d76: Verifying Checksum 05:53:29 bab4dde63d76: Download complete 05:53:30 b85a868b505f: Pull complete 05:53:30 e2be974225ed: Pull complete 05:53:31 339a4e72a1f5: Pull complete 05:53:31 988bab9f4d93: Pull complete 05:53:31 1469e6f7b9e6: Pull complete 05:53:31 eaf3925da568: Pull complete 05:53:34 bab4dde63d76: Pull complete 05:53:34 bde34c3a00c8: Pull complete 05:53:34 b352a97aabf1: Pull complete 05:53:34 4872d77fe225: Pull complete 05:53:34 5851b861e8e6: Pull complete 05:53:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:35 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 05:53:35 $ 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 05:53:37 $ docker top 2325cec4bd10cb307e3ad8b4bdbaccf063dfc4019674553e2b525f76beabc43a -eo pid,comm 05:53:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:53:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:37 [ssh-agent] Looking for ssh-agent implementation... 05:53:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:37 $ docker exec 2325cec4bd10cb307e3ad8b4bdbaccf063dfc4019674553e2b525f76beabc43a ssh-agent 05:53:37 SSH_AUTH_SOCK=/tmp/ssh-BJ07bI9CmbQ5/agent.31 05:53:37 SSH_AGENT_PID=37 05:53:37 Running ssh-add (command line suppressed) 05:53:37 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4955560572137553477.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4955560572137553477.key) 05:53:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:37 + git tag --points-at HEAD [Pipeline] } 05:53:37 $ docker exec --env ******** --env ******** 2325cec4bd10cb307e3ad8b4bdbaccf063dfc4019674553e2b525f76beabc43a ssh-agent -k 05:53:37 unset SSH_AUTH_SOCK; 05:53:37 unset SSH_AGENT_PID; 05:53:37 echo Agent pid 37 killed; 05:53:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:37 [ssh-agent] Looking for ssh-agent implementation... 05:53:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:38 $ docker exec 2325cec4bd10cb307e3ad8b4bdbaccf063dfc4019674553e2b525f76beabc43a ssh-agent 05:53:38 SSH_AUTH_SOCK=/tmp/ssh-3D96GD17XBLH/agent.69 05:53:38 SSH_AGENT_PID=75 05:53:38 Running ssh-add (command line suppressed) 05:53:38 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3474647715927620068.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3474647715927620068.key) 05:53:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:38 + git semver init 05:53:38 2022-10-03 05:53:38,803 [run_init] DEBUG init version:0.0.0 force:False 05:53:38 2022-10-03 05:53:38,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:53:38 2022-10-03 05:53:38,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:53:38 2022-10-03 05:53:38,804 [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) 05:53:39 2022-10-03 05:53:39,698 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 05:53:39 2022-10-03 05:53:39,698 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 05:53:39 2022-10-03 05:53:39,698 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:53:39 2022-10-03 05:53:39,699 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:53:39 2.3.0-dev.16 [Pipeline] } 05:53:39 $ docker exec --env ******** --env ******** 2325cec4bd10cb307e3ad8b4bdbaccf063dfc4019674553e2b525f76beabc43a ssh-agent -k 05:53:39 unset SSH_AUTH_SOCK; 05:53:39 unset SSH_AGENT_PID; 05:53:39 echo Agent pid 75 killed; 05:53:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:40 + git semver [Pipeline] } 05:53:40 $ docker stop --time=1 2325cec4bd10cb307e3ad8b4bdbaccf063dfc4019674553e2b525f76beabc43a 05:53:42 $ docker rm -f 2325cec4bd10cb307e3ad8b4bdbaccf063dfc4019674553e2b525f76beabc43a [Pipeline] // withDockerContainer [Pipeline] sh 05:53:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:42 Stashed 1 file(s) [Pipeline] echo 05:53:42 [edgeXSemver]: initialized semver on version 2.3.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:42 provisioning config files... 05:53:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12171693839334949517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:43 ---> docker-login.sh 05:53:43 nexus3.edgexfoundry.org:10001 05:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:43 Configure a credential helper to remove this warning. See 05:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:43 05:53:43 Login Succeeded 05:53:43 nexus3.edgexfoundry.org:10002 05:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:43 Configure a credential helper to remove this warning. See 05:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:43 05:53:43 Login Succeeded 05:53:43 nexus3.edgexfoundry.org:10003 05:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:43 Configure a credential helper to remove this warning. See 05:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:43 05:53:43 Login Succeeded 05:53:43 nexus3.edgexfoundry.org:10004 05:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:43 Configure a credential helper to remove this warning. See 05:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:43 05:53:43 Login Succeeded 05:53:43 docker.io 05:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:43 Configure a credential helper to remove this warning. See 05:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:43 05:53:43 Login Succeeded 05:53:43 ---> docker-login.sh ends [Pipeline] } 05:53:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:53:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:53:44 ========================================================= 05:53:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:53:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:53:44 Sending build context to Docker daemon 5.494MB 05:53:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:53:44 Step 2/13 : FROM ${BASE} AS builder 05:53:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:44 2408cc74d12b: Pulling fs layer 05:53:44 ea60b727a1ce: Pulling fs layer 05:53:44 30c4a7721957: Pulling fs layer 05:53:44 370296b7ddb6: Pulling fs layer 05:53:44 7c6cee850709: Pulling fs layer 05:53:44 aa9baa53a306: Pulling fs layer 05:53:44 8b309c321861: Pulling fs layer 05:53:44 d8d76fd02f46: Pulling fs layer 05:53:44 fa31f396de31: Pulling fs layer 05:53:44 370296b7ddb6: Waiting 05:53:44 7c6cee850709: Waiting 05:53:44 aa9baa53a306: Waiting 05:53:44 8b309c321861: Waiting 05:53:44 d8d76fd02f46: Waiting 05:53:44 fa31f396de31: Waiting 05:53:44 30c4a7721957: Verifying Checksum 05:53:44 30c4a7721957: Download complete 05:53:44 ea60b727a1ce: Verifying Checksum 05:53:44 ea60b727a1ce: Download complete 05:53:44 7c6cee850709: Download complete 05:53:44 aa9baa53a306: Download complete 05:53:44 2408cc74d12b: Verifying Checksum 05:53:44 8b309c321861: Verifying Checksum 05:53:44 8b309c321861: Download complete 05:53:44 2408cc74d12b: Pull complete 05:53:44 ea60b727a1ce: Pull complete 05:53:44 30c4a7721957: Pull complete 05:53:45 fa31f396de31: Verifying Checksum 05:53:45 fa31f396de31: Download complete 05:53:45 370296b7ddb6: Verifying Checksum 05:53:45 370296b7ddb6: Download complete 05:53:45 d8d76fd02f46: Verifying Checksum 05:53:45 d8d76fd02f46: Download complete 05:53:49 370296b7ddb6: Pull complete 05:53:49 7c6cee850709: Pull complete 05:53:49 aa9baa53a306: Pull complete 05:53:49 8b309c321861: Pull complete 05:53:52 d8d76fd02f46: Pull complete 05:53:53 fa31f396de31: Pull complete 05:53:53 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 05:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:53:53 ---> cef68f9685f8 05:53:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:53:54 ---> Running in 15d6be09ef82 05:53:54 Removing intermediate container 15d6be09ef82 05:53:54 ---> ef16d87c46cc 05:53:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:53:54 ---> Running in b7f8cbeb8653 05:53:54 Removing intermediate container b7f8cbeb8653 05:53:54 ---> fd7555578f06 05:53:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:53:54 ---> Running in 29e346970e3e 05:53:55 Removing intermediate container 29e346970e3e 05:53:55 ---> 504dd8a92cd7 05:53:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:53:55 ---> Running in 206d656dacb7 05:53:55 Removing intermediate container 206d656dacb7 05:53:55 ---> 7f48ece626bd 05:53:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:55 ---> Running in d05e45256b66 05:53:56 Removing intermediate container d05e45256b66 05:53:56 ---> 38c314d2f1b0 05:53:56 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:53:56 ---> Running in da212b0b6095 05:53:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:53:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:53:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:53:57 (2/4) Installing libedit (20210910.3.1-r0) 05:53:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:53:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:53:57 Still waiting to schedule task 05:53:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6830’ 05:53:57 Executing busybox-1.35.0-r13.trigger 05:53:57 OK: 216 MiB in 55 packages 05:53:58 Removing intermediate container da212b0b6095 05:53:58 ---> a9bdeb5f8f78 05:53:58 Step 9/13 : WORKDIR /device-snmp-go 05:53:58 ---> Running in 415a47b4e6b8 05:53:58 Removing intermediate container 415a47b4e6b8 05:53:58 ---> 9054eadcbfb5 05:53:58 Step 10/13 : COPY go.mod vendor* ./ 05:53:58 ---> 94e516f1cd68 05:53:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:53:58 ---> Running in fef60489563f 05:54:16 Removing intermediate container fef60489563f 05:54:16 ---> 4c8c452ee8c2 05:54:16 Step 12/13 : COPY . . 05:54:16 ---> 278a98e0e782 05:54:16 Step 13/13 : RUN ${MAKE} 05:54:16 ---> Running in a702a56b6727 05:54:16 noop 05:54:16 Removing intermediate container a702a56b6727 05:54:16 ---> af44dcba56ed 05:54:16 Successfully built af44dcba56ed 05:54:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:17 + docker inspect -f . ci-base-image-x86_64 05:54:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:17 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 05:54: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 ******** -e ******** ci-base-image-x86_64 cat 05:54:17 $ docker top 3eb0e00333174dffee263ab4fb7a93b5b8a0b785870df05bb310812ad3ee90a5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:18 + go version 05:54:18 go version go1.18.3 linux/amd64 [Pipeline] } 05:54:18 $ docker stop --time=1 3eb0e00333174dffee263ab4fb7a93b5b8a0b785870df05bb310812ad3ee90a5 05:54:19 $ docker rm -f 3eb0e00333174dffee263ab4fb7a93b5b8a0b785870df05bb310812ad3ee90a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:19 + docker inspect -f . ci-base-image-x86_64 05:54:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:19 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 05:54:19 $ 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 05:54:20 $ docker top 5c97596c8c27db21a22c8ab1940909e6e19a9292fab35925e2eba9a54de05bb4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 05:54:20 + make test 05:54:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:54:21 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:54:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:54:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 05:54:38 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:54:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:54:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:54:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:54:41 ./bin/test-attribution-txt.sh [Pipeline] echo 05:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:54:41 $ docker stop --time=1 5c97596c8c27db21a22c8ab1940909e6e19a9292fab35925e2eba9a54de05bb4 05:54:43 $ docker rm -f 5c97596c8c27db21a22c8ab1940909e6e19a9292fab35925e2eba9a54de05bb4 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:54:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:44 + ls -al . 05:54:44 total 172 05:54:44 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:54 . 05:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:53 .. 05:54:44 -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:53 .dockerignore 05:54:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:54 .git 05:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:53 .github 05:54:44 -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:53 .gitignore 05:54:44 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:53 .golangci.yml 05:54:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:53 .semver 05:54:44 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:53 Attribution.txt 05:54:44 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:53 CHANGELOG.md 05:54:44 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:53 Dockerfile 05:54:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:53 GOVERNANCE.md 05:54:44 -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:53 Jenkinsfile 05:54:44 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:53 LICENSE 05:54:44 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:53 Makefile 05:54:44 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:53 OWNERS.md 05:54:44 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:53 README.md 05:54:44 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 05:53 VERSION 05:54:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:53 bin 05:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:53 cmd 05:54:44 -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:54 coverage.out 05:54:44 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:53 go.mod 05:54:44 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:53 go.sum 05:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:53 internal 05:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:53 snap 05:54:44 -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:45 + 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=d466151200edb95fff3e1a1306a852eb5b109481 --label arch=amd64 --label version=2.3.0-dev.16 . 05:54:45 Sending build context to Docker daemon 5.502MB 05:54:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:54:45 Step 2/25 : FROM ${BASE} AS builder 05:54:45 ---> af44dcba56ed 05:54:45 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:54:45 ---> Running in 8c227cbcd14c 05:54:45 Removing intermediate container 8c227cbcd14c 05:54:45 ---> e2419a60b273 05:54:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:54:45 ---> Running in f99f993db652 05:54:45 Removing intermediate container f99f993db652 05:54:45 ---> 60789f3fb19f 05:54:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:54:45 ---> Running in d57fcd8839cf 05:54:45 Removing intermediate container d57fcd8839cf 05:54:45 ---> ca3e9a202f4b 05:54:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:54:45 ---> Running in e6e721511aa0 05:54:45 Removing intermediate container e6e721511aa0 05:54:45 ---> 779ff18eb5cb 05:54:45 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:45 ---> Running in 38ad0a514908 05:54:46 Removing intermediate container 38ad0a514908 05:54:46 ---> 68f11e478c1a 05:54:46 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:54:46 ---> Running in 596ae811565f 05:54:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:54:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:54:48 OK: 216 MiB in 55 packages 05:54:48 Removing intermediate container 596ae811565f 05:54:48 ---> 39657c77c19e 05:54:48 Step 9/25 : WORKDIR /device-snmp-go 05:54:48 ---> Running in 716196f918dc 05:54:48 Removing intermediate container 716196f918dc 05:54:48 ---> ef3a6cdccf6a 05:54:48 Step 10/25 : COPY go.mod vendor* ./ 05:54:48 ---> 080dfb020c76 05:54:48 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:48 ---> Running in 69a03ddc635f 05:54:49 Removing intermediate container 69a03ddc635f 05:54:49 ---> 638f02c61cc9 05:54:49 Step 12/25 : COPY . . 05:54:49 ---> 81a1d8f47c50 05:54:49 Step 13/25 : RUN ${MAKE} 05:54:49 ---> Running in 84ea5c80b575 05:54:50 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.34 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:55:12 Removing intermediate container 84ea5c80b575 05:55:12 ---> 65c39d82d5e3 05:55:12 Step 14/25 : FROM alpine:3.16 05:55:12 3.16: Pulling from library/alpine 05:55:12 213ec9aee27d: Pulling fs layer 05:55:12 213ec9aee27d: Download complete 05:55:12 213ec9aee27d: Pull complete 05:55:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:55:12 Status: Downloaded newer image for alpine:3.16 05:55:12 ---> 9c6f07244728 05:55:12 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:55:12 ---> Running in 546afde5469b 05:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:55:13 (1/6) Installing dumb-init (1.2.5-r1) 05:55:13 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:55:13 (3/6) Installing libsodium (1.0.18-r0) 05:55:13 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:55:13 (5/6) Installing libzmq (4.3.4-r0) 05:55:13 (6/6) Installing zeromq (4.3.4-r0) 05:55:13 Executing busybox-1.35.0-r17.trigger 05:55:13 OK: 8 MiB in 20 packages 05:55:13 Removing intermediate container 546afde5469b 05:55:13 ---> 7f9d6458ab02 05:55:13 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:55:14 ---> 48700e68fbe4 05:55:14 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:55:14 ---> 6b669fa1fe16 05:55:14 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:55:14 ---> 9fd7b39a86e3 05:55:14 Step 19/25 : EXPOSE 59993 05:55:14 ---> Running in f9fb34039139 05:55:15 Removing intermediate container f9fb34039139 05:55:15 ---> 00568c10a099 05:55:15 Step 20/25 : EXPOSE 161 05:55:15 ---> Running in 4cd4d5da7652 05:55:15 Removing intermediate container 4cd4d5da7652 05:55:15 ---> ef969d643cc7 05:55:15 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:55:15 ---> Running in 2c855cd52aad 05:55:15 Removing intermediate container 2c855cd52aad 05:55:15 ---> ad43efd5053c 05:55:15 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:55:15 ---> Running in 250c8c9c9bf4 05:55:15 Removing intermediate container 250c8c9c9bf4 05:55:15 ---> caf78961826c 05:55:15 Step 23/25 : LABEL arch=amd64 05:55:15 ---> Running in 8a643268091b 05:55:15 Removing intermediate container 8a643268091b 05:55:15 ---> f704a5fafcf1 05:55:15 Step 24/25 : LABEL git_sha=d466151200edb95fff3e1a1306a852eb5b109481 05:55:15 ---> Running in 4e9a31ad366c 05:55:15 Removing intermediate container 4e9a31ad366c 05:55:15 ---> b683d637db41 05:55:15 Step 25/25 : LABEL version=2.3.0-dev.16 05:55:15 ---> Running in b7a6803fefd3 05:55:15 Removing intermediate container b7a6803fefd3 05:55:15 ---> 85a2a7cdfe63 05:55:15 [Warning] One or more build-args [ARCH] were not consumed 05:55:15 Successfully built 85a2a7cdfe63 05:55:15 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:15 provisioning config files... 05:55:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5113147937474543953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:16 ---> docker-login.sh 05:55:16 nexus3.edgexfoundry.org:10001 05:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:16 Configure a credential helper to remove this warning. See 05:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:16 05:55:16 Login Succeeded 05:55:16 nexus3.edgexfoundry.org:10002 05:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:16 Configure a credential helper to remove this warning. See 05:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:16 05:55:16 Login Succeeded 05:55:16 nexus3.edgexfoundry.org:10003 05:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:16 Configure a credential helper to remove this warning. See 05:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:16 05:55:16 Login Succeeded 05:55:16 nexus3.edgexfoundry.org:10004 05:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:16 Configure a credential helper to remove this warning. See 05:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:16 05:55:16 Login Succeeded 05:55:16 docker.io 05:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:17 Configure a credential helper to remove this warning. See 05:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:17 05:55:17 Login Succeeded 05:55:17 ---> docker-login.sh ends [Pipeline] } 05:55:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:55:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:55:17 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 05:55:17 d466151200edb95fff3e1a1306a852eb5b109481 05:55:17 latest 05:55:17 2.3.0-dev.16 05:55:17 d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 05:55:17 main 05:55:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:17 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d466151200edb95fff3e1a1306a852eb5b109481 05:55:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:55:17 f1c048cdebe1: Preparing 05:55:17 91a9e2bf040d: Preparing 05:55:17 ae29fc5267e5: Preparing 05:55:17 8170f3b54c79: Preparing 05:55:17 994393dc58e7: Preparing 05:55:17 994393dc58e7: Layer already exists 05:55:17 91a9e2bf040d: Pushed 05:55:17 f1c048cdebe1: Pushed 05:55:18 8170f3b54c79: Pushed 05:55:20 ae29fc5267e5: Pushed 05:55:20 d466151200edb95fff3e1a1306a852eb5b109481: digest: sha256:e0417303ccde90ab8a5b2ca2010822708d49c3ef0bcafb78ed29da368f239541 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:20 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 05:55:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:55:21 f1c048cdebe1: Preparing 05:55:21 91a9e2bf040d: Preparing 05:55:21 ae29fc5267e5: Preparing 05:55:21 8170f3b54c79: Preparing 05:55:21 994393dc58e7: Preparing 05:55:21 91a9e2bf040d: Layer already exists 05:55:21 994393dc58e7: Layer already exists 05:55:21 f1c048cdebe1: Layer already exists 05:55:21 8170f3b54c79: Layer already exists 05:55:21 ae29fc5267e5: Layer already exists 05:55:21 latest: digest: sha256:e0417303ccde90ab8a5b2ca2010822708d49c3ef0bcafb78ed29da368f239541 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:21 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.16 05:55:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:55:21 f1c048cdebe1: Preparing 05:55:21 91a9e2bf040d: Preparing 05:55:21 ae29fc5267e5: Preparing 05:55:21 8170f3b54c79: Preparing 05:55:21 994393dc58e7: Preparing 05:55:21 994393dc58e7: Layer already exists 05:55:21 ae29fc5267e5: Layer already exists 05:55:21 91a9e2bf040d: Layer already exists 05:55:21 8170f3b54c79: Layer already exists 05:55:21 f1c048cdebe1: Layer already exists 05:55:21 2.3.0-dev.16: digest: sha256:e0417303ccde90ab8a5b2ca2010822708d49c3ef0bcafb78ed29da368f239541 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:22 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 05:55:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:55:22 f1c048cdebe1: Preparing 05:55:22 91a9e2bf040d: Preparing 05:55:22 ae29fc5267e5: Preparing 05:55:22 8170f3b54c79: Preparing 05:55:22 994393dc58e7: Preparing 05:55:22 f1c048cdebe1: Layer already exists 05:55:22 994393dc58e7: Layer already exists 05:55:22 91a9e2bf040d: Layer already exists 05:55:22 ae29fc5267e5: Layer already exists 05:55:22 8170f3b54c79: Layer already exists 05:55:22 d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16: digest: sha256:e0417303ccde90ab8a5b2ca2010822708d49c3ef0bcafb78ed29da368f239541 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:22 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 05:55:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:55:23 f1c048cdebe1: Preparing 05:55:23 91a9e2bf040d: Preparing 05:55:23 ae29fc5267e5: Preparing 05:55:23 8170f3b54c79: Preparing 05:55:23 994393dc58e7: Preparing 05:55:23 994393dc58e7: Layer already exists 05:55:23 91a9e2bf040d: Layer already exists 05:55:23 ae29fc5267e5: Layer already exists 05:55:23 8170f3b54c79: Layer already exists 05:55:23 f1c048cdebe1: Layer already exists 05:55:23 main: digest: sha256:e0417303ccde90ab8a5b2ca2010822708d49c3ef0bcafb78ed29da368f239541 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:55:23 ===================================================== [Pipeline] echo 05:55:23 taggedImages: 05:55:23 - nexus3.edgexfoundry.org:10004/device-snmp:d466151200edb95fff3e1a1306a852eb5b109481 05:55:23 - nexus3.edgexfoundry.org:10004/device-snmp:latest 05:55:23 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.16 05:55:23 - nexus3.edgexfoundry.org:10004/device-snmp:d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 05:55:23 - 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 05:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:23 05:55:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:23 latest: Pulling from edgex-lftools-log-publisher 05:55:23 5eb5b503b376: Pulling fs layer 05:55:23 5c69ac0246d0: Pulling fs layer 05:55:23 ec43610c2a17: Pulling fs layer 05:55:23 3a2ae6a8a46f: Pulling fs layer 05:55:23 33b1e0a273af: Pulling fs layer 05:55:23 5d3b04190fa2: Pulling fs layer 05:55:23 2f39f015ded8: Pulling fs layer 05:55:23 33b1e0a273af: Waiting 05:55:23 5d3b04190fa2: Waiting 05:55:23 2f39f015ded8: Waiting 05:55:23 3a2ae6a8a46f: Waiting 05:55:23 5c69ac0246d0: Verifying Checksum 05:55:23 5c69ac0246d0: Download complete 05:55:23 3a2ae6a8a46f: Verifying Checksum 05:55:23 3a2ae6a8a46f: Download complete 05:55:23 33b1e0a273af: Verifying Checksum 05:55:23 33b1e0a273af: Download complete 05:55:23 ec43610c2a17: Verifying Checksum 05:55:23 ec43610c2a17: Download complete 05:55:23 5d3b04190fa2: Download complete 05:55:24 5eb5b503b376: Download complete 05:55:24 2f39f015ded8: Download complete 05:55:25 5eb5b503b376: Pull complete 05:55:25 5c69ac0246d0: Pull complete 05:55:25 ec43610c2a17: Pull complete 05:55:25 3a2ae6a8a46f: Pull complete 05:55:26 33b1e0a273af: Pull complete 05:55:26 5d3b04190fa2: Pull complete 05:55:31 2f39f015ded8: Pull complete 05:55:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:31 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 05:55:31 $ 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 05:55:33 $ docker top 46532428c0d9dcfbfe2384a7119732ff3486edabdf07af30e8532e6eeb248d0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:33 ---> job-cost.sh 05:55:33 lf-activate-venv: SKIPPING 05:55:33 INFO: No Stack... 05:55:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:55:34 INFO: Archiving Costs [Pipeline] sh 05:55:35 + + cut -d, -f6 05:55:35 cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [Pipeline] lock 05:55:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] 05:55:35 Resource [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] did not exist. Created. 05:55:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:55:35 + echo total: 0.2199999988079071 [Pipeline] stash 05:55:35 Stashed 1 file(s) [Pipeline] } 05:55:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 05:55:35 $ docker stop --time=1 46532428c0d9dcfbfe2384a7119732ff3486edabdf07af30e8532e6eeb248d0b 05:55:36 $ docker rm -f 46532428c0d9dcfbfe2384a7119732ff3486edabdf07af30e8532e6eeb248d0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:57:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6833 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 05:57:11 Running in /w/workspace/device-snmp-go/47 [Pipeline] { [Pipeline] checkout 05:57:11 Selected Git installation does not exist. Using Default 05:57:11 The recommended git tool is: NONE 05:57:16 using credential edgex-jenkins-ssh 05:57:16 Cloning the remote Git repository 05:57:16 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:57:16 > git init /w/workspace/device-snmp-go/47 # timeout=10 05:57:16 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:57:16 > git --version # timeout=10 05:57:16 > git --version # 'git version 2.25.1' 05:57:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:16 Verifying host key using known hosts file 05:57:16 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:57:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:57:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:18 Avoid second fetch 05:57:18 Checking out Revision d466151200edb95fff3e1a1306a852eb5b109481 (main) 05:57:19 Commit message: "Merge pull request #194 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:18 > git config core.sparsecheckout # timeout=10 05:57:18 > git checkout -f d466151200edb95fff3e1a1306a852eb5b109481 # timeout=10 05:57:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:57:20 % Total % Received % Xferd Average Speed Time Time Time Current 05:57:20 Dload Upload Total Spent Left Speed 05:57:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 05:57:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:57:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:57:21 + sudo tee /etc/docker/daemon.new 05:57:21 { 05:57:21 "registry-mirrors": [ 05:57:21 "https://nexus3.edgexfoundry.org:10001" 05:57:21 ], 05:57:21 "bip": "10.250.0.254/24", 05:57:21 "hosts": [ 05:57:21 "tcp://0.0.0.0:5555", 05:57:21 "unix:///var/run/docker.sock" 05:57:21 ], 05:57:21 "mtu": 1458, 05:57:21 "selinux-enabled": true, 05:57:21 "seccomp-profile": "/etc/docker/seccomp.json" 05:57:21 } [Pipeline] sh 05:57:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:57:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:39 provisioning config files... 05:57:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/47@tmp/config5230953705040903798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:40 ---> docker-login.sh 05:57:40 nexus3.edgexfoundry.org:10001 05:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:40 Configure a credential helper to remove this warning. See 05:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:40 05:57:40 Login Succeeded 05:57:40 nexus3.edgexfoundry.org:10002 05:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:41 Configure a credential helper to remove this warning. See 05:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:41 05:57:41 Login Succeeded 05:57:41 nexus3.edgexfoundry.org:10003 05:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:41 Configure a credential helper to remove this warning. See 05:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:41 05:57:41 Login Succeeded 05:57:41 nexus3.edgexfoundry.org:10004 05:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:41 Configure a credential helper to remove this warning. See 05:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:41 05:57:41 Login Succeeded 05:57:41 docker.io 05:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:42 Configure a credential helper to remove this warning. See 05:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:42 05:57:42 Login Succeeded 05:57:42 ---> docker-login.sh ends [Pipeline] } 05:57:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:57:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:57:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:57:42 ========================================================= 05:57:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:57:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:57:43 Sending build context to Docker daemon 2.835MB 05:57:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:57:43 Step 2/13 : FROM ${BASE} AS builder 05:57:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:57:43 b3c136eddcbf: Pulling fs layer 05:57:43 c0a3192eca97: Pulling fs layer 05:57:43 a050256f5b6f: Pulling fs layer 05:57:43 656be50a0ddc: Pulling fs layer 05:57:43 2bbca73fdf42: Pulling fs layer 05:57:43 f607e4fc86c3: Pulling fs layer 05:57:43 4d572c569a2c: Pulling fs layer 05:57:43 fcf976331f73: Pulling fs layer 05:57:43 656be50a0ddc: Waiting 05:57:43 2bbca73fdf42: Waiting 05:57:43 f607e4fc86c3: Waiting 05:57:43 4d572c569a2c: Waiting 05:57:43 fcf976331f73: Waiting 05:57:43 a050256f5b6f: Verifying Checksum 05:57:43 a050256f5b6f: Download complete 05:57:43 c0a3192eca97: Verifying Checksum 05:57:43 c0a3192eca97: Download complete 05:57:43 2bbca73fdf42: Verifying Checksum 05:57:43 2bbca73fdf42: Download complete 05:57:43 f607e4fc86c3: Verifying Checksum 05:57:43 f607e4fc86c3: Download complete 05:57:43 b3c136eddcbf: Verifying Checksum 05:57:44 b3c136eddcbf: Pull complete 05:57:44 fcf976331f73: Verifying Checksum 05:57:44 fcf976331f73: Download complete 05:57:44 c0a3192eca97: Pull complete 05:57:44 a050256f5b6f: Pull complete 05:57:45 4d572c569a2c: Verifying Checksum 05:57:45 4d572c569a2c: Download complete 05:57:46 656be50a0ddc: Verifying Checksum 05:57:46 656be50a0ddc: Download complete 05:57:58 656be50a0ddc: Pull complete 05:57:58 2bbca73fdf42: Pull complete 05:57:58 f607e4fc86c3: Pull complete 05:58:03 4d572c569a2c: Pull complete 05:58:05 fcf976331f73: Pull complete 05:58:05 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 05:58:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:58:05 ---> 3970a7415f9e 05:58:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:58:07 ---> Running in 6375a3c8360a 05:58:07 Removing intermediate container 6375a3c8360a 05:58:07 ---> 569c81b0044a 05:58:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:07 ---> Running in 40ae3de04a0d 05:58:08 Removing intermediate container 40ae3de04a0d 05:58:08 ---> 691dc2585f99 05:58:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:58:08 ---> Running in 1f7a7a2f2fdf 05:58:08 Removing intermediate container 1f7a7a2f2fdf 05:58:08 ---> 546fe5ba9d6f 05:58:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:58:08 ---> Running in 9092c2580fd3 05:58:08 Removing intermediate container 9092c2580fd3 05:58:08 ---> 4d2ead8a9c5a 05:58:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:08 ---> Running in 69be427921fb 05:58:10 Removing intermediate container 69be427921fb 05:58:10 ---> b55d19f814e1 05:58:10 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:58:10 ---> Running in a4d11f785466 05:58:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:58:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:58:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:58:13 (2/4) Installing libedit (20210910.3.1-r0) 05:58:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:58:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:58:14 Executing busybox-1.35.0-r13.trigger 05:58:14 OK: 226 MiB in 55 packages 05:58:15 Removing intermediate container a4d11f785466 05:58:15 ---> c483e15500cd 05:58:15 Step 9/13 : WORKDIR /device-snmp-go 05:58:15 ---> Running in 5adf5c16905f 05:58:15 Removing intermediate container 5adf5c16905f 05:58:15 ---> 7c7e8ef450a2 05:58:15 Step 10/13 : COPY go.mod vendor* ./ 05:58:16 ---> 0f64e7c5e2d2 05:58:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:16 ---> Running in 33ec08f19743 05:59:12 Removing intermediate container 33ec08f19743 05:59:12 ---> 215033ee3f11 05:59:12 Step 12/13 : COPY . . 05:59:12 ---> c720fa4be918 05:59:12 Step 13/13 : RUN ${MAKE} 05:59:12 ---> Running in 59a902568210 05:59:12 noop 05:59:12 Removing intermediate container 59a902568210 05:59:12 ---> d430b893dfe5 05:59:12 Successfully built d430b893dfe5 05:59:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:13 + docker inspect -f . ci-base-image-arm64 05:59:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:13 prd-ubuntu20.04-docker-arm64-4c-16g-6833 does not seem to be running inside a container 05:59:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/47 -v /w/workspace/device-snmp-go/47:/w/workspace/device-snmp-go/47:rw,z -v /w/workspace/device-snmp-go/47@tmp:/w/workspace/device-snmp-go/47@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 05:59:14 $ docker top 0bf05fd4be44d3e1cf6d96fc3752f4865daadab055899d1491f0e49b04c29c4a -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:15 + go version 05:59:15 go version go1.18.3 linux/arm64 [Pipeline] } 05:59:15 $ docker stop --time=1 0bf05fd4be44d3e1cf6d96fc3752f4865daadab055899d1491f0e49b04c29c4a 05:59:16 $ docker rm -f 0bf05fd4be44d3e1cf6d96fc3752f4865daadab055899d1491f0e49b04c29c4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:17 + docker inspect -f . ci-base-image-arm64 05:59:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:17 prd-ubuntu20.04-docker-arm64-4c-16g-6833 does not seem to be running inside a container 05:59:17 $ 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/47 -v /w/workspace/device-snmp-go/47:/w/workspace/device-snmp-go/47:rw,z -v /w/workspace/device-snmp-go/47@tmp:/w/workspace/device-snmp-go/47@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 05:59:19 $ docker top 8ec4d7738b3b4bd786e3f3dad74eef4fe3466db7250ab2e1c744a0e00a0c50bf -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:19 + git config --global --add safe.directory /w/workspace/device-snmp-go/47 [Pipeline] fileExists [Pipeline] sh 05:59:19 + make test 05:59:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:59:22 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:00:44 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:00:44 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.064s coverage: 0.0% of statements 06:00:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:00:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:01:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:02 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:02 $ docker stop --time=1 8ec4d7738b3b4bd786e3f3dad74eef4fe3466db7250ab2e1c744a0e00a0c50bf 06:01:04 $ docker rm -f 8ec4d7738b3b4bd786e3f3dad74eef4fe3466db7250ab2e1c744a0e00a0c50bf [Pipeline] // withDockerContainer [Pipeline] sh 06:01:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:05 Warning: overwriting stash ‘coverage-report’ 06:01:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:06 + ls -al . 06:01:06 total 168 06:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:59 . 06:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:57 .. 06:01:06 -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:57 .dockerignore 06:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:57 .git 06:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:57 .github 06:01:06 -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:57 .gitignore 06:01:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:57 .golangci.yml 06:01:06 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:57 Attribution.txt 06:01:06 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:57 CHANGELOG.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:57 Dockerfile 06:01:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:57 GOVERNANCE.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:57 Jenkinsfile 06:01:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:57 LICENSE 06:01:06 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:57 Makefile 06:01:06 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:57 OWNERS.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:57 README.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 05:53 VERSION 06:01:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:57 bin 06:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:57 cmd 06:01:06 -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 06:00 coverage.out 06:01:06 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:57 go.mod 06:01:06 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:57 go.sum 06:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:57 internal 06:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:57 snap 06:01:06 -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:06 + 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=d466151200edb95fff3e1a1306a852eb5b109481 --label arch=arm64 --label version=2.3.0-dev.16 . 06:01:06 Sending build context to Docker daemon 2.843MB 06:01:06 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:01:06 Step 2/25 : FROM ${BASE} AS builder 06:01:06 ---> d430b893dfe5 06:01:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:01:06 ---> Running in 51232461ee20 06:01:06 Removing intermediate container 51232461ee20 06:01:06 ---> bb146088a3f9 06:01:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:07 ---> Running in 72d16da97267 06:01:07 Removing intermediate container 72d16da97267 06:01:07 ---> 3530fdcd9b9a 06:01:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:01:07 ---> Running in 3c948da07926 06:01:07 Removing intermediate container 3c948da07926 06:01:07 ---> 52056c1c4a1c 06:01:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:01:07 ---> Running in 7f4ad1404ea0 06:01:08 Removing intermediate container 7f4ad1404ea0 06:01:08 ---> 3f2196fa2901 06:01:08 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:08 ---> Running in b73b7223817a 06:01:09 Removing intermediate container b73b7223817a 06:01:09 ---> 930a6f7dc0ac 06:01:09 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:01:09 ---> Running in 8a82b202de6b 06:01:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:01:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:01:12 OK: 226 MiB in 55 packages 06:01:13 Removing intermediate container 8a82b202de6b 06:01:13 ---> 8741d7152b8f 06:01:13 Step 9/25 : WORKDIR /device-snmp-go 06:01:13 ---> Running in 7d9e7220d4c1 06:01:13 Removing intermediate container 7d9e7220d4c1 06:01:13 ---> 5cd447124040 06:01:13 Step 10/25 : COPY go.mod vendor* ./ 06:01:14 ---> 9b69a7c66aa5 06:01:14 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:14 ---> Running in 03c3c960115d 06:01:17 Removing intermediate container 03c3c960115d 06:01:17 ---> 4e57127d8e60 06:01:17 Step 12/25 : COPY . . 06:01:18 ---> e18e7edecbe5 06:01:18 Step 13/25 : RUN ${MAKE} 06:01:18 ---> Running in 9ea569badc68 06:01:19 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.34 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 06:03:55 Removing intermediate container 9ea569badc68 06:03:55 ---> 5657132d3699 06:03:55 Step 14/25 : FROM alpine:3.16 06:03:55 3.16: Pulling from library/alpine 06:03:55 9b18e9b68314: Pulling fs layer 06:03:55 9b18e9b68314: Download complete 06:03:55 9b18e9b68314: Pull complete 06:03:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:03:55 Status: Downloaded newer image for alpine:3.16 06:03:55 ---> a6215f271958 06:03:55 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 06:03:55 ---> Running in 22e988219558 06:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:03:55 (1/6) Installing dumb-init (1.2.5-r1) 06:03:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 06:03:55 (3/6) Installing libsodium (1.0.18-r0) 06:03:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 06:03:55 (5/6) Installing libzmq (4.3.4-r0) 06:03:55 (6/6) Installing zeromq (4.3.4-r0) 06:03:55 Executing busybox-1.35.0-r17.trigger 06:03:55 OK: 8 MiB in 20 packages 06:03:55 Removing intermediate container 22e988219558 06:03:55 ---> 35fbe33be53e 06:03:55 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 06:03:55 ---> 5ec3b8461c64 06:03:55 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:03:55 ---> 4a0e059aa618 06:03:55 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 06:03:55 ---> 1996b4d336f5 06:03:55 Step 19/25 : EXPOSE 59993 06:03:55 ---> Running in be5d4795369d 06:03:55 Removing intermediate container be5d4795369d 06:03:55 ---> 65696ba23a0c 06:03:55 Step 20/25 : EXPOSE 161 06:03:55 ---> Running in 7b774e9523e2 06:03:55 Removing intermediate container 7b774e9523e2 06:03:55 ---> 42fa9ae9380f 06:03:55 Step 21/25 : ENTRYPOINT ["/device-snmp"] 06:03:55 ---> Running in 75ae083800c4 06:03:55 Removing intermediate container 75ae083800c4 06:03:55 ---> 703d62b68f80 06:03:55 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:03:55 ---> Running in b534784f0b51 06:03:55 Removing intermediate container b534784f0b51 06:03:55 ---> fa94f2e042ba 06:03:55 Step 23/25 : LABEL arch=arm64 06:03:55 ---> Running in 0df494a94733 06:03:55 Removing intermediate container 0df494a94733 06:03:55 ---> 807cc3ad4819 06:03:55 Step 24/25 : LABEL git_sha=d466151200edb95fff3e1a1306a852eb5b109481 06:03:55 ---> Running in d5caa788a0d2 06:03:55 Removing intermediate container d5caa788a0d2 06:03:55 ---> be0c28d74d78 06:03:55 Step 25/25 : LABEL version=2.3.0-dev.16 06:03:55 ---> Running in 43063e3169a1 06:03:55 Removing intermediate container 43063e3169a1 06:03:55 ---> 7d29acd48f65 06:03:55 [Warning] One or more build-args [ARCH] were not consumed 06:03:55 Successfully built 7d29acd48f65 06:03:55 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 06:03:56 provisioning config files... 06:03:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/47@tmp/config14324705472554781584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:56 ---> docker-login.sh 06:03:56 nexus3.edgexfoundry.org:10001 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:56 nexus3.edgexfoundry.org:10002 06:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:57 Configure a credential helper to remove this warning. See 06:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:57 06:03:57 Login Succeeded 06:03:57 nexus3.edgexfoundry.org:10003 06:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:57 Configure a credential helper to remove this warning. See 06:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:57 06:03:57 Login Succeeded 06:03:57 nexus3.edgexfoundry.org:10004 06:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:57 Configure a credential helper to remove this warning. See 06:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:57 06:03:57 Login Succeeded 06:03:57 docker.io 06:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:58 Configure a credential helper to remove this warning. See 06:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:58 06:03:58 Login Succeeded 06:03:58 ---> docker-login.sh ends [Pipeline] } 06:03:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:03:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:58 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 06:03:58 d466151200edb95fff3e1a1306a852eb5b109481 06:03:58 latest 06:03:58 2.3.0-dev.16 06:03:58 d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 06:03:58 main 06:03:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:59 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d466151200edb95fff3e1a1306a852eb5b109481 06:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:04:00 2ce8e967d291: Preparing 06:04:00 2a241cc86d32: Preparing 06:04:00 a21beafac6b3: Preparing 06:04:00 ee6c0ab4bc84: Preparing 06:04:00 5d3e392a13a0: Preparing 06:04:00 5d3e392a13a0: Layer already exists 06:04:01 2ce8e967d291: Pushed 06:04:01 2a241cc86d32: Pushed 06:04:02 ee6c0ab4bc84: Pushed 06:04:06 a21beafac6b3: Pushed 06:04:06 d466151200edb95fff3e1a1306a852eb5b109481: digest: sha256:9fbdccea6adbcf4836f7fca9369538fdf9752cc4d7e6aa5ea0e9500d27f02dee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:06 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:04:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:04:07 2ce8e967d291: Preparing 06:04:07 2a241cc86d32: Preparing 06:04:07 a21beafac6b3: Preparing 06:04:07 ee6c0ab4bc84: Preparing 06:04:07 5d3e392a13a0: Preparing 06:04:07 5d3e392a13a0: Layer already exists 06:04:07 a21beafac6b3: Layer already exists 06:04:07 ee6c0ab4bc84: Layer already exists 06:04:07 2a241cc86d32: Layer already exists 06:04:07 2ce8e967d291: Layer already exists 06:04:07 latest: digest: sha256:9fbdccea6adbcf4836f7fca9369538fdf9752cc4d7e6aa5ea0e9500d27f02dee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:07 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.16 06:04:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:04:07 2ce8e967d291: Preparing 06:04:07 2a241cc86d32: Preparing 06:04:07 a21beafac6b3: Preparing 06:04:07 ee6c0ab4bc84: Preparing 06:04:07 5d3e392a13a0: Preparing 06:04:07 a21beafac6b3: Layer already exists 06:04:07 2a241cc86d32: Layer already exists 06:04:07 5d3e392a13a0: Layer already exists 06:04:07 ee6c0ab4bc84: Layer already exists 06:04:07 2ce8e967d291: Layer already exists 06:04:07 2.3.0-dev.16: digest: sha256:9fbdccea6adbcf4836f7fca9369538fdf9752cc4d7e6aa5ea0e9500d27f02dee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:08 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 06:04:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:04:08 2ce8e967d291: Preparing 06:04:08 2a241cc86d32: Preparing 06:04:08 a21beafac6b3: Preparing 06:04:08 ee6c0ab4bc84: Preparing 06:04:08 5d3e392a13a0: Preparing 06:04:08 5d3e392a13a0: Layer already exists 06:04:08 a21beafac6b3: Layer already exists 06:04:08 2a241cc86d32: Layer already exists 06:04:08 2ce8e967d291: Layer already exists 06:04:08 ee6c0ab4bc84: Layer already exists 06:04:08 d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16: digest: sha256:9fbdccea6adbcf4836f7fca9369538fdf9752cc4d7e6aa5ea0e9500d27f02dee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:08 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 06:04:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:04:09 2ce8e967d291: Preparing 06:04:09 2a241cc86d32: Preparing 06:04:09 a21beafac6b3: Preparing 06:04:09 ee6c0ab4bc84: Preparing 06:04:09 5d3e392a13a0: Preparing 06:04:09 2a241cc86d32: Layer already exists 06:04:09 5d3e392a13a0: Layer already exists 06:04:09 ee6c0ab4bc84: Layer already exists 06:04:09 a21beafac6b3: Layer already exists 06:04:09 2ce8e967d291: Layer already exists 06:04:09 main: digest: sha256:9fbdccea6adbcf4836f7fca9369538fdf9752cc4d7e6aa5ea0e9500d27f02dee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:04:09 ===================================================== [Pipeline] echo 06:04:09 taggedImages: 06:04:09 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d466151200edb95fff3e1a1306a852eb5b109481 06:04:09 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:04:09 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.16 06:04:09 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d466151200edb95fff3e1a1306a852eb5b109481-2.3.0-dev.16 06:04:09 - 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 06:04:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:09 06:04:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:10 arm64: Pulling from edgex-lftools-log-publisher 06:04:10 8998bd30e6a1: Pulling fs layer 06:04:10 04944245beec: Pulling fs layer 06:04:10 699f458cf7ca: Pulling fs layer 06:04:10 765212b225bb: Pulling fs layer 06:04:10 f23df028b6ca: Pulling fs layer 06:04:10 d65c8cfc05b1: Pulling fs layer 06:04:10 2437ff75d9bd: Pulling fs layer 06:04:10 f23df028b6ca: Waiting 06:04:10 d65c8cfc05b1: Waiting 06:04:10 2437ff75d9bd: Waiting 06:04:10 765212b225bb: Waiting 06:04:10 04944245beec: Verifying Checksum 06:04:10 04944245beec: Download complete 06:04:10 765212b225bb: Verifying Checksum 06:04:10 765212b225bb: Download complete 06:04:10 f23df028b6ca: Verifying Checksum 06:04:10 f23df028b6ca: Download complete 06:04:10 d65c8cfc05b1: Verifying Checksum 06:04:10 d65c8cfc05b1: Download complete 06:04:10 699f458cf7ca: Verifying Checksum 06:04:10 699f458cf7ca: Download complete 06:04:11 8998bd30e6a1: Download complete 06:04:13 2437ff75d9bd: Verifying Checksum 06:04:13 2437ff75d9bd: Download complete 06:04:14 8998bd30e6a1: Pull complete 06:04:15 04944245beec: Pull complete 06:04:16 699f458cf7ca: Pull complete 06:04:16 765212b225bb: Pull complete 06:04:17 f23df028b6ca: Pull complete 06:04:17 d65c8cfc05b1: Pull complete 06:04:32 2437ff75d9bd: Pull complete 06:04:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:32 prd-ubuntu20.04-docker-arm64-4c-16g-6833 does not seem to be running inside a container 06:04: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/47 -v /w/workspace/device-snmp-go/47:/w/workspace/device-snmp-go/47:rw,z -v /w/workspace/device-snmp-go/47@tmp:/w/workspace/device-snmp-go/47@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 06:04:35 $ docker top c2378e2b709180faecd0bcf3730bd85b1c612aa7a17349b176ee56fc03e874a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:36 ---> job-cost.sh 06:04:36 lf-activate-venv: SKIPPING 06:04:36 INFO: No Stack... 06:04:36 INFO: Retrieving Pricing Info for: v3-standard-4 06:04:37 INFO: Archiving Costs [Pipeline] sh 06:04:37 + cat /w/workspace/device-snmp-go/47/archives/cost.csv 06:04:37 + cut -d, -f6 [Pipeline] lock 06:04:38 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] 06:04:38 Resource [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] did not exist. Created. 06:04:38 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:04:38 /w/workspace/device-snmp-go/47@tmp/durable-d0e7b7eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:04:38 + echo total: 0.10999999940395355 [Pipeline] stash 06:04:38 Warning: overwriting stash ‘stack-cost’ 06:04:38 Stashed 1 file(s) [Pipeline] } 06:04:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 06:04:38 $ docker stop --time=1 c2378e2b709180faecd0bcf3730bd85b1c612aa7a17349b176ee56fc03e874a7 06:04:40 $ docker rm -f c2378e2b709180faecd0bcf3730bd85b1c612aa7a17349b176ee56fc03e874a7 [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 06:04:40 provisioning config files... 06:04:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17250533669061927906tmp [Pipeline] { [Pipeline] sh 06:04:41 + set +x 06:04:41 + bash -s -- 06:04:41 + curl -s https://codecov.io/bash 06:04:41 06:04:41 _____ _ 06:04:41 / ____| | | 06:04:41 | | ___ __| | ___ ___ _____ __ 06:04:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:04:41 | |___| (_) | (_| | __/ (_| (_) \ V / 06:04:41 \_____\___/ \__,_|\___|\___\___/ \_/ 06:04:41 Bash-1.0.6 06:04:41 06:04:41 06:04:41 ==> git version 2.25.1 found 06:04: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 06:04:41 Release-Date: 2020-01-08 06:04: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 06:04:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:04:41 ==> Jenkins CI detected. 06:04:41 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 06:04:41 project root: . 06:04:41 --> token set from env 06:04:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:04:41 ==> Running gcov in . (disable via -X gcov) 06:04:41 ==> Python coveragepy not found 06:04:41 ==> Searching for coverage reports in: 06:04:41 + . 06:04:41 -> Found 1 reports 06:04:41 ==> Detecting git/mercurial file structure 06:04:41 ==> Reading reports 06:04:41 + ./coverage.out bytes=7631 06:04:41 ==> Appending adjustments 06:04:41 https://docs.codecov.io/docs/fixing-reports 06:04:41 + Found adjustments 06:04:41 ==> Gzipping contents 06:04:41 4.0K /tmp/codecov.K6Bna2.gz 06:04:41 ==> Uploading reports 06:04:41 url: https://codecov.io 06:04:41 query: branch=main&commit=d466151200edb95fff3e1a1306a852eb5b109481&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:04:41 -> Pinging Codecov 06:04: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=d466151200edb95fff3e1a1306a852eb5b109481&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:04:41 -> Uploading to 06:04:41 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/6C56EA5C29638FB4528AC87E60AF5AE0/d466151200edb95fff3e1a1306a852eb5b109481/5784151c-da5c-498b-981f-0a457cbb6d8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T060441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fccf0e609729770ceba385ba6ca796d041c30502ef7ab9d74610246e97fa1fe 06:04:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:04:41 Dload Upload Total Spent Left Speed 06:04:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7638 --:--:-- --:--:-- --:--:-- 7600 100 1543 0 0 100 1543 0 6538 --:--:-- --:--:-- --:--:-- 6510 06:04:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] } 06:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:04:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:04:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:04:42 06:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:04:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:04:42 df9b9388f04a: Pulling fs layer 06:04:42 52dc419b0ee2: Pulling fs layer 06:04:42 25bc292e5bac: Pulling fs layer 06:04:42 114826534d7a: Pulling fs layer 06:04:42 4657fd5d0bcf: Pulling fs layer 06:04:42 6ad1cebc031e: Pulling fs layer 06:04:42 8a3aa393b2d8: Pulling fs layer 06:04:42 114826534d7a: Waiting 06:04:42 4657fd5d0bcf: Waiting 06:04:42 6ad1cebc031e: Waiting 06:04:42 25bc292e5bac: Verifying Checksum 06:04:42 25bc292e5bac: Download complete 06:04:42 52dc419b0ee2: Download complete 06:04:42 4657fd5d0bcf: Verifying Checksum 06:04:42 4657fd5d0bcf: Download complete 06:04:42 df9b9388f04a: Download complete 06:04:42 df9b9388f04a: Pull complete 06:04:42 6ad1cebc031e: Verifying Checksum 06:04:42 6ad1cebc031e: Download complete 06:04:42 52dc419b0ee2: Pull complete 06:04:42 25bc292e5bac: Pull complete 06:04:43 114826534d7a: Verifying Checksum 06:04:43 114826534d7a: Download complete 06:04:43 8a3aa393b2d8: Verifying Checksum 06:04:47 114826534d7a: Pull complete 06:04:47 4657fd5d0bcf: Pull complete 06:04:47 6ad1cebc031e: Pull complete 06:04:50 8a3aa393b2d8: Pull complete 06:04:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:04:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:50 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 06:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:04:52 $ docker top 74e870cf15d138b26eb65bcb6ea6bb246dda92f6f37d53764c682d2a75bd9ae3 -eo pid,comm [Pipeline] { [Pipeline] echo 06:04:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 06:04:53 + set -o pipefail 06:04:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 06:04:58 06:04:58 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 06:04:58 06:04:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/7a2c5d3a-a572-4101-90e9-ee174975dca3 06:04:58 06:04:58 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:04:58 06:04:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:04:58 06:04:58 [Pipeline] } 06:04:58 $ docker stop --time=1 74e870cf15d138b26eb65bcb6ea6bb246dda92f6f37d53764c682d2a75bd9ae3 06:05:01 $ docker rm -f 74e870cf15d138b26eb65bcb6ea6bb246dda92f6f37d53764c682d2a75bd9ae3 [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 06:05:01 + git log --format=format:%s -1 d466151200edb95fff3e1a1306a852eb5b109481 [Pipeline] sh 06:05:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:05:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:02 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 06:05:02 $ 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 06:05:03 $ docker top 368d83014ae1a8621a0521b8956b39691d01e6ba3046927021a7a3aafac8bc11 -eo pid,comm 06:05:03 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). 06:05:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:05:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:05:03 [ssh-agent] Looking for ssh-agent implementation... 06:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:05:03 $ docker exec 368d83014ae1a8621a0521b8956b39691d01e6ba3046927021a7a3aafac8bc11 ssh-agent 06:05:03 SSH_AUTH_SOCK=/tmp/ssh-Wg0Popute7bP/agent.32 06:05:03 SSH_AGENT_PID=38 06:05:03 Running ssh-add (command line suppressed) 06:05:03 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11311639800145084637.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11311639800145084637.key) 06:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:05:03 + git semver tag 06:05:04 2022-10-03 06:05:04,004 [run_tag] DEBUG tag force:False 06:05:04 2022-10-03 06:05:04,005 [check_head_tag] DEBUG check head tag 06:05:04 2022-10-03 06:05:04,005 [execute] INFO git cat-file --batch-check 06:05:04 2022-10-03 06:05:04,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:05:04 2022-10-03 06:05:04,010 [execute] INFO git cat-file --batch 06:05:04 2022-10-03 06:05:04,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:05:04 2022-10-03 06:05:04,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:05:04 2022-10-03 06:05:04,023 [execute] INFO git tag -a v2.3.0-dev.16 -m v2.3.0-dev.16 06:05:04 2022-10-03 06:05:04,023 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.16', '-m', 'v2.3.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:05:04 2022-10-03 06:05:04,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:05:04 2.3.0-dev.16 [Pipeline] } 06:05:04 $ docker exec --env ******** --env ******** 368d83014ae1a8621a0521b8956b39691d01e6ba3046927021a7a3aafac8bc11 ssh-agent -k 06:05:04 unset SSH_AUTH_SOCK; 06:05:04 unset SSH_AGENT_PID; 06:05:04 echo Agent pid 38 killed; 06:05:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:05:04 + git semver [Pipeline] } 06:05:05 $ docker stop --time=1 368d83014ae1a8621a0521b8956b39691d01e6ba3046927021a7a3aafac8bc11 06:05:06 $ docker rm -f 368d83014ae1a8621a0521b8956b39691d01e6ba3046927021a7a3aafac8bc11 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:05:06 06:05:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:05:07 0.23.1-centos7: Pulling from edgex-lftools 06:05:07 ab5ef0e58194: Pulling fs layer 06:05:07 9712f1f96733: Pulling fs layer 06:05:07 63f879dbbcfc: Pulling fs layer 06:05:07 0d9ebad4ef96: Pulling fs layer 06:05:07 e9a5061849ea: Pulling fs layer 06:05:07 d747dcd14b5f: Pulling fs layer 06:05:07 2de7ff778b66: Pulling fs layer 06:05:07 e9a5061849ea: Waiting 06:05:07 d747dcd14b5f: Waiting 06:05:07 2de7ff778b66: Waiting 06:05:07 0d9ebad4ef96: Waiting 06:05:07 9712f1f96733: Download complete 06:05:07 63f879dbbcfc: Verifying Checksum 06:05:07 63f879dbbcfc: Download complete 06:05:07 0d9ebad4ef96: Verifying Checksum 06:05:07 0d9ebad4ef96: Download complete 06:05:07 e9a5061849ea: Verifying Checksum 06:05:07 e9a5061849ea: Download complete 06:05:07 d747dcd14b5f: Download complete 06:05:07 ab5ef0e58194: Verifying Checksum 06:05:07 ab5ef0e58194: Download complete 06:05:07 2de7ff778b66: Verifying Checksum 06:05:07 2de7ff778b66: Download complete 06:05:11 ab5ef0e58194: Pull complete 06:05:11 9712f1f96733: Pull complete 06:05:11 63f879dbbcfc: Pull complete 06:05:15 0d9ebad4ef96: Pull complete 06:05:16 e9a5061849ea: Pull complete 06:05:16 d747dcd14b5f: Pull complete 06:05:17 2de7ff778b66: Pull complete 06:05:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:05:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:17 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 06:05: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 06:05:19 $ docker top 33d5f252a18f9db52b83ab2863c3a6ef47a455d9440aa4259aa622cd771ebff5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:05:19 provisioning config files... 06:05:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3972530726293681494tmp 06:05:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7068295277805744003tmp 06:05:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4241353536377746619tmp [Pipeline] { [Pipeline] echo 06:05:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:05:20 ---> sigul-configuration.sh 06:05:20 gpg: directory `/root/.gnupg' created 06:05:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:05:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:05:20 gpg: keyring `/root/.gnupg/secring.gpg' created 06:05:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:05:20 gpg: CAST5 encrypted data 06:05:20 gpg: encrypted with 1 passphrase 06:05:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:05:20 + mkdir /home/jenkins 06:05:20 + mkdir /home/jenkins/sigul [Pipeline] sh 06:05:20 + 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 06:05:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:05:21 ---> sigul-install.sh 06:05:21 Sigul already installed; skipping installation. [Pipeline] sh 06:05:21 + git tag --list 06:05:21 1.0.0 06:05:21 v0.0.0 06:05:21 v1.1.0 06:05:21 v1.1.1 06:05:21 v1.2.2 06:05:21 v1.3.0 06:05:21 v1.3.1 06:05:21 v2.0.0 06:05:21 v2.1.0 06:05:21 v2.1.1 06:05:21 v2.1.1-dev.2 06:05:21 v2.1.1-dev.3 06:05:21 v2.2.0 06:05:21 v2.2.1-dev.1 06:05:21 v2.2.1-dev.2 06:05:21 v2.2.1-dev.3 06:05:21 v2.2.1-dev.4 06:05:21 v2.2.1-dev.5 06:05:21 v2.2.1-dev.6 06:05:21 v2.2.1-dev.7 06:05:21 v2.3.0-dev.10 06:05:21 v2.3.0-dev.11 06:05:21 v2.3.0-dev.12 06:05:21 v2.3.0-dev.13 06:05:21 v2.3.0-dev.14 06:05:21 v2.3.0-dev.15 06:05:21 v2.3.0-dev.16 06:05:21 v2.3.0-dev.7 06:05:21 v2.3.0-dev.8 06:05:21 v2.3.0-dev.9 [Pipeline] sh 06:05:21 + lftools sign git-tag v2.3.0-dev.16 06:05:22 Signing Git tag with Sigul... 06:05:22 Signing v2.3.0-dev.16 [Pipeline] echo 06:05:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:05:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:05:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:05:23 $ docker stop --time=1 33d5f252a18f9db52b83ab2863c3a6ef47a455d9440aa4259aa622cd771ebff5 06:05:24 $ docker rm -f 33d5f252a18f9db52b83ab2863c3a6ef47a455d9440aa4259aa622cd771ebff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:05:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:05:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:25 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 06:05: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 06:05:25 $ docker top 106dec334a9d1b895aa470d864255974e74d0e8772f641e2b51a68734c37361f -eo pid,comm 06:05: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). 06:05:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:05:25 [ssh-agent] Looking for ssh-agent implementation... 06:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:05:25 $ docker exec 106dec334a9d1b895aa470d864255974e74d0e8772f641e2b51a68734c37361f ssh-agent 06:05:26 SSH_AUTH_SOCK=/tmp/ssh-GMgZxgw6thpL/agent.32 06:05:26 SSH_AGENT_PID=38 06:05:26 Running ssh-add (command line suppressed) 06:05:26 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1662358539412788256.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1662358539412788256.key) 06:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:05:26 + git semver bump pre 06:05:26 2022-10-03 06:05:26,664 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:05:26 2022-10-03 06:05:26,664 [bump_version] DEBUG bumping version:2.3.0-dev.16 on axis:pre with prefix:dev 06:05:26 2022-10-03 06:05:26,665 [bump_version] DEBUG bumped version:2.3.0-dev.17 06:05:26 2022-10-03 06:05:26,665 [write_version] DEBUG write version:2.3.0-dev.17 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 06:05:26 2022-10-03 06:05:26,665 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:05:26 2022-10-03 06:05:26,665 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:05:26 2022-10-03 06:05:26,667 [execute] INFO git cat-file --batch-check 06:05:26 2022-10-03 06:05:26,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:05:26 2022-10-03 06:05:26,674 [execute] INFO git cat-file --batch 06:05:26 2022-10-03 06:05:26,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:05:26 2022-10-03 06:05:26,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:05:26 2.3.0-dev.17 [Pipeline] } 06:05:26 $ docker exec --env ******** --env ******** 106dec334a9d1b895aa470d864255974e74d0e8772f641e2b51a68734c37361f ssh-agent -k 06:05:26 unset SSH_AUTH_SOCK; 06:05:26 unset SSH_AGENT_PID; 06:05:26 echo Agent pid 38 killed; 06:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:05:27 + git semver [Pipeline] } 06:05:27 $ docker stop --time=1 106dec334a9d1b895aa470d864255974e74d0e8772f641e2b51a68734c37361f 06:05:28 $ docker rm -f 106dec334a9d1b895aa470d864255974e74d0e8772f641e2b51a68734c37361f [Pipeline] // withDockerContainer [Pipeline] sh 06:05:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:05:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:05:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:29 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 06:05: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 06:05:29 $ docker top 5a836e38d7aea3fe7d5ca182a51796ed5f99a0a235dc01c563d53ce7846a85d2 -eo pid,comm 06:05:29 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). 06:05:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:05:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:05:29 [ssh-agent] Looking for ssh-agent implementation... 06:05:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:05:30 $ docker exec 5a836e38d7aea3fe7d5ca182a51796ed5f99a0a235dc01c563d53ce7846a85d2 ssh-agent 06:05:30 SSH_AUTH_SOCK=/tmp/ssh-TxPP3dqs9bBu/agent.31 06:05:30 SSH_AGENT_PID=37 06:05:30 Running ssh-add (command line suppressed) 06:05:30 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_558917148630607454.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_558917148630607454.key) 06:05:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:05:30 + git semver push 06:05:31 2022-10-03 06:05:30,888 [run_push] DEBUG push 06:05:31 2022-10-03 06:05:30,888 [execute] INFO git cat-file --batch-check 06:05:31 2022-10-03 06:05:30,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:05:31 2022-10-03 06:05:30,892 [execute] INFO git rev-list 3f1f58fa8b4105370e42c8a12250040704215976 -- 06:05:31 2022-10-03 06:05:30,893 [execute] DEBUG Popen(['git', 'rev-list', '3f1f58fa8b4105370e42c8a12250040704215976', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:05:31 2022-10-03 06:05:30,899 [execute] INFO git fetch -v origin 06:05:31 2022-10-03 06:05:30,900 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:05:31 2022-10-03 06:05:31,429 [run_push] DEBUG no remote changes detected 06:05:31 2022-10-03 06:05:31,429 [execute] INFO git push origin semver 06:05:31 2022-10-03 06:05:31,430 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:05:32 2022-10-03 06:05:32,166 [run_push] DEBUG push all version tags 06:05:32 2022-10-03 06:05:32,167 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:05:32 2022-10-03 06:05:32,167 [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) 06:05:33 2022-10-03 06:05:33,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:05:33 2.3.0-dev.17 [Pipeline] } 06:05:33 $ docker exec --env ******** --env ******** 5a836e38d7aea3fe7d5ca182a51796ed5f99a0a235dc01c563d53ce7846a85d2 ssh-agent -k 06:05:33 unset SSH_AUTH_SOCK; 06:05:33 unset SSH_AGENT_PID; 06:05:33 echo Agent pid 37 killed; 06:05:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:05:33 + git semver [Pipeline] } 06:05:33 $ docker stop --time=1 5a836e38d7aea3fe7d5ca182a51796ed5f99a0a235dc01c563d53ce7846a85d2 06:05:35 $ docker rm -f 5a836e38d7aea3fe7d5ca182a51796ed5f99a0a235dc01c563d53ce7846a85d2 [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 06:05:35 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 06:05:35 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:05:35 total 16 06:05:35 drwxr-xr-x 3 root root 4096 Oct 3 05:55 . 06:05:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 06:05 .. 06:05:35 drwxr-xr-x 2 root root 4096 Oct 3 05:55 cost 06:05:35 -rw-r--r-- 1 root root 85 Oct 3 05:55 cost.csv 06:05:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:05:35 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:05:35 total 16 06:05:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:55 . 06:05:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 06:05 .. 06:05:35 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:55 cost 06:05:35 -rw-r--r-- 1 jenkins jenkins 85 Oct 3 05:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:05:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:05:36 ---> package-listing.sh 06:05:36 ++ facter osfamily 06:05:36 ++ tr '[:upper:]' '[:lower:]' 06:05:37 + OS_FAMILY=debian 06:05:37 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 06:05:37 + START_PACKAGES=/tmp/packages_start.txt 06:05:37 + END_PACKAGES=/tmp/packages_end.txt 06:05:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:05:37 + PACKAGES=/tmp/packages_start.txt 06:05:37 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:05:37 + PACKAGES=/tmp/packages_end.txt 06:05:37 + case "${OS_FAMILY}" in 06:05:37 + dpkg -l 06:05:37 + grep '^ii' 06:05:37 + '[' -f /tmp/packages_start.txt ']' 06:05:37 + '[' -f /tmp/packages_end.txt ']' 06:05:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:05:37 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:05:37 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 06:05: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 06:05: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 06:05:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:38 prd-ubuntu20.04-docker-8c-8g-6831 does not seem to be running inside a container 06:05: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 06:05:38 $ docker top 5c6d990dfe4c842a4a1d5ec324689bc1d69dd4e56d9454d59a8791830b32e1d6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:05:38 + mkdir -p /var/log/sysstat [Pipeline] sh 06:05:39 + ls /var/log/sa-host 06:05:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:39 provisioning config files... 06:05:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2345392268985486478tmp [Pipeline] { [Pipeline] echo 06:05:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:05:39 ---> create-netrc.sh [Pipeline] } 06:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:05:39 ---> python-tools-install.sh [Pipeline] echo 06:05:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:05:40 ---> sudo-logs.sh 06:05:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:05:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:05:40 ---> job-cost.sh 06:05:40 lf-activate-venv: SKIPPING 06:05:40 DEBUG: total: 0.2199999988079071 06:05:40 INFO: Retrieving Stack Cost... 06:05:40 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:41 INFO: Archiving Costs [Pipeline] echo 06:05:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:05:41 ---> logs-deploy.sh 06:05:41 lf-activate-venv: SKIPPING 06:05:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/47 06:05:41 INFO: archiving workspace using pattern(s): 06:05:42 Archives upload complete. 06:05:42 INFO: archiving logs to Nexus