Pull request #169 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 MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 rather than 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 Obtained Jenkinsfile from 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 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-ssh2609973778400908083.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh2197552472111405716.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-169/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-169/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh44100045154242605.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-169/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4755811365586418795.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh8016055871529830819.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-169/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-169/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15659034043625781380.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47170 in /w/workspace/gexfoundry_device-snmp-go_PR-169 [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-169 # 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 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 Merge succeeded, producing 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 Checking out Revision 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 (PR-169) > 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/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 # 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 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:33:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:33:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:33:52 ========================================================= 09:33:52 EdgeX Global Pipelines Version Info 09:33:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:33:52 ------------------- 09:33:52 stable info: 09:33:52 ------------------- 09:33:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:33:52 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 09:33:52 Message: update stable to v1.0.227 09:33:53 ------------------- 09:33:53 experimental info: 09:33:53 ------------------- 09:33:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:33:53 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 09:33:53 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e283d5 [Pipeline] echo 09:33:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:54 provisioning config files... 09:33:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config912289122854434372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:55 ---> docker-login.sh 09:33:55 nexus3.edgexfoundry.org:10001 09:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:55 Configure a credential helper to remove this warning. See 09:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:55 09:33:55 Login Succeeded 09:33:55 nexus3.edgexfoundry.org:10002 09:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:55 Configure a credential helper to remove this warning. See 09:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:55 09:33:55 Login Succeeded 09:33:55 nexus3.edgexfoundry.org:10003 09:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:55 Configure a credential helper to remove this warning. See 09:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:55 09:33:55 Login Succeeded 09:33:55 nexus3.edgexfoundry.org:10004 09:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:56 Configure a credential helper to remove this warning. See 09:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:56 09:33:56 Login Succeeded 09:33:56 docker.io 09:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:56 Configure a credential helper to remove this warning. See 09:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:56 09:33:56 Login Succeeded 09:33:56 ---> docker-login.sh ends [Pipeline] } 09:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:33:56 + git rev-list -1 --merges 2e283d5c857d3d3a5abd6f6fe15a3992613bd436~1..2e283d5c857d3d3a5abd6f6fe15a3992613bd436 [Pipeline] echo 09:33:56 -----------> git rev-list -1 --merges 2e283d5c857d3d3a5abd6f6fe15a3992613bd436~1..2e283d5c857d3d3a5abd6f6fe15a3992613bd436 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 [false] [Pipeline] sh 09:33:57 + git log --format=format:%s -1 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 [Pipeline] echo 09:33:57 ========================================================= 09:33:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:33:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:57 + git log --format=format:%s -1 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 [Pipeline] echo 09:33:57 [semverPrep] GIT_COMMIT: 2e283d5c857d3d3a5abd6f6fe15a3992613bd436, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo 09:33:57 [semverPrep] This is not a build commit. [Pipeline] sh 09:33:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:58 + grep -v github /etc/ssh/ssh_known_hosts 09:33:58 + [ -e /tmp/ssh_known_hosts ] 09:33:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:33:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:33:58 + sudo tee -a /etc/ssh/ssh_known_hosts 09:33:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:33:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:33:58 09:33:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:33:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:33:59 latest: Pulling from edgex-devops/py-git-semver 09:33:59 1fe172e4850f: Pulling fs layer 09:33:59 caf521ccaac6: Pulling fs layer 09:33:59 3ead6fa29328: Pulling fs layer 09:33:59 5c2a1cbceb83: Pulling fs layer 09:33:59 a8d5f1318db7: Pulling fs layer 09:33:59 c427282e49a2: Pulling fs layer 09:33:59 1827001aaf11: Pulling fs layer 09:33:59 0714d37db230: Pulling fs layer 09:33:59 ac28cf19c067: Pulling fs layer 09:33:59 ca983d60f3e2: Pulling fs layer 09:33:59 9f894cec8388: Pulling fs layer 09:33:59 1827001aaf11: Waiting 09:33:59 0714d37db230: Waiting 09:33:59 ac28cf19c067: Waiting 09:33:59 ca983d60f3e2: Waiting 09:33:59 9f894cec8388: Waiting 09:33:59 5c2a1cbceb83: Waiting 09:33:59 c427282e49a2: Waiting 09:33:59 a8d5f1318db7: Waiting 09:33:59 caf521ccaac6: Download complete 09:33:59 5c2a1cbceb83: Verifying Checksum 09:33:59 5c2a1cbceb83: Download complete 09:33:59 a8d5f1318db7: Verifying Checksum 09:33:59 a8d5f1318db7: Download complete 09:33:59 c427282e49a2: Download complete 09:33:59 3ead6fa29328: Verifying Checksum 09:33:59 3ead6fa29328: Download complete 09:33:59 0714d37db230: Verifying Checksum 09:33:59 0714d37db230: Download complete 09:33:59 ac28cf19c067: Verifying Checksum 09:33:59 ac28cf19c067: Download complete 09:33:59 ca983d60f3e2: Verifying Checksum 09:33:59 ca983d60f3e2: Download complete 09:33:59 9f894cec8388: Verifying Checksum 09:33:59 9f894cec8388: Download complete 09:33:59 1fe172e4850f: Verifying Checksum 09:33:59 1fe172e4850f: Download complete 09:33:59 1827001aaf11: Verifying Checksum 09:33:59 1827001aaf11: Download complete 09:34:00 1fe172e4850f: Pull complete 09:34:00 caf521ccaac6: Pull complete 09:34:01 3ead6fa29328: Pull complete 09:34:01 5c2a1cbceb83: Pull complete 09:34:01 a8d5f1318db7: Pull complete 09:34:01 c427282e49a2: Pull complete 09:34:03 1827001aaf11: Pull complete 09:34:03 0714d37db230: Pull complete 09:34:03 ac28cf19c067: Pull complete 09:34:03 ca983d60f3e2: Pull complete 09:34:03 9f894cec8388: Pull complete 09:34:03 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:34:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:34:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:34:03 prd-ubuntu20.04-docker-8c-8g-47170 does not seem to be running inside a container 09:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@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 09:34:05 $ docker top 6a3df29bc8fb4a05ab8577e8b8d6b1db6d5ba9324412822506a0bfafe8a8403a -eo pid,comm 09:34:05 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). 09:34:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:34:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:05 [ssh-agent] Looking for ssh-agent implementation... 09:34:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:06 $ docker exec 6a3df29bc8fb4a05ab8577e8b8d6b1db6d5ba9324412822506a0bfafe8a8403a ssh-agent 09:34:06 SSH_AUTH_SOCK=/tmp/ssh-0pk2m5YJc7Rk/agent.31 09:34:06 SSH_AGENT_PID=38 09:34:06 Running ssh-add (command line suppressed) 09:34:06 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_5233961568335980906.key (/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_5233961568335980906.key) 09:34:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:06 + git tag --points-at HEAD [Pipeline] } 09:34:06 $ docker exec --env ******** --env ******** 6a3df29bc8fb4a05ab8577e8b8d6b1db6d5ba9324412822506a0bfafe8a8403a ssh-agent -k 09:34:06 unset SSH_AUTH_SOCK; 09:34:06 unset SSH_AGENT_PID; 09:34:06 echo Agent pid 38 killed; 09:34:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:34:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:06 [ssh-agent] Looking for ssh-agent implementation... 09:34:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:07 $ docker exec 6a3df29bc8fb4a05ab8577e8b8d6b1db6d5ba9324412822506a0bfafe8a8403a ssh-agent 09:34:07 SSH_AUTH_SOCK=/tmp/ssh-8UED4G1TmWIJ/agent.72 09:34:07 SSH_AGENT_PID=78 09:34:07 Running ssh-add (command line suppressed) 09:34:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_8146086681826618455.key (/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_8146086681826618455.key) 09:34:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:07 + git semver init 09:34:07 2022-05-10 09:34:07,844 [run_init] DEBUG init version:0.0.0 force:False 09:34:07 2022-05-10 09:34:07,844 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver 09:34:07 2022-05-10 09:34:07,845 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-169/.semver 09:34:07 2022-05-10 09:34:07,845 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169, universal_newlines=False, shell=None, istream=None) 09:34:08 2022-05-10 09:34:08,703 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-169/.git/info/exclude 09:34:08 2022-05-10 09:34:08,704 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 with force:False 09:34:08 2022-05-10 09:34:08,704 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 09:34:08 2022-05-10 09:34:08,708 [execute] INFO git cat-file --batch-check 09:34:08 2022-05-10 09:34:08,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver, universal_newlines=False, shell=None, istream=) 09:34:08 2022-05-10 09:34:08,714 [execute] INFO git cat-file --batch 09:34:08 2022-05-10 09:34:08,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver, universal_newlines=False, shell=None, istream=) 09:34:08 2022-05-10 09:34:08,718 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 09:34:08 0.0.0 [Pipeline] } 09:34:08 $ docker exec --env ******** --env ******** 6a3df29bc8fb4a05ab8577e8b8d6b1db6d5ba9324412822506a0bfafe8a8403a ssh-agent -k 09:34:09 unset SSH_AUTH_SOCK; 09:34:09 unset SSH_AGENT_PID; 09:34:09 echo Agent pid 78 killed; 09:34:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:09 + git semver [Pipeline] } 09:34:09 $ docker stop --time=1 6a3df29bc8fb4a05ab8577e8b8d6b1db6d5ba9324412822506a0bfafe8a8403a 09:34:11 $ docker rm -f 6a3df29bc8fb4a05ab8577e8b8d6b1db6d5ba9324412822506a0bfafe8a8403a [Pipeline] // withDockerContainer [Pipeline] sh 09:34:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:34:11 Stashed 1 file(s) [Pipeline] echo 09:34:11 [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 09:34:12 provisioning config files... 09:34:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config5530653272734986428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:12 ---> docker-login.sh 09:34:12 nexus3.edgexfoundry.org:10001 09:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:12 Configure a credential helper to remove this warning. See 09:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:12 09:34:12 Login Succeeded 09:34:12 nexus3.edgexfoundry.org:10002 09:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:12 Configure a credential helper to remove this warning. See 09:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:12 09:34:12 Login Succeeded 09:34:12 nexus3.edgexfoundry.org:10003 09:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:13 Configure a credential helper to remove this warning. See 09:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:13 09:34:13 Login Succeeded 09:34:13 nexus3.edgexfoundry.org:10004 09:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:13 Configure a credential helper to remove this warning. See 09:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:13 09:34:13 Login Succeeded 09:34:13 docker.io 09:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:13 Configure a credential helper to remove this warning. See 09:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:13 09:34:13 Login Succeeded 09:34:13 ---> docker-login.sh ends [Pipeline] } 09:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:34:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:34:14 ========================================================= 09:34:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:34:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:34:14 + 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 . 09:34:14 Sending build context to Docker daemon 5.332MB 09:34:14 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:34:14 Step 2/12 : FROM ${BASE} AS builder 09:34:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:34:14 59bf1c3509f3: Pulling fs layer 09:34:14 666ba61612fd: Pulling fs layer 09:34:14 8ed8ca486205: Pulling fs layer 09:34:14 4fe6c5a15a65: Pulling fs layer 09:34:14 22a0e8bec74d: Pulling fs layer 09:34:14 ca2b28591e48: Pulling fs layer 09:34:14 a51346096db8: Pulling fs layer 09:34:14 daebc70d1ce1: Pulling fs layer 09:34:14 0e18a0eac166: Pulling fs layer 09:34:14 ca2b28591e48: Waiting 09:34:14 0e18a0eac166: Waiting 09:34:14 daebc70d1ce1: Waiting 09:34:14 4fe6c5a15a65: Waiting 09:34:14 22a0e8bec74d: Waiting 09:34:14 8ed8ca486205: Download complete 09:34:14 666ba61612fd: Download complete 09:34:14 22a0e8bec74d: Verifying Checksum 09:34:14 22a0e8bec74d: Download complete 09:34:14 ca2b28591e48: Verifying Checksum 09:34:14 ca2b28591e48: Download complete 09:34:14 a51346096db8: Verifying Checksum 09:34:14 a51346096db8: Download complete 09:34:14 59bf1c3509f3: Verifying Checksum 09:34:14 daebc70d1ce1: Verifying Checksum 09:34:14 daebc70d1ce1: Download complete 09:34:14 59bf1c3509f3: Pull complete 09:34:14 666ba61612fd: Pull complete 09:34:14 8ed8ca486205: Pull complete 09:34:15 0e18a0eac166: Verifying Checksum 09:34:15 0e18a0eac166: Download complete 09:34:15 4fe6c5a15a65: Verifying Checksum 09:34:15 4fe6c5a15a65: Download complete 09:34:18 4fe6c5a15a65: Pull complete 09:34:19 22a0e8bec74d: Pull complete 09:34:19 ca2b28591e48: Pull complete 09:34:19 a51346096db8: Pull complete 09:34:19 daebc70d1ce1: Pull complete 09:34:21 0e18a0eac166: Pull complete 09:34:21 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:34:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:34:21 ---> f018257e8ee9 09:34:21 Step 3/12 : ARG MAKE='make build' 09:34:22 ---> Running in abeee1fdb7dc 09:34:22 Removing intermediate container abeee1fdb7dc 09:34:22 ---> 7547d4c25516 09:34:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:34:22 ---> Running in a28f80717dc8 09:34:23 Removing intermediate container a28f80717dc8 09:34:23 ---> 2508be55de16 09:34:23 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:34:23 ---> Running in d8b842504f1e 09:34:23 Removing intermediate container d8b842504f1e 09:34:23 ---> 9471ce39891c 09:34:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:34:23 ---> Running in 2d4808923d41 09:34:24 Removing intermediate container 2d4808923d41 09:34:24 ---> 4af2d8d83ef0 09:34:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:24 ---> Running in b3869e32c066 09:34:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:34:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:34:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:34:25 (2/4) Installing libedit (20210910.3.1-r0) 09:34:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:34:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:34:25 Executing busybox-1.34.1-r3.trigger 09:34:25 OK: 224 MiB in 56 packages 09:34:26 Removing intermediate container b3869e32c066 09:34:26 ---> d7ad7f6d4dfb 09:34:26 Step 8/12 : WORKDIR /device-snmp-go 09:34:26 ---> Running in 3f202e200624 09:34:26 Removing intermediate container 3f202e200624 09:34:26 ---> d0f142efc2f7 09:34:26 Step 9/12 : COPY go.mod vendor* ./ 09:34:26 ---> 6b385b18a616 09:34:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:26 ---> Running in 6a9fee9dd26e 09:34:27 Still waiting to schedule task 09:34:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-47176’ is offline 09:34:42 Removing intermediate container 6a9fee9dd26e 09:34:42 ---> f4f6f0a0509f 09:34:42 Step 11/12 : COPY . . 09:34:42 ---> 0000f7383efb 09:34:42 Step 12/12 : RUN ${MAKE} 09:34:42 ---> Running in 94d0bc173d74 09:34:42 noop 09:34:43 Removing intermediate container 94d0bc173d74 09:34:43 ---> 0e04d533ffe0 09:34:43 Successfully built 0e04d533ffe0 09:34:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:34:43 + docker inspect -f . ci-base-image-x86_64 09:34:43 . [Pipeline] withDockerContainer 09:34:43 prd-ubuntu20.04-docker-8c-8g-47170 does not seem to be running inside a container 09:34:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@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 09:34:44 $ docker top 38054683e1dad2ab131385ccbe7302c9bcfc634bb6c37f16ed1d0481d6d4a1c7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:44 + go version 09:34:44 go version go1.17.6 linux/amd64 [Pipeline] } 09:34:44 $ docker stop --time=1 38054683e1dad2ab131385ccbe7302c9bcfc634bb6c37f16ed1d0481d6d4a1c7 09:34:46 $ docker rm -f 38054683e1dad2ab131385ccbe7302c9bcfc634bb6c37f16ed1d0481d6d4a1c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:34:46 + docker inspect -f . ci-base-image-x86_64 09:34:46 . [Pipeline] withDockerContainer 09:34:46 prd-ubuntu20.04-docker-8c-8g-47170 does not seem to be running inside a container 09:34:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@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 09:34:47 $ docker top b9e9b767c9cb74bcf929dadafd7b1a62b18cb9852e5a740cc0ba949746da7086 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:34:47 + make test 09:34:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:34:48 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:34:57 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:34:57 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 09:35:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:35:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:35:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:35:07 ./bin/test-attribution-txt.sh [Pipeline] echo 09:35:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:35:08 $ docker stop --time=1 b9e9b767c9cb74bcf929dadafd7b1a62b18cb9852e5a740cc0ba949746da7086 09:35:10 $ docker rm -f b9e9b767c9cb74bcf929dadafd7b1a62b18cb9852e5a740cc0ba949746da7086 [Pipeline] // withDockerContainer [Pipeline] sh 09:35:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:35:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:35:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:12 + ls -al . 09:35:12 total 168 09:35:12 drwxrwxr-x 9 jenkins jenkins 4096 May 10 09:35 . 09:35:12 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:33 .. 09:35:12 -rw-rw-r-- 1 jenkins jenkins 6 May 10 09:33 .dockerignore 09:35:12 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:34 .git 09:35:12 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:33 .github 09:35:12 -rw-rw-r-- 1 jenkins jenkins 328 May 10 09:33 .gitignore 09:35:12 -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:33 .golangci.yml 09:35:12 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:34 .semver 09:35:12 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 09:33 Attribution.txt 09:35:12 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 09:33 CHANGELOG.md 09:35:12 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 09:33 Dockerfile 09:35:12 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:33 GOVERNANCE.md 09:35:12 -rw-rw-r-- 1 jenkins jenkins 656 May 10 09:33 Jenkinsfile 09:35:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:33 LICENSE 09:35:12 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 09:33 Makefile 09:35:12 -rw-rw-r-- 1 jenkins jenkins 620 May 10 09:33 OWNERS.md 09:35:12 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 09:33 README.md 09:35:12 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:34 VERSION 09:35:12 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:33 bin 09:35:12 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:33 cmd 09:35:12 -rw-r--r-- 1 jenkins jenkins 7631 May 10 09:34 coverage.out 09:35:12 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 09:33 go.mod 09:35:12 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 09:33 go.sum 09:35:12 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:33 internal 09:35:12 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:33 snap 09:35:12 -rw-rw-r-- 1 jenkins jenkins 209 May 10 09:33 version.go [Pipeline] isUnix [Pipeline] sh 09:35:12 + 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=2e283d5c857d3d3a5abd6f6fe15a3992613bd436 --label arch=amd64 --label version=0.0.0 . 09:35:12 Sending build context to Docker daemon 5.341MB 09:35:12 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:35:12 Step 2/24 : FROM ${BASE} AS builder 09:35:12 ---> 0e04d533ffe0 09:35:12 Step 3/24 : ARG MAKE='make build' 09:35:12 ---> Running in 18d9edac97d1 09:35:12 Removing intermediate container 18d9edac97d1 09:35:12 ---> e74d783f2bd8 09:35:12 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:35:12 ---> Running in a5ac2b498eff 09:35:12 Removing intermediate container a5ac2b498eff 09:35:12 ---> d4cb0490a883 09:35:12 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:35:12 ---> Running in 0e605cdbb148 09:35:12 Removing intermediate container 0e605cdbb148 09:35:12 ---> cc38ccc58bc6 09:35:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:12 ---> Running in 576aba19874e 09:35:13 Removing intermediate container 576aba19874e 09:35:13 ---> 19e8362b8da9 09:35:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:35:13 ---> Running in 4fe3a02841f8 09:35:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:35:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:35:14 OK: 224 MiB in 56 packages 09:35:15 Removing intermediate container 4fe3a02841f8 09:35:15 ---> 8c2d31e6ffc8 09:35:15 Step 8/24 : WORKDIR /device-snmp-go 09:35:15 ---> Running in 0e3fccee7c38 09:35:15 Removing intermediate container 0e3fccee7c38 09:35:15 ---> ef194f5f52a9 09:35:15 Step 9/24 : COPY go.mod vendor* ./ 09:35:15 ---> d285f2913e23 09:35:15 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:15 ---> Running in 7a2fe16dcdc1 09:35:16 Removing intermediate container 7a2fe16dcdc1 09:35:16 ---> 1c438c8d0022 09:35:16 Step 11/24 : COPY . . 09:35:16 ---> b8985469c2c7 09:35:16 Step 12/24 : RUN ${MAKE} 09:35:16 ---> Running in 78bb1675d04d 09:35:16 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 09:35:38 Removing intermediate container 78bb1675d04d 09:35:38 ---> 96c5974ed3e9 09:35:38 Step 13/24 : FROM alpine:3.14 09:35:38 3.14: Pulling from library/alpine 09:35:38 8663204ce13b: Pulling fs layer 09:35:38 8663204ce13b: Download complete 09:35:38 8663204ce13b: Pull complete 09:35:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:35:38 Status: Downloaded newer image for alpine:3.14 09:35:38 ---> e04c818066af 09:35:38 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:35:38 ---> Running in d8838dda3433 09:35:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:35:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:35:38 (1/6) Installing dumb-init (1.2.5-r1) 09:35:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:35:38 (3/6) Installing libsodium (1.0.18-r0) 09:35:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:35:38 (5/6) Installing libzmq (4.3.4-r0) 09:35:38 (6/6) Installing zeromq (4.3.4-r0) 09:35:38 Executing busybox-1.33.1-r7.trigger 09:35:38 OK: 8 MiB in 20 packages 09:35:38 Removing intermediate container d8838dda3433 09:35:38 ---> 357cc92f8a94 09:35:38 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:35:39 ---> 3729150757c5 09:35:39 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:35:39 ---> 9cd42a37f673 09:35:39 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:35:39 ---> f46694021b12 09:35:39 Step 18/24 : EXPOSE 59993 09:35:39 ---> Running in ad521baf629a 09:35:39 Removing intermediate container ad521baf629a 09:35:39 ---> 3edac3a2bb36 09:35:39 Step 19/24 : EXPOSE 161 09:35:39 ---> Running in 295a9ebda015 09:35:39 Removing intermediate container 295a9ebda015 09:35:39 ---> f47b86d6f378 09:35:39 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:35:39 ---> Running in 82e86dc25688 09:35:39 Removing intermediate container 82e86dc25688 09:35:39 ---> 1fcc38fd3d1b 09:35:39 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:35:39 ---> Running in 13574b5591a0 09:35:39 Removing intermediate container 13574b5591a0 09:35:39 ---> dd818d28a349 09:35:39 Step 22/24 : LABEL arch=amd64 09:35:40 ---> Running in eb9a87dc3ed8 09:35:40 Removing intermediate container eb9a87dc3ed8 09:35:40 ---> 3e439dbc84cc 09:35:40 Step 23/24 : LABEL git_sha=2e283d5c857d3d3a5abd6f6fe15a3992613bd436 09:35:40 ---> Running in f65ab052f32f 09:35:40 Removing intermediate container f65ab052f32f 09:35:40 ---> e26769d3c0bc 09:35:40 Step 24/24 : LABEL version=0.0.0 09:35:40 ---> Running in 5cc23f15a886 09:35:40 Removing intermediate container 5cc23f15a886 09:35:40 ---> c19007ea2a7a 09:35:40 [Warning] One or more build-args [ARCH] were not consumed 09:35:40 Successfully built c19007ea2a7a 09:35:40 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 09:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:41 09:35:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:35:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:41 latest: Pulling from edgex-lftools-log-publisher 09:35:41 5eb5b503b376: Pulling fs layer 09:35:41 5c69ac0246d0: Pulling fs layer 09:35:41 ec43610c2a17: Pulling fs layer 09:35:41 3a2ae6a8a46f: Pulling fs layer 09:35:41 33b1e0a273af: Pulling fs layer 09:35:41 5d3b04190fa2: Pulling fs layer 09:35:41 2f39f015ded8: Pulling fs layer 09:35:41 3a2ae6a8a46f: Waiting 09:35:41 2f39f015ded8: Waiting 09:35:41 33b1e0a273af: Waiting 09:35:41 5d3b04190fa2: Waiting 09:35:41 5c69ac0246d0: Verifying Checksum 09:35:41 5c69ac0246d0: Download complete 09:35:41 3a2ae6a8a46f: Download complete 09:35:41 33b1e0a273af: Verifying Checksum 09:35:41 33b1e0a273af: Download complete 09:35:41 5d3b04190fa2: Verifying Checksum 09:35:41 5d3b04190fa2: Download complete 09:35:41 ec43610c2a17: Verifying Checksum 09:35:41 ec43610c2a17: Download complete 09:35:41 5eb5b503b376: Verifying Checksum 09:35:41 5eb5b503b376: Download complete 09:35:42 2f39f015ded8: Download complete 09:35:43 5eb5b503b376: Pull complete 09:35:43 5c69ac0246d0: Pull complete 09:35:43 ec43610c2a17: Pull complete 09:35:43 3a2ae6a8a46f: Pull complete 09:35:44 33b1e0a273af: Pull complete 09:35:44 5d3b04190fa2: Pull complete 09:35:48 2f39f015ded8: Pull complete 09:35:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:35:48 prd-ubuntu20.04-docker-8c-8g-47170 does not seem to be running inside a container 09:35:48 $ 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-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@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 09:35:51 $ docker top a357d73c9ab221a8b20788f4c3028b850589c247b803b8d2828866a7150bac5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:51 ---> job-cost.sh 09:35:51 lf-activate-venv: SKIPPING 09:35:51 INFO: No Stack... 09:35:51 INFO: Retrieving Pricing Info for: v3-standard-8 09:35:52 INFO: Archiving Costs [Pipeline] sh 09:35:52 + cat /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/cost.csv 09:35:52 + cut -d, -f6 [Pipeline] lock 09:35:52 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] 09:35:52 Resource [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] did not exist. Created. 09:35:52 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:35:53 + echo total: 0.2199999988079071 [Pipeline] stash 09:35:53 Stashed 1 file(s) [Pipeline] } 09:35:53 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:35:53 $ docker stop --time=1 a357d73c9ab221a8b20788f4c3028b850589c247b803b8d2828866a7150bac5e 09:35:54 $ docker rm -f a357d73c9ab221a8b20788f4c3028b850589c247b803b8d2828866a7150bac5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:44:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47400 in /w/workspace/gexfoundry_device-snmp-go_PR-169 [Pipeline] { [Pipeline] ws 09:44:51 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 09:44:52 Selected Git installation does not exist. Using Default 09:44:52 The recommended git tool is: NONE 09:44:59 using credential edgex-jenkins-ssh 09:44:59 Cloning the remote Git repository 09:44:59 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:44:59 > git init /w/workspace/device-snmp-go/1 # timeout=10 09:44:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:44:59 > git --version # timeout=10 09:44:59 > git --version # 'git version 2.25.1' 09:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:45:00 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:45:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:45:00 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:45:00 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:45:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:45:01 Merging remotes/origin/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 09:45:01 Merge succeeded, producing 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 09:45:01 Checking out Revision 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 (PR-169) 09:45:01 > git config core.sparsecheckout # timeout=10 09:45:01 > git checkout -f 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 # timeout=10 09:45:01 > git remote # timeout=10 09:45:01 > git config --get remote.origin.url # timeout=10 09:45:01 using GIT_SSH to set credentials SSH Credentials for GitHub 09:45:01 > git merge 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 09:45:01 > git rev-parse HEAD^{commit} # timeout=10 09:45:01 > git config core.sparsecheckout # timeout=10 09:45:01 > git checkout -f 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 # timeout=10 09:45:05 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" 09:45:05 > git --version # timeout=10 09:45:05 > git --version # 'git version 2.25.1' 09:45:05 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:45:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:45:07 % Total % Received % Xferd Average Speed Time Time Time Current 09:45:07 Dload Upload Total Spent Left Speed 09:45:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 94744 0 --:--:-- --:--:-- --:--:-- 95508 [Pipeline] sh 09:45:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:45:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:45:07 + sudo tee /etc/docker/daemon.new 09:45:07 { 09:45:07 "registry-mirrors": [ 09:45:07 "https://nexus3.edgexfoundry.org:10001" 09:45:07 ], 09:45:07 "bip": "10.250.0.254/24", 09:45:07 "hosts": [ 09:45:07 "tcp://0.0.0.0:5555", 09:45:07 "unix:///var/run/docker.sock" 09:45:07 ], 09:45:07 "mtu": 1458, 09:45:07 "selinux-enabled": true, 09:45:07 "seccomp-profile": "/etc/docker/seccomp.json" 09:45:07 } [Pipeline] sh 09:45:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:45:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:27 provisioning config files... 09:45:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7804434416108013228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:27 ---> docker-login.sh 09:45:27 nexus3.edgexfoundry.org:10001 09:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:28 Configure a credential helper to remove this warning. See 09:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:28 09:45:28 Login Succeeded 09:45:28 nexus3.edgexfoundry.org:10002 09:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:29 Configure a credential helper to remove this warning. See 09:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:29 09:45:29 Login Succeeded 09:45:29 nexus3.edgexfoundry.org:10003 09:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:29 Configure a credential helper to remove this warning. See 09:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:29 09:45:29 Login Succeeded 09:45:29 nexus3.edgexfoundry.org:10004 09:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:29 Configure a credential helper to remove this warning. See 09:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:29 09:45:29 Login Succeeded 09:45:29 docker.io 09:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:30 Configure a credential helper to remove this warning. See 09:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:30 09:45:30 Login Succeeded 09:45:30 ---> docker-login.sh ends [Pipeline] } 09:45:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:45:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:45:31 ========================================================= 09:45:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:45:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:45:31 + 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 . 09:45:32 Sending build context to Docker daemon 2.759MB 09:45:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:45:32 Step 2/12 : FROM ${BASE} AS builder 09:45:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:45:32 9b3977197b4f: Pulling fs layer 09:45:32 1a89e8eeedd5: Pulling fs layer 09:45:32 94645a83ff95: Pulling fs layer 09:45:32 3f3a8bcf1eab: Pulling fs layer 09:45:32 0c92f367c5e7: Pulling fs layer 09:45:32 3096ccb668a1: Pulling fs layer 09:45:32 e8cf19c19ddd: Pulling fs layer 09:45:32 a4caa8a26152: Pulling fs layer 09:45:32 3096ccb668a1: Waiting 09:45:32 e8cf19c19ddd: Waiting 09:45:32 a4caa8a26152: Waiting 09:45:32 3f3a8bcf1eab: Waiting 09:45:32 0c92f367c5e7: Waiting 09:45:32 94645a83ff95: Verifying Checksum 09:45:32 94645a83ff95: Download complete 09:45:32 1a89e8eeedd5: Download complete 09:45:32 0c92f367c5e7: Verifying Checksum 09:45:32 0c92f367c5e7: Download complete 09:45:32 3096ccb668a1: Verifying Checksum 09:45:32 3096ccb668a1: Download complete 09:45:32 9b3977197b4f: Download complete 09:45:32 e8cf19c19ddd: Verifying Checksum 09:45:32 e8cf19c19ddd: Download complete 09:45:33 9b3977197b4f: Pull complete 09:45:33 1a89e8eeedd5: Pull complete 09:45:34 94645a83ff95: Pull complete 09:45:34 a4caa8a26152: Verifying Checksum 09:45:34 3f3a8bcf1eab: Download complete 09:45:47 3f3a8bcf1eab: Pull complete 09:45:47 0c92f367c5e7: Pull complete 09:45:47 3096ccb668a1: Pull complete 09:45:47 e8cf19c19ddd: Pull complete 09:45:52 a4caa8a26152: Pull complete 09:45:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:45:52 ---> 725f1c02e7f9 09:45:52 Step 3/12 : ARG MAKE='make build' 09:45:53 ---> Running in 6ce76aac7b12 09:45:53 Removing intermediate container 6ce76aac7b12 09:45:53 ---> 3afe798786b0 09:45:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:45:54 ---> Running in 22d1b06c31c5 09:45:54 Removing intermediate container 22d1b06c31c5 09:45:54 ---> 39a4b205a773 09:45:54 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:45:54 ---> Running in 7fb238021509 09:45:54 Removing intermediate container 7fb238021509 09:45:54 ---> 5ab4a09613b2 09:45:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:45:54 ---> Running in 61dfcf1a2a1e 09:45:56 Removing intermediate container 61dfcf1a2a1e 09:45:56 ---> 269b0aafb16f 09:45:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:45:56 ---> Running in 523727211fa4 09:45:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:45:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:45:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:46:00 (2/4) Installing libedit (20210910.3.1-r0) 09:46:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:46:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:46:00 Executing busybox-1.34.1-r3.trigger 09:46:00 OK: 224 MiB in 56 packages 09:46:01 Removing intermediate container 523727211fa4 09:46:01 ---> ba47af6aaeae 09:46:01 Step 8/12 : WORKDIR /device-snmp-go 09:46:01 ---> Running in 470422317a1d 09:46:01 Removing intermediate container 470422317a1d 09:46:01 ---> 7f67ccd3701b 09:46:01 Step 9/12 : COPY go.mod vendor* ./ 09:46:02 ---> 1f9bc40a356d 09:46:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:46:02 ---> Running in 62d4ed184d19 09:46:49 Removing intermediate container 62d4ed184d19 09:46:49 ---> 88dd07c1cc0b 09:46:49 Step 11/12 : COPY . . 09:46:49 ---> db954d45e232 09:46:49 Step 12/12 : RUN ${MAKE} 09:46:49 ---> Running in 140b3920ece0 09:46:49 noop 09:46:50 Removing intermediate container 140b3920ece0 09:46:50 ---> 2500d8a590ea 09:46:50 Successfully built 2500d8a590ea 09:46:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:46:50 + docker inspect -f . ci-base-image-arm64 09:46:50 . [Pipeline] withDockerContainer 09:46:51 prd-ubuntu20.04-docker-arm64-4c-16g-47400 does not seem to be running inside a container 09:46:51 $ 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 ******** -e ******** ci-base-image-arm64 cat 09:46:52 $ docker top 722c3c8de9fc309580b340b18c4d81e283e054be2ff56424c9aa584325561331 -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:53 + go version 09:46:53 go version go1.17.6 linux/arm64 [Pipeline] } 09:46:53 $ docker stop --time=1 722c3c8de9fc309580b340b18c4d81e283e054be2ff56424c9aa584325561331 09:46:54 $ docker rm -f 722c3c8de9fc309580b340b18c4d81e283e054be2ff56424c9aa584325561331 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:46:55 + docker inspect -f . ci-base-image-arm64 09:46:55 . [Pipeline] withDockerContainer 09:46:56 prd-ubuntu20.04-docker-arm64-4c-16g-47400 does not seem to be running inside a container 09:46:56 $ 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 ******** -e ******** ci-base-image-arm64 cat 09:46:57 $ docker top 8683f46218bef5225f8272138fdf6702a3e15c1c83418fe6731ea2a7e9fe8d17 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:46:58 + make test 09:46:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:46:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:48:37 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:48:37 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 09:48:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:48:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:48:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:48:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:48:59 ./bin/test-attribution-txt.sh [Pipeline] echo 09:49:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:49:01 $ docker stop --time=1 8683f46218bef5225f8272138fdf6702a3e15c1c83418fe6731ea2a7e9fe8d17 09:49:03 $ docker rm -f 8683f46218bef5225f8272138fdf6702a3e15c1c83418fe6731ea2a7e9fe8d17 [Pipeline] // withDockerContainer [Pipeline] sh 09:49:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:49:04 Warning: overwriting stash ‘coverage-report’ 09:49:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:49:06 + ls -al . 09:49:06 total 164 09:49:06 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:49 . 09:49:06 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:44 .. 09:49:06 -rw-rw-r-- 1 jenkins jenkins 6 May 10 09:45 .dockerignore 09:49:06 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:45 .git 09:49:06 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:45 .github 09:49:06 -rw-rw-r-- 1 jenkins jenkins 328 May 10 09:45 .gitignore 09:49:06 -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:45 .golangci.yml 09:49:06 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 09:45 Attribution.txt 09:49:06 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 09:45 CHANGELOG.md 09:49:06 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 09:45 Dockerfile 09:49:06 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:45 GOVERNANCE.md 09:49:06 -rw-rw-r-- 1 jenkins jenkins 656 May 10 09:45 Jenkinsfile 09:49:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:45 LICENSE 09:49:06 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 09:45 Makefile 09:49:06 -rw-rw-r-- 1 jenkins jenkins 620 May 10 09:45 OWNERS.md 09:49:06 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 09:45 README.md 09:49:06 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:34 VERSION 09:49:06 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:45 bin 09:49:06 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:45 cmd 09:49:06 -rw-r--r-- 1 jenkins jenkins 7631 May 10 09:48 coverage.out 09:49:06 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 09:45 go.mod 09:49:06 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 09:45 go.sum 09:49:06 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:45 internal 09:49:06 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:45 snap 09:49:06 -rw-rw-r-- 1 jenkins jenkins 209 May 10 09:45 version.go [Pipeline] isUnix [Pipeline] sh 09:49:06 + 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=2e283d5c857d3d3a5abd6f6fe15a3992613bd436 --label arch=arm64 --label version=0.0.0 . 09:49:06 Sending build context to Docker daemon 2.767MB 09:49:06 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:49:06 Step 2/24 : FROM ${BASE} AS builder 09:49:06 ---> 2500d8a590ea 09:49:06 Step 3/24 : ARG MAKE='make build' 09:49:07 ---> Running in 37c9642d676a 09:49:07 Removing intermediate container 37c9642d676a 09:49:07 ---> 800caedc6177 09:49:07 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:49:07 ---> Running in a355dbb94275 09:49:07 Removing intermediate container a355dbb94275 09:49:07 ---> 2e24327df14e 09:49:07 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:49:07 ---> Running in b7d2484591f3 09:49:07 Removing intermediate container b7d2484591f3 09:49:07 ---> 6dd6c29ec4dc 09:49:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:49:08 ---> Running in 192a02a1a7b9 09:49:09 Removing intermediate container 192a02a1a7b9 09:49:09 ---> 5bf9fb22995f 09:49:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:49:09 ---> Running in 00cab35a28d9 09:49:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:49:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:49:12 OK: 224 MiB in 56 packages 09:49:13 Removing intermediate container 00cab35a28d9 09:49:13 ---> feacc5a2b9cb 09:49:13 Step 8/24 : WORKDIR /device-snmp-go 09:49:13 ---> Running in 3dcb4502f06f 09:49:13 Removing intermediate container 3dcb4502f06f 09:49:13 ---> 5c74b1f63fb4 09:49:13 Step 9/24 : COPY go.mod vendor* ./ 09:49:14 ---> 56fb16cfd624 09:49:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:49:14 ---> Running in 0b0b24895326 09:49:16 Removing intermediate container 0b0b24895326 09:49:16 ---> 87dd320069ce 09:49:16 Step 11/24 : COPY . . 09:49:17 ---> e0291b624819 09:49:17 Step 12/24 : RUN ${MAKE} 09:49:17 ---> Running in 4fc0f9b27bdb 09:49:18 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 09:51:40 Removing intermediate container 4fc0f9b27bdb 09:51:40 ---> 9e14c2827885 09:51:40 Step 13/24 : FROM alpine:3.14 09:51:40 3.14: Pulling from library/alpine 09:51:40 455c02918c45: Pulling fs layer 09:51:40 455c02918c45: Verifying Checksum 09:51:40 455c02918c45: Download complete 09:51:40 455c02918c45: Pull complete 09:51:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:51:40 Status: Downloaded newer image for alpine:3.14 09:51:40 ---> ac73e934f311 09:51:40 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:51:40 ---> Running in e16ce1aa342e 09:51:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:51:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:51:40 (1/6) Installing dumb-init (1.2.5-r1) 09:51:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:51:40 (3/6) Installing libsodium (1.0.18-r0) 09:51:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:51:40 (5/6) Installing libzmq (4.3.4-r0) 09:51:40 (6/6) Installing zeromq (4.3.4-r0) 09:51:40 Executing busybox-1.33.1-r7.trigger 09:51:40 OK: 8 MiB in 20 packages 09:51:40 Removing intermediate container e16ce1aa342e 09:51:40 ---> d96283a586c8 09:51:40 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:51:40 ---> 1ac0617b7da1 09:51:40 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:51:40 ---> a60a1181ec43 09:51:40 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:51:40 ---> 176453ff8d43 09:51:40 Step 18/24 : EXPOSE 59993 09:51:40 ---> Running in 5cabf216fbca 09:51:40 Removing intermediate container 5cabf216fbca 09:51:40 ---> 0229937348d7 09:51:40 Step 19/24 : EXPOSE 161 09:51:40 ---> Running in f07f92be0523 09:51:40 Removing intermediate container f07f92be0523 09:51:40 ---> 1463bd34dd4a 09:51:40 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:51:40 ---> Running in e3d92d312552 09:51:40 Removing intermediate container e3d92d312552 09:51:40 ---> 084b924d190c 09:51:40 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:51:40 ---> Running in 8842bc80b669 09:51:40 Removing intermediate container 8842bc80b669 09:51:40 ---> 56040968e89e 09:51:40 Step 22/24 : LABEL arch=arm64 09:51:40 ---> Running in 3e582d84c7ef 09:51:40 Removing intermediate container 3e582d84c7ef 09:51:40 ---> eff08c0a3e9d 09:51:40 Step 23/24 : LABEL git_sha=2e283d5c857d3d3a5abd6f6fe15a3992613bd436 09:51:40 ---> Running in e7601cfdb755 09:51:40 Removing intermediate container e7601cfdb755 09:51:40 ---> 86e0443d20dc 09:51:40 Step 24/24 : LABEL version=0.0.0 09:51:40 ---> Running in 3b7fb22db2d2 09:51:40 Removing intermediate container 3b7fb22db2d2 09:51:40 ---> a0d851f5a4d8 09:51:40 [Warning] One or more build-args [ARCH] were not consumed 09:51:40 Successfully built a0d851f5a4d8 09:51:40 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 09:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:51:40 09:51:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:51:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:51:41 arm64: Pulling from edgex-lftools-log-publisher 09:51:41 8998bd30e6a1: Pulling fs layer 09:51:41 04944245beec: Pulling fs layer 09:51:41 699f458cf7ca: Pulling fs layer 09:51:41 765212b225bb: Pulling fs layer 09:51:41 f23df028b6ca: Pulling fs layer 09:51:41 d65c8cfc05b1: Pulling fs layer 09:51:41 2437ff75d9bd: Pulling fs layer 09:51:41 f23df028b6ca: Waiting 09:51:41 d65c8cfc05b1: Waiting 09:51:41 2437ff75d9bd: Waiting 09:51:41 765212b225bb: Waiting 09:51:41 04944245beec: Verifying Checksum 09:51:41 04944245beec: Download complete 09:51:41 765212b225bb: Verifying Checksum 09:51:41 765212b225bb: Download complete 09:51:41 f23df028b6ca: Verifying Checksum 09:51:41 f23df028b6ca: Download complete 09:51:41 d65c8cfc05b1: Verifying Checksum 09:51:41 d65c8cfc05b1: Download complete 09:51:41 699f458cf7ca: Verifying Checksum 09:51:41 699f458cf7ca: Download complete 09:51:42 8998bd30e6a1: Verifying Checksum 09:51:42 8998bd30e6a1: Download complete 09:51:44 2437ff75d9bd: Verifying Checksum 09:51:44 2437ff75d9bd: Download complete 09:51:46 8998bd30e6a1: Pull complete 09:51:47 04944245beec: Pull complete 09:51:48 699f458cf7ca: Pull complete 09:51:48 765212b225bb: Pull complete 09:51:49 f23df028b6ca: Pull complete 09:51:49 d65c8cfc05b1: Pull complete 09:52:04 2437ff75d9bd: Pull complete 09:52:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:52:04 prd-ubuntu20.04-docker-arm64-4c-16g-47400 does not seem to be running inside a container 09:52:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:52:08 $ docker top 82051cf72943029b273d11e126fb9110413157d1adba3d7d1619b5fbbedace26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:09 ---> job-cost.sh 09:52:09 lf-activate-venv: SKIPPING 09:52:09 INFO: No Stack... 09:52:09 INFO: Retrieving Pricing Info for: v3-standard-4 09:52:10 INFO: Archiving Costs [Pipeline] sh 09:52:11 + + catcut /w/workspace/device-snmp-go/1/archives/cost.csv -d, 09:52:11 -f6 [Pipeline] lock 09:52:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] 09:52:11 Resource [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] did not exist. Created. 09:52:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:52:11 /w/workspace/device-snmp-go/1@tmp/durable-a923b847/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:52:12 + echo total: 0.10999999940395355 [Pipeline] stash 09:52:12 Warning: overwriting stash ‘stack-cost’ 09:52:12 Stashed 1 file(s) [Pipeline] } 09:52:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-169-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:52:12 $ docker stop --time=1 82051cf72943029b273d11e126fb9110413157d1adba3d7d1619b5fbbedace26 09:52:14 $ docker rm -f 82051cf72943029b273d11e126fb9110413157d1adba3d7d1619b5fbbedace26 [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 09:52:15 provisioning config files... 09:52:15 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config197661102390535074tmp [Pipeline] { [Pipeline] sh 09:52:15 + set +x 09:52:15 + + bash -s -- 09:52:15 curl -s https://codecov.io/bash 09:52:15 09:52:15 _____ _ 09:52:15 / ____| | | 09:52:15 | | ___ __| | ___ ___ _____ __ 09:52:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:52:15 | |___| (_) | (_| | __/ (_| (_) \ V / 09:52:15 \_____\___/ \__,_|\___|\___\___/ \_/ 09:52:15 Bash-1.0.6 09:52:15 09:52:15 09:52:15 ==> git version 2.25.1 found 09:52:15 ==> 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 09:52:15 Release-Date: 2020-01-08 09:52:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:52:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:52:15 ==> Jenkins CI detected. 09:52:15 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-169 09:52:15 project root: . 09:52:15 --> token set from env 09:52:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:52:15 ==> Running gcov in . (disable via -X gcov) 09:52:15 ==> Python coveragepy not found 09:52:15 ==> Searching for coverage reports in: 09:52:15 + . 09:52:15 -> Found 1 reports 09:52:15 ==> Detecting git/mercurial file structure 09:52:15 ==> Reading reports 09:52:15 + ./coverage.out bytes=7631 09:52:15 ==> Appending adjustments 09:52:15 https://docs.codecov.io/docs/fixing-reports 09:52:15 + Found adjustments 09:52:15 ==> Gzipping contents 09:52:15 4.0K /tmp/codecov.ilhlPS.gz 09:52:15 ==> Uploading reports 09:52:15 url: https://codecov.io 09:52:15 query: branch=PR-169&commit=2e283d5c857d3d3a5abd6f6fe15a3992613bd436&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=169&job=&cmd_args= 09:52:15 -> Pinging Codecov 09:52:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-169&commit=2e283d5c857d3d3a5abd6f6fe15a3992613bd436&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=169&job=&cmd_args= 09:52:16 -> Uploading to 09:52:16 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/6C56EA5C29638FB4528AC87E60AF5AE0/2e283d5c857d3d3a5abd6f6fe15a3992613bd436/07e1eb1d-ca2c-41b5-a0d5-524543603bee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T095215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17227b5d6c3054c66440be866f973ea1cf7f2cfe9be0344ad720ab900dff1932 09:52:16 % Total % Received % Xferd Average Speed Time Time Time Current 09:52:16 Dload Upload Total Spent Left Speed 09:52:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6357 --:--:-- --:--:-- --:--:-- 6332 100 1602 0 0 100 1602 0 6357 --:--:-- --:--:-- --:--:-- 6332 09:52:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/2e283d5c857d3d3a5abd6f6fe15a3992613bd436 [Pipeline] } 09:52:16 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 09:52:18 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-169/archives ] 09:52:18 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 09:52:18 total 16 09:52:18 drwxr-xr-x 3 root root 4096 May 10 09:35 . 09:52:18 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:35 .. 09:52:18 drwxr-xr-x 2 root root 4096 May 10 09:35 cost 09:52:18 -rw-r--r-- 1 root root 85 May 10 09:35 cost.csv 09:52:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 09:52:18 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 09:52:18 total 16 09:52:18 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:35 . 09:52:18 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:35 .. 09:52:18 drwxr-xr-x 2 jenkins jenkins 4096 May 10 09:35 cost 09:52:18 -rw-r--r-- 1 jenkins jenkins 85 May 10 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:52:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:52:19 ---> package-listing.sh 09:52:19 ++ facter osfamily 09:52:19 ++ tr '[:upper:]' '[:lower:]' 09:52:19 + OS_FAMILY=debian 09:52:19 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-169 09:52:19 + START_PACKAGES=/tmp/packages_start.txt 09:52:19 + END_PACKAGES=/tmp/packages_end.txt 09:52:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:52:19 + PACKAGES=/tmp/packages_start.txt 09:52:19 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-169 ']' 09:52:19 + PACKAGES=/tmp/packages_end.txt 09:52:19 + case "${OS_FAMILY}" in 09:52:19 + dpkg -l 09:52:19 + grep '^ii' 09:52:19 + '[' -f /tmp/packages_start.txt ']' 09:52:19 + '[' -f /tmp/packages_end.txt ']' 09:52:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:52:19 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-169 ']' 09:52:19 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/ 09:52:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/ [Pipeline] echo 09:52:19 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-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:52:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:52:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:52:20 . [Pipeline] withDockerContainer 09:52:20 prd-ubuntu20.04-docker-8c-8g-47170 does not seem to be running inside a container 09:52:20 $ 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-169/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-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@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 09:52:20 $ docker top f65007caf618fa5441bda672aa4b52b70c8e90a8422ba9ce84c1205231c5c08a -eo pid,comm [Pipeline] { [Pipeline] sh 09:52:21 + touch /tmp/pre-build-complete [Pipeline] sh 09:52:21 + mkdir -p /var/log/sysstat [Pipeline] sh 09:52:21 + ls /var/log/sa-host 09:52:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:52:22 provisioning config files... 09:52:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config6708196920245098221tmp [Pipeline] { [Pipeline] echo 09:52:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:52:22 ---> create-netrc.sh [Pipeline] } 09:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:52:22 ---> python-tools-install.sh [Pipeline] echo 09:52:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:52:23 ---> sudo-logs.sh 09:52:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:52:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:52:23 ---> job-cost.sh 09:52:23 lf-activate-venv: SKIPPING 09:52:23 DEBUG: total: 0.2199999988079071 09:52:23 INFO: Retrieving Stack Cost... 09:52:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:52:24 INFO: Archiving Costs [Pipeline] echo 09:52:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:52:24 ---> logs-deploy.sh 09:52:24 lf-activate-venv: SKIPPING 09:52:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-169/1 09:52:24 INFO: archiving workspace using pattern(s): 09:52:25 Archives upload complete. 09:52:25 INFO: archiving logs to Nexus