Pull request #148 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f450b7422b22719b79eec2da583fcbfaf10b8d4+f2700d797dde70a27600e51c0b144607fa1919f0 (58b5dc3d996e3bdb975f642c560f85f655253137) 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-ssh17633188192499114023.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-ssh4229887852903154909.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-148/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-148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8553914187744224663.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-148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15601684938306309842.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-ssh8564204103686193221.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-148/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-148/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7399990786591718550.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 Running on prd-ubuntu20.04-docker-8c-8g-10625 in /w/workspace/gexfoundry_device-snmp-go_PR-148 [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-148 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 5f450b7422b22719b79eec2da583fcbfaf10b8d4 Merge succeeded, producing 5f450b7422b22719b79eec2da583fcbfaf10b8d4 Checking out Revision 5f450b7422b22719b79eec2da583fcbfaf10b8d4 (PR-148) > 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/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # 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:04:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:39 ========================================================= 05:04:39 EdgeX Global Pipelines Version Info 05:04:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:40 ------------------- 05:04:40 stable info: 05:04:40 ------------------- 05:04:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:40 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:40 Message: update stable to v1.0.221 05:04:41 ------------------- 05:04:41 experimental info: 05:04:41 ------------------- 05:04:41 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:41 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:41 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo 05:04:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo 05:04:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo 05:04:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo 05:04:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f450b7 [Pipeline] echo 05:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:43 provisioning config files... 05:04:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/config7437590673953027213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:43 ---> docker-login.sh 05:04:43 nexus3.edgexfoundry.org:10001 05:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:43 Configure a credential helper to remove this warning. See 05:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:43 05:04:43 Login Succeeded 05:04:43 nexus3.edgexfoundry.org:10002 05:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:44 Configure a credential helper to remove this warning. See 05:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:44 05:04:44 Login Succeeded 05:04:44 nexus3.edgexfoundry.org:10003 05:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:44 Configure a credential helper to remove this warning. See 05:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:44 05:04:44 Login Succeeded 05:04:44 nexus3.edgexfoundry.org:10004 05:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:44 Configure a credential helper to remove this warning. See 05:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:44 05:04:44 Login Succeeded 05:04:44 docker.io 05:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:45 Configure a credential helper to remove this warning. See 05:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:45 05:04:45 Login Succeeded 05:04:45 ---> docker-login.sh ends [Pipeline] } 05:04:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:45 + git rev-list -1 --merges 5f450b7422b22719b79eec2da583fcbfaf10b8d4~1..5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo 05:04:45 -----------> git rev-list -1 --merges 5f450b7422b22719b79eec2da583fcbfaf10b8d4~1..5f450b7422b22719b79eec2da583fcbfaf10b8d4 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [false] [Pipeline] sh 05:04:46 + git log --format=format:%s -1 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo 05:04:46 ========================================================= 05:04:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:46 + git log --format=format:%s -1 5f450b7422b22719b79eec2da583fcbfaf10b8d4 [Pipeline] echo 05:04:46 [semverPrep] GIT_COMMIT: 5f450b7422b22719b79eec2da583fcbfaf10b8d4, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:46 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:47 + grep -v github /etc/ssh/ssh_known_hosts 05:04:47 + [ -e /tmp/ssh_known_hosts ] 05:04:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:47 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:47 05:04:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:47 latest: Pulling from edgex-devops/git-semver 05:04:47 a0d0a0d46f8b: Pulling fs layer 05:04:47 3e5f54012d9b: Pulling fs layer 05:04:47 4c7163046ea9: Pulling fs layer 05:04:47 0c2d73faf560: Pulling fs layer 05:04:47 3e5f54012d9b: Verifying Checksum 05:04:47 3e5f54012d9b: Download complete 05:04:47 a0d0a0d46f8b: Verifying Checksum 05:04:47 a0d0a0d46f8b: Download complete 05:04:47 0c2d73faf560: Verifying Checksum 05:04:47 0c2d73faf560: Download complete 05:04:47 4c7163046ea9: Verifying Checksum 05:04:47 4c7163046ea9: Download complete 05:04:48 a0d0a0d46f8b: Pull complete 05:04:48 3e5f54012d9b: Pull complete 05:04:48 4c7163046ea9: Pull complete 05:04:48 0c2d73faf560: Pull complete 05:04:48 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:04:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:04:48 prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container 05:04:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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:04:49 $ docker top e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:49 [ssh-agent] Looking for ssh-agent implementation... 05:04:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:49 $ docker exec e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent 05:04:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEdcCJH/agent.13 05:04:49 SSH_AGENT_PID=19 05:04:50 Running ssh-add (command line suppressed) 05:04:50 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_8604922399482614832.key (/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_8604922399482614832.key) 05:04:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:50 + git tag --points-at HEAD [Pipeline] } 05:04:50 $ docker exec --env ******** --env ******** e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent -k 05:04:50 unset SSH_AUTH_SOCK; 05:04:50 unset SSH_AGENT_PID; 05:04:50 echo Agent pid 19 killed; 05:04:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:50 [ssh-agent] Looking for ssh-agent implementation... 05:04:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:50 $ docker exec e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent 05:04:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfgBKba/agent.54 05:04:50 SSH_AGENT_PID=62 05:04:51 Running ssh-add (command line suppressed) 05:04:51 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_3493430564874235526.key (/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/private_key_3493430564874235526.key) 05:04:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:51 + git semver init 05:04:51 # -> Open(): unable to determine branch for HEAD 05:04:51 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-148/.git 05:04:51 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-148 05:04:51 # $SEMVER_REMOTE_NAME = origin 05:04:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:04:51 # $SEMVER_USER_NAME = edgex-jenkins 05:04:51 # $SEMVER_BRANCH = PR-148 05:04:51 # $SEMVER_TEMP = /tmp/semver-231579315 05:04:51 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:04:52 # '/tmp/semver-231579315' -> '/w/workspace/gexfoundry_device-snmp-go_PR-148/.semver' 05:04:52 # -> Force: false 05:04:52 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-148/.semver [Pipeline] } 05:04:52 $ docker exec --env ******** --env ******** e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 ssh-agent -k 05:04:52 unset SSH_AUTH_SOCK; 05:04:52 unset SSH_AGENT_PID; 05:04:52 echo Agent pid 62 killed; 05:04:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:53 + git semver [Pipeline] } 05:04:53 $ docker stop --time=1 e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 05:04:54 $ docker rm -f e27db6bf46f75859bdadc1e2b22e3102ab4e73453266d0cd3c78d4420f5e8e64 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:55 Stashed 1 file(s) [Pipeline] echo 05:04:55 [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:04:55 provisioning config files... 05:04:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/config2557812800451442511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:56 ---> docker-login.sh 05:04:56 nexus3.edgexfoundry.org:10001 05:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:56 Configure a credential helper to remove this warning. See 05:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:56 05:04:56 Login Succeeded 05:04:56 nexus3.edgexfoundry.org:10002 05:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:56 Configure a credential helper to remove this warning. See 05:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:56 05:04:56 Login Succeeded 05:04:56 nexus3.edgexfoundry.org:10003 05:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:56 Configure a credential helper to remove this warning. See 05:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:56 05:04:56 Login Succeeded 05:04:56 nexus3.edgexfoundry.org:10004 05:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:56 Configure a credential helper to remove this warning. See 05:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:56 05:04:56 Login Succeeded 05:04:56 docker.io 05:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:56 Configure a credential helper to remove this warning. See 05:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:56 05:04:56 Login Succeeded 05:04:56 ---> docker-login.sh ends [Pipeline] } 05:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:57 ========================================================= 05:04:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:04:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:57 + 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:04:57 Sending build context to Docker daemon 5.197MB 05:04:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:04:57 Step 2/12 : FROM ${BASE} AS builder 05:04:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:57 59bf1c3509f3: Pulling fs layer 05:04:57 666ba61612fd: Pulling fs layer 05:04:57 8ed8ca486205: Pulling fs layer 05:04:57 4fe6c5a15a65: Pulling fs layer 05:04:57 22a0e8bec74d: Pulling fs layer 05:04:57 640e595b4fbd: Pulling fs layer 05:04:57 763cafe07f6e: Pulling fs layer 05:04:57 0c0b528cf693: Pulling fs layer 05:04:57 10935f4eaf8b: Pulling fs layer 05:04:57 763cafe07f6e: Waiting 05:04:57 4fe6c5a15a65: Waiting 05:04:57 0c0b528cf693: Waiting 05:04:57 22a0e8bec74d: Waiting 05:04:57 640e595b4fbd: Waiting 05:04:57 10935f4eaf8b: Waiting 05:04:57 666ba61612fd: Download complete 05:04:57 22a0e8bec74d: Verifying Checksum 05:04:57 22a0e8bec74d: Download complete 05:04:57 640e595b4fbd: Verifying Checksum 05:04:57 640e595b4fbd: Download complete 05:04:57 59bf1c3509f3: Verifying Checksum 05:04:57 59bf1c3509f3: Download complete 05:04:57 763cafe07f6e: Verifying Checksum 05:04:57 763cafe07f6e: Download complete 05:04:57 0c0b528cf693: Download complete 05:04:57 59bf1c3509f3: Pull complete 05:04:58 666ba61612fd: Pull complete 05:04:58 8ed8ca486205: Pull complete 05:04:58 10935f4eaf8b: Verifying Checksum 05:04:58 10935f4eaf8b: Download complete 05:04:58 4fe6c5a15a65: Verifying Checksum 05:04:58 4fe6c5a15a65: Download complete 05:05:02 4fe6c5a15a65: Pull complete 05:05:02 22a0e8bec74d: Pull complete 05:05:02 640e595b4fbd: Pull complete 05:05:02 763cafe07f6e: Pull complete 05:05:02 0c0b528cf693: Pull complete 05:05:05 10935f4eaf8b: Pull complete 05:05:05 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:05:05 ---> 99d49a6021b9 05:05:05 Step 3/12 : ARG MAKE='make build' 05:05:06 ---> Running in a072806b4daf 05:05:06 Removing intermediate container a072806b4daf 05:05:06 ---> a7839a056f3d 05:05:06 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:06 ---> Running in a0d4bb8d9314 05:05:06 Removing intermediate container a0d4bb8d9314 05:05:06 ---> df7e75c2130b 05:05:06 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:05:06 ---> Running in 44e289192489 05:05:06 Removing intermediate container 44e289192489 05:05:06 ---> 211246216dff 05:05:06 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:06 ---> Running in ded919448b20 05:05:06 Removing intermediate container ded919448b20 05:05:06 ---> e2970c9c913f 05:05:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:07 ---> Running in a7f1388ac31d 05:05:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:08 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:05:08 (2/4) Installing libedit (20210910.3.1-r0) 05:05:08 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:05:08 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:05:08 Executing busybox-1.34.1-r3.trigger 05:05:08 OK: 224 MiB in 56 packages 05:05:08 Removing intermediate container a7f1388ac31d 05:05:08 ---> b3717d5b2938 05:05:08 Step 8/12 : WORKDIR /device-snmp-go 05:05:08 ---> Running in b17fc74e1080 05:05:09 Removing intermediate container b17fc74e1080 05:05:09 ---> a53c9ae708a3 05:05:09 Step 9/12 : COPY go.mod vendor* ./ 05:05:09 ---> c49259db9ae1 05:05:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:09 ---> Running in a7460bdbf18f 05:05:10 Still waiting to schedule task 05:05:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10626’ is offline 05:05:21 Removing intermediate container a7460bdbf18f 05:05:21 ---> 7e3207d2d4da 05:05:21 Step 11/12 : COPY . . 05:05:21 ---> 41fb16557b2c 05:05:21 Step 12/12 : RUN ${MAKE} 05:05:21 ---> Running in bf8a063da980 05:05:22 noop 05:05:22 Removing intermediate container bf8a063da980 05:05:22 ---> 8ea8c4dc91c3 05:05:22 Successfully built 8ea8c4dc91c3 05:05:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:31 + docker inspect -f . ci-base-image-x86_64 05:05:31 . [Pipeline] withDockerContainer 05:05:31 prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container 05:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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:05:31 $ docker top 9b8c1d6c0b2d22a222451cd55ce3c50b57a5143414f0071dcd9c66450fac5195 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:32 + go version 05:05:32 go version go1.17.6 linux/amd64 [Pipeline] } 05:05:32 $ docker stop --time=1 9b8c1d6c0b2d22a222451cd55ce3c50b57a5143414f0071dcd9c66450fac5195 05:05:33 $ docker rm -f 9b8c1d6c0b2d22a222451cd55ce3c50b57a5143414f0071dcd9c66450fac5195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:34 + docker inspect -f . ci-base-image-x86_64 05:05:34 . [Pipeline] withDockerContainer 05:05:34 prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container 05:05:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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:05:34 $ docker top e6b7c9bfadcb5581276b44ee0ac1da4df79de7a0eecce886ab8364df83bc0212 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:05:35 + make test 05:05:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:35 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:45 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:45 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 05:05:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:48 ./bin/test-attribution-txt.sh 05:05:48 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 05:05:48 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 05:05:48 An attribution for github.com/pkg/errors is missing from in Attribution.txt, please add 05:05:48 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 05:05:48 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 05:05:48 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 05:05:48 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 05:05:48 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 05:05:48 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 05:05:48 make: *** [Makefile:30: test] Error 1 [Pipeline] } 05:05:48 $ docker stop --time=1 e6b7c9bfadcb5581276b44ee0ac1da4df79de7a0eecce886ab8364df83bc0212 05:05:49 $ docker rm -f e6b7c9bfadcb5581276b44ee0ac1da4df79de7a0eecce886ab8364df83bc0212 [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:05:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:51 05:05:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:05:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:51 latest: Pulling from edgex-lftools-log-publisher 05:05:51 5eb5b503b376: Pulling fs layer 05:05:51 5c69ac0246d0: Pulling fs layer 05:05:51 ec43610c2a17: Pulling fs layer 05:05:51 3a2ae6a8a46f: Pulling fs layer 05:05:51 33b1e0a273af: Pulling fs layer 05:05:51 5d3b04190fa2: Pulling fs layer 05:05:51 2f39f015ded8: Pulling fs layer 05:05:51 33b1e0a273af: Waiting 05:05:51 5d3b04190fa2: Waiting 05:05:51 2f39f015ded8: Waiting 05:05:51 3a2ae6a8a46f: Waiting 05:05:51 5c69ac0246d0: Download complete 05:05:51 3a2ae6a8a46f: Verifying Checksum 05:05:51 3a2ae6a8a46f: Download complete 05:05:51 ec43610c2a17: Verifying Checksum 05:05:51 ec43610c2a17: Download complete 05:05:51 33b1e0a273af: Verifying Checksum 05:05:51 33b1e0a273af: Download complete 05:05:51 5d3b04190fa2: Verifying Checksum 05:05:51 5d3b04190fa2: Download complete 05:05:51 5eb5b503b376: Verifying Checksum 05:05:51 5eb5b503b376: Download complete 05:05:52 2f39f015ded8: Download complete 05:05:52 5eb5b503b376: Pull complete 05:05:53 5c69ac0246d0: Pull complete 05:05:53 ec43610c2a17: Pull complete 05:05:53 3a2ae6a8a46f: Pull complete 05:05:53 33b1e0a273af: Pull complete 05:05:53 5d3b04190fa2: Pull complete 05:05:58 2f39f015ded8: Pull complete 05:05:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:05:58 prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container 05:05:58 $ 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-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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:05:59 $ docker top cf4964c0734f10cc1915d851e7a54eaba5d4cdcaeedbe923d81ab34af1f9f9cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:00 ---> job-cost.sh 05:06:00 lf-activate-venv: SKIPPING 05:06:00 INFO: No Stack... 05:06:00 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:01 INFO: Archiving Costs [Pipeline] sh 05:06:01 + cat /w/workspace/gexfoundry_device-snmp-go_PR-148/archives/cost.csv 05:06:01 + cut -d, -f6 [Pipeline] lock 05:06:01 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] 05:06:01 Resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] did not exist. Created. 05:06:01 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:01 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:01 Stashed 1 file(s) [Pipeline] } 05:06:01 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:02 $ docker stop --time=1 cf4964c0734f10cc1915d851e7a54eaba5d4cdcaeedbe923d81ab34af1f9f9cf 05:06:03 $ docker rm -f cf4964c0734f10cc1915d851e7a54eaba5d4cdcaeedbe923d81ab34af1f9f9cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:03 Failed in branch amd64 05:08:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10629 in /w/workspace/gexfoundry_device-snmp-go_PR-148 [Pipeline] { [Pipeline] ws 05:08:06 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:08:06 Selected Git installation does not exist. Using Default 05:08:06 The recommended git tool is: NONE 05:08:15 using credential edgex-jenkins-ssh 05:08:15 Cloning the remote Git repository 05:08:15 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:08:15 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:08:15 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:08:15 > git --version # timeout=10 05:08:15 > git --version # 'git version 2.25.1' 05:08:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:17 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit 5f450b7422b22719b79eec2da583fcbfaf10b8d4 05:08:16 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:08:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:08:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:08:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:08:18 Merge succeeded, producing 5f450b7422b22719b79eec2da583fcbfaf10b8d4 05:08:18 Checking out Revision 5f450b7422b22719b79eec2da583fcbfaf10b8d4 (PR-148) 05:08:17 > git config core.sparsecheckout # timeout=10 05:08:17 > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # timeout=10 05:08:17 > git remote # timeout=10 05:08:18 > git config --get remote.origin.url # timeout=10 05:08:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:18 > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 05:08:18 > git rev-parse HEAD^{commit} # timeout=10 05:08:18 > git config core.sparsecheckout # timeout=10 05:08:18 > git checkout -f 5f450b7422b22719b79eec2da583fcbfaf10b8d4 # timeout=10 05:08:22 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:08:22 > git --version # timeout=10 05:08:22 > git --version # 'git version 2.25.1' 05:08:22 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:08:24 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:24 Dload Upload Total Spent Left Speed 05:08:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 148k 0 --:--:-- --:--:-- --:--:-- 148k [Pipeline] sh 05:08:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:08:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:08:25 + sudo tee /etc/docker/daemon.new 05:08:25 { 05:08:25 "registry-mirrors": [ 05:08:25 "https://nexus3.edgexfoundry.org:10001" 05:08:25 ], 05:08:25 "bip": "10.250.0.254/24", 05:08:25 "hosts": [ 05:08:25 "tcp://0.0.0.0:5555", 05:08:25 "unix:///var/run/docker.sock" 05:08:25 ], 05:08:25 "mtu": 1458, 05:08:25 "selinux-enabled": true, 05:08:25 "seccomp-profile": "/etc/docker/seccomp.json" 05:08:25 } [Pipeline] sh 05:08:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:08:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:44 provisioning config files... 05:08:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6276592431527767544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:45 ---> docker-login.sh 05:08:45 nexus3.edgexfoundry.org:10001 05:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:45 Configure a credential helper to remove this warning. See 05:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:45 05:08:45 Login Succeeded 05:08:45 nexus3.edgexfoundry.org:10002 05:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:46 Configure a credential helper to remove this warning. See 05:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:46 05:08:46 Login Succeeded 05:08:46 nexus3.edgexfoundry.org:10003 05:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:46 Configure a credential helper to remove this warning. See 05:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:46 05:08:46 Login Succeeded 05:08:46 nexus3.edgexfoundry.org:10004 05:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:47 Configure a credential helper to remove this warning. See 05:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:47 05:08:47 Login Succeeded 05:08:47 docker.io 05:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:48 Configure a credential helper to remove this warning. See 05:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:48 05:08:48 Login Succeeded 05:08:48 ---> docker-login.sh ends [Pipeline] } 05:08:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:48 ========================================================= 05:08:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:08:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:08:49 + 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:08:49 Sending build context to Docker daemon 2.705MB 05:08:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:08:49 Step 2/12 : FROM ${BASE} AS builder 05:08:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:49 9b3977197b4f: Pulling fs layer 05:08:49 1a89e8eeedd5: Pulling fs layer 05:08:49 94645a83ff95: Pulling fs layer 05:08:49 3f3a8bcf1eab: Pulling fs layer 05:08:49 0c92f367c5e7: Pulling fs layer 05:08:49 f7c0051592d6: Pulling fs layer 05:08:49 a227ed2f7395: Pulling fs layer 05:08:49 7b1c46037f91: Pulling fs layer 05:08:49 3f3a8bcf1eab: Waiting 05:08:49 0c92f367c5e7: Waiting 05:08:49 a227ed2f7395: Waiting 05:08:49 7b1c46037f91: Waiting 05:08:49 f7c0051592d6: Waiting 05:08:49 94645a83ff95: Download complete 05:08:49 1a89e8eeedd5: Verifying Checksum 05:08:49 1a89e8eeedd5: Download complete 05:08:49 0c92f367c5e7: Verifying Checksum 05:08:49 0c92f367c5e7: Download complete 05:08:49 f7c0051592d6: Download complete 05:08:49 9b3977197b4f: Verifying Checksum 05:08:49 9b3977197b4f: Download complete 05:08:49 a227ed2f7395: Verifying Checksum 05:08:49 a227ed2f7395: Download complete 05:08:50 9b3977197b4f: Pull complete 05:08:51 1a89e8eeedd5: Pull complete 05:08:51 94645a83ff95: Pull complete 05:08:51 7b1c46037f91: Verifying Checksum 05:08:51 7b1c46037f91: Download complete 05:08:52 3f3a8bcf1eab: Verifying Checksum 05:08:52 3f3a8bcf1eab: Download complete 05:09:04 3f3a8bcf1eab: Pull complete 05:09:04 0c92f367c5e7: Pull complete 05:09:04 f7c0051592d6: Pull complete 05:09:05 a227ed2f7395: Pull complete 05:09:11 7b1c46037f91: Pull complete 05:09:11 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:09:11 ---> f79e39bc4007 05:09:11 Step 3/12 : ARG MAKE='make build' 05:09:12 ---> Running in 9f51b4228780 05:09:12 Removing intermediate container 9f51b4228780 05:09:12 ---> 73e715b4d577 05:09:12 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:09:12 ---> Running in 69dabde0e372 05:09:12 Removing intermediate container 69dabde0e372 05:09:12 ---> 5e71d8e6c48f 05:09:12 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:09:13 ---> Running in 74a85a26f18c 05:09:13 Removing intermediate container 74a85a26f18c 05:09:13 ---> e378bcdc3832 05:09:13 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:13 ---> Running in 327f0b8fb2dc 05:09:15 Removing intermediate container 327f0b8fb2dc 05:09:15 ---> 88329f06c796 05:09:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:15 ---> Running in eae916c90906 05:09:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:09:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:09:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:09:17 (2/4) Installing libedit (20210910.3.1-r0) 05:09:18 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:09:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:09:18 Executing busybox-1.34.1-r3.trigger 05:09:18 OK: 224 MiB in 56 packages 05:09:19 Removing intermediate container eae916c90906 05:09:19 ---> 9a7f8e121dc6 05:09:19 Step 8/12 : WORKDIR /device-snmp-go 05:09:19 ---> Running in 60f5a36df792 05:09:19 Removing intermediate container 60f5a36df792 05:09:19 ---> 7e24f48b14e9 05:09:19 Step 9/12 : COPY go.mod vendor* ./ 05:09:20 ---> 37aa26158f7a 05:09:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:20 ---> Running in 400b9cbb0939 05:10:07 Removing intermediate container 400b9cbb0939 05:10:07 ---> 3f9da5109059 05:10:07 Step 11/12 : COPY . . 05:10:07 ---> f4fd60277dac 05:10:07 Step 12/12 : RUN ${MAKE} 05:10:07 ---> Running in 08ac18084c77 05:10:08 noop 05:10:08 Removing intermediate container 08ac18084c77 05:10:08 ---> a34b7c1290c8 05:10:08 Successfully built a34b7c1290c8 05:10:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:10:09 + docker inspect -f . ci-base-image-arm64 05:10:09 . [Pipeline] withDockerContainer 05:10:09 prd-ubuntu20.04-docker-arm64-4c-16g-10629 does not seem to be running inside a container 05:10:09 $ 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:10:10 $ docker top f73c1b91560af7f0fda12f9c64af88c3bba41c8ccc7941ee70b216eff9563af9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:11 + go version 05:10:11 go version go1.17.6 linux/arm64 [Pipeline] } 05:10:11 $ docker stop --time=1 f73c1b91560af7f0fda12f9c64af88c3bba41c8ccc7941ee70b216eff9563af9 05:10:13 $ docker rm -f f73c1b91560af7f0fda12f9c64af88c3bba41c8ccc7941ee70b216eff9563af9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:14 + docker inspect -f . ci-base-image-arm64 05:10:14 . [Pipeline] withDockerContainer 05:10:14 prd-ubuntu20.04-docker-arm64-4c-16g-10629 does not seem to be running inside a container 05:10:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:10:16 $ docker top 2194af07feb1f344770b8bcb7e46dca16aba28fb3f03fca46dab23e93f4554bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:17 + make test 05:10:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:11:56 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:11:56 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 05:11:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:12:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:09 ./bin/test-attribution-txt.sh 05:12:11 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 05:12:11 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 05:12:11 An attribution for github.com/pkg/errors is missing from in Attribution.txt, please add 05:12:11 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 05:12:11 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 05:12:11 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 05:12:11 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 05:12:11 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 05:12:11 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 05:12:11 make: *** [Makefile:30: test] Error 1 [Pipeline] } 05:12:12 $ docker stop --time=1 2194af07feb1f344770b8bcb7e46dca16aba28fb3f03fca46dab23e93f4554bb 05:12:13 $ docker rm -f 2194af07feb1f344770b8bcb7e46dca16aba28fb3f03fca46dab23e93f4554bb [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:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:15 05:12:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:12:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:16 arm64: Pulling from edgex-lftools-log-publisher 05:12:16 8998bd30e6a1: Pulling fs layer 05:12:16 04944245beec: Pulling fs layer 05:12:16 699f458cf7ca: Pulling fs layer 05:12:16 765212b225bb: Pulling fs layer 05:12:16 f23df028b6ca: Pulling fs layer 05:12:16 d65c8cfc05b1: Pulling fs layer 05:12:16 2437ff75d9bd: Pulling fs layer 05:12:16 f23df028b6ca: Waiting 05:12:16 d65c8cfc05b1: Waiting 05:12:16 2437ff75d9bd: Waiting 05:12:16 765212b225bb: Waiting 05:12:16 04944245beec: Download complete 05:12:16 765212b225bb: Verifying Checksum 05:12:16 765212b225bb: Download complete 05:12:16 f23df028b6ca: Download complete 05:12:16 d65c8cfc05b1: Verifying Checksum 05:12:16 d65c8cfc05b1: Download complete 05:12:16 699f458cf7ca: Download complete 05:12:16 8998bd30e6a1: Verifying Checksum 05:12:16 8998bd30e6a1: Download complete 05:12:19 2437ff75d9bd: Verifying Checksum 05:12:19 2437ff75d9bd: Download complete 05:12:21 8998bd30e6a1: Pull complete 05:12:21 04944245beec: Pull complete 05:12:22 699f458cf7ca: Pull complete 05:12:23 765212b225bb: Pull complete 05:12:23 f23df028b6ca: Pull complete 05:12:24 d65c8cfc05b1: Pull complete 05:12:39 2437ff75d9bd: Pull complete 05:12:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:12:39 prd-ubuntu20.04-docker-arm64-4c-16g-10629 does not seem to be running inside a container 05:12:39 $ 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:12:42 $ docker top 0c5bcd1cbb312fd3acf36ffa708ccaae0a6b1f566963c9ac3d4b96948e2b335a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:43 ---> job-cost.sh 05:12:43 lf-activate-venv: SKIPPING 05:12:43 INFO: No Stack... 05:12:43 INFO: Retrieving Pricing Info for: v3-standard-4 05:12:44 INFO: Archiving Costs [Pipeline] sh 05:12:44 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:12:44 + cut -d, -f6 [Pipeline] lock 05:12:45 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] 05:12:45 Resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] did not exist. Created. 05:12:45 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:12:45 /w/workspace/device-snmp-go/1@tmp/durable-6b381d12/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:12:46 + echo total: 0.10999999940395355 [Pipeline] stash 05:12:46 Warning: overwriting stash ‘stack-cost’ 05:12:46 Stashed 1 file(s) [Pipeline] } 05:12:47 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:12:47 $ docker stop --time=1 0c5bcd1cbb312fd3acf36ffa708ccaae0a6b1f566963c9ac3d4b96948e2b335a 05:12:48 $ docker rm -f 0c5bcd1cbb312fd3acf36ffa708ccaae0a6b1f566963c9ac3d4b96948e2b335a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:12:49 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:12:51 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-148/archives ] 05:12:51 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-148/archives 05:12:51 total 16 05:12:51 drwxr-xr-x 3 root root 4096 Apr 4 05:06 . 05:12:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 05:06 .. 05:12:51 drwxr-xr-x 2 root root 4096 Apr 4 05:06 cost 05:12:51 -rw-r--r-- 1 root root 85 Apr 4 05:06 cost.csv 05:12:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-148/archives 05:12:51 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-148/archives 05:12:51 total 16 05:12:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 05:06 . 05:12:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 05:06 .. 05:12:51 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 05:06 cost 05:12:51 -rw-r--r-- 1 jenkins jenkins 85 Apr 4 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:12:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:12:52 ---> package-listing.sh 05:12:52 ++ facter osfamily 05:12:52 ++ tr '[:upper:]' '[:lower:]' 05:12:53 + OS_FAMILY=debian 05:12:53 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-148 05:12:53 + START_PACKAGES=/tmp/packages_start.txt 05:12:53 + END_PACKAGES=/tmp/packages_end.txt 05:12:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:12:53 + PACKAGES=/tmp/packages_start.txt 05:12:53 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-148 ']' 05:12:53 + PACKAGES=/tmp/packages_end.txt 05:12:53 + case "${OS_FAMILY}" in 05:12:53 + dpkg -l 05:12:53 + grep '^ii' 05:12:53 + '[' -f /tmp/packages_start.txt ']' 05:12:53 + '[' -f /tmp/packages_end.txt ']' 05:12:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:12:53 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-148 ']' 05:12:53 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-148/archives/ 05:12:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-148/archives/ [Pipeline] echo 05:12:53 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-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:12:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:12:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:54 . [Pipeline] withDockerContainer 05:12:54 prd-ubuntu20.04-docker-8c-8g-10625 does not seem to be running inside a container 05:12:54 $ 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-148/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-148 -v /w/workspace/gexfoundry_device-snmp-go_PR-148:/w/workspace/gexfoundry_device-snmp-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-148@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-148@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:12:54 $ docker top 392a88ea79668fd2278925e885ae277a68734f48c1b791118181ffc95da46083 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:55 + touch /tmp/pre-build-complete [Pipeline] sh 05:12:55 + mkdir -p /var/log/sysstat [Pipeline] sh 05:12:55 + ls /var/log/sa-host 05:12:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:55 provisioning config files... 05:12:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-148@tmp/config3377563187648040175tmp [Pipeline] { [Pipeline] echo 05:12:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:12:56 ---> create-netrc.sh [Pipeline] } 05:12:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:12:56 ---> python-tools-install.sh [Pipeline] echo 05:12:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:12:57 ---> sudo-logs.sh 05:12:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:12:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:12:57 ---> job-cost.sh 05:12:57 lf-activate-venv: SKIPPING 05:12:57 DEBUG: total: 0.2199999988079071 05:12:57 INFO: Retrieving Stack Cost... 05:12:57 INFO: Retrieving Pricing Info for: v3-standard-8 05:12:58 INFO: Archiving Costs [Pipeline] echo 05:12:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:12:58 ---> logs-deploy.sh 05:12:58 lf-activate-venv: SKIPPING 05:12:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-148/1 05:12:58 INFO: archiving workspace using pattern(s): 05:12:59 Archives upload complete. 05:12:59 INFO: archiving logs to Nexus 05:13:00 ---> uname -a: 05:13:00 Linux prd-ubuntu20-04-docker-8c-8g-10625 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:13:00 05:13:00 05:13:00 ---> lscpu: 05:13:00 Architecture: x86_64 05:13:00 CPU op-mode(s): 32-bit, 64-bit 05:13:00 Byte Order: Little Endian 05:13:00 Address sizes: 40 bits physical, 48 bits virtual 05:13:00 CPU(s): 8 05:13:00 On-line CPU(s) list: 0-7 05:13:00 Thread(s) per core: 1 05:13:00 Core(s) per socket: 1 05:13:00 Socket(s): 8 05:13:00 NUMA node(s): 1 05:13:00 Vendor ID: AuthenticAMD 05:13:00 CPU family: 23 05:13:00 Model: 49 05:13:00 Model name: AMD EPYC-Rome Processor 05:13:00 Stepping: 0 05:13:00 CPU MHz: 2799.996 05:13:00 BogoMIPS: 5599.99 05:13:00 Virtualization: AMD-V 05:13:00 Hypervisor vendor: KVM 05:13:00 Virtualization type: full 05:13:00 L1d cache: 256 KiB 05:13:00 L1i cache: 256 KiB 05:13:00 L2 cache: 4 MiB 05:13:00 L3 cache: 128 MiB 05:13:00 NUMA node0 CPU(s): 0-7 05:13:00 Vulnerability Itlb multihit: Not affected 05:13:00 Vulnerability L1tf: Not affected 05:13:00 Vulnerability Mds: Not affected 05:13:00 Vulnerability Meltdown: Not affected 05:13:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:13:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:13:00 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:13:00 Vulnerability Srbds: Not affected 05:13:00 Vulnerability Tsx async abort: Not affected 05:13:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:13:00 05:13:00 05:13:00 ---> nproc: 05:13:00 8 05:13:00 05:13:00 05:13:00 ---> df -h: 05:13:00 Filesystem Size Used Avail Use% Mounted on 05:13:00 overlay 155G 11G 145G 7% / 05:13:00 tmpfs 64M 0 64M 0% /dev 05:13:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:13:00 shm 64M 0 64M 0% /dev/shm 05:13:00 /dev/vda1 155G 11G 145G 7% /facter-os 05:13:00 05:13:00