Pull request #163 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 jinlinGuan for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 rather than d275d083175b600d40c2c13744dc8abee3a0b075 Obtained Jenkinsfile from 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 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-ssh16769913556874657204.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-ssh15586429450532071444.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-163/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-163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10624099086569536391.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-163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6070156756630897263.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-ssh12992617441568984797.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-163/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-163/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5079665183230600918.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 Running on prd-ubuntu20.04-docker-8c-8g-33461 in /w/workspace/gexfoundry_device-snmp-go_PR-163 [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-163 # 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit d275d083175b600d40c2c13744dc8abee3a0b075 Merge succeeded, producing d275d083175b600d40c2c13744dc8abee3a0b075 Checking out Revision d275d083175b600d40c2c13744dc8abee3a0b075 (PR-163) > 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/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # timeout=10 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" 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 10:18:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:18:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:18:34 ========================================================= 10:18:34 EdgeX Global Pipelines Version Info 10:18:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:18:35 ------------------- 10:18:35 stable info: 10:18:35 ------------------- 10:18:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:18:35 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:18:35 Message: update stable to v1.0.221 10:18:35 ------------------- 10:18:35 experimental info: 10:18:35 ------------------- 10:18:35 Commited By: **** collab-it+edgex@linuxfoundation.org 10:18:35 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 10:18:35 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:18:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-163 [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-163 [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-163 [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d275d08 [Pipeline] echo 10:18:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:37 provisioning config files... 10:18:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6874593954867085560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:38 ---> docker-login.sh 10:18:38 nexus3.edgexfoundry.org:10001 10:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:38 Configure a credential helper to remove this warning. See 10:18:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:38 10:18:38 Login Succeeded 10:18:38 nexus3.edgexfoundry.org:10002 10:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:38 Configure a credential helper to remove this warning. See 10:18:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:38 10:18:38 Login Succeeded 10:18:38 nexus3.edgexfoundry.org:10003 10:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:38 Configure a credential helper to remove this warning. See 10:18:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:38 10:18:38 Login Succeeded 10:18:38 nexus3.edgexfoundry.org:10004 10:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:39 Configure a credential helper to remove this warning. See 10:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:39 10:18:39 Login Succeeded 10:18:39 docker.io 10:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:39 Configure a credential helper to remove this warning. See 10:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:39 10:18:39 Login Succeeded 10:18:39 ---> docker-login.sh ends [Pipeline] } 10:18:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:18:40 + git rev-list -1 --merges d275d083175b600d40c2c13744dc8abee3a0b075~1..d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo 10:18:40 -----------> git rev-list -1 --merges d275d083175b600d40c2c13744dc8abee3a0b075~1..d275d083175b600d40c2c13744dc8abee3a0b075 d275d083175b600d40c2c13744dc8abee3a0b075 [false] [Pipeline] sh 10:18:40 + git log --format=format:%s -1 d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo 10:18:40 ========================================================= 10:18:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:18:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:41 + git log --format=format:%s -1 d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo 10:18:41 [semverPrep] GIT_COMMIT: d275d083175b600d40c2c13744dc8abee3a0b075, Commit Message: feat: Bump device-sdk-go version and update configuration.toml [Pipeline] echo 10:18:41 [semverPrep] This is not a build commit. [Pipeline] sh 10:18:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:18:41 + grep -v github /etc/ssh/ssh_known_hosts 10:18:41 + [ -e /tmp/ssh_known_hosts ] 10:18:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:18:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:18:41 + sudo tee -a /etc/ssh/ssh_known_hosts 10:18:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:18:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:42 10:18:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:18:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:42 latest: Pulling from edgex-devops/git-semver 10:18:42 a0d0a0d46f8b: Pulling fs layer 10:18:42 3e5f54012d9b: Pulling fs layer 10:18:42 4c7163046ea9: Pulling fs layer 10:18:42 0c2d73faf560: Pulling fs layer 10:18:42 0c2d73faf560: Waiting 10:18:42 3e5f54012d9b: Verifying Checksum 10:18:42 3e5f54012d9b: Download complete 10:18:42 a0d0a0d46f8b: Download complete 10:18:42 0c2d73faf560: Verifying Checksum 10:18:42 0c2d73faf560: Download complete 10:18:42 4c7163046ea9: Verifying Checksum 10:18:42 4c7163046ea9: Download complete 10:18:42 a0d0a0d46f8b: Pull complete 10:18:42 3e5f54012d9b: Pull complete 10:18:43 4c7163046ea9: Pull complete 10:18:43 0c2d73faf560: Pull complete 10:18:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:18:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:18:43 prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container 10:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:18:44 $ docker top cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:44 [ssh-agent] Looking for ssh-agent implementation... 10:18:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:44 $ docker exec cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent 10:18:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhAPJOK/agent.14 10:18:44 SSH_AGENT_PID=20 10:18:44 Running ssh-add (command line suppressed) 10:18:44 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_2927262257904503309.key (/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_2927262257904503309.key) 10:18:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:45 + git tag --points-at HEAD [Pipeline] } 10:18:45 $ docker exec --env ******** --env ******** cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent -k 10:18:45 unset SSH_AUTH_SOCK; 10:18:45 unset SSH_AGENT_PID; 10:18:45 echo Agent pid 20 killed; 10:18:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:18:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:45 [ssh-agent] Looking for ssh-agent implementation... 10:18:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:45 $ docker exec cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent 10:18:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMabDoc/agent.53 10:18:45 SSH_AGENT_PID=60 10:18:45 Running ssh-add (command line suppressed) 10:18:45 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_1319683735675237938.key (/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_1319683735675237938.key) 10:18:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:46 + git semver init 10:18:46 # -> Open(): unable to determine branch for HEAD 10:18:46 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-163/.git 10:18:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-163 10:18:46 # $SEMVER_REMOTE_NAME = origin 10:18:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:18:46 # $SEMVER_USER_NAME = edgex-jenkins 10:18:46 # $SEMVER_BRANCH = PR-163 10:18:46 # $SEMVER_TEMP = /tmp/semver-573184987 10:18:46 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 10:18:47 # '/tmp/semver-573184987' -> '/w/workspace/gexfoundry_device-snmp-go_PR-163/.semver' 10:18:47 # -> Force: false 10:18:47 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-163/.semver [Pipeline] } 10:18:47 $ docker exec --env ******** --env ******** cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent -k 10:18:47 unset SSH_AUTH_SOCK; 10:18:47 unset SSH_AGENT_PID; 10:18:47 echo Agent pid 60 killed; 10:18:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:47 + git semver [Pipeline] } 10:18:47 $ docker stop --time=1 cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 10:18:49 $ docker rm -f cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 [Pipeline] // withDockerContainer [Pipeline] sh 10:18:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:18:49 Stashed 1 file(s) [Pipeline] echo 10:18:49 [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 10:18:50 provisioning config files... 10:18:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6656238196436818955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:50 ---> docker-login.sh 10:18:50 nexus3.edgexfoundry.org:10001 10:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:50 Configure a credential helper to remove this warning. See 10:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:50 10:18:50 Login Succeeded 10:18:50 nexus3.edgexfoundry.org:10002 10:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:51 Configure a credential helper to remove this warning. See 10:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:51 10:18:51 Login Succeeded 10:18:51 nexus3.edgexfoundry.org:10003 10:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:51 Configure a credential helper to remove this warning. See 10:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:51 10:18:51 Login Succeeded 10:18:51 nexus3.edgexfoundry.org:10004 10:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:51 Configure a credential helper to remove this warning. See 10:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:51 10:18:51 Login Succeeded 10:18:51 docker.io 10:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:51 Configure a credential helper to remove this warning. See 10:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:51 10:18:51 Login Succeeded 10:18:51 ---> docker-login.sh ends [Pipeline] } 10:18:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:18:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:51 ========================================================= 10:18:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:18:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:18:52 + 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 . 10:18:52 Sending build context to Docker daemon 5.313MB 10:18:52 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:18:52 Step 2/12 : FROM ${BASE} AS builder 10:18:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:18:52 59bf1c3509f3: Pulling fs layer 10:18:52 666ba61612fd: Pulling fs layer 10:18:52 8ed8ca486205: Pulling fs layer 10:18:52 4fe6c5a15a65: Pulling fs layer 10:18:52 22a0e8bec74d: Pulling fs layer 10:18:52 ca2b28591e48: Pulling fs layer 10:18:52 a51346096db8: Pulling fs layer 10:18:52 daebc70d1ce1: Pulling fs layer 10:18:52 0e18a0eac166: Pulling fs layer 10:18:52 4fe6c5a15a65: Waiting 10:18:52 daebc70d1ce1: Waiting 10:18:52 22a0e8bec74d: Waiting 10:18:52 ca2b28591e48: Waiting 10:18:52 a51346096db8: Waiting 10:18:52 8ed8ca486205: Download complete 10:18:52 666ba61612fd: Verifying Checksum 10:18:52 666ba61612fd: Download complete 10:18:52 22a0e8bec74d: Verifying Checksum 10:18:52 22a0e8bec74d: Download complete 10:18:52 ca2b28591e48: Download complete 10:18:52 59bf1c3509f3: Verifying Checksum 10:18:52 59bf1c3509f3: Download complete 10:18:52 a51346096db8: Verifying Checksum 10:18:52 a51346096db8: Download complete 10:18:52 daebc70d1ce1: Verifying Checksum 10:18:52 daebc70d1ce1: Download complete 10:18:52 59bf1c3509f3: Pull complete 10:18:52 666ba61612fd: Pull complete 10:18:52 8ed8ca486205: Pull complete 10:18:53 0e18a0eac166: Verifying Checksum 10:18:53 0e18a0eac166: Download complete 10:18:53 4fe6c5a15a65: Verifying Checksum 10:18:53 4fe6c5a15a65: Download complete 10:18:57 4fe6c5a15a65: Pull complete 10:18:57 22a0e8bec74d: Pull complete 10:18:57 ca2b28591e48: Pull complete 10:18:57 a51346096db8: Pull complete 10:18:57 daebc70d1ce1: Pull complete 10:19:00 0e18a0eac166: Pull complete 10:19:00 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:19:00 ---> f018257e8ee9 10:19:00 Step 3/12 : ARG MAKE='make build' 10:19:02 ---> Running in e0ebba829b92 10:19:02 Removing intermediate container e0ebba829b92 10:19:02 ---> d72dc30087b6 10:19:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:19:02 ---> Running in 05a888bf3c5e 10:19:02 Removing intermediate container 05a888bf3c5e 10:19:02 ---> 9f62d439de73 10:19:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:19:02 ---> Running in c33db1a58e71 10:19:02 Removing intermediate container c33db1a58e71 10:19:02 ---> 0194bb143e5f 10:19:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:02 ---> Running in d1a1fb593221 10:19:02 Removing intermediate container d1a1fb593221 10:19:02 ---> 86166c469cc2 10:19:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:02 ---> Running in f7721356cd45 10:19:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:19:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:19:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:19:04 (2/4) Installing libedit (20210910.3.1-r0) 10:19:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:19:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:19:04 Executing busybox-1.34.1-r3.trigger 10:19:04 OK: 224 MiB in 56 packages 10:19:04 Removing intermediate container f7721356cd45 10:19:04 ---> 936722363918 10:19:04 Step 8/12 : WORKDIR /device-snmp-go 10:19:05 ---> Running in b60eed540eae 10:19:05 Removing intermediate container b60eed540eae 10:19:05 ---> 499051c6b8d8 10:19:05 Step 9/12 : COPY go.mod vendor* ./ 10:19:05 ---> f6e026595c12 10:19:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:05 Still waiting to schedule task 10:19:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33462’ is offline 10:19:05 ---> Running in 3db4b15b53b7 10:19:20 Removing intermediate container 3db4b15b53b7 10:19:20 ---> aa036764fb28 10:19:20 Step 11/12 : COPY . . 10:19:20 ---> b3b060ce0541 10:19:20 Step 12/12 : RUN ${MAKE} 10:19:20 ---> Running in 0a6bc50d5c89 10:19:20 noop 10:19:20 Removing intermediate container 0a6bc50d5c89 10:19:20 ---> 76c4142c89c4 10:19:20 Successfully built 76c4142c89c4 10:19:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:19:20 + docker inspect -f . ci-base-image-x86_64 10:19:20 . [Pipeline] withDockerContainer 10:19:20 prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container 10:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@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 ******** ci-base-image-x86_64 cat 10:19:21 $ docker top a3fe3944277a55315c672f4a976deca814fa51aecfa6248d25a695f0e405de3d -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:21 + go version 10:19:21 go version go1.17.6 linux/amd64 [Pipeline] } 10:19:21 $ docker stop --time=1 a3fe3944277a55315c672f4a976deca814fa51aecfa6248d25a695f0e405de3d 10:19:22 $ docker rm -f a3fe3944277a55315c672f4a976deca814fa51aecfa6248d25a695f0e405de3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:19:23 + docker inspect -f . ci-base-image-x86_64 10:19:23 . [Pipeline] withDockerContainer 10:19:23 prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container 10:19:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@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 ******** ci-base-image-x86_64 cat 10:19:24 $ docker top 0f3aa879945ad1213a4f041349e8e8381f722c83939986d9f12b08fcff26e8b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:19:24 + make test 10:19:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:19:25 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:19:35 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:19:35 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 10:19:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:19:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:19:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:19:45 ./bin/test-attribution-txt.sh [Pipeline] echo 10:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:19:46 $ docker stop --time=1 0f3aa879945ad1213a4f041349e8e8381f722c83939986d9f12b08fcff26e8b9 10:19:48 $ docker rm -f 0f3aa879945ad1213a4f041349e8e8381f722c83939986d9f12b08fcff26e8b9 [Pipeline] // withDockerContainer [Pipeline] sh 10:19:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:19:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:19:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:19:50 + ls -al . 10:19:50 total 188 10:19:50 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 10:19 . 10:19:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:18 .. 10:19:50 -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 10:18 .dockerignore 10:19:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:18 .git 10:19:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 .github 10:19:50 -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 10:18 .gitignore 10:19:50 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 10:18 .golangci.yml 10:19:50 drwx------ 3 jenkins jenkins 4096 Apr 27 10:18 .semver 10:19:50 -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 10:18 Attribution.txt 10:19:50 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 10:18 CHANGELOG.md 10:19:50 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 10:18 Dockerfile 10:19:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 10:18 GOVERNANCE.md 10:19:50 -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 10:18 Jenkinsfile 10:19:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 10:18 LICENSE 10:19:50 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 10:18 Makefile 10:19:50 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 10:18 OWNERS.md 10:19:50 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 10:18 README.md 10:19:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 10:18 VERSION 10:19:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:18 bin 10:19:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 cmd 10:19:50 -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 10:19 coverage.out 10:19:50 -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 10:18 go.mod 10:19:50 -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 10:18 go.sum 10:19:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 internal 10:19:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 snap 10:19:50 -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 10:18 version.go [Pipeline] isUnix [Pipeline] sh 10:19:50 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d275d083175b600d40c2c13744dc8abee3a0b075 --label arch=amd64 --label version=0.0.0 . 10:19:50 Sending build context to Docker daemon 5.321MB 10:19:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 10:19:50 Step 2/24 : FROM ${BASE} AS builder 10:19:50 ---> 76c4142c89c4 10:19:50 Step 3/24 : ARG MAKE='make build' 10:19:50 ---> Running in 55f3cd63cf0b 10:19:50 Removing intermediate container 55f3cd63cf0b 10:19:50 ---> 7240a6d8110b 10:19:50 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:19:50 ---> Running in 28be7ebbdbed 10:19:51 Removing intermediate container 28be7ebbdbed 10:19:51 ---> e475f7d7dddd 10:19:51 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 10:19:51 ---> Running in a64d7df52442 10:19:51 Removing intermediate container a64d7df52442 10:19:51 ---> 1589a1b98887 10:19:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:51 ---> Running in 28bef8035de2 10:19:51 Removing intermediate container 28bef8035de2 10:19:51 ---> 9a7fa595a584 10:19:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:51 ---> Running in 34f9157791b8 10:19:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:19:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:19:53 OK: 224 MiB in 56 packages 10:19:53 Removing intermediate container 34f9157791b8 10:19:53 ---> e91f9f277427 10:19:53 Step 8/24 : WORKDIR /device-snmp-go 10:19:53 ---> Running in 105c98dd5f3d 10:19:53 Removing intermediate container 105c98dd5f3d 10:19:53 ---> ad153cccbae0 10:19:53 Step 9/24 : COPY go.mod vendor* ./ 10:19:54 ---> 3c20a9f766a5 10:19:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:54 ---> Running in be6360e2dc48 10:19:54 Removing intermediate container be6360e2dc48 10:19:54 ---> 56ccbfbc1934 10:19:54 Step 11/24 : COPY . . 10:19:54 ---> aa0438197cec 10:19:54 Step 12/24 : RUN ${MAKE} 10:19:54 ---> Running in 882b45c26ad5 10:19:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 10:20:17 Removing intermediate container 882b45c26ad5 10:20:17 ---> 8eba3a2d82ae 10:20:17 Step 13/24 : FROM alpine:3.14 10:20:17 3.14: Pulling from library/alpine 10:20:17 8663204ce13b: Pulling fs layer 10:20:17 8663204ce13b: Verifying Checksum 10:20:17 8663204ce13b: Download complete 10:20:17 8663204ce13b: Pull complete 10:20:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:20:17 Status: Downloaded newer image for alpine:3.14 10:20:17 ---> e04c818066af 10:20:17 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 10:20:17 ---> Running in 79bd166d7607 10:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:20:17 (1/6) Installing dumb-init (1.2.5-r1) 10:20:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:20:17 (3/6) Installing libsodium (1.0.18-r0) 10:20:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:20:17 (5/6) Installing libzmq (4.3.4-r0) 10:20:17 (6/6) Installing zeromq (4.3.4-r0) 10:20:17 Executing busybox-1.33.1-r7.trigger 10:20:17 OK: 8 MiB in 20 packages 10:20:17 Removing intermediate container 79bd166d7607 10:20:17 ---> 71fee7c6573e 10:20:17 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:20:17 ---> 47713ab52155 10:20:17 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:20:17 ---> bdfeab58c517 10:20:17 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:20:18 ---> 4e35d2b1082d 10:20:18 Step 18/24 : EXPOSE 59993 10:20:18 ---> Running in 26c6e5e21d75 10:20:18 Removing intermediate container 26c6e5e21d75 10:20:18 ---> 670bcb3e8c8b 10:20:18 Step 19/24 : EXPOSE 161 10:20:18 ---> Running in bccaae9ad067 10:20:18 Removing intermediate container bccaae9ad067 10:20:18 ---> 6ee7ee1965c4 10:20:18 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:20:18 ---> Running in c745392e1255 10:20:18 Removing intermediate container c745392e1255 10:20:18 ---> f4e903cd963c 10:20:18 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:20:18 ---> Running in 1e7b01245598 10:20:18 Removing intermediate container 1e7b01245598 10:20:18 ---> 63b760ede7e5 10:20:18 Step 22/24 : LABEL arch=amd64 10:20:18 ---> Running in 8abbb768eed7 10:20:18 Removing intermediate container 8abbb768eed7 10:20:18 ---> 2e8559aef1c5 10:20:18 Step 23/24 : LABEL git_sha=d275d083175b600d40c2c13744dc8abee3a0b075 10:20:18 ---> Running in 89cc6a07d7ab 10:20:19 Removing intermediate container 89cc6a07d7ab 10:20:19 ---> 9d4f57cf4ea8 10:20:19 Step 24/24 : LABEL version=0.0.0 10:20:19 ---> Running in 88c8ab46307f 10:20:19 Removing intermediate container 88c8ab46307f 10:20:19 ---> ffa2a0bf02a4 10:20:19 [Warning] One or more build-args [ARCH] were not consumed 10:20:19 Successfully built ffa2a0bf02a4 10:20:19 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 10:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:19 10:20:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:20:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:20 latest: Pulling from edgex-lftools-log-publisher 10:20:20 5eb5b503b376: Pulling fs layer 10:20:20 5c69ac0246d0: Pulling fs layer 10:20:20 ec43610c2a17: Pulling fs layer 10:20:20 3a2ae6a8a46f: Pulling fs layer 10:20:20 33b1e0a273af: Pulling fs layer 10:20:20 5d3b04190fa2: Pulling fs layer 10:20:20 2f39f015ded8: Pulling fs layer 10:20:20 3a2ae6a8a46f: Waiting 10:20:20 33b1e0a273af: Waiting 10:20:20 5d3b04190fa2: Waiting 10:20:20 2f39f015ded8: Waiting 10:20:20 5c69ac0246d0: Verifying Checksum 10:20:20 5c69ac0246d0: Download complete 10:20:20 3a2ae6a8a46f: Verifying Checksum 10:20:20 3a2ae6a8a46f: Download complete 10:20:20 33b1e0a273af: Verifying Checksum 10:20:20 33b1e0a273af: Download complete 10:20:20 ec43610c2a17: Download complete 10:20:20 5d3b04190fa2: Verifying Checksum 10:20:20 5d3b04190fa2: Download complete 10:20:20 5eb5b503b376: Verifying Checksum 10:20:20 5eb5b503b376: Download complete 10:20:20 2f39f015ded8: Download complete 10:20:21 5eb5b503b376: Pull complete 10:20:21 5c69ac0246d0: Pull complete 10:20:22 ec43610c2a17: Pull complete 10:20:22 3a2ae6a8a46f: Pull complete 10:20:22 33b1e0a273af: Pull complete 10:20:22 5d3b04190fa2: Pull complete 10:20:27 2f39f015ded8: Pull complete 10:20:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:20:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:20:27 prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container 10:20:27 $ 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-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:20:29 $ docker top abe5474feef13e0f91e8963f604415288bbe0aba246292fdd911fc0230252923 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:30 ---> job-cost.sh 10:20:30 lf-activate-venv: SKIPPING 10:20:30 INFO: No Stack... 10:20:31 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:31 INFO: Archiving Costs [Pipeline] sh 10:20:31 + cat /w/workspace/gexfoundry_device-snmp-go_PR-163/archives/cost.csv 10:20:31 + cut -d, -f6 [Pipeline] lock 10:20:31 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] 10:20:31 Resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] did not exist. Created. 10:20:31 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:32 + echo total: 0.2199999988079071 [Pipeline] stash 10:20:32 Stashed 1 file(s) [Pipeline] } 10:20:32 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:32 $ docker stop --time=1 abe5474feef13e0f91e8963f604415288bbe0aba246292fdd911fc0230252923 10:20:33 $ docker rm -f abe5474feef13e0f91e8963f604415288bbe0aba246292fdd911fc0230252923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:20:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33463 in /w/workspace/gexfoundry_device-snmp-go_PR-163 [Pipeline] { [Pipeline] ws 10:20:38 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 10:20:38 Selected Git installation does not exist. Using Default 10:20:38 The recommended git tool is: NONE 10:20:45 using credential edgex-jenkins-ssh 10:20:45 Cloning the remote Git repository 10:20:46 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:20:46 > git init /w/workspace/device-snmp-go/1 # timeout=10 10:20:46 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:20:46 > git --version # timeout=10 10:20:46 > git --version # 'git version 2.25.1' 10:20:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:20:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:20:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:20:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:20:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:20:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:20:48 Merging remotes/origin/main commit 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit d275d083175b600d40c2c13744dc8abee3a0b075 10:20:48 Merge succeeded, producing d275d083175b600d40c2c13744dc8abee3a0b075 10:20:48 Checking out Revision d275d083175b600d40c2c13744dc8abee3a0b075 (PR-163) 10:20:48 > git config core.sparsecheckout # timeout=10 10:20:48 > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # timeout=10 10:20:48 > git remote # timeout=10 10:20:48 > git config --get remote.origin.url # timeout=10 10:20:48 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:48 > git merge 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 10:20:48 > git rev-parse HEAD^{commit} # timeout=10 10:20:48 > git config core.sparsecheckout # timeout=10 10:20:48 > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # timeout=10 10:20:52 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" 10:20:52 > git --version # timeout=10 10:20:52 > git --version # 'git version 2.25.1' 10:20:52 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:20:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:53 Dload Upload Total Spent Left Speed 10:20:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91806 [Pipeline] sh 10:20:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:20:54 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 10:20:54 10:20:54 { 10:20:54 "registry-mirrors": [ 10:20:54 "https://nexus3.edgexfoundry.org:10001" 10:20:54 ], 10:20:54 "bip": "10.250.0.254/24", 10:20:54 "hosts": [ 10:20:54 "tcp://0.0.0.0:5555", 10:20:54 "unix:///var/run/docker.sock" 10:20:54 ], 10:20:54 "mtu": 1458, 10:20:54 "selinux-enabled": true, 10:20:54 "seccomp-profile": "/etc/docker/seccomp.json" 10:20:54 } [Pipeline] sh 10:20:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:20:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:14 provisioning config files... 10:21:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7416661017135194288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:14 ---> docker-login.sh 10:21:14 nexus3.edgexfoundry.org:10001 10:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:15 Configure a credential helper to remove this warning. See 10:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:15 10:21:15 Login Succeeded 10:21:15 nexus3.edgexfoundry.org:10002 10:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:16 Configure a credential helper to remove this warning. See 10:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:16 10:21:16 Login Succeeded 10:21:16 nexus3.edgexfoundry.org:10003 10:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:16 Configure a credential helper to remove this warning. See 10:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:16 10:21:16 Login Succeeded 10:21:16 nexus3.edgexfoundry.org:10004 10:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:16 Configure a credential helper to remove this warning. See 10:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:16 10:21:16 Login Succeeded 10:21:16 docker.io 10:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:17 Configure a credential helper to remove this warning. See 10:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:17 10:21:17 Login Succeeded 10:21:17 ---> docker-login.sh ends [Pipeline] } 10:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:21:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:21:18 ========================================================= 10:21:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:21:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:21:18 + 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 . 10:21:19 Sending build context to Docker daemon 2.783MB 10:21:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:21:19 Step 2/12 : FROM ${BASE} AS builder 10:21:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:21:19 9b3977197b4f: Pulling fs layer 10:21:19 1a89e8eeedd5: Pulling fs layer 10:21:19 94645a83ff95: Pulling fs layer 10:21:19 3f3a8bcf1eab: Pulling fs layer 10:21:19 0c92f367c5e7: Pulling fs layer 10:21:19 3096ccb668a1: Pulling fs layer 10:21:19 e8cf19c19ddd: Pulling fs layer 10:21:19 a4caa8a26152: Pulling fs layer 10:21:19 3096ccb668a1: Waiting 10:21:19 e8cf19c19ddd: Waiting 10:21:19 a4caa8a26152: Waiting 10:21:19 3f3a8bcf1eab: Waiting 10:21:19 0c92f367c5e7: Waiting 10:21:19 94645a83ff95: Download complete 10:21:19 1a89e8eeedd5: Verifying Checksum 10:21:19 1a89e8eeedd5: Download complete 10:21:19 0c92f367c5e7: Verifying Checksum 10:21:19 0c92f367c5e7: Download complete 10:21:19 3096ccb668a1: Verifying Checksum 10:21:19 3096ccb668a1: Download complete 10:21:19 9b3977197b4f: Verifying Checksum 10:21:19 9b3977197b4f: Download complete 10:21:19 e8cf19c19ddd: Verifying Checksum 10:21:19 e8cf19c19ddd: Download complete 10:21:20 9b3977197b4f: Pull complete 10:21:20 1a89e8eeedd5: Pull complete 10:21:20 94645a83ff95: Pull complete 10:21:21 a4caa8a26152: Verifying Checksum 10:21:21 a4caa8a26152: Download complete 10:21:22 3f3a8bcf1eab: Download complete 10:21:34 3f3a8bcf1eab: Pull complete 10:21:34 0c92f367c5e7: Pull complete 10:21:34 3096ccb668a1: Pull complete 10:21:34 e8cf19c19ddd: Pull complete 10:21:41 a4caa8a26152: Pull complete 10:21:41 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:21:41 ---> 725f1c02e7f9 10:21:41 Step 3/12 : ARG MAKE='make build' 10:21:42 ---> Running in 8fe32f84737a 10:21:42 Removing intermediate container 8fe32f84737a 10:21:42 ---> b038e2fceaf0 10:21:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:21:42 ---> Running in 0c79b71568bb 10:21:43 Removing intermediate container 0c79b71568bb 10:21:43 ---> 4239297e5457 10:21:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:21:43 ---> Running in a5b66918d03b 10:21:43 Removing intermediate container a5b66918d03b 10:21:43 ---> 2f16006e338c 10:21:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:21:43 ---> Running in 8100fdcbf731 10:21:45 Removing intermediate container 8100fdcbf731 10:21:45 ---> e9da07b915b6 10:21:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:21:45 ---> Running in 716f3adc1c3e 10:21:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:21:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:21:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:21:47 (2/4) Installing libedit (20210910.3.1-r0) 10:21:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:21:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:21:48 Executing busybox-1.34.1-r3.trigger 10:21:48 OK: 224 MiB in 56 packages 10:21:49 Removing intermediate container 716f3adc1c3e 10:21:49 ---> b9f10a7b59b5 10:21:49 Step 8/12 : WORKDIR /device-snmp-go 10:21:49 ---> Running in 09531ef25f97 10:21:50 Removing intermediate container 09531ef25f97 10:21:50 ---> b5010b955244 10:21:50 Step 9/12 : COPY go.mod vendor* ./ 10:21:51 ---> 0bca6d057b61 10:21:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:51 ---> Running in adb9fcedff15 10:22:38 Removing intermediate container adb9fcedff15 10:22:38 ---> 1d9fb366237e 10:22:38 Step 11/12 : COPY . . 10:22:38 ---> 0a727aab7b43 10:22:38 Step 12/12 : RUN ${MAKE} 10:22:38 ---> Running in b631178d3b4d 10:22:38 noop 10:22:38 Removing intermediate container b631178d3b4d 10:22:38 ---> cd4326999a55 10:22:38 Successfully built cd4326999a55 10:22:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:22:38 + docker inspect -f . ci-base-image-arm64 10:22:38 . [Pipeline] withDockerContainer 10:22:39 prd-ubuntu20.04-docker-arm64-4c-16g-33463 does not seem to be running inside a container 10:22:39 $ 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 ******** ci-base-image-arm64 cat 10:22:40 $ docker top 86b662b7773f6aac8b479bc655d7096dff5b23b8266e594c14c321e7880a6e4a -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:41 + go version 10:22:41 go version go1.17.6 linux/arm64 [Pipeline] } 10:22:41 $ docker stop --time=1 86b662b7773f6aac8b479bc655d7096dff5b23b8266e594c14c321e7880a6e4a 10:22:43 $ docker rm -f 86b662b7773f6aac8b479bc655d7096dff5b23b8266e594c14c321e7880a6e4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:22:44 + docker inspect -f . ci-base-image-arm64 10:22:44 . [Pipeline] withDockerContainer 10:22:44 prd-ubuntu20.04-docker-arm64-4c-16g-33463 does not seem to be running inside a container 10:22:44 $ 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 ******** ci-base-image-arm64 cat 10:22:45 $ docker top 8fa06f13a66bf026a0b3a220fff785c8a112b661dd908397966ca1db14a8b1fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:22:46 + make test 10:22:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:22:48 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:24:09 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:24:09 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements 10:24:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:24:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:24:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:24:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:24:28 ./bin/test-attribution-txt.sh [Pipeline] echo 10:24:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:24:29 $ docker stop --time=1 8fa06f13a66bf026a0b3a220fff785c8a112b661dd908397966ca1db14a8b1fb 10:24:31 $ docker rm -f 8fa06f13a66bf026a0b3a220fff785c8a112b661dd908397966ca1db14a8b1fb [Pipeline] // withDockerContainer [Pipeline] sh 10:24:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:24:32 Warning: overwriting stash ‘coverage-report’ 10:24:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:24:33 + ls -al . 10:24:33 total 184 10:24:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:24 . 10:24:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:20 .. 10:24:33 -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 10:20 .dockerignore 10:24:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:20 .git 10:24:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 .github 10:24:33 -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 10:20 .gitignore 10:24:33 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 10:20 .golangci.yml 10:24:33 -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 10:20 Attribution.txt 10:24:33 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 10:20 CHANGELOG.md 10:24:33 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 10:20 Dockerfile 10:24:33 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 10:20 GOVERNANCE.md 10:24:33 -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 10:20 Jenkinsfile 10:24:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 10:20 LICENSE 10:24:33 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 10:20 Makefile 10:24:33 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 10:20 OWNERS.md 10:24:33 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 10:20 README.md 10:24:33 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 10:18 VERSION 10:24:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:20 bin 10:24:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 cmd 10:24:33 -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 10:23 coverage.out 10:24:33 -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 10:20 go.mod 10:24:33 -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 10:20 go.sum 10:24:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 internal 10:24:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 snap 10:24:33 -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 10:20 version.go [Pipeline] isUnix [Pipeline] sh 10:24:33 + 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=d275d083175b600d40c2c13744dc8abee3a0b075 --label arch=arm64 --label version=0.0.0 . 10:24:33 Sending build context to Docker daemon 2.791MB 10:24:33 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 10:24:33 Step 2/24 : FROM ${BASE} AS builder 10:24:33 ---> cd4326999a55 10:24:33 Step 3/24 : ARG MAKE='make build' 10:24:34 ---> Running in 6fa9b956c9a7 10:24:34 Removing intermediate container 6fa9b956c9a7 10:24:34 ---> af4c27225bb1 10:24:34 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:24:34 ---> Running in 06edc91e7ddc 10:24:34 Removing intermediate container 06edc91e7ddc 10:24:34 ---> 1f4f2f1ffa5f 10:24:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 10:24:34 ---> Running in d4536f3f8a75 10:24:35 Removing intermediate container d4536f3f8a75 10:24:35 ---> e628cb61def2 10:24:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:35 ---> Running in 59a3f65543f1 10:24:36 Removing intermediate container 59a3f65543f1 10:24:36 ---> 5d27598ed2ef 10:24:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:24:36 ---> Running in 1c36db15a98d 10:24:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:24:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:24:39 OK: 224 MiB in 56 packages 10:24:39 Removing intermediate container 1c36db15a98d 10:24:39 ---> f442be3c257b 10:24:39 Step 8/24 : WORKDIR /device-snmp-go 10:24:39 ---> Running in 3d7005a52198 10:24:40 Removing intermediate container 3d7005a52198 10:24:40 ---> c052b8a90151 10:24:40 Step 9/24 : COPY go.mod vendor* ./ 10:24:40 ---> db5c49f919bf 10:24:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:24:40 ---> Running in 7a1be7c3b24a 10:24:42 Removing intermediate container 7a1be7c3b24a 10:24:42 ---> 725654f8107a 10:24:42 Step 11/24 : COPY . . 10:24:43 ---> f86ed5722763 10:24:43 Step 12/24 : RUN ${MAKE} 10:24:43 ---> Running in 44201bc99d67 10:24:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 10:26:51 Removing intermediate container 44201bc99d67 10:26:51 ---> 01cde8d83b21 10:26:51 Step 13/24 : FROM alpine:3.14 10:26:51 3.14: Pulling from library/alpine 10:26:51 455c02918c45: Pulling fs layer 10:26:51 455c02918c45: Verifying Checksum 10:26:51 455c02918c45: Download complete 10:26:51 455c02918c45: Pull complete 10:26:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:26:51 Status: Downloaded newer image for alpine:3.14 10:26:51 ---> ac73e934f311 10:26:51 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 10:26:51 ---> Running in fde19f2073f7 10:26:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:26:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:26:51 (1/6) Installing dumb-init (1.2.5-r1) 10:26:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:26:51 (3/6) Installing libsodium (1.0.18-r0) 10:26:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:26:51 (5/6) Installing libzmq (4.3.4-r0) 10:26:51 (6/6) Installing zeromq (4.3.4-r0) 10:26:51 Executing busybox-1.33.1-r7.trigger 10:26:51 OK: 8 MiB in 20 packages 10:26:51 Removing intermediate container fde19f2073f7 10:26:51 ---> efd7159d4522 10:26:51 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:26:51 ---> 01584f627edf 10:26:51 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:26:51 ---> 6d84d4e385bc 10:26:51 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:26:51 ---> e081d1b81964 10:26:51 Step 18/24 : EXPOSE 59993 10:26:51 ---> Running in 45faf79c31fd 10:26:51 Removing intermediate container 45faf79c31fd 10:26:51 ---> b3b350a0dd85 10:26:51 Step 19/24 : EXPOSE 161 10:26:51 ---> Running in 415342dfc1c7 10:26:51 Removing intermediate container 415342dfc1c7 10:26:51 ---> 1e75fee937be 10:26:51 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:26:51 ---> Running in 41d1c9941528 10:26:51 Removing intermediate container 41d1c9941528 10:26:51 ---> 1bc274f5d56a 10:26:51 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:26:51 ---> Running in 9f7f621afce0 10:26:51 Removing intermediate container 9f7f621afce0 10:26:51 ---> d492e5ef0bee 10:26:51 Step 22/24 : LABEL arch=arm64 10:26:51 ---> Running in 1607ddb8d47d 10:26:51 Removing intermediate container 1607ddb8d47d 10:26:51 ---> e929a47e0569 10:26:51 Step 23/24 : LABEL git_sha=d275d083175b600d40c2c13744dc8abee3a0b075 10:26:51 ---> Running in 633d56d7069e 10:26:51 Removing intermediate container 633d56d7069e 10:26:51 ---> 5162e9b14e8c 10:26:51 Step 24/24 : LABEL version=0.0.0 10:26:51 ---> Running in 8e285b1a3ad7 10:26:51 Removing intermediate container 8e285b1a3ad7 10:26:51 ---> 3f2fec8afc68 10:26:51 [Warning] One or more build-args [ARCH] were not consumed 10:26:51 Successfully built 3f2fec8afc68 10:26:51 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 10:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:52 10:26:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:26:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:52 arm64: Pulling from edgex-lftools-log-publisher 10:26:52 8998bd30e6a1: Pulling fs layer 10:26:52 04944245beec: Pulling fs layer 10:26:52 699f458cf7ca: Pulling fs layer 10:26:52 765212b225bb: Pulling fs layer 10:26:52 f23df028b6ca: Pulling fs layer 10:26:52 d65c8cfc05b1: Pulling fs layer 10:26:52 2437ff75d9bd: Pulling fs layer 10:26:52 765212b225bb: Waiting 10:26:52 f23df028b6ca: Waiting 10:26:52 d65c8cfc05b1: Waiting 10:26:52 2437ff75d9bd: Waiting 10:26:52 04944245beec: Verifying Checksum 10:26:52 04944245beec: Download complete 10:26:52 765212b225bb: Verifying Checksum 10:26:52 765212b225bb: Download complete 10:26:52 f23df028b6ca: Download complete 10:26:52 d65c8cfc05b1: Download complete 10:26:53 699f458cf7ca: Verifying Checksum 10:26:53 699f458cf7ca: Download complete 10:26:53 8998bd30e6a1: Verifying Checksum 10:26:53 8998bd30e6a1: Download complete 10:26:55 2437ff75d9bd: Verifying Checksum 10:26:55 2437ff75d9bd: Download complete 10:26:57 8998bd30e6a1: Pull complete 10:26:57 04944245beec: Pull complete 10:26:59 699f458cf7ca: Pull complete 10:26:59 765212b225bb: Pull complete 10:27:00 f23df028b6ca: Pull complete 10:27:00 d65c8cfc05b1: Pull complete 10:27:15 2437ff75d9bd: Pull complete 10:27:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:27:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:27:16 prd-ubuntu20.04-docker-arm64-4c-16g-33463 does not seem to be running inside a container 10:27:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:27:18 $ docker top 60c5c7abee793e961fa982ef28b7f5135a7ed83739e796cc15efdb6790f8e006 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:19 ---> job-cost.sh 10:27:19 lf-activate-venv: SKIPPING 10:27:19 INFO: No Stack... 10:27:19 INFO: Retrieving Pricing Info for: v3-standard-4 10:27:20 INFO: Archiving Costs [Pipeline] sh 10:27:21 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 10:27:21 + cut -d, -f6 [Pipeline] lock 10:27:21 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] 10:27:21 Resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] did not exist. Created. 10:27:21 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:27:22 /w/workspace/device-snmp-go/1@tmp/durable-caf243b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:27:22 + echo total: 0.10999999940395355 [Pipeline] stash 10:27:22 Warning: overwriting stash ‘stack-cost’ 10:27:23 Stashed 1 file(s) [Pipeline] } 10:27:23 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:27:23 $ docker stop --time=1 60c5c7abee793e961fa982ef28b7f5135a7ed83739e796cc15efdb6790f8e006 10:27:24 $ docker rm -f 60c5c7abee793e961fa982ef28b7f5135a7ed83739e796cc15efdb6790f8e006 [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 10:27:25 provisioning config files... 10:27:25 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6570910393222309210tmp [Pipeline] { [Pipeline] sh 10:27:25 + set +x 10:27:25 + curl -s https://codecov.io/bash 10:27:25 + bash -s -- 10:27:25 10:27:25 _____ _ 10:27:25 / ____| | | 10:27:25 | | ___ __| | ___ ___ _____ __ 10:27:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:27:25 | |___| (_) | (_| | __/ (_| (_) \ V / 10:27:25 \_____\___/ \__,_|\___|\___\___/ \_/ 10:27:25 Bash-1.0.6 10:27:25 10:27:25 10:27:25 ==> git version 2.25.1 found 10:27:25 ==> 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 10:27:25 Release-Date: 2020-01-08 10:27:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:27:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:27:25 ==> Jenkins CI detected. 10:27:25 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-163 10:27:25 project root: . 10:27:25 --> token set from env 10:27:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:27:25 ==> Running gcov in . (disable via -X gcov) 10:27:25 ==> Python coveragepy not found 10:27:25 ==> Searching for coverage reports in: 10:27:25 + . 10:27:25 -> Found 1 reports 10:27:25 ==> Detecting git/mercurial file structure 10:27:25 ==> Reading reports 10:27:25 + ./coverage.out bytes=7631 10:27:25 ==> Appending adjustments 10:27:25 https://docs.codecov.io/docs/fixing-reports 10:27:26 + Found adjustments 10:27:26 ==> Gzipping contents 10:27:26 4.0K /tmp/codecov.HuT1y1.gz 10:27:26 ==> Uploading reports 10:27:26 url: https://codecov.io 10:27:26 query: branch=PR-163&commit=d275d083175b600d40c2c13744dc8abee3a0b075&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=163&job=&cmd_args= 10:27:26 -> Pinging Codecov 10:27:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-163&commit=d275d083175b600d40c2c13744dc8abee3a0b075&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=163&job=&cmd_args= 10:27:26 -> Uploading to 10:27:26 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/6C56EA5C29638FB4528AC87E60AF5AE0/d275d083175b600d40c2c13744dc8abee3a0b075/84373cf3-d4ec-4d21-8e1c-0c47041ee3c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T102726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd4ab6886488fb24ea17d9a5685a0ffa6e49213a3019409ad141e06d91d03dc6 10:27:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:27:26 Dload Upload Total Spent Left Speed 10:27:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6512 --:--:-- --:--:-- --:--:-- 6538 10:27:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] } 10:27:26 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 10:27:28 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-163/archives ] 10:27:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-163/archives 10:27:28 total 16 10:27:28 drwxr-xr-x 3 root root 4096 Apr 27 10:20 . 10:27:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 10:20 .. 10:27:28 drwxr-xr-x 2 root root 4096 Apr 27 10:20 cost 10:27:28 -rw-r--r-- 1 root root 85 Apr 27 10:20 cost.csv 10:27:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-163/archives 10:27:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-163/archives 10:27:28 total 16 10:27:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 10:20 . 10:27:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 10:20 .. 10:27:28 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 10:20 cost 10:27:28 -rw-r--r-- 1 jenkins jenkins 85 Apr 27 10:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:27:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:27:29 ---> package-listing.sh 10:27:29 ++ facter osfamily 10:27:29 ++ tr '[:upper:]' '[:lower:]' 10:27:30 + OS_FAMILY=debian 10:27:30 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-163 10:27:30 + START_PACKAGES=/tmp/packages_start.txt 10:27:30 + END_PACKAGES=/tmp/packages_end.txt 10:27:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:27:30 + PACKAGES=/tmp/packages_start.txt 10:27:30 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-163 ']' 10:27:30 + PACKAGES=/tmp/packages_end.txt 10:27:30 + case "${OS_FAMILY}" in 10:27:30 + dpkg -l 10:27:30 + grep '^ii' 10:27:30 + '[' -f /tmp/packages_start.txt ']' 10:27:30 + '[' -f /tmp/packages_end.txt ']' 10:27:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:27:30 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-163 ']' 10:27:30 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-163/archives/ 10:27:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-163/archives/ [Pipeline] echo 10:27:30 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-163/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:27:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:27:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:30 . [Pipeline] withDockerContainer 10:27:31 prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container 10:27:31 $ 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-163/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-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@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:10003/edgex-lftools-log-publisher:latest cat 10:27:31 $ docker top 092dcb21f4bc8612e18edaab20ae862f9767acdc878d214e19bb2430e1d676a7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:31 + touch /tmp/pre-build-complete [Pipeline] sh 10:27:32 + mkdir -p /var/log/sysstat [Pipeline] sh 10:27:32 + ls /var/log/sa-host 10:27:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:32 provisioning config files... 10:27:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6293413405660894226tmp [Pipeline] { [Pipeline] echo 10:27:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:27:32 ---> create-netrc.sh [Pipeline] } 10:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:27:33 ---> python-tools-install.sh [Pipeline] echo 10:27:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:27:33 ---> sudo-logs.sh 10:27:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:27:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:27:34 ---> job-cost.sh 10:27:34 lf-activate-venv: SKIPPING 10:27:34 DEBUG: total: 0.2199999988079071 10:27:34 INFO: Retrieving Stack Cost... 10:27:34 INFO: Retrieving Pricing Info for: v3-standard-8 10:27:34 INFO: Archiving Costs [Pipeline] echo 10:27:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:27:35 ---> logs-deploy.sh 10:27:35 lf-activate-venv: SKIPPING 10:27:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-163/1 10:27:35 INFO: archiving workspace using pattern(s): 10:27:36 Archives upload complete. 10:27:36 INFO: archiving logs to Nexus