Pull request #149 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 bnevis-i for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 480fc110605f705546cd9b1d947e4f522cca56d6 rather than 97f5f388121dc6ef09dfef889733b622a9a06ea5 Obtained Jenkinsfile from 480fc110605f705546cd9b1d947e4f522cca56d6 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-ssh13842556013065071093.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-ssh6933017030875953184.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-149/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-149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2968048326403658353.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-149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16887971818379688573.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-ssh16723620630858262852.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-149/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-149/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3599427281289533089.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-10801 in /w/workspace/gexfoundry_device-snmp-go_PR-149 [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-149 # 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 480fc110605f705546cd9b1d947e4f522cca56d6 into PR head commit 97f5f388121dc6ef09dfef889733b622a9a06ea5 Merge succeeded, producing 97f5f388121dc6ef09dfef889733b622a9a06ea5 Checking out Revision 97f5f388121dc6ef09dfef889733b622a9a06ea5 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # 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 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # timeout=10 Commit message: "build(deps): Update device-sdk-go" 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 00:38:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:38:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:38:28 ========================================================= 00:38:28 EdgeX Global Pipelines Version Info 00:38:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:38:29 ------------------- 00:38:29 stable info: 00:38:29 ------------------- 00:38:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:38:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:38:29 Message: update stable to v1.0.221 00:38:30 ------------------- 00:38:30 experimental info: 00:38:30 ------------------- 00:38:30 Commited By: **** collab-it+edgex@linuxfoundation.org 00:38:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:38:30 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:38:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97f5f38 [Pipeline] echo 00:38:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:38:31 provisioning config files... 00:38:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config6858383630128220137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:38:32 ---> docker-login.sh 00:38:32 nexus3.edgexfoundry.org:10001 00:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:32 Configure a credential helper to remove this warning. See 00:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:32 00:38:32 Login Succeeded 00:38:32 nexus3.edgexfoundry.org:10002 00:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:32 Configure a credential helper to remove this warning. See 00:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:32 00:38:32 Login Succeeded 00:38:32 nexus3.edgexfoundry.org:10003 00:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:32 Configure a credential helper to remove this warning. See 00:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:32 00:38:32 Login Succeeded 00:38:32 nexus3.edgexfoundry.org:10004 00:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:32 Configure a credential helper to remove this warning. See 00:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:32 00:38:32 Login Succeeded 00:38:32 docker.io 00:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:33 Configure a credential helper to remove this warning. See 00:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:33 00:38:33 Login Succeeded 00:38:33 ---> docker-login.sh ends [Pipeline] } 00:38:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:38:34 + git rev-list -1 --merges 97f5f388121dc6ef09dfef889733b622a9a06ea5~1..97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo 00:38:34 -----------> git rev-list -1 --merges 97f5f388121dc6ef09dfef889733b622a9a06ea5~1..97f5f388121dc6ef09dfef889733b622a9a06ea5 97f5f388121dc6ef09dfef889733b622a9a06ea5 [false] [Pipeline] sh 00:38:34 + git log --format=format:%s -1 97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo 00:38:34 ========================================================= 00:38:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:38:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:38:34 + git log --format=format:%s -1 97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] echo 00:38:35 [semverPrep] GIT_COMMIT: 97f5f388121dc6ef09dfef889733b622a9a06ea5, Commit Message: build(deps): Update device-sdk-go [Pipeline] echo 00:38:35 [semverPrep] This is not a build commit. [Pipeline] sh 00:38:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:38:35 + grep -v github /etc/ssh/ssh_known_hosts 00:38:35 + [ -e /tmp/ssh_known_hosts ] 00:38:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:38:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:38:35 + sudo tee -a /etc/ssh/ssh_known_hosts 00:38:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:38:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:35 00:38:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:38:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:36 latest: Pulling from edgex-devops/git-semver 00:38:36 a0d0a0d46f8b: Pulling fs layer 00:38:36 3e5f54012d9b: Pulling fs layer 00:38:36 4c7163046ea9: Pulling fs layer 00:38:36 0c2d73faf560: Pulling fs layer 00:38:36 0c2d73faf560: Waiting 00:38:36 3e5f54012d9b: Verifying Checksum 00:38:36 3e5f54012d9b: Download complete 00:38:36 a0d0a0d46f8b: Verifying Checksum 00:38:36 a0d0a0d46f8b: Download complete 00:38:36 4c7163046ea9: Verifying Checksum 00:38:36 4c7163046ea9: Download complete 00:38:36 0c2d73faf560: Verifying Checksum 00:38:36 0c2d73faf560: Download complete 00:38:36 a0d0a0d46f8b: Pull complete 00:38:36 3e5f54012d9b: Pull complete 00:38:37 4c7163046ea9: Pull complete 00:38:37 0c2d73faf560: Pull complete 00:38:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:38:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:38:37 prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container 00:38:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@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 00:38:37 $ docker top 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:38:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:38 [ssh-agent] Looking for ssh-agent implementation... 00:38:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:38 $ docker exec 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent 00:38:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbHfAll/agent.14 00:38:38 SSH_AGENT_PID=20 00:38:38 Running ssh-add (command line suppressed) 00:38:38 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6283722167446363844.key (/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6283722167446363844.key) 00:38:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:38 + git tag --points-at HEAD [Pipeline] } 00:38:38 $ docker exec --env ******** --env ******** 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent -k 00:38:38 unset SSH_AUTH_SOCK; 00:38:38 unset SSH_AGENT_PID; 00:38:38 echo Agent pid 20 killed; 00:38:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:38:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:39 [ssh-agent] Looking for ssh-agent implementation... 00:38:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:39 $ docker exec 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent 00:38:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgdCBib/agent.54 00:38:39 SSH_AGENT_PID=60 00:38:39 Running ssh-add (command line suppressed) 00:38:39 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6626849794685025916.key (/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/private_key_6626849794685025916.key) 00:38:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:39 + git semver init 00:38:39 # -> Open(): unable to determine branch for HEAD 00:38:39 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-149/.git 00:38:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-149 00:38:39 # $SEMVER_REMOTE_NAME = origin 00:38:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:38:39 # $SEMVER_USER_NAME = edgex-jenkins 00:38:39 # $SEMVER_BRANCH = PR-149 00:38:39 # $SEMVER_TEMP = /tmp/semver-640057509 00:38:39 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 00:38:40 # '/tmp/semver-640057509' -> '/w/workspace/gexfoundry_device-snmp-go_PR-149/.semver' 00:38:40 # -> Force: false 00:38:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-149/.semver [Pipeline] } 00:38:40 $ docker exec --env ******** --env ******** 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 ssh-agent -k 00:38:40 unset SSH_AUTH_SOCK; 00:38:40 unset SSH_AGENT_PID; 00:38:40 echo Agent pid 60 killed; 00:38:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:38:41 + git semver [Pipeline] } 00:38:41 $ docker stop --time=1 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 00:38:42 $ docker rm -f 9e2c246bd3d2d558f0212581f55ae8cf62022105135206b646e2165c44f03498 [Pipeline] // withDockerContainer [Pipeline] sh 00:38:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:38:43 Stashed 1 file(s) [Pipeline] echo 00:38:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:38:44 provisioning config files... 00:38:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config6120247101894078690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:38:44 ---> docker-login.sh 00:38:44 nexus3.edgexfoundry.org:10001 00:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:44 Configure a credential helper to remove this warning. See 00:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:44 00:38:44 Login Succeeded 00:38:44 nexus3.edgexfoundry.org:10002 00:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:44 Configure a credential helper to remove this warning. See 00:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:44 00:38:44 Login Succeeded 00:38:44 nexus3.edgexfoundry.org:10003 00:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:44 Configure a credential helper to remove this warning. See 00:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:44 00:38:44 Login Succeeded 00:38:44 nexus3.edgexfoundry.org:10004 00:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:44 Configure a credential helper to remove this warning. See 00:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:44 00:38:44 Login Succeeded 00:38:44 docker.io 00:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:45 Configure a credential helper to remove this warning. See 00:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:45 00:38:45 Login Succeeded 00:38:45 ---> docker-login.sh ends [Pipeline] } 00:38:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:38:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:38:45 ========================================================= 00:38:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:38:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:38:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 00:38:45 Sending build context to Docker daemon 5.241MB 00:38:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:38:45 Step 2/12 : FROM ${BASE} AS builder 00:38:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:38:45 59bf1c3509f3: Pulling fs layer 00:38:45 666ba61612fd: Pulling fs layer 00:38:45 8ed8ca486205: Pulling fs layer 00:38:45 4fe6c5a15a65: Pulling fs layer 00:38:45 22a0e8bec74d: Pulling fs layer 00:38:45 640e595b4fbd: Pulling fs layer 00:38:45 763cafe07f6e: Pulling fs layer 00:38:45 0c0b528cf693: Pulling fs layer 00:38:45 10935f4eaf8b: Pulling fs layer 00:38:45 4fe6c5a15a65: Waiting 00:38:45 22a0e8bec74d: Waiting 00:38:45 640e595b4fbd: Waiting 00:38:45 10935f4eaf8b: Waiting 00:38:45 763cafe07f6e: Waiting 00:38:45 0c0b528cf693: Waiting 00:38:46 8ed8ca486205: Download complete 00:38:46 666ba61612fd: Download complete 00:38:46 22a0e8bec74d: Download complete 00:38:46 59bf1c3509f3: Verifying Checksum 00:38:46 59bf1c3509f3: Download complete 00:38:46 640e595b4fbd: Verifying Checksum 00:38:46 763cafe07f6e: Verifying Checksum 00:38:46 763cafe07f6e: Download complete 00:38:46 0c0b528cf693: Verifying Checksum 00:38:46 0c0b528cf693: Download complete 00:38:46 59bf1c3509f3: Pull complete 00:38:46 666ba61612fd: Pull complete 00:38:46 8ed8ca486205: Pull complete 00:38:46 10935f4eaf8b: Verifying Checksum 00:38:46 10935f4eaf8b: Download complete 00:38:46 4fe6c5a15a65: Verifying Checksum 00:38:46 4fe6c5a15a65: Download complete 00:38:51 4fe6c5a15a65: Pull complete 00:38:51 22a0e8bec74d: Pull complete 00:38:51 640e595b4fbd: Pull complete 00:38:51 763cafe07f6e: Pull complete 00:38:51 0c0b528cf693: Pull complete 00:38:53 10935f4eaf8b: Pull complete 00:38:53 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:38:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:38:53 ---> 99d49a6021b9 00:38:53 Step 3/12 : ARG MAKE='make build' 00:38:54 ---> Running in 1a09192268f2 00:38:54 Removing intermediate container 1a09192268f2 00:38:54 ---> d29220056849 00:38:54 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:38:54 ---> Running in 8ceb7f7f5dab 00:38:54 Removing intermediate container 8ceb7f7f5dab 00:38:54 ---> 2dcbd86f6fe9 00:38:54 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:38:54 ---> Running in ffe066639ea4 00:38:54 Removing intermediate container ffe066639ea4 00:38:54 ---> 87181febd59e 00:38:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:38:54 ---> Running in cc14017ca054 00:38:55 Removing intermediate container cc14017ca054 00:38:55 ---> fe31bfb454c1 00:38:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:55 ---> Running in e2e1d065b866 00:38:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:38:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:38:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:38:56 (2/4) Installing libedit (20210910.3.1-r0) 00:38:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:38:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:38:57 Executing busybox-1.34.1-r3.trigger 00:38:57 OK: 224 MiB in 56 packages 00:38:57 Removing intermediate container e2e1d065b866 00:38:57 ---> e1a69c9f003f 00:38:57 Step 8/12 : WORKDIR /device-snmp-go 00:38:57 ---> Running in 7fc02262b0e8 00:38:57 Removing intermediate container 7fc02262b0e8 00:38:57 ---> 103fb5886d02 00:38:57 Step 9/12 : COPY go.mod vendor* ./ 00:38:57 ---> 1c02682b5538 00:38:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:38:58 ---> Running in fa7e46609b5f 00:38:58 Still waiting to schedule task 00:38:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10796’ 00:39:13 Removing intermediate container fa7e46609b5f 00:39:13 ---> 408b7c0cfd3b 00:39:13 Step 11/12 : COPY . . 00:39:13 ---> 58b0d5385d9d 00:39:13 Step 12/12 : RUN ${MAKE} 00:39:13 ---> Running in f80a04c2bbe8 00:39:13 noop 00:39:13 Removing intermediate container f80a04c2bbe8 00:39:13 ---> be1c52ab4eed 00:39:13 Successfully built be1c52ab4eed 00:39:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:39:14 + docker inspect -f . ci-base-image-x86_64 00:39:14 . [Pipeline] withDockerContainer 00:39:14 prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container 00:39:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@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 00:39:14 $ docker top d1a2a153cb54cae2045f0bc464b4c0fab0f7748916a8a748dd8a36fcdf1894fd -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:15 + go version 00:39:15 go version go1.17.6 linux/amd64 [Pipeline] } 00:39:15 $ docker stop --time=1 d1a2a153cb54cae2045f0bc464b4c0fab0f7748916a8a748dd8a36fcdf1894fd 00:39:16 $ docker rm -f d1a2a153cb54cae2045f0bc464b4c0fab0f7748916a8a748dd8a36fcdf1894fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:39:17 + docker inspect -f . ci-base-image-x86_64 00:39:17 . [Pipeline] withDockerContainer 00:39:17 prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container 00:39:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@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 00:39:17 $ docker top 272f798eae7c3986e3af87653cd41cd7e4407e360a222f4841d301af9bdd2b62 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:39:18 + make test 00:39:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:39:18 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:39:28 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:39:28 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 00:39:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:39:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:39:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:39:36 ./bin/test-attribution-txt.sh [Pipeline] echo 00:39:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:39:37 $ docker stop --time=1 272f798eae7c3986e3af87653cd41cd7e4407e360a222f4841d301af9bdd2b62 00:39:39 $ docker rm -f 272f798eae7c3986e3af87653cd41cd7e4407e360a222f4841d301af9bdd2b62 [Pipeline] // withDockerContainer [Pipeline] sh 00:39:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:39:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:39:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:39:41 + ls -al . 00:39:41 total 164 00:39:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 00:39 . 00:39:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 00:38 .. 00:39:41 -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 00:38 .dockerignore 00:39:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 00:38 .git 00:39:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:38 .github 00:39:41 -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 00:38 .gitignore 00:39:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 00:38 .golangci.yml 00:39:41 drwx------ 3 jenkins jenkins 4096 Apr 6 00:38 .semver 00:39:41 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 00:38 Attribution.txt 00:39:41 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 00:38 CHANGELOG.md 00:39:41 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 00:38 Dockerfile 00:39:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 00:38 GOVERNANCE.md 00:39:41 -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 00:38 Jenkinsfile 00:39:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 00:38 LICENSE 00:39:41 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 00:38 Makefile 00:39:41 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 00:38 OWNERS.md 00:39:41 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 00:38 README.md 00:39:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 00:38 VERSION 00:39:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:38 bin 00:39:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:38 cmd 00:39:41 -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 00:39 coverage.out 00:39:41 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 00:38 go.mod 00:39:41 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 6 00:38 go.sum 00:39:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:38 internal 00:39:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:38 snap 00:39:41 -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 00:38 version.go [Pipeline] isUnix [Pipeline] sh 00:39:41 + 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=97f5f388121dc6ef09dfef889733b622a9a06ea5 --label arch=amd64 --label version=0.0.0 . 00:39:41 Sending build context to Docker daemon 5.25MB 00:39:41 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:39:41 Step 2/24 : FROM ${BASE} AS builder 00:39:41 ---> be1c52ab4eed 00:39:41 Step 3/24 : ARG MAKE='make build' 00:39:41 ---> Running in 294b53477e2d 00:39:41 Removing intermediate container 294b53477e2d 00:39:41 ---> e4bfd9463aee 00:39:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:39:41 ---> Running in 3990d4461f06 00:39:41 Removing intermediate container 3990d4461f06 00:39:41 ---> 716a724caed3 00:39:41 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:39:41 ---> Running in a199b4d79d8c 00:39:42 Removing intermediate container a199b4d79d8c 00:39:42 ---> d1f0c9c469d9 00:39:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:39:42 ---> Running in c05ccaad3c3e 00:39:42 Removing intermediate container c05ccaad3c3e 00:39:42 ---> 5c5bc510a4bf 00:39:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:39:42 ---> Running in 45d4cc94a787 00:39:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:39:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:39:44 OK: 224 MiB in 56 packages 00:39:44 Removing intermediate container 45d4cc94a787 00:39:44 ---> 0eccc76d1ed5 00:39:44 Step 8/24 : WORKDIR /device-snmp-go 00:39:44 ---> Running in 1a87cabb787b 00:39:44 Removing intermediate container 1a87cabb787b 00:39:44 ---> 9ddfad2b9d20 00:39:44 Step 9/24 : COPY go.mod vendor* ./ 00:39:44 ---> a3be5dd44efe 00:39:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:39:44 ---> Running in 50b35a8552fb 00:39:45 Removing intermediate container 50b35a8552fb 00:39:45 ---> e9cdaaf9359c 00:39:45 Step 11/24 : COPY . . 00:39:45 ---> 931bc40e91d9 00:39:45 Step 12/24 : RUN ${MAKE} 00:39:45 ---> Running in 9a9edaf7b563 00:39:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 00:39:58 Removing intermediate container 9a9edaf7b563 00:39:58 ---> 68c2e4e3df88 00:39:58 Step 13/24 : FROM alpine:3.14 00:39:58 3.14: Pulling from library/alpine 00:39:58 8663204ce13b: Pulling fs layer 00:39:58 8663204ce13b: Verifying Checksum 00:39:58 8663204ce13b: Download complete 00:39:58 8663204ce13b: Pull complete 00:39:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:39:58 Status: Downloaded newer image for alpine:3.14 00:39:58 ---> e04c818066af 00:39:58 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:39:58 ---> Running in 2935c1ff8663 00:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:39:59 (1/6) Installing dumb-init (1.2.5-r1) 00:39:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:39:59 (3/6) Installing libsodium (1.0.18-r0) 00:39:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:39:59 (5/6) Installing libzmq (4.3.4-r0) 00:39:59 (6/6) Installing zeromq (4.3.4-r0) 00:39:59 Executing busybox-1.33.1-r7.trigger 00:39:59 OK: 8 MiB in 20 packages 00:39:59 Removing intermediate container 2935c1ff8663 00:39:59 ---> 2a20fd52d4fc 00:39:59 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:40:00 ---> 48955b752462 00:40:00 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:40:00 ---> f34d0b9d4408 00:40:00 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:40:00 ---> 2b18a280c697 00:40:00 Step 18/24 : EXPOSE 59993 00:40:00 ---> Running in 82462176cf6e 00:40:00 Removing intermediate container 82462176cf6e 00:40:00 ---> d9683cb3e60a 00:40:00 Step 19/24 : EXPOSE 161 00:40:00 ---> Running in 5e422abd922c 00:40:00 Removing intermediate container 5e422abd922c 00:40:00 ---> f639cb811361 00:40:00 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:40:00 ---> Running in 0b066ff734a8 00:40:00 Removing intermediate container 0b066ff734a8 00:40:00 ---> 985d58bf1cba 00:40:00 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:40:00 ---> Running in 314acfa70de2 00:40:00 Removing intermediate container 314acfa70de2 00:40:00 ---> ee6cf363624e 00:40:00 Step 22/24 : LABEL arch=amd64 00:40:00 ---> Running in 164d58768474 00:40:00 Removing intermediate container 164d58768474 00:40:00 ---> cd4fd41e9810 00:40:00 Step 23/24 : LABEL git_sha=97f5f388121dc6ef09dfef889733b622a9a06ea5 00:40:00 ---> Running in 54ec77008116 00:40:00 Removing intermediate container 54ec77008116 00:40:00 ---> 88df40f47a05 00:40:00 Step 24/24 : LABEL version=0.0.0 00:40:01 ---> Running in 56eddc6d9161 00:40:01 Removing intermediate container 56eddc6d9161 00:40:01 ---> 6aed5ccf4de3 00:40:01 [Warning] One or more build-args [ARCH] were not consumed 00:40:01 Successfully built 6aed5ccf4de3 00:40:01 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:02 00:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:40:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:02 latest: Pulling from edgex-lftools-log-publisher 00:40:02 5eb5b503b376: Pulling fs layer 00:40:02 5c69ac0246d0: Pulling fs layer 00:40:02 ec43610c2a17: Pulling fs layer 00:40:02 3a2ae6a8a46f: Pulling fs layer 00:40:02 33b1e0a273af: Pulling fs layer 00:40:02 5d3b04190fa2: Pulling fs layer 00:40:02 2f39f015ded8: Pulling fs layer 00:40:02 3a2ae6a8a46f: Waiting 00:40:02 5d3b04190fa2: Waiting 00:40:02 33b1e0a273af: Waiting 00:40:02 5c69ac0246d0: Verifying Checksum 00:40:02 5c69ac0246d0: Download complete 00:40:02 3a2ae6a8a46f: Verifying Checksum 00:40:02 3a2ae6a8a46f: Download complete 00:40:02 33b1e0a273af: Verifying Checksum 00:40:02 33b1e0a273af: Download complete 00:40:02 ec43610c2a17: Verifying Checksum 00:40:02 ec43610c2a17: Download complete 00:40:02 5d3b04190fa2: Verifying Checksum 00:40:02 5d3b04190fa2: Download complete 00:40:02 5eb5b503b376: Verifying Checksum 00:40:02 5eb5b503b376: Download complete 00:40:03 2f39f015ded8: Download complete 00:40:03 5eb5b503b376: Pull complete 00:40:03 5c69ac0246d0: Pull complete 00:40:04 ec43610c2a17: Pull complete 00:40:04 3a2ae6a8a46f: Pull complete 00:40:04 33b1e0a273af: Pull complete 00:40:04 5d3b04190fa2: Pull complete 00:40:08 2f39f015ded8: Pull complete 00:40:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:40:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:40:08 prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container 00:40:08 $ 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-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@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 00:40:10 $ docker top 352c868c0da2e6116626e0840b1846db7d937fbcc4795015528adba5eab1e775 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:11 ---> job-cost.sh 00:40:11 lf-activate-venv: SKIPPING 00:40:11 INFO: No Stack... 00:40:11 INFO: Retrieving Pricing Info for: v3-standard-8 00:40:11 INFO: Archiving Costs [Pipeline] sh 00:40:12 + cat /w/workspace/gexfoundry_device-snmp-go_PR-149/archives/cost.csv 00:40:12 + cut -d, -f6 [Pipeline] lock 00:40:12 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] 00:40:12 Resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] did not exist. Created. 00:40:12 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:40:12 + echo total: 0.2199999988079071 [Pipeline] stash 00:40:12 Stashed 1 file(s) [Pipeline] } 00:40:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:40:12 $ docker stop --time=1 352c868c0da2e6116626e0840b1846db7d937fbcc4795015528adba5eab1e775 00:40:14 $ docker rm -f 352c868c0da2e6116626e0840b1846db7d937fbcc4795015528adba5eab1e775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:42:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10803 in /w/workspace/gexfoundry_device-snmp-go_PR-149 [Pipeline] { [Pipeline] ws 00:42:01 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 00:42:02 Selected Git installation does not exist. Using Default 00:42:02 The recommended git tool is: NONE 00:42:11 using credential edgex-jenkins-ssh 00:42:11 Cloning the remote Git repository 00:42:11 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:42:11 > git init /w/workspace/device-snmp-go/1 # timeout=10 00:42:11 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:42:11 > git --version # timeout=10 00:42:11 > git --version # 'git version 2.25.1' 00:42:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:13 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:42:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:13 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:42:13 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:42:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:42:13 Merging remotes/origin/main commit 480fc110605f705546cd9b1d947e4f522cca56d6 into PR head commit 97f5f388121dc6ef09dfef889733b622a9a06ea5 00:42:14 Merge succeeded, producing 97f5f388121dc6ef09dfef889733b622a9a06ea5 00:42:14 Checking out Revision 97f5f388121dc6ef09dfef889733b622a9a06ea5 (PR-149) 00:42:13 > git config core.sparsecheckout # timeout=10 00:42:13 > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # timeout=10 00:42:13 > git remote # timeout=10 00:42:13 > git config --get remote.origin.url # timeout=10 00:42:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:13 > git merge 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 00:42:13 > git rev-parse HEAD^{commit} # timeout=10 00:42:14 > git config core.sparsecheckout # timeout=10 00:42:14 > git checkout -f 97f5f388121dc6ef09dfef889733b622a9a06ea5 # timeout=10 00:42:18 Commit message: "build(deps): Update device-sdk-go" 00:42:18 > git --version # timeout=10 00:42:18 > git --version # 'git version 2.25.1' 00:42:18 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:42:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:42:19 Dload Upload Total Spent Left Speed 00:42:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 00:42:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:42:20 + sudo tee /etc/docker/daemon.new 00:42:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:42:20 { 00:42:20 "registry-mirrors": [ 00:42:20 "https://nexus3.edgexfoundry.org:10001" 00:42:20 ], 00:42:20 "bip": "10.250.0.254/24", 00:42:20 "hosts": [ 00:42:20 "tcp://0.0.0.0:5555", 00:42:20 "unix:///var/run/docker.sock" 00:42:20 ], 00:42:20 "mtu": 1458, 00:42:20 "selinux-enabled": true, 00:42:20 "seccomp-profile": "/etc/docker/seccomp.json" 00:42:20 } [Pipeline] sh 00:42:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:42:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:39 provisioning config files... 00:42:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4818932518668390056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:40 ---> docker-login.sh 00:42:40 nexus3.edgexfoundry.org:10001 00:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:41 Configure a credential helper to remove this warning. See 00:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:41 00:42:41 Login Succeeded 00:42:41 nexus3.edgexfoundry.org:10002 00:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:41 Configure a credential helper to remove this warning. See 00:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:41 00:42:41 Login Succeeded 00:42:41 nexus3.edgexfoundry.org:10003 00:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:42 Configure a credential helper to remove this warning. See 00:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:42 00:42:42 Login Succeeded 00:42:42 nexus3.edgexfoundry.org:10004 00:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:43 Configure a credential helper to remove this warning. See 00:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:43 00:42:43 Login Succeeded 00:42:43 docker.io 00:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:43 Configure a credential helper to remove this warning. See 00:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:43 00:42:43 Login Succeeded 00:42:43 ---> docker-login.sh ends [Pipeline] } 00:42:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:44 ========================================================= 00:42:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:42:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:42:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 00:42:45 Sending build context to Docker daemon 2.741MB 00:42:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:42:45 Step 2/12 : FROM ${BASE} AS builder 00:42:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:42:45 9b3977197b4f: Pulling fs layer 00:42:45 1a89e8eeedd5: Pulling fs layer 00:42:45 94645a83ff95: Pulling fs layer 00:42:45 3f3a8bcf1eab: Pulling fs layer 00:42:45 0c92f367c5e7: Pulling fs layer 00:42:45 f7c0051592d6: Pulling fs layer 00:42:45 a227ed2f7395: Pulling fs layer 00:42:45 7b1c46037f91: Pulling fs layer 00:42:45 3f3a8bcf1eab: Waiting 00:42:45 0c92f367c5e7: Waiting 00:42:45 f7c0051592d6: Waiting 00:42:45 a227ed2f7395: Waiting 00:42:45 7b1c46037f91: Waiting 00:42:45 94645a83ff95: Verifying Checksum 00:42:45 94645a83ff95: Download complete 00:42:45 1a89e8eeedd5: Verifying Checksum 00:42:45 1a89e8eeedd5: Download complete 00:42:45 0c92f367c5e7: Verifying Checksum 00:42:45 0c92f367c5e7: Download complete 00:42:45 f7c0051592d6: Download complete 00:42:45 9b3977197b4f: Verifying Checksum 00:42:45 a227ed2f7395: Verifying Checksum 00:42:45 a227ed2f7395: Download complete 00:42:46 9b3977197b4f: Pull complete 00:42:47 1a89e8eeedd5: Pull complete 00:42:47 94645a83ff95: Pull complete 00:42:47 7b1c46037f91: Verifying Checksum 00:42:47 7b1c46037f91: Download complete 00:42:48 3f3a8bcf1eab: Verifying Checksum 00:42:48 3f3a8bcf1eab: Download complete 00:43:00 3f3a8bcf1eab: Pull complete 00:43:00 0c92f367c5e7: Pull complete 00:43:01 f7c0051592d6: Pull complete 00:43:01 a227ed2f7395: Pull complete 00:43:08 7b1c46037f91: Pull complete 00:43:08 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:43:08 ---> f79e39bc4007 00:43:08 Step 3/12 : ARG MAKE='make build' 00:43:09 ---> Running in d9e8e07b1ec2 00:43:09 Removing intermediate container d9e8e07b1ec2 00:43:09 ---> 45f08e5684ee 00:43:09 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:43:09 ---> Running in b867154b18dc 00:43:09 Removing intermediate container b867154b18dc 00:43:09 ---> 55b82f0fa360 00:43:09 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:43:10 ---> Running in f141231696cd 00:43:10 Removing intermediate container f141231696cd 00:43:10 ---> 065c9aaf6a57 00:43:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:10 ---> Running in 2e0389326f9f 00:43:12 Removing intermediate container 2e0389326f9f 00:43:12 ---> 2a25d4828417 00:43:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:12 ---> Running in ace554d25b32 00:43:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:43:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:43:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:43:17 (2/4) Installing libedit (20210910.3.1-r0) 00:43:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:43:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:43:18 Executing busybox-1.34.1-r3.trigger 00:43:18 OK: 224 MiB in 56 packages 00:43:19 Removing intermediate container ace554d25b32 00:43:19 ---> ac7684d608ca 00:43:19 Step 8/12 : WORKDIR /device-snmp-go 00:43:19 ---> Running in ac88e5705c2d 00:43:19 Removing intermediate container ac88e5705c2d 00:43:19 ---> 2fc225e5d713 00:43:19 Step 9/12 : COPY go.mod vendor* ./ 00:43:20 ---> 3e5504012d0a 00:43:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:20 ---> Running in cb9d7baa55fe 00:44:16 Removing intermediate container cb9d7baa55fe 00:44:16 ---> 6ba68d80b94d 00:44:16 Step 11/12 : COPY . . 00:44:16 ---> 6e3be8634479 00:44:16 Step 12/12 : RUN ${MAKE} 00:44:16 ---> Running in 65cff66d187a 00:44:16 noop 00:44:16 Removing intermediate container 65cff66d187a 00:44:16 ---> 37864f3dec1c 00:44:16 Successfully built 37864f3dec1c 00:44:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:44:17 + docker inspect -f . ci-base-image-arm64 00:44:17 . [Pipeline] withDockerContainer 00:44:17 prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container 00:44:17 $ 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 00:44:19 $ docker top d0e044b70d1ab95920bb3c7c1cf7d4199e4bcb05b62bb681b6d852731aea1010 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:20 + go version 00:44:20 go version go1.17.6 linux/arm64 [Pipeline] } 00:44:20 $ docker stop --time=1 d0e044b70d1ab95920bb3c7c1cf7d4199e4bcb05b62bb681b6d852731aea1010 00:44:22 $ docker rm -f d0e044b70d1ab95920bb3c7c1cf7d4199e4bcb05b62bb681b6d852731aea1010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:44:22 + docker inspect -f . ci-base-image-arm64 00:44:22 . [Pipeline] withDockerContainer 00:44:23 prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container 00:44:23 $ 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 00:44:24 $ docker top d3a81fbf07b0b527cbdda2a7fae94d5baa3cfde6cc09284b9395df1c0f85654d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:44:25 + make test 00:44:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:44:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:46:04 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:46:04 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 00:46:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:46:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:46:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:46:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:46:26 ./bin/test-attribution-txt.sh [Pipeline] echo 00:46:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:46:29 $ docker stop --time=1 d3a81fbf07b0b527cbdda2a7fae94d5baa3cfde6cc09284b9395df1c0f85654d 00:46:31 $ docker rm -f d3a81fbf07b0b527cbdda2a7fae94d5baa3cfde6cc09284b9395df1c0f85654d [Pipeline] // withDockerContainer [Pipeline] sh 00:46:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:46:32 Warning: overwriting stash ‘coverage-report’ 00:46:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:46:34 + ls -al . 00:46:34 total 160 00:46:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 00:46 . 00:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 00:42 .. 00:46:34 -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 00:42 .dockerignore 00:46:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 00:42 .git 00:46:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:42 .github 00:46:34 -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 00:42 .gitignore 00:46:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 00:42 .golangci.yml 00:46:34 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 00:42 Attribution.txt 00:46:34 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 00:42 CHANGELOG.md 00:46:34 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 00:42 Dockerfile 00:46:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 00:42 GOVERNANCE.md 00:46:34 -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 00:42 Jenkinsfile 00:46:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 00:42 LICENSE 00:46:34 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 00:42 Makefile 00:46:34 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 00:42 OWNERS.md 00:46:34 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 00:42 README.md 00:46:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 00:38 VERSION 00:46:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:42 bin 00:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:42 cmd 00:46:34 -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 00:45 coverage.out 00:46:34 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 00:42 go.mod 00:46:34 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 6 00:42 go.sum 00:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:42 internal 00:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:42 snap 00:46:34 -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 00:42 version.go [Pipeline] isUnix [Pipeline] sh 00:46:34 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=97f5f388121dc6ef09dfef889733b622a9a06ea5 --label arch=arm64 --label version=0.0.0 . 00:46:35 Sending build context to Docker daemon 2.749MB 00:46:35 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:46:35 Step 2/24 : FROM ${BASE} AS builder 00:46:35 ---> 37864f3dec1c 00:46:35 Step 3/24 : ARG MAKE='make build' 00:46:35 ---> Running in da2ee1a58b5d 00:46:35 Removing intermediate container da2ee1a58b5d 00:46:35 ---> 8009a6cb7584 00:46:35 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:46:35 ---> Running in 525616da14d6 00:46:35 Removing intermediate container 525616da14d6 00:46:35 ---> d5400cc8b5c0 00:46:35 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:46:36 ---> Running in b3eb70db2c5b 00:46:36 Removing intermediate container b3eb70db2c5b 00:46:36 ---> 5601d8a7eaf0 00:46:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:36 ---> Running in 837309b3838c 00:46:38 Removing intermediate container 837309b3838c 00:46:38 ---> 35ac62d1c6b9 00:46:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:38 ---> Running in ad6b31335acd 00:46:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:46:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:46:40 OK: 224 MiB in 56 packages 00:46:41 Removing intermediate container ad6b31335acd 00:46:41 ---> 9b722c56d230 00:46:41 Step 8/24 : WORKDIR /device-snmp-go 00:46:41 ---> Running in 2e734e1680e6 00:46:42 Removing intermediate container 2e734e1680e6 00:46:42 ---> f918c1793ead 00:46:42 Step 9/24 : COPY go.mod vendor* ./ 00:46:42 ---> 1c77940798f4 00:46:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:42 ---> Running in ecd5e816bfdf 00:46:44 Removing intermediate container ecd5e816bfdf 00:46:44 ---> f4b4817cb9e2 00:46:44 Step 11/24 : COPY . . 00:46:45 ---> f4fedd47c03b 00:46:45 Step 12/24 : RUN ${MAKE} 00:46:45 ---> Running in d9da406d012c 00:46:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 00:48:23 Removing intermediate container d9da406d012c 00:48:23 ---> 48ece55852a2 00:48:23 Step 13/24 : FROM alpine:3.14 00:48:23 3.14: Pulling from library/alpine 00:48:23 455c02918c45: Pulling fs layer 00:48:23 455c02918c45: Verifying Checksum 00:48:23 455c02918c45: Download complete 00:48:23 455c02918c45: Pull complete 00:48:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:48:23 Status: Downloaded newer image for alpine:3.14 00:48:23 ---> ac73e934f311 00:48:23 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:48:23 ---> Running in f51f439adae8 00:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:48:23 (1/6) Installing dumb-init (1.2.5-r1) 00:48:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:48:23 (3/6) Installing libsodium (1.0.18-r0) 00:48:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:48:23 (5/6) Installing libzmq (4.3.4-r0) 00:48:23 (6/6) Installing zeromq (4.3.4-r0) 00:48:23 Executing busybox-1.33.1-r7.trigger 00:48:23 OK: 8 MiB in 20 packages 00:48:23 Removing intermediate container f51f439adae8 00:48:23 ---> 1f604a5bfaca 00:48:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:48:23 ---> d612c612edb4 00:48:23 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:48:23 ---> a67733a90482 00:48:23 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:48:23 ---> 8f6d3caf6897 00:48:23 Step 18/24 : EXPOSE 59993 00:48:23 ---> Running in 7167ef2f5500 00:48:23 Removing intermediate container 7167ef2f5500 00:48:23 ---> 2c2e8cfd57fb 00:48:23 Step 19/24 : EXPOSE 161 00:48:23 ---> Running in 4ec6b8a1e505 00:48:23 Removing intermediate container 4ec6b8a1e505 00:48:23 ---> 9104424ecb99 00:48:23 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:48:23 ---> Running in 4208dc34a723 00:48:23 Removing intermediate container 4208dc34a723 00:48:23 ---> 25495c9dc2d9 00:48:23 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:48:23 ---> Running in ebdeb9f8f169 00:48:23 Removing intermediate container ebdeb9f8f169 00:48:23 ---> 2fcd0b34b54e 00:48:23 Step 22/24 : LABEL arch=arm64 00:48:23 ---> Running in 5b33f206daba 00:48:23 Removing intermediate container 5b33f206daba 00:48:23 ---> e6b5cbb46019 00:48:23 Step 23/24 : LABEL git_sha=97f5f388121dc6ef09dfef889733b622a9a06ea5 00:48:23 ---> Running in 71086004afea 00:48:23 Removing intermediate container 71086004afea 00:48:23 ---> a72fc6dac99b 00:48:23 Step 24/24 : LABEL version=0.0.0 00:48:23 ---> Running in 158a96ee2669 00:48:24 Removing intermediate container 158a96ee2669 00:48:24 ---> ae3634c4fa11 00:48:24 [Warning] One or more build-args [ARCH] were not consumed 00:48:24 Successfully built ae3634c4fa11 00:48:24 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:48:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:25 00:48:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:48:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:26 arm64: Pulling from edgex-lftools-log-publisher 00:48:26 8998bd30e6a1: Pulling fs layer 00:48:26 04944245beec: Pulling fs layer 00:48:26 699f458cf7ca: Pulling fs layer 00:48:26 765212b225bb: Pulling fs layer 00:48:26 f23df028b6ca: Pulling fs layer 00:48:26 d65c8cfc05b1: Pulling fs layer 00:48:26 2437ff75d9bd: Pulling fs layer 00:48:26 765212b225bb: Waiting 00:48:26 f23df028b6ca: Waiting 00:48:26 2437ff75d9bd: Waiting 00:48:26 d65c8cfc05b1: Waiting 00:48:26 04944245beec: Verifying Checksum 00:48:26 04944245beec: Download complete 00:48:26 765212b225bb: Verifying Checksum 00:48:26 765212b225bb: Download complete 00:48:26 f23df028b6ca: Download complete 00:48:26 699f458cf7ca: Verifying Checksum 00:48:26 699f458cf7ca: Download complete 00:48:26 8998bd30e6a1: Verifying Checksum 00:48:26 8998bd30e6a1: Download complete 00:48:29 2437ff75d9bd: Verifying Checksum 00:48:29 2437ff75d9bd: Download complete 00:48:31 8998bd30e6a1: Pull complete 00:48:32 04944245beec: Pull complete 00:48:33 699f458cf7ca: Pull complete 00:48:33 765212b225bb: Pull complete 00:48:34 f23df028b6ca: Pull complete 00:48:35 d65c8cfc05b1: Pull complete 00:48:50 2437ff75d9bd: Pull complete 00:48:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:48:50 prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container 00:48:50 $ 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 00:48:53 $ docker top ec1a8ae34cbb8a24865db65a15b8c4495e0a08aa17d550ee35c1f394ead6c1af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:54 ---> job-cost.sh 00:48:54 lf-activate-venv: SKIPPING 00:48:54 INFO: No Stack... 00:48:54 INFO: Retrieving Pricing Info for: v3-standard-4 00:48:55 INFO: Archiving Costs [Pipeline] sh 00:48:56 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 00:48:56 + cut -d, -f6 [Pipeline] lock 00:48:56 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] 00:48:56 Resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] did not exist. Created. 00:48:56 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:48:57 /w/workspace/device-snmp-go/1@tmp/durable-4d8870e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:48:58 + echo total: 0.10999999940395355 [Pipeline] stash 00:48:58 Warning: overwriting stash ‘stack-cost’ 00:48:58 Stashed 1 file(s) [Pipeline] } 00:48:58 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:48:58 $ docker stop --time=1 ec1a8ae34cbb8a24865db65a15b8c4495e0a08aa17d550ee35c1f394ead6c1af 00:49:00 $ docker rm -f ec1a8ae34cbb8a24865db65a15b8c4495e0a08aa17d550ee35c1f394ead6c1af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:49:01 provisioning config files... 00:49:01 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config1535788804891344013tmp [Pipeline] { [Pipeline] sh 00:49:01 + set +x 00:49:01 + bash -s -- 00:49:01 + curl -s https://codecov.io/bash 00:49:01 00:49:01 _____ _ 00:49:01 / ____| | | 00:49:01 | | ___ __| | ___ ___ _____ __ 00:49:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:49:01 | |___| (_) | (_| | __/ (_| (_) \ V / 00:49:01 \_____\___/ \__,_|\___|\___\___/ \_/ 00:49:01 Bash-1.0.6 00:49:01 00:49:01 00:49:01 ==> git version 2.25.1 found 00:49:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:49:01 Release-Date: 2020-01-08 00:49:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:49:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:49:01 ==> Jenkins CI detected. 00:49:01 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-149 00:49:01 project root: . 00:49:01 --> token set from env 00:49:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:49:01 ==> Running gcov in . (disable via -X gcov) 00:49:01 ==> Python coveragepy not found 00:49:01 ==> Searching for coverage reports in: 00:49:01 + . 00:49:01 -> Found 1 reports 00:49:01 ==> Detecting git/mercurial file structure 00:49:01 ==> Reading reports 00:49:01 + ./coverage.out bytes=7631 00:49:01 ==> Appending adjustments 00:49:01 https://docs.codecov.io/docs/fixing-reports 00:49:01 + Found adjustments 00:49:01 ==> Gzipping contents 00:49:01 4.0K /tmp/codecov.h4r2Fg.gz 00:49:01 ==> Uploading reports 00:49:01 url: https://codecov.io 00:49:01 query: branch=PR-149&commit=97f5f388121dc6ef09dfef889733b622a9a06ea5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=149&job=&cmd_args= 00:49:01 -> Pinging Codecov 00:49:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-149&commit=97f5f388121dc6ef09dfef889733b622a9a06ea5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=149&job=&cmd_args= 00:49:01 -> Uploading to 00:49:01 https://storage.googleapis.com/codecov/v4/raw/2022-04-06/6C56EA5C29638FB4528AC87E60AF5AE0/97f5f388121dc6ef09dfef889733b622a9a06ea5/7ff12928-a1a8-45c8-9e6e-86be9453dd43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T004901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ffac28ff8c5434a3b79f7db36a84b0ac9cd39234a7f3d33319b96d89d08f63d 00:49:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:49:01 Dload Upload Total Spent Left Speed 00:49:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7296 --:--:-- --:--:-- --:--:-- 7296 00:49:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/97f5f388121dc6ef09dfef889733b622a9a06ea5 [Pipeline] } 00:49:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:49:03 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-149/archives ] 00:49:03 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-149/archives 00:49:03 total 16 00:49:03 drwxr-xr-x 3 root root 4096 Apr 6 00:40 . 00:49:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 00:40 .. 00:49:03 drwxr-xr-x 2 root root 4096 Apr 6 00:40 cost 00:49:03 -rw-r--r-- 1 root root 85 Apr 6 00:40 cost.csv 00:49:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-149/archives 00:49:03 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-149/archives 00:49:03 total 16 00:49:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 00:40 . 00:49:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 00:40 .. 00:49:03 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 00:40 cost 00:49:03 -rw-r--r-- 1 jenkins jenkins 85 Apr 6 00:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:49:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:49:05 ---> package-listing.sh 00:49:05 ++ facter osfamily 00:49:05 ++ tr '[:upper:]' '[:lower:]' 00:49:05 + OS_FAMILY=debian 00:49:05 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-149 00:49:05 + START_PACKAGES=/tmp/packages_start.txt 00:49:05 + END_PACKAGES=/tmp/packages_end.txt 00:49:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:49:05 + PACKAGES=/tmp/packages_start.txt 00:49:05 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-149 ']' 00:49:05 + PACKAGES=/tmp/packages_end.txt 00:49:05 + case "${OS_FAMILY}" in 00:49:05 + dpkg -l 00:49:05 + grep '^ii' 00:49:05 + '[' -f /tmp/packages_start.txt ']' 00:49:05 + '[' -f /tmp/packages_end.txt ']' 00:49:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:49:05 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-149 ']' 00:49:05 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-149/archives/ 00:49:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-149/archives/ [Pipeline] echo 00:49:05 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:49:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:49:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:06 . [Pipeline] withDockerContainer 00:49:06 prd-ubuntu20.04-docker-8c-8g-10801 does not seem to be running inside a container 00:49:06 $ 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-149/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-149 -v /w/workspace/gexfoundry_device-snmp-go_PR-149:/w/workspace/gexfoundry_device-snmp-go_PR-149:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-149@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-149@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 00:49:06 $ docker top ec7feba7d9c5c7b21ec3d3f7fb3d75a5c5907e5fa7769437cc865b3422410d41 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:07 + touch /tmp/pre-build-complete [Pipeline] sh 00:49:07 + mkdir -p /var/log/sysstat [Pipeline] sh 00:49:07 + ls /var/log/sa-host 00:49:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:07 provisioning config files... 00:49:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-149@tmp/config5759227374842726773tmp [Pipeline] { [Pipeline] echo 00:49:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:49:08 ---> create-netrc.sh [Pipeline] } 00:49:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:49:08 ---> python-tools-install.sh [Pipeline] echo 00:49:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:49:08 ---> sudo-logs.sh 00:49:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:49:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:49:09 ---> job-cost.sh 00:49:09 lf-activate-venv: SKIPPING 00:49:09 DEBUG: total: 0.2199999988079071 00:49:09 INFO: Retrieving Stack Cost... 00:49:09 INFO: Retrieving Pricing Info for: v3-standard-8 00:49:10 INFO: Archiving Costs [Pipeline] echo 00:49:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:49:10 ---> logs-deploy.sh 00:49:10 lf-activate-venv: SKIPPING 00:49:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-149/1 00:49:10 INFO: archiving workspace using pattern(s): 00:49:11 Archives upload complete. 00:49:11 INFO: archiving logs to Nexus