Pull request #168 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 558c3d95fcf8278a7fc93415f27f61b127f687c9+2a65a39039cf7664a715857da731e59ec3cb9dfd (7546cc3849a920ab9732da8f8bf6b7e4823101c4) 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-ssh528776639273338702.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-ssh9566079964233897783.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/PR-168/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/PR-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9566010195113916098.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-ssh2569797506012150854.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/PR-168/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/PR-168/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16110110449308060900.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-63310 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-168 # 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 Merging remotes/origin/main commit 2a65a39039cf7664a715857da731e59ec3cb9dfd into PR head commit 558c3d95fcf8278a7fc93415f27f61b127f687c9 Merge succeeded, producing 558c3d95fcf8278a7fc93415f27f61b127f687c9 Checking out Revision 558c3d95fcf8278a7fc93415f27f61b127f687c9 (PR-168) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 558c3d95fcf8278a7fc93415f27f61b127f687c9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 558c3d95fcf8278a7fc93415f27f61b127f687c9 # timeout=10 Commit message: "docs: fix version number in changelog" > git rev-list --no-walk 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:06:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:06:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:06:34 ========================================================= 00:06:34 EdgeX Global Pipelines Version Info 00:06:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:06:35 ------------------- 00:06:35 stable info: 00:06:35 ------------------- 00:06:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:06:35 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:06:35 Message: update stable to v1.0.230 00:06:35 ------------------- 00:06:35 experimental info: 00:06:35 ------------------- 00:06:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:06:35 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:06:35 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 558c3d95fcf8278a7fc93415f27f61b127f687c9 [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 558c3d9 [Pipeline] echo 00:06:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:36 provisioning config files... 00:06:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config8241994725179118503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:36 ---> docker-login.sh 00:06:36 nexus3.edgexfoundry.org:10001 00:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:37 Configure a credential helper to remove this warning. See 00:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:37 00:06:37 Login Succeeded 00:06:37 nexus3.edgexfoundry.org:10002 00:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:37 Configure a credential helper to remove this warning. See 00:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:37 00:06:37 Login Succeeded 00:06:37 nexus3.edgexfoundry.org:10003 00:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:37 Configure a credential helper to remove this warning. See 00:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:37 00:06:37 Login Succeeded 00:06:37 nexus3.edgexfoundry.org:10004 00:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:37 Configure a credential helper to remove this warning. See 00:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:37 00:06:37 Login Succeeded 00:06:37 docker.io 00:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:38 Configure a credential helper to remove this warning. See 00:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:38 00:06:38 Login Succeeded 00:06:38 ---> docker-login.sh ends [Pipeline] } 00:06:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:06:38 + git rev-list -1 --merges 558c3d95fcf8278a7fc93415f27f61b127f687c9~1..558c3d95fcf8278a7fc93415f27f61b127f687c9 [Pipeline] echo 00:06:38 -----------> git rev-list -1 --merges 558c3d95fcf8278a7fc93415f27f61b127f687c9~1..558c3d95fcf8278a7fc93415f27f61b127f687c9 558c3d95fcf8278a7fc93415f27f61b127f687c9 [false] [Pipeline] sh 00:06:39 + git log --format=format:%s -1 558c3d95fcf8278a7fc93415f27f61b127f687c9 [Pipeline] echo 00:06:39 ========================================================= 00:06:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:06:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:39 + git log --format=format:%s -1 558c3d95fcf8278a7fc93415f27f61b127f687c9 [Pipeline] echo 00:06:39 [semverPrep] GIT_COMMIT: 558c3d95fcf8278a7fc93415f27f61b127f687c9, Commit Message: docs: fix version number in changelog [Pipeline] echo 00:06:39 [semverPrep] This is not a build commit. [Pipeline] sh 00:06:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:06:39 + grep -v github /etc/ssh/ssh_known_hosts 00:06:39 + [ -e /tmp/ssh_known_hosts ] 00:06:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:06:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:06:39 + sudo tee -a /etc/ssh/ssh_known_hosts 00:06:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:06:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:06:40 00:06:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:06:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:06:40 latest: Pulling from edgex-devops/py-git-semver 00:06:40 1fe172e4850f: Pulling fs layer 00:06:40 caf521ccaac6: Pulling fs layer 00:06:40 3ead6fa29328: Pulling fs layer 00:06:40 5c2a1cbceb83: Pulling fs layer 00:06:40 a8d5f1318db7: Pulling fs layer 00:06:40 c427282e49a2: Pulling fs layer 00:06:40 1827001aaf11: Pulling fs layer 00:06:40 0714d37db230: Pulling fs layer 00:06:40 5c2a1cbceb83: Waiting 00:06:40 1827001aaf11: Waiting 00:06:40 a8d5f1318db7: Waiting 00:06:40 ac28cf19c067: Pulling fs layer 00:06:40 ca983d60f3e2: Pulling fs layer 00:06:40 9f894cec8388: Pulling fs layer 00:06:40 ac28cf19c067: Waiting 00:06:40 ca983d60f3e2: Waiting 00:06:40 9f894cec8388: Waiting 00:06:40 0714d37db230: Waiting 00:06:40 caf521ccaac6: Verifying Checksum 00:06:40 caf521ccaac6: Download complete 00:06:40 5c2a1cbceb83: Download complete 00:06:40 a8d5f1318db7: Verifying Checksum 00:06:40 a8d5f1318db7: Download complete 00:06:40 c427282e49a2: Verifying Checksum 00:06:40 c427282e49a2: Download complete 00:06:40 3ead6fa29328: Verifying Checksum 00:06:40 3ead6fa29328: Download complete 00:06:40 0714d37db230: Verifying Checksum 00:06:40 0714d37db230: Download complete 00:06:40 ac28cf19c067: Download complete 00:06:40 ca983d60f3e2: Verifying Checksum 00:06:40 ca983d60f3e2: Download complete 00:06:40 9f894cec8388: Download complete 00:06:40 1fe172e4850f: Verifying Checksum 00:06:40 1fe172e4850f: Download complete 00:06:41 1827001aaf11: Verifying Checksum 00:06:41 1827001aaf11: Download complete 00:06:42 1fe172e4850f: Pull complete 00:06:42 caf521ccaac6: Pull complete 00:06:42 3ead6fa29328: Pull complete 00:06:43 5c2a1cbceb83: Pull complete 00:06:43 a8d5f1318db7: Pull complete 00:06:43 c427282e49a2: Pull complete 00:06:45 1827001aaf11: Pull complete 00:06:45 0714d37db230: Pull complete 00:06:45 ac28cf19c067: Pull complete 00:06:45 ca983d60f3e2: Pull complete 00:06:45 9f894cec8388: Pull complete 00:06:45 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:06:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:06:45 prd-ubuntu20.04-docker-8c-8g-63310 does not seem to be running inside a container 00:06:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:06:47 $ docker top f6ec412f6e03c94bedf1413665cbed2466521a12e7408e17dbc7d2e472a9e1f3 -eo pid,comm 00:06:47 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). 00:06:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:06:47 [ssh-agent] Looking for ssh-agent implementation... 00:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:06:47 $ docker exec f6ec412f6e03c94bedf1413665cbed2466521a12e7408e17dbc7d2e472a9e1f3 ssh-agent 00:06:47 SSH_AUTH_SOCK=/tmp/ssh-jPf83fSmeoyW/agent.32 00:06:47 SSH_AGENT_PID=38 00:06:47 Running ssh-add (command line suppressed) 00:06:47 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_4737862348647504213.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_4737862348647504213.key) 00:06:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:06:47 + git tag --points-at HEAD [Pipeline] } 00:06:47 $ docker exec --env ******** --env ******** f6ec412f6e03c94bedf1413665cbed2466521a12e7408e17dbc7d2e472a9e1f3 ssh-agent -k 00:06:48 unset SSH_AUTH_SOCK; 00:06:48 unset SSH_AGENT_PID; 00:06:48 echo Agent pid 38 killed; 00:06:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:06:48 [ssh-agent] Looking for ssh-agent implementation... 00:06:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:06:48 $ docker exec f6ec412f6e03c94bedf1413665cbed2466521a12e7408e17dbc7d2e472a9e1f3 ssh-agent 00:06:48 SSH_AUTH_SOCK=/tmp/ssh-gr8p8mOsC197/agent.71 00:06:48 SSH_AGENT_PID=78 00:06:48 Running ssh-add (command line suppressed) 00:06:48 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_7583075136113691149.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_7583075136113691149.key) 00:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:06:48 + git semver init 00:06:49 2022-05-12 00:06:49,011 [run_init] DEBUG init version:0.0.0 force:False 00:06:49 2022-05-12 00:06:49,012 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 00:06:49 2022-05-12 00:06:49,012 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 00:06:49 2022-05-12 00:06:49,012 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168, universal_newlines=False, shell=None, istream=None) 00:06:50 2022-05-12 00:06:49,818 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.git/info/exclude 00:06:50 2022-05-12 00:06:49,818 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 with force:False 00:06:50 2022-05-12 00:06:49,818 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 00:06:50 2022-05-12 00:06:49,823 [execute] INFO git cat-file --batch-check 00:06:50 2022-05-12 00:06:49,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 00:06:50 2022-05-12 00:06:49,833 [execute] INFO git cat-file --batch 00:06:50 2022-05-12 00:06:49,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 00:06:50 2022-05-12 00:06:49,839 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 00:06:50 0.0.0 [Pipeline] } 00:06:50 $ docker exec --env ******** --env ******** f6ec412f6e03c94bedf1413665cbed2466521a12e7408e17dbc7d2e472a9e1f3 ssh-agent -k 00:06:50 unset SSH_AUTH_SOCK; 00:06:50 unset SSH_AGENT_PID; 00:06:50 echo Agent pid 78 killed; 00:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:06:50 + git semver [Pipeline] } 00:06:50 $ docker stop --time=1 f6ec412f6e03c94bedf1413665cbed2466521a12e7408e17dbc7d2e472a9e1f3 00:06:52 $ docker rm -f f6ec412f6e03c94bedf1413665cbed2466521a12e7408e17dbc7d2e472a9e1f3 [Pipeline] // withDockerContainer [Pipeline] sh 00:06:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:06:52 Stashed 1 file(s) [Pipeline] echo 00:06:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:52 provisioning config files... 00:06:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config3689113995440782560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:53 ---> docker-login.sh 00:06:53 nexus3.edgexfoundry.org:10001 00:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:53 Configure a credential helper to remove this warning. See 00:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:53 00:06:53 Login Succeeded 00:06:53 nexus3.edgexfoundry.org:10002 00:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:53 Configure a credential helper to remove this warning. See 00:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:53 00:06:53 Login Succeeded 00:06:53 nexus3.edgexfoundry.org:10003 00:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:53 Configure a credential helper to remove this warning. See 00:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:53 00:06:53 Login Succeeded 00:06:53 nexus3.edgexfoundry.org:10004 00:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:53 Configure a credential helper to remove this warning. See 00:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:53 00:06:53 Login Succeeded 00:06:53 docker.io 00:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:54 Configure a credential helper to remove this warning. See 00:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:54 00:06:54 Login Succeeded 00:06:54 ---> docker-login.sh ends [Pipeline] } 00:06:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:06:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:54 ========================================================= 00:06:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:06:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:06:54 + 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 . 00:06:54 Sending build context to Docker daemon 5.37MB 00:06:54 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:06:54 Step 2/12 : FROM ${BASE} AS builder 00:06:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:06:54 59bf1c3509f3: Pulling fs layer 00:06:54 666ba61612fd: Pulling fs layer 00:06:54 8ed8ca486205: Pulling fs layer 00:06:54 4fe6c5a15a65: Pulling fs layer 00:06:54 22a0e8bec74d: Pulling fs layer 00:06:54 ca2b28591e48: Pulling fs layer 00:06:54 a51346096db8: Pulling fs layer 00:06:54 daebc70d1ce1: Pulling fs layer 00:06:54 0e18a0eac166: Pulling fs layer 00:06:54 4fe6c5a15a65: Waiting 00:06:54 22a0e8bec74d: Waiting 00:06:54 0e18a0eac166: Waiting 00:06:54 daebc70d1ce1: Waiting 00:06:54 ca2b28591e48: Waiting 00:06:54 a51346096db8: Waiting 00:06:54 8ed8ca486205: Verifying Checksum 00:06:54 8ed8ca486205: Download complete 00:06:54 666ba61612fd: Download complete 00:06:54 22a0e8bec74d: Download complete 00:06:54 ca2b28591e48: Verifying Checksum 00:06:54 ca2b28591e48: Download complete 00:06:54 59bf1c3509f3: Verifying Checksum 00:06:54 59bf1c3509f3: Download complete 00:06:54 a51346096db8: Verifying Checksum 00:06:54 a51346096db8: Download complete 00:06:54 daebc70d1ce1: Verifying Checksum 00:06:54 daebc70d1ce1: Download complete 00:06:54 59bf1c3509f3: Pull complete 00:06:54 666ba61612fd: Pull complete 00:06:54 8ed8ca486205: Pull complete 00:06:55 0e18a0eac166: Verifying Checksum 00:06:55 0e18a0eac166: Download complete 00:06:55 4fe6c5a15a65: Verifying Checksum 00:06:55 4fe6c5a15a65: Download complete 00:06:59 4fe6c5a15a65: Pull complete 00:06:59 22a0e8bec74d: Pull complete 00:06:59 ca2b28591e48: Pull complete 00:06:59 a51346096db8: Pull complete 00:06:59 daebc70d1ce1: Pull complete 00:07:01 0e18a0eac166: Pull complete 00:07:01 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:07:01 ---> f018257e8ee9 00:07:01 Step 3/12 : ARG MAKE='make build' 00:07:03 ---> Running in fb3b3b26ad09 00:07:03 Removing intermediate container fb3b3b26ad09 00:07:03 ---> b774be811efd 00:07:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:07:03 ---> Running in b9971e254143 00:07:03 Removing intermediate container b9971e254143 00:07:03 ---> 05d9af75780c 00:07:03 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:07:03 ---> Running in bba0462753e0 00:07:03 Removing intermediate container bba0462753e0 00:07:03 ---> 59219ab12a7c 00:07:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:03 ---> Running in e6a71659c15c 00:07:04 Removing intermediate container e6a71659c15c 00:07:04 ---> 7c8096117b3d 00:07:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:04 ---> Running in 2b61be61cd6d 00:07:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:07:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:07:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:07:06 (2/4) Installing libedit (20210910.3.1-r0) 00:07:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:07:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:07:06 Executing busybox-1.34.1-r3.trigger 00:07:06 OK: 224 MiB in 56 packages 00:07:06 Removing intermediate container 2b61be61cd6d 00:07:06 ---> 8b4828679320 00:07:06 Step 8/12 : WORKDIR /device-snmp-go 00:07:06 ---> Running in b514b587019e 00:07:06 Removing intermediate container b514b587019e 00:07:06 ---> 7d0a418a9b37 00:07:06 Step 9/12 : COPY go.mod vendor* ./ 00:07:07 ---> 1c5134fb0efa 00:07:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:07 ---> Running in 5eebec499c47 00:07:07 Still waiting to schedule task 00:07:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63306’ 00:07:22 Removing intermediate container 5eebec499c47 00:07:22 ---> 60c3aa52e0f9 00:07:22 Step 11/12 : COPY . . 00:07:22 ---> 803c7cc171f0 00:07:22 Step 12/12 : RUN ${MAKE} 00:07:22 ---> Running in c75088c2fc17 00:07:22 noop 00:07:22 Removing intermediate container c75088c2fc17 00:07:22 ---> 885cf372ae6b 00:07:22 Successfully built 885cf372ae6b 00:07:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:07:22 + docker inspect -f . ci-base-image-x86_64 00:07:22 . [Pipeline] withDockerContainer 00:07:22 prd-ubuntu20.04-docker-8c-8g-63310 does not seem to be running inside a container 00:07:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:07:23 $ docker top 424874214aecd332ea1819eebd67f9cccd0a80b392d6f288a150973e5701e1b1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:23 + go version 00:07:23 go version go1.17.6 linux/amd64 [Pipeline] } 00:07:23 $ docker stop --time=1 424874214aecd332ea1819eebd67f9cccd0a80b392d6f288a150973e5701e1b1 00:07:25 $ docker rm -f 424874214aecd332ea1819eebd67f9cccd0a80b392d6f288a150973e5701e1b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:07:25 + docker inspect -f . ci-base-image-x86_64 00:07:25 . [Pipeline] withDockerContainer 00:07:25 prd-ubuntu20.04-docker-8c-8g-63310 does not seem to be running inside a container 00:07:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:07:26 $ docker top 12889568579cfb06368cd0ea182c5fda761f160a4b695803ddd79f8c313cef32 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:07:26 + make test 00:07:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:07:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:07:36 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:07:36 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 00:07:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:07:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:07:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:07:46 ./bin/test-attribution-txt.sh [Pipeline] echo 00:07:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:07:46 $ docker stop --time=1 12889568579cfb06368cd0ea182c5fda761f160a4b695803ddd79f8c313cef32 00:07:48 $ docker rm -f 12889568579cfb06368cd0ea182c5fda761f160a4b695803ddd79f8c313cef32 [Pipeline] // withDockerContainer [Pipeline] sh 00:07:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:07:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:07:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:07:49 + ls -al . 00:07:49 total 168 00:07:49 drwxrwxr-x 9 jenkins jenkins 4096 May 12 00:07 . 00:07:49 drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:06 .. 00:07:49 -rw-rw-r-- 1 jenkins jenkins 6 May 12 00:06 .dockerignore 00:07:49 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:06 .git 00:07:49 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:06 .github 00:07:49 -rw-rw-r-- 1 jenkins jenkins 328 May 12 00:06 .gitignore 00:07:49 -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:06 .golangci.yml 00:07:49 drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:06 .semver 00:07:49 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 00:06 Attribution.txt 00:07:49 -rw-rw-r-- 1 jenkins jenkins 6947 May 12 00:06 CHANGELOG.md 00:07:49 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 00:06 Dockerfile 00:07:49 -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:06 GOVERNANCE.md 00:07:49 -rw-rw-r-- 1 jenkins jenkins 656 May 12 00:06 Jenkinsfile 00:07:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:06 LICENSE 00:07:49 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 00:06 Makefile 00:07:49 -rw-rw-r-- 1 jenkins jenkins 620 May 12 00:06 OWNERS.md 00:07:49 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 00:06 README.md 00:07:49 -rw-rw-r-- 1 jenkins jenkins 5 May 12 00:06 VERSION 00:07:49 drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:06 bin 00:07:49 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:06 cmd 00:07:49 -rw-r--r-- 1 jenkins jenkins 7631 May 12 00:07 coverage.out 00:07:49 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 00:06 go.mod 00:07:49 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 00:06 go.sum 00:07:49 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:06 internal 00:07:49 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:06 snap 00:07:49 -rw-rw-r-- 1 jenkins jenkins 209 May 12 00:06 version.go [Pipeline] isUnix [Pipeline] sh 00:07:50 + 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=558c3d95fcf8278a7fc93415f27f61b127f687c9 --label arch=amd64 --label version=0.0.0 . 00:07:50 Sending build context to Docker daemon 5.378MB 00:07:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:07:50 Step 2/24 : FROM ${BASE} AS builder 00:07:50 ---> 885cf372ae6b 00:07:50 Step 3/24 : ARG MAKE='make build' 00:07:50 ---> Running in a565222d457d 00:07:50 Removing intermediate container a565222d457d 00:07:50 ---> bd79e21a1c26 00:07:50 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:07:50 ---> Running in b936e7427fde 00:07:50 Removing intermediate container b936e7427fde 00:07:50 ---> b2e5f8eae91d 00:07:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:07:50 ---> Running in 9c1a36f04e52 00:07:50 Removing intermediate container 9c1a36f04e52 00:07:50 ---> 6fb327e3299b 00:07:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:50 ---> Running in 04d196390436 00:07:51 Removing intermediate container 04d196390436 00:07:51 ---> a292dacca73e 00:07:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:51 ---> Running in 8f5ec23fee19 00:07:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:07:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:07:52 OK: 224 MiB in 56 packages 00:07:53 Removing intermediate container 8f5ec23fee19 00:07:53 ---> a68ce2b30fe2 00:07:53 Step 8/24 : WORKDIR /device-snmp-go 00:07:53 ---> Running in 89f9cd97aa49 00:07:53 Removing intermediate container 89f9cd97aa49 00:07:53 ---> 904b5f0f7d2c 00:07:53 Step 9/24 : COPY go.mod vendor* ./ 00:07:53 ---> f820e9b4c560 00:07:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:53 ---> Running in 07e08ac637fa 00:07:54 Removing intermediate container 07e08ac637fa 00:07:54 ---> bd61dbc67715 00:07:54 Step 11/24 : COPY . . 00:07:54 ---> a6eeab7a6ad4 00:07:54 Step 12/24 : RUN ${MAKE} 00:07:54 ---> Running in a65f55595fda 00:07:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 00:08:17 Removing intermediate container a65f55595fda 00:08:17 ---> 30ccda1c6170 00:08:17 Step 13/24 : FROM alpine:3.14 00:08:17 3.14: Pulling from library/alpine 00:08:17 8663204ce13b: Pulling fs layer 00:08:17 8663204ce13b: Verifying Checksum 00:08:17 8663204ce13b: Download complete 00:08:17 8663204ce13b: Pull complete 00:08:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:08:17 Status: Downloaded newer image for alpine:3.14 00:08:17 ---> e04c818066af 00:08:17 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:08:17 ---> Running in e0faf08e2322 00:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:08:17 (1/6) Installing dumb-init (1.2.5-r1) 00:08:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:08:17 (3/6) Installing libsodium (1.0.18-r0) 00:08:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:08:17 (5/6) Installing libzmq (4.3.4-r0) 00:08:17 (6/6) Installing zeromq (4.3.4-r0) 00:08:17 Executing busybox-1.33.1-r7.trigger 00:08:17 OK: 8 MiB in 20 packages 00:08:17 Removing intermediate container e0faf08e2322 00:08:17 ---> 71ecce68964c 00:08:17 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:08:17 ---> 9d7899edb61b 00:08:17 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:08:17 ---> c97336372a0e 00:08:17 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:08:17 ---> 2603ab29c15a 00:08:17 Step 18/24 : EXPOSE 59993 00:08:17 ---> Running in 86f41739d2aa 00:08:17 Removing intermediate container 86f41739d2aa 00:08:17 ---> ac7356e96ca9 00:08:17 Step 19/24 : EXPOSE 161 00:08:17 ---> Running in c77933564d0b 00:08:17 Removing intermediate container c77933564d0b 00:08:17 ---> 7dbfa6676521 00:08:17 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:08:17 ---> Running in 106c910c4eec 00:08:18 Removing intermediate container 106c910c4eec 00:08:18 ---> 8c15a6421e2b 00:08:18 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:08:18 ---> Running in 5450896d6ecc 00:08:18 Removing intermediate container 5450896d6ecc 00:08:18 ---> 8c854472c2a4 00:08:18 Step 22/24 : LABEL arch=amd64 00:08:18 ---> Running in 3746dd9ec8d8 00:08:18 Removing intermediate container 3746dd9ec8d8 00:08:18 ---> 62164cbf9438 00:08:18 Step 23/24 : LABEL git_sha=558c3d95fcf8278a7fc93415f27f61b127f687c9 00:08:18 ---> Running in 332eb1a32124 00:08:18 Removing intermediate container 332eb1a32124 00:08:18 ---> 13a93594554d 00:08:18 Step 24/24 : LABEL version=0.0.0 00:08:18 ---> Running in 19811eab63a7 00:08:18 Removing intermediate container 19811eab63a7 00:08:18 ---> f3c76f07465c 00:08:18 [Warning] One or more build-args [ARCH] were not consumed 00:08:18 Successfully built f3c76f07465c 00:08:18 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:19 00:08:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:08:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:19 latest: Pulling from edgex-lftools-log-publisher 00:08:19 5eb5b503b376: Pulling fs layer 00:08:19 5c69ac0246d0: Pulling fs layer 00:08:19 ec43610c2a17: Pulling fs layer 00:08:19 3a2ae6a8a46f: Pulling fs layer 00:08:19 33b1e0a273af: Pulling fs layer 00:08:19 5d3b04190fa2: Pulling fs layer 00:08:19 2f39f015ded8: Pulling fs layer 00:08:19 33b1e0a273af: Waiting 00:08:19 5d3b04190fa2: Waiting 00:08:19 2f39f015ded8: Waiting 00:08:19 5c69ac0246d0: Verifying Checksum 00:08:19 5c69ac0246d0: Download complete 00:08:19 3a2ae6a8a46f: Verifying Checksum 00:08:19 3a2ae6a8a46f: Download complete 00:08:19 33b1e0a273af: Verifying Checksum 00:08:19 33b1e0a273af: Download complete 00:08:19 ec43610c2a17: Verifying Checksum 00:08:19 ec43610c2a17: Download complete 00:08:19 5d3b04190fa2: Verifying Checksum 00:08:19 5d3b04190fa2: Download complete 00:08:19 5eb5b503b376: Verifying Checksum 00:08:19 5eb5b503b376: Download complete 00:08:20 2f39f015ded8: Download complete 00:08:20 5eb5b503b376: Pull complete 00:08:21 5c69ac0246d0: Pull complete 00:08:21 ec43610c2a17: Pull complete 00:08:21 3a2ae6a8a46f: Pull complete 00:08:22 33b1e0a273af: Pull complete 00:08:22 5d3b04190fa2: Pull complete 00:08:26 2f39f015ded8: Pull complete 00:08:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:08:26 prd-ubuntu20.04-docker-8c-8g-63310 does not seem to be running inside a container 00:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:08:29 $ docker top 3bc2c1060274774e2d2bca9ecfeb9786c4c1cdf25c30d188b4cdf58c97d6ee44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:30 ---> job-cost.sh 00:08:30 lf-activate-venv: SKIPPING 00:08:30 INFO: No Stack... 00:08:30 INFO: Retrieving Pricing Info for: v3-standard-8 00:08:31 INFO: Archiving Costs [Pipeline] sh 00:08:31 + cat /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/cost.csv 00:08:31 + cut -d, -f6 [Pipeline] lock 00:08:31 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] 00:08:31 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] did not exist. Created. 00:08:31 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:08:31 + echo total: 0.2199999988079071 [Pipeline] stash 00:08:31 Stashed 1 file(s) [Pipeline] } 00:08:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:08:31 $ docker stop --time=1 3bc2c1060274774e2d2bca9ecfeb9786c4c1cdf25c30d188b4cdf58c97d6ee44 00:08:33 $ docker rm -f 3bc2c1060274774e2d2bca9ecfeb9786c4c1cdf25c30d188b4cdf58c97d6ee44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:10:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63312 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] ws 00:10:21 Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout 00:10:21 Selected Git installation does not exist. Using Default 00:10:21 The recommended git tool is: NONE 00:10:27 using credential edgex-jenkins-ssh 00:10:27 Cloning the remote Git repository 00:10:28 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:10:28 > git init /w/workspace/device-snmp-go/6 # timeout=10 00:10:28 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:10:28 > git --version # timeout=10 00:10:28 > git --version # 'git version 2.25.1' 00:10:28 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:10:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:10:29 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:10:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:10:30 Merging remotes/origin/main commit 2a65a39039cf7664a715857da731e59ec3cb9dfd into PR head commit 558c3d95fcf8278a7fc93415f27f61b127f687c9 00:10:30 Merge succeeded, producing 558c3d95fcf8278a7fc93415f27f61b127f687c9 00:10:30 Checking out Revision 558c3d95fcf8278a7fc93415f27f61b127f687c9 (PR-168) 00:10:30 > git config core.sparsecheckout # timeout=10 00:10:30 > git checkout -f 558c3d95fcf8278a7fc93415f27f61b127f687c9 # timeout=10 00:10:30 > git remote # timeout=10 00:10:30 > git config --get remote.origin.url # timeout=10 00:10:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:30 > git merge 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 00:10:30 > git rev-parse HEAD^{commit} # timeout=10 00:10:30 > git config core.sparsecheckout # timeout=10 00:10:30 > git checkout -f 558c3d95fcf8278a7fc93415f27f61b127f687c9 # timeout=10 00:10:34 Commit message: "docs: fix version number in changelog" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:10:35 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:35 Dload Upload Total Spent Left Speed 00:10:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 222k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 00:10:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:10:36 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:10:36 sudo tee /etc/docker/daemon.new 00:10:36 { 00:10:36 "registry-mirrors": [ 00:10:36 "https://nexus3.edgexfoundry.org:10001" 00:10:36 ], 00:10:36 "bip": "10.250.0.254/24", 00:10:36 "hosts": [ 00:10:36 "tcp://0.0.0.0:5555", 00:10:36 "unix:///var/run/docker.sock" 00:10:36 ], 00:10:36 "mtu": 1458, 00:10:36 "selinux-enabled": true, 00:10:36 "seccomp-profile": "/etc/docker/seccomp.json" 00:10:36 } [Pipeline] sh 00:10:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:10:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:55 provisioning config files... 00:10:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config1004987170334787397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:55 ---> docker-login.sh 00:10:55 nexus3.edgexfoundry.org:10001 00:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:56 Configure a credential helper to remove this warning. See 00:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:56 00:10:56 Login Succeeded 00:10:56 nexus3.edgexfoundry.org:10002 00:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:57 Configure a credential helper to remove this warning. See 00:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:57 00:10:57 Login Succeeded 00:10:57 nexus3.edgexfoundry.org:10003 00:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:57 Configure a credential helper to remove this warning. See 00:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:57 00:10:57 Login Succeeded 00:10:57 nexus3.edgexfoundry.org:10004 00:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:58 Configure a credential helper to remove this warning. See 00:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:58 00:10:58 Login Succeeded 00:10:58 docker.io 00:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:58 Configure a credential helper to remove this warning. See 00:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:58 00:10:58 Login Succeeded 00:10:58 ---> docker-login.sh ends [Pipeline] } 00:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:10:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:59 ========================================================= 00:10:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:10:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:10:59 + 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 . 00:11:00 Sending build context to Docker daemon 2.789MB 00:11:00 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:11:00 Step 2/12 : FROM ${BASE} AS builder 00:11:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:11:00 9b3977197b4f: Pulling fs layer 00:11:00 1a89e8eeedd5: Pulling fs layer 00:11:00 94645a83ff95: Pulling fs layer 00:11:00 3f3a8bcf1eab: Pulling fs layer 00:11:00 0c92f367c5e7: Pulling fs layer 00:11:00 3096ccb668a1: Pulling fs layer 00:11:00 e8cf19c19ddd: Pulling fs layer 00:11:00 a4caa8a26152: Pulling fs layer 00:11:00 3f3a8bcf1eab: Waiting 00:11:00 3096ccb668a1: Waiting 00:11:00 0c92f367c5e7: Waiting 00:11:00 a4caa8a26152: Waiting 00:11:00 94645a83ff95: Verifying Checksum 00:11:00 94645a83ff95: Download complete 00:11:00 1a89e8eeedd5: Verifying Checksum 00:11:00 1a89e8eeedd5: Download complete 00:11:00 0c92f367c5e7: Verifying Checksum 00:11:00 0c92f367c5e7: Download complete 00:11:00 3096ccb668a1: Verifying Checksum 00:11:00 3096ccb668a1: Download complete 00:11:00 9b3977197b4f: Verifying Checksum 00:11:00 9b3977197b4f: Download complete 00:11:00 e8cf19c19ddd: Verifying Checksum 00:11:00 e8cf19c19ddd: Download complete 00:11:01 9b3977197b4f: Pull complete 00:11:01 1a89e8eeedd5: Pull complete 00:11:02 94645a83ff95: Pull complete 00:11:02 a4caa8a26152: Verifying Checksum 00:11:02 a4caa8a26152: Download complete 00:11:03 3f3a8bcf1eab: Verifying Checksum 00:11:03 3f3a8bcf1eab: Download complete 00:11:15 3f3a8bcf1eab: Pull complete 00:11:15 0c92f367c5e7: Pull complete 00:11:15 3096ccb668a1: Pull complete 00:11:15 e8cf19c19ddd: Pull complete 00:11:22 a4caa8a26152: Pull complete 00:11:22 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:11:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:11:22 ---> 725f1c02e7f9 00:11:22 Step 3/12 : ARG MAKE='make build' 00:11:23 ---> Running in 74879c365acd 00:11:23 Removing intermediate container 74879c365acd 00:11:23 ---> b4cab5a0dbeb 00:11:23 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:11:23 ---> Running in a55d20422576 00:11:24 Removing intermediate container a55d20422576 00:11:24 ---> f5f43b520127 00:11:24 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:11:24 ---> Running in c33fa1b361c0 00:11:24 Removing intermediate container c33fa1b361c0 00:11:24 ---> e97b61959b90 00:11:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:11:24 ---> Running in 7c0e1bc41df4 00:11:28 Removing intermediate container 7c0e1bc41df4 00:11:28 ---> 87c3a87b34b9 00:11:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:28 ---> Running in b2e4572baae2 00:11:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:11:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:11:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:11:30 (2/4) Installing libedit (20210910.3.1-r0) 00:11:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:11:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:11:31 Executing busybox-1.34.1-r3.trigger 00:11:31 OK: 224 MiB in 56 packages 00:11:32 Removing intermediate container b2e4572baae2 00:11:32 ---> aeaead102d1e 00:11:32 Step 8/12 : WORKDIR /device-snmp-go 00:11:32 ---> Running in da8a62446ffe 00:11:32 Removing intermediate container da8a62446ffe 00:11:32 ---> ca0139735368 00:11:32 Step 9/12 : COPY go.mod vendor* ./ 00:11:33 ---> 7970ad337d29 00:11:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:33 ---> Running in 76f5f2de720f 00:12:20 Removing intermediate container 76f5f2de720f 00:12:20 ---> c2dc07fa2d74 00:12:20 Step 11/12 : COPY . . 00:12:20 ---> cb12b27a74bb 00:12:20 Step 12/12 : RUN ${MAKE} 00:12:20 ---> Running in 1f0a29935a9f 00:12:21 noop 00:12:21 Removing intermediate container 1f0a29935a9f 00:12:21 ---> 71184b89941e 00:12:22 Successfully built 71184b89941e 00:12:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:12:22 + docker inspect -f . ci-base-image-arm64 00:12:22 . [Pipeline] withDockerContainer 00:12:22 prd-ubuntu20.04-docker-arm64-4c-16g-63312 does not seem to be running inside a container 00:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:12:24 $ docker top ab800ee48085889b8b43a438e31211bb5e047b3b3424ed70925dc2bc30776bd6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:25 + go version 00:12:25 go version go1.17.6 linux/arm64 [Pipeline] } 00:12:25 $ docker stop --time=1 ab800ee48085889b8b43a438e31211bb5e047b3b3424ed70925dc2bc30776bd6 00:12:26 $ docker rm -f ab800ee48085889b8b43a438e31211bb5e047b3b3424ed70925dc2bc30776bd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:12:27 + docker inspect -f . ci-base-image-arm64 00:12:27 . [Pipeline] withDockerContainer 00:12:27 prd-ubuntu20.04-docker-arm64-4c-16g-63312 does not seem to be running inside a container 00:12:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:12:28 $ docker top 4a357ed404533df729b07ed621eeceb20306b99f872a6d76925a529c2ebff4dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:12:29 + make test 00:12:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:12:32 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:14:09 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:14:09 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 00:14:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:14:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:14:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:14:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:14:27 ./bin/test-attribution-txt.sh [Pipeline] echo 00:14:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:14:29 $ docker stop --time=1 4a357ed404533df729b07ed621eeceb20306b99f872a6d76925a529c2ebff4dc 00:14:31 $ docker rm -f 4a357ed404533df729b07ed621eeceb20306b99f872a6d76925a529c2ebff4dc [Pipeline] // withDockerContainer [Pipeline] sh 00:14:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:14:32 Warning: overwriting stash ‘coverage-report’ 00:14:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:33 + ls -al . 00:14:33 total 164 00:14:33 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:14 . 00:14:33 drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:10 .. 00:14:33 -rw-rw-r-- 1 jenkins jenkins 6 May 12 00:10 .dockerignore 00:14:33 drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:10 .git 00:14:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:10 .github 00:14:33 -rw-rw-r-- 1 jenkins jenkins 328 May 12 00:10 .gitignore 00:14:33 -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:10 .golangci.yml 00:14:33 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 00:10 Attribution.txt 00:14:33 -rw-rw-r-- 1 jenkins jenkins 6947 May 12 00:10 CHANGELOG.md 00:14:33 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 00:10 Dockerfile 00:14:33 -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:10 GOVERNANCE.md 00:14:33 -rw-rw-r-- 1 jenkins jenkins 656 May 12 00:10 Jenkinsfile 00:14:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:10 LICENSE 00:14:33 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 00:10 Makefile 00:14:33 -rw-rw-r-- 1 jenkins jenkins 620 May 12 00:10 OWNERS.md 00:14:33 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 00:10 README.md 00:14:33 -rw-rw-r-- 1 jenkins jenkins 5 May 12 00:06 VERSION 00:14:33 drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:10 bin 00:14:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:10 cmd 00:14:33 -rw-r--r-- 1 jenkins jenkins 7631 May 12 00:13 coverage.out 00:14:33 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 00:10 go.mod 00:14:33 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 00:10 go.sum 00:14:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:10 internal 00:14:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:10 snap 00:14:33 -rw-rw-r-- 1 jenkins jenkins 209 May 12 00:10 version.go [Pipeline] isUnix [Pipeline] sh 00:14:34 + 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=558c3d95fcf8278a7fc93415f27f61b127f687c9 --label arch=arm64 --label version=0.0.0 . 00:14:34 Sending build context to Docker daemon 2.798MB 00:14:34 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:14:34 Step 2/24 : FROM ${BASE} AS builder 00:14:34 ---> 71184b89941e 00:14:34 Step 3/24 : ARG MAKE='make build' 00:14:34 ---> Running in 89e491ef5b15 00:14:35 Removing intermediate container 89e491ef5b15 00:14:35 ---> 4f3c42b2ee0b 00:14:35 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:14:35 ---> Running in 6e6ad08830ec 00:14:35 Removing intermediate container 6e6ad08830ec 00:14:35 ---> bac45bff5472 00:14:35 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:14:35 ---> Running in ae5829a3528b 00:14:35 Removing intermediate container ae5829a3528b 00:14:35 ---> 55fe1c83c830 00:14:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:14:36 ---> Running in 0fd4580e8bf7 00:14:38 Removing intermediate container 0fd4580e8bf7 00:14:38 ---> 4bbd1d6c87f6 00:14:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:14:38 ---> Running in 1e76662fcc04 00:14:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:14:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:14:41 OK: 224 MiB in 56 packages 00:14:41 Removing intermediate container 1e76662fcc04 00:14:41 ---> cb13d7f06df3 00:14:41 Step 8/24 : WORKDIR /device-snmp-go 00:14:42 ---> Running in 95587fe8e011 00:14:42 Removing intermediate container 95587fe8e011 00:14:42 ---> 5104611051fa 00:14:42 Step 9/24 : COPY go.mod vendor* ./ 00:14:42 ---> 5c62273fded4 00:14:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:42 ---> Running in cca668394671 00:14:44 Removing intermediate container cca668394671 00:14:44 ---> 5bc4937c4052 00:14:44 Step 11/24 : COPY . . 00:14:45 ---> 6240e3408a20 00:14:45 Step 12/24 : RUN ${MAKE} 00:14:46 ---> Running in 3cbd3cfc3548 00:14:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 00:17:09 Removing intermediate container 3cbd3cfc3548 00:17:09 ---> dbd954c08afc 00:17:09 Step 13/24 : FROM alpine:3.14 00:17:09 3.14: Pulling from library/alpine 00:17:09 455c02918c45: Pulling fs layer 00:17:09 455c02918c45: Verifying Checksum 00:17:09 455c02918c45: Download complete 00:17:09 455c02918c45: Pull complete 00:17:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:17:09 Status: Downloaded newer image for alpine:3.14 00:17:09 ---> ac73e934f311 00:17:09 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:17:09 ---> Running in 3195bbea92c4 00:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:17:09 (1/6) Installing dumb-init (1.2.5-r1) 00:17:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:17:09 (3/6) Installing libsodium (1.0.18-r0) 00:17:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:17:09 (5/6) Installing libzmq (4.3.4-r0) 00:17:09 (6/6) Installing zeromq (4.3.4-r0) 00:17:09 Executing busybox-1.33.1-r7.trigger 00:17:09 OK: 8 MiB in 20 packages 00:17:09 Removing intermediate container 3195bbea92c4 00:17:09 ---> 58bc77759566 00:17:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:17:09 ---> 8cf4cb0bc148 00:17:09 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:17:09 ---> 017817f9cf4d 00:17:09 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:17:09 ---> b67a440a92a2 00:17:09 Step 18/24 : EXPOSE 59993 00:17:09 ---> Running in 32a1a7ff6175 00:17:09 Removing intermediate container 32a1a7ff6175 00:17:09 ---> 05f6193805ea 00:17:09 Step 19/24 : EXPOSE 161 00:17:09 ---> Running in e7333063b811 00:17:09 Removing intermediate container e7333063b811 00:17:09 ---> c0539ab0b975 00:17:09 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:17:09 ---> Running in 6d30a69ad6f0 00:17:09 Removing intermediate container 6d30a69ad6f0 00:17:09 ---> b158c9d3e711 00:17:09 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:17:09 ---> Running in 41c46af6c378 00:17:09 Removing intermediate container 41c46af6c378 00:17:09 ---> df1d9266bc67 00:17:09 Step 22/24 : LABEL arch=arm64 00:17:09 ---> Running in 332fa77ad273 00:17:09 Removing intermediate container 332fa77ad273 00:17:09 ---> 6f92a398e525 00:17:09 Step 23/24 : LABEL git_sha=558c3d95fcf8278a7fc93415f27f61b127f687c9 00:17:09 ---> Running in 745c6c0caf08 00:17:09 Removing intermediate container 745c6c0caf08 00:17:09 ---> 5d0d5901badb 00:17:09 Step 24/24 : LABEL version=0.0.0 00:17:09 ---> Running in dd1f56af94d4 00:17:09 Removing intermediate container dd1f56af94d4 00:17:09 ---> c6d983b67256 00:17:09 [Warning] One or more build-args [ARCH] were not consumed 00:17:09 Successfully built c6d983b67256 00:17:09 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:09 00:17:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:10 arm64: Pulling from edgex-lftools-log-publisher 00:17:10 8998bd30e6a1: Pulling fs layer 00:17:10 04944245beec: Pulling fs layer 00:17:10 699f458cf7ca: Pulling fs layer 00:17:10 765212b225bb: Pulling fs layer 00:17:10 f23df028b6ca: Pulling fs layer 00:17:10 d65c8cfc05b1: Pulling fs layer 00:17:10 2437ff75d9bd: Pulling fs layer 00:17:10 765212b225bb: Waiting 00:17:10 f23df028b6ca: Waiting 00:17:10 d65c8cfc05b1: Waiting 00:17:10 2437ff75d9bd: Waiting 00:17:10 04944245beec: Verifying Checksum 00:17:10 04944245beec: Download complete 00:17:10 765212b225bb: Verifying Checksum 00:17:10 765212b225bb: Download complete 00:17:10 f23df028b6ca: Verifying Checksum 00:17:10 f23df028b6ca: Download complete 00:17:10 d65c8cfc05b1: Verifying Checksum 00:17:10 d65c8cfc05b1: Download complete 00:17:10 699f458cf7ca: Download complete 00:17:10 8998bd30e6a1: Verifying Checksum 00:17:10 8998bd30e6a1: Download complete 00:17:13 2437ff75d9bd: Verifying Checksum 00:17:13 2437ff75d9bd: Download complete 00:17:15 8998bd30e6a1: Pull complete 00:17:16 04944245beec: Pull complete 00:17:17 699f458cf7ca: Pull complete 00:17:17 765212b225bb: Pull complete 00:17:18 f23df028b6ca: Pull complete 00:17:18 d65c8cfc05b1: Pull complete 00:17:33 2437ff75d9bd: Pull complete 00:17:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:17:34 prd-ubuntu20.04-docker-arm64-4c-16g-63312 does not seem to be running inside a container 00:17:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:17:37 $ docker top 733714155a021424411f546913521f8e9991ac14b4c02e86258257133b84ceb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:38 ---> job-cost.sh 00:17:38 lf-activate-venv: SKIPPING 00:17:38 INFO: No Stack... 00:17:38 INFO: Retrieving Pricing Info for: v3-standard-4 00:17:39 INFO: Archiving Costs [Pipeline] sh 00:17:40 + cat /w/workspace/device-snmp-go/6/archives/cost.csv 00:17:40 + cut -d, -f6 [Pipeline] lock 00:17:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] 00:17:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] did not exist. Created. 00:17:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:17:40 /w/workspace/device-snmp-go/6@tmp/durable-e6ca62e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:17:41 + echo total: 0.10999999940395355 [Pipeline] stash 00:17:41 Warning: overwriting stash ‘stack-cost’ 00:17:41 Stashed 1 file(s) [Pipeline] } 00:17:41 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:17:41 $ docker stop --time=1 733714155a021424411f546913521f8e9991ac14b4c02e86258257133b84ceb2 00:17:43 $ docker rm -f 733714155a021424411f546913521f8e9991ac14b4c02e86258257133b84ceb2 [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 00:17:43 provisioning config files... 00:17:43 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config917000553670642881tmp [Pipeline] { [Pipeline] sh 00:17:44 + set +x 00:17:44 + curl -s https://codecov.io/bash 00:17:44 + bash -s -- 00:17:44 00:17:44 _____ _ 00:17:44 / ____| | | 00:17:44 | | ___ __| | ___ ___ _____ __ 00:17:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:17:44 | |___| (_) | (_| | __/ (_| (_) \ V / 00:17:44 \_____\___/ \__,_|\___|\___\___/ \_/ 00:17:44 Bash-1.0.6 00:17:44 00:17:44 00:17:44 ==> git version 2.25.1 found 00:17:44 ==> 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 00:17:44 Release-Date: 2020-01-08 00:17:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:17:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:17:44 ==> Jenkins CI detected. 00:17:44 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-168 00:17:44 project root: . 00:17:44 --> token set from env 00:17:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:17:44 ==> Running gcov in . (disable via -X gcov) 00:17:44 ==> Python coveragepy not found 00:17:44 ==> Searching for coverage reports in: 00:17:44 + . 00:17:44 -> Found 1 reports 00:17:44 ==> Detecting git/mercurial file structure 00:17:44 ==> Reading reports 00:17:44 + ./coverage.out bytes=7631 00:17:44 ==> Appending adjustments 00:17:44 https://docs.codecov.io/docs/fixing-reports 00:17:44 + Found adjustments 00:17:44 ==> Gzipping contents 00:17:44 4.0K /tmp/codecov.bXGKUd.gz 00:17:44 ==> Uploading reports 00:17:44 url: https://codecov.io 00:17:44 query: branch=PR-168&commit=558c3d95fcf8278a7fc93415f27f61b127f687c9&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 00:17:44 -> Pinging Codecov 00:17:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-168&commit=558c3d95fcf8278a7fc93415f27f61b127f687c9&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 00:17:44 -> Uploading to 00:17:44 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/558c3d95fcf8278a7fc93415f27f61b127f687c9/4d7442dc-701b-4450-8726-964996555d53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T001744Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5535f53384bdda2e13fa49ef259bd3a34cfed7aede6f912b54d600a804b39619 00:17:44 % Total % Received % Xferd Average Speed Time Time Time Current 00:17:44 Dload Upload Total Spent Left Speed 00:17:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7120 --:--:-- --:--:-- --:--:-- 7120 00:17:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/558c3d95fcf8278a7fc93415f27f61b127f687c9 [Pipeline] } 00:17:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:17:45 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-168/archives ] 00:17:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:17:45 total 16 00:17:45 drwxr-xr-x 3 root root 4096 May 12 00:08 . 00:17:45 drwxrwxr-x 10 jenkins jenkins 4096 May 12 00:08 .. 00:17:45 drwxr-xr-x 2 root root 4096 May 12 00:08 cost 00:17:45 -rw-r--r-- 1 root root 85 May 12 00:08 cost.csv 00:17:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:17:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:17:45 total 16 00:17:45 drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:08 . 00:17:45 drwxrwxr-x 10 jenkins jenkins 4096 May 12 00:08 .. 00:17:45 drwxr-xr-x 2 jenkins jenkins 4096 May 12 00:08 cost 00:17:45 -rw-r--r-- 1 jenkins jenkins 85 May 12 00:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:17:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:17:46 ---> package-listing.sh 00:17:46 ++ facter osfamily 00:17:46 ++ tr '[:upper:]' '[:lower:]' 00:17:47 + OS_FAMILY=debian 00:17:47 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-168 00:17:47 + START_PACKAGES=/tmp/packages_start.txt 00:17:47 + END_PACKAGES=/tmp/packages_end.txt 00:17:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:17:47 + PACKAGES=/tmp/packages_start.txt 00:17:47 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 00:17:47 + PACKAGES=/tmp/packages_end.txt 00:17:47 + case "${OS_FAMILY}" in 00:17:47 + dpkg -l 00:17:47 + grep '^ii' 00:17:47 + '[' -f /tmp/packages_start.txt ']' 00:17:47 + '[' -f /tmp/packages_end.txt ']' 00:17:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:17:47 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 00:17:47 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ 00:17:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ [Pipeline] echo 00:17:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:17:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:17:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:48 . [Pipeline] withDockerContainer 00:17:48 prd-ubuntu20.04-docker-8c-8g-63310 does not seem to be running inside a container 00:17:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:17:48 $ docker top 6672dbd2e58f22ba37f72b876ea0343f2bea7863dd57654d31f8616a759999ad -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:48 + touch /tmp/pre-build-complete [Pipeline] sh 00:17:49 + mkdir -p /var/log/sysstat [Pipeline] sh 00:17:49 + ls /var/log/sa-host 00:17:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:17:49 provisioning config files... 00:17:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config145163798302117974tmp [Pipeline] { [Pipeline] echo 00:17:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:17:49 ---> create-netrc.sh [Pipeline] } 00:17:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:17:50 ---> python-tools-install.sh [Pipeline] echo 00:17:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:17:50 ---> sudo-logs.sh 00:17:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:17:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:17:50 ---> job-cost.sh 00:17:50 lf-activate-venv: SKIPPING 00:17:50 DEBUG: total: 0.2199999988079071 00:17:50 INFO: Retrieving Stack Cost... 00:17:51 INFO: Retrieving Pricing Info for: v3-standard-8 00:17:51 INFO: Archiving Costs [Pipeline] echo 00:17:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:17:51 ---> logs-deploy.sh 00:17:51 lf-activate-venv: SKIPPING 00:17:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-168/6 00:17:51 INFO: archiving workspace using pattern(s): 00:17:52 Archives upload complete. 00:17:52 INFO: archiving logs to Nexus