Pull request #142 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1cec76504ea4f1bc935da1b6312b1c0d4001b06+f2700d797dde70a27600e51c0b144607fa1919f0 (326a7b8f45479d71487149ccc295b54eee0d5397) 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-ssh7493059963977210106.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-ssh1597113407732291650.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-142/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-142/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16755444838926045993.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-142/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2847486825328569656.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-ssh9496250006153214853.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-142/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-142/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1803978477777737919.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8155 in /w/workspace/gexfoundry_device-snmp-go_PR-142 [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-142 # 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 b1cec76504ea4f1bc935da1b6312b1c0d4001b06 Merge succeeded, producing b1cec76504ea4f1bc935da1b6312b1c0d4001b06 Checking out Revision b1cec76504ea4f1bc935da1b6312b1c0d4001b06 (PR-142) > 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/142/head:refs/remotes/origin/PR-142 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1cec76504ea4f1bc935da1b6312b1c0d4001b06 # 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 b1cec76504ea4f1bc935da1b6312b1c0d4001b06 # 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:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:38 ========================================================= 05:04:38 EdgeX Global Pipelines Version Info 05:04:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:39 ------------------- 05:04:39 stable info: 05:04:39 ------------------- 05:04:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:39 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:39 Message: update stable to v1.0.221 05:04:39 ------------------- 05:04:39 experimental info: 05:04:39 ------------------- 05:04:39 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:39 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:39 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-142 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-142 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-142 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1cec76504ea4f1bc935da1b6312b1c0d4001b06 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1cec76 [Pipeline] echo 05:04:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:41 provisioning config files... 05:04:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-142@tmp/config7183934119121963319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:41 ---> docker-login.sh 05:04:41 nexus3.edgexfoundry.org:10001 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 nexus3.edgexfoundry.org:10002 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 nexus3.edgexfoundry.org:10003 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 nexus3.edgexfoundry.org:10004 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 docker.io 05:04:42 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 ---> docker-login.sh ends [Pipeline] } 05:04:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:43 + git rev-list -1 --merges b1cec76504ea4f1bc935da1b6312b1c0d4001b06~1..b1cec76504ea4f1bc935da1b6312b1c0d4001b06 [Pipeline] echo 05:04:44 -----------> git rev-list -1 --merges b1cec76504ea4f1bc935da1b6312b1c0d4001b06~1..b1cec76504ea4f1bc935da1b6312b1c0d4001b06 b1cec76504ea4f1bc935da1b6312b1c0d4001b06 [false] [Pipeline] sh 05:04:44 + git log --format=format:%s -1 b1cec76504ea4f1bc935da1b6312b1c0d4001b06 [Pipeline] echo 05:04:44 ========================================================= 05:04:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:44 + git log --format=format:%s -1 b1cec76504ea4f1bc935da1b6312b1c0d4001b06 [Pipeline] echo 05:04:44 [semverPrep] GIT_COMMIT: b1cec76504ea4f1bc935da1b6312b1c0d4001b06, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:44 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:45 + grep -v github /etc/ssh/ssh_known_hosts 05:04:45 + [ -e /tmp/ssh_known_hosts ] 05:04:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:45 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:45 05:04:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:46 latest: Pulling from edgex-devops/git-semver 05:04:46 a0d0a0d46f8b: Pulling fs layer 05:04:46 3e5f54012d9b: Pulling fs layer 05:04:46 4c7163046ea9: Pulling fs layer 05:04:46 0c2d73faf560: Pulling fs layer 05:04:46 0c2d73faf560: Waiting 05:04:46 3e5f54012d9b: Download complete 05:04:46 a0d0a0d46f8b: Download complete 05:04:46 0c2d73faf560: Verifying Checksum 05:04:46 0c2d73faf560: Download complete 05:04:46 4c7163046ea9: Verifying Checksum 05:04:46 4c7163046ea9: Download complete 05:04:46 a0d0a0d46f8b: Pull complete 05:04:46 3e5f54012d9b: Pull complete 05:04:46 4c7163046ea9: Pull complete 05:04:46 0c2d73faf560: Pull complete 05:04:46 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:04:46 prd-ubuntu20.04-docker-8c-8g-8155 does not seem to be running inside a container 05:04:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-142 -v /w/workspace/gexfoundry_device-snmp-go_PR-142:/w/workspace/gexfoundry_device-snmp-go_PR-142:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-142@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-142@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:04:47 $ docker top 9b2fc7ed6548618a279ad86309e406818a8f1744c7118ea4dbc5a3e9b806a898 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:47 [ssh-agent] Looking for ssh-agent implementation... 05:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:48 $ docker exec 9b2fc7ed6548618a279ad86309e406818a8f1744c7118ea4dbc5a3e9b806a898 ssh-agent 05:04:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFoMadJ/agent.14 05:04:48 SSH_AGENT_PID=20 05:04:48 Running ssh-add (command line suppressed) 05:04:48 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-142@tmp/private_key_6926874967217011901.key (/w/workspace/gexfoundry_device-snmp-go_PR-142@tmp/private_key_6926874967217011901.key) 05:04:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:48 + git tag --points-at HEAD [Pipeline] } 05:04:48 $ docker exec --env ******** --env ******** 9b2fc7ed6548618a279ad86309e406818a8f1744c7118ea4dbc5a3e9b806a898 ssh-agent -k 05:04:48 unset SSH_AUTH_SOCK; 05:04:48 unset SSH_AGENT_PID; 05:04:48 echo Agent pid 20 killed; 05:04:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:48 [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 9b2fc7ed6548618a279ad86309e406818a8f1744c7118ea4dbc5a3e9b806a898 ssh-agent 05:04:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNeoCif/agent.52 05:04:49 SSH_AGENT_PID=58 05:04:49 Running ssh-add (command line suppressed) 05:04:49 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-142@tmp/private_key_6324597129514523844.key (/w/workspace/gexfoundry_device-snmp-go_PR-142@tmp/private_key_6324597129514523844.key) 05:04:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:49 + git semver init 05:04:49 # -> Open(): unable to determine branch for HEAD 05:04:49 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-142/.git 05:04:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-142 05:04:49 # $SEMVER_REMOTE_NAME = origin 05:04:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:04:49 # $SEMVER_USER_NAME = edgex-jenkins 05:04:49 # $SEMVER_BRANCH = PR-142 05:04:49 # $SEMVER_TEMP = /tmp/semver-280170198 05:04:49 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:04:50 # '/tmp/semver-280170198' -> '/w/workspace/gexfoundry_device-snmp-go_PR-142/.semver' 05:04:50 # -> Force: false 05:04:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-142/.semver [Pipeline] } 05:04:50 $ docker exec --env ******** --env ******** 9b2fc7ed6548618a279ad86309e406818a8f1744c7118ea4dbc5a3e9b806a898 ssh-agent -k 05:04:50 unset SSH_AUTH_SOCK; 05:04:50 unset SSH_AGENT_PID; 05:04:50 echo Agent pid 58 killed; 05:04:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:51 + git semver [Pipeline] } 05:04:51 $ docker stop --time=1 9b2fc7ed6548618a279ad86309e406818a8f1744c7118ea4dbc5a3e9b806a898 05:04:52 $ docker rm -f 9b2fc7ed6548618a279ad86309e406818a8f1744c7118ea4dbc5a3e9b806a898 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:53 Stashed 1 file(s) [Pipeline] echo 05:04:53 [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:53 provisioning config files... 05:04:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-142@tmp/config1968719577802851241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:54 ---> docker-login.sh 05:04:54 nexus3.edgexfoundry.org:10001 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 nexus3.edgexfoundry.org:10002 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 nexus3.edgexfoundry.org:10003 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 nexus3.edgexfoundry.org:10004 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 docker.io 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 ---> docker-login.sh ends [Pipeline] } 05:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:55 ========================================================= 05:04:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:04:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:56 + 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:56 Sending build context to Docker daemon 5.195MB 05:04:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:04:56 Step 2/12 : FROM ${BASE} AS builder 05:04:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:56 59bf1c3509f3: Pulling fs layer 05:04:56 666ba61612fd: Pulling fs layer 05:04:56 8ed8ca486205: Pulling fs layer 05:04:56 4fe6c5a15a65: Pulling fs layer 05:04:56 22a0e8bec74d: Pulling fs layer 05:04:56 640e595b4fbd: Pulling fs layer 05:04:56 4fe6c5a15a65: Waiting 05:04:56 22a0e8bec74d: Waiting 05:04:56 763cafe07f6e: Pulling fs layer 05:04:56 0c0b528cf693: Pulling fs layer 05:04:56 640e595b4fbd: Waiting 05:04:56 10935f4eaf8b: Pulling fs layer 05:04:56 763cafe07f6e: Waiting 05:04:56 0c0b528cf693: Waiting 05:04:56 8ed8ca486205: Verifying Checksum 05:04:56 8ed8ca486205: Download complete 05:04:56 666ba61612fd: Download complete 05:04:56 22a0e8bec74d: Download complete 05:04:56 640e595b4fbd: Verifying Checksum 05:04:56 640e595b4fbd: Download complete 05:04:56 59bf1c3509f3: Verifying Checksum 05:04:56 59bf1c3509f3: Download complete 05:04:56 763cafe07f6e: Download complete 05:04:56 0c0b528cf693: Verifying Checksum 05:04:56 59bf1c3509f3: Pull complete 05:04:56 666ba61612fd: Pull complete 05:04:56 8ed8ca486205: Pull complete 05:04:56 10935f4eaf8b: Verifying Checksum 05:04:56 10935f4eaf8b: Download complete 05:04:57 4fe6c5a15a65: Verifying Checksum 05:04:57 4fe6c5a15a65: Download complete 05:05:01 4fe6c5a15a65: Pull complete 05:05:01 22a0e8bec74d: Pull complete 05:05:01 640e595b4fbd: Pull complete 05:05:01 763cafe07f6e: Pull complete 05:05:01 0c0b528cf693: Pull complete 05:05:03 10935f4eaf8b: Pull complete 05:05:03 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:05:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:05:03 ---> 99d49a6021b9 05:05:03 Step 3/12 : ARG MAKE='make build' 05:05:05 ---> Running in f6fc3f6cbe45 05:05:05 Removing intermediate container f6fc3f6cbe45 05:05:05 ---> 803306a54f3e 05:05:05 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:05 ---> Running in 566c3abc38c1 05:05:05 Removing intermediate container 566c3abc38c1 05:05:05 ---> 369d68688143 05:05:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:05:05 ---> Running in 6f6a91f86e65 05:05:05 Removing intermediate container 6f6a91f86e65 05:05:05 ---> b8e149d7f2fd 05:05:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:05 ---> Running in 9fe9ce23a761 05:05:06 Removing intermediate container 9fe9ce23a761 05:05:06 ---> 0f802afdc202 05:05:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:06 ---> Running in 899fc83672a0 05:05:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:05:07 (2/4) Installing libedit (20210910.3.1-r0) 05:05:07 (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 Still waiting to schedule task 05:05:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:05:08 Removing intermediate container 899fc83672a0 05:05:08 ---> d6a816172784 05:05:08 Step 8/12 : WORKDIR /device-snmp-go 05:05:08 ---> Running in 50f7571aed7e 05:05:08 Removing intermediate container 50f7571aed7e 05:05:08 ---> 9513e533d5b8 05:05:08 Step 9/12 : COPY go.mod vendor* ./ 05:05:09 ---> 64decaae993f 05:05:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:09 ---> Running in fb7175b1c6ba 05:05:41 Removing intermediate container fb7175b1c6ba 05:05:41 ---> ac013088a0c8 05:05:41 Step 11/12 : COPY . . 05:05:41 ---> 472a124e17fe 05:05:41 Step 12/12 : RUN ${MAKE} 05:05:41 ---> Running in 35f502937214 05:05:41 noop 05:05:41 Removing intermediate container 35f502937214 05:05:41 ---> a27de8301102 05:05:41 Successfully built a27de8301102 05:05:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:41 + docker inspect -f . ci-base-image-x86_64 05:05:41 . [Pipeline] withDockerContainer 05:05:41 prd-ubuntu20.04-docker-8c-8g-8155 does not seem to be running inside a container 05:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-142 -v /w/workspace/gexfoundry_device-snmp-go_PR-142:/w/workspace/gexfoundry_device-snmp-go_PR-142:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-142@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-142@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 ******** ci-base-image-x86_64 cat 05:05:42 $ docker top 25bc4546f6b6467e4f5114dd5a59356963490452871a9c0314f795536f8758b8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:42 + go version 05:05:42 go version go1.17.6 linux/amd64 [Pipeline] } 05:05:42 $ docker stop --time=1 25bc4546f6b6467e4f5114dd5a59356963490452871a9c0314f795536f8758b8 05:05:43 $ docker rm -f 25bc4546f6b6467e4f5114dd5a59356963490452871a9c0314f795536f8758b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:44 + docker inspect -f . ci-base-image-x86_64 05:05:44 . [Pipeline] withDockerContainer 05:05:44 prd-ubuntu20.04-docker-8c-8g-8155 does not seem to be running inside a container 05:05:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-142 -v /w/workspace/gexfoundry_device-snmp-go_PR-142:/w/workspace/gexfoundry_device-snmp-go_PR-142:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-142@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-142@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 ******** ci-base-image-x86_64 cat 05:05:45 $ docker top 885dc6c954a2c6bb2fd9ae4bc3768ce236b16e0985ed8014b604cfeaf660524f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:05:45 + make test 05:05:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:45 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:54 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:54 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 05:05:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:55 ./bin/test-attribution-txt.sh 05:05:56 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 05:05:56 make: *** [Makefile:30: test] Error 1 [Pipeline] } 05:05:56 $ docker stop --time=1 885dc6c954a2c6bb2fd9ae4bc3768ce236b16e0985ed8014b604cfeaf660524f 05:05:58 $ docker rm -f 885dc6c954a2c6bb2fd9ae4bc3768ce236b16e0985ed8014b604cfeaf660524f [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:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:59 05:05:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:05:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:59 latest: Pulling from edgex-lftools-log-publisher 05:05:59 5eb5b503b376: Pulling fs layer 05:05:59 5c69ac0246d0: Pulling fs layer 05:05:59 ec43610c2a17: Pulling fs layer 05:05:59 3a2ae6a8a46f: Pulling fs layer 05:05:59 33b1e0a273af: Pulling fs layer 05:05:59 5d3b04190fa2: Pulling fs layer 05:05:59 2f39f015ded8: Pulling fs layer 05:05:59 3a2ae6a8a46f: Waiting 05:05:59 33b1e0a273af: Waiting 05:05:59 5d3b04190fa2: Waiting 05:05:59 2f39f015ded8: Waiting 05:05:59 5c69ac0246d0: Download complete 05:05:59 3a2ae6a8a46f: Verifying Checksum 05:05:59 3a2ae6a8a46f: Download complete 05:05:59 33b1e0a273af: Verifying Checksum 05:05:59 33b1e0a273af: Download complete 05:05:59 5d3b04190fa2: Verifying Checksum 05:05:59 5d3b04190fa2: Download complete 05:05:59 ec43610c2a17: Verifying Checksum 05:05:59 ec43610c2a17: Download complete 05:05:59 5eb5b503b376: Verifying Checksum 05:05:59 5eb5b503b376: Download complete 05:06:00 2f39f015ded8: Verifying Checksum 05:06:00 2f39f015ded8: Download complete 05:06:01 5eb5b503b376: Pull complete 05:06:01 5c69ac0246d0: Pull complete 05:06:01 ec43610c2a17: Pull complete 05:06:01 3a2ae6a8a46f: Pull complete 05:06:02 33b1e0a273af: Pull complete 05:06:02 5d3b04190fa2: Pull complete 05:06:07 2f39f015ded8: Pull complete 05:06:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:06:07 prd-ubuntu20.04-docker-8c-8g-8155 does not seem to be running inside a container 05:06:07 $ 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-142 -v /w/workspace/gexfoundry_device-snmp-go_PR-142:/w/workspace/gexfoundry_device-snmp-go_PR-142:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-142@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-142@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:06:09 $ docker top 9e8a3a69b387f806630b40ba9f80bd59fd3679cfe61117692e133716c937bede -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:09 ---> job-cost.sh 05:06:09 lf-activate-venv: SKIPPING 05:06:09 INFO: No Stack... 05:06:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:10 INFO: Archiving Costs [Pipeline] sh 05:06:10 + cat /w/workspace/gexfoundry_device-snmp-go_PR-142/archives/cost.csv 05:06:10 + cut -d, -f6 [Pipeline] lock 05:06:10 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] 05:06:10 Resource [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] did not exist. Created. 05:06:10 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:11 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:11 Stashed 1 file(s) [Pipeline] } 05:06:11 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:11 $ docker stop --time=1 9e8a3a69b387f806630b40ba9f80bd59fd3679cfe61117692e133716c937bede 05:06:12 $ docker rm -f 9e8a3a69b387f806630b40ba9f80bd59fd3679cfe61117692e133716c937bede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:13 Failed in branch amd64 05:07:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8158 in /w/workspace/gexfoundry_device-snmp-go_PR-142 [Pipeline] { [Pipeline] ws 05:07:54 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:54 Selected Git installation does not exist. Using Default 05:07:54 The recommended git tool is: NONE 05:08:03 using credential edgex-jenkins-ssh 05:08:03 Cloning the remote Git repository 05:08:03 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:08:03 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:08:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:08:03 > git --version # timeout=10 05:08:03 > git --version # 'git version 2.25.1' 05:08:03 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:05 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit b1cec76504ea4f1bc935da1b6312b1c0d4001b06 05:08:06 Merge succeeded, producing b1cec76504ea4f1bc935da1b6312b1c0d4001b06 05:08:06 Checking out Revision b1cec76504ea4f1bc935da1b6312b1c0d4001b06 (PR-142) 05:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:08:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:08:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:08:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:08:05 > git config core.sparsecheckout # timeout=10 05:08:05 > git checkout -f b1cec76504ea4f1bc935da1b6312b1c0d4001b06 # timeout=10 05:08:06 > git remote # timeout=10 05:08:06 > git config --get remote.origin.url # timeout=10 05:08:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:06 > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 05:08:06 > git rev-parse HEAD^{commit} # timeout=10 05:08:06 > git config core.sparsecheckout # timeout=10 05:08:06 > git checkout -f b1cec76504ea4f1bc935da1b6312b1c0d4001b06 # timeout=10 05:08:10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:08:10 > git --version # timeout=10 05:08:10 > git --version # 'git version 2.25.1' 05:08:10 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:08:11 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:11 Dload Upload Total Spent Left Speed 05:08:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 05:08:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:08:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:08:12 + sudo tee /etc/docker/daemon.new 05:08:12 { 05:08:12 "registry-mirrors": [ 05:08:12 "https://nexus3.edgexfoundry.org:10001" 05:08:12 ], 05:08:12 "bip": "10.250.0.254/24", 05:08:12 "hosts": [ 05:08:12 "tcp://0.0.0.0:5555", 05:08:12 "unix:///var/run/docker.sock" 05:08:12 ], 05:08:12 "mtu": 1458, 05:08:12 "selinux-enabled": true, 05:08:12 "seccomp-profile": "/etc/docker/seccomp.json" 05:08:12 } [Pipeline] sh 05:08:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:08:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:31 provisioning config files... 05:08:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7303159711048517702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:32 ---> docker-login.sh 05:08:32 nexus3.edgexfoundry.org:10001 05:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:33 Configure a credential helper to remove this warning. See 05:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:33 05:08:33 Login Succeeded 05:08:33 nexus3.edgexfoundry.org:10002 05:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:33 Configure a credential helper to remove this warning. See 05:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:33 05:08:33 Login Succeeded 05:08:33 nexus3.edgexfoundry.org:10003 05:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:34 Configure a credential helper to remove this warning. See 05:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:34 05:08:34 Login Succeeded 05:08:34 nexus3.edgexfoundry.org:10004 05:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:34 Configure a credential helper to remove this warning. See 05:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:34 05:08:34 Login Succeeded 05:08:34 docker.io 05:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:35 Configure a credential helper to remove this warning. See 05:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:35 05:08:35 Login Succeeded 05:08:35 ---> docker-login.sh ends [Pipeline] } 05:08:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:35 ========================================================= 05:08:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:08:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:08:36 + 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:36 Sending build context to Docker daemon 2.703MB 05:08:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:08:36 Step 2/12 : FROM ${BASE} AS builder 05:08:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:36 9b3977197b4f: Pulling fs layer 05:08:36 1a89e8eeedd5: Pulling fs layer 05:08:36 94645a83ff95: Pulling fs layer 05:08:36 3f3a8bcf1eab: Pulling fs layer 05:08:36 0c92f367c5e7: Pulling fs layer 05:08:36 f7c0051592d6: Pulling fs layer 05:08:36 a227ed2f7395: Pulling fs layer 05:08:36 7b1c46037f91: Pulling fs layer 05:08:36 3f3a8bcf1eab: Waiting 05:08:36 0c92f367c5e7: Waiting 05:08:36 f7c0051592d6: Waiting 05:08:36 7b1c46037f91: Waiting 05:08:36 a227ed2f7395: Waiting 05:08:36 94645a83ff95: Verifying Checksum 05:08:36 94645a83ff95: Download complete 05:08:36 1a89e8eeedd5: Download complete 05:08:36 0c92f367c5e7: Verifying Checksum 05:08:36 0c92f367c5e7: Download complete 05:08:36 f7c0051592d6: Verifying Checksum 05:08:36 f7c0051592d6: Download complete 05:08:36 9b3977197b4f: Download complete 05:08:36 a227ed2f7395: Verifying Checksum 05:08:36 a227ed2f7395: Download complete 05:08:37 9b3977197b4f: Pull complete 05:08:38 1a89e8eeedd5: Pull complete 05:08:38 94645a83ff95: Pull complete 05:08:39 7b1c46037f91: Verifying Checksum 05:08:39 3f3a8bcf1eab: Download complete 05:08:52 3f3a8bcf1eab: Pull complete 05:08:52 0c92f367c5e7: Pull complete 05:08:52 f7c0051592d6: Pull complete 05:08:52 a227ed2f7395: Pull complete 05:08:58 7b1c46037f91: Pull complete 05:08:58 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:08:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:08:58 ---> f79e39bc4007 05:08:58 Step 3/12 : ARG MAKE='make build' 05:08:59 ---> Running in 8d8b29f78121 05:08:59 Removing intermediate container 8d8b29f78121 05:08:59 ---> e712741b557c 05:08:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:59 ---> Running in 83463b9eeb39 05:08:59 Removing intermediate container 83463b9eeb39 05:08:59 ---> de3c2c6e22f5 05:08:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:09:00 ---> Running in b91b861e05b9 05:09:00 Removing intermediate container b91b861e05b9 05:09:00 ---> a440f1eed6af 05:09:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:00 ---> Running in d5e669284e43 05:09:02 Removing intermediate container d5e669284e43 05:09:02 ---> 3f867011cfe2 05:09:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:02 ---> Running in 0b0b51ca4260 05:09:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:09:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:09:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:09:05 (2/4) Installing libedit (20210910.3.1-r0) 05:09:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:09:05 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:09:05 Executing busybox-1.34.1-r3.trigger 05:09:05 OK: 224 MiB in 56 packages 05:09:06 Removing intermediate container 0b0b51ca4260 05:09:06 ---> 6155bc8d9781 05:09:06 Step 8/12 : WORKDIR /device-snmp-go 05:09:06 ---> Running in 897636a7c490 05:09:07 Removing intermediate container 897636a7c490 05:09:07 ---> dc7dd959b02c 05:09:07 Step 9/12 : COPY go.mod vendor* ./ 05:09:07 ---> 4be5c78e8a18 05:09:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:07 ---> Running in 6ab7cd1e1ddb 05:10:29 Removing intermediate container 6ab7cd1e1ddb 05:10:29 ---> e51046b16aff 05:10:29 Step 11/12 : COPY . . 05:10:29 ---> 3a9ef06d9629 05:10:29 Step 12/12 : RUN ${MAKE} 05:10:29 ---> Running in f71f18d0b0fe 05:10:29 noop 05:10:29 Removing intermediate container f71f18d0b0fe 05:10:29 ---> 550c11afec80 05:10:29 Successfully built 550c11afec80 05:10:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:10:30 + docker inspect -f . ci-base-image-arm64 05:10:30 . [Pipeline] withDockerContainer 05:10:30 prd-ubuntu20.04-docker-arm64-4c-16g-8158 does not seem to be running inside a container 05:10:30 $ 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:31 $ docker top 47e6a5ecd817bbefdf13b3ca06041763c166665fc38c8b0fdf3edec8b6aa22d1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:32 + go version 05:10:32 go version go1.17.6 linux/arm64 [Pipeline] } 05:10:32 $ docker stop --time=1 47e6a5ecd817bbefdf13b3ca06041763c166665fc38c8b0fdf3edec8b6aa22d1 05:10:34 $ docker rm -f 47e6a5ecd817bbefdf13b3ca06041763c166665fc38c8b0fdf3edec8b6aa22d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:35 + docker inspect -f . ci-base-image-arm64 05:10:35 . [Pipeline] withDockerContainer 05:10:35 prd-ubuntu20.04-docker-arm64-4c-16g-8158 does not seem to be running inside a container 05:10:35 $ 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:37 $ docker top 6213f5fef4489dedd7e76fb4eecff7024d2499ef9fc612c2a27716ee5b567960 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:38 + make test 05:10:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:11:36 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:11:36 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 05:11:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:46 ./bin/test-attribution-txt.sh 05:11:48 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 05:11:48 make: *** [Makefile:30: test] Error 1 [Pipeline] } 05:11:48 $ docker stop --time=1 6213f5fef4489dedd7e76fb4eecff7024d2499ef9fc612c2a27716ee5b567960 05:11:50 $ docker rm -f 6213f5fef4489dedd7e76fb4eecff7024d2499ef9fc612c2a27716ee5b567960 [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:11:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:52 05:11:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:11:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:52 arm64: Pulling from edgex-lftools-log-publisher 05:11:52 8998bd30e6a1: Pulling fs layer 05:11:52 04944245beec: Pulling fs layer 05:11:52 699f458cf7ca: Pulling fs layer 05:11:52 765212b225bb: Pulling fs layer 05:11:52 f23df028b6ca: Pulling fs layer 05:11:52 d65c8cfc05b1: Pulling fs layer 05:11:52 2437ff75d9bd: Pulling fs layer 05:11:52 f23df028b6ca: Waiting 05:11:52 d65c8cfc05b1: Waiting 05:11:52 2437ff75d9bd: Waiting 05:11:52 765212b225bb: Waiting 05:11:52 04944245beec: Verifying Checksum 05:11:52 04944245beec: Download complete 05:11:52 765212b225bb: Verifying Checksum 05:11:52 765212b225bb: Download complete 05:11:52 f23df028b6ca: Verifying Checksum 05:11:52 f23df028b6ca: Download complete 05:11:52 d65c8cfc05b1: Verifying Checksum 05:11:52 d65c8cfc05b1: Download complete 05:11:53 699f458cf7ca: Download complete 05:11:53 8998bd30e6a1: Verifying Checksum 05:11:53 8998bd30e6a1: Download complete 05:11:55 2437ff75d9bd: Verifying Checksum 05:11:55 2437ff75d9bd: Download complete 05:11:57 8998bd30e6a1: Pull complete 05:11:58 04944245beec: Pull complete 05:11:59 699f458cf7ca: Pull complete 05:12:00 765212b225bb: Pull complete 05:12:01 f23df028b6ca: Pull complete 05:12:01 d65c8cfc05b1: Pull complete 05:12:19 2437ff75d9bd: Pull complete 05:12:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:12:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:12:19 prd-ubuntu20.04-docker-arm64-4c-16g-8158 does not seem to be running inside a container 05:12:19 $ 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:22 $ docker top 43c54095c662cb36048fad36dce37c5f2aa48f7d4148e2d32d419005e2f7fbea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:23 ---> job-cost.sh 05:12:23 lf-activate-venv: SKIPPING 05:12:23 INFO: No Stack... 05:12:24 INFO: Retrieving Pricing Info for: v3-standard-4 05:12:25 INFO: Archiving Costs [Pipeline] sh 05:12:26 + cut -d, -f6 05:12:26 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 05:12:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] 05:12:26 Resource [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] did not exist. Created. 05:12:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:12:27 /w/workspace/device-snmp-go/1@tmp/durable-e4c07585/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:12:27 + echo total: 0.10999999940395355 [Pipeline] stash 05:12:27 Warning: overwriting stash ‘stack-cost’ 05:12:28 Stashed 1 file(s) [Pipeline] } 05:12:28 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-142-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:12:28 $ docker stop --time=1 43c54095c662cb36048fad36dce37c5f2aa48f7d4148e2d32d419005e2f7fbea 05:12:29 $ docker rm -f 43c54095c662cb36048fad36dce37c5f2aa48f7d4148e2d32d419005e2f7fbea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:12:30 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:32 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-142/archives ] 05:12:32 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-142/archives 05:12:32 total 16 05:12:32 drwxr-xr-x 3 root root 4096 Mar 21 05:06 . 05:12:32 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:06 .. 05:12:32 drwxr-xr-x 2 root root 4096 Mar 21 05:06 cost 05:12:32 -rw-r--r-- 1 root root 85 Mar 21 05:06 cost.csv 05:12:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-142/archives 05:12:32 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-142/archives 05:12:32 total 16 05:12:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:06 . 05:12:32 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:06 .. 05:12:32 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:06 cost 05:12:32 -rw-r--r-- 1 jenkins jenkins 85 Mar 21 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:12:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:12:33 ---> package-listing.sh 05:12:33 ++ facter osfamily 05:12:33 ++ tr '[:upper:]' '[:lower:]' 05:12:34 + OS_FAMILY=debian 05:12:34 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-142 05:12:34 + START_PACKAGES=/tmp/packages_start.txt 05:12:34 + END_PACKAGES=/tmp/packages_end.txt 05:12:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:12:34 + PACKAGES=/tmp/packages_start.txt 05:12:34 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-142 ']' 05:12:34 + PACKAGES=/tmp/packages_end.txt 05:12:34 + case "${OS_FAMILY}" in 05:12:34 + dpkg -l 05:12:34 + grep '^ii' 05:12:34 + '[' -f /tmp/packages_start.txt ']' 05:12:34 + '[' -f /tmp/packages_end.txt ']' 05:12:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:12:34 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-142 ']' 05:12:34 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-142/archives/ 05:12:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-142/archives/ [Pipeline] echo 05:12:34 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-142/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:12:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:34 . [Pipeline] withDockerContainer 05:12:35 prd-ubuntu20.04-docker-8c-8g-8155 does not seem to be running inside a container 05:12:35 $ 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-142/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-142 -v /w/workspace/gexfoundry_device-snmp-go_PR-142:/w/workspace/gexfoundry_device-snmp-go_PR-142:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-142@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:12:35 $ docker top d2b2f6c550c0a099faeaa1756208a13f2b793cad006400c8c40208d1fe6bc135 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:35 + touch /tmp/pre-build-complete [Pipeline] sh 05:12:36 + mkdir -p /var/log/sysstat [Pipeline] sh 05:12:36 + ls /var/log/sa-host 05:12:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:36 provisioning config files... 05:12:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-142@tmp/config7519922383869068066tmp [Pipeline] { [Pipeline] echo 05:12:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:12:36 ---> create-netrc.sh [Pipeline] } 05:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:12:37 ---> python-tools-install.sh [Pipeline] echo 05:12:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:12:37 ---> sudo-logs.sh 05:12:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:12:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:12:38 ---> job-cost.sh 05:12:38 lf-activate-venv: SKIPPING 05:12:38 DEBUG: total: 0.2199999988079071 05:12:38 INFO: Retrieving Stack Cost... 05:12:38 INFO: Retrieving Pricing Info for: v3-standard-8 05:12:39 INFO: Archiving Costs [Pipeline] echo 05:12:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:12:39 ---> logs-deploy.sh 05:12:39 lf-activate-venv: SKIPPING 05:12:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-142/1 05:12:39 INFO: archiving workspace using pattern(s): 05:12:40 Archives upload complete. 05:12:40 INFO: archiving logs to Nexus