Pull request #158 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 040390cf6cab88b0f19735c82e952ec690ed569c+6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (e95c81578a920ebd26e030d587de10670daff4e6) 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-ssh15198929221083274233.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-ssh5735946486537129107.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-158/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-158/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6838696412259666136.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-158/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10707804727909111951.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-ssh17272913015425454354.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-158/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-158/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13479210136338698890.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21934’ Running on prd-ubuntu20.04-docker-8c-8g-21945 in /w/workspace/gexfoundry_device-snmp-go_PR-158 [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-158 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 040390cf6cab88b0f19735c82e952ec690ed569c Merge succeeded, producing 040390cf6cab88b0f19735c82e952ec690ed569c Checking out Revision 040390cf6cab88b0f19735c82e952ec690ed569c (PR-158) > 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/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 040390cf6cab88b0f19735c82e952ec690ed569c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 040390cf6cab88b0f19735c82e952ec690ed569c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:07:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:07:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:07:26 ========================================================= 05:07:26 EdgeX Global Pipelines Version Info 05:07:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:07:27 ------------------- 05:07:27 stable info: 05:07:27 ------------------- 05:07:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:07:27 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:07:27 Message: update stable to v1.0.221 05:07:27 ------------------- 05:07:27 experimental info: 05:07:27 ------------------- 05:07:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:07:27 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 05:07:27 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:07:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 040390cf6cab88b0f19735c82e952ec690ed569c [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 040390c [Pipeline] echo 05:07:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:29 provisioning config files... 05:07:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config6231337919001750148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:30 ---> docker-login.sh 05:07:30 nexus3.edgexfoundry.org:10001 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:30 Configure a credential helper to remove this warning. See 05:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:30 05:07:30 Login Succeeded 05:07:30 nexus3.edgexfoundry.org:10002 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:30 Configure a credential helper to remove this warning. See 05:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:30 05:07:30 Login Succeeded 05:07:30 nexus3.edgexfoundry.org:10003 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:30 Configure a credential helper to remove this warning. See 05:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:30 05:07:30 Login Succeeded 05:07:30 nexus3.edgexfoundry.org:10004 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:30 Configure a credential helper to remove this warning. See 05:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:30 05:07:30 Login Succeeded 05:07:30 docker.io 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 ---> docker-login.sh ends [Pipeline] } 05:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:07:32 + git rev-list -1 --merges 040390cf6cab88b0f19735c82e952ec690ed569c~1..040390cf6cab88b0f19735c82e952ec690ed569c [Pipeline] echo 05:07:32 -----------> git rev-list -1 --merges 040390cf6cab88b0f19735c82e952ec690ed569c~1..040390cf6cab88b0f19735c82e952ec690ed569c 040390cf6cab88b0f19735c82e952ec690ed569c [false] [Pipeline] sh 05:07:32 + git log --format=format:%s -1 040390cf6cab88b0f19735c82e952ec690ed569c [Pipeline] echo 05:07:32 ========================================================= 05:07:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:07:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:33 + git log --format=format:%s -1 040390cf6cab88b0f19735c82e952ec690ed569c [Pipeline] echo 05:07:33 [semverPrep] GIT_COMMIT: 040390cf6cab88b0f19735c82e952ec690ed569c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:07:33 [semverPrep] This is not a build commit. [Pipeline] sh 05:07:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:07:33 + grep -v github /etc/ssh/ssh_known_hosts 05:07:33 + [ -e /tmp/ssh_known_hosts ] 05:07:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:07:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:07:33 + sudo tee -a /etc/ssh/ssh_known_hosts 05:07:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:33 05:07:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:07:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:34 latest: Pulling from edgex-devops/git-semver 05:07:34 a0d0a0d46f8b: Pulling fs layer 05:07:34 3e5f54012d9b: Pulling fs layer 05:07:34 4c7163046ea9: Pulling fs layer 05:07:34 0c2d73faf560: Pulling fs layer 05:07:34 0c2d73faf560: Waiting 05:07:34 3e5f54012d9b: Verifying Checksum 05:07:34 3e5f54012d9b: Download complete 05:07:34 a0d0a0d46f8b: Download complete 05:07:34 0c2d73faf560: Verifying Checksum 05:07:34 0c2d73faf560: Download complete 05:07:34 4c7163046ea9: Download complete 05:07:34 a0d0a0d46f8b: Pull complete 05:07:34 3e5f54012d9b: Pull complete 05:07:35 4c7163046ea9: Pull complete 05:07:35 0c2d73faf560: Pull complete 05:07:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:07:35 prd-ubuntu20.04-docker-8c-8g-21945 does not seem to be running inside a container 05:07:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:07:36 $ docker top b8601557689d1bf5c71e6e6887807e211a60755a9932058acbdd8fc259287ad5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:36 [ssh-agent] Looking for ssh-agent implementation... 05:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:37 $ docker exec b8601557689d1bf5c71e6e6887807e211a60755a9932058acbdd8fc259287ad5 ssh-agent 05:07:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpendmp/agent.14 05:07:37 SSH_AGENT_PID=21 05:07:37 Running ssh-add (command line suppressed) 05:07:37 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_3526774742644716556.key (/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_3526774742644716556.key) 05:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:37 + git tag --points-at HEAD [Pipeline] } 05:07:37 $ docker exec --env ******** --env ******** b8601557689d1bf5c71e6e6887807e211a60755a9932058acbdd8fc259287ad5 ssh-agent -k 05:07:37 unset SSH_AUTH_SOCK; 05:07:37 unset SSH_AGENT_PID; 05:07:37 echo Agent pid 21 killed; 05:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:37 [ssh-agent] Looking for ssh-agent implementation... 05:07:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:38 $ docker exec b8601557689d1bf5c71e6e6887807e211a60755a9932058acbdd8fc259287ad5 ssh-agent 05:07:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMkMnDc/agent.53 05:07:38 SSH_AGENT_PID=60 05:07:38 Running ssh-add (command line suppressed) 05:07:38 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_7173168447251509648.key (/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_7173168447251509648.key) 05:07:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:38 + git semver init 05:07:38 # -> Open(): unable to determine branch for HEAD 05:07:38 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-158/.git 05:07:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-158 05:07:38 # $SEMVER_REMOTE_NAME = origin 05:07:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:07:38 # $SEMVER_USER_NAME = edgex-jenkins 05:07:38 # $SEMVER_BRANCH = PR-158 05:07:38 # $SEMVER_TEMP = /tmp/semver-072447143 05:07:38 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:07:39 # '/tmp/semver-072447143' -> '/w/workspace/gexfoundry_device-snmp-go_PR-158/.semver' 05:07:39 # -> Force: false 05:07:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-158/.semver [Pipeline] } 05:07:39 $ docker exec --env ******** --env ******** b8601557689d1bf5c71e6e6887807e211a60755a9932058acbdd8fc259287ad5 ssh-agent -k 05:07:39 unset SSH_AUTH_SOCK; 05:07:39 unset SSH_AGENT_PID; 05:07:39 echo Agent pid 60 killed; 05:07:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:40 + git semver [Pipeline] } 05:07:40 $ docker stop --time=1 b8601557689d1bf5c71e6e6887807e211a60755a9932058acbdd8fc259287ad5 05:07:41 $ docker rm -f b8601557689d1bf5c71e6e6887807e211a60755a9932058acbdd8fc259287ad5 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:07:42 Stashed 1 file(s) [Pipeline] echo 05:07:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:43 provisioning config files... 05:07:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config7891693539964177307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:43 ---> docker-login.sh 05:07:43 nexus3.edgexfoundry.org:10001 05:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:43 Configure a credential helper to remove this warning. See 05:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:43 05:07:43 Login Succeeded 05:07:43 nexus3.edgexfoundry.org:10002 05:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:43 Configure a credential helper to remove this warning. See 05:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:43 05:07:43 Login Succeeded 05:07:43 nexus3.edgexfoundry.org:10003 05:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:43 Configure a credential helper to remove this warning. See 05:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:43 05:07:43 Login Succeeded 05:07:43 nexus3.edgexfoundry.org:10004 05:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:43 Configure a credential helper to remove this warning. See 05:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:43 05:07:43 Login Succeeded 05:07:43 docker.io 05:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:44 Configure a credential helper to remove this warning. See 05:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:44 05:07:44 Login Succeeded 05:07:44 ---> docker-login.sh ends [Pipeline] } 05:07:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:44 ========================================================= 05:07:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:07:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:07:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:07:44 Sending build context to Docker daemon 5.259MB 05:07:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:07:44 Step 2/12 : FROM ${BASE} AS builder 05:07:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:07:44 59bf1c3509f3: Pulling fs layer 05:07:44 666ba61612fd: Pulling fs layer 05:07:44 8ed8ca486205: Pulling fs layer 05:07:44 4fe6c5a15a65: Pulling fs layer 05:07:44 22a0e8bec74d: Pulling fs layer 05:07:44 ca2b28591e48: Pulling fs layer 05:07:44 a51346096db8: Pulling fs layer 05:07:44 daebc70d1ce1: Pulling fs layer 05:07:44 0e18a0eac166: Pulling fs layer 05:07:44 4fe6c5a15a65: Waiting 05:07:44 ca2b28591e48: Waiting 05:07:44 daebc70d1ce1: Waiting 05:07:44 a51346096db8: Waiting 05:07:44 22a0e8bec74d: Waiting 05:07:44 0e18a0eac166: Waiting 05:07:44 8ed8ca486205: Verifying Checksum 05:07:44 8ed8ca486205: Download complete 05:07:44 666ba61612fd: Verifying Checksum 05:07:44 666ba61612fd: Download complete 05:07:45 22a0e8bec74d: Download complete 05:07:45 ca2b28591e48: Verifying Checksum 05:07:45 ca2b28591e48: Download complete 05:07:45 59bf1c3509f3: Verifying Checksum 05:07:45 59bf1c3509f3: Download complete 05:07:45 a51346096db8: Verifying Checksum 05:07:45 a51346096db8: Download complete 05:07:45 daebc70d1ce1: Verifying Checksum 05:07:45 59bf1c3509f3: Pull complete 05:07:45 666ba61612fd: Pull complete 05:07:45 8ed8ca486205: Pull complete 05:07:45 0e18a0eac166: Verifying Checksum 05:07:45 0e18a0eac166: Download complete 05:07:45 4fe6c5a15a65: Verifying Checksum 05:07:45 4fe6c5a15a65: Download complete 05:07:50 4fe6c5a15a65: Pull complete 05:07:50 22a0e8bec74d: Pull complete 05:07:50 ca2b28591e48: Pull complete 05:07:50 a51346096db8: Pull complete 05:07:50 daebc70d1ce1: Pull complete 05:07:52 0e18a0eac166: Pull complete 05:07:52 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:07:52 ---> f018257e8ee9 05:07:52 Step 3/12 : ARG MAKE='make build' 05:07:55 ---> Running in f99649f9a6b4 05:07:55 Removing intermediate container f99649f9a6b4 05:07:55 ---> 0663958f9f55 05:07:55 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:55 ---> Running in d8384acdf1d9 05:07:55 Removing intermediate container d8384acdf1d9 05:07:55 ---> 53605fca95d9 05:07:55 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:07:55 ---> Running in 4f3838438afd 05:07:55 Removing intermediate container 4f3838438afd 05:07:55 ---> e3b7230c5f1f 05:07:55 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:55 ---> Running in 4f17abb036ed 05:07:56 Removing intermediate container 4f17abb036ed 05:07:56 ---> 7234c8ee44a8 05:07:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:56 ---> Running in 288bd4435c56 05:07:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:07:57 Still waiting to schedule task 05:07:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21942’ 05:07:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:07:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:07:58 (2/4) Installing libedit (20210910.3.1-r0) 05:07:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:07:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:07:58 Executing busybox-1.34.1-r3.trigger 05:07:58 OK: 224 MiB in 56 packages 05:07:59 Removing intermediate container 288bd4435c56 05:07:59 ---> bc445477ebd9 05:07:59 Step 8/12 : WORKDIR /device-snmp-go 05:07:59 ---> Running in 3ea5aa9f0027 05:07:59 Removing intermediate container 3ea5aa9f0027 05:07:59 ---> e3ce0fc552b3 05:07:59 Step 9/12 : COPY go.mod vendor* ./ 05:07:59 ---> 567126359c12 05:07:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:59 ---> Running in 9c31029be07a 05:08:17 Removing intermediate container 9c31029be07a 05:08:17 ---> b1d2ce807881 05:08:17 Step 11/12 : COPY . . 05:08:17 ---> 7e50b552714f 05:08:17 Step 12/12 : RUN ${MAKE} 05:08:17 ---> Running in 3ceea3083646 05:08:17 noop 05:08:18 Removing intermediate container 3ceea3083646 05:08:18 ---> 41e9774dadb5 05:08:18 Successfully built 41e9774dadb5 05:08:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:08:18 + docker inspect -f . ci-base-image-x86_64 05:08:18 . [Pipeline] withDockerContainer 05:08:18 prd-ubuntu20.04-docker-8c-8g-21945 does not seem to be running inside a container 05:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:08:18 $ docker top 50ed89d4c5f57b032dfa45f2ef07a9b331f44d6a349602344c868f4d64beba74 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:19 + go version 05:08:19 go version go1.17.6 linux/amd64 [Pipeline] } 05:08:19 $ docker stop --time=1 50ed89d4c5f57b032dfa45f2ef07a9b331f44d6a349602344c868f4d64beba74 05:08:20 $ docker rm -f 50ed89d4c5f57b032dfa45f2ef07a9b331f44d6a349602344c868f4d64beba74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:21 + docker inspect -f . ci-base-image-x86_64 05:08:21 . [Pipeline] withDockerContainer 05:08:21 prd-ubuntu20.04-docker-8c-8g-21945 does not seem to be running inside a container 05:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:08:21 $ docker top 6eabb5eb7d6d2adf75dd93f63b7e42ae30e01c52918eb5388bab079cd11a799d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:08:22 + make test 05:08:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:22 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:08:32 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:08:32 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 05:08:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:08:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:42 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:42 $ docker stop --time=1 6eabb5eb7d6d2adf75dd93f63b7e42ae30e01c52918eb5388bab079cd11a799d 05:08:44 $ docker rm -f 6eabb5eb7d6d2adf75dd93f63b7e42ae30e01c52918eb5388bab079cd11a799d [Pipeline] // withDockerContainer [Pipeline] sh 05:08:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:08:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:46 + ls -al . 05:08:46 total 184 05:08:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 05:08 . 05:08:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 05:07 .. 05:08:46 -rw-rw-r-- 1 jenkins jenkins 6 Apr 25 05:07 .dockerignore 05:08:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 05:07 .git 05:08:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:07 .github 05:08:46 -rw-rw-r-- 1 jenkins jenkins 328 Apr 25 05:07 .gitignore 05:08:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 05:07 .golangci.yml 05:08:46 drwx------ 3 jenkins jenkins 4096 Apr 25 05:07 .semver 05:08:46 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 25 05:07 Attribution.txt 05:08:46 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 25 05:07 CHANGELOG.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 25 05:07 Dockerfile 05:08:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 05:07 GOVERNANCE.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 656 Apr 25 05:07 Jenkinsfile 05:08:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 05:07 LICENSE 05:08:46 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 25 05:07 Makefile 05:08:46 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 05:07 OWNERS.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 25 05:07 README.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 05:07 VERSION 05:08:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 05:07 bin 05:08:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:07 cmd 05:08:46 -rw-r--r-- 1 jenkins jenkins 7631 Apr 25 05:08 coverage.out 05:08:46 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 25 05:07 go.mod 05:08:46 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 25 05:07 go.sum 05:08:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:07 internal 05:08:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:07 snap 05:08:46 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 05:07 version.go [Pipeline] isUnix [Pipeline] sh 05:08:46 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=040390cf6cab88b0f19735c82e952ec690ed569c --label arch=amd64 --label version=0.0.0 . 05:08:46 Sending build context to Docker daemon 5.267MB 05:08:46 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:08:46 Step 2/24 : FROM ${BASE} AS builder 05:08:46 ---> 41e9774dadb5 05:08:46 Step 3/24 : ARG MAKE='make build' 05:08:47 ---> Running in 4f6e36494b32 05:08:47 Removing intermediate container 4f6e36494b32 05:08:47 ---> 62020ce3b249 05:08:47 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:47 ---> Running in c7e840d964d1 05:08:47 Removing intermediate container c7e840d964d1 05:08:47 ---> b8a1db8e01c2 05:08:47 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:08:47 ---> Running in 97c4656158e5 05:08:47 Removing intermediate container 97c4656158e5 05:08:47 ---> d694d468c34f 05:08:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:47 ---> Running in f5db4d1eb16f 05:08:48 Removing intermediate container f5db4d1eb16f 05:08:48 ---> 7e2fc42effdf 05:08:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:48 ---> Running in c99ab3d5c090 05:08:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:08:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:08:49 OK: 224 MiB in 56 packages 05:08:50 Removing intermediate container c99ab3d5c090 05:08:50 ---> 279619571fdc 05:08:50 Step 8/24 : WORKDIR /device-snmp-go 05:08:50 ---> Running in 0ed75b36144f 05:08:50 Removing intermediate container 0ed75b36144f 05:08:50 ---> d0ca4b21f86a 05:08:50 Step 9/24 : COPY go.mod vendor* ./ 05:08:50 ---> 9dcf35f5b2b5 05:08:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:50 ---> Running in 85edad1c7ba3 05:08:51 Removing intermediate container 85edad1c7ba3 05:08:51 ---> 3b040b8afb85 05:08:51 Step 11/24 : COPY . . 05:08:51 ---> d7dd83c4daa9 05:08:51 Step 12/24 : RUN ${MAKE} 05:08:51 ---> Running in 3f77f233c54b 05:08:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:09:14 Removing intermediate container 3f77f233c54b 05:09:14 ---> 3f9b7160543d 05:09:14 Step 13/24 : FROM alpine:3.14 05:09:14 3.14: Pulling from library/alpine 05:09:14 8663204ce13b: Pulling fs layer 05:09:14 8663204ce13b: Download complete 05:09:14 8663204ce13b: Pull complete 05:09:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:09:14 Status: Downloaded newer image for alpine:3.14 05:09:14 ---> e04c818066af 05:09:14 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:09:14 ---> Running in bcf9f832a56c 05:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:09:14 (1/6) Installing dumb-init (1.2.5-r1) 05:09:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:09:14 (3/6) Installing libsodium (1.0.18-r0) 05:09:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:09:14 (5/6) Installing libzmq (4.3.4-r0) 05:09:14 (6/6) Installing zeromq (4.3.4-r0) 05:09:14 Executing busybox-1.33.1-r7.trigger 05:09:14 OK: 8 MiB in 20 packages 05:09:14 Removing intermediate container bcf9f832a56c 05:09:14 ---> 410f473da64d 05:09:14 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:09:14 ---> 9bd103a8bba2 05:09:14 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:09:14 ---> cd6e7333a6e3 05:09:14 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:09:14 ---> 831e3f6f99ef 05:09:14 Step 18/24 : EXPOSE 59993 05:09:14 ---> Running in 8f3a4672bd6d 05:09:14 Removing intermediate container 8f3a4672bd6d 05:09:14 ---> 5e9f23c0dd0a 05:09:14 Step 19/24 : EXPOSE 161 05:09:14 ---> Running in b8d476dba2a9 05:09:14 Removing intermediate container b8d476dba2a9 05:09:14 ---> 99050c1328e3 05:09:14 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:09:14 ---> Running in 2cefb1233208 05:09:14 Removing intermediate container 2cefb1233208 05:09:14 ---> 9e1fb2be8002 05:09:14 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:09:14 ---> Running in fb9af65b81eb 05:09:14 Removing intermediate container fb9af65b81eb 05:09:14 ---> a3416a89c04f 05:09:14 Step 22/24 : LABEL arch=amd64 05:09:14 ---> Running in 08413f5707a5 05:09:15 Removing intermediate container 08413f5707a5 05:09:15 ---> cca4a1904c77 05:09:15 Step 23/24 : LABEL git_sha=040390cf6cab88b0f19735c82e952ec690ed569c 05:09:15 ---> Running in 5eb427333d30 05:09:15 Removing intermediate container 5eb427333d30 05:09:15 ---> 5549ff0fde08 05:09:15 Step 24/24 : LABEL version=0.0.0 05:09:15 ---> Running in e00295dc72f1 05:09:15 Removing intermediate container e00295dc72f1 05:09:15 ---> eb12f35e16c5 05:09:15 [Warning] One or more build-args [ARCH] were not consumed 05:09:15 Successfully built eb12f35e16c5 05:09:15 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:09:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:16 05:09:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:09:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:16 latest: Pulling from edgex-lftools-log-publisher 05:09:16 5eb5b503b376: Pulling fs layer 05:09:16 5c69ac0246d0: Pulling fs layer 05:09:16 ec43610c2a17: Pulling fs layer 05:09:16 3a2ae6a8a46f: Pulling fs layer 05:09:16 33b1e0a273af: Pulling fs layer 05:09:16 5d3b04190fa2: Pulling fs layer 05:09:16 2f39f015ded8: Pulling fs layer 05:09:16 3a2ae6a8a46f: Waiting 05:09:16 33b1e0a273af: Waiting 05:09:16 5d3b04190fa2: Waiting 05:09:16 2f39f015ded8: Waiting 05:09:16 5c69ac0246d0: Verifying Checksum 05:09:16 5c69ac0246d0: Download complete 05:09:16 3a2ae6a8a46f: Verifying Checksum 05:09:16 3a2ae6a8a46f: Download complete 05:09:16 33b1e0a273af: Verifying Checksum 05:09:16 33b1e0a273af: Download complete 05:09:16 5d3b04190fa2: Verifying Checksum 05:09:16 5d3b04190fa2: Download complete 05:09:16 ec43610c2a17: Verifying Checksum 05:09:16 ec43610c2a17: Download complete 05:09:16 5eb5b503b376: Verifying Checksum 05:09:16 5eb5b503b376: Download complete 05:09:17 2f39f015ded8: Download complete 05:09:17 5eb5b503b376: Pull complete 05:09:18 5c69ac0246d0: Pull complete 05:09:18 ec43610c2a17: Pull complete 05:09:18 3a2ae6a8a46f: Pull complete 05:09:18 33b1e0a273af: Pull complete 05:09:18 5d3b04190fa2: Pull complete 05:09:24 2f39f015ded8: Pull complete 05:09:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:09:24 prd-ubuntu20.04-docker-8c-8g-21945 does not seem to be running inside a container 05:09:24 $ 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-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@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:09:27 $ docker top 2ee4ec53072f843deb4d9947ebf39b98013fb4c856e3321d5283b5f2dc48d4c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:27 ---> job-cost.sh 05:09:27 lf-activate-venv: SKIPPING 05:09:27 INFO: No Stack... 05:09:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:28 INFO: Archiving Costs [Pipeline] sh 05:09:28 + cat /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/cost.csv 05:09:28 + cut -d, -f6 [Pipeline] lock 05:09:28 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] 05:09:28 Resource [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] did not exist. Created. 05:09:28 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:29 + echo total: 0.2199999988079071 [Pipeline] stash 05:09:29 Stashed 1 file(s) [Pipeline] } 05:09:29 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:29 $ docker stop --time=1 2ee4ec53072f843deb4d9947ebf39b98013fb4c856e3321d5283b5f2dc48d4c9 05:09:30 $ docker rm -f 2ee4ec53072f843deb4d9947ebf39b98013fb4c856e3321d5283b5f2dc48d4c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:10:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21948 in /w/workspace/gexfoundry_device-snmp-go_PR-158 [Pipeline] { [Pipeline] ws 05:10:14 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:10:14 Selected Git installation does not exist. Using Default 05:10:14 The recommended git tool is: NONE 05:10:21 using credential edgex-jenkins-ssh 05:10:21 Cloning the remote Git repository 05:10:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:10:21 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:10:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:10:22 > git --version # timeout=10 05:10:22 > git --version # 'git version 2.25.1' 05:10:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:10:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:10:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:10:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:10:23 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 040390cf6cab88b0f19735c82e952ec690ed569c 05:10:24 Merge succeeded, producing 040390cf6cab88b0f19735c82e952ec690ed569c 05:10:24 Checking out Revision 040390cf6cab88b0f19735c82e952ec690ed569c (PR-158) 05:10:23 > git config core.sparsecheckout # timeout=10 05:10:23 > git checkout -f 040390cf6cab88b0f19735c82e952ec690ed569c # timeout=10 05:10:24 > git remote # timeout=10 05:10:24 > git config --get remote.origin.url # timeout=10 05:10:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:24 > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 05:10:24 > git rev-parse HEAD^{commit} # timeout=10 05:10:24 > git config core.sparsecheckout # timeout=10 05:10:24 > git checkout -f 040390cf6cab88b0f19735c82e952ec690ed569c # timeout=10 05:10:28 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:10:28 > git --version # timeout=10 05:10:28 > git --version # 'git version 2.25.1' 05:10:28 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:10:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:10:29 Dload Upload Total Spent Left Speed 05:10:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97876 [Pipeline] sh 05:10:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:10:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:10:30 + sudo tee /etc/docker/daemon.new 05:10:30 { 05:10:30 "registry-mirrors": [ 05:10:30 "https://nexus3.edgexfoundry.org:10001" 05:10:30 ], 05:10:30 "bip": "10.250.0.254/24", 05:10:30 "hosts": [ 05:10:30 "tcp://0.0.0.0:5555", 05:10:30 "unix:///var/run/docker.sock" 05:10:30 ], 05:10:30 "mtu": 1458, 05:10:30 "selinux-enabled": true, 05:10:30 "seccomp-profile": "/etc/docker/seccomp.json" 05:10:30 } [Pipeline] sh 05:10:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:10:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:49 provisioning config files... 05:10:49 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4628496710561272542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:50 ---> docker-login.sh 05:10:50 nexus3.edgexfoundry.org:10001 05:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:51 Configure a credential helper to remove this warning. See 05:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:51 05:10:51 Login Succeeded 05:10:51 nexus3.edgexfoundry.org:10002 05:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:52 Configure a credential helper to remove this warning. See 05:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:52 05:10:52 Login Succeeded 05:10:52 nexus3.edgexfoundry.org:10003 05:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:52 Configure a credential helper to remove this warning. See 05:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:52 05:10:52 Login Succeeded 05:10:52 nexus3.edgexfoundry.org:10004 05:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:52 Configure a credential helper to remove this warning. See 05:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:52 05:10:52 Login Succeeded 05:10:52 docker.io 05:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:53 Configure a credential helper to remove this warning. See 05:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:53 05:10:53 Login Succeeded 05:10:53 ---> docker-login.sh ends [Pipeline] } 05:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:54 ========================================================= 05:10:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:10:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:10:54 + 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:10:55 Sending build context to Docker daemon 2.734MB 05:10:55 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:10:55 Step 2/12 : FROM ${BASE} AS builder 05:10:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:10:55 9b3977197b4f: Pulling fs layer 05:10:55 1a89e8eeedd5: Pulling fs layer 05:10:55 94645a83ff95: Pulling fs layer 05:10:55 3f3a8bcf1eab: Pulling fs layer 05:10:55 0c92f367c5e7: Pulling fs layer 05:10:55 3096ccb668a1: Pulling fs layer 05:10:55 e8cf19c19ddd: Pulling fs layer 05:10:55 a4caa8a26152: Pulling fs layer 05:10:55 0c92f367c5e7: Waiting 05:10:55 3096ccb668a1: Waiting 05:10:55 e8cf19c19ddd: Waiting 05:10:55 a4caa8a26152: Waiting 05:10:55 3f3a8bcf1eab: Waiting 05:10:55 94645a83ff95: Verifying Checksum 05:10:55 94645a83ff95: Download complete 05:10:55 1a89e8eeedd5: Verifying Checksum 05:10:55 1a89e8eeedd5: Download complete 05:10:55 0c92f367c5e7: Verifying Checksum 05:10:55 0c92f367c5e7: Download complete 05:10:55 3096ccb668a1: Verifying Checksum 05:10:55 3096ccb668a1: Download complete 05:10:55 9b3977197b4f: Verifying Checksum 05:10:55 9b3977197b4f: Download complete 05:10:55 e8cf19c19ddd: Verifying Checksum 05:10:55 e8cf19c19ddd: Download complete 05:10:56 9b3977197b4f: Pull complete 05:10:56 1a89e8eeedd5: Pull complete 05:10:57 94645a83ff95: Pull complete 05:10:57 a4caa8a26152: Download complete 05:10:58 3f3a8bcf1eab: Verifying Checksum 05:10:58 3f3a8bcf1eab: Download complete 05:11:10 3f3a8bcf1eab: Pull complete 05:11:10 0c92f367c5e7: Pull complete 05:11:10 3096ccb668a1: Pull complete 05:11:11 e8cf19c19ddd: Pull complete 05:11:17 a4caa8a26152: Pull complete 05:11:17 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:11:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:11:17 ---> 725f1c02e7f9 05:11:17 Step 3/12 : ARG MAKE='make build' 05:11:18 ---> Running in 7e90796476fd 05:11:19 Removing intermediate container 7e90796476fd 05:11:19 ---> ddc14edb4477 05:11:19 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:11:19 ---> Running in 2209fb73dd0a 05:11:19 Removing intermediate container 2209fb73dd0a 05:11:19 ---> 90f2e0980835 05:11:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:11:19 ---> Running in 995e1dcee5ab 05:11:19 Removing intermediate container 995e1dcee5ab 05:11:19 ---> 4eda8ac7ec21 05:11:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:19 ---> Running in 43c0301b9a5a 05:11:23 Removing intermediate container 43c0301b9a5a 05:11:23 ---> 03b5b68566fa 05:11:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:23 ---> Running in 3bf82c405c84 05:11:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:11:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:11:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:11:26 (2/4) Installing libedit (20210910.3.1-r0) 05:11:26 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:11:26 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:11:26 Executing busybox-1.34.1-r3.trigger 05:11:26 OK: 224 MiB in 56 packages 05:11:27 Removing intermediate container 3bf82c405c84 05:11:27 ---> 86cb1362af01 05:11:27 Step 8/12 : WORKDIR /device-snmp-go 05:11:27 ---> Running in e659263e2f8d 05:11:28 Removing intermediate container e659263e2f8d 05:11:28 ---> c30d136f121d 05:11:28 Step 9/12 : COPY go.mod vendor* ./ 05:11:28 ---> 2013ba5b6df8 05:11:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:28 ---> Running in 8c5550c164bd 05:12:15 Removing intermediate container 8c5550c164bd 05:12:15 ---> 58fde855275d 05:12:15 Step 11/12 : COPY . . 05:12:15 ---> bf8c3eabbc6b 05:12:15 Step 12/12 : RUN ${MAKE} 05:12:15 ---> Running in 2422077efa62 05:12:16 noop 05:12:17 Removing intermediate container 2422077efa62 05:12:17 ---> 439994a67d4b 05:12:17 Successfully built 439994a67d4b 05:12:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:12:17 + docker inspect -f . ci-base-image-arm64 05:12:17 . [Pipeline] withDockerContainer 05:12:17 prd-ubuntu20.04-docker-arm64-4c-16g-21948 does not seem to be running inside a container 05:12:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:12:19 $ docker top c91a80ff794ce45f88ba652799d77a941c547e00d1eddc29daca425bad47ce74 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:20 + go version 05:12:20 go version go1.17.6 linux/arm64 [Pipeline] } 05:12:20 $ docker stop --time=1 c91a80ff794ce45f88ba652799d77a941c547e00d1eddc29daca425bad47ce74 05:12:22 $ docker rm -f c91a80ff794ce45f88ba652799d77a941c547e00d1eddc29daca425bad47ce74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:12:22 + docker inspect -f . ci-base-image-arm64 05:12:22 . [Pipeline] withDockerContainer 05:12:23 prd-ubuntu20.04-docker-arm64-4c-16g-21948 does not seem to be running inside a container 05:12:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:12:24 $ docker top f5bb580f8adfcb8104ead637e15b2c39355d6713be715f298609f1efa31a0658 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:12:25 + make test 05:12:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:12:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:14:04 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:14:04 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 05:14:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:14:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:14:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:19 ./bin/test-attribution-txt.sh [Pipeline] echo 05:14:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:14:22 $ docker stop --time=1 f5bb580f8adfcb8104ead637e15b2c39355d6713be715f298609f1efa31a0658 05:14:24 $ docker rm -f f5bb580f8adfcb8104ead637e15b2c39355d6713be715f298609f1efa31a0658 [Pipeline] // withDockerContainer [Pipeline] sh 05:14:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:14:25 Warning: overwriting stash ‘coverage-report’ 05:14:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:27 + ls -al . 05:14:27 total 180 05:14:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 05:14 . 05:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 05:10 .. 05:14:27 -rw-rw-r-- 1 jenkins jenkins 6 Apr 25 05:10 .dockerignore 05:14:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 05:10 .git 05:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:10 .github 05:14:27 -rw-rw-r-- 1 jenkins jenkins 328 Apr 25 05:10 .gitignore 05:14:27 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 05:10 .golangci.yml 05:14:27 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 25 05:10 Attribution.txt 05:14:27 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 25 05:10 CHANGELOG.md 05:14:27 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 25 05:10 Dockerfile 05:14:27 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 05:10 GOVERNANCE.md 05:14:27 -rw-rw-r-- 1 jenkins jenkins 656 Apr 25 05:10 Jenkinsfile 05:14:27 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 05:10 LICENSE 05:14:27 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 25 05:10 Makefile 05:14:27 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 05:10 OWNERS.md 05:14:27 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 25 05:10 README.md 05:14:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 05:07 VERSION 05:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 05:10 bin 05:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:10 cmd 05:14:27 -rw-r--r-- 1 jenkins jenkins 7631 Apr 25 05:13 coverage.out 05:14:27 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 25 05:10 go.mod 05:14:27 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 25 05:10 go.sum 05:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:10 internal 05:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 05:10 snap 05:14:27 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 05:10 version.go [Pipeline] isUnix [Pipeline] sh 05:14:27 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=040390cf6cab88b0f19735c82e952ec690ed569c --label arch=arm64 --label version=0.0.0 . 05:14:27 Sending build context to Docker daemon 2.742MB 05:14:28 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:14:28 Step 2/24 : FROM ${BASE} AS builder 05:14:28 ---> 439994a67d4b 05:14:28 Step 3/24 : ARG MAKE='make build' 05:14:28 ---> Running in d50cdee47484 05:14:28 Removing intermediate container d50cdee47484 05:14:28 ---> 520dd4ecf430 05:14:28 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:14:28 ---> Running in d856ba0ab851 05:14:28 Removing intermediate container d856ba0ab851 05:14:28 ---> c432aff36c97 05:14:28 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:14:28 ---> Running in 5984722bd9d4 05:14:29 Removing intermediate container 5984722bd9d4 05:14:29 ---> e47b40bba689 05:14:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:14:29 ---> Running in 2b87219abbb4 05:14:31 Removing intermediate container 2b87219abbb4 05:14:31 ---> f2c7bb6abb88 05:14:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:14:31 ---> Running in cc09ff5b66f3 05:14:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:14:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:14:34 OK: 224 MiB in 56 packages 05:14:35 Removing intermediate container cc09ff5b66f3 05:14:35 ---> b97a58995616 05:14:35 Step 8/24 : WORKDIR /device-snmp-go 05:14:35 ---> Running in 0bc38a960472 05:14:35 Removing intermediate container 0bc38a960472 05:14:35 ---> 7eb862d4978c 05:14:35 Step 9/24 : COPY go.mod vendor* ./ 05:14:36 ---> 58f9a59ee0e1 05:14:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:36 ---> Running in 13d53be2bde5 05:14:38 Removing intermediate container 13d53be2bde5 05:14:38 ---> 7d6e711efb01 05:14:38 Step 11/24 : COPY . . 05:14:39 ---> 860d5664abaf 05:14:39 Step 12/24 : RUN ${MAKE} 05:14:39 ---> Running in d56bbadb3bce 05:14:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:17:02 Removing intermediate container d56bbadb3bce 05:17:02 ---> 2bf59a2f281b 05:17:02 Step 13/24 : FROM alpine:3.14 05:17:02 3.14: Pulling from library/alpine 05:17:02 455c02918c45: Pulling fs layer 05:17:02 455c02918c45: Verifying Checksum 05:17:02 455c02918c45: Pull complete 05:17:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:17:02 Status: Downloaded newer image for alpine:3.14 05:17:02 ---> ac73e934f311 05:17:02 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:17:02 ---> Running in eaf92b821d77 05:17:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:17:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:17:02 (1/6) Installing dumb-init (1.2.5-r1) 05:17:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:17:02 (3/6) Installing libsodium (1.0.18-r0) 05:17:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:17:02 (5/6) Installing libzmq (4.3.4-r0) 05:17:02 (6/6) Installing zeromq (4.3.4-r0) 05:17:02 Executing busybox-1.33.1-r7.trigger 05:17:02 OK: 8 MiB in 20 packages 05:17:02 Removing intermediate container eaf92b821d77 05:17:02 ---> a524fd54afdc 05:17:02 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:17:02 ---> 31eb69c168d7 05:17:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:17:02 ---> 3a46fef56bb6 05:17:02 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:17:02 ---> a7e934f6eb79 05:17:02 Step 18/24 : EXPOSE 59993 05:17:02 ---> Running in 9e899874982d 05:17:02 Removing intermediate container 9e899874982d 05:17:02 ---> 6d7191de6f3a 05:17:02 Step 19/24 : EXPOSE 161 05:17:02 ---> Running in 865cb1f890f0 05:17:02 Removing intermediate container 865cb1f890f0 05:17:02 ---> d5c463028e01 05:17:02 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:17:02 ---> Running in 74b4fab7e1ad 05:17:02 Removing intermediate container 74b4fab7e1ad 05:17:02 ---> 9813f13c69e0 05:17:02 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:17:02 ---> Running in 717b3d199ba7 05:17:02 Removing intermediate container 717b3d199ba7 05:17:02 ---> ec3b018024ce 05:17:02 Step 22/24 : LABEL arch=arm64 05:17:02 ---> Running in 544de170a9ca 05:17:02 Removing intermediate container 544de170a9ca 05:17:02 ---> 2edf05967928 05:17:02 Step 23/24 : LABEL git_sha=040390cf6cab88b0f19735c82e952ec690ed569c 05:17:02 ---> Running in ce86b057e6c4 05:17:02 Removing intermediate container ce86b057e6c4 05:17:02 ---> 02c4d0776615 05:17:02 Step 24/24 : LABEL version=0.0.0 05:17:02 ---> Running in ff73ba1a4b12 05:17:02 Removing intermediate container ff73ba1a4b12 05:17:02 ---> 6203c29b977a 05:17:02 [Warning] One or more build-args [ARCH] were not consumed 05:17:02 Successfully built 6203c29b977a 05:17:02 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:03 05:17:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:17:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:03 arm64: Pulling from edgex-lftools-log-publisher 05:17:03 8998bd30e6a1: Pulling fs layer 05:17:03 04944245beec: Pulling fs layer 05:17:03 699f458cf7ca: Pulling fs layer 05:17:03 765212b225bb: Pulling fs layer 05:17:03 f23df028b6ca: Pulling fs layer 05:17:03 d65c8cfc05b1: Pulling fs layer 05:17:04 2437ff75d9bd: Pulling fs layer 05:17:04 765212b225bb: Waiting 05:17:04 f23df028b6ca: Waiting 05:17:04 d65c8cfc05b1: Waiting 05:17:04 2437ff75d9bd: Waiting 05:17:04 04944245beec: Verifying Checksum 05:17:04 04944245beec: Download complete 05:17:04 765212b225bb: Verifying Checksum 05:17:04 765212b225bb: Download complete 05:17:04 f23df028b6ca: Verifying Checksum 05:17:04 f23df028b6ca: Download complete 05:17:04 d65c8cfc05b1: Verifying Checksum 05:17:04 d65c8cfc05b1: Download complete 05:17:04 699f458cf7ca: Verifying Checksum 05:17:04 699f458cf7ca: Download complete 05:17:04 8998bd30e6a1: Download complete 05:17:06 2437ff75d9bd: Verifying Checksum 05:17:06 2437ff75d9bd: Download complete 05:17:09 8998bd30e6a1: Pull complete 05:17:09 04944245beec: Pull complete 05:17:10 699f458cf7ca: Pull complete 05:17:11 765212b225bb: Pull complete 05:17:12 f23df028b6ca: Pull complete 05:17:12 d65c8cfc05b1: Pull complete 05:17:27 2437ff75d9bd: Pull complete 05:17:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:17:27 prd-ubuntu20.04-docker-arm64-4c-16g-21948 does not seem to be running inside a container 05:17:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:17:30 $ docker top 27d32c058ff411763656694cc93dcc23c2d00971feedf309cc61ec421919d18f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:31 ---> job-cost.sh 05:17:31 lf-activate-venv: SKIPPING 05:17:31 INFO: No Stack... 05:17:32 INFO: Retrieving Pricing Info for: v3-standard-4 05:17:32 INFO: Archiving Costs [Pipeline] sh 05:17:33 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:17:33 + cut -d, -f6 [Pipeline] lock 05:17:33 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] 05:17:33 Resource [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] did not exist. Created. 05:17:33 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:17:34 /w/workspace/device-snmp-go/1@tmp/durable-0d074934/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:17:35 + echo total: 0.10999999940395355 [Pipeline] stash 05:17:35 Warning: overwriting stash ‘stack-cost’ 05:17:35 Stashed 1 file(s) [Pipeline] } 05:17:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:17:35 $ docker stop --time=1 27d32c058ff411763656694cc93dcc23c2d00971feedf309cc61ec421919d18f 05:17:36 $ docker rm -f 27d32c058ff411763656694cc93dcc23c2d00971feedf309cc61ec421919d18f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:17:37 provisioning config files... 05:17:37 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config6699352265874620145tmp [Pipeline] { [Pipeline] sh 05:17:38 + set +x 05:17:38 + curl -s https://codecov.io/bash 05:17:38 + bash -s -- 05:17:38 05:17:38 _____ _ 05:17:38 / ____| | | 05:17:38 | | ___ __| | ___ ___ _____ __ 05:17:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:17:38 | |___| (_) | (_| | __/ (_| (_) \ V / 05:17:38 \_____\___/ \__,_|\___|\___\___/ \_/ 05:17:38 Bash-1.0.6 05:17:38 05:17:38 05:17:38 ==> git version 2.25.1 found 05:17:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:17:38 Release-Date: 2020-01-08 05:17:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:17:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:17:38 ==> Jenkins CI detected. 05:17:38 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-158 05:17:38 project root: . 05:17:38 --> token set from env 05:17:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:17:38 ==> Running gcov in . (disable via -X gcov) 05:17:38 ==> Python coveragepy not found 05:17:38 ==> Searching for coverage reports in: 05:17:38 + . 05:17:38 -> Found 1 reports 05:17:38 ==> Detecting git/mercurial file structure 05:17:38 ==> Reading reports 05:17:38 + ./coverage.out bytes=7631 05:17:38 ==> Appending adjustments 05:17:38 https://docs.codecov.io/docs/fixing-reports 05:17:38 + Found adjustments 05:17:38 ==> Gzipping contents 05:17:38 4.0K /tmp/codecov.Szme4s.gz 05:17:38 ==> Uploading reports 05:17:38 url: https://codecov.io 05:17:38 query: branch=PR-158&commit=040390cf6cab88b0f19735c82e952ec690ed569c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=158&job=&cmd_args= 05:17:38 -> Pinging Codecov 05:17:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-158&commit=040390cf6cab88b0f19735c82e952ec690ed569c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=158&job=&cmd_args= 05:17:38 -> Uploading to 05:17:38 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/6C56EA5C29638FB4528AC87E60AF5AE0/040390cf6cab88b0f19735c82e952ec690ed569c/75cac99f-a8a6-42bd-a20c-2176a4ab5410.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T051738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dea68ef63abbfac01d0e42a011033d8225e7977b31526b5208d9f317cb2992db 05:17:38 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:38 Dload Upload Total Spent Left Speed 05:17:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7039 --:--:-- --:--:-- --:--:-- 7070 05:17:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/040390cf6cab88b0f19735c82e952ec690ed569c [Pipeline] } 05:17:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:17:40 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-158/archives ] 05:17:40 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-158/archives 05:17:40 total 16 05:17:40 drwxr-xr-x 3 root root 4096 Apr 25 05:09 . 05:17:40 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 05:09 .. 05:17:40 drwxr-xr-x 2 root root 4096 Apr 25 05:09 cost 05:17:40 -rw-r--r-- 1 root root 85 Apr 25 05:09 cost.csv 05:17:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-158/archives 05:17:40 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-158/archives 05:17:40 total 16 05:17:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 05:09 . 05:17:40 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 05:09 .. 05:17:40 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 05:09 cost 05:17:40 -rw-r--r-- 1 jenkins jenkins 85 Apr 25 05:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:17:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:17:42 ---> package-listing.sh 05:17:42 ++ facter osfamily 05:17:42 ++ tr '[:upper:]' '[:lower:]' 05:17:42 + OS_FAMILY=debian 05:17:42 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-158 05:17:42 + START_PACKAGES=/tmp/packages_start.txt 05:17:42 + END_PACKAGES=/tmp/packages_end.txt 05:17:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:17:42 + PACKAGES=/tmp/packages_start.txt 05:17:42 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-158 ']' 05:17:42 + PACKAGES=/tmp/packages_end.txt 05:17:42 + case "${OS_FAMILY}" in 05:17:42 + dpkg -l 05:17:42 + grep '^ii' 05:17:42 + '[' -f /tmp/packages_start.txt ']' 05:17:42 + '[' -f /tmp/packages_end.txt ']' 05:17:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:17:42 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-158 ']' 05:17:42 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/ 05:17:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/ [Pipeline] echo 05:17:42 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-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:17:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:17:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:17:43 . [Pipeline] withDockerContainer 05:17:43 prd-ubuntu20.04-docker-8c-8g-21945 does not seem to be running inside a container 05:17:43 $ 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-158/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-158 -v /w/workspace/gexfoundry_device-snmp-go_PR-158:/w/workspace/gexfoundry_device-snmp-go_PR-158:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-158@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:17:43 $ docker top 17f16de52c87d417077f46159995d7545ff09afce38005ea36afc1882ec4b829 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:44 + touch /tmp/pre-build-complete [Pipeline] sh 05:17:44 + mkdir -p /var/log/sysstat [Pipeline] sh 05:17:44 + ls /var/log/sa-host 05:17:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:44 provisioning config files... 05:17:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config2231393071571966152tmp [Pipeline] { [Pipeline] echo 05:17:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:17:45 ---> create-netrc.sh [Pipeline] } 05:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:17:45 ---> python-tools-install.sh [Pipeline] echo 05:17:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:17:45 ---> sudo-logs.sh 05:17:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:17:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:17:46 ---> job-cost.sh 05:17:46 lf-activate-venv: SKIPPING 05:17:46 DEBUG: total: 0.2199999988079071 05:17:46 INFO: Retrieving Stack Cost... 05:17:46 INFO: Retrieving Pricing Info for: v3-standard-8 05:17:47 INFO: Archiving Costs [Pipeline] echo 05:17:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:47 ---> logs-deploy.sh 05:17:47 lf-activate-venv: SKIPPING 05:17:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-158/1 05:17:47 INFO: archiving workspace using pattern(s): 05:17:48 Archives upload complete. 05:17:48 INFO: archiving logs to Nexus