Pull request #158 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2992fd062ecc9844183aa8736bdca58e38a282d+9a3dba1396f359ed2da05b9e2de949f9cb839ab1 (ec9c26618ba08879c9798aa6e5b05721bb24b825) 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-ssh9853024609916297315.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-ssh8578912932338338016.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-158/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh10803893874410270033.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 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-ssh15635841913894434321.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-158/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh14693244722707226095.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29877 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit f2992fd062ecc9844183aa8736bdca58e38a282d Merge succeeded, producing f2992fd062ecc9844183aa8736bdca58e38a282d Checking out Revision f2992fd062ecc9844183aa8736bdca58e38a282d (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 f2992fd062ecc9844183aa8736bdca58e38a282d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2992fd062ecc9844183aa8736bdca58e38a282d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:44:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 040390cf6cab88b0f19735c82e952ec690ed569c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:44:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:44:07 ========================================================= 16:44:07 EdgeX Global Pipelines Version Info 16:44:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:44:08 ------------------- 16:44:08 stable info: 16:44:08 ------------------- 16:44:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:44:08 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:44:08 Message: update stable to v1.0.221 16:44:09 ------------------- 16:44:09 experimental info: 16:44:09 ------------------- 16:44:09 Commited By: Emilio Reyes emilio.reyes@intel.com 16:44:09 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 16:44:09 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2992fd [Pipeline] echo 16:44:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:44:09 provisioning config files... 16:44:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config667969069389371008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:09 ---> docker-login.sh 16:44:09 nexus3.edgexfoundry.org:10001 16:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:10 Configure a credential helper to remove this warning. See 16:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:10 16:44:10 Login Succeeded 16:44:10 nexus3.edgexfoundry.org:10002 16:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:10 Configure a credential helper to remove this warning. See 16:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:10 16:44:10 Login Succeeded 16:44:10 nexus3.edgexfoundry.org:10003 16:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:10 Configure a credential helper to remove this warning. See 16:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:10 16:44:10 Login Succeeded 16:44:10 nexus3.edgexfoundry.org:10004 16:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:10 Configure a credential helper to remove this warning. See 16:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:10 16:44:10 Login Succeeded 16:44:10 docker.io 16:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:11 Configure a credential helper to remove this warning. See 16:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:11 16:44:11 Login Succeeded 16:44:11 ---> docker-login.sh ends [Pipeline] } 16:44:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:44:11 + git rev-list -1 --merges f2992fd062ecc9844183aa8736bdca58e38a282d~1..f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo 16:44:11 -----------> git rev-list -1 --merges f2992fd062ecc9844183aa8736bdca58e38a282d~1..f2992fd062ecc9844183aa8736bdca58e38a282d f2992fd062ecc9844183aa8736bdca58e38a282d [false] [Pipeline] sh 16:44:12 + git log --format=format:%s -1 f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo 16:44:12 ========================================================= 16:44:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:44:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:12 + git log --format=format:%s -1 f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] echo 16:44:12 [semverPrep] GIT_COMMIT: f2992fd062ecc9844183aa8736bdca58e38a282d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 16:44:12 [semverPrep] This is not a build commit. [Pipeline] sh 16:44:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:44:13 + grep -v github /etc/ssh/ssh_known_hosts 16:44:13 + [ -e /tmp/ssh_known_hosts ] 16:44:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:44:13 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 16:44:13 -a /etc/ssh/ssh_known_hosts 16:44:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:44:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:44:13 16:44:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:44:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:44:13 latest: Pulling from edgex-devops/git-semver 16:44:13 a0d0a0d46f8b: Pulling fs layer 16:44:13 3e5f54012d9b: Pulling fs layer 16:44:13 4c7163046ea9: Pulling fs layer 16:44:13 0c2d73faf560: Pulling fs layer 16:44:13 0c2d73faf560: Waiting 16:44:13 3e5f54012d9b: Verifying Checksum 16:44:13 3e5f54012d9b: Download complete 16:44:13 a0d0a0d46f8b: Download complete 16:44:14 0c2d73faf560: Verifying Checksum 16:44:14 0c2d73faf560: Download complete 16:44:14 4c7163046ea9: Verifying Checksum 16:44:14 4c7163046ea9: Download complete 16:44:14 a0d0a0d46f8b: Pull complete 16:44:14 3e5f54012d9b: Pull complete 16:44:14 4c7163046ea9: Pull complete 16:44:14 0c2d73faf560: Pull complete 16:44:14 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:44:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:44:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:44:14 prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container 16:44:14 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:44:15 $ docker top b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:44:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:44:15 [ssh-agent] Looking for ssh-agent implementation... 16:44:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:44:15 $ docker exec b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent 16:44:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPNONah/agent.15 16:44:15 SSH_AGENT_PID=21 16:44:15 Running ssh-add (command line suppressed) 16:44:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_75837781659660786.key (/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_75837781659660786.key) 16:44:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:44:16 + git tag --points-at HEAD [Pipeline] } 16:44:16 $ docker exec --env ******** --env ******** b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent -k 16:44:16 unset SSH_AUTH_SOCK; 16:44:16 unset SSH_AGENT_PID; 16:44:16 echo Agent pid 21 killed; 16:44:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:44:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:44:16 [ssh-agent] Looking for ssh-agent implementation... 16:44:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:44:16 $ docker exec b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent 16:44:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOdiKoN/agent.56 16:44:16 SSH_AGENT_PID=63 16:44:16 Running ssh-add (command line suppressed) 16:44:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_4096905819026161804.key (/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/private_key_4096905819026161804.key) 16:44:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:44:17 + git semver init 16:44:17 # -> Open(): unable to determine branch for HEAD 16:44:17 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-158/.git 16:44:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-158 16:44:17 # $SEMVER_REMOTE_NAME = origin 16:44:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:44:17 # $SEMVER_USER_NAME = edgex-jenkins 16:44:17 # $SEMVER_BRANCH = PR-158 16:44:17 # $SEMVER_TEMP = /tmp/semver-040520344 16:44:17 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 16:44:18 # '/tmp/semver-040520344' -> '/w/workspace/gexfoundry_device-snmp-go_PR-158/.semver' 16:44:18 # -> Force: false 16:44:18 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-158/.semver [Pipeline] } 16:44:18 $ docker exec --env ******** --env ******** b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b ssh-agent -k 16:44:18 unset SSH_AUTH_SOCK; 16:44:18 unset SSH_AGENT_PID; 16:44:18 echo Agent pid 63 killed; 16:44:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:44:18 + git semver [Pipeline] } 16:44:18 $ docker stop --time=1 b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b 16:44:20 $ docker rm -f b29430b3baba1d2f7a8cdd4bf09e52d04d70feecc43f0e4a8bb17b943b48ff6b [Pipeline] // withDockerContainer [Pipeline] sh 16:44:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:44:20 Stashed 1 file(s) [Pipeline] echo 16:44:20 [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 16:44:20 provisioning config files... 16:44:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config7408547872082181491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:21 ---> docker-login.sh 16:44:21 nexus3.edgexfoundry.org:10001 16:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:21 Configure a credential helper to remove this warning. See 16:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:21 16:44:21 Login Succeeded 16:44:21 nexus3.edgexfoundry.org:10002 16:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:21 Configure a credential helper to remove this warning. See 16:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:21 16:44:21 Login Succeeded 16:44:21 nexus3.edgexfoundry.org:10003 16:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:21 Configure a credential helper to remove this warning. See 16:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:21 16:44:21 Login Succeeded 16:44:21 nexus3.edgexfoundry.org:10004 16:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:21 Configure a credential helper to remove this warning. See 16:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:21 16:44:21 Login Succeeded 16:44:21 docker.io 16:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:21 Configure a credential helper to remove this warning. See 16:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:21 16:44:21 Login Succeeded 16:44:21 ---> docker-login.sh ends [Pipeline] } 16:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:44:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:44:22 ========================================================= 16:44:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:44:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:44:22 + 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 . 16:44:22 Sending build context to Docker daemon 5.271MB 16:44:22 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:44:22 Step 2/12 : FROM ${BASE} AS builder 16:44:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:44:22 59bf1c3509f3: Pulling fs layer 16:44:22 666ba61612fd: Pulling fs layer 16:44:22 8ed8ca486205: Pulling fs layer 16:44:22 4fe6c5a15a65: Pulling fs layer 16:44:22 22a0e8bec74d: Pulling fs layer 16:44:22 ca2b28591e48: Pulling fs layer 16:44:22 a51346096db8: Pulling fs layer 16:44:22 daebc70d1ce1: Pulling fs layer 16:44:22 0e18a0eac166: Pulling fs layer 16:44:22 4fe6c5a15a65: Waiting 16:44:22 22a0e8bec74d: Waiting 16:44:22 ca2b28591e48: Waiting 16:44:22 a51346096db8: Waiting 16:44:22 daebc70d1ce1: Waiting 16:44:22 0e18a0eac166: Waiting 16:44:22 8ed8ca486205: Verifying Checksum 16:44:22 666ba61612fd: Verifying Checksum 16:44:22 666ba61612fd: Download complete 16:44:22 22a0e8bec74d: Download complete 16:44:22 ca2b28591e48: Download complete 16:44:22 59bf1c3509f3: Verifying Checksum 16:44:22 59bf1c3509f3: Download complete 16:44:22 a51346096db8: Verifying Checksum 16:44:22 a51346096db8: Download complete 16:44:22 daebc70d1ce1: Verifying Checksum 16:44:22 daebc70d1ce1: Download complete 16:44:22 59bf1c3509f3: Pull complete 16:44:22 666ba61612fd: Pull complete 16:44:22 8ed8ca486205: Pull complete 16:44:23 0e18a0eac166: Verifying Checksum 16:44:23 0e18a0eac166: Download complete 16:44:23 4fe6c5a15a65: Verifying Checksum 16:44:23 4fe6c5a15a65: Download complete 16:44:27 4fe6c5a15a65: Pull complete 16:44:27 22a0e8bec74d: Pull complete 16:44:27 ca2b28591e48: Pull complete 16:44:27 a51346096db8: Pull complete 16:44:27 daebc70d1ce1: Pull complete 16:44:29 0e18a0eac166: Pull complete 16:44:29 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:44:29 ---> f018257e8ee9 16:44:29 Step 3/12 : ARG MAKE='make build' 16:44:32 ---> Running in 244fc55e8641 16:44:32 Removing intermediate container 244fc55e8641 16:44:32 ---> 6b0e673da378 16:44:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:44:32 ---> Running in ca2f404a8f9c 16:44:32 Removing intermediate container ca2f404a8f9c 16:44:32 ---> 6cbd517faf93 16:44:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:44:32 ---> Running in 646bfe62d023 16:44:32 Removing intermediate container 646bfe62d023 16:44:32 ---> ab8e86c7969b 16:44:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:44:32 ---> Running in c2e91fe859a8 16:44:33 Removing intermediate container c2e91fe859a8 16:44:33 ---> 9b394c3203c8 16:44:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:44:33 ---> Running in 9f6d4f746e34 16:44:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:44:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:44:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:44:35 (2/4) Installing libedit (20210910.3.1-r0) 16:44:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:44:35 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:44:35 Executing busybox-1.34.1-r3.trigger 16:44:35 OK: 224 MiB in 56 packages 16:44:35 Still waiting to schedule task 16:44:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-29903’ is offline 16:44:36 Removing intermediate container 9f6d4f746e34 16:44:36 ---> 252bdda36dca 16:44:36 Step 8/12 : WORKDIR /device-snmp-go 16:44:36 ---> Running in 8ad5f5a9ae84 16:44:36 Removing intermediate container 8ad5f5a9ae84 16:44:36 ---> 0e37dbf425b4 16:44:36 Step 9/12 : COPY go.mod vendor* ./ 16:44:36 ---> d8ae9497d507 16:44:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:44:36 ---> Running in bdeba1e12676 16:44:51 Removing intermediate container bdeba1e12676 16:44:51 ---> 69190dd245f6 16:44:51 Step 11/12 : COPY . . 16:44:51 ---> 3d97203cd623 16:44:51 Step 12/12 : RUN ${MAKE} 16:44:51 ---> Running in a95d8e6a6e30 16:44:51 noop 16:44:51 Removing intermediate container a95d8e6a6e30 16:44:51 ---> 2b25324af1ef 16:44:51 Successfully built 2b25324af1ef 16:44:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:44:52 + docker inspect -f . ci-base-image-x86_64 16:44:52 . [Pipeline] withDockerContainer 16:44:52 prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container 16:44:52 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:44:52 $ docker top d86bfe95267d3b257bdac4f1ffc6fe5436edded6ea17763c6ffba94fb4799e18 -eo pid,comm [Pipeline] { [Pipeline] sh 16:44:52 + go version 16:44:52 go version go1.17.6 linux/amd64 [Pipeline] } 16:44:52 $ docker stop --time=1 d86bfe95267d3b257bdac4f1ffc6fe5436edded6ea17763c6ffba94fb4799e18 16:44:54 $ docker rm -f d86bfe95267d3b257bdac4f1ffc6fe5436edded6ea17763c6ffba94fb4799e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:44:54 + docker inspect -f . ci-base-image-x86_64 16:44:54 . [Pipeline] withDockerContainer 16:44:54 prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container 16:44:54 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:44:55 $ docker top 5a85fe5afeb7422c323e40e9bf33d248783f94166c7c3fc787988b7cb5520c29 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:44:55 + make test 16:44:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:44:55 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:45:05 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:45:05 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 16:45:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:45:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:45:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:45:15 ./bin/test-attribution-txt.sh [Pipeline] echo 16:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:45:15 $ docker stop --time=1 5a85fe5afeb7422c323e40e9bf33d248783f94166c7c3fc787988b7cb5520c29 16:45:17 $ docker rm -f 5a85fe5afeb7422c323e40e9bf33d248783f94166c7c3fc787988b7cb5520c29 [Pipeline] // withDockerContainer [Pipeline] sh 16:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:45:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:45:19 + ls -al . 16:45:19 total 184 16:45:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:45 . 16:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:44 .. 16:45:19 -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 16:44 .dockerignore 16:45:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:44 .git 16:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 .github 16:45:19 -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 16:44 .gitignore 16:45:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:44 .golangci.yml 16:45:19 drwx------ 3 jenkins jenkins 4096 Apr 26 16:44 .semver 16:45:19 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 16:44 Attribution.txt 16:45:19 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 16:44 CHANGELOG.md 16:45:19 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 16:44 Dockerfile 16:45:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:44 GOVERNANCE.md 16:45:19 -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 16:44 Jenkinsfile 16:45:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:44 LICENSE 16:45:19 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 16:44 Makefile 16:45:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:44 OWNERS.md 16:45:19 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 16:44 README.md 16:45:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 16:44 VERSION 16:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:44 bin 16:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 cmd 16:45:19 -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 16:45 coverage.out 16:45:19 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 16:44 go.mod 16:45:19 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 26 16:44 go.sum 16:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 internal 16:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:44 snap 16:45:19 -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 16:44 version.go [Pipeline] isUnix [Pipeline] sh 16:45:19 + 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=f2992fd062ecc9844183aa8736bdca58e38a282d --label arch=amd64 --label version=0.0.0 . 16:45:19 Sending build context to Docker daemon 5.279MB 16:45:19 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:45:19 Step 2/24 : FROM ${BASE} AS builder 16:45:19 ---> 2b25324af1ef 16:45:19 Step 3/24 : ARG MAKE='make build' 16:45:19 ---> Running in a5f31347eaf7 16:45:19 Removing intermediate container a5f31347eaf7 16:45:19 ---> 0f0eeabbd096 16:45:19 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:45:19 ---> Running in b649fe0e2b82 16:45:19 Removing intermediate container b649fe0e2b82 16:45:19 ---> 41f9b0fb0d95 16:45:19 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:45:19 ---> Running in 27ade70036ba 16:45:20 Removing intermediate container 27ade70036ba 16:45:20 ---> a2374cd47a05 16:45:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:45:20 ---> Running in a32ec6cde8eb 16:45:21 Removing intermediate container a32ec6cde8eb 16:45:21 ---> 2890c55fb0c8 16:45:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:45:21 ---> Running in eb8177502490 16:45:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:45:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:45:22 OK: 224 MiB in 56 packages 16:45:22 Removing intermediate container eb8177502490 16:45:22 ---> 8713a9f45159 16:45:22 Step 8/24 : WORKDIR /device-snmp-go 16:45:22 ---> Running in fc0ba82c0a84 16:45:22 Removing intermediate container fc0ba82c0a84 16:45:22 ---> 8d243c770274 16:45:22 Step 9/24 : COPY go.mod vendor* ./ 16:45:22 ---> 4362be41d6b7 16:45:22 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:45:22 ---> Running in 51f7cad6a6c3 16:45:23 Removing intermediate container 51f7cad6a6c3 16:45:23 ---> a0e373037856 16:45:23 Step 11/24 : COPY . . 16:45:23 ---> cc6c1b4d3f9a 16:45:23 Step 12/24 : RUN ${MAKE} 16:45:23 ---> Running in 9770db8874c5 16:45:24 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 16:45:46 Removing intermediate container 9770db8874c5 16:45:46 ---> 0847653bc8ff 16:45:46 Step 13/24 : FROM alpine:3.14 16:45:46 3.14: Pulling from library/alpine 16:45:46 8663204ce13b: Pulling fs layer 16:45:46 8663204ce13b: Verifying Checksum 16:45:46 8663204ce13b: Download complete 16:45:46 8663204ce13b: Pull complete 16:45:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:45:46 Status: Downloaded newer image for alpine:3.14 16:45:46 ---> e04c818066af 16:45:46 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:45:46 ---> Running in 70366c0e4722 16:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:45:46 (1/6) Installing dumb-init (1.2.5-r1) 16:45:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:45:46 (3/6) Installing libsodium (1.0.18-r0) 16:45:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:45:46 (5/6) Installing libzmq (4.3.4-r0) 16:45:46 (6/6) Installing zeromq (4.3.4-r0) 16:45:46 Executing busybox-1.33.1-r7.trigger 16:45:46 OK: 8 MiB in 20 packages 16:45:46 Removing intermediate container 70366c0e4722 16:45:46 ---> aede6ab0f084 16:45:46 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:45:47 ---> b63e92b6e12e 16:45:47 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:45:47 ---> f84dd70a639e 16:45:47 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:45:47 ---> 666b0ee6b1bc 16:45:47 Step 18/24 : EXPOSE 59993 16:45:47 ---> Running in 887ef3e3999f 16:45:47 Removing intermediate container 887ef3e3999f 16:45:47 ---> 11e09601911a 16:45:47 Step 19/24 : EXPOSE 161 16:45:47 ---> Running in 93d2f9dd81e2 16:45:47 Removing intermediate container 93d2f9dd81e2 16:45:47 ---> 5bc6fdc40823 16:45:47 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:45:47 ---> Running in 18f5ba662bb7 16:45:47 Removing intermediate container 18f5ba662bb7 16:45:47 ---> 74ae1c5217bd 16:45:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:45:47 ---> Running in b1cbc44f45a4 16:45:47 Removing intermediate container b1cbc44f45a4 16:45:47 ---> ff464b086888 16:45:47 Step 22/24 : LABEL arch=amd64 16:45:47 ---> Running in 93635c59ead8 16:45:48 Removing intermediate container 93635c59ead8 16:45:48 ---> bd6ddd4014c6 16:45:48 Step 23/24 : LABEL git_sha=f2992fd062ecc9844183aa8736bdca58e38a282d 16:45:48 ---> Running in 2ed288fb0ed6 16:45:48 Removing intermediate container 2ed288fb0ed6 16:45:48 ---> c2235e9a86da 16:45:48 Step 24/24 : LABEL version=0.0.0 16:45:48 ---> Running in 6c478a59c1e3 16:45:48 Removing intermediate container 6c478a59c1e3 16:45:48 ---> 8bac889baccc 16:45:48 [Warning] One or more build-args [ARCH] were not consumed 16:45:48 Successfully built 8bac889baccc 16:45:48 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 16:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:45:48 16:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:45:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:45:49 latest: Pulling from edgex-lftools-log-publisher 16:45:49 5eb5b503b376: Pulling fs layer 16:45:49 5c69ac0246d0: Pulling fs layer 16:45:49 ec43610c2a17: Pulling fs layer 16:45:49 3a2ae6a8a46f: Pulling fs layer 16:45:49 33b1e0a273af: Pulling fs layer 16:45:49 5d3b04190fa2: Pulling fs layer 16:45:49 2f39f015ded8: Pulling fs layer 16:45:49 33b1e0a273af: Waiting 16:45:49 5d3b04190fa2: Waiting 16:45:49 2f39f015ded8: Waiting 16:45:49 5c69ac0246d0: Verifying Checksum 16:45:49 5c69ac0246d0: Download complete 16:45:49 3a2ae6a8a46f: Verifying Checksum 16:45:49 3a2ae6a8a46f: Download complete 16:45:49 33b1e0a273af: Verifying Checksum 16:45:49 33b1e0a273af: Download complete 16:45:49 5d3b04190fa2: Verifying Checksum 16:45:49 5d3b04190fa2: Download complete 16:45:49 ec43610c2a17: Verifying Checksum 16:45:49 ec43610c2a17: Download complete 16:45:49 5eb5b503b376: Verifying Checksum 16:45:49 5eb5b503b376: Download complete 16:45:50 2f39f015ded8: Download complete 16:45:50 5eb5b503b376: Pull complete 16:45:50 5c69ac0246d0: Pull complete 16:45:51 ec43610c2a17: Pull complete 16:45:51 3a2ae6a8a46f: Pull complete 16:45:51 33b1e0a273af: Pull complete 16:45:51 5d3b04190fa2: Pull complete 16:45:55 2f39f015ded8: Pull complete 16:45:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:45:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:45:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:45:55 prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container 16:45:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:45:57 $ docker top 482b84647257429ce1fce0e3c98bb17f79364c62304d47cb58894ef1a8ae40f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:58 ---> job-cost.sh 16:45:58 lf-activate-venv: SKIPPING 16:45:58 INFO: No Stack... 16:45:58 INFO: Retrieving Pricing Info for: v3-standard-8 16:45:59 INFO: Archiving Costs [Pipeline] sh 16:45:59 + cat /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/cost.csv 16:45:59 + cut -d, -f6 [Pipeline] lock 16:45:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] 16:45:59 Resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] did not exist. Created. 16:45:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:45:59 + echo total: 0.2199999988079071 [Pipeline] stash 16:45:59 Stashed 1 file(s) [Pipeline] } 16:45:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:45:59 $ docker stop --time=1 482b84647257429ce1fce0e3c98bb17f79364c62304d47cb58894ef1a8ae40f5 16:46:01 $ docker rm -f 482b84647257429ce1fce0e3c98bb17f79364c62304d47cb58894ef1a8ae40f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:34:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33011 in /w/workspace/gexfoundry_device-snmp-go_PR-158 [Pipeline] { [Pipeline] ws 17:34:51 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 17:34:52 Selected Git installation does not exist. Using Default 17:34:52 The recommended git tool is: NONE 17:34:57 using credential edgex-jenkins-ssh 17:34:57 Cloning the remote Git repository 17:34:57 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 17:34:57 > git init /w/workspace/device-snmp-go/3 # timeout=10 17:34:57 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:34:57 > git --version # timeout=10 17:34:57 > git --version # 'git version 2.25.1' 17:34:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:34:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:59 Merging remotes/origin/main commit 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit f2992fd062ecc9844183aa8736bdca58e38a282d 17:34:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:34:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:34:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:34:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:34:58 > 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 17:34:59 > git config core.sparsecheckout # timeout=10 17:34:59 > git checkout -f f2992fd062ecc9844183aa8736bdca58e38a282d # timeout=10 17:34:59 > git remote # timeout=10 17:34:59 > git config --get remote.origin.url # timeout=10 17:34:59 using GIT_SSH to set credentials SSH Credentials for GitHub 17:34:59 > git merge 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 17:34:59 Merge succeeded, producing f2992fd062ecc9844183aa8736bdca58e38a282d 17:34:59 Checking out Revision f2992fd062ecc9844183aa8736bdca58e38a282d (PR-158) 17:34:59 > git rev-parse HEAD^{commit} # timeout=10 17:34:59 > git config core.sparsecheckout # timeout=10 17:34:59 > git checkout -f f2992fd062ecc9844183aa8736bdca58e38a282d # timeout=10 17:35:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:35:04 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:04 Dload Upload Total Spent Left Speed 17:35:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 17:35:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:35:05 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:35:05 sudo tee /etc/docker/daemon.new 17:35:05 { 17:35:05 "registry-mirrors": [ 17:35:05 "https://nexus3.edgexfoundry.org:10001" 17:35:05 ], 17:35:05 "bip": "10.250.0.254/24", 17:35:05 "hosts": [ 17:35:05 "tcp://0.0.0.0:5555", 17:35:05 "unix:///var/run/docker.sock" 17:35:05 ], 17:35:05 "mtu": 1458, 17:35:05 "selinux-enabled": true, 17:35:05 "seccomp-profile": "/etc/docker/seccomp.json" 17:35:05 } [Pipeline] sh 17:35:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:35:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:24 provisioning config files... 17:35:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config6292347305135484884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:25 ---> docker-login.sh 17:35:25 nexus3.edgexfoundry.org:10001 17:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:26 Configure a credential helper to remove this warning. See 17:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:26 17:35:26 Login Succeeded 17:35:26 nexus3.edgexfoundry.org:10002 17:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:26 Configure a credential helper to remove this warning. See 17:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:26 17:35:26 Login Succeeded 17:35:26 nexus3.edgexfoundry.org:10003 17:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:27 Configure a credential helper to remove this warning. See 17:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:27 17:35:27 Login Succeeded 17:35:27 nexus3.edgexfoundry.org:10004 17:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:27 Configure a credential helper to remove this warning. See 17:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:27 17:35:27 Login Succeeded 17:35:27 docker.io 17:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:28 Configure a credential helper to remove this warning. See 17:35:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:28 17:35:28 Login Succeeded 17:35:28 ---> docker-login.sh ends [Pipeline] } 17:35:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:35:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:29 ========================================================= 17:35:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:35:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:35:29 + 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 . 17:35:29 Sending build context to Docker daemon 2.741MB 17:35:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:35:29 Step 2/12 : FROM ${BASE} AS builder 17:35:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:35:30 9b3977197b4f: Pulling fs layer 17:35:30 1a89e8eeedd5: Pulling fs layer 17:35:30 94645a83ff95: Pulling fs layer 17:35:30 3f3a8bcf1eab: Pulling fs layer 17:35:30 0c92f367c5e7: Pulling fs layer 17:35:30 3096ccb668a1: Pulling fs layer 17:35:30 e8cf19c19ddd: Pulling fs layer 17:35:30 a4caa8a26152: Pulling fs layer 17:35:30 3f3a8bcf1eab: Waiting 17:35:30 3096ccb668a1: Waiting 17:35:30 0c92f367c5e7: Waiting 17:35:30 e8cf19c19ddd: Waiting 17:35:30 94645a83ff95: Download complete 17:35:30 1a89e8eeedd5: Verifying Checksum 17:35:30 1a89e8eeedd5: Download complete 17:35:30 0c92f367c5e7: Verifying Checksum 17:35:30 0c92f367c5e7: Download complete 17:35:30 3096ccb668a1: Verifying Checksum 17:35:30 3096ccb668a1: Download complete 17:35:30 9b3977197b4f: Verifying Checksum 17:35:30 9b3977197b4f: Download complete 17:35:30 e8cf19c19ddd: Verifying Checksum 17:35:30 e8cf19c19ddd: Download complete 17:35:31 9b3977197b4f: Pull complete 17:35:31 1a89e8eeedd5: Pull complete 17:35:31 94645a83ff95: Pull complete 17:35:32 a4caa8a26152: Download complete 17:35:32 3f3a8bcf1eab: Verifying Checksum 17:35:32 3f3a8bcf1eab: Download complete 17:35:45 3f3a8bcf1eab: Pull complete 17:35:45 0c92f367c5e7: Pull complete 17:35:45 3096ccb668a1: Pull complete 17:35:46 e8cf19c19ddd: Pull complete 17:35:52 a4caa8a26152: Pull complete 17:35:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:35:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:35:52 ---> 725f1c02e7f9 17:35:52 Step 3/12 : ARG MAKE='make build' 17:35:54 ---> Running in 9dfb6e8debb4 17:35:54 Removing intermediate container 9dfb6e8debb4 17:35:54 ---> 7cb5b7364944 17:35:54 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:35:54 ---> Running in 8f67719fbbc8 17:35:55 Removing intermediate container 8f67719fbbc8 17:35:55 ---> 4efc4045a764 17:35:55 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:35:55 ---> Running in 154b57570251 17:35:55 Removing intermediate container 154b57570251 17:35:55 ---> 7bd3baba1792 17:35:55 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:35:55 ---> Running in 74aa408919dc 17:35:57 Removing intermediate container 74aa408919dc 17:35:57 ---> 9bd38a2e4ef8 17:35:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:57 ---> Running in 603f6774c420 17:35:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:35:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:36:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:36:00 (2/4) Installing libedit (20210910.3.1-r0) 17:36:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:36:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:36:00 Executing busybox-1.34.1-r3.trigger 17:36:00 OK: 224 MiB in 56 packages 17:36:01 Removing intermediate container 603f6774c420 17:36:01 ---> 9ec4fd7c2f59 17:36:01 Step 8/12 : WORKDIR /device-snmp-go 17:36:01 ---> Running in b361afa2f1e2 17:36:02 Removing intermediate container b361afa2f1e2 17:36:02 ---> aee5d1bdab48 17:36:02 Step 9/12 : COPY go.mod vendor* ./ 17:36:02 ---> 327a213bb346 17:36:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:02 ---> Running in 8023c3952b4d 17:36:49 Removing intermediate container 8023c3952b4d 17:36:49 ---> a259292d3388 17:36:49 Step 11/12 : COPY . . 17:36:49 ---> fff813d946a8 17:36:49 Step 12/12 : RUN ${MAKE} 17:36:49 ---> Running in 6cc856654f91 17:36:49 noop 17:36:49 Removing intermediate container 6cc856654f91 17:36:49 ---> 33f1107b8fc8 17:36:49 Successfully built 33f1107b8fc8 17:36:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:36:50 + docker inspect -f . ci-base-image-arm64 17:36:50 . [Pipeline] withDockerContainer 17:36:50 prd-ubuntu20.04-docker-arm64-4c-16g-33011 does not seem to be running inside a container 17:36:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:36:51 $ docker top f837ee7d4448d7dc45a1cb4cabcd4d32cfc2d9e29e73ae751af766d17cea806e -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:52 + go version 17:36:52 go version go1.17.6 linux/arm64 [Pipeline] } 17:36:52 $ docker stop --time=1 f837ee7d4448d7dc45a1cb4cabcd4d32cfc2d9e29e73ae751af766d17cea806e 17:36:54 $ docker rm -f f837ee7d4448d7dc45a1cb4cabcd4d32cfc2d9e29e73ae751af766d17cea806e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:36:54 + docker inspect -f . ci-base-image-arm64 17:36:54 . [Pipeline] withDockerContainer 17:36:55 prd-ubuntu20.04-docker-arm64-4c-16g-33011 does not seem to be running inside a container 17:36:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:36:56 $ docker top 03e8e5cf19ed760f20d4326eb0beeaa8e54048c75a6f343e9629ec10ef324557 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:36:57 + make test 17:36:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:36:58 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:38:20 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:38:20 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 17:38:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:38:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:38:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:38:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:38:42 ./bin/test-attribution-txt.sh [Pipeline] echo 17:38:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:38:42 $ docker stop --time=1 03e8e5cf19ed760f20d4326eb0beeaa8e54048c75a6f343e9629ec10ef324557 17:38:44 $ docker rm -f 03e8e5cf19ed760f20d4326eb0beeaa8e54048c75a6f343e9629ec10ef324557 [Pipeline] // withDockerContainer [Pipeline] sh 17:38:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:38:45 Warning: overwriting stash ‘coverage-report’ 17:38:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:38:47 + ls -al . 17:38:47 total 180 17:38:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:38 . 17:38:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:34 .. 17:38:47 -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 17:34 .dockerignore 17:38:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:35 .git 17:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 .github 17:38:47 -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 17:34 .gitignore 17:38:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 17:34 .golangci.yml 17:38:47 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 17:34 Attribution.txt 17:38:47 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 17:34 CHANGELOG.md 17:38:47 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 17:34 Dockerfile 17:38:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 17:34 GOVERNANCE.md 17:38:47 -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 17:34 Jenkinsfile 17:38:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 17:34 LICENSE 17:38:47 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 17:34 Makefile 17:38:47 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 17:34 OWNERS.md 17:38:47 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 17:34 README.md 17:38:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 16:44 VERSION 17:38:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:34 bin 17:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 cmd 17:38:47 -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 17:38 coverage.out 17:38:47 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 17:34 go.mod 17:38:47 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 26 17:34 go.sum 17:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 internal 17:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:34 snap 17:38:47 -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 17:34 version.go [Pipeline] isUnix [Pipeline] sh 17:38:47 + 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=f2992fd062ecc9844183aa8736bdca58e38a282d --label arch=arm64 --label version=0.0.0 . 17:38:47 Sending build context to Docker daemon 2.749MB 17:38:47 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 17:38:47 Step 2/24 : FROM ${BASE} AS builder 17:38:47 ---> 33f1107b8fc8 17:38:47 Step 3/24 : ARG MAKE='make build' 17:38:47 ---> Running in ed146ad1afe2 17:38:48 Removing intermediate container ed146ad1afe2 17:38:48 ---> 06a1aca70acf 17:38:48 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:38:48 ---> Running in 66256db24a9e 17:38:48 Removing intermediate container 66256db24a9e 17:38:48 ---> 7cb9fd715327 17:38:48 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 17:38:48 ---> Running in c8d550b67417 17:38:49 Removing intermediate container c8d550b67417 17:38:49 ---> 5de5d72398fc 17:38:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:38:49 ---> Running in 9a92ee36d9dd 17:38:51 Removing intermediate container 9a92ee36d9dd 17:38:51 ---> a716a0b827f9 17:38:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:51 ---> Running in 638362f17756 17:38:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:38:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:38:53 OK: 224 MiB in 56 packages 17:38:54 Removing intermediate container 638362f17756 17:38:54 ---> 0d1fb1564ed8 17:38:54 Step 8/24 : WORKDIR /device-snmp-go 17:38:54 ---> Running in b8d9a0585acf 17:38:54 Removing intermediate container b8d9a0585acf 17:38:54 ---> d1b13b63e879 17:38:54 Step 9/24 : COPY go.mod vendor* ./ 17:38:55 ---> a6779116f6cf 17:38:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:55 ---> Running in 2b9599ebe880 17:38:57 Removing intermediate container 2b9599ebe880 17:38:57 ---> 31475503ae34 17:38:57 Step 11/24 : COPY . . 17:38:58 ---> 2909ca9d484d 17:38:58 Step 12/24 : RUN ${MAKE} 17:38:58 ---> Running in d22ddd9b9199 17:38:59 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 17:41:06 Removing intermediate container d22ddd9b9199 17:41:06 ---> 2e8e8dac9378 17:41:06 Step 13/24 : FROM alpine:3.14 17:41:06 3.14: Pulling from library/alpine 17:41:06 455c02918c45: Pulling fs layer 17:41:06 455c02918c45: Verifying Checksum 17:41:06 455c02918c45: Download complete 17:41:06 455c02918c45: Pull complete 17:41:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:41:06 Status: Downloaded newer image for alpine:3.14 17:41:06 ---> ac73e934f311 17:41:06 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 17:41:06 ---> Running in ba4ccb84c0d7 17:41:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:41:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:41:06 (1/6) Installing dumb-init (1.2.5-r1) 17:41:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:41:06 (3/6) Installing libsodium (1.0.18-r0) 17:41:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:41:06 (5/6) Installing libzmq (4.3.4-r0) 17:41:06 (6/6) Installing zeromq (4.3.4-r0) 17:41:06 Executing busybox-1.33.1-r7.trigger 17:41:06 OK: 8 MiB in 20 packages 17:41:06 Removing intermediate container ba4ccb84c0d7 17:41:06 ---> 32a79d8f30ac 17:41:06 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:41:06 ---> 5e249948b1f0 17:41:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:41:06 ---> a01a9fa21d76 17:41:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:41:06 ---> 39a1ba51d953 17:41:06 Step 18/24 : EXPOSE 59993 17:41:07 ---> Running in 2372ad916617 17:41:07 Removing intermediate container 2372ad916617 17:41:07 ---> 0001ad9d21a7 17:41:07 Step 19/24 : EXPOSE 161 17:41:07 ---> Running in fd8e1b827aa0 17:41:07 Removing intermediate container fd8e1b827aa0 17:41:07 ---> 2e372bc56fd0 17:41:07 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:41:07 ---> Running in f9f97af6a7a4 17:41:08 Removing intermediate container f9f97af6a7a4 17:41:08 ---> 5c1245602ba2 17:41:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:41:08 ---> Running in 1dc63c538679 17:41:08 Removing intermediate container 1dc63c538679 17:41:08 ---> e281cb8b01e2 17:41:08 Step 22/24 : LABEL arch=arm64 17:41:08 ---> Running in 8f532ae1b2a4 17:41:08 Removing intermediate container 8f532ae1b2a4 17:41:08 ---> e87c46d2198b 17:41:08 Step 23/24 : LABEL git_sha=f2992fd062ecc9844183aa8736bdca58e38a282d 17:41:09 ---> Running in 1bc1e6079bf9 17:41:09 Removing intermediate container 1bc1e6079bf9 17:41:09 ---> ff96f3152fef 17:41:09 Step 24/24 : LABEL version=0.0.0 17:41:09 ---> Running in ad989839213f 17:41:09 Removing intermediate container ad989839213f 17:41:09 ---> e8cd9fea9950 17:41:09 [Warning] One or more build-args [ARCH] were not consumed 17:41:09 Successfully built e8cd9fea9950 17:41:09 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 17:41:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:10 17:41:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:41:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:10 arm64: Pulling from edgex-lftools-log-publisher 17:41:10 8998bd30e6a1: Pulling fs layer 17:41:10 04944245beec: Pulling fs layer 17:41:10 699f458cf7ca: Pulling fs layer 17:41:10 765212b225bb: Pulling fs layer 17:41:10 f23df028b6ca: Pulling fs layer 17:41:10 d65c8cfc05b1: Pulling fs layer 17:41:10 2437ff75d9bd: Pulling fs layer 17:41:10 765212b225bb: Waiting 17:41:10 f23df028b6ca: Waiting 17:41:10 d65c8cfc05b1: Waiting 17:41:10 2437ff75d9bd: Waiting 17:41:10 04944245beec: Verifying Checksum 17:41:10 04944245beec: Download complete 17:41:10 765212b225bb: Verifying Checksum 17:41:10 765212b225bb: Download complete 17:41:10 f23df028b6ca: Verifying Checksum 17:41:10 f23df028b6ca: Download complete 17:41:10 d65c8cfc05b1: Verifying Checksum 17:41:10 d65c8cfc05b1: Download complete 17:41:10 699f458cf7ca: Verifying Checksum 17:41:10 699f458cf7ca: Download complete 17:41:11 8998bd30e6a1: Verifying Checksum 17:41:11 8998bd30e6a1: Download complete 17:41:13 2437ff75d9bd: Verifying Checksum 17:41:13 2437ff75d9bd: Download complete 17:41:15 8998bd30e6a1: Pull complete 17:41:16 04944245beec: Pull complete 17:41:17 699f458cf7ca: Pull complete 17:41:17 765212b225bb: Pull complete 17:41:18 f23df028b6ca: Pull complete 17:41:18 d65c8cfc05b1: Pull complete 17:41:33 2437ff75d9bd: Pull complete 17:41:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:41:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:41:34 prd-ubuntu20.04-docker-arm64-4c-16g-33011 does not seem to be running inside a container 17:41:34 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:41:37 $ docker top 8a61b2be1a8dd417912e953de7262a39f9dce5becf1f2577882d683cb794fcaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:37 ---> job-cost.sh 17:41:37 lf-activate-venv: SKIPPING 17:41:37 INFO: No Stack... 17:41:38 INFO: Retrieving Pricing Info for: v3-standard-4 17:41:39 INFO: Archiving Costs [Pipeline] sh 17:41:40 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 17:41:40 + cut -d, -f6 [Pipeline] lock 17:41:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] 17:41:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] did not exist. Created. 17:41:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:41:40 /w/workspace/device-snmp-go/3@tmp/durable-e5cfae49/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:41:41 + echo total: 0.10999999940395355 [Pipeline] stash 17:41:41 Warning: overwriting stash ‘stack-cost’ 17:41:41 Stashed 1 file(s) [Pipeline] } 17:41:41 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-158-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:41:41 $ docker stop --time=1 8a61b2be1a8dd417912e953de7262a39f9dce5becf1f2577882d683cb794fcaa 17:41:43 $ docker rm -f 8a61b2be1a8dd417912e953de7262a39f9dce5becf1f2577882d683cb794fcaa [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 17:41:43 provisioning config files... 17:41:43 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config3747166979743331084tmp [Pipeline] { [Pipeline] sh 17:41:44 + set +x 17:41:44 + curl -s https://codecov.io/bash 17:41:44 + bash -s -- 17:41:44 17:41:44 _____ _ 17:41:44 / ____| | | 17:41:44 | | ___ __| | ___ ___ _____ __ 17:41:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:41:44 | |___| (_) | (_| | __/ (_| (_) \ V / 17:41:44 \_____\___/ \__,_|\___|\___\___/ \_/ 17:41:44 Bash-1.0.6 17:41:44 17:41:44 17:41:44 ==> git version 2.25.1 found 17:41:44 ==> 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 17:41:44 Release-Date: 2020-01-08 17:41:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:41:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:41:44 ==> Jenkins CI detected. 17:41:44 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-158 17:41:44 project root: . 17:41:44 --> token set from env 17:41:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:41:44 ==> Running gcov in . (disable via -X gcov) 17:41:44 ==> Python coveragepy not found 17:41:44 ==> Searching for coverage reports in: 17:41:44 + . 17:41:44 -> Found 1 reports 17:41:44 ==> Detecting git/mercurial file structure 17:41:44 ==> Reading reports 17:41:44 + ./coverage.out bytes=7631 17:41:44 ==> Appending adjustments 17:41:44 https://docs.codecov.io/docs/fixing-reports 17:41:44 + Found adjustments 17:41:44 ==> Gzipping contents 17:41:44 4.0K /tmp/codecov.MuLuE0.gz 17:41:44 ==> Uploading reports 17:41:44 url: https://codecov.io 17:41:44 query: branch=PR-158&commit=f2992fd062ecc9844183aa8736bdca58e38a282d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=158&job=&cmd_args= 17:41:44 -> Pinging Codecov 17:41:44 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=f2992fd062ecc9844183aa8736bdca58e38a282d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=158&job=&cmd_args= 17:41:44 -> Uploading to 17:41:44 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/6C56EA5C29638FB4528AC87E60AF5AE0/f2992fd062ecc9844183aa8736bdca58e38a282d/1cb60308-cce5-44f9-9e2e-c36db4ac6851.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T174144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32c689c9272f0aecc63a3bbb3c5b7c5d0db643c269aafa3ae2bbd14733403ecd 17:41:44 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:44 Dload Upload Total Spent Left Speed 17:41:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7216 --:--:-- --:--:-- --:--:-- 7183 100 1602 0 0 100 1602 0 6357 --:--:-- --:--:-- --:--:-- 6332 17:41:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f2992fd062ecc9844183aa8736bdca58e38a282d [Pipeline] } 17:41:44 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 17:41:45 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-158/archives ] 17:41:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-158/archives 17:41:45 total 16 17:41:45 drwxr-xr-x 3 root root 4096 Apr 26 16:45 . 17:41:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:45 .. 17:41:45 drwxr-xr-x 2 root root 4096 Apr 26 16:45 cost 17:41:45 -rw-r--r-- 1 root root 85 Apr 26 16:45 cost.csv 17:41:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-158/archives 17:41:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-158/archives 17:41:45 total 16 17:41:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 16:45 . 17:41:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:45 .. 17:41:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 16:45 cost 17:41:45 -rw-r--r-- 1 jenkins jenkins 85 Apr 26 16:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:41:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:41:46 ---> package-listing.sh 17:41:46 ++ tr '[:upper:]' '[:lower:]' 17:41:46 ++ facter osfamily 17:41:46 + OS_FAMILY=debian 17:41:46 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-158 17:41:46 + START_PACKAGES=/tmp/packages_start.txt 17:41:46 + END_PACKAGES=/tmp/packages_end.txt 17:41:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:41:46 + PACKAGES=/tmp/packages_start.txt 17:41:46 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-158 ']' 17:41:46 + PACKAGES=/tmp/packages_end.txt 17:41:46 + case "${OS_FAMILY}" in 17:41:46 + dpkg -l 17:41:46 + grep '^ii' 17:41:46 + '[' -f /tmp/packages_start.txt ']' 17:41:46 + '[' -f /tmp/packages_end.txt ']' 17:41:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:41:46 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-158 ']' 17:41:46 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-158/archives/ 17:41:46 + 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 17:41:47 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 17:41:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:41:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:47 . [Pipeline] withDockerContainer 17:41:47 prd-ubuntu20.04-docker-8c-8g-29877 does not seem to be running inside a container 17:41:47 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:41:48 $ docker top 7b8c9640206299d4af4c500d79796877337c5c0e4289a0f3d8d36915c9e2a6c8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:48 + touch /tmp/pre-build-complete [Pipeline] sh 17:41:48 + mkdir -p /var/log/sysstat [Pipeline] sh 17:41:49 + ls /var/log/sa-host 17:41:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:49 provisioning config files... 17:41:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-158@tmp/config347285155029717371tmp [Pipeline] { [Pipeline] echo 17:41:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:41:49 ---> create-netrc.sh [Pipeline] } 17:41:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:41:49 ---> python-tools-install.sh [Pipeline] echo 17:41:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:41:50 ---> sudo-logs.sh 17:41:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:41:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:41:50 ---> job-cost.sh 17:41:50 lf-activate-venv: SKIPPING 17:41:50 DEBUG: total: 0.2199999988079071 17:41:50 INFO: Retrieving Stack Cost... 17:41:50 INFO: Retrieving Pricing Info for: v3-standard-8 17:41:51 INFO: Archiving Costs [Pipeline] echo 17:41:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:41:51 ---> logs-deploy.sh 17:41:51 lf-activate-venv: SKIPPING 17:41:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-158/3 17:41:51 INFO: archiving workspace using pattern(s): 17:41:52 Archives upload complete. 17:41:52 INFO: archiving logs to Nexus