Pull request #151 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 farshidtz for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 7306a6f06add30c2c77de82c1e2d09b100e0c142 rather than a53b10c226c078ceb3a3c47d5de2cd7e3282654b Obtained Jenkinsfile from 7306a6f06add30c2c77de82c1e2d09b100e0c142 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-ssh9484753655034696808.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-ssh14057212183536692450.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-151/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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16547206524016263396.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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13076847160910333108.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-ssh10593583839169635204.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-151/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-151/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12225125204751979284.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11512 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [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-151 # 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 7306a6f06add30c2c77de82c1e2d09b100e0c142 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b Merge succeeded, producing a53b10c226c078ceb3a3c47d5de2cd7e3282654b Checking out Revision a53b10c226c078ceb3a3c47d5de2cd7e3282654b (PR-151) > 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/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # 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 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 Commit message: "build(snap): source metadata from central repo" 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 21:30:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:30:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:30:10 ========================================================= 21:30:10 EdgeX Global Pipelines Version Info 21:30:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:30:11 ------------------- 21:30:11 stable info: 21:30:11 ------------------- 21:30:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:30:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:30:11 Message: update stable to v1.0.221 21:30:12 ------------------- 21:30:12 experimental info: 21:30:12 ------------------- 21:30:12 Commited By: **** collab-it+edgex@linuxfoundation.org 21:30:12 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:30:12 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a53b10c [Pipeline] echo 21:30:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:13 provisioning config files... 21:30:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config702452999340881324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:14 ---> docker-login.sh 21:30:14 nexus3.edgexfoundry.org:10001 21:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:14 Configure a credential helper to remove this warning. See 21:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:14 21:30:14 Login Succeeded 21:30:14 nexus3.edgexfoundry.org:10002 21:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:14 Configure a credential helper to remove this warning. See 21:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:14 21:30:14 Login Succeeded 21:30:14 nexus3.edgexfoundry.org:10003 21:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:15 Configure a credential helper to remove this warning. See 21:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:15 21:30:15 Login Succeeded 21:30:15 nexus3.edgexfoundry.org:10004 21:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:15 Configure a credential helper to remove this warning. See 21:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:15 21:30:15 Login Succeeded 21:30:15 docker.io 21:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:15 Configure a credential helper to remove this warning. See 21:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:15 21:30:15 Login Succeeded 21:30:15 ---> docker-login.sh ends [Pipeline] } 21:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:30:16 + git rev-list -1 --merges a53b10c226c078ceb3a3c47d5de2cd7e3282654b~1..a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo 21:30:16 -----------> git rev-list -1 --merges a53b10c226c078ceb3a3c47d5de2cd7e3282654b~1..a53b10c226c078ceb3a3c47d5de2cd7e3282654b a53b10c226c078ceb3a3c47d5de2cd7e3282654b [false] [Pipeline] sh 21:30:16 + git log --format=format:%s -1 a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo 21:30:16 ========================================================= 21:30:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:30:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:17 + git log --format=format:%s -1 a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] echo 21:30:17 [semverPrep] GIT_COMMIT: a53b10c226c078ceb3a3c47d5de2cd7e3282654b, Commit Message: build(snap): source metadata from central repo [Pipeline] echo 21:30:17 [semverPrep] This is not a build commit. [Pipeline] sh 21:30:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:30:17 + grep -v github /etc/ssh/ssh_known_hosts 21:30:17 + [ -e /tmp/ssh_known_hosts ] 21:30:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:30:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:30:17 + sudo tee -a /etc/ssh/ssh_known_hosts 21:30:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:30:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:30:18 21:30:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:30:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:30:18 latest: Pulling from edgex-devops/git-semver 21:30:18 a0d0a0d46f8b: Pulling fs layer 21:30:18 3e5f54012d9b: Pulling fs layer 21:30:18 4c7163046ea9: Pulling fs layer 21:30:18 0c2d73faf560: Pulling fs layer 21:30:18 0c2d73faf560: Waiting 21:30:18 3e5f54012d9b: Verifying Checksum 21:30:18 3e5f54012d9b: Download complete 21:30:18 a0d0a0d46f8b: Download complete 21:30:18 0c2d73faf560: Verifying Checksum 21:30:18 4c7163046ea9: Verifying Checksum 21:30:18 4c7163046ea9: Download complete 21:30:18 a0d0a0d46f8b: Pull complete 21:30:18 3e5f54012d9b: Pull complete 21:30:19 4c7163046ea9: Pull complete 21:30:19 0c2d73faf560: Pull complete 21:30:19 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:30:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:30:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:30:19 prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container 21:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:30:20 $ docker top da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:30:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:20 [ssh-agent] Looking for ssh-agent implementation... 21:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:20 $ docker exec da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent 21:30:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCEmCBa/agent.14 21:30:20 SSH_AGENT_PID=21 21:30:20 Running ssh-add (command line suppressed) 21:30:20 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_4951534498514304006.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_4951534498514304006.key) 21:30:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:21 + git tag --points-at HEAD [Pipeline] } 21:30:21 $ docker exec --env ******** --env ******** da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent -k 21:30:21 unset SSH_AUTH_SOCK; 21:30:21 unset SSH_AGENT_PID; 21:30:21 echo Agent pid 21 killed; 21:30:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:30:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:21 [ssh-agent] Looking for ssh-agent implementation... 21:30:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:21 $ docker exec da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent 21:30:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdDhkDG/agent.54 21:30:21 SSH_AGENT_PID=60 21:30:21 Running ssh-add (command line suppressed) 21:30:21 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_5989851235308212705.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_5989851235308212705.key) 21:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:22 + git semver init 21:30:22 # -> Open(): unable to determine branch for HEAD 21:30:22 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.git 21:30:22 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-151 21:30:22 # $SEMVER_REMOTE_NAME = origin 21:30:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:30:22 # $SEMVER_USER_NAME = edgex-jenkins 21:30:22 # $SEMVER_BRANCH = PR-151 21:30:22 # $SEMVER_TEMP = /tmp/semver-556136292 21:30:22 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 21:30:23 # '/tmp/semver-556136292' -> '/w/workspace/gexfoundry_device-snmp-go_PR-151/.semver' 21:30:23 # -> Force: false 21:30:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.semver [Pipeline] } 21:30:23 $ docker exec --env ******** --env ******** da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c ssh-agent -k 21:30:23 unset SSH_AUTH_SOCK; 21:30:23 unset SSH_AGENT_PID; 21:30:23 echo Agent pid 60 killed; 21:30:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:30:23 + git semver [Pipeline] } 21:30:23 $ docker stop --time=1 da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c 21:30:25 $ docker rm -f da3e31ae9688a418cc708e5301d00c01e526cbd601f1ec9afdc126a35d1a2f2c [Pipeline] // withDockerContainer [Pipeline] sh 21:30:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:30:25 Stashed 1 file(s) [Pipeline] echo 21:30:25 [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 21:30:26 provisioning config files... 21:30:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config4357463634078313159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:26 ---> docker-login.sh 21:30:26 nexus3.edgexfoundry.org:10001 21:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:26 Configure a credential helper to remove this warning. See 21:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:26 21:30:26 Login Succeeded 21:30:26 nexus3.edgexfoundry.org:10002 21:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 nexus3.edgexfoundry.org:10003 21:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 nexus3.edgexfoundry.org:10004 21:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 docker.io 21:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 ---> docker-login.sh ends [Pipeline] } 21:30:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:27 ========================================================= 21:30:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:30:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:30:28 + 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 . 21:30:28 Sending build context to Docker daemon 5.233MB 21:30:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 21:30:28 Step 2/12 : FROM ${BASE} AS builder 21:30:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:30:28 59bf1c3509f3: Pulling fs layer 21:30:28 666ba61612fd: Pulling fs layer 21:30:28 8ed8ca486205: Pulling fs layer 21:30:28 4fe6c5a15a65: Pulling fs layer 21:30:28 22a0e8bec74d: Pulling fs layer 21:30:28 640e595b4fbd: Pulling fs layer 21:30:28 763cafe07f6e: Pulling fs layer 21:30:28 0c0b528cf693: Pulling fs layer 21:30:28 10935f4eaf8b: Pulling fs layer 21:30:28 640e595b4fbd: Waiting 21:30:28 0c0b528cf693: Waiting 21:30:28 10935f4eaf8b: Waiting 21:30:28 763cafe07f6e: Waiting 21:30:28 4fe6c5a15a65: Waiting 21:30:28 22a0e8bec74d: Waiting 21:30:28 8ed8ca486205: Verifying Checksum 21:30:28 8ed8ca486205: Download complete 21:30:28 666ba61612fd: Download complete 21:30:28 22a0e8bec74d: Verifying Checksum 21:30:28 22a0e8bec74d: Download complete 21:30:28 59bf1c3509f3: Verifying Checksum 21:30:28 59bf1c3509f3: Download complete 21:30:28 640e595b4fbd: Verifying Checksum 21:30:28 640e595b4fbd: Download complete 21:30:28 763cafe07f6e: Download complete 21:30:28 0c0b528cf693: Verifying Checksum 21:30:28 0c0b528cf693: Download complete 21:30:28 59bf1c3509f3: Pull complete 21:30:28 666ba61612fd: Pull complete 21:30:28 8ed8ca486205: Pull complete 21:30:29 10935f4eaf8b: Verifying Checksum 21:30:29 10935f4eaf8b: Download complete 21:30:29 4fe6c5a15a65: Verifying Checksum 21:30:29 4fe6c5a15a65: Download complete 21:30:33 4fe6c5a15a65: Pull complete 21:30:33 22a0e8bec74d: Pull complete 21:30:33 640e595b4fbd: Pull complete 21:30:33 763cafe07f6e: Pull complete 21:30:33 0c0b528cf693: Pull complete 21:30:36 10935f4eaf8b: Pull complete 21:30:36 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 21:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:30:36 ---> 99d49a6021b9 21:30:36 Step 3/12 : ARG MAKE='make build' 21:30:37 ---> Running in bb56cba93842 21:30:37 Removing intermediate container bb56cba93842 21:30:37 ---> 6d888897d212 21:30:37 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:30:37 ---> Running in f8e092d6ee87 21:30:37 Removing intermediate container f8e092d6ee87 21:30:37 ---> 7e0ca05f591a 21:30:37 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:30:37 ---> Running in bc428e661493 21:30:37 Removing intermediate container bc428e661493 21:30:37 ---> 02657d6f650d 21:30:37 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:37 ---> Running in 173f14e63ece 21:30:38 Removing intermediate container 173f14e63ece 21:30:38 ---> 61502556d5ce 21:30:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:38 ---> Running in 497bac6e4ad9 21:30:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:30:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:30:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:30:40 (2/4) Installing libedit (20210910.3.1-r0) 21:30:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:30:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:30:40 Executing busybox-1.34.1-r3.trigger 21:30:40 OK: 224 MiB in 56 packages 21:30:40 Removing intermediate container 497bac6e4ad9 21:30:40 ---> a4bd060fd10b 21:30:40 Step 8/12 : WORKDIR /device-snmp-go 21:30:40 ---> Running in eaeb3502830c 21:30:40 Removing intermediate container eaeb3502830c 21:30:40 ---> e17cc5968629 21:30:40 Step 9/12 : COPY go.mod vendor* ./ 21:30:40 ---> ca8caad6d5a6 21:30:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:41 ---> Running in 10e10deb4f67 21:30:41 Still waiting to schedule task 21:30:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:30:56 Removing intermediate container 10e10deb4f67 21:30:56 ---> 91eef2e99914 21:30:56 Step 11/12 : COPY . . 21:30:56 ---> f3e89236f591 21:30:56 Step 12/12 : RUN ${MAKE} 21:30:56 ---> Running in 1b8b5a648d9f 21:30:56 noop 21:30:56 Removing intermediate container 1b8b5a648d9f 21:30:56 ---> 13d15a3e0ed0 21:30:56 Successfully built 13d15a3e0ed0 21:30:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:30:56 + docker inspect -f . ci-base-image-x86_64 21:30:56 . [Pipeline] withDockerContainer 21:30:56 prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container 21:30:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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-x86_64 cat 21:30:56 $ docker top 73c804267989a29fc54f6099ad48de48cdb1ae4015dc8ce090831ad20c835872 -eo pid,comm [Pipeline] { [Pipeline] sh 21:30:57 + go version 21:30:57 go version go1.17.6 linux/amd64 [Pipeline] } 21:30:57 $ docker stop --time=1 73c804267989a29fc54f6099ad48de48cdb1ae4015dc8ce090831ad20c835872 21:30:58 $ docker rm -f 73c804267989a29fc54f6099ad48de48cdb1ae4015dc8ce090831ad20c835872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:30:59 + docker inspect -f . ci-base-image-x86_64 21:30:59 . [Pipeline] withDockerContainer 21:30:59 prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container 21:30:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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-x86_64 cat 21:30:59 $ docker top 00fe05a8d4a695d8bacbbc02535652cd86e3b1b718ec230fd968044be0df741c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:31:00 + make test 21:31:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:31:00 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:31:10 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:31:10 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.022s coverage: 0.0% of statements 21:31:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:31:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:31:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:31:20 ./bin/test-attribution-txt.sh [Pipeline] echo 21:31:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:31:21 $ docker stop --time=1 00fe05a8d4a695d8bacbbc02535652cd86e3b1b718ec230fd968044be0df741c 21:31:22 $ docker rm -f 00fe05a8d4a695d8bacbbc02535652cd86e3b1b718ec230fd968044be0df741c [Pipeline] // withDockerContainer [Pipeline] sh 21:31:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:31:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:31:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:31:25 + ls -al . 21:31:25 total 164 21:31:25 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 21:31 . 21:31:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 21:30 .. 21:31:25 -rw-rw-r-- 1 jenkins jenkins 6 Apr 7 21:30 .dockerignore 21:31:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 21:30 .git 21:31:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:30 .github 21:31:25 -rw-rw-r-- 1 jenkins jenkins 328 Apr 7 21:30 .gitignore 21:31:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 21:30 .golangci.yml 21:31:25 drwx------ 3 jenkins jenkins 4096 Apr 7 21:30 .semver 21:31:25 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 7 21:30 Attribution.txt 21:31:25 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 7 21:30 CHANGELOG.md 21:31:25 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 7 21:30 Dockerfile 21:31:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 21:30 GOVERNANCE.md 21:31:25 -rw-rw-r-- 1 jenkins jenkins 656 Apr 7 21:30 Jenkinsfile 21:31:25 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 21:30 LICENSE 21:31:25 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 7 21:30 Makefile 21:31:25 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 21:30 OWNERS.md 21:31:25 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 7 21:30 README.md 21:31:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 21:30 VERSION 21:31:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:30 bin 21:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:30 cmd 21:31:25 -rw-r--r-- 1 jenkins jenkins 7631 Apr 7 21:31 coverage.out 21:31:25 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 7 21:30 go.mod 21:31:25 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 7 21:30 go.sum 21:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:30 internal 21:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:30 snap 21:31:25 -rw-rw-r-- 1 jenkins jenkins 209 Apr 7 21:30 version.go [Pipeline] isUnix [Pipeline] sh 21:31:25 + 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=a53b10c226c078ceb3a3c47d5de2cd7e3282654b --label arch=amd64 --label version=0.0.0 . 21:31:25 Sending build context to Docker daemon 5.241MB 21:31:25 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 21:31:25 Step 2/24 : FROM ${BASE} AS builder 21:31:25 ---> 13d15a3e0ed0 21:31:25 Step 3/24 : ARG MAKE='make build' 21:31:25 ---> Running in 237ef4805028 21:31:25 Removing intermediate container 237ef4805028 21:31:25 ---> f2b025d94715 21:31:25 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:31:25 ---> Running in 29c74d63000a 21:31:25 Removing intermediate container 29c74d63000a 21:31:25 ---> 43f9c86eaae4 21:31:25 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 21:31:25 ---> Running in 745a8ef6c762 21:31:25 Removing intermediate container 745a8ef6c762 21:31:25 ---> 3aac4b5406af 21:31:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:31:25 ---> Running in 89e887d005d5 21:31:26 Removing intermediate container 89e887d005d5 21:31:26 ---> f231bcc532d1 21:31:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:26 ---> Running in b8d135311ebe 21:31:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:31:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:31:27 OK: 224 MiB in 56 packages 21:31:28 Removing intermediate container b8d135311ebe 21:31:28 ---> a978ba894008 21:31:28 Step 8/24 : WORKDIR /device-snmp-go 21:31:28 ---> Running in f201f25bcef5 21:31:28 Removing intermediate container f201f25bcef5 21:31:28 ---> 10f728ad23a5 21:31:28 Step 9/24 : COPY go.mod vendor* ./ 21:31:28 ---> 2b9beb1999de 21:31:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:28 ---> Running in e23103794653 21:31:29 Removing intermediate container e23103794653 21:31:29 ---> 606559dc8e8e 21:31:29 Step 11/24 : COPY . . 21:31:29 ---> e7465916ea40 21:31:29 Step 12/24 : RUN ${MAKE} 21:31:29 ---> Running in c148a816f8cf 21:31:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 21:31:42 Removing intermediate container c148a816f8cf 21:31:42 ---> 4ee828247951 21:31:42 Step 13/24 : FROM alpine:3.14 21:31:42 3.14: Pulling from library/alpine 21:31:42 8663204ce13b: Pulling fs layer 21:31:42 8663204ce13b: Verifying Checksum 21:31:42 8663204ce13b: Download complete 21:31:42 8663204ce13b: Pull complete 21:31:42 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:31:42 Status: Downloaded newer image for alpine:3.14 21:31:42 ---> e04c818066af 21:31:42 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:31:42 ---> Running in 8966a6b0ca67 21:31:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:31:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:31:43 (1/6) Installing dumb-init (1.2.5-r1) 21:31:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:31:43 (3/6) Installing libsodium (1.0.18-r0) 21:31:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:31:43 (5/6) Installing libzmq (4.3.4-r0) 21:31:43 (6/6) Installing zeromq (4.3.4-r0) 21:31:43 Executing busybox-1.33.1-r7.trigger 21:31:43 OK: 8 MiB in 20 packages 21:31:43 Removing intermediate container 8966a6b0ca67 21:31:43 ---> adb762c2e23d 21:31:43 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:31:44 ---> fa20a10b2f81 21:31:44 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:31:44 ---> 51eac04f3e5d 21:31:44 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:31:44 ---> 457d99104218 21:31:44 Step 18/24 : EXPOSE 59993 21:31:44 ---> Running in b020a001d89e 21:31:44 Removing intermediate container b020a001d89e 21:31:44 ---> 0b4b9db8dd61 21:31:44 Step 19/24 : EXPOSE 161 21:31:44 ---> Running in 27ce8ff4be5f 21:31:44 Removing intermediate container 27ce8ff4be5f 21:31:44 ---> 4e7971bc6398 21:31:44 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:31:44 ---> Running in 0a372d90738e 21:31:44 Removing intermediate container 0a372d90738e 21:31:44 ---> c4b061321b8e 21:31:44 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:31:44 ---> Running in b6dbcd6933ba 21:31:44 Removing intermediate container b6dbcd6933ba 21:31:44 ---> 32b5ee06bb33 21:31:44 Step 22/24 : LABEL arch=amd64 21:31:44 ---> Running in dd5d6462979f 21:31:45 Removing intermediate container dd5d6462979f 21:31:45 ---> 4f2929a69be7 21:31:45 Step 23/24 : LABEL git_sha=a53b10c226c078ceb3a3c47d5de2cd7e3282654b 21:31:45 ---> Running in 9f8b7d095c37 21:31:45 Removing intermediate container 9f8b7d095c37 21:31:45 ---> aa480f57267a 21:31:45 Step 24/24 : LABEL version=0.0.0 21:31:45 ---> Running in 49296bb330de 21:31:45 Removing intermediate container 49296bb330de 21:31:45 ---> 542a6caec7c2 21:31:45 [Warning] One or more build-args [ARCH] were not consumed 21:31:45 Successfully built 542a6caec7c2 21:31:45 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 21:31:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:46 21:31:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:31:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:46 latest: Pulling from edgex-lftools-log-publisher 21:31:46 5eb5b503b376: Pulling fs layer 21:31:46 5c69ac0246d0: Pulling fs layer 21:31:46 ec43610c2a17: Pulling fs layer 21:31:46 3a2ae6a8a46f: Pulling fs layer 21:31:46 33b1e0a273af: Pulling fs layer 21:31:46 5d3b04190fa2: Pulling fs layer 21:31:46 2f39f015ded8: Pulling fs layer 21:31:46 3a2ae6a8a46f: Waiting 21:31:46 2f39f015ded8: Waiting 21:31:46 33b1e0a273af: Waiting 21:31:46 5d3b04190fa2: Waiting 21:31:46 5c69ac0246d0: Verifying Checksum 21:31:46 5c69ac0246d0: Download complete 21:31:46 3a2ae6a8a46f: Verifying Checksum 21:31:46 33b1e0a273af: Verifying Checksum 21:31:46 33b1e0a273af: Download complete 21:31:46 5d3b04190fa2: Verifying Checksum 21:31:46 5d3b04190fa2: Download complete 21:31:46 ec43610c2a17: Verifying Checksum 21:31:46 ec43610c2a17: Download complete 21:31:46 5eb5b503b376: Verifying Checksum 21:31:46 5eb5b503b376: Download complete 21:31:47 2f39f015ded8: Download complete 21:31:47 5eb5b503b376: Pull complete 21:31:47 5c69ac0246d0: Pull complete 21:31:48 ec43610c2a17: Pull complete 21:31:48 3a2ae6a8a46f: Pull complete 21:31:48 33b1e0a273af: Pull complete 21:31:48 5d3b04190fa2: Pull complete 21:31:52 2f39f015ded8: Pull complete 21:31:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:31:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:31:52 prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container 21:31:53 $ 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-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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:latest cat 21:31:54 $ docker top 6a5164c3dcb7ac534582215244eb6233acf67561f79b940e7e3ae080f666fa2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:55 ---> job-cost.sh 21:31:55 lf-activate-venv: SKIPPING 21:31:55 INFO: No Stack... 21:31:55 INFO: Retrieving Pricing Info for: v3-standard-8 21:31:55 INFO: Archiving Costs [Pipeline] sh 21:31:56 + cat /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/cost.csv 21:31:56 + cut -d, -f6 [Pipeline] lock 21:31:56 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] 21:31:56 Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] did not exist. Created. 21:31:56 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:31:56 + echo total: 0.2199999988079071 [Pipeline] stash 21:31:56 Stashed 1 file(s) [Pipeline] } 21:31:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:31:56 $ docker stop --time=1 6a5164c3dcb7ac534582215244eb6233acf67561f79b940e7e3ae080f666fa2a 21:31:57 $ docker rm -f 6a5164c3dcb7ac534582215244eb6233acf67561f79b940e7e3ae080f666fa2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:35:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11513 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [Pipeline] { [Pipeline] ws 21:35:43 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 21:35:43 Selected Git installation does not exist. Using Default 21:35:43 The recommended git tool is: NONE 21:35:52 using credential edgex-jenkins-ssh 21:35:52 Cloning the remote Git repository 21:35:52 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:35:52 > git init /w/workspace/device-snmp-go/1 # timeout=10 21:35:53 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:35:53 > git --version # timeout=10 21:35:53 > git --version # 'git version 2.25.1' 21:35:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:35:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:35:55 Merging remotes/origin/main commit 7306a6f06add30c2c77de82c1e2d09b100e0c142 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b 21:35:55 Merge succeeded, producing a53b10c226c078ceb3a3c47d5de2cd7e3282654b 21:35:55 Checking out Revision a53b10c226c078ceb3a3c47d5de2cd7e3282654b (PR-151) 21:35:54 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:35:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:35:54 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:35:54 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:35:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:35:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:35:55 > git config core.sparsecheckout # timeout=10 21:35:55 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 21:35:55 > git remote # timeout=10 21:35:55 > git config --get remote.origin.url # timeout=10 21:35:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:35:55 > git merge 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 21:35:55 > git rev-parse HEAD^{commit} # timeout=10 21:35:55 > git config core.sparsecheckout # timeout=10 21:35:55 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 21:36:00 Commit message: "build(snap): source metadata from central repo" 21:36:00 > git --version # timeout=10 21:36:00 > git --version # 'git version 2.25.1' 21:36:00 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:36:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:36:01 Dload Upload Total Spent Left Speed 21:36:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 41848 0 --:--:-- --:--:-- --:--:-- 41996 [Pipeline] sh 21:36:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:36:02 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:36:02 sudo tee /etc/docker/daemon.new 21:36:02 { 21:36:02 "registry-mirrors": [ 21:36:02 "https://nexus3.edgexfoundry.org:10001" 21:36:02 ], 21:36:02 "bip": "10.250.0.254/24", 21:36:02 "hosts": [ 21:36:02 "tcp://0.0.0.0:5555", 21:36:02 "unix:///var/run/docker.sock" 21:36:02 ], 21:36:02 "mtu": 1458, 21:36:02 "selinux-enabled": true, 21:36:02 "seccomp-profile": "/etc/docker/seccomp.json" 21:36:02 } [Pipeline] sh 21:36:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:36:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:21 provisioning config files... 21:36:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config536836006158055331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:22 ---> docker-login.sh 21:36:22 nexus3.edgexfoundry.org:10001 21:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:23 Configure a credential helper to remove this warning. See 21:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:23 21:36:23 Login Succeeded 21:36:23 nexus3.edgexfoundry.org:10002 21:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:23 Configure a credential helper to remove this warning. See 21:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:23 21:36:23 Login Succeeded 21:36:23 nexus3.edgexfoundry.org:10003 21:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:24 Configure a credential helper to remove this warning. See 21:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:24 21:36:24 Login Succeeded 21:36:24 nexus3.edgexfoundry.org:10004 21:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:24 Configure a credential helper to remove this warning. See 21:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:24 21:36:24 Login Succeeded 21:36:24 docker.io 21:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:25 Configure a credential helper to remove this warning. See 21:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:25 21:36:25 Login Succeeded 21:36:25 ---> docker-login.sh ends [Pipeline] } 21:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:26 ========================================================= 21:36:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:36:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:36:26 + 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 . 21:36:26 Sending build context to Docker daemon 2.723MB 21:36:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 21:36:26 Step 2/12 : FROM ${BASE} AS builder 21:36:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:36:27 9b3977197b4f: Pulling fs layer 21:36:27 1a89e8eeedd5: Pulling fs layer 21:36:27 94645a83ff95: Pulling fs layer 21:36:27 3f3a8bcf1eab: Pulling fs layer 21:36:27 0c92f367c5e7: Pulling fs layer 21:36:27 f7c0051592d6: Pulling fs layer 21:36:27 a227ed2f7395: Pulling fs layer 21:36:27 7b1c46037f91: Pulling fs layer 21:36:27 3f3a8bcf1eab: Waiting 21:36:27 0c92f367c5e7: Waiting 21:36:27 f7c0051592d6: Waiting 21:36:27 a227ed2f7395: Waiting 21:36:27 7b1c46037f91: Waiting 21:36:27 94645a83ff95: Verifying Checksum 21:36:27 94645a83ff95: Download complete 21:36:27 1a89e8eeedd5: Verifying Checksum 21:36:27 1a89e8eeedd5: Download complete 21:36:27 0c92f367c5e7: Verifying Checksum 21:36:27 0c92f367c5e7: Download complete 21:36:27 f7c0051592d6: Verifying Checksum 21:36:27 f7c0051592d6: Download complete 21:36:27 9b3977197b4f: Verifying Checksum 21:36:27 9b3977197b4f: Download complete 21:36:27 a227ed2f7395: Verifying Checksum 21:36:27 a227ed2f7395: Download complete 21:36:28 9b3977197b4f: Pull complete 21:36:28 1a89e8eeedd5: Pull complete 21:36:28 94645a83ff95: Pull complete 21:36:29 7b1c46037f91: Download complete 21:36:29 3f3a8bcf1eab: Verifying Checksum 21:36:29 3f3a8bcf1eab: Download complete 21:36:41 3f3a8bcf1eab: Pull complete 21:36:41 0c92f367c5e7: Pull complete 21:36:41 f7c0051592d6: Pull complete 21:36:41 a227ed2f7395: Pull complete 21:36:47 7b1c46037f91: Pull complete 21:36:47 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 21:36:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:36:47 ---> f79e39bc4007 21:36:47 Step 3/12 : ARG MAKE='make build' 21:36:48 ---> Running in dfb7ecf548de 21:36:48 Removing intermediate container dfb7ecf548de 21:36:48 ---> 1ca2bdc662d1 21:36:48 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:36:49 ---> Running in 121d81a4033b 21:36:49 Removing intermediate container 121d81a4033b 21:36:49 ---> 96bb2d5d4757 21:36:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:36:49 ---> Running in 4fd0e367936c 21:36:49 Removing intermediate container 4fd0e367936c 21:36:49 ---> 32aaa574a1c0 21:36:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:36:49 ---> Running in b0722417bc56 21:36:51 Removing intermediate container b0722417bc56 21:36:51 ---> c02d37616105 21:36:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:51 ---> Running in d28744c0d9f8 21:36:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:36:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:36:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:36:54 (2/4) Installing libedit (20210910.3.1-r0) 21:36:55 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:36:55 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:36:55 Executing busybox-1.34.1-r3.trigger 21:36:55 OK: 224 MiB in 56 packages 21:36:56 Removing intermediate container d28744c0d9f8 21:36:56 ---> 2f7cf0eec525 21:36:56 Step 8/12 : WORKDIR /device-snmp-go 21:36:56 ---> Running in 6580acb0e613 21:36:57 Removing intermediate container 6580acb0e613 21:36:57 ---> 80de2d6baee7 21:36:57 Step 9/12 : COPY go.mod vendor* ./ 21:36:57 ---> 48666761830f 21:36:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:57 ---> Running in 404d7df92079 21:37:54 Removing intermediate container 404d7df92079 21:37:54 ---> 8b7deb3a3c10 21:37:54 Step 11/12 : COPY . . 21:37:54 ---> 624a3104f7e3 21:37:54 Step 12/12 : RUN ${MAKE} 21:37:54 ---> Running in daf9bd88ae72 21:37:54 noop 21:37:54 Removing intermediate container daf9bd88ae72 21:37:54 ---> 9b16591e6a06 21:37:54 Successfully built 9b16591e6a06 21:37:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:37:54 + docker inspect -f . ci-base-image-arm64 21:37:54 . [Pipeline] withDockerContainer 21:37:54 prd-ubuntu20.04-docker-arm64-4c-16g-11513 does not seem to be running inside a container 21:37:54 $ 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 21:37:56 $ docker top 40f3c63584562eefd45e843fc51f17adfbd167ec4c4f2e514dd44ecb50da21f7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:11 + go version 21:38:11 go version go1.17.6 linux/arm64 [Pipeline] } 21:38:11 $ docker stop --time=1 40f3c63584562eefd45e843fc51f17adfbd167ec4c4f2e514dd44ecb50da21f7 21:38:13 $ docker rm -f 40f3c63584562eefd45e843fc51f17adfbd167ec4c4f2e514dd44ecb50da21f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:38:14 + docker inspect -f . ci-base-image-arm64 21:38:14 . [Pipeline] withDockerContainer 21:38:14 prd-ubuntu20.04-docker-arm64-4c-16g-11513 does not seem to be running inside a container 21:38:14 $ 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 21:38:16 $ docker top d7497f6148eb3043060e78de7d8158f9939018b61dc8e0a570543b584b59e1a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:38:17 + make test 21:38:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:38:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:39:56 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:39:56 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements 21:39:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:39:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:40:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:40:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:40:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:40:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:40:18 $ docker stop --time=1 d7497f6148eb3043060e78de7d8158f9939018b61dc8e0a570543b584b59e1a6 21:40:20 $ docker rm -f d7497f6148eb3043060e78de7d8158f9939018b61dc8e0a570543b584b59e1a6 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:21 Warning: overwriting stash ‘coverage-report’ 21:40:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:40:23 + ls -al . 21:40:23 total 160 21:40:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 21:40 . 21:40:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 21:35 .. 21:40:23 -rw-rw-r-- 1 jenkins jenkins 6 Apr 7 21:35 .dockerignore 21:40:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 21:35 .git 21:40:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:35 .github 21:40:23 -rw-rw-r-- 1 jenkins jenkins 328 Apr 7 21:35 .gitignore 21:40:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 21:35 .golangci.yml 21:40:23 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 7 21:35 Attribution.txt 21:40:23 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 7 21:35 CHANGELOG.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 7 21:35 Dockerfile 21:40:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 21:35 GOVERNANCE.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 656 Apr 7 21:35 Jenkinsfile 21:40:23 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 21:35 LICENSE 21:40:23 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 7 21:35 Makefile 21:40:23 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 21:35 OWNERS.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 7 21:35 README.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 21:30 VERSION 21:40:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 21:35 bin 21:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:35 cmd 21:40:23 -rw-r--r-- 1 jenkins jenkins 7631 Apr 7 21:39 coverage.out 21:40:23 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 7 21:35 go.mod 21:40:23 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 7 21:35 go.sum 21:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:35 internal 21:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 21:35 snap 21:40:23 -rw-rw-r-- 1 jenkins jenkins 209 Apr 7 21:35 version.go [Pipeline] isUnix [Pipeline] sh 21:40:23 + 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=a53b10c226c078ceb3a3c47d5de2cd7e3282654b --label arch=arm64 --label version=0.0.0 . 21:40:23 Sending build context to Docker daemon 2.731MB 21:40:23 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 21:40:23 Step 2/24 : FROM ${BASE} AS builder 21:40:23 ---> 9b16591e6a06 21:40:23 Step 3/24 : ARG MAKE='make build' 21:40:24 ---> Running in 702aaadf290f 21:40:24 Removing intermediate container 702aaadf290f 21:40:24 ---> cc7478e34dc4 21:40:24 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:40:24 ---> Running in 82e9e338b84f 21:40:24 Removing intermediate container 82e9e338b84f 21:40:24 ---> 162f95d27d2e 21:40:24 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 21:40:24 ---> Running in 72ee9ab50604 21:40:25 Removing intermediate container 72ee9ab50604 21:40:25 ---> bc3d25ca0d26 21:40:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:40:25 ---> Running in c9705de867e9 21:40:27 Removing intermediate container c9705de867e9 21:40:27 ---> 5b4791e38346 21:40:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:40:27 ---> Running in eeac056cba5a 21:40:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:40:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:40:30 OK: 224 MiB in 56 packages 21:40:31 Removing intermediate container eeac056cba5a 21:40:31 ---> c4df76fa883c 21:40:31 Step 8/24 : WORKDIR /device-snmp-go 21:40:31 ---> Running in da56f322d5fb 21:40:31 Removing intermediate container da56f322d5fb 21:40:31 ---> 4797af4097a2 21:40:31 Step 9/24 : COPY go.mod vendor* ./ 21:40:32 ---> 845293ec9f0b 21:40:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:32 ---> Running in f6e94a44208c 21:40:34 Removing intermediate container f6e94a44208c 21:40:34 ---> 330fe85173d7 21:40:34 Step 11/24 : COPY . . 21:40:35 ---> bcc36358138d 21:40:35 Step 12/24 : RUN ${MAKE} 21:40:35 ---> Running in 210b9c4519e2 21:40:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 21:41:58 Removing intermediate container 210b9c4519e2 21:41:58 ---> 6105360fdba7 21:41:58 Step 13/24 : FROM alpine:3.14 21:41:59 3.14: Pulling from library/alpine 21:41:59 455c02918c45: Pulling fs layer 21:41:59 455c02918c45: Verifying Checksum 21:41:59 455c02918c45: Download complete 21:42:00 455c02918c45: Pull complete 21:42:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:42:00 Status: Downloaded newer image for alpine:3.14 21:42:00 ---> ac73e934f311 21:42:00 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:42:00 ---> Running in 7e13c310d7a9 21:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:42:02 (1/6) Installing dumb-init (1.2.5-r1) 21:42:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:42:02 (3/6) Installing libsodium (1.0.18-r0) 21:42:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:42:02 (5/6) Installing libzmq (4.3.4-r0) 21:42:02 (6/6) Installing zeromq (4.3.4-r0) 21:42:02 Executing busybox-1.33.1-r7.trigger 21:42:02 OK: 8 MiB in 20 packages 21:42:03 Removing intermediate container 7e13c310d7a9 21:42:03 ---> ebd20eb9a4a3 21:42:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:42:05 ---> ad5a03b91897 21:42:05 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:42:05 ---> 95edf752d400 21:42:05 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:42:06 ---> c23ac7941b38 21:42:06 Step 18/24 : EXPOSE 59993 21:42:06 ---> Running in 9dc6b6454223 21:42:06 Removing intermediate container 9dc6b6454223 21:42:06 ---> 5b72a7ae2f78 21:42:06 Step 19/24 : EXPOSE 161 21:42:06 ---> Running in c81b22ec489e 21:42:07 Removing intermediate container c81b22ec489e 21:42:07 ---> 746d85cc65a8 21:42:07 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:42:07 ---> Running in 016673a2629d 21:42:07 Removing intermediate container 016673a2629d 21:42:07 ---> 1910e4234009 21:42:07 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:42:07 ---> Running in a7c95e90191c 21:42:08 Removing intermediate container a7c95e90191c 21:42:08 ---> 23df1b823004 21:42:08 Step 22/24 : LABEL arch=arm64 21:42:08 ---> Running in 37de396aa00a 21:42:08 Removing intermediate container 37de396aa00a 21:42:08 ---> e0eeb2d1f704 21:42:08 Step 23/24 : LABEL git_sha=a53b10c226c078ceb3a3c47d5de2cd7e3282654b 21:42:08 ---> Running in a03156a3ac62 21:42:08 Removing intermediate container a03156a3ac62 21:42:08 ---> 78648c261db4 21:42:08 Step 24/24 : LABEL version=0.0.0 21:42:08 ---> Running in 6ac21e6a9328 21:42:09 Removing intermediate container 6ac21e6a9328 21:42:09 ---> aa2eea79e3d1 21:42:09 [Warning] One or more build-args [ARCH] were not consumed 21:42:09 Successfully built aa2eea79e3d1 21:42: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 21:42:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:10 21:42:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:42:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:10 arm64: Pulling from edgex-lftools-log-publisher 21:42:10 8998bd30e6a1: Pulling fs layer 21:42:10 04944245beec: Pulling fs layer 21:42:10 699f458cf7ca: Pulling fs layer 21:42:10 765212b225bb: Pulling fs layer 21:42:10 f23df028b6ca: Pulling fs layer 21:42:10 d65c8cfc05b1: Pulling fs layer 21:42:10 2437ff75d9bd: Pulling fs layer 21:42:10 f23df028b6ca: Waiting 21:42:10 d65c8cfc05b1: Waiting 21:42:10 2437ff75d9bd: Waiting 21:42:10 765212b225bb: Waiting 21:42:10 04944245beec: Download complete 21:42:10 765212b225bb: Download complete 21:42:10 f23df028b6ca: Verifying Checksum 21:42:10 f23df028b6ca: Download complete 21:42:11 d65c8cfc05b1: Verifying Checksum 21:42:11 d65c8cfc05b1: Download complete 21:42:11 699f458cf7ca: Verifying Checksum 21:42:11 699f458cf7ca: Download complete 21:42:11 8998bd30e6a1: Verifying Checksum 21:42:11 8998bd30e6a1: Download complete 21:42:14 2437ff75d9bd: Verifying Checksum 21:42:14 2437ff75d9bd: Download complete 21:42:16 8998bd30e6a1: Pull complete 21:42:16 04944245beec: Pull complete 21:42:17 699f458cf7ca: Pull complete 21:42:18 765212b225bb: Pull complete 21:42:19 f23df028b6ca: Pull complete 21:42:19 d65c8cfc05b1: Pull complete 21:42:34 2437ff75d9bd: Pull complete 21:42:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:42:34 prd-ubuntu20.04-docker-arm64-4c-16g-11513 does not seem to be running inside a container 21:42: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/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 21:42:37 $ docker top 8da6b71b4a3d98f7f33f29a7e31e6568e216572a191f30e520df9b6b6e3743ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:42:38 ---> job-cost.sh 21:42:38 lf-activate-venv: SKIPPING 21:42:38 INFO: No Stack... 21:42:39 INFO: Retrieving Pricing Info for: v3-standard-4 21:42:40 INFO: Archiving Costs [Pipeline] sh 21:42:40 + cat+ /w/workspace/device-snmp-go/1/archives/cost.csv 21:42:40 cut -d, -f6 [Pipeline] lock 21:42:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] 21:42:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] did not exist. Created. 21:42:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:42:41 /w/workspace/device-snmp-go/1@tmp/durable-2b20df8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:42:42 + echo total: 0.10999999940395355 [Pipeline] stash 21:42:42 Warning: overwriting stash ‘stack-cost’ 21:42:42 Stashed 1 file(s) [Pipeline] } 21:42:42 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:42:42 $ docker stop --time=1 8da6b71b4a3d98f7f33f29a7e31e6568e216572a191f30e520df9b6b6e3743ba 21:42:44 $ docker rm -f 8da6b71b4a3d98f7f33f29a7e31e6568e216572a191f30e520df9b6b6e3743ba [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 21:42:45 provisioning config files... 21:42:45 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config4368718347042143994tmp [Pipeline] { [Pipeline] sh 21:42:45 + set +x 21:42:45 + curl -s https://codecov.io/bash 21:42:45 + bash -s -- 21:42:45 21:42:45 _____ _ 21:42:45 / ____| | | 21:42:45 | | ___ __| | ___ ___ _____ __ 21:42:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:42:45 | |___| (_) | (_| | __/ (_| (_) \ V / 21:42:45 \_____\___/ \__,_|\___|\___\___/ \_/ 21:42:45 Bash-1.0.6 21:42:45 21:42:45 21:42:45 ==> git version 2.25.1 found 21:42:45 ==> 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 21:42:45 Release-Date: 2020-01-08 21:42:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:42:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:42:45 ==> Jenkins CI detected. 21:42:45 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-151 21:42:45 project root: . 21:42:45 --> token set from env 21:42:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:42:45 ==> Running gcov in . (disable via -X gcov) 21:42:45 ==> Python coveragepy not found 21:42:45 ==> Searching for coverage reports in: 21:42:45 + . 21:42:45 -> Found 1 reports 21:42:45 ==> Detecting git/mercurial file structure 21:42:45 ==> Reading reports 21:42:45 + ./coverage.out bytes=7631 21:42:45 ==> Appending adjustments 21:42:45 https://docs.codecov.io/docs/fixing-reports 21:42:45 + Found adjustments 21:42:45 ==> Gzipping contents 21:42:45 4.0K /tmp/codecov.CiKx8K.gz 21:42:45 ==> Uploading reports 21:42:45 url: https://codecov.io 21:42:45 query: branch=PR-151&commit=a53b10c226c078ceb3a3c47d5de2cd7e3282654b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= 21:42:45 -> Pinging Codecov 21:42:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-151&commit=a53b10c226c078ceb3a3c47d5de2cd7e3282654b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= 21:42:46 -> Uploading to 21:42:46 https://storage.googleapis.com/codecov/v4/raw/2022-04-07/6C56EA5C29638FB4528AC87E60AF5AE0/a53b10c226c078ceb3a3c47d5de2cd7e3282654b/e1e905e2-3a6c-4c75-bac2-443dd4e54ae7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T214245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e943722e4abc50a66a03134000d5166b6b2f783d9121c4b98b2fc2d68359c65e 21:42:46 % Total % Received % Xferd Average Speed Time Time Time Current 21:42:46 Dload Upload Total Spent Left Speed 21:42:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6800 --:--:-- --:--:-- --:--:-- 6800 21:42:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a53b10c226c078ceb3a3c47d5de2cd7e3282654b [Pipeline] } 21:42:46 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 21:42:48 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-151/archives ] 21:42:48 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives 21:42:48 total 16 21:42:48 drwxr-xr-x 3 root root 4096 Apr 7 21:31 . 21:42:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 21:31 .. 21:42:48 drwxr-xr-x 2 root root 4096 Apr 7 21:31 cost 21:42:48 -rw-r--r-- 1 root root 85 Apr 7 21:31 cost.csv 21:42:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-151/archives 21:42:48 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives 21:42:48 total 16 21:42:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 21:31 . 21:42:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 21:31 .. 21:42:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 21:31 cost 21:42:48 -rw-r--r-- 1 jenkins jenkins 85 Apr 7 21:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:42:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:42:49 ---> package-listing.sh 21:42:49 ++ facter osfamily 21:42:49 ++ tr '[:upper:]' '[:lower:]' 21:42:49 + OS_FAMILY=debian 21:42:49 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-151 21:42:49 + START_PACKAGES=/tmp/packages_start.txt 21:42:49 + END_PACKAGES=/tmp/packages_end.txt 21:42:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:42:49 + PACKAGES=/tmp/packages_start.txt 21:42:49 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' 21:42:49 + PACKAGES=/tmp/packages_end.txt 21:42:49 + case "${OS_FAMILY}" in 21:42:49 + dpkg -l 21:42:49 + grep '^ii' 21:42:49 + '[' -f /tmp/packages_start.txt ']' 21:42:49 + '[' -f /tmp/packages_end.txt ']' 21:42:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:42:49 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' 21:42:49 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ 21:42:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ [Pipeline] echo 21:42:49 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-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:42:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:42:50 . [Pipeline] withDockerContainer 21:42:50 prd-ubuntu20.04-docker-8c-8g-11512 does not seem to be running inside a container 21:42:50 $ 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-151/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-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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 21:42:51 $ docker top c3d5f948f45122979b66a0e563e2f1ba662c9e14d535564c9cd7e670858994b1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:51 + touch /tmp/pre-build-complete [Pipeline] sh 21:42:51 + mkdir -p /var/log/sysstat [Pipeline] sh 21:42:52 + ls /var/log/sa-host 21:42:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:42:52 provisioning config files... 21:42:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config2439473966356728564tmp [Pipeline] { [Pipeline] echo 21:42:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:42:52 ---> create-netrc.sh [Pipeline] } 21:42:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:42:53 ---> python-tools-install.sh [Pipeline] echo 21:42:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:42:53 ---> sudo-logs.sh 21:42:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:42:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:42:53 ---> job-cost.sh 21:42:53 lf-activate-venv: SKIPPING 21:42:53 DEBUG: total: 0.2199999988079071 21:42:53 INFO: Retrieving Stack Cost... 21:42:54 INFO: Retrieving Pricing Info for: v3-standard-8 21:42:54 INFO: Archiving Costs [Pipeline] echo 21:42:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:42:55 ---> logs-deploy.sh 21:42:55 lf-activate-venv: SKIPPING 21:42:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-151/1 21:42:55 INFO: archiving workspace using pattern(s): 21:42:56 Archives upload complete. 21:42:56 INFO: archiving logs to Nexus