Started by upstream project "edgexfoundry/cd-management/release" build number 100 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a984207ad216ad191b3ac0372c82a64ff54e9ba 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-ssh10142746082215597820.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh15340912766270772207.key > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13315747280913090735.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh11899619645201247704.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh5426514700168567159.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63421 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 > 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 7a984207ad216ad191b3ac0372c82a64ff54e9ba (main) > 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 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 Commit message: "Merge pull request #171 from iain-anderson/changelog-fixup" > git rev-list --no-walk 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:42:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:42:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:42:28 ========================================================= 15:42:28 EdgeX Global Pipelines Version Info 15:42:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:42:28 ------------------- 15:42:28 stable info: 15:42:28 ------------------- 15:42:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:42:28 Message: update stable to v1.0.230 15:42:29 ------------------- 15:42:29 experimental info: 15:42:29 ------------------- 15:42:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:29 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:42:29 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a98420 [Pipeline] echo 15:42:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:30 provisioning config files... 15:42:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3069624181532640430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:30 ---> docker-login.sh 15:42:30 nexus3.edgexfoundry.org:10001 15:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:30 Configure a credential helper to remove this warning. See 15:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:30 15:42:30 Login Succeeded 15:42:30 nexus3.edgexfoundry.org:10002 15:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:30 Configure a credential helper to remove this warning. See 15:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:30 15:42:30 Login Succeeded 15:42:30 nexus3.edgexfoundry.org:10003 15:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:31 Configure a credential helper to remove this warning. See 15:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:31 15:42:31 Login Succeeded 15:42:31 nexus3.edgexfoundry.org:10004 15:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:31 Configure a credential helper to remove this warning. See 15:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:31 15:42:31 Login Succeeded 15:42:31 docker.io 15:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:31 Configure a credential helper to remove this warning. See 15:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:31 15:42:31 Login Succeeded 15:42:31 ---> docker-login.sh ends [Pipeline] } 15:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:42:32 + git rev-list -1 --merges 7a984207ad216ad191b3ac0372c82a64ff54e9ba~1..7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:42:32 -----------> git rev-list -1 --merges 7a984207ad216ad191b3ac0372c82a64ff54e9ba~1..7a984207ad216ad191b3ac0372c82a64ff54e9ba 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:42:32 7a984207ad216ad191b3ac0372c82a64ff54e9ba [false] [Pipeline] sh 15:42:32 + git log --format=format:%s -1 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:42:32 ========================================================= 15:42:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 15:42:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:32 + git log --format=format:%s -1 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:42:32 [semverPrep] GIT_COMMIT: 7a984207ad216ad191b3ac0372c82a64ff54e9ba, Commit Message: Merge pull request #171 from iain-anderson/changelog-fixup [Pipeline] echo 15:42:32 [semverPrep] This is not a build commit. [Pipeline] sh 15:42:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:42:33 + grep -v github /etc/ssh/ssh_known_hosts 15:42:33 + [ -e /tmp/ssh_known_hosts ] 15:42:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:42:33 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:42:33 sudo tee -a /etc/ssh/ssh_known_hosts 15:42:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:42:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:42:33 15:42:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:42:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:42:33 latest: Pulling from edgex-devops/py-git-semver 15:42:33 1fe172e4850f: Pulling fs layer 15:42:33 caf521ccaac6: Pulling fs layer 15:42:33 3ead6fa29328: Pulling fs layer 15:42:33 5c2a1cbceb83: Pulling fs layer 15:42:33 a8d5f1318db7: Pulling fs layer 15:42:33 c427282e49a2: Pulling fs layer 15:42:33 1827001aaf11: Pulling fs layer 15:42:33 0714d37db230: Pulling fs layer 15:42:33 ac28cf19c067: Pulling fs layer 15:42:33 ca983d60f3e2: Pulling fs layer 15:42:33 9f894cec8388: Pulling fs layer 15:42:33 5c2a1cbceb83: Waiting 15:42:33 a8d5f1318db7: Waiting 15:42:33 c427282e49a2: Waiting 15:42:33 1827001aaf11: Waiting 15:42:33 ca983d60f3e2: Waiting 15:42:33 0714d37db230: Waiting 15:42:33 9f894cec8388: Waiting 15:42:33 ac28cf19c067: Waiting 15:42:34 caf521ccaac6: Verifying Checksum 15:42:34 caf521ccaac6: Download complete 15:42:34 5c2a1cbceb83: Download complete 15:42:34 a8d5f1318db7: Verifying Checksum 15:42:34 a8d5f1318db7: Download complete 15:42:34 3ead6fa29328: Verifying Checksum 15:42:34 3ead6fa29328: Download complete 15:42:34 c427282e49a2: Verifying Checksum 15:42:34 c427282e49a2: Download complete 15:42:34 0714d37db230: Verifying Checksum 15:42:34 0714d37db230: Download complete 15:42:34 ac28cf19c067: Download complete 15:42:34 ca983d60f3e2: Download complete 15:42:34 9f894cec8388: Verifying Checksum 15:42:34 9f894cec8388: Download complete 15:42:34 1fe172e4850f: Verifying Checksum 15:42:34 1fe172e4850f: Download complete 15:42:34 1827001aaf11: Verifying Checksum 15:42:34 1827001aaf11: Download complete 15:42:35 1fe172e4850f: Pull complete 15:42:35 caf521ccaac6: Pull complete 15:42:36 3ead6fa29328: Pull complete 15:42:36 5c2a1cbceb83: Pull complete 15:42:36 a8d5f1318db7: Pull complete 15:42:36 c427282e49a2: Pull complete 15:42:38 1827001aaf11: Pull complete 15:42:38 0714d37db230: Pull complete 15:42:39 ac28cf19c067: Pull complete 15:42:39 ca983d60f3e2: Pull complete 15:42:39 9f894cec8388: Pull complete 15:42:39 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:42:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:42:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:42:39 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:42:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:42:40 $ docker top a2ab698e0f228011f3bb7a5f5c84b6d1857444203f8b432f9b520c7f2b296254 -eo pid,comm 15:42:40 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). 15:42:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:41 [ssh-agent] Looking for ssh-agent implementation... 15:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:41 $ docker exec a2ab698e0f228011f3bb7a5f5c84b6d1857444203f8b432f9b520c7f2b296254 ssh-agent 15:42:41 SSH_AUTH_SOCK=/tmp/ssh-8huIuqwn1fZu/agent.33 15:42:41 SSH_AGENT_PID=40 15:42:41 Running ssh-add (command line suppressed) 15:42:41 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_616903544932520462.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_616903544932520462.key) 15:42:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:41 + git tag --points-at 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] } 15:42:41 $ docker exec --env ******** --env ******** a2ab698e0f228011f3bb7a5f5c84b6d1857444203f8b432f9b520c7f2b296254 ssh-agent -k 15:42:41 unset SSH_AUTH_SOCK; 15:42:41 unset SSH_AGENT_PID; 15:42:41 echo Agent pid 40 killed; 15:42:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:42:41 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.19' [Pipeline] sshagent 15:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:41 [ssh-agent] Looking for ssh-agent implementation... 15:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:42 $ docker exec a2ab698e0f228011f3bb7a5f5c84b6d1857444203f8b432f9b520c7f2b296254 ssh-agent 15:42:42 SSH_AUTH_SOCK=/tmp/ssh-5091d1mSyNZN/agent.74 15:42:42 SSH_AGENT_PID=80 15:42:42 Running ssh-add (command line suppressed) 15:42:42 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1535337911463601920.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1535337911463601920.key) 15:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:42 + git semver init 15:42:42 2022-05-12 15:42:42,844 [run_init] DEBUG init version:0.0.0 force:False 15:42:42 2022-05-12 15:42:42,845 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:42:42 2022-05-12 15:42:42,845 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:42:42 2022-05-12 15:42:42,846 [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) 15:42:43 2022-05-12 15:42:43,680 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 15:42:43 2022-05-12 15:42:43,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 15:42:43 2022-05-12 15:42:43,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:42:43 2022-05-12 15:42:43,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:42:43 2.2.0 [Pipeline] } 15:42:43 $ docker exec --env ******** --env ******** a2ab698e0f228011f3bb7a5f5c84b6d1857444203f8b432f9b520c7f2b296254 ssh-agent -k 15:42:43 unset SSH_AUTH_SOCK; 15:42:43 unset SSH_AGENT_PID; 15:42:43 echo Agent pid 80 killed; 15:42:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:42:44 + git semver [Pipeline] } 15:42:44 $ docker stop --time=1 a2ab698e0f228011f3bb7a5f5c84b6d1857444203f8b432f9b520c7f2b296254 15:42:45 $ docker rm -f a2ab698e0f228011f3bb7a5f5c84b6d1857444203f8b432f9b520c7f2b296254 [Pipeline] // withDockerContainer [Pipeline] sh 15:42:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:42:46 Stashed 1 file(s) [Pipeline] echo 15:42:46 [edgeXSemver]: initialized semver on version 2.2.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:46 + git checkout 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:42:46 HEAD is now at 7a98420 Merge pull request #171 from iain-anderson/changelog-fixup [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:46 provisioning config files... 15:42:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8471316772092726352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:47 ---> docker-login.sh 15:42:47 nexus3.edgexfoundry.org:10001 15:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:47 Configure a credential helper to remove this warning. See 15:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:47 15:42:47 Login Succeeded 15:42:47 nexus3.edgexfoundry.org:10002 15:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:47 Configure a credential helper to remove this warning. See 15:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:47 15:42:47 Login Succeeded 15:42:47 nexus3.edgexfoundry.org:10003 15:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:47 Configure a credential helper to remove this warning. See 15:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:47 15:42:47 Login Succeeded 15:42:47 nexus3.edgexfoundry.org:10004 15:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:47 Configure a credential helper to remove this warning. See 15:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:47 15:42:47 Login Succeeded 15:42:47 docker.io 15:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:48 Configure a credential helper to remove this warning. See 15:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:48 15:42:48 Login Succeeded 15:42:48 ---> docker-login.sh ends [Pipeline] } 15:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:48 ========================================================= 15:42:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:42:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:42:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:42:48 Sending build context to Docker daemon 5.35MB 15:42:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:42:48 Step 2/12 : FROM ${BASE} AS builder 15:42:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:42:48 59bf1c3509f3: Pulling fs layer 15:42:48 666ba61612fd: Pulling fs layer 15:42:48 8ed8ca486205: Pulling fs layer 15:42:48 4fe6c5a15a65: Pulling fs layer 15:42:48 22a0e8bec74d: Pulling fs layer 15:42:48 ca2b28591e48: Pulling fs layer 15:42:48 a51346096db8: Pulling fs layer 15:42:48 daebc70d1ce1: Pulling fs layer 15:42:48 0e18a0eac166: Pulling fs layer 15:42:48 22a0e8bec74d: Waiting 15:42:48 4fe6c5a15a65: Waiting 15:42:48 ca2b28591e48: Waiting 15:42:48 a51346096db8: Waiting 15:42:48 daebc70d1ce1: Waiting 15:42:48 0e18a0eac166: Waiting 15:42:48 8ed8ca486205: Verifying Checksum 15:42:48 8ed8ca486205: Download complete 15:42:48 666ba61612fd: Verifying Checksum 15:42:48 666ba61612fd: Download complete 15:42:48 22a0e8bec74d: Verifying Checksum 15:42:48 22a0e8bec74d: Download complete 15:42:48 ca2b28591e48: Verifying Checksum 15:42:48 ca2b28591e48: Download complete 15:42:48 59bf1c3509f3: Download complete 15:42:48 a51346096db8: Download complete 15:42:48 daebc70d1ce1: Verifying Checksum 15:42:48 daebc70d1ce1: Download complete 15:42:48 59bf1c3509f3: Pull complete 15:42:48 666ba61612fd: Pull complete 15:42:48 8ed8ca486205: Pull complete 15:42:49 0e18a0eac166: Verifying Checksum 15:42:49 0e18a0eac166: Download complete 15:42:49 4fe6c5a15a65: Download complete 15:42:53 4fe6c5a15a65: Pull complete 15:42:53 22a0e8bec74d: Pull complete 15:42:53 ca2b28591e48: Pull complete 15:42:53 a51346096db8: Pull complete 15:42:53 daebc70d1ce1: Pull complete 15:42:56 0e18a0eac166: Pull complete 15:42:56 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:42:56 ---> f018257e8ee9 15:42:56 Step 3/12 : ARG MAKE='make build' 15:42:57 ---> Running in 6af9d39be919 15:42:57 Removing intermediate container 6af9d39be919 15:42:57 ---> 28f041712887 15:42:57 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:42:57 ---> Running in 9b333a177b99 15:42:57 Removing intermediate container 9b333a177b99 15:42:57 ---> 7b9084093ad1 15:42:57 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:42:57 ---> Running in 6a4f8795db1f 15:42:57 Removing intermediate container 6a4f8795db1f 15:42:57 ---> 9122cac3f3c8 15:42:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:58 ---> Running in c4e01c54a600 15:42:58 Removing intermediate container c4e01c54a600 15:42:58 ---> a2379e8bed26 15:42:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:58 ---> Running in 1a8d2fe07311 15:42:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:42:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:43:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:43:00 (2/4) Installing libedit (20210910.3.1-r0) 15:43:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:43:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:43:00 Executing busybox-1.34.1-r3.trigger 15:43:00 OK: 224 MiB in 56 packages 15:43:01 Removing intermediate container 1a8d2fe07311 15:43:01 ---> 1f317a14ec4c 15:43:01 Step 8/12 : WORKDIR /device-snmp-go 15:43:01 ---> Running in 143e5be79f65 15:43:01 Removing intermediate container 143e5be79f65 15:43:01 ---> 234a6428fdf7 15:43:01 Step 9/12 : COPY go.mod vendor* ./ 15:43:01 ---> 7e3789b5b06a 15:43:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:01 ---> Running in 06bf393e0879 15:43:01 Still waiting to schedule task 15:43:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63419’ 15:43:16 Removing intermediate container 06bf393e0879 15:43:16 ---> 28eb9079eebf 15:43:16 Step 11/12 : COPY . . 15:43:16 ---> cde292c0c568 15:43:16 Step 12/12 : RUN ${MAKE} 15:43:16 ---> Running in 5a2c25394054 15:43:16 noop 15:43:16 Removing intermediate container 5a2c25394054 15:43:16 ---> 0fc07787b99f 15:43:16 Successfully built 0fc07787b99f 15:43:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:43:17 + docker inspect -f . ci-base-image-x86_64 15:43:17 . [Pipeline] withDockerContainer 15:43:17 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:43: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 ******** ci-base-image-x86_64 cat 15:43:17 $ docker top 5f780cb2540a8dd7483eae7cf064f28c44d7c2614d8ef48a20618251a63bf000 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:17 + go version 15:43:17 go version go1.17.6 linux/amd64 [Pipeline] } 15:43:17 $ docker stop --time=1 5f780cb2540a8dd7483eae7cf064f28c44d7c2614d8ef48a20618251a63bf000 15:43:19 $ docker rm -f 5f780cb2540a8dd7483eae7cf064f28c44d7c2614d8ef48a20618251a63bf000 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:19 + docker inspect -f . ci-base-image-x86_64 15:43:19 . [Pipeline] withDockerContainer 15:43:19 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:43:19 $ 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 ******** ci-base-image-x86_64 cat 15:43:20 $ docker top b0dca3a34e040c5dac30ef0d6645edd6ee6141263da01237bc40740e9bcdf912 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:43:20 + make test 15:43:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:43:20 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:43:30 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:43:30 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 15:43:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:43:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:40 ./bin/test-attribution-txt.sh [Pipeline] echo 15:43:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:40 $ docker stop --time=1 b0dca3a34e040c5dac30ef0d6645edd6ee6141263da01237bc40740e9bcdf912 15:43:42 $ docker rm -f b0dca3a34e040c5dac30ef0d6645edd6ee6141263da01237bc40740e9bcdf912 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:43:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:43 + ls -al . 15:43:43 total 168 15:43:43 drwxrwxr-x 9 jenkins jenkins 4096 May 12 15:43 . 15:43:43 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:42 .. 15:43:43 -rw-rw-r-- 1 jenkins jenkins 6 May 12 15:42 .dockerignore 15:43:43 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:42 .git 15:43:43 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 .github 15:43:43 -rw-rw-r-- 1 jenkins jenkins 328 May 12 15:42 .gitignore 15:43:43 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:42 .golangci.yml 15:43:43 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:42 .semver 15:43:43 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 15:42 Attribution.txt 15:43:43 -rw-rw-r-- 1 jenkins jenkins 6948 May 12 15:42 CHANGELOG.md 15:43:43 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 15:42 Dockerfile 15:43:43 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:42 GOVERNANCE.md 15:43:43 -rw-rw-r-- 1 jenkins jenkins 656 May 12 15:42 Jenkinsfile 15:43:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:42 LICENSE 15:43:43 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 15:42 Makefile 15:43:43 -rw-rw-r-- 1 jenkins jenkins 620 May 12 15:42 OWNERS.md 15:43:43 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 15:42 README.md 15:43:43 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:42 VERSION 15:43:43 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:42 bin 15:43:43 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 cmd 15:43:43 -rw-r--r-- 1 jenkins jenkins 7631 May 12 15:43 coverage.out 15:43:43 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 15:42 go.mod 15:43:43 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 15:42 go.sum 15:43:43 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 internal 15:43:43 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 snap 15:43:43 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:42 version.go [Pipeline] isUnix [Pipeline] sh 15:43:44 + 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=7a984207ad216ad191b3ac0372c82a64ff54e9ba --label arch=amd64 --label version=2.2.0 . 15:43:44 Sending build context to Docker daemon 5.358MB 15:43:44 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:43:44 Step 2/24 : FROM ${BASE} AS builder 15:43:44 ---> 0fc07787b99f 15:43:44 Step 3/24 : ARG MAKE='make build' 15:43:44 ---> Running in 66dec8689e6c 15:43:44 Removing intermediate container 66dec8689e6c 15:43:44 ---> 66f91b3a428a 15:43:44 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:43:44 ---> Running in c5dd45c0f817 15:43:44 Removing intermediate container c5dd45c0f817 15:43:44 ---> 522597566836 15:43:44 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:43:44 ---> Running in f468558f32a1 15:43:44 Removing intermediate container f468558f32a1 15:43:44 ---> 31725eb31fd0 15:43:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:44 ---> Running in e13b7b17661d 15:43:45 Removing intermediate container e13b7b17661d 15:43:45 ---> c936d50beea6 15:43:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:45 ---> Running in 36b821eec4cd 15:43:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:43:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:43:46 OK: 224 MiB in 56 packages 15:43:46 Removing intermediate container 36b821eec4cd 15:43:46 ---> b1925c0e272f 15:43:46 Step 8/24 : WORKDIR /device-snmp-go 15:43:46 ---> Running in 6a90f42cce99 15:43:47 Removing intermediate container 6a90f42cce99 15:43:47 ---> e203c681e0d5 15:43:47 Step 9/24 : COPY go.mod vendor* ./ 15:43:47 ---> 9cb490e2dc20 15:43:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:47 ---> Running in c8d4d598ea13 15:43:48 Removing intermediate container c8d4d598ea13 15:43:48 ---> f7a181e87724 15:43:48 Step 11/24 : COPY . . 15:43:48 ---> 552420c68610 15:43:48 Step 12/24 : RUN ${MAKE} 15:43:48 ---> Running in e7700712d945 15:43:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 15:44:10 Removing intermediate container e7700712d945 15:44:10 ---> f805eb68542c 15:44:10 Step 13/24 : FROM alpine:3.14 15:44:10 3.14: Pulling from library/alpine 15:44:10 8663204ce13b: Pulling fs layer 15:44:10 8663204ce13b: Verifying Checksum 15:44:10 8663204ce13b: Download complete 15:44:10 8663204ce13b: Pull complete 15:44:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:44:10 Status: Downloaded newer image for alpine:3.14 15:44:10 ---> e04c818066af 15:44:10 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 15:44:10 ---> Running in 0aa846cca3bb 15:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:44:10 (1/6) Installing dumb-init (1.2.5-r1) 15:44:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:44:10 (3/6) Installing libsodium (1.0.18-r0) 15:44:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:44:10 (5/6) Installing libzmq (4.3.4-r0) 15:44:10 (6/6) Installing zeromq (4.3.4-r0) 15:44:10 Executing busybox-1.33.1-r7.trigger 15:44:10 OK: 8 MiB in 20 packages 15:44:10 Removing intermediate container 0aa846cca3bb 15:44:10 ---> 0a4c0f69013a 15:44:10 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:44:11 ---> 3a365ace9f82 15:44:11 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:44:11 ---> 531a6b030dc1 15:44:11 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:44:11 ---> 4b0bb1157b88 15:44:11 Step 18/24 : EXPOSE 59993 15:44:11 ---> Running in 0c6dd421ea67 15:44:11 Removing intermediate container 0c6dd421ea67 15:44:11 ---> d0b444daf436 15:44:11 Step 19/24 : EXPOSE 161 15:44:11 ---> Running in 72735e43cc85 15:44:11 Removing intermediate container 72735e43cc85 15:44:11 ---> c04ad636c086 15:44:11 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:44:11 ---> Running in e4a70d028ac5 15:44:11 Removing intermediate container e4a70d028ac5 15:44:11 ---> b097d88fc791 15:44:11 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:44:11 ---> Running in 0427caafe7c4 15:44:11 Removing intermediate container 0427caafe7c4 15:44:11 ---> 335ec4952135 15:44:11 Step 22/24 : LABEL arch=amd64 15:44:12 ---> Running in ffab36d467a4 15:44:12 Removing intermediate container ffab36d467a4 15:44:12 ---> 4556bd4767ce 15:44:12 Step 23/24 : LABEL git_sha=7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:44:12 ---> Running in 2f41637a350c 15:44:12 Removing intermediate container 2f41637a350c 15:44:12 ---> 1976373dfe7f 15:44:12 Step 24/24 : LABEL version=2.2.0 15:44:12 ---> Running in ebb5bad05c08 15:44:12 Removing intermediate container ebb5bad05c08 15:44:12 ---> aa82b95f643a 15:44:12 [Warning] One or more build-args [ARCH] were not consumed 15:44:12 Successfully built aa82b95f643a 15:44:12 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:12 provisioning config files... 15:44:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3247617739046776833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:12 ---> docker-login.sh 15:44:12 nexus3.edgexfoundry.org:10001 15:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:12 Configure a credential helper to remove this warning. See 15:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:12 15:44:12 Login Succeeded 15:44:12 nexus3.edgexfoundry.org:10002 15:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:12 Configure a credential helper to remove this warning. See 15:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:12 15:44:12 Login Succeeded 15:44:13 nexus3.edgexfoundry.org:10003 15:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:13 Configure a credential helper to remove this warning. See 15:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:13 15:44:13 Login Succeeded 15:44:13 nexus3.edgexfoundry.org:10004 15:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:13 Configure a credential helper to remove this warning. See 15:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:13 15:44:13 Login Succeeded 15:44:13 docker.io 15:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:13 Configure a credential helper to remove this warning. See 15:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:13 15:44:13 Login Succeeded 15:44:13 ---> docker-login.sh ends [Pipeline] } 15:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:44:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:13 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 15:44:13 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:44:13 latest 15:44:13 2.2.0 15:44:13 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 15:44:13 main 15:44:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:44:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] isUnix [Pipeline] sh 15:44:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:44:14 ee25109558ec: Preparing 15:44:14 003b5edd5444: Preparing 15:44:14 8409291ee107: Preparing 15:44:14 9072546be3ac: Preparing 15:44:14 b541d28bf3b4: Preparing 15:44:14 b541d28bf3b4: Layer already exists 15:44:14 ee25109558ec: Pushed 15:44:14 003b5edd5444: Pushed 15:44:14 9072546be3ac: Pushed 15:44:17 8409291ee107: Pushed 15:44:17 7a984207ad216ad191b3ac0372c82a64ff54e9ba: digest: sha256:487633c538bc1c10eccfe3cefac9d1d955924e9b1195b075ef5fe8cd6cfaadfc size: 1367 [Pipeline] isUnix [Pipeline] sh 15:44:17 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 15:44:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 15:44:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:44:17 ee25109558ec: Preparing 15:44:17 003b5edd5444: Preparing 15:44:17 8409291ee107: Preparing 15:44:17 9072546be3ac: Preparing 15:44:17 b541d28bf3b4: Preparing 15:44:17 ee25109558ec: Layer already exists 15:44:17 8409291ee107: Layer already exists 15:44:17 003b5edd5444: Layer already exists 15:44:17 b541d28bf3b4: Layer already exists 15:44:17 9072546be3ac: Layer already exists 15:44:17 latest: digest: sha256:487633c538bc1c10eccfe3cefac9d1d955924e9b1195b075ef5fe8cd6cfaadfc size: 1367 [Pipeline] isUnix [Pipeline] sh 15:44:18 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0 [Pipeline] isUnix [Pipeline] sh 15:44:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0 15:44:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:44:18 ee25109558ec: Preparing 15:44:18 003b5edd5444: Preparing 15:44:18 8409291ee107: Preparing 15:44:18 9072546be3ac: Preparing 15:44:18 b541d28bf3b4: Preparing 15:44:18 ee25109558ec: Layer already exists 15:44:18 9072546be3ac: Layer already exists 15:44:18 8409291ee107: Layer already exists 15:44:18 b541d28bf3b4: Layer already exists 15:44:18 003b5edd5444: Layer already exists 15:44:18 2.2.0: digest: sha256:487633c538bc1c10eccfe3cefac9d1d955924e9b1195b075ef5fe8cd6cfaadfc size: 1367 [Pipeline] isUnix [Pipeline] sh 15:44:18 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 [Pipeline] isUnix [Pipeline] sh 15:44:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 15:44:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:44:19 ee25109558ec: Preparing 15:44:19 003b5edd5444: Preparing 15:44:19 8409291ee107: Preparing 15:44:19 9072546be3ac: Preparing 15:44:19 b541d28bf3b4: Preparing 15:44:19 b541d28bf3b4: Layer already exists 15:44:19 ee25109558ec: Layer already exists 15:44:19 003b5edd5444: Layer already exists 15:44:19 9072546be3ac: Layer already exists 15:44:19 8409291ee107: Layer already exists 15:44:19 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0: digest: sha256:487633c538bc1c10eccfe3cefac9d1d955924e9b1195b075ef5fe8cd6cfaadfc size: 1367 [Pipeline] isUnix [Pipeline] sh 15:44:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 15:44:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 15:44:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:44:19 ee25109558ec: Preparing 15:44:19 003b5edd5444: Preparing 15:44:19 8409291ee107: Preparing 15:44:19 9072546be3ac: Preparing 15:44:19 b541d28bf3b4: Preparing 15:44:19 003b5edd5444: Layer already exists 15:44:19 9072546be3ac: Layer already exists 15:44:19 8409291ee107: Layer already exists 15:44:19 ee25109558ec: Layer already exists 15:44:19 b541d28bf3b4: Layer already exists 15:44:19 main: digest: sha256:487633c538bc1c10eccfe3cefac9d1d955924e9b1195b075ef5fe8cd6cfaadfc size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:44:19 ===================================================== [Pipeline] echo 15:44:19 taggedImages: 15:44:19 - nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:44:19 - nexus3.edgexfoundry.org:10004/device-snmp:latest 15:44:19 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0 15:44:19 - nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 15:44:19 - 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] sh 15:44:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:20 15:44:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:44:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:20 latest: Pulling from edgex-lftools-log-publisher 15:44:20 5eb5b503b376: Pulling fs layer 15:44:20 5c69ac0246d0: Pulling fs layer 15:44:20 ec43610c2a17: Pulling fs layer 15:44:20 3a2ae6a8a46f: Pulling fs layer 15:44:20 33b1e0a273af: Pulling fs layer 15:44:20 5d3b04190fa2: Pulling fs layer 15:44:20 2f39f015ded8: Pulling fs layer 15:44:20 5d3b04190fa2: Waiting 15:44:20 33b1e0a273af: Waiting 15:44:20 3a2ae6a8a46f: Waiting 15:44:20 5c69ac0246d0: Download complete 15:44:20 3a2ae6a8a46f: Verifying Checksum 15:44:20 3a2ae6a8a46f: Download complete 15:44:20 33b1e0a273af: Verifying Checksum 15:44:20 33b1e0a273af: Download complete 15:44:20 5d3b04190fa2: Verifying Checksum 15:44:20 5d3b04190fa2: Download complete 15:44:20 ec43610c2a17: Verifying Checksum 15:44:20 ec43610c2a17: Download complete 15:44:20 5eb5b503b376: Verifying Checksum 15:44:20 5eb5b503b376: Download complete 15:44:21 2f39f015ded8: Download complete 15:44:21 5eb5b503b376: Pull complete 15:44:22 5c69ac0246d0: Pull complete 15:44:22 ec43610c2a17: Pull complete 15:44:22 3a2ae6a8a46f: Pull complete 15:44:22 33b1e0a273af: Pull complete 15:44:22 5d3b04190fa2: Pull complete 15:44:28 2f39f015ded8: Pull complete 15:44:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:44:28 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:44:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:44:31 $ docker top 9436648b0cbd84e0a72bcd78ab7f19efe7b6b65327e4b6ffd32bfc3c146a9fec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:31 ---> job-cost.sh 15:44:31 lf-activate-venv: SKIPPING 15:44:31 INFO: No Stack... 15:44:31 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:32 INFO: Archiving Costs [Pipeline] sh 15:44:32 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 15:44:32 + cut -d, -f6 [Pipeline] lock 15:44:32 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] 15:44:32 Resource [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] did not exist. Created. 15:44:32 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:44:33 + echo total: 0.2199999988079071 [Pipeline] stash 15:44:33 Stashed 1 file(s) [Pipeline] } 15:44:33 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 15:44:33 $ docker stop --time=1 9436648b0cbd84e0a72bcd78ab7f19efe7b6b65327e4b6ffd32bfc3c146a9fec 15:44:34 $ docker rm -f 9436648b0cbd84e0a72bcd78ab7f19efe7b6b65327e4b6ffd32bfc3c146a9fec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:46:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63423 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 15:46:13 Running in /w/workspace/device-snmp-go/30 [Pipeline] { [Pipeline] checkout 15:46:14 Selected Git installation does not exist. Using Default 15:46:14 The recommended git tool is: NONE 15:46:21 using credential edgex-jenkins-ssh 15:46:21 Cloning the remote Git repository 15:46:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:46:21 > git init /w/workspace/device-snmp-go/30 # timeout=10 15:46:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:46:21 > git --version # timeout=10 15:46:21 > git --version # 'git version 2.25.1' 15:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:46:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:22 Avoid second fetch 15:46:22 Checking out Revision 7a984207ad216ad191b3ac0372c82a64ff54e9ba (main) 15:46:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:46:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:22 > git config core.sparsecheckout # timeout=10 15:46:22 > git checkout -f 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 15:46:26 Commit message: "Merge pull request #171 from iain-anderson/changelog-fixup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:46:27 % Total % Received % Xferd Average Speed Time Time Time Current 15:46:27 Dload Upload Total Spent Left Speed 15:46:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 15:46:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:46:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:46:28 + sudo tee /etc/docker/daemon.new 15:46:28 { 15:46:28 "registry-mirrors": [ 15:46:28 "https://nexus3.edgexfoundry.org:10001" 15:46:28 ], 15:46:28 "bip": "10.250.0.254/24", 15:46:28 "hosts": [ 15:46:28 "tcp://0.0.0.0:5555", 15:46:28 "unix:///var/run/docker.sock" 15:46:28 ], 15:46:28 "mtu": 1458, 15:46:28 "selinux-enabled": true, 15:46:28 "seccomp-profile": "/etc/docker/seccomp.json" 15:46:28 } [Pipeline] sh 15:46:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:46:29 + sudo service docker restart [Pipeline] sh 15:46:48 + git checkout 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:46:48 HEAD is now at 7a98420 Merge pull request #171 from iain-anderson/changelog-fixup [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:48 provisioning config files... 15:46:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/30@tmp/config2439301534793464483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:48 ---> docker-login.sh 15:46:48 nexus3.edgexfoundry.org:10001 15:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:49 Configure a credential helper to remove this warning. See 15:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:49 15:46:49 Login Succeeded 15:46:49 nexus3.edgexfoundry.org:10002 15:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:49 Configure a credential helper to remove this warning. See 15:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:49 15:46:49 Login Succeeded 15:46:49 nexus3.edgexfoundry.org:10003 15:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:50 Configure a credential helper to remove this warning. See 15:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:50 15:46:50 Login Succeeded 15:46:50 nexus3.edgexfoundry.org:10004 15:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:50 Configure a credential helper to remove this warning. See 15:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:50 15:46:50 Login Succeeded 15:46:51 docker.io 15:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:51 Configure a credential helper to remove this warning. See 15:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:51 15:46:51 Login Succeeded 15:46:51 ---> docker-login.sh ends [Pipeline] } 15:46:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:46:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:52 ========================================================= 15:46:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:46:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:46:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:46:52 Sending build context to Docker daemon 2.766MB 15:46:52 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:46:52 Step 2/12 : FROM ${BASE} AS builder 15:46:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:46:53 9b3977197b4f: Pulling fs layer 15:46:53 1a89e8eeedd5: Pulling fs layer 15:46:53 94645a83ff95: Pulling fs layer 15:46:53 3f3a8bcf1eab: Pulling fs layer 15:46:53 0c92f367c5e7: Pulling fs layer 15:46:53 3096ccb668a1: Pulling fs layer 15:46:53 e8cf19c19ddd: Pulling fs layer 15:46:53 a4caa8a26152: Pulling fs layer 15:46:53 3f3a8bcf1eab: Waiting 15:46:53 3096ccb668a1: Waiting 15:46:53 0c92f367c5e7: Waiting 15:46:53 e8cf19c19ddd: Waiting 15:46:53 a4caa8a26152: Waiting 15:46:53 94645a83ff95: Verifying Checksum 15:46:53 94645a83ff95: Download complete 15:46:53 1a89e8eeedd5: Verifying Checksum 15:46:53 1a89e8eeedd5: Download complete 15:46:53 0c92f367c5e7: Verifying Checksum 15:46:53 0c92f367c5e7: Download complete 15:46:53 9b3977197b4f: Download complete 15:46:53 3096ccb668a1: Verifying Checksum 15:46:53 3096ccb668a1: Download complete 15:46:53 e8cf19c19ddd: Verifying Checksum 15:46:53 e8cf19c19ddd: Download complete 15:46:53 9b3977197b4f: Pull complete 15:46:54 1a89e8eeedd5: Pull complete 15:46:54 94645a83ff95: Pull complete 15:46:55 a4caa8a26152: Verifying Checksum 15:46:55 a4caa8a26152: Download complete 15:46:55 3f3a8bcf1eab: Verifying Checksum 15:46:55 3f3a8bcf1eab: Download complete 15:47:08 3f3a8bcf1eab: Pull complete 15:47:08 0c92f367c5e7: Pull complete 15:47:08 3096ccb668a1: Pull complete 15:47:08 e8cf19c19ddd: Pull complete 15:47:13 a4caa8a26152: Pull complete 15:47:13 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:47:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:47:13 ---> 725f1c02e7f9 15:47:13 Step 3/12 : ARG MAKE='make build' 15:47:14 ---> Running in 51ebdb327e5c 15:47:14 Removing intermediate container 51ebdb327e5c 15:47:14 ---> 9bc981cdca1e 15:47:14 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:47:14 ---> Running in c10f1298a00d 15:47:15 Removing intermediate container c10f1298a00d 15:47:15 ---> 49f51011bb3b 15:47:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:47:15 ---> Running in a837de3ad410 15:47:15 Removing intermediate container a837de3ad410 15:47:15 ---> f76459d62d6c 15:47:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:47:15 ---> Running in 1749fdcf7692 15:47:17 Removing intermediate container 1749fdcf7692 15:47:17 ---> c0bac0facc70 15:47:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:47:17 ---> Running in 2534416b77a9 15:47:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:47:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:47:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:47:20 (2/4) Installing libedit (20210910.3.1-r0) 15:47:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:47:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:47:20 Executing busybox-1.34.1-r3.trigger 15:47:20 OK: 224 MiB in 56 packages 15:47:21 Removing intermediate container 2534416b77a9 15:47:21 ---> 0d029e791fe9 15:47:21 Step 8/12 : WORKDIR /device-snmp-go 15:47:22 ---> Running in 35e272eaf792 15:47:22 Removing intermediate container 35e272eaf792 15:47:22 ---> 5176180df87a 15:47:22 Step 9/12 : COPY go.mod vendor* ./ 15:47:22 ---> bf044c0b497e 15:47:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:22 ---> Running in b16d6126aa2f 15:48:09 Removing intermediate container b16d6126aa2f 15:48:09 ---> 30f0a69d4f5d 15:48:09 Step 11/12 : COPY . . 15:48:09 ---> c698f33a8af9 15:48:09 Step 12/12 : RUN ${MAKE} 15:48:09 ---> Running in 171c5182ba40 15:48:09 noop 15:48:09 Removing intermediate container 171c5182ba40 15:48:09 ---> d98c7b1a2501 15:48:09 Successfully built d98c7b1a2501 15:48:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:48:10 + docker inspect -f . ci-base-image-arm64 15:48:10 . [Pipeline] withDockerContainer 15:48:10 prd-ubuntu20.04-docker-arm64-4c-16g-63423 does not seem to be running inside a container 15:48:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/30 -v /w/workspace/device-snmp-go/30:/w/workspace/device-snmp-go/30:rw,z -v /w/workspace/device-snmp-go/30@tmp:/w/workspace/device-snmp-go/30@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 15:48:11 $ docker top 57f2fc8565f90ef8ebf329de466efb329655a8d260903b2587080f64c0139f4c -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:12 + go version 15:48:12 go version go1.17.6 linux/arm64 [Pipeline] } 15:48:12 $ docker stop --time=1 57f2fc8565f90ef8ebf329de466efb329655a8d260903b2587080f64c0139f4c 15:48:14 $ docker rm -f 57f2fc8565f90ef8ebf329de466efb329655a8d260903b2587080f64c0139f4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:48:15 + docker inspect -f . ci-base-image-arm64 15:48:15 . [Pipeline] withDockerContainer 15:48:15 prd-ubuntu20.04-docker-arm64-4c-16g-63423 does not seem to be running inside a container 15:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/30 -v /w/workspace/device-snmp-go/30:/w/workspace/device-snmp-go/30:rw,z -v /w/workspace/device-snmp-go/30@tmp:/w/workspace/device-snmp-go/30@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 15:48:16 $ docker top abe5a247c3b3c7055ebb845fca9cbd195b90628565746fc83d7b37f726e8a904 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:48:17 + make test 15:48:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:48:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:49:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:49:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements 15:49:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:49:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:50:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:50:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:50:07 ./bin/test-attribution-txt.sh [Pipeline] echo 15:50:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:50:08 $ docker stop --time=1 abe5a247c3b3c7055ebb845fca9cbd195b90628565746fc83d7b37f726e8a904 15:50:09 $ docker rm -f abe5a247c3b3c7055ebb845fca9cbd195b90628565746fc83d7b37f726e8a904 [Pipeline] // withDockerContainer [Pipeline] sh 15:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:50:10 Warning: overwriting stash ‘coverage-report’ 15:50:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:50:12 + ls -al . 15:50:12 total 164 15:50:12 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:50 . 15:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:46 .. 15:50:12 -rw-rw-r-- 1 jenkins jenkins 6 May 12 15:46 .dockerignore 15:50:12 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:46 .git 15:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:46 .github 15:50:12 -rw-rw-r-- 1 jenkins jenkins 328 May 12 15:46 .gitignore 15:50:12 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:46 .golangci.yml 15:50:12 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 15:46 Attribution.txt 15:50:12 -rw-rw-r-- 1 jenkins jenkins 6948 May 12 15:46 CHANGELOG.md 15:50:12 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 15:46 Dockerfile 15:50:12 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:46 GOVERNANCE.md 15:50:12 -rw-rw-r-- 1 jenkins jenkins 656 May 12 15:46 Jenkinsfile 15:50:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:46 LICENSE 15:50:12 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 15:46 Makefile 15:50:12 -rw-rw-r-- 1 jenkins jenkins 620 May 12 15:46 OWNERS.md 15:50:12 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 15:46 README.md 15:50:12 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:42 VERSION 15:50:12 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:46 bin 15:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:46 cmd 15:50:12 -rw-r--r-- 1 jenkins jenkins 7631 May 12 15:49 coverage.out 15:50:12 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 15:46 go.mod 15:50:12 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 15:46 go.sum 15:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:46 internal 15:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:46 snap 15:50:12 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:46 version.go [Pipeline] isUnix [Pipeline] sh 15:50:12 + 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=7a984207ad216ad191b3ac0372c82a64ff54e9ba --label arch=arm64 --label version=2.2.0 . 15:50:12 Sending build context to Docker daemon 2.775MB 15:50:12 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:50:12 Step 2/24 : FROM ${BASE} AS builder 15:50:12 ---> d98c7b1a2501 15:50:12 Step 3/24 : ARG MAKE='make build' 15:50:13 ---> Running in 5a989babfaf9 15:50:13 Removing intermediate container 5a989babfaf9 15:50:13 ---> f7077f135620 15:50:13 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:50:13 ---> Running in ceda232aebbc 15:50:13 Removing intermediate container ceda232aebbc 15:50:13 ---> 8b14f27cf3d9 15:50:13 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:50:13 ---> Running in f7428d29bcc4 15:50:14 Removing intermediate container f7428d29bcc4 15:50:14 ---> c76e7a44cb85 15:50:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:50:14 ---> Running in 3c815c82d3d7 15:50:16 Removing intermediate container 3c815c82d3d7 15:50:16 ---> e749b0b0b796 15:50:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:16 ---> Running in 17631812945b 15:50:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:50:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:50:18 OK: 224 MiB in 56 packages 15:50:19 Removing intermediate container 17631812945b 15:50:19 ---> 455d3892f6af 15:50:19 Step 8/24 : WORKDIR /device-snmp-go 15:50:19 ---> Running in dfeeea5ded6a 15:50:19 Removing intermediate container dfeeea5ded6a 15:50:19 ---> cde44648507c 15:50:19 Step 9/24 : COPY go.mod vendor* ./ 15:50:20 ---> 3b5cbcfdf835 15:50:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:20 ---> Running in 84d7761c1502 15:50:22 Removing intermediate container 84d7761c1502 15:50:22 ---> cc49362eddf5 15:50:22 Step 11/24 : COPY . . 15:50:23 ---> df95832892d0 15:50:23 Step 12/24 : RUN ${MAKE} 15:50:23 ---> Running in 60944c3dce4c 15:50:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 15:52:31 Removing intermediate container 60944c3dce4c 15:52:31 ---> 1777c7b3c89d 15:52:31 Step 13/24 : FROM alpine:3.14 15:52:31 3.14: Pulling from library/alpine 15:52:31 455c02918c45: Pulling fs layer 15:52:31 455c02918c45: Verifying Checksum 15:52:31 455c02918c45: Download complete 15:52:31 455c02918c45: Pull complete 15:52:31 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:52:31 Status: Downloaded newer image for alpine:3.14 15:52:31 ---> ac73e934f311 15:52:31 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 15:52:31 ---> Running in 2671fe73797a 15:52:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:52:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:52:31 (1/6) Installing dumb-init (1.2.5-r1) 15:52:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:52:31 (3/6) Installing libsodium (1.0.18-r0) 15:52:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:52:31 (5/6) Installing libzmq (4.3.4-r0) 15:52:31 (6/6) Installing zeromq (4.3.4-r0) 15:52:31 Executing busybox-1.33.1-r7.trigger 15:52:31 OK: 8 MiB in 20 packages 15:52:31 Removing intermediate container 2671fe73797a 15:52:31 ---> f3dfc3ca2fee 15:52:31 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:52:31 ---> 0200ed3d8727 15:52:31 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:52:31 ---> 5a87b943a49f 15:52:31 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:52:31 ---> 5f6938d32aa2 15:52:31 Step 18/24 : EXPOSE 59993 15:52:31 ---> Running in 77db5b60d8d7 15:52:31 Removing intermediate container 77db5b60d8d7 15:52:31 ---> 1b452a18c47d 15:52:31 Step 19/24 : EXPOSE 161 15:52:31 ---> Running in bf572ce5cb57 15:52:31 Removing intermediate container bf572ce5cb57 15:52:31 ---> 33ba3e15b85f 15:52:31 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:52:31 ---> Running in 360ece966698 15:52:31 Removing intermediate container 360ece966698 15:52:31 ---> 7f14ba2bb3e9 15:52:31 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:52:31 ---> Running in 3382d939bca9 15:52:31 Removing intermediate container 3382d939bca9 15:52:31 ---> f1a055d21634 15:52:31 Step 22/24 : LABEL arch=arm64 15:52:31 ---> Running in 1e427b0a7be1 15:52:31 Removing intermediate container 1e427b0a7be1 15:52:31 ---> a9b0f2225d0b 15:52:31 Step 23/24 : LABEL git_sha=7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:52:31 ---> Running in c403818650b1 15:52:31 Removing intermediate container c403818650b1 15:52:31 ---> e268d04758a5 15:52:31 Step 24/24 : LABEL version=2.2.0 15:52:31 ---> Running in b2de651186cf 15:52:31 Removing intermediate container b2de651186cf 15:52:31 ---> 65d04c3e1793 15:52:31 [Warning] One or more build-args [ARCH] were not consumed 15:52:31 Successfully built 65d04c3e1793 15:52:31 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:31 provisioning config files... 15:52:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/30@tmp/config1787706235127034184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:32 ---> docker-login.sh 15:52:32 nexus3.edgexfoundry.org:10001 15:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:32 Configure a credential helper to remove this warning. See 15:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:32 15:52:32 Login Succeeded 15:52:32 nexus3.edgexfoundry.org:10002 15:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:32 Configure a credential helper to remove this warning. See 15:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:32 15:52:32 Login Succeeded 15:52:32 nexus3.edgexfoundry.org:10003 15:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:33 Configure a credential helper to remove this warning. See 15:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:33 15:52:33 Login Succeeded 15:52:33 nexus3.edgexfoundry.org:10004 15:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:33 Configure a credential helper to remove this warning. See 15:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:33 15:52:33 Login Succeeded 15:52:33 docker.io 15:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:34 Configure a credential helper to remove this warning. See 15:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:34 15:52:34 Login Succeeded 15:52:34 ---> docker-login.sh ends [Pipeline] } 15:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:34 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 15:52:34 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:52:34 latest 15:52:34 2.2.0 15:52:34 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 15:52:34 main 15:52:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:35 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] isUnix [Pipeline] sh 15:52:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:52:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:52:35 d163c078a599: Preparing 15:52:35 eefd3d2001ea: Preparing 15:52:35 00de7c29fc99: Preparing 15:52:35 0f915a8fe827: Preparing 15:52:35 f73e7dbfee58: Preparing 15:52:35 f73e7dbfee58: Layer already exists 15:52:35 eefd3d2001ea: Pushed 15:52:35 d163c078a599: Pushed 15:52:36 0f915a8fe827: Pushed 15:52:41 00de7c29fc99: Pushed 15:52:41 7a984207ad216ad191b3ac0372c82a64ff54e9ba: digest: sha256:e50fa870c6f4deed056e440a8ea54586d6165fad3999097a5a8c61ad3dacdb29 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:42 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:52:42 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:52:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:52:42 d163c078a599: Preparing 15:52:42 eefd3d2001ea: Preparing 15:52:42 00de7c29fc99: Preparing 15:52:42 0f915a8fe827: Preparing 15:52:42 f73e7dbfee58: Preparing 15:52:42 d163c078a599: Layer already exists 15:52:42 eefd3d2001ea: Layer already exists 15:52:42 f73e7dbfee58: Layer already exists 15:52:42 0f915a8fe827: Layer already exists 15:52:42 00de7c29fc99: Layer already exists 15:52:42 latest: digest: sha256:e50fa870c6f4deed056e440a8ea54586d6165fad3999097a5a8c61ad3dacdb29 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:43 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh 15:52:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0 15:52:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:52:43 d163c078a599: Preparing 15:52:43 eefd3d2001ea: Preparing 15:52:43 00de7c29fc99: Preparing 15:52:43 0f915a8fe827: Preparing 15:52:43 f73e7dbfee58: Preparing 15:52:43 f73e7dbfee58: Layer already exists 15:52:43 d163c078a599: Layer already exists 15:52:43 00de7c29fc99: Layer already exists 15:52:43 eefd3d2001ea: Layer already exists 15:52:43 0f915a8fe827: Layer already exists 15:52:43 2.2.0: digest: sha256:e50fa870c6f4deed056e440a8ea54586d6165fad3999097a5a8c61ad3dacdb29 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:44 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 [Pipeline] isUnix [Pipeline] sh 15:52:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 15:52:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:52:44 d163c078a599: Preparing 15:52:44 eefd3d2001ea: Preparing 15:52:44 00de7c29fc99: Preparing 15:52:44 0f915a8fe827: Preparing 15:52:44 f73e7dbfee58: Preparing 15:52:44 0f915a8fe827: Layer already exists 15:52:44 eefd3d2001ea: Layer already exists 15:52:44 f73e7dbfee58: Layer already exists 15:52:44 d163c078a599: Layer already exists 15:52:44 00de7c29fc99: Layer already exists 15:52:44 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0: digest: sha256:e50fa870c6f4deed056e440a8ea54586d6165fad3999097a5a8c61ad3dacdb29 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:45 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 15:52:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 15:52:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:52:45 d163c078a599: Preparing 15:52:45 eefd3d2001ea: Preparing 15:52:45 00de7c29fc99: Preparing 15:52:45 0f915a8fe827: Preparing 15:52:45 f73e7dbfee58: Preparing 15:52:45 f73e7dbfee58: Layer already exists 15:52:45 eefd3d2001ea: Layer already exists 15:52:45 00de7c29fc99: Layer already exists 15:52:45 0f915a8fe827: Layer already exists 15:52:45 d163c078a599: Layer already exists 15:52:45 main: digest: sha256:e50fa870c6f4deed056e440a8ea54586d6165fad3999097a5a8c61ad3dacdb29 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:45 ===================================================== [Pipeline] echo 15:52:45 taggedImages: 15:52:45 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:52:45 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:52:45 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0 15:52:45 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0 15:52:45 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:46 15:52:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:52:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:46 arm64: Pulling from edgex-lftools-log-publisher 15:52:46 8998bd30e6a1: Pulling fs layer 15:52:46 04944245beec: Pulling fs layer 15:52:46 699f458cf7ca: Pulling fs layer 15:52:46 765212b225bb: Pulling fs layer 15:52:46 f23df028b6ca: Pulling fs layer 15:52:46 d65c8cfc05b1: Pulling fs layer 15:52:46 2437ff75d9bd: Pulling fs layer 15:52:46 765212b225bb: Waiting 15:52:46 f23df028b6ca: Waiting 15:52:46 d65c8cfc05b1: Waiting 15:52:46 2437ff75d9bd: Waiting 15:52:46 04944245beec: Verifying Checksum 15:52:46 04944245beec: Download complete 15:52:46 765212b225bb: Verifying Checksum 15:52:46 765212b225bb: Download complete 15:52:46 f23df028b6ca: Download complete 15:52:46 d65c8cfc05b1: Download complete 15:52:47 699f458cf7ca: Verifying Checksum 15:52:47 699f458cf7ca: Download complete 15:52:47 8998bd30e6a1: Verifying Checksum 15:52:47 8998bd30e6a1: Download complete 15:52:50 2437ff75d9bd: Verifying Checksum 15:52:50 2437ff75d9bd: Download complete 15:52:51 8998bd30e6a1: Pull complete 15:52:52 04944245beec: Pull complete 15:52:53 699f458cf7ca: Pull complete 15:52:53 765212b225bb: Pull complete 15:52:54 f23df028b6ca: Pull complete 15:52:55 d65c8cfc05b1: Pull complete 15:53:10 2437ff75d9bd: Pull complete 15:53:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:53:10 prd-ubuntu20.04-docker-arm64-4c-16g-63423 does not seem to be running inside a container 15:53:10 $ 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/30 -v /w/workspace/device-snmp-go/30:/w/workspace/device-snmp-go/30:rw,z -v /w/workspace/device-snmp-go/30@tmp:/w/workspace/device-snmp-go/30@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 15:53:13 $ docker top e35b9096285c07fe1819df78a72d70165ce7e7bd587965cf24d76dedc5a3774f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:13 ---> job-cost.sh 15:53:13 lf-activate-venv: SKIPPING 15:53:13 INFO: No Stack... 15:53:14 INFO: Retrieving Pricing Info for: v3-standard-4 15:53:15 INFO: Archiving Costs [Pipeline] sh 15:53:15 + cat /w/workspace/device-snmp-go/30/archives/cost.csv 15:53:15 + cut -d, -f6 [Pipeline] lock 15:53:15 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] 15:53:15 Resource [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] did not exist. Created. 15:53:15 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:53:16 /w/workspace/device-snmp-go/30@tmp/durable-999d4f01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:53:17 + echo total: 0.10999999940395355 [Pipeline] stash 15:53:17 Warning: overwriting stash ‘stack-cost’ 15:53:17 Stashed 1 file(s) [Pipeline] } 15:53:17 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 15:53:17 $ docker stop --time=1 e35b9096285c07fe1819df78a72d70165ce7e7bd587965cf24d76dedc5a3774f 15:53:18 $ docker rm -f e35b9096285c07fe1819df78a72d70165ce7e7bd587965cf24d76dedc5a3774f [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 15:53:19 provisioning config files... 15:53:19 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5055245504544194711tmp [Pipeline] { [Pipeline] sh 15:53:19 + set +x 15:53:19 + + bash -s -- 15:53:19 curl -s https://codecov.io/bash 15:53:19 15:53:19 _____ _ 15:53:19 / ____| | | 15:53:19 | | ___ __| | ___ ___ _____ __ 15:53:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:53:19 | |___| (_) | (_| | __/ (_| (_) \ V / 15:53:19 \_____\___/ \__,_|\___|\___\___/ \_/ 15:53:19 Bash-1.0.6 15:53:19 15:53:19 15:53:19 ==> git version 2.25.1 found 15:53:19 ==> 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 15:53:19 Release-Date: 2020-01-08 15:53:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:53:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:53:19 ==> Jenkins CI detected. 15:53:19 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 15:53:19 project root: . 15:53:19 --> token set from env 15:53:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:53:19 ==> Running gcov in . (disable via -X gcov) 15:53:19 ==> Python coveragepy not found 15:53:19 ==> Searching for coverage reports in: 15:53:19 + . 15:53:19 -> Found 1 reports 15:53:19 ==> Detecting git/mercurial file structure 15:53:19 ==> Reading reports 15:53:19 + ./coverage.out bytes=7631 15:53:19 ==> Appending adjustments 15:53:19 https://docs.codecov.io/docs/fixing-reports 15:53:19 + Found adjustments 15:53:19 ==> Gzipping contents 15:53:19 4.0K /tmp/codecov.BvgK7w.gz 15:53:19 ==> Uploading reports 15:53:19 url: https://codecov.io 15:53:19 query: branch=main&commit=7a984207ad216ad191b3ac0372c82a64ff54e9ba&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:19 -> Pinging Codecov 15:53:19 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=7a984207ad216ad191b3ac0372c82a64ff54e9ba&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:20 -> Uploading to 15:53:20 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/7a984207ad216ad191b3ac0372c82a64ff54e9ba/e4a38fd3-4619-4c31-9fae-91620072f119.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T155319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=415c14f54b010d274ffdb3240deea9ffa5aa38002c27c0709bfcef3bf7f05874 15:53:20 % Total % Received % Xferd Average Speed Time Time Time Current 15:53:20 Dload Upload Total Spent Left Speed 15:53:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7891 --:--:-- --:--:-- --:--:-- 7891 15:53:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] } 15:53:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:53:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:53:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:53:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:20 15:53:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:53:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:53:21 188c0c94c7c5: Pulling fs layer 15:53:21 0ef7d3d256c8: Pulling fs layer 15:53:21 de9db76c5a1d: Pulling fs layer 15:53:21 0eba1c9be4d2: Pulling fs layer 15:53:21 0d57e429df01: Pulling fs layer 15:53:21 4e4be7b47b0d: Pulling fs layer 15:53:21 e1f770b5df2f: Pulling fs layer 15:53:21 85a0685a4137: Pulling fs layer 15:53:21 0eba1c9be4d2: Waiting 15:53:21 0d57e429df01: Waiting 15:53:21 e1f770b5df2f: Waiting 15:53:21 85a0685a4137: Waiting 15:53:21 de9db76c5a1d: Verifying Checksum 15:53:21 de9db76c5a1d: Download complete 15:53:21 0ef7d3d256c8: Download complete 15:53:21 0d57e429df01: Verifying Checksum 15:53:21 0d57e429df01: Download complete 15:53:21 4e4be7b47b0d: Verifying Checksum 15:53:21 4e4be7b47b0d: Download complete 15:53:21 188c0c94c7c5: Verifying Checksum 15:53:21 188c0c94c7c5: Download complete 15:53:21 188c0c94c7c5: Pull complete 15:53:21 e1f770b5df2f: Verifying Checksum 15:53:21 e1f770b5df2f: Download complete 15:53:21 0ef7d3d256c8: Pull complete 15:53:21 de9db76c5a1d: Pull complete 15:53:21 0eba1c9be4d2: Verifying Checksum 15:53:21 0eba1c9be4d2: Download complete 15:53:21 85a0685a4137: Verifying Checksum 15:53:21 85a0685a4137: Download complete 15:53:25 0eba1c9be4d2: Pull complete 15:53:25 0d57e429df01: Pull complete 15:53:25 4e4be7b47b0d: Pull complete 15:53:25 e1f770b5df2f: Pull complete 15:53:28 85a0685a4137: Pull complete 15:53:28 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:53:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:53:28 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:53:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:53:31 $ docker top 1816b79de4e45039a9d9398e0340d21340111782b6324939282ad594a457a37f -eo pid,comm [Pipeline] { [Pipeline] echo 15:53:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:53:31 + set -o pipefail 15:53:31 + snyk monitor '--org=edgex-jenkins' 15:53:37 15:53:37 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 15:53:37 15:53:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/ecc37540-273f-4d84-bc9e-e14f898994c1 15:53:37 15:53:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:53:37 15:53:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:53:37 15:53:37 [Pipeline] } 15:53:37 $ docker stop --time=1 1816b79de4e45039a9d9398e0340d21340111782b6324939282ad594a457a37f 15:53:39 $ docker rm -f 1816b79de4e45039a9d9398e0340d21340111782b6324939282ad594a457a37f [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 15:53:39 + git log --format=format:%s -1 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] sh 15:53:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:53:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:53:40 . [Pipeline] withDockerContainer 15:53:40 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:53:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:53:41 $ docker top f4b83e53cce1e88fd562eaa3673da1c9bf772aeed0f18e581c27ed72aa896810 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:53:41 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.19' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:41 + git semver [Pipeline] } 15:53:41 $ docker stop --time=1 f4b83e53cce1e88fd562eaa3673da1c9bf772aeed0f18e581c27ed72aa896810 15:53:43 $ docker rm -f f4b83e53cce1e88fd562eaa3673da1c9bf772aeed0f18e581c27ed72aa896810 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:43 15:53:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:53:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:43 0.23.1-centos7: Pulling from edgex-lftools 15:53:43 ab5ef0e58194: Pulling fs layer 15:53:43 9712f1f96733: Pulling fs layer 15:53:43 63f879dbbcfc: Pulling fs layer 15:53:43 0d9ebad4ef96: Pulling fs layer 15:53:43 e9a5061849ea: Pulling fs layer 15:53:43 d747dcd14b5f: Pulling fs layer 15:53:43 2de7ff778b66: Pulling fs layer 15:53:43 0d9ebad4ef96: Waiting 15:53:43 d747dcd14b5f: Waiting 15:53:43 e9a5061849ea: Waiting 15:53:43 2de7ff778b66: Waiting 15:53:43 9712f1f96733: Download complete 15:53:44 63f879dbbcfc: Verifying Checksum 15:53:44 63f879dbbcfc: Download complete 15:53:44 e9a5061849ea: Verifying Checksum 15:53:44 e9a5061849ea: Download complete 15:53:44 d747dcd14b5f: Verifying Checksum 15:53:44 d747dcd14b5f: Download complete 15:53:44 ab5ef0e58194: Verifying Checksum 15:53:44 ab5ef0e58194: Download complete 15:53:44 0d9ebad4ef96: Verifying Checksum 15:53:44 0d9ebad4ef96: Download complete 15:53:44 2de7ff778b66: Verifying Checksum 15:53:44 2de7ff778b66: Download complete 15:53:47 ab5ef0e58194: Pull complete 15:53:47 9712f1f96733: Pull complete 15:53:47 63f879dbbcfc: Pull complete 15:53:53 0d9ebad4ef96: Pull complete 15:53:53 e9a5061849ea: Pull complete 15:53:53 d747dcd14b5f: Pull complete 15:53:54 2de7ff778b66: Pull complete 15:53:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:53:54 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:53:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:53:56 $ docker top c51641afcefae6db75d0e6e8e0ea755aa0d88e924db76171b35974bc447faeb7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:53:56 provisioning config files... 15:53:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8656951843992776479tmp 15:53:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2026121463427353996tmp 15:53:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config600158482666423564tmp [Pipeline] { [Pipeline] echo 15:53:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:53:57 ---> sigul-configuration.sh 15:53:57 gpg: directory `/root/.gnupg' created 15:53:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:53:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:53:57 gpg: keyring `/root/.gnupg/secring.gpg' created 15:53:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:53:57 gpg: CAST5 encrypted data 15:53:57 gpg: encrypted with 1 passphrase 15:53:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:53:57 + mkdir /home/jenkins 15:53:57 + mkdir /home/jenkins/sigul [Pipeline] sh 15:53:57 + 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 15:53:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:53:58 ---> sigul-install.sh 15:53:58 Sigul already installed; skipping installation. [Pipeline] sh 15:53:58 + git tag --list 15:53:58 1.0.0 15:53:58 v0.0.0 15:53:58 v1.1.0 15:53:58 v1.1.1 15:53:58 v1.2.2 15:53:58 v1.3.0 15:53:58 v1.3.1 15:53:58 v2.0.0 15:53:58 v2.0.1-dev.1 15:53:58 v2.0.1-dev.2 15:53:58 v2.0.1-dev.3 15:53:58 v2.0.1-dev.4 15:53:58 v2.0.1-dev.5 15:53:58 v2.0.1-dev.6 15:53:58 v2.1.0 15:53:58 v2.2.0 15:53:58 v2.2.0-dev.1 15:53:58 v2.2.0-dev.10 15:53:58 v2.2.0-dev.11 15:53:58 v2.2.0-dev.12 15:53:58 v2.2.0-dev.13 15:53:58 v2.2.0-dev.14 15:53:58 v2.2.0-dev.15 15:53:58 v2.2.0-dev.16 15:53:58 v2.2.0-dev.17 15:53:58 v2.2.0-dev.18 15:53:58 v2.2.0-dev.19 15:53:58 v2.2.0-dev.2 15:53:58 v2.2.0-dev.3 15:53:58 v2.2.0-dev.4 15:53:58 v2.2.0-dev.5 15:53:58 v2.2.0-dev.6 15:53:58 v2.2.0-dev.7 15:53:58 v2.2.0-dev.8 15:53:58 v2.2.0-dev.9 [Pipeline] sh 15:53:58 + lftools sign git-tag v2.2.0 15:53:59 Signing Git tag with Sigul... 15:53:59 Signing v2.2.0 [Pipeline] echo 15:53:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:53:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:53:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:53:59 $ docker stop --time=1 c51641afcefae6db75d0e6e8e0ea755aa0d88e924db76171b35974bc447faeb7 15:54:01 $ docker rm -f c51641afcefae6db75d0e6e8e0ea755aa0d88e924db76171b35974bc447faeb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:54:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:54:01 . [Pipeline] withDockerContainer 15:54:01 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:54: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:54:02 $ docker top 44405c2a6db00404a2beecf88bb087de45af26f80bf69251330a393d208e506e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:54:02 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.19' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:02 + git semver [Pipeline] } 15:54:03 $ docker stop --time=1 44405c2a6db00404a2beecf88bb087de45af26f80bf69251330a393d208e506e 15:54:04 $ docker rm -f 44405c2a6db00404a2beecf88bb087de45af26f80bf69251330a393d208e506e [Pipeline] // withDockerContainer [Pipeline] sh 15:54:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:54:04 . [Pipeline] withDockerContainer 15:54:05 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:54:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:54:05 $ docker top 2d4be743940ec3ff5d666c217e9e6e90cdaf728938eb5a0de53ccdc45bd1ea52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:54:05 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.19' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:05 + git semver [Pipeline] } 15:54:06 $ docker stop --time=1 2d4be743940ec3ff5d666c217e9e6e90cdaf728938eb5a0de53ccdc45bd1ea52 15:54:07 $ docker rm -f 2d4be743940ec3ff5d666c217e9e6e90cdaf728938eb5a0de53ccdc45bd1ea52 [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 15:54:07 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 15:54:07 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:54:07 total 16 15:54:07 drwxr-xr-x 3 root root 4096 May 12 15:44 . 15:54:07 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:53 .. 15:54:07 drwxr-xr-x 2 root root 4096 May 12 15:44 cost 15:54:07 -rw-r--r-- 1 root root 84 May 12 15:44 cost.csv 15:54:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:54:07 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:54:07 total 16 15:54:07 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:44 . 15:54:07 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:53 .. 15:54:07 drwxr-xr-x 2 jenkins jenkins 4096 May 12 15:44 cost 15:54:07 -rw-r--r-- 1 jenkins jenkins 84 May 12 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:54:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:54:09 ---> package-listing.sh 15:54:09 ++ facter osfamily 15:54:09 ++ tr '[:upper:]' '[:lower:]' 15:54:09 + OS_FAMILY=debian 15:54:09 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 15:54:09 + START_PACKAGES=/tmp/packages_start.txt 15:54:09 + END_PACKAGES=/tmp/packages_end.txt 15:54:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:54:09 + PACKAGES=/tmp/packages_start.txt 15:54:09 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:54:09 + PACKAGES=/tmp/packages_end.txt 15:54:09 + case "${OS_FAMILY}" in 15:54:09 + dpkg -l 15:54:09 + grep '^ii' 15:54:09 + '[' -f /tmp/packages_start.txt ']' 15:54:09 + '[' -f /tmp/packages_end.txt ']' 15:54:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:54:09 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:54:09 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 15:54:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 15:54:09 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 15:54:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:54:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:10 . [Pipeline] withDockerContainer 15:54:10 prd-ubuntu20.04-docker-8c-8g-63421 does not seem to be running inside a container 15:54:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:54:10 $ docker top bc4da5d2aa6fbd7d1861753bbc283d28ea43a679e94295ce99b19012a2cf9b5c -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:10 + touch /tmp/pre-build-complete [Pipeline] sh 15:54:11 + mkdir -p /var/log/sysstat [Pipeline] sh 15:54:11 + ls /var/log/sa-host 15:54:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:11 provisioning config files... 15:54:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7689625749131149787tmp [Pipeline] { [Pipeline] echo 15:54:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:54:11 ---> create-netrc.sh [Pipeline] } 15:54:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:54:12 ---> python-tools-install.sh [Pipeline] echo 15:54:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:54:12 ---> sudo-logs.sh 15:54:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:54:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:54:12 ---> job-cost.sh 15:54:12 lf-activate-venv: SKIPPING 15:54:12 DEBUG: total: 0.2199999988079071 15:54:12 INFO: Retrieving Stack Cost... 15:54:13 INFO: Retrieving Pricing Info for: v3-standard-8 15:54:13 INFO: Archiving Costs [Pipeline] echo 15:54:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:54:14 ---> logs-deploy.sh 15:54:14 lf-activate-venv: SKIPPING 15:54:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/30 15:54:14 INFO: archiving workspace using pattern(s): 15:54:15 Archives upload complete. 15:54:15 INFO: archiving logs to Nexus