Pull request #150 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 42250227ba0f2823121baf04e296f967093357af+7306a6f06add30c2c77de82c1e2d09b100e0c142 (50d0ce2ea4ba62bd7e620a7ef624068f5750db51) 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-ssh7102421927512040256.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-ssh7283917430190114817.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-150/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-150/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2069334538182220787.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-150/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11104959937783114382.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-ssh1215007173729375427.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-150/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-150/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5422899835845781784.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-10949’ Running on prd-ubuntu20.04-docker-8c-8g-10952 in /w/workspace/gexfoundry_device-snmp-go_PR-150 [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-150 # 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 > 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/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7306a6f06add30c2c77de82c1e2d09b100e0c142 into PR head commit 42250227ba0f2823121baf04e296f967093357af Merge succeeded, producing 42250227ba0f2823121baf04e296f967093357af Checking out Revision 42250227ba0f2823121baf04e296f967093357af (PR-150) > git config core.sparsecheckout # timeout=10 > git checkout -f 42250227ba0f2823121baf04e296f967093357af # 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 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42250227ba0f2823121baf04e296f967093357af # 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 08:34:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:34:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:34:39 ========================================================= 08:34:39 EdgeX Global Pipelines Version Info 08:34:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:34:39 ------------------- 08:34:39 stable info: 08:34:39 ------------------- 08:34:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:34:39 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:34:39 Message: update stable to v1.0.221 08:34:40 ------------------- 08:34:40 experimental info: 08:34:40 ------------------- 08:34:40 Commited By: **** collab-it+edgex@linuxfoundation.org 08:34:40 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:34:40 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:34:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 08:34:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 08:34:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:34:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:34:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-150 [Pipeline] echo 08:34:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-150 [Pipeline] echo 08:34:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-150 [Pipeline] echo 08:34:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42250227ba0f2823121baf04e296f967093357af [Pipeline] echo 08:34:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4225022 [Pipeline] echo 08:34:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:42 provisioning config files... 08:34:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/config7164905351463426654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:42 ---> docker-login.sh 08:34:42 nexus3.edgexfoundry.org:10001 08:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:42 Configure a credential helper to remove this warning. See 08:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:42 08:34:42 Login Succeeded 08:34:42 nexus3.edgexfoundry.org:10002 08:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:43 Configure a credential helper to remove this warning. See 08:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:43 08:34:43 Login Succeeded 08:34:43 nexus3.edgexfoundry.org:10003 08:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:43 Configure a credential helper to remove this warning. See 08:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:43 08:34:43 Login Succeeded 08:34:43 nexus3.edgexfoundry.org:10004 08:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:43 Configure a credential helper to remove this warning. See 08:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:43 08:34:43 Login Succeeded 08:34:43 docker.io 08:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:43 Configure a credential helper to remove this warning. See 08:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:43 08:34:43 Login Succeeded 08:34:43 ---> docker-login.sh ends [Pipeline] } 08:34:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:34:44 + git rev-list -1 --merges 42250227ba0f2823121baf04e296f967093357af~1..42250227ba0f2823121baf04e296f967093357af [Pipeline] echo 08:34:44 -----------> git rev-list -1 --merges 42250227ba0f2823121baf04e296f967093357af~1..42250227ba0f2823121baf04e296f967093357af 42250227ba0f2823121baf04e296f967093357af [false] [Pipeline] sh 08:34:44 + git log --format=format:%s -1 42250227ba0f2823121baf04e296f967093357af [Pipeline] echo 08:34:44 ========================================================= 08:34:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:34:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:34:45 + git log --format=format:%s -1 42250227ba0f2823121baf04e296f967093357af [Pipeline] echo 08:34:45 [semverPrep] GIT_COMMIT: 42250227ba0f2823121baf04e296f967093357af, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 08:34:45 [semverPrep] This is not a build commit. [Pipeline] sh 08:34:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:34:45 + grep -v github /etc/ssh/ssh_known_hosts 08:34:45 + [ -e /tmp/ssh_known_hosts ] 08:34:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:34:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:34:45 + sudo tee -a /etc/ssh/ssh_known_hosts 08:34:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:34:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:46 08:34:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:34:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:46 latest: Pulling from edgex-devops/git-semver 08:34:46 a0d0a0d46f8b: Pulling fs layer 08:34:46 3e5f54012d9b: Pulling fs layer 08:34:46 4c7163046ea9: Pulling fs layer 08:34:46 0c2d73faf560: Pulling fs layer 08:34:46 0c2d73faf560: Waiting 08:34:46 3e5f54012d9b: Download complete 08:34:46 a0d0a0d46f8b: Download complete 08:34:46 0c2d73faf560: Verifying Checksum 08:34:46 0c2d73faf560: Download complete 08:34:46 4c7163046ea9: Verifying Checksum 08:34:46 4c7163046ea9: Download complete 08:34:46 a0d0a0d46f8b: Pull complete 08:34:46 3e5f54012d9b: Pull complete 08:34:47 4c7163046ea9: Pull complete 08:34:47 0c2d73faf560: Pull complete 08:34:47 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:34:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:34:47 prd-ubuntu20.04-docker-8c-8g-10952 does not seem to be running inside a container 08:34:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-150 -v /w/workspace/gexfoundry_device-snmp-go_PR-150:/w/workspace/gexfoundry_device-snmp-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:34:48 $ docker top 4d544c00816a6cfc02b4518c3e85c98a4f25a52da40c0da9461e5439c8fcbe66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:34:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:48 [ssh-agent] Looking for ssh-agent implementation... 08:34:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:48 $ docker exec 4d544c00816a6cfc02b4518c3e85c98a4f25a52da40c0da9461e5439c8fcbe66 ssh-agent 08:34:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaGPoaD/agent.14 08:34:48 SSH_AGENT_PID=20 08:34:48 Running ssh-add (command line suppressed) 08:34:48 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/private_key_98017714219249867.key (/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/private_key_98017714219249867.key) 08:34:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:48 + git tag --points-at HEAD [Pipeline] } 08:34:49 $ docker exec --env ******** --env ******** 4d544c00816a6cfc02b4518c3e85c98a4f25a52da40c0da9461e5439c8fcbe66 ssh-agent -k 08:34:49 unset SSH_AUTH_SOCK; 08:34:49 unset SSH_AGENT_PID; 08:34:49 echo Agent pid 20 killed; 08:34:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:34:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:49 [ssh-agent] Looking for ssh-agent implementation... 08:34:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:49 $ docker exec 4d544c00816a6cfc02b4518c3e85c98a4f25a52da40c0da9461e5439c8fcbe66 ssh-agent 08:34:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAobooJ/agent.52 08:34:49 SSH_AGENT_PID=58 08:34:49 Running ssh-add (command line suppressed) 08:34:49 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/private_key_9124096612899783386.key (/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/private_key_9124096612899783386.key) 08:34:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:49 + git semver init 08:34:49 # -> Open(): unable to determine branch for HEAD 08:34:49 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-150/.git 08:34:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-150 08:34:49 # $SEMVER_REMOTE_NAME = origin 08:34:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:34:49 # $SEMVER_USER_NAME = edgex-jenkins 08:34:49 # $SEMVER_BRANCH = PR-150 08:34:49 # $SEMVER_TEMP = /tmp/semver-179676084 08:34:49 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 08:34:50 # '/tmp/semver-179676084' -> '/w/workspace/gexfoundry_device-snmp-go_PR-150/.semver' 08:34:50 # -> Force: false 08:34:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-150/.semver [Pipeline] } 08:34:50 $ docker exec --env ******** --env ******** 4d544c00816a6cfc02b4518c3e85c98a4f25a52da40c0da9461e5439c8fcbe66 ssh-agent -k 08:34:51 unset SSH_AUTH_SOCK; 08:34:51 unset SSH_AGENT_PID; 08:34:51 echo Agent pid 58 killed; 08:34:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:51 + git semver [Pipeline] } 08:34:51 $ docker stop --time=1 4d544c00816a6cfc02b4518c3e85c98a4f25a52da40c0da9461e5439c8fcbe66 08:34:52 $ docker rm -f 4d544c00816a6cfc02b4518c3e85c98a4f25a52da40c0da9461e5439c8fcbe66 [Pipeline] // withDockerContainer [Pipeline] sh 08:34:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:34:53 Stashed 1 file(s) [Pipeline] echo 08:34:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:54 provisioning config files... 08:34:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/config8142497464334925479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:54 ---> docker-login.sh 08:34:54 nexus3.edgexfoundry.org:10001 08:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:54 Configure a credential helper to remove this warning. See 08:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:54 08:34:54 Login Succeeded 08:34:54 nexus3.edgexfoundry.org:10002 08:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:54 Configure a credential helper to remove this warning. See 08:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:54 08:34:54 Login Succeeded 08:34:54 nexus3.edgexfoundry.org:10003 08:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:54 Configure a credential helper to remove this warning. See 08:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:54 08:34:54 Login Succeeded 08:34:54 nexus3.edgexfoundry.org:10004 08:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:54 Configure a credential helper to remove this warning. See 08:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:54 08:34:54 Login Succeeded 08:34:55 docker.io 08:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:55 Configure a credential helper to remove this warning. See 08:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:55 08:34:55 Login Succeeded 08:34:55 ---> docker-login.sh ends [Pipeline] } 08:34:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:34:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:34:55 ========================================================= 08:34:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:34:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:34:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:34:56 Sending build context to Docker daemon 5.224MB 08:34:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:34:56 Step 2/12 : FROM ${BASE} AS builder 08:34:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:34:56 59bf1c3509f3: Pulling fs layer 08:34:56 666ba61612fd: Pulling fs layer 08:34:56 8ed8ca486205: Pulling fs layer 08:34:56 4fe6c5a15a65: Pulling fs layer 08:34:56 22a0e8bec74d: Pulling fs layer 08:34:56 640e595b4fbd: Pulling fs layer 08:34:56 763cafe07f6e: Pulling fs layer 08:34:56 0c0b528cf693: Pulling fs layer 08:34:56 10935f4eaf8b: Pulling fs layer 08:34:56 763cafe07f6e: Waiting 08:34:56 4fe6c5a15a65: Waiting 08:34:56 22a0e8bec74d: Waiting 08:34:56 0c0b528cf693: Waiting 08:34:56 10935f4eaf8b: Waiting 08:34:56 640e595b4fbd: Waiting 08:34:56 8ed8ca486205: Verifying Checksum 08:34:56 8ed8ca486205: Download complete 08:34:56 666ba61612fd: Verifying Checksum 08:34:56 666ba61612fd: Download complete 08:34:56 22a0e8bec74d: Verifying Checksum 08:34:56 22a0e8bec74d: Download complete 08:34:56 640e595b4fbd: Verifying Checksum 08:34:56 640e595b4fbd: Download complete 08:34:56 763cafe07f6e: Verifying Checksum 08:34:56 763cafe07f6e: Download complete 08:34:56 59bf1c3509f3: Verifying Checksum 08:34:56 59bf1c3509f3: Download complete 08:34:56 0c0b528cf693: Verifying Checksum 08:34:56 0c0b528cf693: Download complete 08:34:56 59bf1c3509f3: Pull complete 08:34:56 666ba61612fd: Pull complete 08:34:56 8ed8ca486205: Pull complete 08:34:56 10935f4eaf8b: Verifying Checksum 08:34:56 10935f4eaf8b: Download complete 08:34:56 4fe6c5a15a65: Verifying Checksum 08:34:56 4fe6c5a15a65: Download complete 08:35:01 4fe6c5a15a65: Pull complete 08:35:01 22a0e8bec74d: Pull complete 08:35:01 640e595b4fbd: Pull complete 08:35:01 763cafe07f6e: Pull complete 08:35:01 0c0b528cf693: Pull complete 08:35:02 10935f4eaf8b: Pull complete 08:35:02 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:35:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:35:02 ---> 99d49a6021b9 08:35:02 Step 3/12 : ARG MAKE='make build' 08:35:04 ---> Running in 5173fe2759ff 08:35:04 Removing intermediate container 5173fe2759ff 08:35:04 ---> 36e541a51ed4 08:35:04 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:35:04 ---> Running in 890a7e64c6f2 08:35:04 Removing intermediate container 890a7e64c6f2 08:35:04 ---> 5b9c45bbd20b 08:35:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:35:04 ---> Running in 68517195da4b 08:35:04 Removing intermediate container 68517195da4b 08:35:04 ---> 0f329523dd99 08:35:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:35:04 ---> Running in 5bd24aebb5b0 08:35:05 Removing intermediate container 5bd24aebb5b0 08:35:05 ---> b4910c101324 08:35:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:35:05 ---> Running in a4faa50f34c4 08:35:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:35:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:35:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:35:07 (2/4) Installing libedit (20210910.3.1-r0) 08:35:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:35:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:35:07 Executing busybox-1.34.1-r3.trigger 08:35:07 OK: 224 MiB in 56 packages 08:35:07 Removing intermediate container a4faa50f34c4 08:35:07 ---> 33789679b3e0 08:35:07 Step 8/12 : WORKDIR /device-snmp-go 08:35:07 ---> Running in d4bd1d56befd 08:35:07 Removing intermediate container d4bd1d56befd 08:35:07 ---> e015b8769968 08:35:07 Step 9/12 : COPY go.mod vendor* ./ 08:35:07 ---> f22b1344a73b 08:35:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:35:08 ---> Running in f578c364b129 08:35:09 Still waiting to schedule task 08:35:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10950’ 08:35:23 Removing intermediate container f578c364b129 08:35:23 ---> 636557f879ec 08:35:23 Step 11/12 : COPY . . 08:35:23 ---> 916316ab9848 08:35:23 Step 12/12 : RUN ${MAKE} 08:35:23 ---> Running in 5e626a4e6683 08:35:23 noop 08:35:23 Removing intermediate container 5e626a4e6683 08:35:23 ---> 4d2f2987b421 08:35:23 Successfully built 4d2f2987b421 08:35:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:35:23 + docker inspect -f . ci-base-image-x86_64 08:35:23 . [Pipeline] withDockerContainer 08:35:23 prd-ubuntu20.04-docker-8c-8g-10952 does not seem to be running inside a container 08:35:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-150 -v /w/workspace/gexfoundry_device-snmp-go_PR-150:/w/workspace/gexfoundry_device-snmp-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:35:23 $ docker top 444f78b14abf3b87fc4c979b9c9442faafd2591a2ecfa96809b4164692a38eff -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:24 + go version 08:35:24 go version go1.17.6 linux/amd64 [Pipeline] } 08:35:24 $ docker stop --time=1 444f78b14abf3b87fc4c979b9c9442faafd2591a2ecfa96809b4164692a38eff 08:35:25 $ docker rm -f 444f78b14abf3b87fc4c979b9c9442faafd2591a2ecfa96809b4164692a38eff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:35:26 + docker inspect -f . ci-base-image-x86_64 08:35:26 . [Pipeline] withDockerContainer 08:35:26 prd-ubuntu20.04-docker-8c-8g-10952 does not seem to be running inside a container 08:35:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-150 -v /w/workspace/gexfoundry_device-snmp-go_PR-150:/w/workspace/gexfoundry_device-snmp-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:35:26 $ docker top a22e67c30a925cfbb76483c67cee249c3c42e77752491c8aeed1f1ca3c8d786c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:35:27 + make test 08:35:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:35:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:35:35 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:35:35 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 08:35:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:35:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:35:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:35:45 ./bin/test-attribution-txt.sh [Pipeline] echo 08:35:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:35:46 $ docker stop --time=1 a22e67c30a925cfbb76483c67cee249c3c42e77752491c8aeed1f1ca3c8d786c 08:35:47 $ docker rm -f a22e67c30a925cfbb76483c67cee249c3c42e77752491c8aeed1f1ca3c8d786c [Pipeline] // withDockerContainer [Pipeline] sh 08:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:35:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:35:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:35:49 + ls -al . 08:35:49 total 184 08:35:49 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 08:35 . 08:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:34 .. 08:35:49 -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 08:34 .dockerignore 08:35:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:34 .git 08:35:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 .github 08:35:49 -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 08:34 .gitignore 08:35:49 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:34 .golangci.yml 08:35:49 drwx------ 3 jenkins jenkins 4096 Apr 6 08:34 .semver 08:35:49 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 08:34 Attribution.txt 08:35:49 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 08:34 CHANGELOG.md 08:35:49 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 08:34 Dockerfile 08:35:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:34 GOVERNANCE.md 08:35:49 -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 08:34 Jenkinsfile 08:35:49 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:34 LICENSE 08:35:49 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 08:34 Makefile 08:35:49 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:34 OWNERS.md 08:35:49 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 08:34 README.md 08:35:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 08:34 VERSION 08:35:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 bin 08:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 cmd 08:35:49 -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 08:35 coverage.out 08:35:49 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 08:34 go.mod 08:35:49 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 6 08:34 go.sum 08:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 internal 08:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 snap 08:35:49 -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 08:34 version.go [Pipeline] isUnix [Pipeline] sh 08:35:49 + 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=42250227ba0f2823121baf04e296f967093357af --label arch=amd64 --label version=0.0.0 . 08:35:49 Sending build context to Docker daemon 5.233MB 08:35:49 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 08:35:49 Step 2/24 : FROM ${BASE} AS builder 08:35:49 ---> 4d2f2987b421 08:35:49 Step 3/24 : ARG MAKE='make build' 08:35:49 ---> Running in 11a73c6e3553 08:35:49 Removing intermediate container 11a73c6e3553 08:35:49 ---> 89e416688d71 08:35:49 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:35:49 ---> Running in 226b407ebfa0 08:35:50 Removing intermediate container 226b407ebfa0 08:35:50 ---> 01b03a4a61e5 08:35:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 08:35:50 ---> Running in 5d275d43b9dd 08:35:50 Removing intermediate container 5d275d43b9dd 08:35:50 ---> 6dfd34c52199 08:35:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:35:50 ---> Running in ca25b0257ef1 08:35:50 Removing intermediate container ca25b0257ef1 08:35:50 ---> faabbc91c1e7 08:35:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:35:50 ---> Running in b2abaa31a624 08:35:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:35:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:35:52 OK: 224 MiB in 56 packages 08:35:52 Removing intermediate container b2abaa31a624 08:35:52 ---> c7a848f875f8 08:35:52 Step 8/24 : WORKDIR /device-snmp-go 08:35:52 ---> Running in eb57ed4942f9 08:35:52 Removing intermediate container eb57ed4942f9 08:35:52 ---> f3029f5449cd 08:35:52 Step 9/24 : COPY go.mod vendor* ./ 08:35:53 ---> d23b0792592c 08:35:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:35:53 ---> Running in ff136c926d23 08:35:53 Removing intermediate container ff136c926d23 08:35:53 ---> 087bbf2f651f 08:35:53 Step 11/24 : COPY . . 08:35:53 ---> 267bea775036 08:35:53 Step 12/24 : RUN ${MAKE} 08:35:53 ---> Running in 839b245de12d 08:35:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 08:36:06 Removing intermediate container 839b245de12d 08:36:06 ---> 7160995f1c0e 08:36:06 Step 13/24 : FROM alpine:3.14 08:36:06 3.14: Pulling from library/alpine 08:36:06 8663204ce13b: Pulling fs layer 08:36:06 8663204ce13b: Verifying Checksum 08:36:06 8663204ce13b: Download complete 08:36:06 8663204ce13b: Pull complete 08:36:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:36:06 Status: Downloaded newer image for alpine:3.14 08:36:06 ---> e04c818066af 08:36:06 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 08:36:06 ---> Running in 8811f192232d 08:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:36:06 (1/6) Installing dumb-init (1.2.5-r1) 08:36:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:36:06 (3/6) Installing libsodium (1.0.18-r0) 08:36:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:36:06 (5/6) Installing libzmq (4.3.4-r0) 08:36:06 (6/6) Installing zeromq (4.3.4-r0) 08:36:06 Executing busybox-1.33.1-r7.trigger 08:36:06 OK: 8 MiB in 20 packages 08:36:07 Removing intermediate container 8811f192232d 08:36:07 ---> d9e935ce1023 08:36:07 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 08:36:08 ---> 59b30918411c 08:36:08 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 08:36:08 ---> 751b1bc18e1f 08:36:08 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 08:36:08 ---> 12a7c2d65d56 08:36:08 Step 18/24 : EXPOSE 59993 08:36:08 ---> Running in 5ba8a4d46a1b 08:36:08 Removing intermediate container 5ba8a4d46a1b 08:36:08 ---> 38363cf06a5d 08:36:08 Step 19/24 : EXPOSE 161 08:36:08 ---> Running in 8c2976a63623 08:36:08 Removing intermediate container 8c2976a63623 08:36:08 ---> 4f818991a3d9 08:36:08 Step 20/24 : ENTRYPOINT ["/device-snmp"] 08:36:08 ---> Running in b6e001cef687 08:36:08 Removing intermediate container b6e001cef687 08:36:08 ---> 55c285066f55 08:36:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:36:08 ---> Running in 6f30f885f1c7 08:36:08 Removing intermediate container 6f30f885f1c7 08:36:08 ---> 5a098d4cd5e8 08:36:08 Step 22/24 : LABEL arch=amd64 08:36:08 ---> Running in 7b27200dd29c 08:36:08 Removing intermediate container 7b27200dd29c 08:36:08 ---> 315ef9e81831 08:36:08 Step 23/24 : LABEL git_sha=42250227ba0f2823121baf04e296f967093357af 08:36:08 ---> Running in b860a7fbe205 08:36:08 Removing intermediate container b860a7fbe205 08:36:08 ---> 61acd673c418 08:36:08 Step 24/24 : LABEL version=0.0.0 08:36:09 ---> Running in 835b9ec2da16 08:36:09 Removing intermediate container 835b9ec2da16 08:36:09 ---> e924c342ece4 08:36:09 [Warning] One or more build-args [ARCH] were not consumed 08:36:09 Successfully built e924c342ece4 08:36:09 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 08:36:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:09 08:36:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:36:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:10 latest: Pulling from edgex-lftools-log-publisher 08:36:10 5eb5b503b376: Pulling fs layer 08:36:10 5c69ac0246d0: Pulling fs layer 08:36:10 ec43610c2a17: Pulling fs layer 08:36:10 3a2ae6a8a46f: Pulling fs layer 08:36:10 33b1e0a273af: Pulling fs layer 08:36:10 5d3b04190fa2: Pulling fs layer 08:36:10 2f39f015ded8: Pulling fs layer 08:36:10 3a2ae6a8a46f: Waiting 08:36:10 33b1e0a273af: Waiting 08:36:10 5d3b04190fa2: Waiting 08:36:10 5c69ac0246d0: Download complete 08:36:10 3a2ae6a8a46f: Verifying Checksum 08:36:10 3a2ae6a8a46f: Download complete 08:36:10 33b1e0a273af: Verifying Checksum 08:36:10 33b1e0a273af: Download complete 08:36:10 5d3b04190fa2: Verifying Checksum 08:36:10 5d3b04190fa2: Download complete 08:36:10 ec43610c2a17: Verifying Checksum 08:36:10 ec43610c2a17: Download complete 08:36:10 5eb5b503b376: Verifying Checksum 08:36:10 5eb5b503b376: Download complete 08:36:10 2f39f015ded8: Download complete 08:36:11 5eb5b503b376: Pull complete 08:36:11 5c69ac0246d0: Pull complete 08:36:12 ec43610c2a17: Pull complete 08:36:12 3a2ae6a8a46f: Pull complete 08:36:12 33b1e0a273af: Pull complete 08:36:12 5d3b04190fa2: Pull complete 08:36:17 2f39f015ded8: Pull complete 08:36:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:36:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:36:18 prd-ubuntu20.04-docker-8c-8g-10952 does not seem to be running inside a container 08:36:18 $ 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-150 -v /w/workspace/gexfoundry_device-snmp-go_PR-150:/w/workspace/gexfoundry_device-snmp-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-150@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 08:36:19 $ docker top 76503eab7ea1796161aec737ecc940c878c4101f1ce4683444f0860e26ba89bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:20 ---> job-cost.sh 08:36:20 lf-activate-venv: SKIPPING 08:36:20 INFO: No Stack... 08:36:20 INFO: Retrieving Pricing Info for: v3-standard-8 08:36:20 INFO: Archiving Costs [Pipeline] sh 08:36:21 + cat /w/workspace/gexfoundry_device-snmp-go_PR-150/archives/cost.csv 08:36:21 + cut -d, -f6 [Pipeline] lock 08:36:21 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] 08:36:21 Resource [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] did not exist. Created. 08:36:21 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:36:21 + echo total: 0.2199999988079071 [Pipeline] stash 08:36:21 Stashed 1 file(s) [Pipeline] } 08:36:21 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:36:21 $ docker stop --time=1 76503eab7ea1796161aec737ecc940c878c4101f1ce4683444f0860e26ba89bc 08:36:23 $ docker rm -f 76503eab7ea1796161aec737ecc940c878c4101f1ce4683444f0860e26ba89bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:37:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10954 in /w/workspace/gexfoundry_device-snmp-go_PR-150 [Pipeline] { [Pipeline] ws 08:37:58 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 08:37:58 Selected Git installation does not exist. Using Default 08:37:58 The recommended git tool is: NONE 08:38:06 using credential edgex-jenkins-ssh 08:38:06 Cloning the remote Git repository 08:38:06 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:38:06 > git init /w/workspace/device-snmp-go/1 # timeout=10 08:38:07 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:38:07 > git --version # timeout=10 08:38:07 > git --version # 'git version 2.25.1' 08:38:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:09 Merging remotes/origin/main commit 7306a6f06add30c2c77de82c1e2d09b100e0c142 into PR head commit 42250227ba0f2823121baf04e296f967093357af 08:38:09 Merge succeeded, producing 42250227ba0f2823121baf04e296f967093357af 08:38:09 Checking out Revision 42250227ba0f2823121baf04e296f967093357af (PR-150) 08:38:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:38:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:38:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:38:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:38:09 > git config core.sparsecheckout # timeout=10 08:38:09 > git checkout -f 42250227ba0f2823121baf04e296f967093357af # timeout=10 08:38:09 > git remote # timeout=10 08:38:09 > git config --get remote.origin.url # timeout=10 08:38:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:09 > git merge 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 08:38:09 > git rev-parse HEAD^{commit} # timeout=10 08:38:09 > git config core.sparsecheckout # timeout=10 08:38:09 > git checkout -f 42250227ba0f2823121baf04e296f967093357af # timeout=10 08:38:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 08:38:13 > git --version # timeout=10 08:38:13 > git --version # 'git version 2.25.1' 08:38:13 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:38:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:38:14 % Total % Received % Xferd Average Speed Time Time Time Current 08:38:14 Dload Upload Total Spent Left Speed 08:38:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 08:38:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:38:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 08:38:15 sudo tee /etc/docker/daemon.new 08:38:15 { 08:38:15 "registry-mirrors": [ 08:38:15 "https://nexus3.edgexfoundry.org:10001" 08:38:15 ], 08:38:15 "bip": "10.250.0.254/24", 08:38:15 "hosts": [ 08:38:15 "tcp://0.0.0.0:5555", 08:38:15 "unix:///var/run/docker.sock" 08:38:15 ], 08:38:15 "mtu": 1458, 08:38:15 "selinux-enabled": true, 08:38:15 "seccomp-profile": "/etc/docker/seccomp.json" 08:38:15 } [Pipeline] sh 08:38:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:38:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:34 provisioning config files... 08:38:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config30291677809118597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:35 ---> docker-login.sh 08:38:35 nexus3.edgexfoundry.org:10001 08:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:36 Configure a credential helper to remove this warning. See 08:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:36 08:38:36 Login Succeeded 08:38:36 nexus3.edgexfoundry.org:10002 08:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:37 Configure a credential helper to remove this warning. See 08:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:37 08:38:37 Login Succeeded 08:38:37 nexus3.edgexfoundry.org:10003 08:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:37 Configure a credential helper to remove this warning. See 08:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:37 08:38:37 Login Succeeded 08:38:37 nexus3.edgexfoundry.org:10004 08:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:38 Configure a credential helper to remove this warning. See 08:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:38 08:38:38 Login Succeeded 08:38:38 docker.io 08:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:38:39 Configure a credential helper to remove this warning. See 08:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:38:39 08:38:39 Login Succeeded 08:38:39 ---> docker-login.sh ends [Pipeline] } 08:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:38:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:38:39 ========================================================= 08:38:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:38:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:38:40 + 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 . 08:38:40 Sending build context to Docker daemon 2.724MB 08:38:40 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:38:40 Step 2/12 : FROM ${BASE} AS builder 08:38:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:38:40 9b3977197b4f: Pulling fs layer 08:38:40 1a89e8eeedd5: Pulling fs layer 08:38:40 94645a83ff95: Pulling fs layer 08:38:40 3f3a8bcf1eab: Pulling fs layer 08:38:40 0c92f367c5e7: Pulling fs layer 08:38:40 f7c0051592d6: Pulling fs layer 08:38:40 a227ed2f7395: Pulling fs layer 08:38:40 7b1c46037f91: Pulling fs layer 08:38:40 3f3a8bcf1eab: Waiting 08:38:40 0c92f367c5e7: Waiting 08:38:40 a227ed2f7395: Waiting 08:38:40 f7c0051592d6: Waiting 08:38:40 7b1c46037f91: Waiting 08:38:40 94645a83ff95: Verifying Checksum 08:38:40 94645a83ff95: Download complete 08:38:40 1a89e8eeedd5: Verifying Checksum 08:38:40 1a89e8eeedd5: Download complete 08:38:40 0c92f367c5e7: Verifying Checksum 08:38:40 0c92f367c5e7: Download complete 08:38:40 f7c0051592d6: Verifying Checksum 08:38:40 f7c0051592d6: Download complete 08:38:40 9b3977197b4f: Download complete 08:38:40 a227ed2f7395: Verifying Checksum 08:38:40 a227ed2f7395: Download complete 08:38:41 9b3977197b4f: Pull complete 08:38:42 1a89e8eeedd5: Pull complete 08:38:42 94645a83ff95: Pull complete 08:38:42 7b1c46037f91: Download complete 08:38:43 3f3a8bcf1eab: Verifying Checksum 08:38:43 3f3a8bcf1eab: Download complete 08:38:55 3f3a8bcf1eab: Pull complete 08:38:55 0c92f367c5e7: Pull complete 08:38:55 f7c0051592d6: Pull complete 08:38:55 a227ed2f7395: Pull complete 08:39:02 7b1c46037f91: Pull complete 08:39:02 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:39:02 ---> f79e39bc4007 08:39:02 Step 3/12 : ARG MAKE='make build' 08:39:03 ---> Running in 5287df1e5063 08:39:03 Removing intermediate container 5287df1e5063 08:39:03 ---> 80e729d1ab80 08:39:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:39:03 ---> Running in dfd09168dd7b 08:39:03 Removing intermediate container dfd09168dd7b 08:39:03 ---> 6de45253c002 08:39:03 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:39:04 ---> Running in a3811aa128d3 08:39:04 Removing intermediate container a3811aa128d3 08:39:04 ---> f70e733e058c 08:39:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:39:04 ---> Running in 40c6404c6604 08:39:06 Removing intermediate container 40c6404c6604 08:39:06 ---> 19419f23779f 08:39:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:39:06 ---> Running in 89e6563c0e92 08:39:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:39:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:39:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:39:09 (2/4) Installing libedit (20210910.3.1-r0) 08:39:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:39:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:39:10 Executing busybox-1.34.1-r3.trigger 08:39:10 OK: 224 MiB in 56 packages 08:39:11 Removing intermediate container 89e6563c0e92 08:39:11 ---> 2b0bcde98239 08:39:11 Step 8/12 : WORKDIR /device-snmp-go 08:39:11 ---> Running in 3193e5f2c23d 08:39:11 Removing intermediate container 3193e5f2c23d 08:39:11 ---> 63e050440008 08:39:11 Step 9/12 : COPY go.mod vendor* ./ 08:39:11 ---> 93e484fc1baf 08:39:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:39:12 ---> Running in 1bba0e9a1d33 08:39:59 Removing intermediate container 1bba0e9a1d33 08:39:59 ---> ff4a5130ce1d 08:39:59 Step 11/12 : COPY . . 08:39:59 ---> bb465767147c 08:39:59 Step 12/12 : RUN ${MAKE} 08:40:00 ---> Running in 0757e9d6fac1 08:40:01 noop 08:40:01 Removing intermediate container 0757e9d6fac1 08:40:01 ---> bdc183e9ad3c 08:40:01 Successfully built bdc183e9ad3c 08:40:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:40:02 + docker inspect -f . ci-base-image-arm64 08:40:02 . [Pipeline] withDockerContainer 08:40:02 prd-ubuntu20.04-docker-arm64-4c-16g-10954 does not seem to be running inside a container 08:40:02 $ 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 08:40:03 $ docker top efb0c8c9b3976040ea029cac070496c211c5506b9b39b1d194176bb8c164c656 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:04 + go version 08:40:04 go version go1.17.6 linux/arm64 [Pipeline] } 08:40:04 $ docker stop --time=1 efb0c8c9b3976040ea029cac070496c211c5506b9b39b1d194176bb8c164c656 08:40:06 $ docker rm -f efb0c8c9b3976040ea029cac070496c211c5506b9b39b1d194176bb8c164c656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:40:07 + docker inspect -f . ci-base-image-arm64 08:40:07 . [Pipeline] withDockerContainer 08:40:07 prd-ubuntu20.04-docker-arm64-4c-16g-10954 does not seem to be running inside a container 08:40:07 $ 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 08:40:09 $ docker top b08f9fc9bebb2396a79e00c7853c3b7469a0ace617eae750e4c8b41ce1bf3b6c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:40:10 + make test 08:40:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:40:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:41:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:41:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 08:41:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:41:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:42:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:42:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:42:06 ./bin/test-attribution-txt.sh [Pipeline] echo 08:42:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:42:06 $ docker stop --time=1 b08f9fc9bebb2396a79e00c7853c3b7469a0ace617eae750e4c8b41ce1bf3b6c 08:42:08 $ docker rm -f b08f9fc9bebb2396a79e00c7853c3b7469a0ace617eae750e4c8b41ce1bf3b6c [Pipeline] // withDockerContainer [Pipeline] sh 08:42:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:42:09 Warning: overwriting stash ‘coverage-report’ 08:42:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:42:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:42:10 + ls -al . 08:42:10 total 180 08:42:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:42 . 08:42:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:38 .. 08:42:10 -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 08:38 .dockerignore 08:42:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:38 .git 08:42:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:38 .github 08:42:10 -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 08:38 .gitignore 08:42:10 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:38 .golangci.yml 08:42:10 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 08:38 Attribution.txt 08:42:10 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 08:38 CHANGELOG.md 08:42:10 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 08:38 Dockerfile 08:42:10 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:38 GOVERNANCE.md 08:42:10 -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 08:38 Jenkinsfile 08:42:10 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:38 LICENSE 08:42:10 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 08:38 Makefile 08:42:10 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:38 OWNERS.md 08:42:10 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 08:38 README.md 08:42:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 08:34 VERSION 08:42:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:38 bin 08:42:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:38 cmd 08:42:10 -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 08:41 coverage.out 08:42:10 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 08:38 go.mod 08:42:10 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 6 08:38 go.sum 08:42:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:38 internal 08:42:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:38 snap 08:42:10 -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 08:38 version.go [Pipeline] isUnix [Pipeline] sh 08:42:11 + 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=42250227ba0f2823121baf04e296f967093357af --label arch=arm64 --label version=0.0.0 . 08:42:11 Sending build context to Docker daemon 2.732MB 08:42:11 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 08:42:11 Step 2/24 : FROM ${BASE} AS builder 08:42:11 ---> bdc183e9ad3c 08:42:11 Step 3/24 : ARG MAKE='make build' 08:42:11 ---> Running in 8d0a6fca226f 08:42:12 Removing intermediate container 8d0a6fca226f 08:42:12 ---> e346328af0e6 08:42:12 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:42:12 ---> Running in a465e6429437 08:42:12 Removing intermediate container a465e6429437 08:42:12 ---> c2094085a076 08:42:12 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 08:42:12 ---> Running in aa340281223a 08:42:13 Removing intermediate container aa340281223a 08:42:13 ---> 2902075832de 08:42:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:42:13 ---> Running in 0a97b027221d 08:42:14 Removing intermediate container 0a97b027221d 08:42:14 ---> a87e8bad76d2 08:42:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:42:14 ---> Running in 1ab489f024de 08:42:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:42:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:42:17 OK: 224 MiB in 56 packages 08:42:18 Removing intermediate container 1ab489f024de 08:42:18 ---> ff4747c5fb28 08:42:18 Step 8/24 : WORKDIR /device-snmp-go 08:42:18 ---> Running in 72ed5e459aa4 08:42:18 Removing intermediate container 72ed5e459aa4 08:42:18 ---> cec1e532cfff 08:42:18 Step 9/24 : COPY go.mod vendor* ./ 08:42:19 ---> 0bfda9953f7c 08:42:19 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:42:19 ---> Running in f6d6f4650eb6 08:42:21 Removing intermediate container f6d6f4650eb6 08:42:21 ---> 5d09c1c6d3e9 08:42:21 Step 11/24 : COPY . . 08:42:22 ---> 9d5c82575e00 08:42:22 Step 12/24 : RUN ${MAKE} 08:42:22 ---> Running in d6fe9c4c187e 08:42:23 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 08:43:45 Removing intermediate container d6fe9c4c187e 08:43:45 ---> 9fce701a45c5 08:43:45 Step 13/24 : FROM alpine:3.14 08:43:45 3.14: Pulling from library/alpine 08:43:45 455c02918c45: Pulling fs layer 08:43:45 455c02918c45: Download complete 08:43:45 455c02918c45: Pull complete 08:43:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:43:45 Status: Downloaded newer image for alpine:3.14 08:43:45 ---> ac73e934f311 08:43:45 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 08:43:45 ---> Running in d7ee1a44bb4e 08:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:43:45 (1/6) Installing dumb-init (1.2.5-r1) 08:43:45 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:43:45 (3/6) Installing libsodium (1.0.18-r0) 08:43:45 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:43:45 (5/6) Installing libzmq (4.3.4-r0) 08:43:45 (6/6) Installing zeromq (4.3.4-r0) 08:43:45 Executing busybox-1.33.1-r7.trigger 08:43:45 OK: 8 MiB in 20 packages 08:43:45 Removing intermediate container d7ee1a44bb4e 08:43:45 ---> 16da7056e38d 08:43:45 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 08:43:45 ---> 15092de0d486 08:43:45 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 08:43:45 ---> 4bc1589f5369 08:43:45 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 08:43:45 ---> b64f19a19471 08:43:45 Step 18/24 : EXPOSE 59993 08:43:45 ---> Running in 767c14e93739 08:43:45 Removing intermediate container 767c14e93739 08:43:45 ---> 3a004776eff7 08:43:45 Step 19/24 : EXPOSE 161 08:43:45 ---> Running in e1dadd8c51ab 08:43:46 Removing intermediate container e1dadd8c51ab 08:43:46 ---> cf8ad1bc8983 08:43:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 08:43:46 ---> Running in 910cce6b4a8d 08:43:46 Removing intermediate container 910cce6b4a8d 08:43:46 ---> 4614570950ab 08:43:46 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:43:46 ---> Running in 08b3805e2033 08:43:47 Removing intermediate container 08b3805e2033 08:43:47 ---> 0fb6740678e9 08:43:47 Step 22/24 : LABEL arch=arm64 08:43:47 ---> Running in 3107e4ae0363 08:43:47 Removing intermediate container 3107e4ae0363 08:43:47 ---> 1a6dd9befa14 08:43:47 Step 23/24 : LABEL git_sha=42250227ba0f2823121baf04e296f967093357af 08:43:47 ---> Running in e045437fd283 08:43:47 Removing intermediate container e045437fd283 08:43:47 ---> e5055733d465 08:43:47 Step 24/24 : LABEL version=0.0.0 08:43:47 ---> Running in f6565bffeb96 08:43:48 Removing intermediate container f6565bffeb96 08:43:48 ---> 3b705d96c71d 08:43:48 [Warning] One or more build-args [ARCH] were not consumed 08:43:48 Successfully built 3b705d96c71d 08:43:48 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 08:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:48 08:43:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:49 arm64: Pulling from edgex-lftools-log-publisher 08:43:49 8998bd30e6a1: Pulling fs layer 08:43:49 04944245beec: Pulling fs layer 08:43:49 699f458cf7ca: Pulling fs layer 08:43:49 765212b225bb: Pulling fs layer 08:43:49 f23df028b6ca: Pulling fs layer 08:43:49 d65c8cfc05b1: Pulling fs layer 08:43:49 2437ff75d9bd: Pulling fs layer 08:43:49 f23df028b6ca: Waiting 08:43:49 d65c8cfc05b1: Waiting 08:43:49 2437ff75d9bd: Waiting 08:43:49 765212b225bb: Waiting 08:43:49 04944245beec: Verifying Checksum 08:43:49 04944245beec: Download complete 08:43:49 765212b225bb: Verifying Checksum 08:43:49 765212b225bb: Download complete 08:43:49 f23df028b6ca: Download complete 08:43:49 d65c8cfc05b1: Verifying Checksum 08:43:49 d65c8cfc05b1: Download complete 08:43:49 699f458cf7ca: Verifying Checksum 08:43:49 699f458cf7ca: Download complete 08:43:50 8998bd30e6a1: Verifying Checksum 08:43:50 8998bd30e6a1: Download complete 08:43:52 2437ff75d9bd: Verifying Checksum 08:43:52 2437ff75d9bd: Download complete 08:43:54 8998bd30e6a1: Pull complete 08:43:54 04944245beec: Pull complete 08:43:56 699f458cf7ca: Pull complete 08:43:56 765212b225bb: Pull complete 08:43:57 f23df028b6ca: Pull complete 08:43:57 d65c8cfc05b1: Pull complete 08:44:12 2437ff75d9bd: Pull complete 08:44:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:44:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:44:13 prd-ubuntu20.04-docker-arm64-4c-16g-10954 does not seem to be running inside a container 08:44:13 $ 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 08:44:15 $ docker top 50b37e0bbf2edfe9472acd8017a981f604344e41406a5d82d800bbfa7f750c1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:16 ---> job-cost.sh 08:44:16 lf-activate-venv: SKIPPING 08:44:16 INFO: No Stack... 08:44:16 INFO: Retrieving Pricing Info for: v3-standard-4 08:44:17 INFO: Archiving Costs [Pipeline] sh 08:44:18 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 08:44:18 + cut -d, -f6 [Pipeline] lock 08:44:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] 08:44:18 Resource [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] did not exist. Created. 08:44:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:44:19 /w/workspace/device-snmp-go/1@tmp/durable-71774273/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:44:20 + echo total: 0.10999999940395355 [Pipeline] stash 08:44:20 Warning: overwriting stash ‘stack-cost’ 08:44:20 Stashed 1 file(s) [Pipeline] } 08:44:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:44:20 $ docker stop --time=1 50b37e0bbf2edfe9472acd8017a981f604344e41406a5d82d800bbfa7f750c1e 08:44:21 $ docker rm -f 50b37e0bbf2edfe9472acd8017a981f604344e41406a5d82d800bbfa7f750c1e [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 08:44:22 provisioning config files... 08:44:22 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/config1139776707283432846tmp [Pipeline] { [Pipeline] sh 08:44:23 + set +x 08:44:23 + curl -s https://codecov.io/bash 08:44:23 + bash -s -- 08:44:23 08:44:23 _____ _ 08:44:23 / ____| | | 08:44:23 | | ___ __| | ___ ___ _____ __ 08:44:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:44:23 | |___| (_) | (_| | __/ (_| (_) \ V / 08:44:23 \_____\___/ \__,_|\___|\___\___/ \_/ 08:44:23 Bash-1.0.6 08:44:23 08:44:23 08:44:23 ==> git version 2.25.1 found 08:44:23 ==> 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 08:44:23 Release-Date: 2020-01-08 08:44:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:44:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:44:23 ==> Jenkins CI detected. 08:44:23 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-150 08:44:23 project root: . 08:44:23 --> token set from env 08:44:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:44:23 ==> Running gcov in . (disable via -X gcov) 08:44:23 ==> Python coveragepy not found 08:44:23 ==> Searching for coverage reports in: 08:44:23 + . 08:44:23 -> Found 1 reports 08:44:23 ==> Detecting git/mercurial file structure 08:44:23 ==> Reading reports 08:44:23 + ./coverage.out bytes=7631 08:44:23 ==> Appending adjustments 08:44:23 https://docs.codecov.io/docs/fixing-reports 08:44:23 + Found adjustments 08:44:23 ==> Gzipping contents 08:44:23 4.0K /tmp/codecov.TPB1Gv.gz 08:44:23 ==> Uploading reports 08:44:23 url: https://codecov.io 08:44:23 query: branch=PR-150&commit=42250227ba0f2823121baf04e296f967093357af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=150&job=&cmd_args= 08:44:23 -> Pinging Codecov 08:44:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-150&commit=42250227ba0f2823121baf04e296f967093357af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=150&job=&cmd_args= 08:44:23 -> Uploading to 08:44:23 https://storage.googleapis.com/codecov/v4/raw/2022-04-06/6C56EA5C29638FB4528AC87E60AF5AE0/42250227ba0f2823121baf04e296f967093357af/afd5ff3e-ad04-4213-9302-22c9effb82a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T084423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8bdc55591e81cd6b0117cf1de1b6d56a33aef5393662e2ddeccafd82e57ac3ba 08:44:23 % Total % Received % Xferd Average Speed Time Time Time Current 08:44:23 Dload Upload Total Spent Left Speed 08:44:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6146 --:--:-- --:--:-- --:--:-- 6122 100 1598 0 0 100 1598 0 6146 --:--:-- --:--:-- --:--:-- 6122 08:44:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/42250227ba0f2823121baf04e296f967093357af [Pipeline] } 08:44:23 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 08:44:25 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-150/archives ] 08:44:25 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-150/archives 08:44:25 total 16 08:44:25 drwxr-xr-x 3 root root 4096 Apr 6 08:36 . 08:44:25 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:36 .. 08:44:25 drwxr-xr-x 2 root root 4096 Apr 6 08:36 cost 08:44:25 -rw-r--r-- 1 root root 85 Apr 6 08:36 cost.csv 08:44:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-150/archives 08:44:25 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-150/archives 08:44:25 total 16 08:44:25 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 08:36 . 08:44:25 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:36 .. 08:44:25 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 08:36 cost 08:44:25 -rw-r--r-- 1 jenkins jenkins 85 Apr 6 08:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:44:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:44:26 ---> package-listing.sh 08:44:26 ++ facter osfamily 08:44:26 ++ tr '[:upper:]' '[:lower:]' 08:44:26 + OS_FAMILY=debian 08:44:26 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-150 08:44:26 + START_PACKAGES=/tmp/packages_start.txt 08:44:26 + END_PACKAGES=/tmp/packages_end.txt 08:44:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:44:26 + PACKAGES=/tmp/packages_start.txt 08:44:26 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-150 ']' 08:44:26 + PACKAGES=/tmp/packages_end.txt 08:44:26 + case "${OS_FAMILY}" in 08:44:26 + dpkg -l 08:44:26 + grep '^ii' 08:44:26 + '[' -f /tmp/packages_start.txt ']' 08:44:26 + '[' -f /tmp/packages_end.txt ']' 08:44:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:44:26 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-150 ']' 08:44:26 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-150/archives/ 08:44:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-150/archives/ [Pipeline] echo 08:44:26 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-150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:44:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:44:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:44:27 . [Pipeline] withDockerContainer 08:44:27 prd-ubuntu20.04-docker-8c-8g-10952 does not seem to be running inside a container 08:44:27 $ 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-150/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-150 -v /w/workspace/gexfoundry_device-snmp-go_PR-150:/w/workspace/gexfoundry_device-snmp-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:44:28 $ docker top b7d9979e74327c782b1b199dbf9bda768990c9a6ec74270ea18aa74ec491de76 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:28 + touch /tmp/pre-build-complete [Pipeline] sh 08:44:28 + mkdir -p /var/log/sysstat [Pipeline] sh 08:44:29 + ls /var/log/sa-host 08:44:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:29 provisioning config files... 08:44:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-150@tmp/config4001119120093244545tmp [Pipeline] { [Pipeline] echo 08:44:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:44:29 ---> create-netrc.sh [Pipeline] } 08:44:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:44:30 ---> python-tools-install.sh [Pipeline] echo 08:44:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:44:30 ---> sudo-logs.sh 08:44:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:44:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:44:30 ---> job-cost.sh 08:44:30 lf-activate-venv: SKIPPING 08:44:30 DEBUG: total: 0.2199999988079071 08:44:30 INFO: Retrieving Stack Cost... 08:44:31 INFO: Retrieving Pricing Info for: v3-standard-8 08:44:31 INFO: Archiving Costs [Pipeline] echo 08:44:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:44:32 ---> logs-deploy.sh 08:44:32 lf-activate-venv: SKIPPING 08:44:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-150/1 08:44:32 INFO: archiving workspace using pattern(s): 08:44:33 Archives upload complete. 08:44:33 INFO: archiving logs to Nexus