Pull request #170 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-snmp-go Loading trusted files from base branch main at dc31039becec9772b0a461c07f986a5f4714edf6 rather than d6b329782f5b151565fc3adc38110ea8d0de9b9a Obtained Jenkinsfile from dc31039becec9772b0a461c07f986a5f4714edf6 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-ssh10300433478513894772.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh3231039600007079185.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-170/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-170/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4670014387763187092.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-170/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8348822929338518030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh4516665132189054723.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-170/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-170/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12466900324555553449.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-63048’ Running on prd-ubuntu20.04-docker-8c-8g-63051 in /w/workspace/gexfoundry_device-snmp-go_PR-170 [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-170 # 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 dc31039becec9772b0a461c07f986a5f4714edf6 into PR head commit d6b329782f5b151565fc3adc38110ea8d0de9b9a Merge succeeded, producing d6b329782f5b151565fc3adc38110ea8d0de9b9a Checking out Revision d6b329782f5b151565fc3adc38110ea8d0de9b9a (PR-170) > 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/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6b329782f5b151565fc3adc38110ea8d0de9b9a # 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 dc31039becec9772b0a461c07f986a5f4714edf6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6b329782f5b151565fc3adc38110ea8d0de9b9a # timeout=10 Commit message: "build: Update to released Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:42:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:42:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:42:48 ========================================================= 05:42:48 EdgeX Global Pipelines Version Info 05:42:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:42:49 ------------------- 05:42:49 stable info: 05:42:49 ------------------- 05:42:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:49 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:42:49 Message: update stable to v1.0.230 05:42:49 ------------------- 05:42:49 experimental info: 05:42:49 ------------------- 05:42:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:49 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:42:49 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:42:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6b329782f5b151565fc3adc38110ea8d0de9b9a [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6b3297 [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:42:51 provisioning config files... 05:42:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/config6412508917122090050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:52 ---> docker-login.sh 05:42:52 nexus3.edgexfoundry.org:10001 05:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:52 Configure a credential helper to remove this warning. See 05:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:52 05:42:52 Login Succeeded 05:42:52 nexus3.edgexfoundry.org:10002 05:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:52 Configure a credential helper to remove this warning. See 05:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:52 05:42:52 Login Succeeded 05:42:52 nexus3.edgexfoundry.org:10003 05:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:52 Configure a credential helper to remove this warning. See 05:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:52 05:42:52 Login Succeeded 05:42:52 nexus3.edgexfoundry.org:10004 05:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:52 Configure a credential helper to remove this warning. See 05:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:52 05:42:52 Login Succeeded 05:42:52 docker.io 05:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:53 Configure a credential helper to remove this warning. See 05:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:53 05:42:53 Login Succeeded 05:42:53 ---> docker-login.sh ends [Pipeline] } 05:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:42:54 + git rev-list -1 --merges d6b329782f5b151565fc3adc38110ea8d0de9b9a~1..d6b329782f5b151565fc3adc38110ea8d0de9b9a [Pipeline] echo 05:42:54 -----------> git rev-list -1 --merges d6b329782f5b151565fc3adc38110ea8d0de9b9a~1..d6b329782f5b151565fc3adc38110ea8d0de9b9a d6b329782f5b151565fc3adc38110ea8d0de9b9a [false] [Pipeline] sh 05:42:54 + git log --format=format:%s -1 d6b329782f5b151565fc3adc38110ea8d0de9b9a [Pipeline] echo 05:42:54 ========================================================= 05:42:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:42:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:42:54 + git log --format=format:%s -1 d6b329782f5b151565fc3adc38110ea8d0de9b9a [Pipeline] echo 05:42:54 [semverPrep] GIT_COMMIT: d6b329782f5b151565fc3adc38110ea8d0de9b9a, Commit Message: build: Update to released Go Mods [Pipeline] echo 05:42:55 [semverPrep] This is not a build commit. [Pipeline] sh 05:42:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:42:55 + grep -v github /etc/ssh/ssh_known_hosts 05:42:55 + [ -e /tmp/ssh_known_hosts ] 05:42:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:42:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:42:55 + sudo tee -a /etc/ssh/ssh_known_hosts 05:42:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:42:55 05:42:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:42:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:42:56 latest: Pulling from edgex-devops/py-git-semver 05:42:56 1fe172e4850f: Pulling fs layer 05:42:56 caf521ccaac6: Pulling fs layer 05:42:56 3ead6fa29328: Pulling fs layer 05:42:56 5c2a1cbceb83: Pulling fs layer 05:42:56 a8d5f1318db7: Pulling fs layer 05:42:56 c427282e49a2: Pulling fs layer 05:42:56 1827001aaf11: Pulling fs layer 05:42:56 0714d37db230: Pulling fs layer 05:42:56 ac28cf19c067: Pulling fs layer 05:42:56 ca983d60f3e2: Pulling fs layer 05:42:56 9f894cec8388: Pulling fs layer 05:42:56 0714d37db230: Waiting 05:42:56 a8d5f1318db7: Waiting 05:42:56 ac28cf19c067: Waiting 05:42:56 9f894cec8388: Waiting 05:42:56 c427282e49a2: Waiting 05:42:56 ca983d60f3e2: Waiting 05:42:56 5c2a1cbceb83: Waiting 05:42:56 1827001aaf11: Waiting 05:42:56 caf521ccaac6: Download complete 05:42:56 5c2a1cbceb83: Verifying Checksum 05:42:56 5c2a1cbceb83: Download complete 05:42:56 a8d5f1318db7: Verifying Checksum 05:42:56 a8d5f1318db7: Download complete 05:42:56 c427282e49a2: Verifying Checksum 05:42:56 c427282e49a2: Download complete 05:42:56 3ead6fa29328: Verifying Checksum 05:42:56 3ead6fa29328: Download complete 05:42:56 0714d37db230: Download complete 05:42:56 ac28cf19c067: Download complete 05:42:56 ca983d60f3e2: Verifying Checksum 05:42:56 ca983d60f3e2: Download complete 05:42:56 9f894cec8388: Verifying Checksum 05:42:56 9f894cec8388: Download complete 05:42:56 1fe172e4850f: Verifying Checksum 05:42:56 1fe172e4850f: Download complete 05:42:56 1827001aaf11: Verifying Checksum 05:42:56 1827001aaf11: Download complete 05:42:57 1fe172e4850f: Pull complete 05:42:58 caf521ccaac6: Pull complete 05:42:58 3ead6fa29328: Pull complete 05:42:58 5c2a1cbceb83: Pull complete 05:42:59 a8d5f1318db7: Pull complete 05:42:59 c427282e49a2: Pull complete 05:43:01 1827001aaf11: Pull complete 05:43:01 0714d37db230: Pull complete 05:43:01 ac28cf19c067: Pull complete 05:43:01 ca983d60f3e2: Pull complete 05:43:01 9f894cec8388: Pull complete 05:43:01 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:43:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:43:01 prd-ubuntu20.04-docker-8c-8g-63051 does not seem to be running inside a container 05:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-170 -v /w/workspace/gexfoundry_device-snmp-go_PR-170:/w/workspace/gexfoundry_device-snmp-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-170@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-170@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-devops/py-git-semver:latest cat 05:43:03 $ docker top 46e2909a8b84f2cd6532e9dae51f2257d384b0860040b9bfe7b3448608f8032a -eo pid,comm 05:43:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:43:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:43:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:04 [ssh-agent] Looking for ssh-agent implementation... 05:43:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:04 $ docker exec 46e2909a8b84f2cd6532e9dae51f2257d384b0860040b9bfe7b3448608f8032a ssh-agent 05:43:04 SSH_AUTH_SOCK=/tmp/ssh-Nnvk3CVqXo9G/agent.32 05:43:04 SSH_AGENT_PID=38 05:43:04 Running ssh-add (command line suppressed) 05:43:04 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/private_key_1403967245688024251.key (/w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/private_key_1403967245688024251.key) 05:43:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:04 + git tag --points-at HEAD [Pipeline] } 05:43:04 $ docker exec --env ******** --env ******** 46e2909a8b84f2cd6532e9dae51f2257d384b0860040b9bfe7b3448608f8032a ssh-agent -k 05:43:05 unset SSH_AUTH_SOCK; 05:43:05 unset SSH_AGENT_PID; 05:43:05 echo Agent pid 38 killed; 05:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:05 [ssh-agent] Looking for ssh-agent implementation... 05:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:05 $ docker exec 46e2909a8b84f2cd6532e9dae51f2257d384b0860040b9bfe7b3448608f8032a ssh-agent 05:43:05 SSH_AUTH_SOCK=/tmp/ssh-hATDY94rFn6a/agent.70 05:43:05 SSH_AGENT_PID=77 05:43:05 Running ssh-add (command line suppressed) 05:43:05 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/private_key_4123307204054485531.key (/w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/private_key_4123307204054485531.key) 05:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:05 + git semver init 05:43:06 2022-05-11 05:43:06,068 [run_init] DEBUG init version:0.0.0 force:False 05:43:06 2022-05-11 05:43:06,069 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-170/.semver 05:43:06 2022-05-11 05:43:06,069 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-170/.semver 05:43:06 2022-05-11 05:43:06,069 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-170/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-170, universal_newlines=False, shell=None, istream=None) 05:43:07 2022-05-11 05:43:06,977 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-170/.git/info/exclude 05:43:07 2022-05-11 05:43:06,978 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-170/.semver/PR-170 with force:False 05:43:07 2022-05-11 05:43:06,978 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-170/.semver/PR-170 05:43:07 2022-05-11 05:43:06,981 [execute] INFO git cat-file --batch-check 05:43:07 2022-05-11 05:43:06,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-170/.semver, universal_newlines=False, shell=None, istream=) 05:43:07 2022-05-11 05:43:06,988 [execute] INFO git cat-file --batch 05:43:07 2022-05-11 05:43:06,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-170/.semver, universal_newlines=False, shell=None, istream=) 05:43:07 2022-05-11 05:43:06,992 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-170/.semver/PR-170 05:43:07 0.0.0 [Pipeline] } 05:43:07 $ docker exec --env ******** --env ******** 46e2909a8b84f2cd6532e9dae51f2257d384b0860040b9bfe7b3448608f8032a ssh-agent -k 05:43:07 unset SSH_AUTH_SOCK; 05:43:07 unset SSH_AGENT_PID; 05:43:07 echo Agent pid 77 killed; 05:43:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:07 + git semver [Pipeline] } 05:43:07 $ docker stop --time=1 46e2909a8b84f2cd6532e9dae51f2257d384b0860040b9bfe7b3448608f8032a 05:43:09 $ docker rm -f 46e2909a8b84f2cd6532e9dae51f2257d384b0860040b9bfe7b3448608f8032a [Pipeline] // withDockerContainer [Pipeline] sh 05:43:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:43:10 Stashed 1 file(s) [Pipeline] echo 05:43:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:10 provisioning config files... 05:43:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/config7956628420136428250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:11 ---> docker-login.sh 05:43:11 nexus3.edgexfoundry.org:10001 05:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:11 Configure a credential helper to remove this warning. See 05:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:11 05:43:11 Login Succeeded 05:43:11 nexus3.edgexfoundry.org:10002 05:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:11 Configure a credential helper to remove this warning. See 05:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:11 05:43:11 Login Succeeded 05:43:11 nexus3.edgexfoundry.org:10003 05:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:11 Configure a credential helper to remove this warning. See 05:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:11 05:43:11 Login Succeeded 05:43:11 nexus3.edgexfoundry.org:10004 05:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:11 Configure a credential helper to remove this warning. See 05:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:11 05:43:11 Login Succeeded 05:43:11 docker.io 05:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:11 Configure a credential helper to remove this warning. See 05:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:11 05:43:11 Login Succeeded 05:43:11 ---> docker-login.sh ends [Pipeline] } 05:43:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:43:12 ========================================================= 05:43:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:43:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:43:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:43:12 Sending build context to Docker daemon 5.35MB 05:43:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:43:12 Step 2/12 : FROM ${BASE} AS builder 05:43:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:12 59bf1c3509f3: Pulling fs layer 05:43:12 666ba61612fd: Pulling fs layer 05:43:12 8ed8ca486205: Pulling fs layer 05:43:12 4fe6c5a15a65: Pulling fs layer 05:43:12 22a0e8bec74d: Pulling fs layer 05:43:12 ca2b28591e48: Pulling fs layer 05:43:12 a51346096db8: Pulling fs layer 05:43:12 daebc70d1ce1: Pulling fs layer 05:43:12 0e18a0eac166: Pulling fs layer 05:43:12 a51346096db8: Waiting 05:43:12 22a0e8bec74d: Waiting 05:43:12 ca2b28591e48: Waiting 05:43:12 daebc70d1ce1: Waiting 05:43:12 4fe6c5a15a65: Waiting 05:43:12 8ed8ca486205: Verifying Checksum 05:43:12 8ed8ca486205: Download complete 05:43:12 666ba61612fd: Download complete 05:43:12 22a0e8bec74d: Verifying Checksum 05:43:12 22a0e8bec74d: Download complete 05:43:12 ca2b28591e48: Download complete 05:43:12 59bf1c3509f3: Download complete 05:43:12 a51346096db8: Verifying Checksum 05:43:12 a51346096db8: Download complete 05:43:12 daebc70d1ce1: Verifying Checksum 05:43:12 daebc70d1ce1: Download complete 05:43:12 59bf1c3509f3: Pull complete 05:43:13 666ba61612fd: Pull complete 05:43:13 8ed8ca486205: Pull complete 05:43:13 4fe6c5a15a65: Verifying Checksum 05:43:13 4fe6c5a15a65: Download complete 05:43:13 0e18a0eac166: Verifying Checksum 05:43:13 0e18a0eac166: Download complete 05:43:17 4fe6c5a15a65: Pull complete 05:43:17 22a0e8bec74d: Pull complete 05:43:17 ca2b28591e48: Pull complete 05:43:17 a51346096db8: Pull complete 05:43:17 daebc70d1ce1: Pull complete 05:43:19 0e18a0eac166: Pull complete 05:43:19 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:43:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:43:19 ---> f018257e8ee9 05:43:19 Step 3/12 : ARG MAKE='make build' 05:43:21 ---> Running in 9253c9bc534a 05:43:21 Removing intermediate container 9253c9bc534a 05:43:21 ---> 5f052b2e4343 05:43:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:43:21 ---> Running in 26d6b6ae2af8 05:43:21 Removing intermediate container 26d6b6ae2af8 05:43:21 ---> 250e9dec522d 05:43:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:43:21 ---> Running in 65123748547f 05:43:21 Removing intermediate container 65123748547f 05:43:21 ---> 6dc508af19de 05:43:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:21 ---> Running in d452b764e65d 05:43:22 Removing intermediate container d452b764e65d 05:43:22 ---> 20f016a0d365 05:43:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:43:22 ---> Running in d164c09227f0 05:43:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:43:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:43:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:43:23 (2/4) Installing libedit (20210910.3.1-r0) 05:43:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:43:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:43:24 Executing busybox-1.34.1-r3.trigger 05:43:24 OK: 224 MiB in 56 packages 05:43:24 Removing intermediate container d164c09227f0 05:43:24 ---> 03b94f0f6d59 05:43:24 Step 8/12 : WORKDIR /device-snmp-go 05:43:24 ---> Running in 1722061770e2 05:43:24 Removing intermediate container 1722061770e2 05:43:24 ---> 42a56ef81eb9 05:43:24 Step 9/12 : COPY go.mod vendor* ./ 05:43:24 ---> 7bc270e7aaa9 05:43:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:43:24 ---> Running in 2067e4daaf51 05:43:25 Still waiting to schedule task 05:43:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63049’ 05:43:39 Removing intermediate container 2067e4daaf51 05:43:39 ---> af657cf60520 05:43:39 Step 11/12 : COPY . . 05:43:39 ---> 0a558e0575a8 05:43:39 Step 12/12 : RUN ${MAKE} 05:43:39 ---> Running in 5fe0b3d1fab6 05:43:39 noop 05:43:39 Removing intermediate container 5fe0b3d1fab6 05:43:39 ---> 2f5b9043e613 05:43:39 Successfully built 2f5b9043e613 05:43:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:43:40 + docker inspect -f . ci-base-image-x86_64 05:43:40 . [Pipeline] withDockerContainer 05:43:40 prd-ubuntu20.04-docker-8c-8g-63051 does not seem to be running inside a container 05:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-170 -v /w/workspace/gexfoundry_device-snmp-go_PR-170:/w/workspace/gexfoundry_device-snmp-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-170@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-170@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 ******** ci-base-image-x86_64 cat 05:43:40 $ docker top c13fe897a96614c9b277b9050d298fe12e71d1033de9b852d152bf8a7e8edb06 -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:41 + go version 05:43:41 go version go1.17.6 linux/amd64 [Pipeline] } 05:43:41 $ docker stop --time=1 c13fe897a96614c9b277b9050d298fe12e71d1033de9b852d152bf8a7e8edb06 05:43:42 $ docker rm -f c13fe897a96614c9b277b9050d298fe12e71d1033de9b852d152bf8a7e8edb06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:43:43 + docker inspect -f . ci-base-image-x86_64 05:43:43 . [Pipeline] withDockerContainer 05:43:43 prd-ubuntu20.04-docker-8c-8g-63051 does not seem to be running inside a container 05:43:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-170 -v /w/workspace/gexfoundry_device-snmp-go_PR-170:/w/workspace/gexfoundry_device-snmp-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-170@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-170@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 ******** ci-base-image-x86_64 cat 05:43:43 $ docker top 850bcf7f19585fadf5019917a02363fa2c7c7e3c81991c9e24ed5652c7021224 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:43:44 + make test 05:43:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:43:44 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:43:54 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:43:54 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 05:43:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:44:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:44:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:44:03 ./bin/test-attribution-txt.sh [Pipeline] echo 05:44:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:44:04 $ docker stop --time=1 850bcf7f19585fadf5019917a02363fa2c7c7e3c81991c9e24ed5652c7021224 05:44:05 $ docker rm -f 850bcf7f19585fadf5019917a02363fa2c7c7e3c81991c9e24ed5652c7021224 [Pipeline] // withDockerContainer [Pipeline] sh 05:44:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:44:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:44:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:44:07 + ls -al . 05:44:07 total 168 05:44:07 drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:44 . 05:44:07 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:42 .. 05:44:07 -rw-rw-r-- 1 jenkins jenkins 6 May 11 05:42 .dockerignore 05:44:07 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:43 .git 05:44:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:42 .github 05:44:07 -rw-rw-r-- 1 jenkins jenkins 328 May 11 05:42 .gitignore 05:44:07 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:42 .golangci.yml 05:44:07 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:43 .semver 05:44:07 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 05:42 Attribution.txt 05:44:07 -rw-rw-r-- 1 jenkins jenkins 4401 May 11 05:42 CHANGELOG.md 05:44:07 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 05:42 Dockerfile 05:44:07 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:42 GOVERNANCE.md 05:44:07 -rw-rw-r-- 1 jenkins jenkins 656 May 11 05:42 Jenkinsfile 05:44:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:42 LICENSE 05:44:07 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 05:42 Makefile 05:44:07 -rw-rw-r-- 1 jenkins jenkins 620 May 11 05:42 OWNERS.md 05:44:07 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 05:42 README.md 05:44:07 -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:43 VERSION 05:44:07 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:42 bin 05:44:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:42 cmd 05:44:07 -rw-r--r-- 1 jenkins jenkins 7631 May 11 05:43 coverage.out 05:44:07 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 05:42 go.mod 05:44:07 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 05:42 go.sum 05:44:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:42 internal 05:44:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:42 snap 05:44:07 -rw-rw-r-- 1 jenkins jenkins 209 May 11 05:42 version.go [Pipeline] isUnix [Pipeline] sh 05:44:07 + 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=d6b329782f5b151565fc3adc38110ea8d0de9b9a --label arch=amd64 --label version=0.0.0 . 05:44:07 Sending build context to Docker daemon 5.359MB 05:44:07 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:44:07 Step 2/24 : FROM ${BASE} AS builder 05:44:07 ---> 2f5b9043e613 05:44:07 Step 3/24 : ARG MAKE='make build' 05:44:07 ---> Running in 6542f1999eed 05:44:08 Removing intermediate container 6542f1999eed 05:44:08 ---> a9a4b8d5f0f2 05:44:08 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:44:08 ---> Running in 2c3ed6eaca22 05:44:08 Removing intermediate container 2c3ed6eaca22 05:44:08 ---> 3c7b7a959cbc 05:44:08 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:44:08 ---> Running in 6209218c8c46 05:44:08 Removing intermediate container 6209218c8c46 05:44:08 ---> 3776cec3cc39 05:44:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:08 ---> Running in d4f0eda08313 05:44:08 Removing intermediate container d4f0eda08313 05:44:08 ---> a3a88dc080c6 05:44:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:08 ---> Running in 627734bd5444 05:44:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:44:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:44:10 OK: 224 MiB in 56 packages 05:44:10 Removing intermediate container 627734bd5444 05:44:10 ---> 41f45b87cf00 05:44:10 Step 8/24 : WORKDIR /device-snmp-go 05:44:10 ---> Running in 341f2eaaa92f 05:44:11 Removing intermediate container 341f2eaaa92f 05:44:11 ---> e496aad8c207 05:44:11 Step 9/24 : COPY go.mod vendor* ./ 05:44:11 ---> 2486a585ac34 05:44:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:11 ---> Running in 9d84060cb53d 05:44:11 Removing intermediate container 9d84060cb53d 05:44:11 ---> 70840508806f 05:44:11 Step 11/24 : COPY . . 05:44:12 ---> f41f7391b084 05:44:12 Step 12/24 : RUN ${MAKE} 05:44:12 ---> Running in 03499f53859a 05:44:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:44:34 Removing intermediate container 03499f53859a 05:44:34 ---> 305b9573fbdc 05:44:34 Step 13/24 : FROM alpine:3.14 05:44:34 3.14: Pulling from library/alpine 05:44:34 8663204ce13b: Pulling fs layer 05:44:34 8663204ce13b: Verifying Checksum 05:44:34 8663204ce13b: Download complete 05:44:34 8663204ce13b: Pull complete 05:44:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:44:34 Status: Downloaded newer image for alpine:3.14 05:44:34 ---> e04c818066af 05:44:34 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:44:34 ---> Running in ad7913ecedff 05:44:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:44:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:44:34 (1/6) Installing dumb-init (1.2.5-r1) 05:44:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:44:34 (3/6) Installing libsodium (1.0.18-r0) 05:44:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:44:34 (5/6) Installing libzmq (4.3.4-r0) 05:44:34 (6/6) Installing zeromq (4.3.4-r0) 05:44:34 Executing busybox-1.33.1-r7.trigger 05:44:34 OK: 8 MiB in 20 packages 05:44:34 Removing intermediate container ad7913ecedff 05:44:34 ---> f7fadb983530 05:44:34 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:44:34 ---> aacbaa54b8e1 05:44:34 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:44:34 ---> 494213bb5d42 05:44:34 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:44:34 ---> 681fe83ad886 05:44:34 Step 18/24 : EXPOSE 59993 05:44:34 ---> Running in 0a0dbaa73cc8 05:44:34 Removing intermediate container 0a0dbaa73cc8 05:44:34 ---> 3118d829ca9c 05:44:34 Step 19/24 : EXPOSE 161 05:44:34 ---> Running in a767d5fb1741 05:44:34 Removing intermediate container a767d5fb1741 05:44:34 ---> f868b69aca1e 05:44:34 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:44:34 ---> Running in 1e5dadab4dd1 05:44:34 Removing intermediate container 1e5dadab4dd1 05:44:34 ---> b7edbf1b5aed 05:44:34 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:44:34 ---> Running in 1d4f31c52d64 05:44:34 Removing intermediate container 1d4f31c52d64 05:44:34 ---> c6c3f42c2747 05:44:34 Step 22/24 : LABEL arch=amd64 05:44:34 ---> Running in 1e23b7c41f6f 05:44:34 Removing intermediate container 1e23b7c41f6f 05:44:34 ---> 07f07d9e6774 05:44:34 Step 23/24 : LABEL git_sha=d6b329782f5b151565fc3adc38110ea8d0de9b9a 05:44:34 ---> Running in c527eb2845d2 05:44:34 Removing intermediate container c527eb2845d2 05:44:34 ---> a3b4601ef3ed 05:44:34 Step 24/24 : LABEL version=0.0.0 05:44:35 ---> Running in 6040c34d5b4f 05:44:35 Removing intermediate container 6040c34d5b4f 05:44:35 ---> 69650c7ae4ff 05:44:35 [Warning] One or more build-args [ARCH] were not consumed 05:44:35 Successfully built 69650c7ae4ff 05:44:35 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:36 05:44:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:44:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:36 latest: Pulling from edgex-lftools-log-publisher 05:44:36 5eb5b503b376: Pulling fs layer 05:44:36 5c69ac0246d0: Pulling fs layer 05:44:36 ec43610c2a17: Pulling fs layer 05:44:36 3a2ae6a8a46f: Pulling fs layer 05:44:36 33b1e0a273af: Pulling fs layer 05:44:36 5d3b04190fa2: Pulling fs layer 05:44:36 2f39f015ded8: Pulling fs layer 05:44:36 33b1e0a273af: Waiting 05:44:36 3a2ae6a8a46f: Waiting 05:44:36 5d3b04190fa2: Waiting 05:44:36 2f39f015ded8: Waiting 05:44:36 5c69ac0246d0: Verifying Checksum 05:44:36 5c69ac0246d0: Download complete 05:44:36 3a2ae6a8a46f: Download complete 05:44:36 33b1e0a273af: Verifying Checksum 05:44:36 33b1e0a273af: Download complete 05:44:36 ec43610c2a17: Verifying Checksum 05:44:36 ec43610c2a17: Download complete 05:44:36 5d3b04190fa2: Verifying Checksum 05:44:36 5d3b04190fa2: Download complete 05:44:36 5eb5b503b376: Download complete 05:44:37 2f39f015ded8: Download complete 05:44:37 5eb5b503b376: Pull complete 05:44:38 5c69ac0246d0: Pull complete 05:44:38 ec43610c2a17: Pull complete 05:44:38 3a2ae6a8a46f: Pull complete 05:44:38 33b1e0a273af: Pull complete 05:44:39 5d3b04190fa2: Pull complete 05:44:43 2f39f015ded8: Pull complete 05:44:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:44:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:44:43 prd-ubuntu20.04-docker-8c-8g-63051 does not seem to be running inside a container 05:44:43 $ 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-170 -v /w/workspace/gexfoundry_device-snmp-go_PR-170:/w/workspace/gexfoundry_device-snmp-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-170@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-170@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 05:44:45 $ docker top 19c3db0b958c9e1e078ef2d189dabdf013544245b3a00d0ed27f689a6e782935 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:46 ---> job-cost.sh 05:44:46 lf-activate-venv: SKIPPING 05:44:46 INFO: No Stack... 05:44:46 INFO: Retrieving Pricing Info for: v3-standard-8 05:44:46 INFO: Archiving Costs [Pipeline] sh 05:44:47 + cat /w/workspace/gexfoundry_device-snmp-go_PR-170/archives/cost.csv 05:44:47 + cut -d, -f6 [Pipeline] lock 05:44:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] 05:44:47 Resource [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] did not exist. Created. 05:44:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:47 + echo total: 0.2199999988079071 [Pipeline] stash 05:44:47 Stashed 1 file(s) [Pipeline] } 05:44:47 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:47 $ docker stop --time=1 19c3db0b958c9e1e078ef2d189dabdf013544245b3a00d0ed27f689a6e782935 05:44:49 $ docker rm -f 19c3db0b958c9e1e078ef2d189dabdf013544245b3a00d0ed27f689a6e782935 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:46:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63053 in /w/workspace/gexfoundry_device-snmp-go_PR-170 [Pipeline] { [Pipeline] ws 05:46:19 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:46:20 Selected Git installation does not exist. Using Default 05:46:20 The recommended git tool is: NONE 05:46:26 using credential edgex-jenkins-ssh 05:46:26 Cloning the remote Git repository 05:46:26 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:46:26 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:46:26 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:46:26 > git --version # timeout=10 05:46:27 > git --version # 'git version 2.25.1' 05:46:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:46:28 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:46:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:46:28 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:46:28 Merging remotes/origin/main commit dc31039becec9772b0a461c07f986a5f4714edf6 into PR head commit d6b329782f5b151565fc3adc38110ea8d0de9b9a 05:46:29 Merge succeeded, producing d6b329782f5b151565fc3adc38110ea8d0de9b9a 05:46:29 Checking out Revision d6b329782f5b151565fc3adc38110ea8d0de9b9a (PR-170) 05:46:28 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:46:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:46:28 > git config core.sparsecheckout # timeout=10 05:46:29 > git checkout -f d6b329782f5b151565fc3adc38110ea8d0de9b9a # timeout=10 05:46:29 > git remote # timeout=10 05:46:29 > git config --get remote.origin.url # timeout=10 05:46:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:29 > git merge dc31039becec9772b0a461c07f986a5f4714edf6 # timeout=10 05:46:29 > git rev-parse HEAD^{commit} # timeout=10 05:46:29 > git config core.sparsecheckout # timeout=10 05:46:29 > git checkout -f d6b329782f5b151565fc3adc38110ea8d0de9b9a # timeout=10 05:46:33 Commit message: "build: Update to released Go Mods" 05:46:33 > git --version # timeout=10 05:46:33 > git --version # 'git version 2.25.1' 05:46:33 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:46:34 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:34 Dload Upload Total Spent Left Speed 05:46:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 05:46:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:46:35 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 05:46:35 05:46:35 { 05:46:35 "registry-mirrors": [ 05:46:35 "https://nexus3.edgexfoundry.org:10001" 05:46:35 ], 05:46:35 "bip": "10.250.0.254/24", 05:46:35 "hosts": [ 05:46:35 "tcp://0.0.0.0:5555", 05:46:35 "unix:///var/run/docker.sock" 05:46:35 ], 05:46:35 "mtu": 1458, 05:46:35 "selinux-enabled": true, 05:46:35 "seccomp-profile": "/etc/docker/seccomp.json" 05:46:35 } [Pipeline] sh 05:46:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:46:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:55 provisioning config files... 05:46:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2548773226727790552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:55 ---> docker-login.sh 05:46:55 nexus3.edgexfoundry.org:10001 05:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:56 Configure a credential helper to remove this warning. See 05:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:56 05:46:56 Login Succeeded 05:46:56 nexus3.edgexfoundry.org:10002 05:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:57 Configure a credential helper to remove this warning. See 05:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:57 05:46:57 Login Succeeded 05:46:57 nexus3.edgexfoundry.org:10003 05:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:57 Configure a credential helper to remove this warning. See 05:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:57 05:46:57 Login Succeeded 05:46:57 nexus3.edgexfoundry.org:10004 05:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:58 Configure a credential helper to remove this warning. See 05:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:58 05:46:58 Login Succeeded 05:46:58 docker.io 05:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:58 Configure a credential helper to remove this warning. See 05:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:58 05:46:59 Login Succeeded 05:46:59 ---> docker-login.sh ends [Pipeline] } 05:46:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:46:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:46:59 ========================================================= 05:46:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:46:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:47:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:47:00 Sending build context to Docker daemon 2.774MB 05:47:00 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:47:00 Step 2/12 : FROM ${BASE} AS builder 05:47:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:47:00 9b3977197b4f: Pulling fs layer 05:47:00 1a89e8eeedd5: Pulling fs layer 05:47:00 94645a83ff95: Pulling fs layer 05:47:00 3f3a8bcf1eab: Pulling fs layer 05:47:00 0c92f367c5e7: Pulling fs layer 05:47:00 3096ccb668a1: Pulling fs layer 05:47:00 e8cf19c19ddd: Pulling fs layer 05:47:00 a4caa8a26152: Pulling fs layer 05:47:00 3096ccb668a1: Waiting 05:47:00 3f3a8bcf1eab: Waiting 05:47:00 e8cf19c19ddd: Waiting 05:47:00 a4caa8a26152: Waiting 05:47:00 0c92f367c5e7: Waiting 05:47:00 94645a83ff95: Verifying Checksum 05:47:00 94645a83ff95: Download complete 05:47:00 1a89e8eeedd5: Download complete 05:47:00 0c92f367c5e7: Verifying Checksum 05:47:00 0c92f367c5e7: Download complete 05:47:00 3096ccb668a1: Download complete 05:47:00 9b3977197b4f: Verifying Checksum 05:47:00 9b3977197b4f: Download complete 05:47:00 e8cf19c19ddd: Verifying Checksum 05:47:00 e8cf19c19ddd: Download complete 05:47:01 9b3977197b4f: Pull complete 05:47:02 1a89e8eeedd5: Pull complete 05:47:02 94645a83ff95: Pull complete 05:47:02 a4caa8a26152: Verifying Checksum 05:47:02 a4caa8a26152: Download complete 05:47:03 3f3a8bcf1eab: Verifying Checksum 05:47:03 3f3a8bcf1eab: Download complete 05:47:15 3f3a8bcf1eab: Pull complete 05:47:15 0c92f367c5e7: Pull complete 05:47:15 3096ccb668a1: Pull complete 05:47:15 e8cf19c19ddd: Pull complete 05:47:22 a4caa8a26152: Pull complete 05:47:22 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:47:22 ---> 725f1c02e7f9 05:47:22 Step 3/12 : ARG MAKE='make build' 05:47:23 ---> Running in 3d7bae8cdfa3 05:47:23 Removing intermediate container 3d7bae8cdfa3 05:47:23 ---> 014c4a440c35 05:47:23 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:47:23 ---> Running in 398f0baf6861 05:47:23 Removing intermediate container 398f0baf6861 05:47:23 ---> 21aa31f2a6e9 05:47:23 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:47:23 ---> Running in 10ad2562ec0a 05:47:24 Removing intermediate container 10ad2562ec0a 05:47:24 ---> a0b9974111e6 05:47:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:47:24 ---> Running in 26b0463b83fb 05:47:27 Removing intermediate container 26b0463b83fb 05:47:27 ---> fcff3da10617 05:47:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:47:27 ---> Running in 2b2977ee0f4f 05:47:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:47:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:47:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:47:30 (2/4) Installing libedit (20210910.3.1-r0) 05:47:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:47:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:47:30 Executing busybox-1.34.1-r3.trigger 05:47:30 OK: 224 MiB in 56 packages 05:47:31 Removing intermediate container 2b2977ee0f4f 05:47:31 ---> 4ca374bd1bb3 05:47:31 Step 8/12 : WORKDIR /device-snmp-go 05:47:31 ---> Running in a3c46b90f4b0 05:47:32 Removing intermediate container a3c46b90f4b0 05:47:32 ---> 21d6a0a971c5 05:47:32 Step 9/12 : COPY go.mod vendor* ./ 05:47:32 ---> 2cc4aeb82f22 05:47:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:33 ---> Running in cd7e00821570 05:48:20 Removing intermediate container cd7e00821570 05:48:20 ---> 4bbed887c508 05:48:20 Step 11/12 : COPY . . 05:48:20 ---> 5a81c6b86ae4 05:48:20 Step 12/12 : RUN ${MAKE} 05:48:20 ---> Running in 98a07a26addb 05:48:20 noop 05:48:20 Removing intermediate container 98a07a26addb 05:48:20 ---> a3ec151d2119 05:48:20 Successfully built a3ec151d2119 05:48:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:48:20 + docker inspect -f . ci-base-image-arm64 05:48:20 . [Pipeline] withDockerContainer 05:48:20 prd-ubuntu20.04-docker-arm64-4c-16g-63053 does not seem to be running inside a container 05:48:20 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:48:22 $ docker top 12a2c6fc578bb590051c091286a38c437b27fc1e29cb489f72434d16bbc41af4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:23 + go version 05:48:23 go version go1.17.6 linux/arm64 [Pipeline] } 05:48:23 $ docker stop --time=1 12a2c6fc578bb590051c091286a38c437b27fc1e29cb489f72434d16bbc41af4 05:48:24 $ docker rm -f 12a2c6fc578bb590051c091286a38c437b27fc1e29cb489f72434d16bbc41af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:48:25 + docker inspect -f . ci-base-image-arm64 05:48:25 . [Pipeline] withDockerContainer 05:48:25 prd-ubuntu20.04-docker-arm64-4c-16g-63053 does not seem to be running inside a container 05:48:26 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:48:27 $ docker top 313dc8b66337ce9fa7a75815586d1ecb9d2b989b0f4862e2db689e9a7782711d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:48:28 + make test 05:48:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:48:30 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:50:07 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:50:07 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.059s coverage: 0.0% of statements 05:50:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:50:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:50:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:50:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:50:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:50:23 $ docker stop --time=1 313dc8b66337ce9fa7a75815586d1ecb9d2b989b0f4862e2db689e9a7782711d 05:50:25 $ docker rm -f 313dc8b66337ce9fa7a75815586d1ecb9d2b989b0f4862e2db689e9a7782711d [Pipeline] // withDockerContainer [Pipeline] sh 05:50:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:50:26 Warning: overwriting stash ‘coverage-report’ 05:50:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:28 + ls -al . 05:50:28 total 164 05:50:28 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:50 . 05:50:28 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:46 .. 05:50:28 -rw-rw-r-- 1 jenkins jenkins 6 May 11 05:46 .dockerignore 05:50:28 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:46 .git 05:50:28 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:46 .github 05:50:28 -rw-rw-r-- 1 jenkins jenkins 328 May 11 05:46 .gitignore 05:50:28 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:46 .golangci.yml 05:50:28 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 05:46 Attribution.txt 05:50:28 -rw-rw-r-- 1 jenkins jenkins 4401 May 11 05:46 CHANGELOG.md 05:50:28 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 05:46 Dockerfile 05:50:28 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:46 GOVERNANCE.md 05:50:28 -rw-rw-r-- 1 jenkins jenkins 656 May 11 05:46 Jenkinsfile 05:50:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:46 LICENSE 05:50:28 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 05:46 Makefile 05:50:28 -rw-rw-r-- 1 jenkins jenkins 620 May 11 05:46 OWNERS.md 05:50:28 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 05:46 README.md 05:50:28 -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:43 VERSION 05:50:28 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:46 bin 05:50:28 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:46 cmd 05:50:28 -rw-r--r-- 1 jenkins jenkins 7631 May 11 05:49 coverage.out 05:50:28 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 05:46 go.mod 05:50:28 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 05:46 go.sum 05:50:28 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:46 internal 05:50:28 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:46 snap 05:50:28 -rw-rw-r-- 1 jenkins jenkins 209 May 11 05:46 version.go [Pipeline] isUnix [Pipeline] sh 05:50:28 + 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=d6b329782f5b151565fc3adc38110ea8d0de9b9a --label arch=arm64 --label version=0.0.0 . 05:50:29 Sending build context to Docker daemon 2.782MB 05:50:29 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:50:29 Step 2/24 : FROM ${BASE} AS builder 05:50:29 ---> a3ec151d2119 05:50:29 Step 3/24 : ARG MAKE='make build' 05:50:29 ---> Running in 816c6b9af1d6 05:50:29 Removing intermediate container 816c6b9af1d6 05:50:29 ---> bb9b98317b48 05:50:29 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:50:29 ---> Running in 21f058290b9d 05:50:29 Removing intermediate container 21f058290b9d 05:50:29 ---> 02055ce1f4e1 05:50:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:50:30 ---> Running in 217215da3a90 05:50:30 Removing intermediate container 217215da3a90 05:50:30 ---> 3837e9a487e8 05:50:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:30 ---> Running in 7868ab16b090 05:50:31 Removing intermediate container 7868ab16b090 05:50:31 ---> 98898b9193e1 05:50:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:50:32 ---> Running in 99e761251484 05:50:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:50:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:50:35 OK: 224 MiB in 56 packages 05:50:35 Removing intermediate container 99e761251484 05:50:35 ---> 8b6ce09b6b8a 05:50:35 Step 8/24 : WORKDIR /device-snmp-go 05:50:35 ---> Running in 95c8cd9f8edd 05:50:35 Removing intermediate container 95c8cd9f8edd 05:50:35 ---> 3cbef15a77ba 05:50:35 Step 9/24 : COPY go.mod vendor* ./ 05:50:36 ---> 63872cb4b0a7 05:50:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:50:36 ---> Running in 36d661250609 05:50:38 Removing intermediate container 36d661250609 05:50:38 ---> ee0447a084b5 05:50:38 Step 11/24 : COPY . . 05:50:39 ---> dfa59fc093fa 05:50:39 Step 12/24 : RUN ${MAKE} 05:50:39 ---> Running in f1816da63638 05:50:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:53:02 Removing intermediate container f1816da63638 05:53:02 ---> 230c85cf1eb1 05:53:02 Step 13/24 : FROM alpine:3.14 05:53:02 3.14: Pulling from library/alpine 05:53:02 455c02918c45: Pulling fs layer 05:53:02 455c02918c45: Verifying Checksum 05:53:02 455c02918c45: Download complete 05:53:02 455c02918c45: Pull complete 05:53:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:53:02 Status: Downloaded newer image for alpine:3.14 05:53:02 ---> ac73e934f311 05:53:02 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:53:02 ---> Running in f02cd2911573 05:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:53:02 (1/6) Installing dumb-init (1.2.5-r1) 05:53:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:53:02 (3/6) Installing libsodium (1.0.18-r0) 05:53:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:53:02 (5/6) Installing libzmq (4.3.4-r0) 05:53:02 (6/6) Installing zeromq (4.3.4-r0) 05:53:02 Executing busybox-1.33.1-r7.trigger 05:53:02 OK: 8 MiB in 20 packages 05:53:02 Removing intermediate container f02cd2911573 05:53:02 ---> bd53773d46df 05:53:02 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:53:02 ---> ad9e0d1797e5 05:53:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:53:02 ---> a09043977adf 05:53:02 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:53:02 ---> d1333248f38d 05:53:02 Step 18/24 : EXPOSE 59993 05:53:02 ---> Running in 56c62d7e33d4 05:53:02 Removing intermediate container 56c62d7e33d4 05:53:02 ---> 6660c09e3163 05:53:02 Step 19/24 : EXPOSE 161 05:53:02 ---> Running in ff17fad97310 05:53:02 Removing intermediate container ff17fad97310 05:53:02 ---> efe18d466d4a 05:53:02 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:53:02 ---> Running in 1b3c8472a717 05:53:02 Removing intermediate container 1b3c8472a717 05:53:02 ---> 9c9cc722c4d3 05:53:02 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:53:02 ---> Running in a85eaef58706 05:53:02 Removing intermediate container a85eaef58706 05:53:02 ---> f72aa8911edd 05:53:02 Step 22/24 : LABEL arch=arm64 05:53:02 ---> Running in e918d33d33a9 05:53:02 Removing intermediate container e918d33d33a9 05:53:02 ---> d8c143198007 05:53:02 Step 23/24 : LABEL git_sha=d6b329782f5b151565fc3adc38110ea8d0de9b9a 05:53:02 ---> Running in 723db5db6767 05:53:02 Removing intermediate container 723db5db6767 05:53:02 ---> f4fa8a79c340 05:53:02 Step 24/24 : LABEL version=0.0.0 05:53:02 ---> Running in ee5d9e416d04 05:53:02 Removing intermediate container ee5d9e416d04 05:53:02 ---> d450f31fea00 05:53:02 [Warning] One or more build-args [ARCH] were not consumed 05:53:02 Successfully built d450f31fea00 05:53:02 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:03 05:53:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:53:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:04 arm64: Pulling from edgex-lftools-log-publisher 05:53:04 8998bd30e6a1: Pulling fs layer 05:53:04 04944245beec: Pulling fs layer 05:53:04 699f458cf7ca: Pulling fs layer 05:53:04 765212b225bb: Pulling fs layer 05:53:04 f23df028b6ca: Pulling fs layer 05:53:04 d65c8cfc05b1: Pulling fs layer 05:53:04 2437ff75d9bd: Pulling fs layer 05:53:04 f23df028b6ca: Waiting 05:53:04 d65c8cfc05b1: Waiting 05:53:04 765212b225bb: Waiting 05:53:04 2437ff75d9bd: Waiting 05:53:04 04944245beec: Download complete 05:53:04 765212b225bb: Verifying Checksum 05:53:04 765212b225bb: Download complete 05:53:04 f23df028b6ca: Verifying Checksum 05:53:04 f23df028b6ca: Download complete 05:53:04 d65c8cfc05b1: Verifying Checksum 05:53:04 d65c8cfc05b1: Download complete 05:53:04 699f458cf7ca: Verifying Checksum 05:53:04 699f458cf7ca: Download complete 05:53:04 8998bd30e6a1: Verifying Checksum 05:53:04 8998bd30e6a1: Download complete 05:53:07 2437ff75d9bd: Verifying Checksum 05:53:07 2437ff75d9bd: Download complete 05:53:09 8998bd30e6a1: Pull complete 05:53:09 04944245beec: Pull complete 05:53:11 699f458cf7ca: Pull complete 05:53:11 765212b225bb: Pull complete 05:53:12 f23df028b6ca: Pull complete 05:53:13 d65c8cfc05b1: Pull complete 05:53:28 2437ff75d9bd: Pull complete 05:53:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:53:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:53:28 prd-ubuntu20.04-docker-arm64-4c-16g-63053 does not seem to be running inside a container 05:53:28 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:53:32 $ docker top dad79f95618ab3227f7cd9b7a3a42ac28020dc0d8b1433bb4039074ff4177523 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:33 ---> job-cost.sh 05:53:33 lf-activate-venv: SKIPPING 05:53:33 INFO: No Stack... 05:53:33 INFO: Retrieving Pricing Info for: v3-standard-4 05:53:34 INFO: Archiving Costs [Pipeline] sh 05:53:35 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:53:35 + cut -d, -f6 [Pipeline] lock 05:53:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] 05:53:35 Resource [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] did not exist. Created. 05:53:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:36 /w/workspace/device-snmp-go/1@tmp/durable-0c661cf4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:53:37 + echo total: 0.10999999940395355 [Pipeline] stash 05:53:37 Warning: overwriting stash ‘stack-cost’ 05:53:37 Stashed 1 file(s) [Pipeline] } 05:53:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:37 $ docker stop --time=1 dad79f95618ab3227f7cd9b7a3a42ac28020dc0d8b1433bb4039074ff4177523 05:53:38 $ docker rm -f dad79f95618ab3227f7cd9b7a3a42ac28020dc0d8b1433bb4039074ff4177523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:53:39 provisioning config files... 05:53:39 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/config4836759454152410701tmp [Pipeline] { [Pipeline] sh 05:53:40 + set +x 05:53:40 + curl -s https://codecov.io/bash 05:53:40 + bash -s -- 05:53:40 05:53:40 _____ _ 05:53:40 / ____| | | 05:53:40 | | ___ __| | ___ ___ _____ __ 05:53:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:53:40 | |___| (_) | (_| | __/ (_| (_) \ V / 05:53:40 \_____\___/ \__,_|\___|\___\___/ \_/ 05:53:40 Bash-1.0.6 05:53:40 05:53:40 05:53:40 ==> git version 2.25.1 found 05:53:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:53:40 Release-Date: 2020-01-08 05:53:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:53:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:53:40 ==> Jenkins CI detected. 05:53:40 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-170 05:53:40 project root: . 05:53:40 --> token set from env 05:53:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:53:40 ==> Running gcov in . (disable via -X gcov) 05:53:40 ==> Python coveragepy not found 05:53:40 ==> Searching for coverage reports in: 05:53:40 + . 05:53:40 -> Found 1 reports 05:53:40 ==> Detecting git/mercurial file structure 05:53:40 ==> Reading reports 05:53:40 + ./coverage.out bytes=7631 05:53:40 ==> Appending adjustments 05:53:40 https://docs.codecov.io/docs/fixing-reports 05:53:40 + Found adjustments 05:53:40 ==> Gzipping contents 05:53:40 4.0K /tmp/codecov.1imH67.gz 05:53:40 ==> Uploading reports 05:53:40 url: https://codecov.io 05:53:40 query: branch=PR-170&commit=d6b329782f5b151565fc3adc38110ea8d0de9b9a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=170&job=&cmd_args= 05:53:40 -> Pinging Codecov 05:53:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-170&commit=d6b329782f5b151565fc3adc38110ea8d0de9b9a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=170&job=&cmd_args= 05:53:40 -> Uploading to 05:53:40 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/d6b329782f5b151565fc3adc38110ea8d0de9b9a/4aad57eb-7d0a-4ca6-9425-1da623f0924f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T055340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a7d28051c010a1612cb3253a993f6220970295d2d69682815c4de871ac3910a 05:53:40 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:40 Dload Upload Total Spent Left Speed 05:53:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6485 --:--:-- --:--:-- --:--:-- 6485 05:53:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d6b329782f5b151565fc3adc38110ea8d0de9b9a [Pipeline] } 05:53:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:53:42 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-170/archives ] 05:53:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-170/archives 05:53:42 total 16 05:53:42 drwxr-xr-x 3 root root 4096 May 11 05:44 . 05:53:42 drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:44 .. 05:53:42 drwxr-xr-x 2 root root 4096 May 11 05:44 cost 05:53:42 -rw-r--r-- 1 root root 85 May 11 05:44 cost.csv 05:53:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-170/archives 05:53:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-170/archives 05:53:42 total 16 05:53:42 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:44 . 05:53:42 drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:44 .. 05:53:42 drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:44 cost 05:53:42 -rw-r--r-- 1 jenkins jenkins 85 May 11 05:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:53:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:44 ---> package-listing.sh 05:53:44 ++ facter osfamily 05:53:44 ++ tr '[:upper:]' '[:lower:]' 05:53:44 + OS_FAMILY=debian 05:53:44 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-170 05:53:44 + START_PACKAGES=/tmp/packages_start.txt 05:53:44 + END_PACKAGES=/tmp/packages_end.txt 05:53:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:44 + PACKAGES=/tmp/packages_start.txt 05:53:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-170 ']' 05:53:44 + PACKAGES=/tmp/packages_end.txt 05:53:44 + case "${OS_FAMILY}" in 05:53:44 + dpkg -l 05:53:44 + grep '^ii' 05:53:44 + '[' -f /tmp/packages_start.txt ']' 05:53:44 + '[' -f /tmp/packages_end.txt ']' 05:53:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-170 ']' 05:53:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-170/archives/ 05:53:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-170/archives/ [Pipeline] echo 05:53:44 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-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:53:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:53:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:45 . [Pipeline] withDockerContainer 05:53:45 prd-ubuntu20.04-docker-8c-8g-63051 does not seem to be running inside a container 05:53:45 $ 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-170/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-170 -v /w/workspace/gexfoundry_device-snmp-go_PR-170:/w/workspace/gexfoundry_device-snmp-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-170@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-170@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:45 $ docker top bb13a580a581e296c2bc060e695762955156a0167d4ce06c864b2ac86d78c582 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:46 + touch /tmp/pre-build-complete [Pipeline] sh 05:53:46 + mkdir -p /var/log/sysstat [Pipeline] sh 05:53:46 + ls /var/log/sa-host 05:53:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:46 provisioning config files... 05:53:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-170@tmp/config6746278031928780661tmp [Pipeline] { [Pipeline] echo 05:53:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:53:47 ---> create-netrc.sh [Pipeline] } 05:53:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:53:47 ---> python-tools-install.sh [Pipeline] echo 05:53:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:53:47 ---> sudo-logs.sh 05:53:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:53:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:53:48 ---> job-cost.sh 05:53:48 lf-activate-venv: SKIPPING 05:53:48 DEBUG: total: 0.2199999988079071 05:53:48 INFO: Retrieving Stack Cost... 05:53:48 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:49 INFO: Archiving Costs [Pipeline] echo 05:53:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:53:49 ---> logs-deploy.sh 05:53:49 lf-activate-venv: SKIPPING 05:53:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-170/1 05:53:49 INFO: archiving workspace using pattern(s): 05:53:50 Archives upload complete. 05:53:50 INFO: archiving logs to Nexus