Pull request #153 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9+76bc78b56c3c6b32f516faff42577919f6a867f5 (cdd17f227ff5d5c021caab283ace5dbc938735ec) 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-ssh747100103018008905.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11332201822214077663.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-153/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-153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9043635285116553465.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-153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17158913053921704861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6228204744360277948.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-153/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-153/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh223319033979648457.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-19459 in /w/workspace/gexfoundry_device-snmp-go_PR-153 [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-153 # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 Merge succeeded, producing 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 Checking out Revision 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 (PR-153) > 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/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:10 ========================================================= 05:04:10 EdgeX Global Pipelines Version Info 05:04:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:11 ------------------- 05:04:11 stable info: 05:04:11 ------------------- 05:04:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:11 Message: update stable to v1.0.221 05:04:12 ------------------- 05:04:12 experimental info: 05:04:12 ------------------- 05:04:12 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:12 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:12 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16ee6d8 [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:13 provisioning config files... 05:04:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config7770747169414957832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:14 ---> docker-login.sh 05:04:14 nexus3.edgexfoundry.org:10001 05:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:14 Configure a credential helper to remove this warning. See 05:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:14 05:04:14 Login Succeeded 05:04:14 nexus3.edgexfoundry.org:10002 05:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:14 Configure a credential helper to remove this warning. See 05:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:14 05:04:14 Login Succeeded 05:04:14 nexus3.edgexfoundry.org:10003 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 nexus3.edgexfoundry.org:10004 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 docker.io 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 ---> docker-login.sh ends [Pipeline] } 05:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:16 + git rev-list -1 --merges 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9~1..16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 [Pipeline] echo 05:04:16 -----------> git rev-list -1 --merges 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9~1..16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 [false] [Pipeline] sh 05:04:16 + git log --format=format:%s -1 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 [Pipeline] echo 05:04:16 ========================================================= 05:04:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:17 + git log --format=format:%s -1 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 [Pipeline] echo 05:04:17 [semverPrep] GIT_COMMIT: 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:04:17 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:17 + grep -v github /etc/ssh/ssh_known_hosts 05:04:17 + [ -e /tmp/ssh_known_hosts ] 05:04:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:17 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:18 05:04:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:18 latest: Pulling from edgex-devops/git-semver 05:04:18 a0d0a0d46f8b: Pulling fs layer 05:04:18 3e5f54012d9b: Pulling fs layer 05:04:18 4c7163046ea9: Pulling fs layer 05:04:18 0c2d73faf560: Pulling fs layer 05:04:18 3e5f54012d9b: Verifying Checksum 05:04:18 3e5f54012d9b: Download complete 05:04:18 a0d0a0d46f8b: Download complete 05:04:18 0c2d73faf560: Verifying Checksum 05:04:18 0c2d73faf560: Download complete 05:04:18 4c7163046ea9: Verifying Checksum 05:04:18 4c7163046ea9: Download complete 05:04:18 a0d0a0d46f8b: Pull complete 05:04:18 3e5f54012d9b: Pull complete 05:04:19 4c7163046ea9: Pull complete 05:04:19 0c2d73faf560: Pull complete 05:04:19 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:04:19 prd-ubuntu20.04-docker-8c-8g-19459 does not seem to be running inside a container 05:04:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:04:20 $ docker top 4971ea64a1187000dd2c31fcdb98b11f7f8bd8319b6def40b0a989259d4a3ad8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:20 [ssh-agent] Looking for ssh-agent implementation... 05:04:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:20 $ docker exec 4971ea64a1187000dd2c31fcdb98b11f7f8bd8319b6def40b0a989259d4a3ad8 ssh-agent 05:04:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJMKfHl/agent.15 05:04:20 SSH_AGENT_PID=21 05:04:20 Running ssh-add (command line suppressed) 05:04:21 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_5718944125119499039.key (/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_5718944125119499039.key) 05:04:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:21 + git tag --points-at HEAD [Pipeline] } 05:04:21 $ docker exec --env ******** --env ******** 4971ea64a1187000dd2c31fcdb98b11f7f8bd8319b6def40b0a989259d4a3ad8 ssh-agent -k 05:04:21 unset SSH_AUTH_SOCK; 05:04:21 unset SSH_AGENT_PID; 05:04:21 echo Agent pid 21 killed; 05:04:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:21 [ssh-agent] Looking for ssh-agent implementation... 05:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:21 $ docker exec 4971ea64a1187000dd2c31fcdb98b11f7f8bd8319b6def40b0a989259d4a3ad8 ssh-agent 05:04:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNMibhP/agent.54 05:04:21 SSH_AGENT_PID=60 05:04:21 Running ssh-add (command line suppressed) 05:04:22 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_8377799379176278522.key (/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/private_key_8377799379176278522.key) 05:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:22 + git semver init 05:04:22 # -> Open(): unable to determine branch for HEAD 05:04:22 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-153/.git 05:04:22 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-153 05:04:22 # $SEMVER_REMOTE_NAME = origin 05:04:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:04:22 # $SEMVER_USER_NAME = edgex-jenkins 05:04:22 # $SEMVER_BRANCH = PR-153 05:04:22 # $SEMVER_TEMP = /tmp/semver-689764308 05:04:22 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:04:23 # '/tmp/semver-689764308' -> '/w/workspace/gexfoundry_device-snmp-go_PR-153/.semver' 05:04:23 # -> Force: false 05:04:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-153/.semver [Pipeline] } 05:04:23 $ docker exec --env ******** --env ******** 4971ea64a1187000dd2c31fcdb98b11f7f8bd8319b6def40b0a989259d4a3ad8 ssh-agent -k 05:04:23 unset SSH_AUTH_SOCK; 05:04:23 unset SSH_AGENT_PID; 05:04:23 echo Agent pid 60 killed; 05:04:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:23 + git semver [Pipeline] } 05:04:23 $ docker stop --time=1 4971ea64a1187000dd2c31fcdb98b11f7f8bd8319b6def40b0a989259d4a3ad8 05:04:25 $ docker rm -f 4971ea64a1187000dd2c31fcdb98b11f7f8bd8319b6def40b0a989259d4a3ad8 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:26 Stashed 1 file(s) [Pipeline] echo 05:04:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:26 provisioning config files... 05:04:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config7236946435545489165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:27 ---> docker-login.sh 05:04:27 nexus3.edgexfoundry.org:10001 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:27 nexus3.edgexfoundry.org:10002 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:27 nexus3.edgexfoundry.org:10003 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:27 nexus3.edgexfoundry.org:10004 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:27 docker.io 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:28 ---> docker-login.sh ends [Pipeline] } 05:04:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:28 ========================================================= 05:04:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:04:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:04:28 Sending build context to Docker daemon 5.247MB 05:04:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:04:28 Step 2/12 : FROM ${BASE} AS builder 05:04:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:28 59bf1c3509f3: Pulling fs layer 05:04:28 666ba61612fd: Pulling fs layer 05:04:28 8ed8ca486205: Pulling fs layer 05:04:28 4fe6c5a15a65: Pulling fs layer 05:04:28 22a0e8bec74d: Pulling fs layer 05:04:28 640e595b4fbd: Pulling fs layer 05:04:28 763cafe07f6e: Pulling fs layer 05:04:28 0c0b528cf693: Pulling fs layer 05:04:28 10935f4eaf8b: Pulling fs layer 05:04:28 4fe6c5a15a65: Waiting 05:04:28 22a0e8bec74d: Waiting 05:04:28 640e595b4fbd: Waiting 05:04:28 763cafe07f6e: Waiting 05:04:28 0c0b528cf693: Waiting 05:04:28 10935f4eaf8b: Waiting 05:04:29 8ed8ca486205: Verifying Checksum 05:04:29 8ed8ca486205: Download complete 05:04:29 666ba61612fd: Verifying Checksum 05:04:29 666ba61612fd: Download complete 05:04:29 22a0e8bec74d: Verifying Checksum 05:04:29 22a0e8bec74d: Download complete 05:04:29 640e595b4fbd: Verifying Checksum 05:04:29 640e595b4fbd: Download complete 05:04:29 59bf1c3509f3: Download complete 05:04:29 763cafe07f6e: Verifying Checksum 05:04:29 763cafe07f6e: Download complete 05:04:29 0c0b528cf693: Verifying Checksum 05:04:29 0c0b528cf693: Download complete 05:04:29 59bf1c3509f3: Pull complete 05:04:29 666ba61612fd: Pull complete 05:04:29 8ed8ca486205: Pull complete 05:04:29 10935f4eaf8b: Verifying Checksum 05:04:29 10935f4eaf8b: Download complete 05:04:29 4fe6c5a15a65: Verifying Checksum 05:04:29 4fe6c5a15a65: Download complete 05:04:34 4fe6c5a15a65: Pull complete 05:04:34 22a0e8bec74d: Pull complete 05:04:34 640e595b4fbd: Pull complete 05:04:34 763cafe07f6e: Pull complete 05:04:34 0c0b528cf693: Pull complete 05:04:36 10935f4eaf8b: Pull complete 05:04:36 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:04:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:04:36 ---> 99d49a6021b9 05:04:36 Step 3/12 : ARG MAKE='make build' 05:04:38 ---> Running in 03bc4a3c9106 05:04:38 Removing intermediate container 03bc4a3c9106 05:04:38 ---> 81ee23c43654 05:04:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:38 ---> Running in 9d4ff11d11d5 05:04:38 Removing intermediate container 9d4ff11d11d5 05:04:38 ---> c47424b6595a 05:04:38 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:04:38 ---> Running in 0792a851eec7 05:04:38 Removing intermediate container 0792a851eec7 05:04:38 ---> 3f71f9cc1517 05:04:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:38 ---> Running in 693c7c25cae3 05:04:39 Removing intermediate container 693c7c25cae3 05:04:39 ---> b400d4ed21f8 05:04:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:39 ---> Running in 9bfec4112afb 05:04:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:04:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:04:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:04:41 (2/4) Installing libedit (20210910.3.1-r0) 05:04:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:04:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:04:41 Executing busybox-1.34.1-r3.trigger 05:04:41 OK: 224 MiB in 56 packages 05:04:41 Still waiting to schedule task 05:04:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:42 Removing intermediate container 9bfec4112afb 05:04:42 ---> 1b907c47b711 05:04:42 Step 8/12 : WORKDIR /device-snmp-go 05:04:42 ---> Running in dc44db5220bd 05:04:42 Removing intermediate container dc44db5220bd 05:04:42 ---> 0c9685b27bc4 05:04:42 Step 9/12 : COPY go.mod vendor* ./ 05:04:42 ---> 06d4e3cfb239 05:04:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:42 ---> Running in 3961f5b01fa2 05:05:04 Removing intermediate container 3961f5b01fa2 05:05:04 ---> 57ed48c8c31e 05:05:04 Step 11/12 : COPY . . 05:05:04 ---> 8057c055823e 05:05:04 Step 12/12 : RUN ${MAKE} 05:05:04 ---> Running in dae620174f38 05:05:04 noop 05:05:04 Removing intermediate container dae620174f38 05:05:04 ---> 85263d5f850f 05:05:04 Successfully built 85263d5f850f 05:05:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:04 + docker inspect -f . ci-base-image-x86_64 05:05:04 . [Pipeline] withDockerContainer 05:05:04 prd-ubuntu20.04-docker-8c-8g-19459 does not seem to be running inside a container 05:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:05 $ docker top d53bd0c82ef5d058d9f49d8b878d5bc3444c3f3e5755dd94fe35d6aa909a40d3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:05 + go version 05:05:05 go version go1.17.6 linux/amd64 [Pipeline] } 05:05:05 $ docker stop --time=1 d53bd0c82ef5d058d9f49d8b878d5bc3444c3f3e5755dd94fe35d6aa909a40d3 05:05:06 $ docker rm -f d53bd0c82ef5d058d9f49d8b878d5bc3444c3f3e5755dd94fe35d6aa909a40d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:07 + docker inspect -f . ci-base-image-x86_64 05:05:07 . [Pipeline] withDockerContainer 05:05:07 prd-ubuntu20.04-docker-8c-8g-19459 does not seem to be running inside a container 05:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:08 $ docker top 7ffb894cbd5f4848df105381ad1e4138a319320545b20b622ccf2e799817aa5c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:05:08 + make test 05:05:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 05:05:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:30 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:31 $ docker stop --time=1 7ffb894cbd5f4848df105381ad1e4138a319320545b20b622ccf2e799817aa5c 05:05:33 $ docker rm -f 7ffb894cbd5f4848df105381ad1e4138a319320545b20b622ccf2e799817aa5c [Pipeline] // withDockerContainer [Pipeline] sh 05:05:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:35 + ls -al . 05:05:35 total 184 05:05:35 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 05:05 . 05:05:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 05:04 .. 05:05:35 -rw-rw-r-- 1 jenkins jenkins 6 Apr 11 05:04 .dockerignore 05:05:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 05:04 .git 05:05:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:04 .github 05:05:35 -rw-rw-r-- 1 jenkins jenkins 262 Apr 11 05:04 .gitignore 05:05:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 05:04 .golangci.yml 05:05:35 drwx------ 3 jenkins jenkins 4096 Apr 11 05:04 .semver 05:05:35 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 11 05:04 Attribution.txt 05:05:35 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 11 05:04 CHANGELOG.md 05:05:35 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 11 05:04 Dockerfile 05:05:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 05:04 GOVERNANCE.md 05:05:35 -rw-rw-r-- 1 jenkins jenkins 656 Apr 11 05:04 Jenkinsfile 05:05:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 05:04 LICENSE 05:05:35 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 11 05:04 Makefile 05:05:35 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 05:04 OWNERS.md 05:05:35 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 11 05:04 README.md 05:05:35 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 05:04 VERSION 05:05:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:04 bin 05:05:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:04 cmd 05:05:35 -rw-r--r-- 1 jenkins jenkins 7631 Apr 11 05:05 coverage.out 05:05:35 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 11 05:04 go.mod 05:05:35 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 11 05:04 go.sum 05:05:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:04 internal 05:05:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:04 snap 05:05:35 -rw-rw-r-- 1 jenkins jenkins 209 Apr 11 05:04 version.go [Pipeline] isUnix [Pipeline] sh 05:05:35 + 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=16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 --label arch=amd64 --label version=0.0.0 . 05:05:35 Sending build context to Docker daemon 5.255MB 05:05:35 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:05:35 Step 2/24 : FROM ${BASE} AS builder 05:05:35 ---> 85263d5f850f 05:05:35 Step 3/24 : ARG MAKE='make build' 05:05:35 ---> Running in b949c3952aeb 05:05:35 Removing intermediate container b949c3952aeb 05:05:35 ---> f8f15d66b3c4 05:05:35 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:35 ---> Running in f3d6383badce 05:05:35 Removing intermediate container f3d6383badce 05:05:35 ---> 9cb71063ee55 05:05:35 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:05:35 ---> Running in 1ca49a31971a 05:05:36 Removing intermediate container 1ca49a31971a 05:05:36 ---> 069b443b73ad 05:05:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:36 ---> Running in b64230e9d2d7 05:05:36 Removing intermediate container b64230e9d2d7 05:05:36 ---> 05e52cd40fd9 05:05:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:36 ---> Running in d783b50f6d22 05:05:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:38 OK: 224 MiB in 56 packages 05:05:38 Removing intermediate container d783b50f6d22 05:05:38 ---> 4811e2ac6969 05:05:38 Step 8/24 : WORKDIR /device-snmp-go 05:05:38 ---> Running in f61df1800b9b 05:05:38 Removing intermediate container f61df1800b9b 05:05:38 ---> 668734cb40b7 05:05:38 Step 9/24 : COPY go.mod vendor* ./ 05:05:39 ---> 3319f2f9a7d4 05:05:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:39 ---> Running in 6b390c28baaf 05:05:39 Removing intermediate container 6b390c28baaf 05:05:39 ---> a4c1d2e6417f 05:05:39 Step 11/24 : COPY . . 05:05:39 ---> f01e446ddf48 05:05:39 Step 12/24 : RUN ${MAKE} 05:05:39 ---> Running in 6ee09c96d53a 05:05:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:06:02 Removing intermediate container 6ee09c96d53a 05:06:02 ---> 590c76e95cf0 05:06:02 Step 13/24 : FROM alpine:3.14 05:06:02 3.14: Pulling from library/alpine 05:06:02 8663204ce13b: Pulling fs layer 05:06:02 8663204ce13b: Download complete 05:06:02 8663204ce13b: Pull complete 05:06:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:06:02 Status: Downloaded newer image for alpine:3.14 05:06:02 ---> e04c818066af 05:06:02 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:06:02 ---> Running in b803867490e1 05:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:06:02 (1/6) Installing dumb-init (1.2.5-r1) 05:06:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:06:02 (3/6) Installing libsodium (1.0.18-r0) 05:06:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:06:02 (5/6) Installing libzmq (4.3.4-r0) 05:06:02 (6/6) Installing zeromq (4.3.4-r0) 05:06:02 Executing busybox-1.33.1-r7.trigger 05:06:02 OK: 8 MiB in 20 packages 05:06:03 Removing intermediate container b803867490e1 05:06:03 ---> 75c7b992bc4f 05:06:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:06:03 ---> 7766f2e27caf 05:06:03 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:06:03 ---> 41eb0ea09fc0 05:06:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:06:04 ---> 5fb466a94af5 05:06:04 Step 18/24 : EXPOSE 59993 05:06:04 ---> Running in 03ef8ce30ed2 05:06:04 Removing intermediate container 03ef8ce30ed2 05:06:04 ---> 6a557dc35414 05:06:04 Step 19/24 : EXPOSE 161 05:06:04 ---> Running in 43fd14c20bc6 05:06:04 Removing intermediate container 43fd14c20bc6 05:06:04 ---> bbb526e95d81 05:06:04 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:06:04 ---> Running in 682df6b42d20 05:06:04 Removing intermediate container 682df6b42d20 05:06:04 ---> ada01952a024 05:06:04 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:06:04 ---> Running in f14e103efdba 05:06:04 Removing intermediate container f14e103efdba 05:06:04 ---> 707032912ab6 05:06:04 Step 22/24 : LABEL arch=amd64 05:06:04 ---> Running in 68c050b9ec27 05:06:04 Removing intermediate container 68c050b9ec27 05:06:04 ---> baf470355915 05:06:04 Step 23/24 : LABEL git_sha=16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 05:06:04 ---> Running in e4fb88158c4f 05:06:04 Removing intermediate container e4fb88158c4f 05:06:04 ---> 5b13b21d275c 05:06:04 Step 24/24 : LABEL version=0.0.0 05:06:04 ---> Running in 8a8b3b150610 05:06:04 Removing intermediate container 8a8b3b150610 05:06:04 ---> 9bf230ea5d76 05:06:04 [Warning] One or more build-args [ARCH] were not consumed 05:06:04 Successfully built 9bf230ea5d76 05:06:04 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:05 05:06:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:06:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:05 latest: Pulling from edgex-lftools-log-publisher 05:06:05 5eb5b503b376: Pulling fs layer 05:06:05 5c69ac0246d0: Pulling fs layer 05:06:05 ec43610c2a17: Pulling fs layer 05:06:05 3a2ae6a8a46f: Pulling fs layer 05:06:05 33b1e0a273af: Pulling fs layer 05:06:05 5d3b04190fa2: Pulling fs layer 05:06:05 2f39f015ded8: Pulling fs layer 05:06:05 5d3b04190fa2: Waiting 05:06:05 33b1e0a273af: Waiting 05:06:05 3a2ae6a8a46f: Waiting 05:06:05 5c69ac0246d0: Verifying Checksum 05:06:05 5c69ac0246d0: Download complete 05:06:05 3a2ae6a8a46f: Verifying Checksum 05:06:05 3a2ae6a8a46f: Download complete 05:06:05 33b1e0a273af: Verifying Checksum 05:06:05 33b1e0a273af: Download complete 05:06:05 ec43610c2a17: Verifying Checksum 05:06:05 ec43610c2a17: Download complete 05:06:05 5d3b04190fa2: Verifying Checksum 05:06:05 5d3b04190fa2: Download complete 05:06:06 5eb5b503b376: Download complete 05:06:06 2f39f015ded8: Download complete 05:06:07 5eb5b503b376: Pull complete 05:06:07 5c69ac0246d0: Pull complete 05:06:07 ec43610c2a17: Pull complete 05:06:08 3a2ae6a8a46f: Pull complete 05:06:08 33b1e0a273af: Pull complete 05:06:08 5d3b04190fa2: Pull complete 05:06:13 2f39f015ded8: Pull complete 05:06:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:06:13 prd-ubuntu20.04-docker-8c-8g-19459 does not seem to be running inside a container 05:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:15 $ docker top d16737f573f92650a85fd8790dbcb0eb5f7aee883fb547be07b463c96b4b6fc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:16 ---> job-cost.sh 05:06:16 lf-activate-venv: SKIPPING 05:06:16 INFO: No Stack... 05:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:16 INFO: Archiving Costs [Pipeline] sh 05:06:17 + cat /w/workspace/gexfoundry_device-snmp-go_PR-153/archives/cost.csv 05:06:17 + cut -d, -f6 [Pipeline] lock 05:06:17 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] 05:06:17 Resource [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] did not exist. Created. 05:06:17 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:17 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:17 Stashed 1 file(s) [Pipeline] } 05:06:17 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:17 $ docker stop --time=1 d16737f573f92650a85fd8790dbcb0eb5f7aee883fb547be07b463c96b4b6fc5 05:06:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19462 in /w/workspace/gexfoundry_device-snmp-go_PR-153 05:06:19 $ docker rm -f d16737f573f92650a85fd8790dbcb0eb5f7aee883fb547be07b463c96b4b6fc5 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 05:06:19 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:19 Selected Git installation does not exist. Using Default 05:06:19 The recommended git tool is: NONE 05:06:26 using credential edgex-jenkins-ssh 05:06:26 Cloning the remote Git repository 05:06:26 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:06:26 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:06:27 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:27 > git --version # timeout=10 05:06:27 > git --version # 'git version 2.25.1' 05:06:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:28 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:28 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:28 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:29 Merging remotes/origin/main commit 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 05:06:29 Merge succeeded, producing 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 05:06:29 Checking out Revision 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 (PR-153) 05:06:29 > git config core.sparsecheckout # timeout=10 05:06:29 > git checkout -f 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 # timeout=10 05:06:29 > git remote # timeout=10 05:06:29 > git config --get remote.origin.url # timeout=10 05:06:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:29 > git merge 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 05:06:29 > git rev-parse HEAD^{commit} # timeout=10 05:06:29 > git config core.sparsecheckout # timeout=10 05:06:29 > git checkout -f 16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 # timeout=10 05:06:33 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:06:34 > git --version # timeout=10 05:06:34 > git --version # 'git version 2.25.1' 05:06:34 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:35 Dload Upload Total Spent Left Speed 05:06:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 37477 0 --:--:-- --:--:-- --:--:-- 37359 100 11843 100 11843 0 0 37359 0 --:--:-- --:--:-- --:--:-- 37242 [Pipeline] sh 05:06:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:36 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:36 sudo tee /etc/docker/daemon.new 05:06:36 { 05:06:36 "registry-mirrors": [ 05:06:36 "https://nexus3.edgexfoundry.org:10001" 05:06:36 ], 05:06:36 "bip": "10.250.0.254/24", 05:06:36 "hosts": [ 05:06:36 "tcp://0.0.0.0:5555", 05:06:36 "unix:///var/run/docker.sock" 05:06:36 ], 05:06:36 "mtu": 1458, 05:06:36 "selinux-enabled": true, 05:06:36 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:36 } [Pipeline] sh 05:06:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:55 provisioning config files... 05:06:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8327177164416545163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:56 ---> docker-login.sh 05:06:56 nexus3.edgexfoundry.org:10001 05:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:57 Configure a credential helper to remove this warning. See 05:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:57 05:06:57 Login Succeeded 05:06:57 nexus3.edgexfoundry.org:10002 05:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:57 Configure a credential helper to remove this warning. See 05:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:57 05:06:57 Login Succeeded 05:06:57 nexus3.edgexfoundry.org:10003 05:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:58 Configure a credential helper to remove this warning. See 05:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:58 05:06:58 Login Succeeded 05:06:58 nexus3.edgexfoundry.org:10004 05:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:58 Configure a credential helper to remove this warning. See 05:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:58 05:06:58 Login Succeeded 05:06:58 docker.io 05:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:59 Configure a credential helper to remove this warning. See 05:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:59 05:06:59 Login Succeeded 05:06:59 ---> docker-login.sh ends [Pipeline] } 05:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:00 ========================================================= 05:07:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:07:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:07:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:07:00 Sending build context to Docker daemon 2.733MB 05:07:00 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:07:00 Step 2/12 : FROM ${BASE} AS builder 05:07:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:01 9b3977197b4f: Pulling fs layer 05:07:01 1a89e8eeedd5: Pulling fs layer 05:07:01 94645a83ff95: Pulling fs layer 05:07:01 3f3a8bcf1eab: Pulling fs layer 05:07:01 0c92f367c5e7: Pulling fs layer 05:07:01 f7c0051592d6: Pulling fs layer 05:07:01 a227ed2f7395: Pulling fs layer 05:07:01 7b1c46037f91: Pulling fs layer 05:07:01 0c92f367c5e7: Waiting 05:07:01 f7c0051592d6: Waiting 05:07:01 a227ed2f7395: Waiting 05:07:01 7b1c46037f91: Waiting 05:07:01 3f3a8bcf1eab: Waiting 05:07:01 94645a83ff95: Verifying Checksum 05:07:01 94645a83ff95: Download complete 05:07:01 1a89e8eeedd5: Download complete 05:07:01 0c92f367c5e7: Verifying Checksum 05:07:01 0c92f367c5e7: Download complete 05:07:01 f7c0051592d6: Verifying Checksum 05:07:01 f7c0051592d6: Download complete 05:07:01 9b3977197b4f: Verifying Checksum 05:07:01 9b3977197b4f: Download complete 05:07:01 a227ed2f7395: Verifying Checksum 05:07:01 a227ed2f7395: Download complete 05:07:02 9b3977197b4f: Pull complete 05:07:02 1a89e8eeedd5: Pull complete 05:07:02 94645a83ff95: Pull complete 05:07:03 7b1c46037f91: Verifying Checksum 05:07:03 7b1c46037f91: Download complete 05:07:03 3f3a8bcf1eab: Verifying Checksum 05:07:03 3f3a8bcf1eab: Download complete 05:07:16 3f3a8bcf1eab: Pull complete 05:07:16 0c92f367c5e7: Pull complete 05:07:16 f7c0051592d6: Pull complete 05:07:16 a227ed2f7395: Pull complete 05:07:23 7b1c46037f91: Pull complete 05:07:23 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:07:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:07:23 ---> f79e39bc4007 05:07:23 Step 3/12 : ARG MAKE='make build' 05:07:24 ---> Running in da19d3ae3668 05:07:24 Removing intermediate container da19d3ae3668 05:07:24 ---> 835a22fa8c37 05:07:24 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:24 ---> Running in 0afaa3b31e70 05:07:25 Removing intermediate container 0afaa3b31e70 05:07:25 ---> d1b76eadf94a 05:07:25 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:07:25 ---> Running in f63652d2adb8 05:07:25 Removing intermediate container f63652d2adb8 05:07:25 ---> 7f65580e3145 05:07:25 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:25 ---> Running in 1cb924205c0d 05:07:27 Removing intermediate container 1cb924205c0d 05:07:27 ---> f5705a35afd4 05:07:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:27 ---> Running in 34124f5b9e41 05:07:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:07:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:07:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:07:30 (2/4) Installing libedit (20210910.3.1-r0) 05:07:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:07:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:07:31 Executing busybox-1.34.1-r3.trigger 05:07:31 OK: 224 MiB in 56 packages 05:07:32 Removing intermediate container 34124f5b9e41 05:07:32 ---> fa40185554af 05:07:32 Step 8/12 : WORKDIR /device-snmp-go 05:07:32 ---> Running in aab796d558c4 05:07:32 Removing intermediate container aab796d558c4 05:07:32 ---> a342ec2e2555 05:07:32 Step 9/12 : COPY go.mod vendor* ./ 05:07:33 ---> 78d1d9cc9f57 05:07:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:33 ---> Running in d0b04db06222 05:08:29 Removing intermediate container d0b04db06222 05:08:29 ---> 83ce9b51df13 05:08:29 Step 11/12 : COPY . . 05:08:29 ---> 802a7432f834 05:08:29 Step 12/12 : RUN ${MAKE} 05:08:29 ---> Running in 3e5e17d8dc36 05:08:29 noop 05:08:29 Removing intermediate container 3e5e17d8dc36 05:08:29 ---> f3ca6da8b476 05:08:29 Successfully built f3ca6da8b476 05:08:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:08:30 + docker inspect -f . ci-base-image-arm64 05:08:30 . [Pipeline] withDockerContainer 05:08:30 prd-ubuntu20.04-docker-arm64-4c-16g-19462 does not seem to be running inside a container 05:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:32 $ docker top 52a10f3a43bd2ea95a7f241d4334565ad3450989b9a6b6ed20e5187f9421a9ea -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:33 + go version 05:08:33 go version go1.17.6 linux/arm64 [Pipeline] } 05:08:33 $ docker stop --time=1 52a10f3a43bd2ea95a7f241d4334565ad3450989b9a6b6ed20e5187f9421a9ea 05:08:35 $ docker rm -f 52a10f3a43bd2ea95a7f241d4334565ad3450989b9a6b6ed20e5187f9421a9ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:35 + docker inspect -f . ci-base-image-arm64 05:08:35 . [Pipeline] withDockerContainer 05:08:36 prd-ubuntu20.04-docker-arm64-4c-16g-19462 does not seem to be running inside a container 05:08:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:37 $ docker top 0a757aac7752f8837806f761ac28530fa894b3b3ddcb2d0d478a7a7904df11b8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:08:39 + make test 05:08:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:41 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:17 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 05:10:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:10:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:10:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:40 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:42 $ docker stop --time=1 0a757aac7752f8837806f761ac28530fa894b3b3ddcb2d0d478a7a7904df11b8 05:10:44 $ docker rm -f 0a757aac7752f8837806f761ac28530fa894b3b3ddcb2d0d478a7a7904df11b8 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:46 Warning: overwriting stash ‘coverage-report’ 05:10:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:47 + ls -al . 05:10:47 total 180 05:10:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 05:10 . 05:10:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 05:06 .. 05:10:47 -rw-rw-r-- 1 jenkins jenkins 6 Apr 11 05:06 .dockerignore 05:10:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 05:06 .git 05:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:06 .github 05:10:47 -rw-rw-r-- 1 jenkins jenkins 262 Apr 11 05:06 .gitignore 05:10:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 05:06 .golangci.yml 05:10:47 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 11 05:06 Attribution.txt 05:10:47 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 11 05:06 CHANGELOG.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 11 05:06 Dockerfile 05:10:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 05:06 GOVERNANCE.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 656 Apr 11 05:06 Jenkinsfile 05:10:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 05:06 LICENSE 05:10:47 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 11 05:06 Makefile 05:10:47 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 05:06 OWNERS.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 11 05:06 README.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 05:04 VERSION 05:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 05:06 bin 05:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:06 cmd 05:10:47 -rw-r--r-- 1 jenkins jenkins 7631 Apr 11 05:10 coverage.out 05:10:47 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 11 05:06 go.mod 05:10:47 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 11 05:06 go.sum 05:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:06 internal 05:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 05:06 snap 05:10:47 -rw-rw-r-- 1 jenkins jenkins 209 Apr 11 05:06 version.go [Pipeline] isUnix [Pipeline] sh 05:10:48 + 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=16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 --label arch=arm64 --label version=0.0.0 . 05:10:48 Sending build context to Docker daemon 2.741MB 05:10:48 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:10:48 Step 2/24 : FROM ${BASE} AS builder 05:10:48 ---> f3ca6da8b476 05:10:48 Step 3/24 : ARG MAKE='make build' 05:10:48 ---> Running in 48fe2182038d 05:10:49 Removing intermediate container 48fe2182038d 05:10:49 ---> bdb1ecc6e880 05:10:49 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:10:49 ---> Running in 533c1348349f 05:10:49 Removing intermediate container 533c1348349f 05:10:49 ---> fa7090a623b8 05:10:49 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:10:49 ---> Running in d6389d8a2c5f 05:10:50 Removing intermediate container d6389d8a2c5f 05:10:50 ---> 96226f9b0768 05:10:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:50 ---> Running in cc6e9d9bad4b 05:10:52 Removing intermediate container cc6e9d9bad4b 05:10:52 ---> d45a01bb53cb 05:10:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:52 ---> Running in 536cbe9631b1 05:10:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:10:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:10:55 OK: 224 MiB in 56 packages 05:10:56 Removing intermediate container 536cbe9631b1 05:10:56 ---> 24648e981a3d 05:10:56 Step 8/24 : WORKDIR /device-snmp-go 05:10:56 ---> Running in bb4c57bdf0c5 05:10:56 Removing intermediate container bb4c57bdf0c5 05:10:56 ---> 83c2ce97ba33 05:10:56 Step 9/24 : COPY go.mod vendor* ./ 05:10:57 ---> e80cf2f0eff0 05:10:57 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:57 ---> Running in 9118e492be44 05:10:59 Removing intermediate container 9118e492be44 05:10:59 ---> 77f9443b55b8 05:10:59 Step 11/24 : COPY . . 05:11:00 ---> 20fa4b3a2938 05:11:00 Step 12/24 : RUN ${MAKE} 05:11:00 ---> Running in 6f7fb738cdb2 05:11:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:13:23 Removing intermediate container 6f7fb738cdb2 05:13:23 ---> 0518911d5e89 05:13:23 Step 13/24 : FROM alpine:3.14 05:13:23 3.14: Pulling from library/alpine 05:13:23 455c02918c45: Pulling fs layer 05:13:23 455c02918c45: Verifying Checksum 05:13:23 455c02918c45: Download complete 05:13:24 455c02918c45: Pull complete 05:13:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:13:24 Status: Downloaded newer image for alpine:3.14 05:13:24 ---> ac73e934f311 05:13:24 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:13:24 ---> Running in 358bbe8a3ee7 05:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:13:26 (1/6) Installing dumb-init (1.2.5-r1) 05:13:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:13:26 (3/6) Installing libsodium (1.0.18-r0) 05:13:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:13:26 (5/6) Installing libzmq (4.3.4-r0) 05:13:27 (6/6) Installing zeromq (4.3.4-r0) 05:13:27 Executing busybox-1.33.1-r7.trigger 05:13:27 OK: 8 MiB in 20 packages 05:13:28 Removing intermediate container 358bbe8a3ee7 05:13:28 ---> 27146500b332 05:13:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:13:30 ---> 7e8775b51cb8 05:13:30 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:13:30 ---> c882dbe69c09 05:13:30 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:13:31 ---> 35f29bf4c601 05:13:31 Step 18/24 : EXPOSE 59993 05:13:31 ---> Running in e68b2418d84b 05:13:31 Removing intermediate container e68b2418d84b 05:13:31 ---> 914576c9e88c 05:13:31 Step 19/24 : EXPOSE 161 05:13:31 ---> Running in 08256e105eab 05:13:31 Removing intermediate container 08256e105eab 05:13:31 ---> c9ebe3f4d072 05:13:31 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:13:31 ---> Running in 4724fe45639d 05:13:32 Removing intermediate container 4724fe45639d 05:13:32 ---> 3f030aadfc24 05:13:32 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:13:32 ---> Running in df7938756c38 05:13:32 Removing intermediate container df7938756c38 05:13:32 ---> 2b1891950a75 05:13:32 Step 22/24 : LABEL arch=arm64 05:13:32 ---> Running in 20795c364b28 05:13:33 Removing intermediate container 20795c364b28 05:13:33 ---> 8e9f71ace0e1 05:13:33 Step 23/24 : LABEL git_sha=16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 05:13:33 ---> Running in eeb44ef09cee 05:13:33 Removing intermediate container eeb44ef09cee 05:13:33 ---> 78c8d493900f 05:13:33 Step 24/24 : LABEL version=0.0.0 05:13:33 ---> Running in 2e59173b983f 05:13:33 Removing intermediate container 2e59173b983f 05:13:33 ---> 9a5b885b3424 05:13:33 [Warning] One or more build-args [ARCH] were not consumed 05:13:34 Successfully built 9a5b885b3424 05:13:34 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:13:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:34 05:13:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:13:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:35 arm64: Pulling from edgex-lftools-log-publisher 05:13:35 8998bd30e6a1: Pulling fs layer 05:13:35 04944245beec: Pulling fs layer 05:13:35 699f458cf7ca: Pulling fs layer 05:13:35 765212b225bb: Pulling fs layer 05:13:35 f23df028b6ca: Pulling fs layer 05:13:35 d65c8cfc05b1: Pulling fs layer 05:13:35 2437ff75d9bd: Pulling fs layer 05:13:35 765212b225bb: Waiting 05:13:35 f23df028b6ca: Waiting 05:13:35 d65c8cfc05b1: Waiting 05:13:35 2437ff75d9bd: Waiting 05:13:35 04944245beec: Verifying Checksum 05:13:35 04944245beec: Download complete 05:13:35 765212b225bb: Verifying Checksum 05:13:35 765212b225bb: Download complete 05:13:35 f23df028b6ca: Download complete 05:13:35 d65c8cfc05b1: Verifying Checksum 05:13:35 d65c8cfc05b1: Download complete 05:13:35 699f458cf7ca: Verifying Checksum 05:13:35 699f458cf7ca: Download complete 05:13:36 8998bd30e6a1: Verifying Checksum 05:13:36 8998bd30e6a1: Download complete 05:13:38 2437ff75d9bd: Verifying Checksum 05:13:38 2437ff75d9bd: Download complete 05:13:40 8998bd30e6a1: Pull complete 05:13:41 04944245beec: Pull complete 05:13:42 699f458cf7ca: Pull complete 05:13:42 765212b225bb: Pull complete 05:13:43 f23df028b6ca: Pull complete 05:13:43 d65c8cfc05b1: Pull complete 05:13:59 2437ff75d9bd: Pull complete 05:13:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:13:59 prd-ubuntu20.04-docker-arm64-4c-16g-19462 does not seem to be running inside a container 05:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:14:02 $ docker top cbbb5ef68bda4cb4f9c21ea596b2ec02e3291c9a46cf433f686cad41a9ef2c3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:03 ---> job-cost.sh 05:14:03 lf-activate-venv: SKIPPING 05:14:03 INFO: No Stack... 05:14:04 INFO: Retrieving Pricing Info for: v3-standard-4 05:14:05 INFO: Archiving Costs [Pipeline] sh 05:14:05 + cut -d, -f6 05:14:05 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 05:14:05 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] 05:14:05 Resource [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] did not exist. Created. 05:14:05 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:06 /w/workspace/device-snmp-go/1@tmp/durable-9f342175/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:14:07 + echo total: 0.10999999940395355 [Pipeline] stash 05:14:07 Warning: overwriting stash ‘stack-cost’ 05:14:07 Stashed 1 file(s) [Pipeline] } 05:14:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:07 $ docker stop --time=1 cbbb5ef68bda4cb4f9c21ea596b2ec02e3291c9a46cf433f686cad41a9ef2c3e 05:14:09 $ docker rm -f cbbb5ef68bda4cb4f9c21ea596b2ec02e3291c9a46cf433f686cad41a9ef2c3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:14:10 provisioning config files... 05:14:10 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config6258473077151390127tmp [Pipeline] { [Pipeline] sh 05:14:10 + set +x 05:14:10 + curl -s https://codecov.io/bash 05:14:10 + bash -s -- 05:14:10 05:14:10 _____ _ 05:14:10 / ____| | | 05:14:10 | | ___ __| | ___ ___ _____ __ 05:14:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:14:10 | |___| (_) | (_| | __/ (_| (_) \ V / 05:14:10 \_____\___/ \__,_|\___|\___\___/ \_/ 05:14:10 Bash-1.0.6 05:14:10 05:14:10 05:14:10 ==> git version 2.25.1 found 05:14:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:14:10 Release-Date: 2020-01-08 05:14:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:14:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:14:10 ==> Jenkins CI detected. 05:14:10 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-153 05:14:10 project root: . 05:14:10 --> token set from env 05:14:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:14:10 ==> Running gcov in . (disable via -X gcov) 05:14:10 ==> Python coveragepy not found 05:14:10 ==> Searching for coverage reports in: 05:14:10 + . 05:14:10 -> Found 1 reports 05:14:10 ==> Detecting git/mercurial file structure 05:14:10 ==> Reading reports 05:14:10 + ./coverage.out bytes=7631 05:14:10 ==> Appending adjustments 05:14:10 https://docs.codecov.io/docs/fixing-reports 05:14:10 + Found adjustments 05:14:10 ==> Gzipping contents 05:14:10 4.0K /tmp/codecov.wZogHY.gz 05:14:10 ==> Uploading reports 05:14:10 url: https://codecov.io 05:14:10 query: branch=PR-153&commit=16ee6d8ca504a7076cb2d4aeb3298c6c318152a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=153&job=&cmd_args= 05:14:10 -> Pinging Codecov 05:14:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-153&commit=16ee6d8ca504a7076cb2d4aeb3298c6c318152a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=153&job=&cmd_args= 05:14:10 -> Uploading to 05:14:10 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/6C56EA5C29638FB4528AC87E60AF5AE0/16ee6d8ca504a7076cb2d4aeb3298c6c318152a9/0a1e4cd0-02b9-429f-a6a4-f9facfda9c05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T051410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bc1edf914668f50e819c99c43cb18fe80764f27d53a43daf3ef67c8273cbeb2 05:14:10 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:10 Dload Upload Total Spent Left Speed 05:14:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7230 --:--:-- --:--:-- --:--:-- 7263 05:14:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/16ee6d8ca504a7076cb2d4aeb3298c6c318152a9 [Pipeline] } 05:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:14:13 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-153/archives ] 05:14:13 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-153/archives 05:14:13 total 16 05:14:13 drwxr-xr-x 3 root root 4096 Apr 11 05:06 . 05:14:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 05:06 .. 05:14:13 drwxr-xr-x 2 root root 4096 Apr 11 05:06 cost 05:14:13 -rw-r--r-- 1 root root 85 Apr 11 05:06 cost.csv 05:14:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-153/archives 05:14:13 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-153/archives 05:14:13 total 16 05:14:13 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 05:06 . 05:14:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 05:06 .. 05:14:13 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 05:06 cost 05:14:13 -rw-r--r-- 1 jenkins jenkins 85 Apr 11 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:14:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:14:14 ---> package-listing.sh 05:14:14 ++ facter osfamily 05:14:14 ++ tr '[:upper:]' '[:lower:]' 05:14:14 + OS_FAMILY=debian 05:14:14 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-153 05:14:14 + START_PACKAGES=/tmp/packages_start.txt 05:14:14 + END_PACKAGES=/tmp/packages_end.txt 05:14:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:14:14 + PACKAGES=/tmp/packages_start.txt 05:14:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-153 ']' 05:14:14 + PACKAGES=/tmp/packages_end.txt 05:14:14 + case "${OS_FAMILY}" in 05:14:14 + dpkg -l 05:14:14 + grep '^ii' 05:14:14 + '[' -f /tmp/packages_start.txt ']' 05:14:14 + '[' -f /tmp/packages_end.txt ']' 05:14:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:14:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-153 ']' 05:14:14 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-153/archives/ 05:14:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-153/archives/ [Pipeline] echo 05:14:14 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:14:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:15 . [Pipeline] withDockerContainer 05:14:15 prd-ubuntu20.04-docker-8c-8g-19459 does not seem to be running inside a container 05:14:15 $ 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-153/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-153 -v /w/workspace/gexfoundry_device-snmp-go_PR-153:/w/workspace/gexfoundry_device-snmp-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:14:15 $ docker top f3e7bd72e5e6692e8b2f26d7eb238f4ff94bd960d21e2e3a23fa9851eaab1761 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:16 + touch /tmp/pre-build-complete [Pipeline] sh 05:14:16 + mkdir -p /var/log/sysstat [Pipeline] sh 05:14:16 + ls /var/log/sa-host 05:14:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:17 provisioning config files... 05:14:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-153@tmp/config9180066104624018298tmp [Pipeline] { [Pipeline] echo 05:14:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:14:17 ---> create-netrc.sh [Pipeline] } 05:14:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:14:17 ---> python-tools-install.sh [Pipeline] echo 05:14:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:14:18 ---> sudo-logs.sh 05:14:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:14:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:14:18 ---> job-cost.sh 05:14:18 lf-activate-venv: SKIPPING 05:14:18 DEBUG: total: 0.2199999988079071 05:14:18 INFO: Retrieving Stack Cost... 05:14:19 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:19 INFO: Archiving Costs [Pipeline] echo 05:14:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:14:19 ---> logs-deploy.sh 05:14:19 lf-activate-venv: SKIPPING 05:14:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-153/1 05:14:19 INFO: archiving workspace using pattern(s): 05:14:20 Archives upload complete. 05:14:21 INFO: archiving logs to Nexus