Pull request #141 opened 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 jeffrey1205 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f2700d797dde70a27600e51c0b144607fa1919f0 rather than 35dd59a8f3481e615c342c88adb74faa9f16d6ad Obtained Jenkinsfile from f2700d797dde70a27600e51c0b144607fa1919f0 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-ssh1157167691053081618.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh14793421691200869314.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-141/workspace@libs/edgex-global-pipelines # timeout=10 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-141/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15928272921393195963.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-141/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8583591111991513171.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17831746757886587319.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-141/workspace@libs/lf-pipelines # timeout=10 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-141/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6310787954105996017.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7107 in /w/workspace/gexfoundry_device-snmp-go_PR-141 [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-141 # 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 f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 35dd59a8f3481e615c342c88adb74faa9f16d6ad Merge succeeded, producing 35dd59a8f3481e615c342c88adb74faa9f16d6ad Checking out Revision 35dd59a8f3481e615c342c88adb74faa9f16d6ad (PR-141) > 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/141/head:refs/remotes/origin/PR-141 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # 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 f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # timeout=10 Commit message: "FIX:edgex-launch.sh Error, disordered log output" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:02:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:30 ========================================================= 09:02:30 EdgeX Global Pipelines Version Info 09:02:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:02:30 ------------------- 09:02:30 stable info: 09:02:30 ------------------- 09:02:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:02:30 Message: update stable to v1.0.221 09:02:31 ------------------- 09:02:31 experimental info: 09:02:31 ------------------- 09:02:31 Commited By: **** collab-it+edgex@linuxfoundation.org 09:02:31 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:02:31 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:02:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:02:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:02:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-141 [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-141 [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-141 [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35dd59a [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:33 provisioning config files... 09:02:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config1221268448785664171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:33 ---> docker-login.sh 09:02:33 nexus3.edgexfoundry.org:10001 09:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:33 Configure a credential helper to remove this warning. See 09:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:33 09:02:33 Login Succeeded 09:02:33 nexus3.edgexfoundry.org:10002 09:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:34 Configure a credential helper to remove this warning. See 09:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:34 09:02:34 Login Succeeded 09:02:34 nexus3.edgexfoundry.org:10003 09:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:34 Configure a credential helper to remove this warning. See 09:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:34 09:02:34 Login Succeeded 09:02:34 nexus3.edgexfoundry.org:10004 09:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:34 Configure a credential helper to remove this warning. See 09:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:34 09:02:34 Login Succeeded 09:02:34 docker.io 09:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:34 Configure a credential helper to remove this warning. See 09:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:34 09:02:34 Login Succeeded 09:02:34 ---> docker-login.sh ends [Pipeline] } 09:02:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:02:35 + git rev-list -1 --merges 35dd59a8f3481e615c342c88adb74faa9f16d6ad~1..35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo 09:02:35 -----------> git rev-list -1 --merges 35dd59a8f3481e615c342c88adb74faa9f16d6ad~1..35dd59a8f3481e615c342c88adb74faa9f16d6ad 35dd59a8f3481e615c342c88adb74faa9f16d6ad [false] [Pipeline] sh 09:02:35 + git log --format=format:%s -1 35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo 09:02:35 ========================================================= 09:02:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:02:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:36 + git log --format=format:%s -1 35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] echo 09:02:36 [semverPrep] GIT_COMMIT: 35dd59a8f3481e615c342c88adb74faa9f16d6ad, Commit Message: FIX:edgex-launch.sh Error, disordered log output [Pipeline] echo 09:02:36 [semverPrep] This is not a build commit. [Pipeline] sh 09:02:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:02:36 + grep -v github /etc/ssh/ssh_known_hosts 09:02:36 + [ -e /tmp/ssh_known_hosts ] 09:02:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:02:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:02:36 + sudo tee -a /etc/ssh/ssh_known_hosts 09:02:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:37 09:02:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:02:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:37 latest: Pulling from edgex-devops/git-semver 09:02:37 a0d0a0d46f8b: Pulling fs layer 09:02:37 3e5f54012d9b: Pulling fs layer 09:02:37 4c7163046ea9: Pulling fs layer 09:02:37 0c2d73faf560: Pulling fs layer 09:02:37 0c2d73faf560: Waiting 09:02:37 3e5f54012d9b: Verifying Checksum 09:02:37 3e5f54012d9b: Download complete 09:02:37 a0d0a0d46f8b: Download complete 09:02:37 0c2d73faf560: Verifying Checksum 09:02:37 0c2d73faf560: Download complete 09:02:37 4c7163046ea9: Verifying Checksum 09:02:37 4c7163046ea9: Download complete 09:02:37 a0d0a0d46f8b: Pull complete 09:02:37 3e5f54012d9b: Pull complete 09:02:38 4c7163046ea9: Pull complete 09:02:38 0c2d73faf560: Pull complete 09:02:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:02:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:02:38 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 09:02:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:02:39 $ docker top ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:39 [ssh-agent] Looking for ssh-agent implementation... 09:02:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:39 $ docker exec ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent 09:02:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpDhMgl/agent.14 09:02:39 SSH_AGENT_PID=21 09:02:39 Running ssh-add (command line suppressed) 09:02:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_6715026485384476072.key (/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_6715026485384476072.key) 09:02:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:40 + git tag --points-at HEAD [Pipeline] } 09:02:40 $ docker exec --env ******** --env ******** ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent -k 09:02:40 unset SSH_AUTH_SOCK; 09:02:40 unset SSH_AGENT_PID; 09:02:40 echo Agent pid 21 killed; 09:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:40 [ssh-agent] Looking for ssh-agent implementation... 09:02:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:40 $ docker exec ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent 09:02:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkIEDAp/agent.53 09:02:40 SSH_AGENT_PID=59 09:02:40 Running ssh-add (command line suppressed) 09:02:41 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_5516645905576811873.key (/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/private_key_5516645905576811873.key) 09:02:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:41 + git semver init 09:02:41 # -> Open(): unable to determine branch for HEAD 09:02:41 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-141/.git 09:02:41 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-141 09:02:41 # $SEMVER_REMOTE_NAME = origin 09:02:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:02:41 # $SEMVER_USER_NAME = edgex-jenkins 09:02:41 # $SEMVER_BRANCH = PR-141 09:02:41 # $SEMVER_TEMP = /tmp/semver-443297825 09:02:41 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 09:02:42 # '/tmp/semver-443297825' -> '/w/workspace/gexfoundry_device-snmp-go_PR-141/.semver' 09:02:42 # -> Force: false 09:02:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-141/.semver [Pipeline] } 09:02:42 $ docker exec --env ******** --env ******** ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 ssh-agent -k 09:02:42 unset SSH_AUTH_SOCK; 09:02:42 unset SSH_AGENT_PID; 09:02:42 echo Agent pid 59 killed; 09:02:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:42 + git semver [Pipeline] } 09:02:42 $ docker stop --time=1 ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 09:02:44 $ docker rm -f ae14ce1f1347e0bc6c6265caa8468e4c6eb30c32fd27dd0c7ac5a97725e44232 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:45 Stashed 1 file(s) [Pipeline] echo 09:02:45 [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 09:02:45 provisioning config files... 09:02:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config1763867242655016353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:46 ---> docker-login.sh 09:02:46 nexus3.edgexfoundry.org:10001 09:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:46 Configure a credential helper to remove this warning. See 09:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:46 09:02:46 Login Succeeded 09:02:46 nexus3.edgexfoundry.org:10002 09:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:46 Configure a credential helper to remove this warning. See 09:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:46 09:02:46 Login Succeeded 09:02:46 nexus3.edgexfoundry.org:10003 09:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:46 Configure a credential helper to remove this warning. See 09:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:46 09:02:46 Login Succeeded 09:02:46 nexus3.edgexfoundry.org:10004 09:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:46 Configure a credential helper to remove this warning. See 09:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:46 09:02:46 Login Succeeded 09:02:46 docker.io 09:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:46 Configure a credential helper to remove this warning. See 09:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:46 09:02:46 Login Succeeded 09:02:46 ---> docker-login.sh ends [Pipeline] } 09:02:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:47 ========================================================= 09:02:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:02:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:02:47 + 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 . 09:02:47 Sending build context to Docker daemon 5.208MB 09:02:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:02:47 Step 2/12 : FROM ${BASE} AS builder 09:02:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:47 59bf1c3509f3: Pulling fs layer 09:02:47 666ba61612fd: Pulling fs layer 09:02:47 8ed8ca486205: Pulling fs layer 09:02:47 4fe6c5a15a65: Pulling fs layer 09:02:47 22a0e8bec74d: Pulling fs layer 09:02:47 640e595b4fbd: Pulling fs layer 09:02:47 763cafe07f6e: Pulling fs layer 09:02:47 0c0b528cf693: Pulling fs layer 09:02:47 10935f4eaf8b: Pulling fs layer 09:02:47 640e595b4fbd: Waiting 09:02:47 763cafe07f6e: Waiting 09:02:47 0c0b528cf693: Waiting 09:02:47 10935f4eaf8b: Waiting 09:02:47 4fe6c5a15a65: Waiting 09:02:47 8ed8ca486205: Verifying Checksum 09:02:47 8ed8ca486205: Download complete 09:02:47 666ba61612fd: Verifying Checksum 09:02:47 666ba61612fd: Download complete 09:02:47 22a0e8bec74d: Verifying Checksum 09:02:47 22a0e8bec74d: Download complete 09:02:47 640e595b4fbd: Verifying Checksum 09:02:47 640e595b4fbd: Download complete 09:02:47 59bf1c3509f3: Verifying Checksum 09:02:47 59bf1c3509f3: Download complete 09:02:47 763cafe07f6e: Verifying Checksum 09:02:47 763cafe07f6e: Download complete 09:02:47 0c0b528cf693: Verifying Checksum 09:02:47 0c0b528cf693: Download complete 09:02:47 59bf1c3509f3: Pull complete 09:02:48 666ba61612fd: Pull complete 09:02:48 8ed8ca486205: Pull complete 09:02:48 10935f4eaf8b: Verifying Checksum 09:02:48 10935f4eaf8b: Download complete 09:02:48 4fe6c5a15a65: Verifying Checksum 09:02:48 4fe6c5a15a65: Download complete 09:02:52 4fe6c5a15a65: Pull complete 09:02:52 22a0e8bec74d: Pull complete 09:02:52 640e595b4fbd: Pull complete 09:02:52 763cafe07f6e: Pull complete 09:02:52 0c0b528cf693: Pull complete 09:02:55 10935f4eaf8b: Pull complete 09:02:55 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:02:55 ---> 99d49a6021b9 09:02:55 Step 3/12 : ARG MAKE='make build' 09:02:56 ---> Running in de4458810178 09:02:56 Removing intermediate container de4458810178 09:02:56 ---> fe6118cfd02f 09:02:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:02:56 ---> Running in 8304bfbba024 09:02:56 Removing intermediate container 8304bfbba024 09:02:56 ---> a29a7663d1fe 09:02:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:02:57 ---> Running in 8ae18e86104d 09:02:57 Removing intermediate container 8ae18e86104d 09:02:57 ---> 222bed623b12 09:02:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:57 ---> Running in 23adf7c89172 09:02:57 Removing intermediate container 23adf7c89172 09:02:57 ---> 838a4fd88997 09:02:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:57 ---> Running in b659f35201f3 09:02:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:02:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:02:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:02:59 (2/4) Installing libedit (20210910.3.1-r0) 09:02:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:02:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:02:59 Executing busybox-1.34.1-r3.trigger 09:02:59 OK: 224 MiB in 56 packages 09:02:59 Removing intermediate container b659f35201f3 09:02:59 ---> e10a2af24981 09:02:59 Step 8/12 : WORKDIR /device-snmp-go 09:03:00 ---> Running in 2943409af9f3 09:03:00 Removing intermediate container 2943409af9f3 09:03:00 ---> ad77b142db15 09:03:00 Step 9/12 : COPY go.mod vendor* ./ 09:03:00 ---> e93f7a96cf81 09:03:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:00 ---> Running in a1ce72450c96 09:03:00 Still waiting to schedule task 09:03:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:03:32 Removing intermediate container a1ce72450c96 09:03:32 ---> 34082381eb83 09:03:32 Step 11/12 : COPY . . 09:03:32 ---> 0b85af33af2e 09:03:32 Step 12/12 : RUN ${MAKE} 09:03:32 ---> Running in 71ace22ef940 09:03:32 noop 09:03:32 Removing intermediate container 71ace22ef940 09:03:32 ---> 9602f9a61443 09:03:32 Successfully built 9602f9a61443 09:03:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:03:32 + docker inspect -f . ci-base-image-x86_64 09:03:32 . [Pipeline] withDockerContainer 09:03:32 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 09:03:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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 ******** ci-base-image-x86_64 cat 09:03:33 $ docker top 94d357813b7f71813d222ec934d7c931294581d5a6e79d92f59ce66683b1d9f7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:33 + go version 09:03:33 go version go1.17.6 linux/amd64 [Pipeline] } 09:03:33 $ docker stop --time=1 94d357813b7f71813d222ec934d7c931294581d5a6e79d92f59ce66683b1d9f7 09:03:35 $ docker rm -f 94d357813b7f71813d222ec934d7c931294581d5a6e79d92f59ce66683b1d9f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:03:35 + docker inspect -f . ci-base-image-x86_64 09:03:35 . [Pipeline] withDockerContainer 09:03:36 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 09:03:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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 ******** ci-base-image-x86_64 cat 09:03:36 $ docker top 6084a171d9a90b1803a4f8c7f8d267e99b81c0c732b4212654bffa6c74acedac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:03:36 + make test 09:03:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:03:37 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:03:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:03:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 09:03:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:03:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:03:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:03:47 ./bin/test-attribution-txt.sh [Pipeline] echo 09:03:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:03:47 $ docker stop --time=1 6084a171d9a90b1803a4f8c7f8d267e99b81c0c732b4212654bffa6c74acedac 09:03:48 $ docker rm -f 6084a171d9a90b1803a4f8c7f8d267e99b81c0c732b4212654bffa6c74acedac [Pipeline] // withDockerContainer [Pipeline] sh 09:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:03:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:50 + ls -al . 09:03:50 total 176 09:03:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 09:03 . 09:03:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:02 .. 09:03:50 -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 09:02 .dockerignore 09:03:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:02 .git 09:03:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:02 .github 09:03:50 -rw-rw-r-- 1 jenkins jenkins 262 Mar 15 09:02 .gitignore 09:03:50 drwx------ 3 jenkins jenkins 4096 Mar 15 09:02 .semver 09:03:50 -rw-rw-r-- 1 jenkins jenkins 6926 Mar 15 09:02 Attribution.txt 09:03:50 -rw-rw-r-- 1 jenkins jenkins 4401 Mar 15 09:02 CHANGELOG.md 09:03:50 -rw-rw-r-- 1 jenkins jenkins 1516 Mar 15 09:02 Dockerfile 09:03:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 09:02 GOVERNANCE.md 09:03:50 -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 09:02 Jenkinsfile 09:03:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 09:02 LICENSE 09:03:50 -rw-rw-r-- 1 jenkins jenkins 1057 Mar 15 09:02 Makefile 09:03:50 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 09:02 OWNERS.md 09:03:50 -rw-rw-r-- 1 jenkins jenkins 9073 Mar 15 09:02 README.md 09:03:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 09:02 VERSION 09:03:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:02 bin 09:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:02 cmd 09:03:50 -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 09:03 coverage.out 09:03:50 -rw-rw-r-- 1 jenkins jenkins 2820 Mar 15 09:02 go.mod 09:03:50 -rw-rw-r-- 1 jenkins jenkins 49501 Mar 15 09:02 go.sum 09:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:02 internal 09:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:02 snap 09:03:50 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 09:02 version.go [Pipeline] isUnix [Pipeline] sh 09:03:51 + 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=35dd59a8f3481e615c342c88adb74faa9f16d6ad --label arch=amd64 --label version=0.0.0 . 09:03:51 Sending build context to Docker daemon 5.216MB 09:03:51 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:03:51 Step 2/24 : FROM ${BASE} AS builder 09:03:51 ---> 9602f9a61443 09:03:51 Step 3/24 : ARG MAKE='make build' 09:03:51 ---> Running in 9a7d5a142818 09:03:51 Removing intermediate container 9a7d5a142818 09:03:51 ---> 4b064562a790 09:03:51 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:03:51 ---> Running in 65d415ac1ae3 09:03:51 Removing intermediate container 65d415ac1ae3 09:03:51 ---> 8c5cdc209784 09:03:51 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:03:51 ---> Running in abce4546f049 09:03:51 Removing intermediate container abce4546f049 09:03:51 ---> 62fcfa3aff66 09:03:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:03:51 ---> Running in 4381f1059215 09:03:52 Removing intermediate container 4381f1059215 09:03:52 ---> 868c3d45c911 09:03:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:03:52 ---> Running in a1787717db2b 09:03:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:03:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:03:53 OK: 224 MiB in 56 packages 09:03:53 Removing intermediate container a1787717db2b 09:03:53 ---> 7c193b3dcc9d 09:03:53 Step 8/24 : WORKDIR /device-snmp-go 09:03:53 ---> Running in 340c1c30966f 09:03:53 Removing intermediate container 340c1c30966f 09:03:53 ---> 138e1c136787 09:03:53 Step 9/24 : COPY go.mod vendor* ./ 09:03:54 ---> 74920833abd3 09:03:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:54 ---> Running in d0b1f6b0b9e0 09:03:54 Removing intermediate container d0b1f6b0b9e0 09:03:54 ---> be9c119eee83 09:03:54 Step 11/24 : COPY . . 09:03:54 ---> 6f5cbac8cea1 09:03:54 Step 12/24 : RUN ${MAKE} 09:03:54 ---> Running in 1a34829529a3 09:03:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 09:04:03 Removing intermediate container 1a34829529a3 09:04:03 ---> f5539c738996 09:04:03 Step 13/24 : FROM alpine:3.14 09:04:03 3.14: Pulling from library/alpine 09:04:03 97518928ae5f: Pulling fs layer 09:04:03 97518928ae5f: Verifying Checksum 09:04:03 97518928ae5f: Download complete 09:04:03 97518928ae5f: Pull complete 09:04:03 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 09:04:03 Status: Downloaded newer image for alpine:3.14 09:04:03 ---> 0a97eee8041e 09:04:03 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:04:03 ---> Running in febbcce4aa45 09:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:04:03 (1/6) Installing dumb-init (1.2.5-r1) 09:04:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:04:03 (3/6) Installing libsodium (1.0.18-r0) 09:04:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:04:03 (5/6) Installing libzmq (4.3.4-r0) 09:04:03 (6/6) Installing zeromq (4.3.4-r0) 09:04:03 Executing busybox-1.33.1-r6.trigger 09:04:03 OK: 8 MiB in 20 packages 09:04:04 Removing intermediate container febbcce4aa45 09:04:04 ---> 8d794968218f 09:04:04 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:04:04 ---> fe2ffcb8d1f7 09:04:04 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:04:04 ---> 71d54e1837ee 09:04:04 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:04:04 ---> e690501d4c0f 09:04:04 Step 18/24 : EXPOSE 59993 09:04:04 ---> Running in 6ed903305695 09:04:04 Removing intermediate container 6ed903305695 09:04:04 ---> b8fe95ea0856 09:04:04 Step 19/24 : EXPOSE 161 09:04:04 ---> Running in 2561d05501a4 09:04:04 Removing intermediate container 2561d05501a4 09:04:04 ---> f289e62f1a17 09:04:04 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:04:04 ---> Running in 493ab42912c8 09:04:05 Removing intermediate container 493ab42912c8 09:04:05 ---> c5eb45dd5979 09:04:05 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:04:05 ---> Running in a389ef3beb30 09:04:05 Removing intermediate container a389ef3beb30 09:04:05 ---> 5569de7ff9a6 09:04:05 Step 22/24 : LABEL arch=amd64 09:04:05 ---> Running in 15de95db2a4d 09:04:05 Removing intermediate container 15de95db2a4d 09:04:05 ---> b65c46ed0a30 09:04:05 Step 23/24 : LABEL git_sha=35dd59a8f3481e615c342c88adb74faa9f16d6ad 09:04:05 ---> Running in cde4f2188eb4 09:04:05 Removing intermediate container cde4f2188eb4 09:04:05 ---> 84a2711971d5 09:04:05 Step 24/24 : LABEL version=0.0.0 09:04:05 ---> Running in ca776b0df430 09:04:05 Removing intermediate container ca776b0df430 09:04:05 ---> d063e969893d 09:04:05 [Warning] One or more build-args [ARCH] were not consumed 09:04:05 Successfully built d063e969893d 09:04:05 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 09:04:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:06 09:04:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:06 latest: Pulling from edgex-lftools-log-publisher 09:04:06 5eb5b503b376: Pulling fs layer 09:04:06 5c69ac0246d0: Pulling fs layer 09:04:06 ec43610c2a17: Pulling fs layer 09:04:06 3a2ae6a8a46f: Pulling fs layer 09:04:06 33b1e0a273af: Pulling fs layer 09:04:06 5d3b04190fa2: Pulling fs layer 09:04:06 2f39f015ded8: Pulling fs layer 09:04:06 5d3b04190fa2: Waiting 09:04:06 33b1e0a273af: Waiting 09:04:06 2f39f015ded8: Waiting 09:04:06 3a2ae6a8a46f: Waiting 09:04:06 5c69ac0246d0: Download complete 09:04:06 3a2ae6a8a46f: Verifying Checksum 09:04:06 3a2ae6a8a46f: Download complete 09:04:06 33b1e0a273af: Verifying Checksum 09:04:06 33b1e0a273af: Download complete 09:04:06 5d3b04190fa2: Download complete 09:04:06 ec43610c2a17: Verifying Checksum 09:04:06 ec43610c2a17: Download complete 09:04:07 5eb5b503b376: Verifying Checksum 09:04:07 5eb5b503b376: Download complete 09:04:07 2f39f015ded8: Download complete 09:04:08 5eb5b503b376: Pull complete 09:04:08 5c69ac0246d0: Pull complete 09:04:08 ec43610c2a17: Pull complete 09:04:08 3a2ae6a8a46f: Pull complete 09:04:08 33b1e0a273af: Pull complete 09:04:08 5d3b04190fa2: Pull complete 09:04:13 2f39f015ded8: Pull complete 09:04:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:04:13 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 09:04:13 $ 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-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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-lftools-log-publisher:latest cat 09:04:14 $ docker top 841e5f8667d9445b3e4a0bef624f8deb96d77fa232dbd12083701baf8d6a37bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:15 ---> job-cost.sh 09:04:15 lf-activate-venv: SKIPPING 09:04:15 INFO: No Stack... 09:04:15 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:16 INFO: Archiving Costs [Pipeline] sh 09:04:16 + cat /w/workspace/gexfoundry_device-snmp-go_PR-141/archives/cost.csv 09:04:16 + cut -d, -f6 [Pipeline] lock 09:04:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] 09:04:16 Resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] did not exist. Created. 09:04:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:04:17 + echo total: 0.2199999988079071 [Pipeline] stash 09:04:17 Stashed 1 file(s) [Pipeline] } 09:04:17 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:04:17 $ docker stop --time=1 841e5f8667d9445b3e4a0bef624f8deb96d77fa232dbd12083701baf8d6a37bc 09:04:18 $ docker rm -f 841e5f8667d9445b3e4a0bef624f8deb96d77fa232dbd12083701baf8d6a37bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:04:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7108 in /w/workspace/gexfoundry_device-snmp-go_PR-141 [Pipeline] { [Pipeline] ws 09:04:39 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 09:04:39 Selected Git installation does not exist. Using Default 09:04:39 The recommended git tool is: NONE 09:04:47 using credential edgex-jenkins-ssh 09:04:47 Cloning the remote Git repository 09:04:47 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:04:47 > git init /w/workspace/device-snmp-go/1 # timeout=10 09:04:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:04:47 > git --version # timeout=10 09:04:47 > git --version # 'git version 2.25.1' 09:04:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:49 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 35dd59a8f3481e615c342c88adb74faa9f16d6ad 09:04:49 Merge succeeded, producing 35dd59a8f3481e615c342c88adb74faa9f16d6ad 09:04:49 Checking out Revision 35dd59a8f3481e615c342c88adb74faa9f16d6ad (PR-141) 09:04:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:04:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:04:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:04:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:04:49 > git config core.sparsecheckout # timeout=10 09:04:49 > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # timeout=10 09:04:49 > git remote # timeout=10 09:04:49 > git config --get remote.origin.url # timeout=10 09:04:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:49 > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 09:04:49 > git rev-parse HEAD^{commit} # timeout=10 09:04:49 > git config core.sparsecheckout # timeout=10 09:04:49 > git checkout -f 35dd59a8f3481e615c342c88adb74faa9f16d6ad # timeout=10 09:04:54 Commit message: "FIX:edgex-launch.sh Error, disordered log output" 09:04:54 > git --version # timeout=10 09:04:54 > git --version # 'git version 2.25.1' 09:04:54 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:04:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:04:55 % Total % Received % Xferd Average Speed Time Time Time Current 09:04:55 Dload Upload Total Spent Left Speed 09:04:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh 09:04:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:04:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 09:04:56 sudo tee /etc/docker/daemon.new 09:04:56 { 09:04:56 "registry-mirrors": [ 09:04:56 "https://nexus3.edgexfoundry.org:10001" 09:04:56 ], 09:04:56 "bip": "10.250.0.254/24", 09:04:56 "hosts": [ 09:04:56 "tcp://0.0.0.0:5555", 09:04:56 "unix:///var/run/docker.sock" 09:04:56 ], 09:04:56 "mtu": 1458, 09:04:56 "selinux-enabled": true, 09:04:56 "seccomp-profile": "/etc/docker/seccomp.json" 09:04:56 } [Pipeline] sh 09:04:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:04:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:05:15 provisioning config files... 09:05:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4337659124193547772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:16 ---> docker-login.sh 09:05:16 nexus3.edgexfoundry.org:10001 09:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:17 Configure a credential helper to remove this warning. See 09:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:17 09:05:17 Login Succeeded 09:05:17 nexus3.edgexfoundry.org:10002 09:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:17 Configure a credential helper to remove this warning. See 09:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:17 09:05:17 Login Succeeded 09:05:17 nexus3.edgexfoundry.org:10003 09:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:18 Configure a credential helper to remove this warning. See 09:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:18 09:05:18 Login Succeeded 09:05:18 nexus3.edgexfoundry.org:10004 09:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:18 Configure a credential helper to remove this warning. See 09:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:18 09:05:18 Login Succeeded 09:05:18 docker.io 09:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:19 Configure a credential helper to remove this warning. See 09:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:19 09:05:19 Login Succeeded 09:05:19 ---> docker-login.sh ends [Pipeline] } 09:05:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:05:19 ========================================================= 09:05:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:05:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:05:20 + 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 . 09:05:20 Sending build context to Docker daemon 2.716MB 09:05:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:05:20 Step 2/12 : FROM ${BASE} AS builder 09:05:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:20 9b3977197b4f: Pulling fs layer 09:05:20 1a89e8eeedd5: Pulling fs layer 09:05:20 94645a83ff95: Pulling fs layer 09:05:20 3f3a8bcf1eab: Pulling fs layer 09:05:20 0c92f367c5e7: Pulling fs layer 09:05:20 f7c0051592d6: Pulling fs layer 09:05:20 a227ed2f7395: Pulling fs layer 09:05:20 7b1c46037f91: Pulling fs layer 09:05:20 3f3a8bcf1eab: Waiting 09:05:20 0c92f367c5e7: Waiting 09:05:20 f7c0051592d6: Waiting 09:05:20 a227ed2f7395: Waiting 09:05:20 7b1c46037f91: Waiting 09:05:20 94645a83ff95: Verifying Checksum 09:05:20 94645a83ff95: Download complete 09:05:20 1a89e8eeedd5: Download complete 09:05:20 0c92f367c5e7: Verifying Checksum 09:05:20 0c92f367c5e7: Download complete 09:05:20 f7c0051592d6: Verifying Checksum 09:05:20 f7c0051592d6: Download complete 09:05:20 9b3977197b4f: Download complete 09:05:20 a227ed2f7395: Verifying Checksum 09:05:20 a227ed2f7395: Download complete 09:05:21 9b3977197b4f: Pull complete 09:05:22 1a89e8eeedd5: Pull complete 09:05:22 94645a83ff95: Pull complete 09:05:23 7b1c46037f91: Verifying Checksum 09:05:23 7b1c46037f91: Download complete 09:05:23 3f3a8bcf1eab: Verifying Checksum 09:05:23 3f3a8bcf1eab: Download complete 09:05:36 3f3a8bcf1eab: Pull complete 09:05:36 0c92f367c5e7: Pull complete 09:05:36 f7c0051592d6: Pull complete 09:05:36 a227ed2f7395: Pull complete 09:05:43 7b1c46037f91: Pull complete 09:05:43 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:05:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:05:43 ---> f79e39bc4007 09:05:43 Step 3/12 : ARG MAKE='make build' 09:05:44 ---> Running in 29d69723b2d0 09:05:44 Removing intermediate container 29d69723b2d0 09:05:44 ---> 05c229a86c89 09:05:44 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:05:44 ---> Running in 7a22208f99c9 09:05:44 Removing intermediate container 7a22208f99c9 09:05:44 ---> eabb4cf22c8a 09:05:44 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:05:44 ---> Running in ce7f39ddb31c 09:05:44 Removing intermediate container ce7f39ddb31c 09:05:44 ---> a3259c6395bb 09:05:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:44 ---> Running in c4b4680fcfad 09:05:46 Removing intermediate container c4b4680fcfad 09:05:46 ---> 0feda38621bd 09:05:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:05:46 ---> Running in a7ef9adfed25 09:05:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:05:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:05:49 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:05:49 (2/4) Installing libedit (20210910.3.1-r0) 09:05:49 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:05:49 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:05:50 Executing busybox-1.34.1-r3.trigger 09:05:50 OK: 224 MiB in 56 packages 09:05:51 Removing intermediate container a7ef9adfed25 09:05:51 ---> 1718144da86e 09:05:51 Step 8/12 : WORKDIR /device-snmp-go 09:05:51 ---> Running in 1a50d15a2563 09:05:51 Removing intermediate container 1a50d15a2563 09:05:51 ---> de6b8ce06f39 09:05:51 Step 9/12 : COPY go.mod vendor* ./ 09:05:51 ---> 1cc3ae876a29 09:05:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:05:51 ---> Running in 1b464b84c6d1 09:07:13 Removing intermediate container 1b464b84c6d1 09:07:13 ---> fcc6eb86777f 09:07:13 Step 11/12 : COPY . . 09:07:13 ---> e84a5cf48008 09:07:13 Step 12/12 : RUN ${MAKE} 09:07:13 ---> Running in 44bc3ffd2713 09:07:14 noop 09:07:14 Removing intermediate container 44bc3ffd2713 09:07:14 ---> dd92152486c8 09:07:14 Successfully built dd92152486c8 09:07:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:07:15 + docker inspect -f . ci-base-image-arm64 09:07:15 . [Pipeline] withDockerContainer 09:07:15 prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container 09:07:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 09:07:16 $ docker top 0ab2eac29a84f3a282c140af9e749a5d8853cfcbf8248c82a7b3a05ac6df8920 -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:17 + go version 09:07:17 go version go1.17.6 linux/arm64 [Pipeline] } 09:07:17 $ docker stop --time=1 0ab2eac29a84f3a282c140af9e749a5d8853cfcbf8248c82a7b3a05ac6df8920 09:07:19 $ docker rm -f 0ab2eac29a84f3a282c140af9e749a5d8853cfcbf8248c82a7b3a05ac6df8920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:07:20 + docker inspect -f . ci-base-image-arm64 09:07:20 . [Pipeline] withDockerContainer 09:07:20 prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container 09:07:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 09:07:21 $ docker top 07d8c43c38b4cb0591247094b8135cfb5baca534d92ae20637ac8f592dce5b80 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:07:22 + make test 09:07:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:07:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:08:11 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:08:11 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 09:08:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:08:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:08:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:08:33 ./bin/test-attribution-txt.sh [Pipeline] echo 09:08:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:08:33 $ docker stop --time=1 07d8c43c38b4cb0591247094b8135cfb5baca534d92ae20637ac8f592dce5b80 09:08:35 $ docker rm -f 07d8c43c38b4cb0591247094b8135cfb5baca534d92ae20637ac8f592dce5b80 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:36 Warning: overwriting stash ‘coverage-report’ 09:08:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:37 + ls -al . 09:08:37 total 172 09:08:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:08 . 09:08:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:04 .. 09:08:37 -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 09:04 .dockerignore 09:08:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:04 .git 09:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:04 .github 09:08:37 -rw-rw-r-- 1 jenkins jenkins 262 Mar 15 09:04 .gitignore 09:08:37 -rw-rw-r-- 1 jenkins jenkins 6926 Mar 15 09:04 Attribution.txt 09:08:37 -rw-rw-r-- 1 jenkins jenkins 4401 Mar 15 09:04 CHANGELOG.md 09:08:37 -rw-rw-r-- 1 jenkins jenkins 1516 Mar 15 09:04 Dockerfile 09:08:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 09:04 GOVERNANCE.md 09:08:37 -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 09:04 Jenkinsfile 09:08:37 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 09:04 LICENSE 09:08:37 -rw-rw-r-- 1 jenkins jenkins 1057 Mar 15 09:04 Makefile 09:08:37 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 09:04 OWNERS.md 09:08:37 -rw-rw-r-- 1 jenkins jenkins 9073 Mar 15 09:04 README.md 09:08:37 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 09:02 VERSION 09:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:04 bin 09:08:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:04 cmd 09:08:37 -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 09:08 coverage.out 09:08:37 -rw-rw-r-- 1 jenkins jenkins 2820 Mar 15 09:04 go.mod 09:08:37 -rw-rw-r-- 1 jenkins jenkins 49501 Mar 15 09:04 go.sum 09:08:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:04 internal 09:08:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:04 snap 09:08:37 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 09:04 version.go [Pipeline] isUnix [Pipeline] sh 09:08:38 + 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=35dd59a8f3481e615c342c88adb74faa9f16d6ad --label arch=arm64 --label version=0.0.0 . 09:08:38 Sending build context to Docker daemon 2.724MB 09:08:38 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:08:38 Step 2/24 : FROM ${BASE} AS builder 09:08:38 ---> dd92152486c8 09:08:38 Step 3/24 : ARG MAKE='make build' 09:08:38 ---> Running in 2a5f80126e61 09:08:38 Removing intermediate container 2a5f80126e61 09:08:38 ---> 691c959d0f71 09:08:38 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:08:38 ---> Running in f73860cff34f 09:08:39 Removing intermediate container f73860cff34f 09:08:39 ---> d5495cacfb32 09:08:39 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:08:39 ---> Running in ad5b99f8d5f7 09:08:39 Removing intermediate container ad5b99f8d5f7 09:08:39 ---> c5f1d7ca1f32 09:08:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:39 ---> Running in 6582eb561ebe 09:08:41 Removing intermediate container 6582eb561ebe 09:08:41 ---> dc7476882fcc 09:08:41 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:08:41 ---> Running in b1c36f1fd582 09:08:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:08:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:08:44 OK: 224 MiB in 56 packages 09:08:45 Removing intermediate container b1c36f1fd582 09:08:45 ---> a6a7c3d89ed6 09:08:45 Step 8/24 : WORKDIR /device-snmp-go 09:08:45 ---> Running in bdb5c71b498e 09:08:45 Removing intermediate container bdb5c71b498e 09:08:45 ---> f61b92d6b81b 09:08:45 Step 9/24 : COPY go.mod vendor* ./ 09:08:45 ---> 69678b11f43d 09:08:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:45 ---> Running in bf170647e904 09:08:47 Removing intermediate container bf170647e904 09:08:47 ---> 207f6cd693e1 09:08:47 Step 11/24 : COPY . . 09:08:48 ---> 1c2752f05758 09:08:48 Step 12/24 : RUN ${MAKE} 09:08:48 ---> Running in 1d253ccc414f 09:08:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 09:09:36 Removing intermediate container 1d253ccc414f 09:09:36 ---> 64dd7b33dad3 09:09:36 Step 13/24 : FROM alpine:3.14 09:09:36 3.14: Pulling from library/alpine 09:09:36 be307f383ecc: Pulling fs layer 09:09:36 be307f383ecc: Verifying Checksum 09:09:36 be307f383ecc: Download complete 09:09:36 be307f383ecc: Pull complete 09:09:36 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 09:09:36 Status: Downloaded newer image for alpine:3.14 09:09:36 ---> 5b8b7b635229 09:09:36 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:09:36 ---> Running in d315d9797b87 09:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:09:36 (1/6) Installing dumb-init (1.2.5-r1) 09:09:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:09:36 (3/6) Installing libsodium (1.0.18-r0) 09:09:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:09:36 (5/6) Installing libzmq (4.3.4-r0) 09:09:36 (6/6) Installing zeromq (4.3.4-r0) 09:09:36 Executing busybox-1.33.1-r6.trigger 09:09:36 OK: 8 MiB in 20 packages 09:09:36 Removing intermediate container d315d9797b87 09:09:36 ---> d467aff80af4 09:09:36 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:09:37 ---> 3e46a4cee7ee 09:09:37 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:09:37 ---> d1ce50d345f1 09:09:37 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:09:38 ---> ce4a74e36f36 09:09:38 Step 18/24 : EXPOSE 59993 09:09:38 ---> Running in dfd26aa58468 09:09:38 Removing intermediate container dfd26aa58468 09:09:38 ---> 95dd9d09c910 09:09:38 Step 19/24 : EXPOSE 161 09:09:38 ---> Running in 252e7593f726 09:09:39 Removing intermediate container 252e7593f726 09:09:39 ---> b7832646eaff 09:09:39 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:09:39 ---> Running in 9d2ffaba2c65 09:09:39 Removing intermediate container 9d2ffaba2c65 09:09:39 ---> 34afc5b90dd3 09:09:39 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:09:39 ---> Running in 810e4533089a 09:09:39 Removing intermediate container 810e4533089a 09:09:39 ---> 6acb484441cf 09:09:39 Step 22/24 : LABEL arch=arm64 09:09:39 ---> Running in 0eb90372819c 09:09:39 Removing intermediate container 0eb90372819c 09:09:39 ---> ab74fc4827a2 09:09:39 Step 23/24 : LABEL git_sha=35dd59a8f3481e615c342c88adb74faa9f16d6ad 09:09:40 ---> Running in bd9e944279b7 09:09:40 Removing intermediate container bd9e944279b7 09:09:40 ---> fa7cc778f56e 09:09:40 Step 24/24 : LABEL version=0.0.0 09:09:40 ---> Running in 909d352ec9d8 09:09:40 Removing intermediate container 909d352ec9d8 09:09:40 ---> 5c8d704046a5 09:09:40 [Warning] One or more build-args [ARCH] were not consumed 09:09:40 Successfully built 5c8d704046a5 09:09:40 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 09:09:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:41 09:09:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:09:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:42 arm64: Pulling from edgex-lftools-log-publisher 09:09:42 8998bd30e6a1: Pulling fs layer 09:09:42 04944245beec: Pulling fs layer 09:09:42 699f458cf7ca: Pulling fs layer 09:09:42 765212b225bb: Pulling fs layer 09:09:42 f23df028b6ca: Pulling fs layer 09:09:42 d65c8cfc05b1: Pulling fs layer 09:09:42 2437ff75d9bd: Pulling fs layer 09:09:42 765212b225bb: Waiting 09:09:42 f23df028b6ca: Waiting 09:09:42 d65c8cfc05b1: Waiting 09:09:42 2437ff75d9bd: Waiting 09:09:42 04944245beec: Verifying Checksum 09:09:42 04944245beec: Download complete 09:09:42 765212b225bb: Verifying Checksum 09:09:42 765212b225bb: Download complete 09:09:42 f23df028b6ca: Verifying Checksum 09:09:42 f23df028b6ca: Download complete 09:09:42 d65c8cfc05b1: Verifying Checksum 09:09:42 d65c8cfc05b1: Download complete 09:09:42 699f458cf7ca: Verifying Checksum 09:09:42 699f458cf7ca: Download complete 09:09:42 8998bd30e6a1: Verifying Checksum 09:09:42 8998bd30e6a1: Download complete 09:09:45 2437ff75d9bd: Verifying Checksum 09:09:45 2437ff75d9bd: Download complete 09:09:46 8998bd30e6a1: Pull complete 09:09:47 04944245beec: Pull complete 09:09:48 699f458cf7ca: Pull complete 09:09:48 765212b225bb: Pull complete 09:09:49 f23df028b6ca: Pull complete 09:09:50 d65c8cfc05b1: Pull complete 09:10:05 2437ff75d9bd: Pull complete 09:10:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:10:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:10:05 prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container 09:10:05 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:10:08 $ docker top b82d4bfc3c0039df891f2950efbab61c3201123d5bd98df025eef0d7c3fac9f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:09 ---> job-cost.sh 09:10:09 lf-activate-venv: SKIPPING 09:10:09 INFO: No Stack... 09:10:09 INFO: Retrieving Pricing Info for: v3-standard-4 09:10:10 INFO: Archiving Costs [Pipeline] sh 09:10:11 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 09:10:11 + cut -d, -f6 [Pipeline] lock 09:10:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] 09:10:11 Resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] did not exist. Created. 09:10:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:10:12 /w/workspace/device-snmp-go/1@tmp/durable-82e12888/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:10:13 + echo total: 0.10999999940395355 [Pipeline] stash 09:10:13 Warning: overwriting stash ‘stack-cost’ 09:10:13 Stashed 1 file(s) [Pipeline] } 09:10:13 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-141-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:10:13 $ docker stop --time=1 b82d4bfc3c0039df891f2950efbab61c3201123d5bd98df025eef0d7c3fac9f6 09:10:14 $ docker rm -f b82d4bfc3c0039df891f2950efbab61c3201123d5bd98df025eef0d7c3fac9f6 [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 09:10:15 provisioning config files... 09:10:15 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config5487361046235873380tmp [Pipeline] { [Pipeline] sh 09:10:16 + set +x 09:10:16 + curl -s https://codecov.io/bash 09:10:16 + bash -s -- 09:10:16 09:10:16 _____ _ 09:10:16 / ____| | | 09:10:16 | | ___ __| | ___ ___ _____ __ 09:10:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:10:16 | |___| (_) | (_| | __/ (_| (_) \ V / 09:10:16 \_____\___/ \__,_|\___|\___\___/ \_/ 09:10:16 Bash-1.0.6 09:10:16 09:10:16 09:10:16 ==> git version 2.25.1 found 09:10:16 ==> 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 09:10:16 Release-Date: 2020-01-08 09:10:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:10:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:10:16 ==> Jenkins CI detected. 09:10:16 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-141 09:10:16 project root: . 09:10:16 --> token set from env 09:10:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:10:16 ==> Running gcov in . (disable via -X gcov) 09:10:16 ==> Python coveragepy not found 09:10:16 ==> Searching for coverage reports in: 09:10:16 + . 09:10:16 -> Found 1 reports 09:10:16 ==> Detecting git/mercurial file structure 09:10:16 ==> Reading reports 09:10:16 + ./coverage.out bytes=7631 09:10:16 ==> Appending adjustments 09:10:16 https://docs.codecov.io/docs/fixing-reports 09:10:16 + Found adjustments 09:10:16 ==> Gzipping contents 09:10:16 4.0K /tmp/codecov.CjIlwB.gz 09:10:16 ==> Uploading reports 09:10:16 url: https://codecov.io 09:10:16 query: branch=PR-141&commit=35dd59a8f3481e615c342c88adb74faa9f16d6ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=141&job=&cmd_args= 09:10:16 -> Pinging Codecov 09:10:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-141&commit=35dd59a8f3481e615c342c88adb74faa9f16d6ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=141&job=&cmd_args= 09:10:16 -> Uploading to 09:10:16 https://storage.googleapis.com/codecov/v4/raw/2022-03-15/6C56EA5C29638FB4528AC87E60AF5AE0/35dd59a8f3481e615c342c88adb74faa9f16d6ad/8d111952-95c2-4767-af3f-77a8da1d7cbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220315T091016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=372301d4e8fffe5d12cf2fa18fc1343c7f5760aa0fa2ba058d3075df26568448 09:10:16 % Total % Received % Xferd Average Speed Time Time Time Current 09:10:16 Dload Upload Total Spent Left Speed 09:10:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1580 0 0 100 1580 0 6320 --:--:-- --:--:-- --:--:-- 6345 09:10:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/35dd59a8f3481e615c342c88adb74faa9f16d6ad [Pipeline] } 09:10:17 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 09:10:18 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-141/archives ] 09:10:18 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-141/archives 09:10:18 total 16 09:10:18 drwxr-xr-x 3 root root 4096 Mar 15 09:04 . 09:10:18 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:04 .. 09:10:18 drwxr-xr-x 2 root root 4096 Mar 15 09:04 cost 09:10:18 -rw-r--r-- 1 root root 85 Mar 15 09:04 cost.csv 09:10:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-141/archives 09:10:18 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-141/archives 09:10:18 total 16 09:10:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 09:04 . 09:10:18 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:04 .. 09:10:18 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 09:04 cost 09:10:18 -rw-r--r-- 1 jenkins jenkins 85 Mar 15 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:10:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:10:20 ---> package-listing.sh 09:10:20 ++ facter osfamily 09:10:20 ++ tr '[:upper:]' '[:lower:]' 09:10:20 + OS_FAMILY=debian 09:10:20 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-141 09:10:20 + START_PACKAGES=/tmp/packages_start.txt 09:10:20 + END_PACKAGES=/tmp/packages_end.txt 09:10:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:10:20 + PACKAGES=/tmp/packages_start.txt 09:10:20 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-141 ']' 09:10:20 + PACKAGES=/tmp/packages_end.txt 09:10:20 + case "${OS_FAMILY}" in 09:10:20 + dpkg -l 09:10:20 + grep '^ii' 09:10:20 + '[' -f /tmp/packages_start.txt ']' 09:10:20 + '[' -f /tmp/packages_end.txt ']' 09:10:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:10:20 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-141 ']' 09:10:20 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-141/archives/ 09:10:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-141/archives/ [Pipeline] echo 09:10:20 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-141/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:10:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:10:21 . [Pipeline] withDockerContainer 09:10:21 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 09:10:21 $ 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-141/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-141 -v /w/workspace/gexfoundry_device-snmp-go_PR-141:/w/workspace/gexfoundry_device-snmp-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-141@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-141@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:10:21 $ docker top a60dd43db3a15fde161dbb915443f98b5a0cdb4018fda8256b933583335ae591 -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:21 + touch /tmp/pre-build-complete [Pipeline] sh 09:10:22 + mkdir -p /var/log/sysstat [Pipeline] sh 09:10:22 + ls /var/log/sa-host 09:10:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:22 provisioning config files... 09:10:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-141@tmp/config1543734051168761651tmp [Pipeline] { [Pipeline] echo 09:10:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:10:23 ---> create-netrc.sh [Pipeline] } 09:10:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:10:23 ---> python-tools-install.sh [Pipeline] echo 09:10:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:10:24 ---> sudo-logs.sh 09:10:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:10:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:10:24 ---> job-cost.sh 09:10:24 lf-activate-venv: SKIPPING 09:10:24 DEBUG: total: 0.2199999988079071 09:10:24 INFO: Retrieving Stack Cost... 09:10:24 INFO: Retrieving Pricing Info for: v3-standard-8 09:10:25 INFO: Archiving Costs [Pipeline] echo 09:10:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:10:25 ---> logs-deploy.sh 09:10:25 lf-activate-venv: SKIPPING 09:10:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-141/1 09:10:25 INFO: archiving workspace using pattern(s): 09:10:26 Archives upload complete. 09:10:26 INFO: archiving logs to Nexus