Pull request #159 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0+6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (dacc3128cf8ca6eb61fa550bde33a12243ddd2c1) 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-ssh10342806728140304865.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-ssh17747796474641959959.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-159/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-159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1168011643026582588.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-159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6366978636074207732.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-ssh16955780668206482772.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-159/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-159/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12512066366616300296.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 ‘prd-ubuntu20.04-docker-8c-8g-21934’ Running on prd-ubuntu20.04-docker-8c-8g-21944 in /w/workspace/gexfoundry_device-snmp-go_PR-159 [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-159 # 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 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 Merge succeeded, producing 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 Checking out Revision 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 (PR-159) > 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/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # 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 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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 05:07:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:07:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:07:28 ========================================================= 05:07:28 EdgeX Global Pipelines Version Info 05:07:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:07:29 ------------------- 05:07:29 stable info: 05:07:29 ------------------- 05:07:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:07:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:07:29 Message: update stable to v1.0.221 05:07:29 ------------------- 05:07:29 experimental info: 05:07:29 ------------------- 05:07:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:07:29 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 05:07:29 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:07:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-159 [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-159 [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-159 [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34a9330 [Pipeline] echo 05:07:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:31 provisioning config files... 05:07:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/config6177152045719969387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:31 ---> docker-login.sh 05:07:31 nexus3.edgexfoundry.org:10001 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:32 Configure a credential helper to remove this warning. See 05:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:32 05:07:32 Login Succeeded 05:07:32 nexus3.edgexfoundry.org:10002 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:32 Configure a credential helper to remove this warning. See 05:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:32 05:07:32 Login Succeeded 05:07:32 nexus3.edgexfoundry.org:10003 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:32 Configure a credential helper to remove this warning. See 05:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:32 05:07:32 Login Succeeded 05:07:32 nexus3.edgexfoundry.org:10004 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:32 Configure a credential helper to remove this warning. See 05:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:32 05:07:32 Login Succeeded 05:07:32 docker.io 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:33 Configure a credential helper to remove this warning. See 05:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:33 05:07:33 Login Succeeded 05:07:33 ---> docker-login.sh ends [Pipeline] } 05:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:07:33 + git rev-list -1 --merges 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0~1..34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo 05:07:34 -----------> git rev-list -1 --merges 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0~1..34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [false] [Pipeline] sh 05:07:34 + git log --format=format:%s -1 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo 05:07:34 ========================================================= 05:07:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:07:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:34 + git log --format=format:%s -1 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo 05:07:34 [semverPrep] GIT_COMMIT: 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:07:34 [semverPrep] This is not a build commit. [Pipeline] sh 05:07:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:07:35 + grep -v github /etc/ssh/ssh_known_hosts 05:07:35 + [ -e /tmp/ssh_known_hosts ] 05:07:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:07:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:07:35 + sudo tee -a /etc/ssh/ssh_known_hosts 05:07:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:07:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:35 05:07:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:07:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:36 latest: Pulling from edgex-devops/git-semver 05:07:36 a0d0a0d46f8b: Pulling fs layer 05:07:36 3e5f54012d9b: Pulling fs layer 05:07:36 4c7163046ea9: Pulling fs layer 05:07:36 0c2d73faf560: Pulling fs layer 05:07:36 3e5f54012d9b: Download complete 05:07:36 a0d0a0d46f8b: Verifying Checksum 05:07:36 a0d0a0d46f8b: Download complete 05:07:36 0c2d73faf560: Verifying Checksum 05:07:36 0c2d73faf560: Download complete 05:07:36 4c7163046ea9: Verifying Checksum 05:07:36 4c7163046ea9: Download complete 05:07:36 a0d0a0d46f8b: Pull complete 05:07:36 3e5f54012d9b: Pull complete 05:07:37 4c7163046ea9: Pull complete 05:07:37 0c2d73faf560: Pull complete 05:07:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:07:37 prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container 05:07:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:07:39 $ docker top bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:39 [ssh-agent] Looking for ssh-agent implementation... 05:07:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:39 $ docker exec bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent 05:07:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBHejj/agent.13 05:07:39 SSH_AGENT_PID=20 05:07:39 Running ssh-add (command line suppressed) 05:07:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_2967895372189383320.key (/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_2967895372189383320.key) 05:07:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:40 + git tag --points-at HEAD [Pipeline] } 05:07:40 $ docker exec --env ******** --env ******** bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent -k 05:07:40 unset SSH_AUTH_SOCK; 05:07:40 unset SSH_AGENT_PID; 05:07:40 echo Agent pid 20 killed; 05:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:40 [ssh-agent] Looking for ssh-agent implementation... 05:07:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:40 $ docker exec bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent 05:07:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhCgimh/agent.52 05:07:41 SSH_AGENT_PID=58 05:07:41 Running ssh-add (command line suppressed) 05:07:41 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_8427713818818302610.key (/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_8427713818818302610.key) 05:07:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:41 + git semver init 05:07:41 # -> Open(): unable to determine branch for HEAD 05:07:41 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-159/.git 05:07:41 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-159 05:07:41 # $SEMVER_REMOTE_NAME = origin 05:07:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:07:41 # $SEMVER_USER_NAME = edgex-jenkins 05:07:41 # $SEMVER_BRANCH = PR-159 05:07:41 # $SEMVER_TEMP = /tmp/semver-740138906 05:07:41 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:07:42 # '/tmp/semver-740138906' -> '/w/workspace/gexfoundry_device-snmp-go_PR-159/.semver' 05:07:42 # -> Force: false 05:07:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-159/.semver [Pipeline] } 05:07:42 $ docker exec --env ******** --env ******** bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent -k 05:07:42 unset SSH_AUTH_SOCK; 05:07:42 unset SSH_AGENT_PID; 05:07:42 echo Agent pid 58 killed; 05:07:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:43 + git semver [Pipeline] } 05:07:43 $ docker stop --time=1 bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf 05:07:44 $ docker rm -f bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf [Pipeline] // withDockerContainer [Pipeline] sh 05:07:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:07:45 Stashed 1 file(s) [Pipeline] echo 05:07:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:46 provisioning config files... 05:07:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/config4041672134119148013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:46 ---> docker-login.sh 05:07:46 nexus3.edgexfoundry.org:10001 05:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:46 Configure a credential helper to remove this warning. See 05:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:46 05:07:46 Login Succeeded 05:07:46 nexus3.edgexfoundry.org:10002 05:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:46 Configure a credential helper to remove this warning. See 05:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:46 05:07:46 Login Succeeded 05:07:46 nexus3.edgexfoundry.org:10003 05:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:46 Configure a credential helper to remove this warning. See 05:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:46 05:07:46 Login Succeeded 05:07:46 nexus3.edgexfoundry.org:10004 05:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:46 Configure a credential helper to remove this warning. See 05:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:46 05:07:46 Login Succeeded 05:07:46 docker.io 05:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:47 Configure a credential helper to remove this warning. See 05:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:47 05:07:47 Login Succeeded 05:07:47 ---> docker-login.sh ends [Pipeline] } 05:07:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:47 ========================================================= 05:07:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:07:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:07:48 + 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 . 05:07:48 Sending build context to Docker daemon 5.259MB 05:07:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:07:48 Step 2/12 : FROM ${BASE} AS builder 05:07:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:07:48 59bf1c3509f3: Pulling fs layer 05:07:48 666ba61612fd: Pulling fs layer 05:07:48 8ed8ca486205: Pulling fs layer 05:07:48 4fe6c5a15a65: Pulling fs layer 05:07:48 22a0e8bec74d: Pulling fs layer 05:07:48 ca2b28591e48: Pulling fs layer 05:07:48 a51346096db8: Pulling fs layer 05:07:48 daebc70d1ce1: Pulling fs layer 05:07:48 0e18a0eac166: Pulling fs layer 05:07:48 daebc70d1ce1: Waiting 05:07:48 ca2b28591e48: Waiting 05:07:48 0e18a0eac166: Waiting 05:07:48 a51346096db8: Waiting 05:07:48 4fe6c5a15a65: Waiting 05:07:48 22a0e8bec74d: Waiting 05:07:48 8ed8ca486205: Verifying Checksum 05:07:48 8ed8ca486205: Download complete 05:07:48 666ba61612fd: Verifying Checksum 05:07:48 666ba61612fd: Download complete 05:07:48 22a0e8bec74d: Verifying Checksum 05:07:48 22a0e8bec74d: Download complete 05:07:48 ca2b28591e48: Verifying Checksum 05:07:48 ca2b28591e48: Download complete 05:07:48 a51346096db8: Verifying Checksum 05:07:48 a51346096db8: Download complete 05:07:48 59bf1c3509f3: Verifying Checksum 05:07:48 59bf1c3509f3: Download complete 05:07:48 daebc70d1ce1: Verifying Checksum 05:07:48 daebc70d1ce1: Download complete 05:07:48 59bf1c3509f3: Pull complete 05:07:48 666ba61612fd: Pull complete 05:07:48 8ed8ca486205: Pull complete 05:07:49 0e18a0eac166: Verifying Checksum 05:07:49 0e18a0eac166: Download complete 05:07:49 4fe6c5a15a65: Verifying Checksum 05:07:49 4fe6c5a15a65: Download complete 05:07:53 4fe6c5a15a65: Pull complete 05:07:53 22a0e8bec74d: Pull complete 05:07:53 ca2b28591e48: Pull complete 05:07:53 a51346096db8: Pull complete 05:07:54 daebc70d1ce1: Pull complete 05:07:56 0e18a0eac166: Pull complete 05:07:56 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:07:56 ---> f018257e8ee9 05:07:56 Step 3/12 : ARG MAKE='make build' 05:07:58 ---> Running in b4a4ece30418 05:07:58 Removing intermediate container b4a4ece30418 05:07:58 ---> 82741087580d 05:07:58 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:58 ---> Running in b086548eff7f 05:07:58 Removing intermediate container b086548eff7f 05:07:58 ---> 006d2dc6d5ba 05:07:58 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:07:58 ---> Running in dad16908bd0c 05:07:58 Removing intermediate container dad16908bd0c 05:07:58 ---> 814f470ec1ef 05:07:58 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:58 ---> Running in b66b5bd8b478 05:07:59 Removing intermediate container b66b5bd8b478 05:07:59 ---> 35c96aa69dbd 05:07:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:59 ---> Running in 6213afce963f 05:07:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:08:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:08:00 Still waiting to schedule task 05:08:00 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21942’ 05:08:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:08:00 (2/4) Installing libedit (20210910.3.1-r0) 05:08:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:08:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:08:01 Executing busybox-1.34.1-r3.trigger 05:08:01 OK: 224 MiB in 56 packages 05:08:01 Removing intermediate container 6213afce963f 05:08:01 ---> 3febc5b66fbe 05:08:01 Step 8/12 : WORKDIR /device-snmp-go 05:08:01 ---> Running in 4b05178661dd 05:08:01 Removing intermediate container 4b05178661dd 05:08:01 ---> e3863823fe1f 05:08:01 Step 9/12 : COPY go.mod vendor* ./ 05:08:01 ---> cbac8f6276a7 05:08:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:02 ---> Running in 43fc8bd17dc8 05:08:20 Removing intermediate container 43fc8bd17dc8 05:08:20 ---> 9017d791eab7 05:08:20 Step 11/12 : COPY . . 05:08:20 ---> 69fc5694fafd 05:08:20 Step 12/12 : RUN ${MAKE} 05:08:20 ---> Running in 9bbb90ad5c0b 05:08:20 noop 05:08:20 Removing intermediate container 9bbb90ad5c0b 05:08:20 ---> a5502c78a3b6 05:08:20 Successfully built a5502c78a3b6 05:08:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:08:20 + docker inspect -f . ci-base-image-x86_64 05:08:20 . [Pipeline] withDockerContainer 05:08:20 prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container 05:08:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 ******** ci-base-image-x86_64 cat 05:08:21 $ docker top b72af9fed4869b2fe5b3683d9ab3508269d06ce02285d5c4cbf8cc08ec73ffcd -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:21 + go version 05:08:21 go version go1.17.6 linux/amd64 [Pipeline] } 05:08:21 $ docker stop --time=1 b72af9fed4869b2fe5b3683d9ab3508269d06ce02285d5c4cbf8cc08ec73ffcd 05:08:22 $ docker rm -f b72af9fed4869b2fe5b3683d9ab3508269d06ce02285d5c4cbf8cc08ec73ffcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:23 + docker inspect -f . ci-base-image-x86_64 05:08:23 . [Pipeline] withDockerContainer 05:08:23 prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container 05:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 ******** ci-base-image-x86_64 cat 05:08:24 $ docker top 25d944ace8b880e30fae13514905b3926c74d82afaf6ce514258b106b00384fd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:08:24 + make test 05:08:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:08:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:08:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.030s coverage: 0.0% of statements 05:08:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:08:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:44 ./bin/test-attribution-txt.sh 05:08:45 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 05:08:45 make: *** [Makefile:46: test] Error 1 [Pipeline] } 05:08:45 $ docker stop --time=1 25d944ace8b880e30fae13514905b3926c74d82afaf6ce514258b106b00384fd 05:08:47 $ docker rm -f 25d944ace8b880e30fae13514905b3926c74d82afaf6ce514258b106b00384fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:48 05:08:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:08:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:49 latest: Pulling from edgex-lftools-log-publisher 05:08:49 5eb5b503b376: Pulling fs layer 05:08:49 5c69ac0246d0: Pulling fs layer 05:08:49 ec43610c2a17: Pulling fs layer 05:08:49 3a2ae6a8a46f: Pulling fs layer 05:08:49 33b1e0a273af: Pulling fs layer 05:08:49 5d3b04190fa2: Pulling fs layer 05:08:49 2f39f015ded8: Pulling fs layer 05:08:49 5d3b04190fa2: Waiting 05:08:49 2f39f015ded8: Waiting 05:08:49 3a2ae6a8a46f: Waiting 05:08:49 33b1e0a273af: Waiting 05:08:49 5c69ac0246d0: Verifying Checksum 05:08:49 5c69ac0246d0: Download complete 05:08:49 3a2ae6a8a46f: Download complete 05:08:49 33b1e0a273af: Verifying Checksum 05:08:49 33b1e0a273af: Download complete 05:08:49 5d3b04190fa2: Verifying Checksum 05:08:49 5d3b04190fa2: Download complete 05:08:49 ec43610c2a17: Verifying Checksum 05:08:49 ec43610c2a17: Download complete 05:08:49 5eb5b503b376: Download complete 05:08:49 2f39f015ded8: Download complete 05:08:50 5eb5b503b376: Pull complete 05:08:50 5c69ac0246d0: Pull complete 05:08:51 ec43610c2a17: Pull complete 05:08:51 3a2ae6a8a46f: Pull complete 05:08:51 33b1e0a273af: Pull complete 05:08:51 5d3b04190fa2: Pull complete 05:08:55 2f39f015ded8: Pull complete 05:08:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:08:55 prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container 05:08:55 $ 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-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 05:08:58 $ docker top 0349ef8a39a82c23a789c7678641bae31dda027575f6ea65ab60940f9e198bb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:58 ---> job-cost.sh 05:08:58 lf-activate-venv: SKIPPING 05:08:58 INFO: No Stack... 05:08:58 INFO: Retrieving Pricing Info for: v3-standard-8 05:08:59 INFO: Archiving Costs [Pipeline] sh 05:08:59 + cat /w/workspace/gexfoundry_device-snmp-go_PR-159/archives/cost.csv 05:08:59 + cut -d, -f6 [Pipeline] lock 05:08:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] 05:08:59 Resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] did not exist. Created. 05:08:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:00 + echo total: 0.2199999988079071 [Pipeline] stash 05:09:00 Stashed 1 file(s) [Pipeline] } 05:09:00 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:00 $ docker stop --time=1 0349ef8a39a82c23a789c7678641bae31dda027575f6ea65ab60940f9e198bb5 05:09:01 $ docker rm -f 0349ef8a39a82c23a789c7678641bae31dda027575f6ea65ab60940f9e198bb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:01 Failed in branch amd64 05:11:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21950 in /w/workspace/gexfoundry_device-snmp-go_PR-159 [Pipeline] { [Pipeline] ws 05:11:16 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:11:17 Selected Git installation does not exist. Using Default 05:11:17 The recommended git tool is: NONE 05:11:25 using credential edgex-jenkins-ssh 05:11:25 Cloning the remote Git repository 05:11:25 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:11:25 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:11:25 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:11:25 > git --version # timeout=10 05:11:25 > git --version # 'git version 2.25.1' 05:11:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:11:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:11:27 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 05:11:27 Merge succeeded, producing 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 05:11:27 Checking out Revision 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 (PR-159) 05:11:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:11:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:11:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:11:26 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:11:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:11:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:11:27 > git config core.sparsecheckout # timeout=10 05:11:27 > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # timeout=10 05:11:27 > git remote # timeout=10 05:11:27 > git config --get remote.origin.url # timeout=10 05:11:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:11:27 > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 05:11:27 > git rev-parse HEAD^{commit} # timeout=10 05:11:27 > git config core.sparsecheckout # timeout=10 05:11:27 > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # timeout=10 05:11:31 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:11:31 > git --version # timeout=10 05:11:31 > git --version # 'git version 2.25.1' 05:11:31 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:11:32 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:32 Dload Upload Total Spent Left Speed 05:11:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh 05:11:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:11:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:11:33 + sudo tee /etc/docker/daemon.new 05:11:33 { 05:11:33 "registry-mirrors": [ 05:11:33 "https://nexus3.edgexfoundry.org:10001" 05:11:33 ], 05:11:33 "bip": "10.250.0.254/24", 05:11:33 "hosts": [ 05:11:33 "tcp://0.0.0.0:5555", 05:11:33 "unix:///var/run/docker.sock" 05:11:33 ], 05:11:33 "mtu": 1458, 05:11:33 "selinux-enabled": true, 05:11:33 "seccomp-profile": "/etc/docker/seccomp.json" 05:11:33 } [Pipeline] sh 05:11:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:11:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:52 provisioning config files... 05:11:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7295414196388628198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:53 ---> docker-login.sh 05:11:53 nexus3.edgexfoundry.org:10001 05:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:54 Configure a credential helper to remove this warning. See 05:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:54 05:11:54 Login Succeeded 05:11:54 nexus3.edgexfoundry.org:10002 05:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:55 Configure a credential helper to remove this warning. See 05:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:55 05:11:55 Login Succeeded 05:11:55 nexus3.edgexfoundry.org:10003 05:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:55 Configure a credential helper to remove this warning. See 05:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:55 05:11:55 Login Succeeded 05:11:55 nexus3.edgexfoundry.org:10004 05:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:56 Configure a credential helper to remove this warning. See 05:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:56 05:11:56 Login Succeeded 05:11:56 docker.io 05:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:57 Configure a credential helper to remove this warning. See 05:11:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:57 05:11:57 Login Succeeded 05:11:57 ---> docker-login.sh ends [Pipeline] } 05:11:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:11:57 ========================================================= 05:11:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:11:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:11:58 + 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 . 05:11:58 Sending build context to Docker daemon 2.734MB 05:11:58 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:11:58 Step 2/12 : FROM ${BASE} AS builder 05:11:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:11:58 9b3977197b4f: Pulling fs layer 05:11:58 1a89e8eeedd5: Pulling fs layer 05:11:58 94645a83ff95: Pulling fs layer 05:11:58 3f3a8bcf1eab: Pulling fs layer 05:11:58 0c92f367c5e7: Pulling fs layer 05:11:58 3096ccb668a1: Pulling fs layer 05:11:58 e8cf19c19ddd: Pulling fs layer 05:11:58 a4caa8a26152: Pulling fs layer 05:11:58 3f3a8bcf1eab: Waiting 05:11:58 3096ccb668a1: Waiting 05:11:58 e8cf19c19ddd: Waiting 05:11:58 0c92f367c5e7: Waiting 05:11:58 a4caa8a26152: Waiting 05:11:58 94645a83ff95: Verifying Checksum 05:11:58 94645a83ff95: Download complete 05:11:58 1a89e8eeedd5: Verifying Checksum 05:11:58 1a89e8eeedd5: Download complete 05:11:58 0c92f367c5e7: Verifying Checksum 05:11:58 0c92f367c5e7: Download complete 05:11:58 3096ccb668a1: Verifying Checksum 05:11:58 3096ccb668a1: Download complete 05:11:58 9b3977197b4f: Verifying Checksum 05:11:58 9b3977197b4f: Download complete 05:11:58 e8cf19c19ddd: Verifying Checksum 05:11:58 e8cf19c19ddd: Download complete 05:11:59 9b3977197b4f: Pull complete 05:12:00 1a89e8eeedd5: Pull complete 05:12:00 94645a83ff95: Pull complete 05:12:00 a4caa8a26152: Verifying Checksum 05:12:00 a4caa8a26152: Download complete 05:12:01 3f3a8bcf1eab: Verifying Checksum 05:12:01 3f3a8bcf1eab: Download complete 05:12:14 3f3a8bcf1eab: Pull complete 05:12:14 0c92f367c5e7: Pull complete 05:12:14 3096ccb668a1: Pull complete 05:12:14 e8cf19c19ddd: Pull complete 05:12:21 a4caa8a26152: Pull complete 05:12:21 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:12:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:12:21 ---> 725f1c02e7f9 05:12:21 Step 3/12 : ARG MAKE='make build' 05:12:22 ---> Running in efe9e27a884f 05:12:22 Removing intermediate container efe9e27a884f 05:12:22 ---> 7146d81d605a 05:12:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:12:22 ---> Running in e93f2d17054d 05:12:23 Removing intermediate container e93f2d17054d 05:12:23 ---> fc5c49357b9b 05:12:23 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:12:23 ---> Running in 5866583b78e5 05:12:23 Removing intermediate container 5866583b78e5 05:12:23 ---> e7794105c6a1 05:12:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:23 ---> Running in 03bc70249a87 05:12:25 Removing intermediate container 03bc70249a87 05:12:25 ---> 30621fcc2e6f 05:12:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:12:25 ---> Running in c79eefd79bcc 05:12:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:12:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:12:29 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:12:29 (2/4) Installing libedit (20210910.3.1-r0) 05:12:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:12:29 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:12:29 Executing busybox-1.34.1-r3.trigger 05:12:29 OK: 224 MiB in 56 packages 05:12:30 Removing intermediate container c79eefd79bcc 05:12:30 ---> 99f912d36b0b 05:12:30 Step 8/12 : WORKDIR /device-snmp-go 05:12:31 ---> Running in 44e838b7fcdb 05:12:31 Removing intermediate container 44e838b7fcdb 05:12:31 ---> 34f5a9e5894f 05:12:31 Step 9/12 : COPY go.mod vendor* ./ 05:12:32 ---> 05030a605de8 05:12:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:32 ---> Running in 052eb9bb3fe4 05:13:19 Removing intermediate container 052eb9bb3fe4 05:13:19 ---> f9483f44f475 05:13:19 Step 11/12 : COPY . . 05:13:20 ---> e8add2e282f4 05:13:20 Step 12/12 : RUN ${MAKE} 05:13:20 ---> Running in 42cac8641314 05:13:21 noop 05:13:21 Removing intermediate container 42cac8641314 05:13:21 ---> acd44a30a245 05:13:21 Successfully built acd44a30a245 05:13:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:13:22 + docker inspect -f . ci-base-image-arm64 05:13:22 . [Pipeline] withDockerContainer 05:13:22 prd-ubuntu20.04-docker-arm64-4c-16g-21950 does not seem to be running inside a container 05:13:22 $ 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 ******** ci-base-image-arm64 cat 05:13:24 $ docker top 2bb180a33f4afcc292bc5a9e3c25373732aaadcf14061ea2206b4e6727215c99 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:25 + go version 05:13:25 go version go1.17.6 linux/arm64 [Pipeline] } 05:13:25 $ docker stop --time=1 2bb180a33f4afcc292bc5a9e3c25373732aaadcf14061ea2206b4e6727215c99 05:13:26 $ docker rm -f 2bb180a33f4afcc292bc5a9e3c25373732aaadcf14061ea2206b4e6727215c99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:13:27 + docker inspect -f . ci-base-image-arm64 05:13:27 . [Pipeline] withDockerContainer 05:13:28 prd-ubuntu20.04-docker-arm64-4c-16g-21950 does not seem to be running inside a container 05:13:28 $ 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 ******** ci-base-image-arm64 cat 05:13:29 $ docker top fa9b1bfec9d2e9aae38e4a7c6c8629db1533f7d1d2d645a69b7ec1e482b71d5f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:13:30 + make test 05:13:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:13:32 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:15:09 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:15:09 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 05:15:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:15:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:15:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:24 ./bin/test-attribution-txt.sh 05:15:28 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 05:15:28 make: *** [Makefile:46: test] Error 1 [Pipeline] } 05:15:28 $ docker stop --time=1 fa9b1bfec9d2e9aae38e4a7c6c8629db1533f7d1d2d645a69b7ec1e482b71d5f 05:15:29 $ docker rm -f fa9b1bfec9d2e9aae38e4a7c6c8629db1533f7d1d2d645a69b7ec1e482b71d5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:31 05:15:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:15:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:32 arm64: Pulling from edgex-lftools-log-publisher 05:15:32 8998bd30e6a1: Pulling fs layer 05:15:32 04944245beec: Pulling fs layer 05:15:32 699f458cf7ca: Pulling fs layer 05:15:32 765212b225bb: Pulling fs layer 05:15:32 f23df028b6ca: Pulling fs layer 05:15:32 d65c8cfc05b1: Pulling fs layer 05:15:32 2437ff75d9bd: Pulling fs layer 05:15:32 f23df028b6ca: Waiting 05:15:32 d65c8cfc05b1: Waiting 05:15:32 2437ff75d9bd: Waiting 05:15:32 765212b225bb: Waiting 05:15:32 04944245beec: Download complete 05:15:32 765212b225bb: Verifying Checksum 05:15:32 765212b225bb: Download complete 05:15:32 f23df028b6ca: Verifying Checksum 05:15:32 f23df028b6ca: Download complete 05:15:32 d65c8cfc05b1: Verifying Checksum 05:15:32 d65c8cfc05b1: Download complete 05:15:32 699f458cf7ca: Verifying Checksum 05:15:32 699f458cf7ca: Download complete 05:15:32 8998bd30e6a1: Verifying Checksum 05:15:32 8998bd30e6a1: Download complete 05:15:35 2437ff75d9bd: Verifying Checksum 05:15:35 2437ff75d9bd: Download complete 05:15:37 8998bd30e6a1: Pull complete 05:15:37 04944245beec: Pull complete 05:15:38 699f458cf7ca: Pull complete 05:15:39 765212b225bb: Pull complete 05:15:40 f23df028b6ca: Pull complete 05:15:40 d65c8cfc05b1: Pull complete 05:15:55 2437ff75d9bd: Pull complete 05:15:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:15:55 prd-ubuntu20.04-docker-arm64-4c-16g-21950 does not seem to be running inside a container 05:15:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:15:58 $ docker top eb363c4ed95a3851fdde1cb6e7a2096469a86b93837d033b26379d09e78cd646 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:59 ---> job-cost.sh 05:15:59 lf-activate-venv: SKIPPING 05:15:59 INFO: No Stack... 05:16:00 INFO: Retrieving Pricing Info for: v3-standard-4 05:16:00 INFO: Archiving Costs [Pipeline] sh 05:16:01 + cut -d, -f6 05:16:01 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 05:16:01 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] 05:16:01 Resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] did not exist. Created. 05:16:01 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:02 /w/workspace/device-snmp-go/1@tmp/durable-5c41e87c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:16:02 + echo total: 0.10999999940395355 [Pipeline] stash 05:16:02 Warning: overwriting stash ‘stack-cost’ 05:16:03 Stashed 1 file(s) [Pipeline] } 05:16:03 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:03 $ docker stop --time=1 eb363c4ed95a3851fdde1cb6e7a2096469a86b93837d033b26379d09e78cd646 05:16:05 $ docker rm -f eb363c4ed95a3851fdde1cb6e7a2096469a86b93837d033b26379d09e78cd646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:16:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:16:07 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-159/archives ] 05:16:07 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-159/archives 05:16:07 total 16 05:16:07 drwxr-xr-x 3 root root 4096 Apr 25 05:08 . 05:16:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 05:09 .. 05:16:07 drwxr-xr-x 2 root root 4096 Apr 25 05:08 cost 05:16:07 -rw-r--r-- 1 root root 85 Apr 25 05:08 cost.csv 05:16:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-159/archives 05:16:07 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-159/archives 05:16:07 total 16 05:16:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 05:08 . 05:16:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 05:09 .. 05:16:07 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 05:08 cost 05:16:07 -rw-r--r-- 1 jenkins jenkins 85 Apr 25 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:16:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:08 ---> package-listing.sh 05:16:08 ++ facter osfamily 05:16:08 ++ tr '[:upper:]' '[:lower:]' 05:16:09 + OS_FAMILY=debian 05:16:09 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-159 05:16:09 + START_PACKAGES=/tmp/packages_start.txt 05:16:09 + END_PACKAGES=/tmp/packages_end.txt 05:16:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:09 + PACKAGES=/tmp/packages_start.txt 05:16:09 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-159 ']' 05:16:09 + PACKAGES=/tmp/packages_end.txt 05:16:09 + case "${OS_FAMILY}" in 05:16:09 + dpkg -l 05:16:09 + grep '^ii' 05:16:09 + '[' -f /tmp/packages_start.txt ']' 05:16:09 + '[' -f /tmp/packages_end.txt ']' 05:16:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:09 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-159 ']' 05:16:09 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-159/archives/ 05:16:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-159/archives/ [Pipeline] echo 05:16:09 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-159/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:16:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:10 . [Pipeline] withDockerContainer 05:16:10 prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container 05:16:10 $ 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-159/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-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:10 $ docker top 23fea228cdf34df4b26e8fd96a3daebdd38e433c4e5c73fa9ac0a2476ce295db -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:10 + touch /tmp/pre-build-complete [Pipeline] sh 05:16:11 + mkdir -p /var/log/sysstat [Pipeline] sh 05:16:11 + ls /var/log/sa-host 05:16:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:11 provisioning config files... 05:16:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/config9223242547484471154tmp [Pipeline] { [Pipeline] echo 05:16:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:11 ---> create-netrc.sh [Pipeline] } 05:16:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:16:12 ---> python-tools-install.sh [Pipeline] echo 05:16:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:16:12 ---> sudo-logs.sh 05:16:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:13 ---> job-cost.sh 05:16:13 lf-activate-venv: SKIPPING 05:16:13 DEBUG: total: 0.2199999988079071 05:16:13 INFO: Retrieving Stack Cost... 05:16:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:13 INFO: Archiving Costs [Pipeline] echo 05:16:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:16:14 ---> logs-deploy.sh 05:16:14 lf-activate-venv: SKIPPING 05:16:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-159/1 05:16:14 INFO: archiving workspace using pattern(s): 05:16:15 Archives upload complete. 05:16:15 INFO: archiving logs to Nexus