Pull request #331 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 cloudxxx8 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 5a096b598673ce8e0ff86850fc6e45a46c4b2e75+16c420418f3d11c50b6d4cdc106b6ff48e0fad87 (0744f43f96f502f6742f9bbdc1031d783b388ee6) 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-ssh13582775651097470416.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14565749058527374193.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13734562835688075937.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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10839427700564969708.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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 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-ssh11127252276763345815.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12447868810170894027.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.21 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17140’ Running on prd-ubuntu20.04-docker-8c-8g-17142 in /w/workspace/gexfoundry_device-snmp-go_PR-331 [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-331 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 Merge succeeded, producing 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 Checking out Revision 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 (PR-331) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 # 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 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 # timeout=10 Commit message: "docs: Remove breaking change about common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:21:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:21:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:21:24 ========================================================= 15:21:24 EdgeX Global Pipelines Version Info 15:21:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:21:24 ------------------- 15:21:24 stable info: 15:21:24 ------------------- 15:21:24 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:21:24 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:21:24 Message: update stable to v1.0.257 15:21:25 ------------------- 15:21:25 experimental info: 15:21:25 ------------------- 15:21:25 Commited By: **** collab-it+edgex@linuxfoundation.org 15:21:25 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:21:25 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:21:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:21:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:21:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:21:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo 15:21:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a096b5 [Pipeline] echo 15:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:21:27 provisioning config files... 15:21:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config15168540827245917364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:27 ---> docker-login.sh 15:21:27 nexus3.edgexfoundry.org:10001 15:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 nexus3.edgexfoundry.org:10002 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 nexus3.edgexfoundry.org:10003 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 nexus3.edgexfoundry.org:10004 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 docker.io 15:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:28 Configure a credential helper to remove this warning. See 15:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:28 15:21:28 Login Succeeded 15:21:28 ---> docker-login.sh ends [Pipeline] } 15:21:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:21:29 + git rev-list -1 --merges 5a096b598673ce8e0ff86850fc6e45a46c4b2e75~1..5a096b598673ce8e0ff86850fc6e45a46c4b2e75 [Pipeline] echo 15:21:29 -----------> git rev-list -1 --merges 5a096b598673ce8e0ff86850fc6e45a46c4b2e75~1..5a096b598673ce8e0ff86850fc6e45a46c4b2e75 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 [false] [Pipeline] sh 15:21:29 + git log --format=format:%s -1 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 [Pipeline] echo 15:21:30 ========================================================= 15:21:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:21:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:21:30 + git log --format=format:%s -1 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 [Pipeline] echo 15:21:30 [semverPrep] GIT_COMMIT: 5a096b598673ce8e0ff86850fc6e45a46c4b2e75, Commit Message: docs: Remove breaking change about common config [Pipeline] echo 15:21:30 [semverPrep] This is not a build commit. [Pipeline] sh 15:21:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:21:30 + grep -v github /etc/ssh/ssh_known_hosts 15:21:30 + [ -e /tmp/ssh_known_hosts ] 15:21:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:21:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:21:30 + sudo tee -a /etc/ssh/ssh_known_hosts 15:21:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:31 15:21:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:31 0.1.4: Pulling from edgex-devops/py-git-semver 15:21:31 b85a868b505f: Pulling fs layer 15:21:31 e2be974225ed: Pulling fs layer 15:21:31 339a4e72a1f5: Pulling fs layer 15:21:31 988bab9f4d93: Pulling fs layer 15:21:31 1469e6f7b9e6: Pulling fs layer 15:21:31 eaf3925da568: Pulling fs layer 15:21:31 bab4dde63d76: Pulling fs layer 15:21:31 bde34c3a00c8: Pulling fs layer 15:21:31 b352a97aabf1: Pulling fs layer 15:21:31 4872d77fe225: Pulling fs layer 15:21:31 5851b861e8e6: Pulling fs layer 15:21:31 988bab9f4d93: Waiting 15:21:31 1469e6f7b9e6: Waiting 15:21:31 eaf3925da568: Waiting 15:21:31 4872d77fe225: Waiting 15:21:31 bab4dde63d76: Waiting 15:21:31 b352a97aabf1: Waiting 15:21:31 e2be974225ed: Verifying Checksum 15:21:31 e2be974225ed: Download complete 15:21:31 988bab9f4d93: Verifying Checksum 15:21:31 988bab9f4d93: Download complete 15:21:31 1469e6f7b9e6: Verifying Checksum 15:21:31 1469e6f7b9e6: Download complete 15:21:31 339a4e72a1f5: Verifying Checksum 15:21:31 339a4e72a1f5: Download complete 15:21:31 eaf3925da568: Verifying Checksum 15:21:31 eaf3925da568: Download complete 15:21:31 bde34c3a00c8: Download complete 15:21:31 b352a97aabf1: Verifying Checksum 15:21:31 b352a97aabf1: Download complete 15:21:31 4872d77fe225: Download complete 15:21:31 5851b861e8e6: Verifying Checksum 15:21:31 5851b861e8e6: Download complete 15:21:31 b85a868b505f: Verifying Checksum 15:21:31 b85a868b505f: Download complete 15:21:32 bab4dde63d76: Verifying Checksum 15:21:32 bab4dde63d76: Download complete 15:21:33 b85a868b505f: Pull complete 15:21:33 e2be974225ed: Pull complete 15:21:34 339a4e72a1f5: Pull complete 15:21:34 988bab9f4d93: Pull complete 15:21:34 1469e6f7b9e6: Pull complete 15:21:34 eaf3925da568: Pull complete 15:21:36 bab4dde63d76: Pull complete 15:21:36 bde34c3a00c8: Pull complete 15:21:36 b352a97aabf1: Pull complete 15:21:36 4872d77fe225: Pull complete 15:21:36 5851b861e8e6: Pull complete 15:21:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:21:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:37 prd-ubuntu20.04-docker-8c-8g-17142 does not seem to be running inside a container 15:21:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@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:0.1.4 cat 15:21:42 $ docker top 644c8e40f01cc58becbe6041e4ed10452ed600bd50ebc340bb2437d2e74612c1 -eo pid,comm 15:21:42 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). 15:21:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:21:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:43 [ssh-agent] Looking for ssh-agent implementation... 15:21:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:43 $ docker exec 644c8e40f01cc58becbe6041e4ed10452ed600bd50ebc340bb2437d2e74612c1 ssh-agent 15:21:43 SSH_AUTH_SOCK=/tmp/ssh-JHj5ajZNexak/agent.14 15:21:43 SSH_AGENT_PID=20 15:21:43 Running ssh-add (command line suppressed) 15:21:43 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_4290148261373390285.key (/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_4290148261373390285.key) 15:21:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:43 + git tag --points-at HEAD [Pipeline] } 15:21:43 $ docker exec --env ******** --env ******** 644c8e40f01cc58becbe6041e4ed10452ed600bd50ebc340bb2437d2e74612c1 ssh-agent -k 15:21:43 unset SSH_AUTH_SOCK; 15:21:43 unset SSH_AGENT_PID; 15:21:43 echo Agent pid 20 killed; 15:21:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:21:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:44 [ssh-agent] Looking for ssh-agent implementation... 15:21:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:44 $ docker exec 644c8e40f01cc58becbe6041e4ed10452ed600bd50ebc340bb2437d2e74612c1 ssh-agent 15:21:44 SSH_AUTH_SOCK=/tmp/ssh-MvDd8pI6V8v8/agent.71 15:21:44 SSH_AGENT_PID=77 15:21:44 Running ssh-add (command line suppressed) 15:21:44 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_8230418017061690308.key (/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_8230418017061690308.key) 15:21:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:44 + git semver init 15:21:45 2023-11-09 15:21:44,997 [run_init] DEBUG init version:0.0.0 force:False 15:21:45 2023-11-09 15:21:44,998 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver 15:21:45 2023-11-09 15:21:44,998 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-331/.semver 15:21:45 2023-11-09 15:21:44,998 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-331, universal_newlines=False, shell=None, istream=None) 15:21:46 2023-11-09 15:21:46,362 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-331/.git/info/exclude 15:21:46 2023-11-09 15:21:46,363 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver/PR-331 with force:False 15:21:46 2023-11-09 15:21:46,363 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver/PR-331 15:21:46 2023-11-09 15:21:46,368 [execute] INFO git cat-file --batch-check 15:21:46 2023-11-09 15:21:46,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) 15:21:46 2023-11-09 15:21:46,374 [execute] INFO git cat-file --batch 15:21:46 2023-11-09 15:21:46,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) 15:21:46 2023-11-09 15:21:46,381 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-331/.semver/PR-331 15:21:46 0.0.0 [Pipeline] } 15:21:46 $ docker exec --env ******** --env ******** 644c8e40f01cc58becbe6041e4ed10452ed600bd50ebc340bb2437d2e74612c1 ssh-agent -k 15:21:46 unset SSH_AUTH_SOCK; 15:21:46 unset SSH_AGENT_PID; 15:21:46 echo Agent pid 77 killed; 15:21:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:21:47 + git semver [Pipeline] } 15:21:47 $ docker stop --time=1 644c8e40f01cc58becbe6041e4ed10452ed600bd50ebc340bb2437d2e74612c1 15:21:48 $ docker rm -f --volumes 644c8e40f01cc58becbe6041e4ed10452ed600bd50ebc340bb2437d2e74612c1 [Pipeline] // withDockerContainer [Pipeline] sh 15:21:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:21:49 Stashed 1 file(s) [Pipeline] echo 15:21:49 [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 15:21:50 provisioning config files... 15:21:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config8800900037826406703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:50 ---> docker-login.sh 15:21:50 nexus3.edgexfoundry.org:10001 15:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:50 Configure a credential helper to remove this warning. See 15:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:50 15:21:50 Login Succeeded 15:21:50 nexus3.edgexfoundry.org:10002 15:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:50 Configure a credential helper to remove this warning. See 15:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:50 15:21:50 Login Succeeded 15:21:50 nexus3.edgexfoundry.org:10003 15:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:50 Configure a credential helper to remove this warning. See 15:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:50 15:21:50 Login Succeeded 15:21:50 nexus3.edgexfoundry.org:10004 15:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:50 Configure a credential helper to remove this warning. See 15:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:50 15:21:50 Login Succeeded 15:21:50 docker.io 15:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:50 Configure a credential helper to remove this warning. See 15:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:50 15:21:51 Login Succeeded 15:21:51 ---> docker-login.sh ends [Pipeline] } 15:21:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:21:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:21:51 ========================================================= 15:21:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:21:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:21:52 Sending build context to Docker daemon 5.766MB 15:21:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:21:52 Step 2/12 : FROM ${BASE} AS builder 15:21:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:21:52 7264a8db6415: Pulling fs layer 15:21:52 c4d48a809fc2: Pulling fs layer 15:21:52 4f1c88b9dad5: Pulling fs layer 15:21:52 ad3a456e5733: Pulling fs layer 15:21:52 33e27b845d1e: Pulling fs layer 15:21:52 c68163c4e522: Pulling fs layer 15:21:52 50da416c3ac9: Pulling fs layer 15:21:52 23d2d4c4bb30: Pulling fs layer 15:21:52 ad3a456e5733: Waiting 15:21:52 33e27b845d1e: Waiting 15:21:52 c68163c4e522: Waiting 15:21:52 50da416c3ac9: Waiting 15:21:52 23d2d4c4bb30: Waiting 15:21:52 c4d48a809fc2: Download complete 15:21:52 ad3a456e5733: Verifying Checksum 15:21:52 ad3a456e5733: Download complete 15:21:52 33e27b845d1e: Verifying Checksum 15:21:52 33e27b845d1e: Download complete 15:21:52 7264a8db6415: Download complete 15:21:52 c68163c4e522: Verifying Checksum 15:21:52 c68163c4e522: Download complete 15:21:52 7264a8db6415: Pull complete 15:21:52 c4d48a809fc2: Pull complete 15:21:52 23d2d4c4bb30: Verifying Checksum 15:21:52 23d2d4c4bb30: Download complete 15:21:52 4f1c88b9dad5: Verifying Checksum 15:21:52 4f1c88b9dad5: Download complete 15:21:53 50da416c3ac9: Verifying Checksum 15:21:53 50da416c3ac9: Download complete 15:21:56 4f1c88b9dad5: Pull complete 15:21:56 ad3a456e5733: Pull complete 15:21:56 33e27b845d1e: Pull complete 15:21:56 c68163c4e522: Pull complete 15:21:58 50da416c3ac9: Pull complete 15:21:58 23d2d4c4bb30: Pull complete 15:21:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:21:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:21:58 ---> 0786185ac409 15:21:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:22:04 Still waiting to schedule task 15:22:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17141’ 15:22:05 ---> Running in 83ac0cd4fa2b 15:22:05 Removing intermediate container 83ac0cd4fa2b 15:22:05 ---> 2b15592fdc63 15:22:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:22:05 ---> Running in 9e4a4ff6b07f 15:22:05 Removing intermediate container 9e4a4ff6b07f 15:22:05 ---> f9ac992ad6f6 15:22:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:22:05 ---> Running in 96141fda119e 15:22:05 Removing intermediate container 96141fda119e 15:22:05 ---> 93250c28bf35 15:22:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:22:05 ---> Running in 95b67be80b8c 15:22:05 Removing intermediate container 95b67be80b8c 15:22:05 ---> c6315f404c78 15:22:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:22:05 ---> Running in 96891678d2b8 15:22:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:22:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:22:06 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:22:06 (2/4) Installing libedit (20221030.3.1-r1) 15:22:06 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:22:06 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:22:06 Executing busybox-1.36.1-r2.trigger 15:22:06 OK: 268 MiB in 56 packages 15:22:07 Removing intermediate container 96891678d2b8 15:22:07 ---> 7f2f7a2113fd 15:22:07 Step 8/12 : WORKDIR /device-snmp-go 15:22:07 ---> Running in b1a2cf5b61cd 15:22:07 Removing intermediate container b1a2cf5b61cd 15:22:07 ---> b7cc8bbab79e 15:22:07 Step 9/12 : COPY go.mod vendor* ./ 15:22:07 ---> 0c666b6c8f3d 15:22:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:07 ---> Running in cac85c94789a 15:23:04 Removing intermediate container cac85c94789a 15:23:04 ---> cdaf7f009d4a 15:23:04 Step 11/12 : COPY . . 15:23:04 ---> c4daed02a262 15:23:04 Step 12/12 : RUN ${MAKE} 15:23:04 ---> Running in 8c88349c829b 15:23:04 noop 15:23:04 Removing intermediate container 8c88349c829b 15:23:04 ---> bacf31718721 15:23:04 Successfully built bacf31718721 15:23:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:04 + docker inspect -f . ci-base-image-x86_64 15:23:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:05 prd-ubuntu20.04-docker-8c-8g-17142 does not seem to be running inside a container 15:23:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@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 15:23:05 $ docker top e97dfd962e5848e86d5c2bca5d3fb37d3b2ae838ee59850ec56edac596869e33 -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:05 + go version 15:23:05 go version go1.21.0 linux/amd64 [Pipeline] } 15:23:05 $ docker stop --time=1 e97dfd962e5848e86d5c2bca5d3fb37d3b2ae838ee59850ec56edac596869e33 15:23:07 $ docker rm -f --volumes e97dfd962e5848e86d5c2bca5d3fb37d3b2ae838ee59850ec56edac596869e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:07 + docker inspect -f . ci-base-image-x86_64 15:23:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:08 prd-ubuntu20.04-docker-8c-8g-17142 does not seem to be running inside a container 15:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@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 15:23:08 $ docker top bfb51f683f31a00336581676294ee14e7dcd66bf2883740761526547e6ba4bd2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-331 [Pipeline] fileExists [Pipeline] sh 15:23:09 + make test 15:23:09 go test ./... -coverprofile=coverage.out 15:23:10 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:23:20 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:23:20 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 15:23:26 go vet ./... 15:23:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:23:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:23:29 ./bin/test-attribution-txt.sh [Pipeline] echo 15:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:23:29 $ docker stop --time=1 bfb51f683f31a00336581676294ee14e7dcd66bf2883740761526547e6ba4bd2 15:23:33 $ docker rm -f --volumes bfb51f683f31a00336581676294ee14e7dcd66bf2883740761526547e6ba4bd2 [Pipeline] // withDockerContainer [Pipeline] sh 15:23:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:23:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:23:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:23:34 + ls -al . 15:23:34 total 172 15:23:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:23 . 15:23:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:21 .. 15:23:34 -rw-rw-r-- 1 jenkins jenkins 6 Nov 9 15:21 .dockerignore 15:23:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:23 .git 15:23:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:21 .github 15:23:34 -rw-rw-r-- 1 jenkins jenkins 263 Nov 9 15:21 .gitignore 15:23:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:21 .golangci.yml 15:23:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:21 .semver 15:23:34 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 9 15:21 Attribution.txt 15:23:34 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 9 15:21 CHANGELOG.md 15:23:34 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 9 15:21 Dockerfile 15:23:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:21 GOVERNANCE.md 15:23:34 -rw-rw-r-- 1 jenkins jenkins 656 Nov 9 15:21 Jenkinsfile 15:23:34 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:21 LICENSE 15:23:34 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 9 15:21 Makefile 15:23:34 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:21 OWNERS.md 15:23:34 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 9 15:21 README.md 15:23:34 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:21 VERSION 15:23:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:21 bin 15:23:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:21 cmd 15:23:34 -rw-r--r-- 1 jenkins jenkins 8837 Nov 9 15:23 coverage.out 15:23:34 -rw-rw-r-- 1 jenkins jenkins 3712 Nov 9 15:21 go.mod 15:23:34 -rw-rw-r-- 1 jenkins jenkins 34822 Nov 9 15:21 go.sum 15:23:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:21 internal 15:23:34 -rw-rw-r-- 1 jenkins jenkins 228 Nov 9 15:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23: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=5a096b598673ce8e0ff86850fc6e45a46c4b2e75 --label arch=amd64 --label version=0.0.0 . 15:23:35 Sending build context to Docker daemon 5.775MB 15:23:35 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 15:23:35 Step 2/24 : FROM ${BASE} AS builder 15:23:35 ---> bacf31718721 15:23:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:23:35 ---> Running in 40a953722f17 15:23:35 Removing intermediate container 40a953722f17 15:23:35 ---> a9e866cf2d24 15:23:35 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:23:35 ---> Running in 8e464a320ab3 15:23:35 Removing intermediate container 8e464a320ab3 15:23:35 ---> 80b004dd726e 15:23:35 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:23:35 ---> Running in ca8d50bf8f9e 15:23:35 Removing intermediate container ca8d50bf8f9e 15:23:35 ---> 08cee225bc6c 15:23:35 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:23:35 ---> Running in ae4d5062105c 15:23:35 Removing intermediate container ae4d5062105c 15:23:35 ---> e4d0ef57bbf2 15:23:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:23:35 ---> Running in a2e8b8e1065f 15:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:23:36 OK: 268 MiB in 56 packages 15:23:36 Removing intermediate container a2e8b8e1065f 15:23:36 ---> db3465d2eaa9 15:23:36 Step 8/24 : WORKDIR /device-snmp-go 15:23:36 ---> Running in dcf0f47582e4 15:23:36 Removing intermediate container dcf0f47582e4 15:23:36 ---> ae2709ced5fb 15:23:36 Step 9/24 : COPY go.mod vendor* ./ 15:23:36 ---> 36a3e1466108 15:23:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:36 ---> Running in a87857b90c67 15:23:37 Removing intermediate container a87857b90c67 15:23:37 ---> 52e84b5e56bf 15:23:37 Step 11/24 : COPY . . 15:23:38 ---> 624207eb5c2f 15:23:38 Step 12/24 : RUN ${MAKE} 15:23:38 ---> Running in 78ecc20273e7 15:23:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:24:10 Removing intermediate container 78ecc20273e7 15:24:10 ---> f4cab4732538 15:24:10 Step 13/24 : FROM alpine:3.18 15:24:10 3.18: Pulling from library/alpine 15:24:10 96526aa774ef: Pulling fs layer 15:24:10 96526aa774ef: Download complete 15:24:10 96526aa774ef: Pull complete 15:24:10 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:24:10 Status: Downloaded newer image for alpine:3.18 15:24:10 ---> 8ca4688f4f35 15:24:10 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:24:10 ---> Running in 446ec93e388f 15:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:24:11 (1/1) Installing dumb-init (1.2.5-r2) 15:24:11 Executing busybox-1.36.1-r2.trigger 15:24:11 OK: 7 MiB in 16 packages 15:24:15 Removing intermediate container 446ec93e388f 15:24:15 ---> d41c7d2e19d2 15:24:15 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:24:17 ---> b3b05a91ebf1 15:24:17 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:24:17 ---> 791b1495b7d4 15:24:17 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:24:17 ---> 3c791419ff9e 15:24:17 Step 18/24 : EXPOSE 59993 15:24:17 ---> Running in df86d52fcac9 15:24:17 Removing intermediate container df86d52fcac9 15:24:17 ---> 7b3f97d8fb94 15:24:17 Step 19/24 : EXPOSE 161 15:24:17 ---> Running in 32fdde680806 15:24:17 Removing intermediate container 32fdde680806 15:24:17 ---> ef8287e42b02 15:24:17 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:24:17 ---> Running in d624dbb83bee 15:24:17 Removing intermediate container d624dbb83bee 15:24:17 ---> ca48411173ec 15:24:17 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:24:17 ---> Running in 01dca5c5375a 15:24:17 Removing intermediate container 01dca5c5375a 15:24:17 ---> 09f398809646 15:24:17 Step 22/24 : LABEL arch=amd64 15:24:17 ---> Running in 89940c742aea 15:24:17 Removing intermediate container 89940c742aea 15:24:17 ---> 9b2597635ffe 15:24:17 Step 23/24 : LABEL git_sha=5a096b598673ce8e0ff86850fc6e45a46c4b2e75 15:24:17 ---> Running in c4e9e0f12d68 15:24:17 Removing intermediate container c4e9e0f12d68 15:24:17 ---> a3def0bbf16d 15:24:17 Step 24/24 : LABEL version=0.0.0 15:24:17 ---> Running in bd4b2cdc0271 15:24:18 Removing intermediate container bd4b2cdc0271 15:24:18 ---> ae9c9844901c 15:24:18 [Warning] One or more build-args [ARCH] were not consumed 15:24:18 Successfully built ae9c9844901c 15:24:18 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 15:24:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:19 15:24:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:19 latest: Pulling from edgex-lftools-log-publisher 15:24:19 5eb5b503b376: Pulling fs layer 15:24:19 5c69ac0246d0: Pulling fs layer 15:24:19 ec43610c2a17: Pulling fs layer 15:24:19 3a2ae6a8a46f: Pulling fs layer 15:24:19 33b1e0a273af: Pulling fs layer 15:24:19 5d3b04190fa2: Pulling fs layer 15:24:19 2f39f015ded8: Pulling fs layer 15:24:19 3a2ae6a8a46f: Waiting 15:24:19 33b1e0a273af: Waiting 15:24:19 2f39f015ded8: Waiting 15:24:19 5d3b04190fa2: Waiting 15:24:19 5c69ac0246d0: Download complete 15:24:19 3a2ae6a8a46f: Verifying Checksum 15:24:19 3a2ae6a8a46f: Download complete 15:24:19 33b1e0a273af: Verifying Checksum 15:24:19 33b1e0a273af: Download complete 15:24:19 ec43610c2a17: Verifying Checksum 15:24:19 ec43610c2a17: Download complete 15:24:19 5d3b04190fa2: Verifying Checksum 15:24:19 5d3b04190fa2: Download complete 15:24:19 5eb5b503b376: Verifying Checksum 15:24:19 5eb5b503b376: Download complete 15:24:20 2f39f015ded8: Download complete 15:24:20 5eb5b503b376: Pull complete 15:24:20 5c69ac0246d0: Pull complete 15:24:21 ec43610c2a17: Pull complete 15:24:21 3a2ae6a8a46f: Pull complete 15:24:21 33b1e0a273af: Pull complete 15:24:21 5d3b04190fa2: Pull complete 15:24:25 2f39f015ded8: Pull complete 15:24:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:24:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:26 prd-ubuntu20.04-docker-8c-8g-17142 does not seem to be running inside a container 15:24:26 $ 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-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@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 15:24:31 $ docker top 91803a88405b1f84f5932e01265b708d3eaaf4fa888809153b5ef9b7a7b947f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:31 ---> job-cost.sh 15:24:31 lf-activate-venv: SKIPPING 15:24:31 INFO: No Stack... 15:24:32 INFO: Retrieving Pricing Info for: v3-standard-8 15:24:32 INFO: Archiving Costs [Pipeline] sh 15:24:32 + cut -d, -f6 15:24:32 + cat /w/workspace/gexfoundry_device-snmp-go_PR-331/archives/cost.csv [Pipeline] lock 15:24:32 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] 15:24:32 Resource [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] did not exist. Created. 15:24:32 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:24:33 + echo total: 0.2199999988079071 [Pipeline] stash 15:24:33 Stashed 1 file(s) [Pipeline] } 15:24:33 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:24:33 $ docker stop --time=1 91803a88405b1f84f5932e01265b708d3eaaf4fa888809153b5ef9b7a7b947f4 15:24:34 $ docker rm -f --volumes 91803a88405b1f84f5932e01265b708d3eaaf4fa888809153b5ef9b7a7b947f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:25:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17143 in /w/workspace/gexfoundry_device-snmp-go_PR-331 [Pipeline] { [Pipeline] ws 15:25:51 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 15:25:51 Selected Git installation does not exist. Using Default 15:25:51 The recommended git tool is: NONE 15:26:02 using credential edgex-jenkins-ssh 15:26:02 Cloning the remote Git repository 15:26:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:26:02 > git init /w/workspace/device-snmp-go/1 # timeout=10 15:26:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:26:02 > git --version # timeout=10 15:26:02 > git --version # 'git version 2.25.1' 15:26:02 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:26:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:05 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 15:26:05 Merge succeeded, producing 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 15:26:05 Checking out Revision 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 (PR-331) 15:26:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:26:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:26:05 > git config core.sparsecheckout # timeout=10 15:26:05 > git checkout -f 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 # timeout=10 15:26:05 > git remote # timeout=10 15:26:05 > git config --get remote.origin.url # timeout=10 15:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:05 > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 15:26:05 > git rev-parse HEAD^{commit} # timeout=10 15:26:05 > git config core.sparsecheckout # timeout=10 15:26:05 > git checkout -f 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 # timeout=10 15:26:09 Commit message: "docs: Remove breaking change about common config" 15:26:09 > git --version # timeout=10 15:26:09 > git --version # 'git version 2.25.1' 15:26:09 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:26:10 % Total % Received % Xferd Average Speed Time Time Time Current 15:26:10 Dload Upload Total Spent Left Speed 15:26:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 91898 0 --:--:-- --:--:-- --:--:-- 92569 [Pipeline] sh 15:26:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:26:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:26:11 + sudo tee /etc/docker/daemon.new 15:26:11 { 15:26:11 "registry-mirrors": [ 15:26:11 "https://nexus3.edgexfoundry.org:10001" 15:26:11 ], 15:26:11 "bip": "10.250.0.254/24", 15:26:11 "hosts": [ 15:26:11 "tcp://0.0.0.0:5555", 15:26:11 "unix:///var/run/docker.sock" 15:26:11 ], 15:26:11 "mtu": 1458, 15:26:11 "selinux-enabled": true, 15:26:11 "seccomp-profile": "/etc/docker/seccomp.json" 15:26:11 } [Pipeline] sh 15:26:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:26:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:34 provisioning config files... 15:26:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config745518455775726814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:35 ---> docker-login.sh 15:26:35 nexus3.edgexfoundry.org:10001 15:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:36 Configure a credential helper to remove this warning. See 15:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:36 15:26:36 Login Succeeded 15:26:36 nexus3.edgexfoundry.org:10002 15:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:36 Configure a credential helper to remove this warning. See 15:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:36 15:26:36 Login Succeeded 15:26:36 nexus3.edgexfoundry.org:10003 15:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:36 Configure a credential helper to remove this warning. See 15:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:36 15:26:36 Login Succeeded 15:26:36 nexus3.edgexfoundry.org:10004 15:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:36 Configure a credential helper to remove this warning. See 15:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:36 15:26:36 Login Succeeded 15:26:36 docker.io 15:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:37 Configure a credential helper to remove this warning. See 15:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:37 15:26:37 Login Succeeded 15:26:37 ---> docker-login.sh ends [Pipeline] } 15:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:26:37 ========================================================= 15:26:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:26:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:26:38 Sending build context to Docker daemon 2.966MB 15:26:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:26:38 Step 2/12 : FROM ${BASE} AS builder 15:26:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:26:39 9fda8d8052c6: Pulling fs layer 15:26:39 5d54e960e981: Pulling fs layer 15:26:39 c4a7e357bf2a: Pulling fs layer 15:26:39 f0e02332f6b5: Pulling fs layer 15:26:39 cefa15bbcfad: Pulling fs layer 15:26:39 17808c966233: Pulling fs layer 15:26:39 f4c1fc716caa: Pulling fs layer 15:26:39 f0e02332f6b5: Waiting 15:26:39 cefa15bbcfad: Waiting 15:26:39 17808c966233: Waiting 15:26:39 f4c1fc716caa: Waiting 15:26:39 5d54e960e981: Verifying Checksum 15:26:39 5d54e960e981: Download complete 15:26:39 f0e02332f6b5: Verifying Checksum 15:26:39 f0e02332f6b5: Download complete 15:26:39 cefa15bbcfad: Download complete 15:26:39 9fda8d8052c6: Verifying Checksum 15:26:39 9fda8d8052c6: Download complete 15:26:39 f4c1fc716caa: Verifying Checksum 15:26:39 f4c1fc716caa: Download complete 15:26:39 9fda8d8052c6: Pull complete 15:26:40 c4a7e357bf2a: Verifying Checksum 15:26:40 c4a7e357bf2a: Download complete 15:26:41 17808c966233: Verifying Checksum 15:26:41 17808c966233: Download complete 15:26:42 5d54e960e981: Pull complete 15:26:55 c4a7e357bf2a: Pull complete 15:26:55 f0e02332f6b5: Pull complete 15:26:56 cefa15bbcfad: Pull complete 15:27:04 17808c966233: Pull complete 15:27:04 f4c1fc716caa: Pull complete 15:27:04 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:27:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:27:04 ---> ea914061e18c 15:27:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:27:06 ---> Running in 711cc8b1ae59 15:27:06 Removing intermediate container 711cc8b1ae59 15:27:06 ---> 1d2ab1e51776 15:27:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:27:06 ---> Running in ad5bc3ae9868 15:27:07 Removing intermediate container ad5bc3ae9868 15:27:07 ---> 58942a16f624 15:27:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:27:07 ---> Running in 8ae394b2452f 15:27:07 Removing intermediate container 8ae394b2452f 15:27:07 ---> 34ee0661c2c6 15:27:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:27:07 ---> Running in ca59f08a4425 15:27:08 Removing intermediate container ca59f08a4425 15:27:08 ---> 0ac4f0344508 15:27:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:27:08 ---> Running in 092b93403b85 15:27:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:27:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:27:10 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:27:10 (2/4) Installing libedit (20221030.3.1-r1) 15:27:10 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:27:10 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:27:10 Executing busybox-1.36.1-r2.trigger 15:27:10 OK: 270 MiB in 56 packages 15:27:11 Removing intermediate container 092b93403b85 15:27:11 ---> 0ad7eada3912 15:27:11 Step 8/12 : WORKDIR /device-snmp-go 15:27:11 ---> Running in b66f8c4cf922 15:27:12 Removing intermediate container b66f8c4cf922 15:27:12 ---> efe1b165517f 15:27:12 Step 9/12 : COPY go.mod vendor* ./ 15:27:12 ---> 767bd45f86df 15:27:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:27:12 ---> Running in 92f75a7abc22 15:28:34 Removing intermediate container 92f75a7abc22 15:28:34 ---> db761def35c5 15:28:34 Step 11/12 : COPY . . 15:28:34 ---> 632d3fb0d80a 15:28:34 Step 12/12 : RUN ${MAKE} 15:28:34 ---> Running in 75dec4eceee3 15:28:34 noop 15:28:34 Removing intermediate container 75dec4eceee3 15:28:34 ---> 3b61449050f1 15:28:34 Successfully built 3b61449050f1 15:28:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:34 + docker inspect -f . ci-base-image-arm64 15:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:35 prd-ubuntu20.04-docker-arm64-4c-16g-17143 does not seem to be running inside a container 15:28:35 $ 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 15:28:36 $ docker top f20357a6c003ae4a23cdf0530a4d1377ed8b6d04f9fa4beeecd57b2b6e2a530a -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:37 + go version 15:28:37 go version go1.21.0 linux/arm64 [Pipeline] } 15:28:37 $ docker stop --time=1 f20357a6c003ae4a23cdf0530a4d1377ed8b6d04f9fa4beeecd57b2b6e2a530a 15:28:38 $ docker rm -f --volumes f20357a6c003ae4a23cdf0530a4d1377ed8b6d04f9fa4beeecd57b2b6e2a530a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:39 + docker inspect -f . ci-base-image-arm64 15:28:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:39 prd-ubuntu20.04-docker-arm64-4c-16g-17143 does not seem to be running inside a container 15:28:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 15:28:41 $ docker top 92f17e2a4ba0014ddff3f56d5816d4f4a13bef641767cf52c01c4e39dc695f0b -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:41 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 15:28:42 + make test 15:28:42 go test ./... -coverprofile=coverage.out 15:28:48 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:30:25 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:30:25 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 15:30:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:30:25 go vet ./... 15:30:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:30:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:30:40 ./bin/test-attribution-txt.sh [Pipeline] echo 15:30:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:30:40 $ docker stop --time=1 92f17e2a4ba0014ddff3f56d5816d4f4a13bef641767cf52c01c4e39dc695f0b 15:30:42 $ docker rm -f --volumes 92f17e2a4ba0014ddff3f56d5816d4f4a13bef641767cf52c01c4e39dc695f0b [Pipeline] // withDockerContainer [Pipeline] sh 15:30:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:30:44 Warning: overwriting stash ‘coverage-report’ 15:30:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:30:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:30:45 + ls -al . 15:30:45 total 168 15:30:45 drwxrwxr-x 7 jenkins jenkins 4096 Nov 9 15:28 . 15:30:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:26 .. 15:30:45 -rw-rw-r-- 1 jenkins jenkins 6 Nov 9 15:26 .dockerignore 15:30:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:26 .git 15:30:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:26 .github 15:30:45 -rw-rw-r-- 1 jenkins jenkins 263 Nov 9 15:26 .gitignore 15:30:45 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:26 .golangci.yml 15:30:45 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 9 15:26 Attribution.txt 15:30:45 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 9 15:26 CHANGELOG.md 15:30:45 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 9 15:26 Dockerfile 15:30:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:26 GOVERNANCE.md 15:30:45 -rw-rw-r-- 1 jenkins jenkins 656 Nov 9 15:26 Jenkinsfile 15:30:45 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:26 LICENSE 15:30:45 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 9 15:26 Makefile 15:30:45 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:26 OWNERS.md 15:30:45 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 9 15:26 README.md 15:30:45 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:21 VERSION 15:30:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:26 bin 15:30:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:26 cmd 15:30:45 -rw-r--r-- 1 jenkins jenkins 8837 Nov 9 15:30 coverage.out 15:30:45 -rw-rw-r-- 1 jenkins jenkins 3712 Nov 9 15:26 go.mod 15:30:45 -rw-rw-r-- 1 jenkins jenkins 34822 Nov 9 15:26 go.sum 15:30:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:26 internal 15:30:45 -rw-rw-r-- 1 jenkins jenkins 228 Nov 9 15:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:46 + 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=5a096b598673ce8e0ff86850fc6e45a46c4b2e75 --label arch=arm64 --label version=0.0.0 . 15:30:46 Sending build context to Docker daemon 2.975MB 15:30:46 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 15:30:46 Step 2/24 : FROM ${BASE} AS builder 15:30:46 ---> 3b61449050f1 15:30:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:30:46 ---> Running in 458e8ef3e885 15:30:46 Removing intermediate container 458e8ef3e885 15:30:46 ---> 5c9ce6fa5827 15:30:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:30:46 ---> Running in e4a20631d78d 15:30:47 Removing intermediate container e4a20631d78d 15:30:47 ---> 6dd6dd93f640 15:30:47 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:30:47 ---> Running in 5b78271af619 15:30:47 Removing intermediate container 5b78271af619 15:30:47 ---> 40e504bc5677 15:30:47 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:30:47 ---> Running in 3a294ee7e61c 15:30:48 Removing intermediate container 3a294ee7e61c 15:30:48 ---> ccbe584f32b1 15:30:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:30:48 ---> Running in b4d7fb1fbbc3 15:30:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:30:50 OK: 270 MiB in 56 packages 15:30:51 Removing intermediate container b4d7fb1fbbc3 15:30:51 ---> e8e6f8557d48 15:30:51 Step 8/24 : WORKDIR /device-snmp-go 15:30:51 ---> Running in b168af4eb04f 15:30:54 Removing intermediate container b168af4eb04f 15:30:54 ---> 8f4af2cbb1ce 15:30:54 Step 9/24 : COPY go.mod vendor* ./ 15:30:55 ---> 6ce703491eb6 15:30:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:30:55 ---> Running in a4251512f3f8 15:30:57 Removing intermediate container a4251512f3f8 15:30:57 ---> 5c8eb009565e 15:30:57 Step 11/24 : COPY . . 15:30:58 ---> f3b30287554e 15:30:58 Step 12/24 : RUN ${MAKE} 15:30:58 ---> Running in 5e6767d2c17e 15:30:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:32:50 Removing intermediate container 5e6767d2c17e 15:32:50 ---> ef46c2d9cd69 15:32:50 Step 13/24 : FROM alpine:3.18 15:32:50 3.18: Pulling from library/alpine 15:32:50 579b34f0a95b: Pulling fs layer 15:32:50 579b34f0a95b: Verifying Checksum 15:32:50 579b34f0a95b: Download complete 15:32:50 579b34f0a95b: Pull complete 15:32:50 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:32:50 Status: Downloaded newer image for alpine:3.18 15:32:50 ---> 3cc203321400 15:32:50 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:32:50 ---> Running in c623bae3133d 15:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:54 (1/1) Installing dumb-init (1.2.5-r2) 15:32:54 Executing busybox-1.36.1-r2.trigger 15:32:54 OK: 8 MiB in 16 packages 15:32:55 Removing intermediate container c623bae3133d 15:32:55 ---> 288ce3e2c9b3 15:32:55 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:32:57 ---> edfc52b8fd49 15:32:57 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:32:57 ---> 44a7fb3c9da8 15:32:57 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:32:57 ---> 3041ce5b6b88 15:32:57 Step 18/24 : EXPOSE 59993 15:32:57 ---> Running in 19df3aa9d45c 15:32:58 Removing intermediate container 19df3aa9d45c 15:32:58 ---> d169aab346b3 15:32:58 Step 19/24 : EXPOSE 161 15:32:58 ---> Running in 81c6f430d4d4 15:32:58 Removing intermediate container 81c6f430d4d4 15:32:58 ---> b87d6299b948 15:32:58 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:32:58 ---> Running in 7e89d7bdb4cb 15:32:59 Removing intermediate container 7e89d7bdb4cb 15:32:59 ---> f417b9c73be3 15:32:59 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:32:59 ---> Running in 0ef3d4a65806 15:32:59 Removing intermediate container 0ef3d4a65806 15:32:59 ---> a01d2c6d1721 15:32:59 Step 22/24 : LABEL arch=arm64 15:32:59 ---> Running in 37b41f59eac6 15:32:59 Removing intermediate container 37b41f59eac6 15:32:59 ---> dce85e981636 15:32:59 Step 23/24 : LABEL git_sha=5a096b598673ce8e0ff86850fc6e45a46c4b2e75 15:33:00 ---> Running in ffa26bb706ba 15:33:00 Removing intermediate container ffa26bb706ba 15:33:00 ---> 0e2b7508aaa3 15:33:00 Step 24/24 : LABEL version=0.0.0 15:33:00 ---> Running in 291bd16a0db4 15:33:00 Removing intermediate container 291bd16a0db4 15:33:00 ---> d064d56f25ee 15:33:00 [Warning] One or more build-args [ARCH] were not consumed 15:33:00 Successfully built d064d56f25ee 15:33:00 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 15:33:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:01 15:33:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:02 arm64: Pulling from edgex-lftools-log-publisher 15:33:02 8998bd30e6a1: Pulling fs layer 15:33:02 04944245beec: Pulling fs layer 15:33:02 699f458cf7ca: Pulling fs layer 15:33:02 765212b225bb: Pulling fs layer 15:33:02 f23df028b6ca: Pulling fs layer 15:33:02 d65c8cfc05b1: Pulling fs layer 15:33:02 2437ff75d9bd: Pulling fs layer 15:33:02 765212b225bb: Waiting 15:33:02 f23df028b6ca: Waiting 15:33:02 2437ff75d9bd: Waiting 15:33:02 d65c8cfc05b1: Waiting 15:33:02 04944245beec: Verifying Checksum 15:33:02 04944245beec: Download complete 15:33:02 765212b225bb: Verifying Checksum 15:33:02 765212b225bb: Download complete 15:33:02 f23df028b6ca: Download complete 15:33:02 d65c8cfc05b1: Verifying Checksum 15:33:02 d65c8cfc05b1: Download complete 15:33:02 699f458cf7ca: Verifying Checksum 15:33:02 699f458cf7ca: Download complete 15:33:03 8998bd30e6a1: Download complete 15:33:05 2437ff75d9bd: Verifying Checksum 15:33:08 8998bd30e6a1: Pull complete 15:33:08 04944245beec: Pull complete 15:33:09 699f458cf7ca: Pull complete 15:33:10 765212b225bb: Pull complete 15:33:11 f23df028b6ca: Pull complete 15:33:11 d65c8cfc05b1: Pull complete 15:33:29 2437ff75d9bd: Pull complete 15:33:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:33:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:29 prd-ubuntu20.04-docker-arm64-4c-16g-17143 does not seem to be running inside a container 15:33:29 $ 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 15:33:32 $ docker top e6d7c7d6dfd4da26007b3d832202a0ab68e9d7105a90c32b28047a2d069eda00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:33 ---> job-cost.sh 15:33:33 lf-activate-venv: SKIPPING 15:33:33 INFO: No Stack... 15:33:34 INFO: Retrieving Pricing Info for: v3-standard-4 15:33:34 INFO: Archiving Costs [Pipeline] sh 15:33:35 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 15:33:35 + cut -d, -f6 [Pipeline] lock 15:33:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] 15:33:35 Resource [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] did not exist. Created. 15:33:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:33:36 /w/workspace/device-snmp-go/1@tmp/durable-1d8799e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:33:37 + echo total: 0.10999999940395355 [Pipeline] stash 15:33:37 Warning: overwriting stash ‘stack-cost’ 15:33:37 Stashed 1 file(s) [Pipeline] } 15:33:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:33:37 $ docker stop --time=1 e6d7c7d6dfd4da26007b3d832202a0ab68e9d7105a90c32b28047a2d069eda00 15:33:38 $ docker rm -f --volumes e6d7c7d6dfd4da26007b3d832202a0ab68e9d7105a90c32b28047a2d069eda00 [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 15:33:39 provisioning config files... 15:33:39 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config11539114716776484398tmp [Pipeline] { [Pipeline] sh 15:33:40 + set +x 15:33:40 + curl -s https://codecov.io/bash 15:33:40 + bash -s -- 15:33:40 15:33:40 _____ _ 15:33:40 / ____| | | 15:33:40 | | ___ __| | ___ ___ _____ __ 15:33:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:33:40 | |___| (_) | (_| | __/ (_| (_) \ V / 15:33:40 \_____\___/ \__,_|\___|\___\___/ \_/ 15:33:40 Bash-1.0.6 15:33:40 15:33:40 15:33:40 ==> git version 2.25.1 found 15:33:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:33:40 Release-Date: 2020-01-08 15:33:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:33:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:33:40 ==> Jenkins CI detected. 15:33:40 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-331 15:33:40 project root: . 15:33:40 --> token set from env 15:33:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:33:40 ==> Running gcov in . (disable via -X gcov) 15:33:40 ==> Python coveragepy not found 15:33:40 ==> Searching for coverage reports in: 15:33:40 + . 15:33:40 -> Found 1 reports 15:33:40 ==> Detecting git/mercurial file structure 15:33:40 ==> Reading reports 15:33:40 + ./coverage.out bytes=8837 15:33:40 ==> Appending adjustments 15:33:40 https://docs.codecov.io/docs/fixing-reports 15:33:40 + Found adjustments 15:33:40 ==> Gzipping contents 15:33:40 4.0K /tmp/codecov.GgAAMf.gz 15:33:40 ==> Uploading reports 15:33:40 url: https://codecov.io 15:33:40 query: branch=PR-331&commit=5a096b598673ce8e0ff86850fc6e45a46c4b2e75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-331%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=331&job=&cmd_args= 15:33:40 -> Pinging Codecov 15:33:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-331&commit=5a096b598673ce8e0ff86850fc6e45a46c4b2e75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-331%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=331&job=&cmd_args= 15:33:40 -> Uploading to 15:33:40 https://storage.googleapis.com/codecov/v4/raw/2023-11-09/6C56EA5C29638FB4528AC87E60AF5AE0/5a096b598673ce8e0ff86850fc6e45a46c4b2e75/000242ab-8b88-41e9-a16e-28c0be0f6884.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T153340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a2d13cdd93872b266992d605dcc5ec6cf0a37d2bf4898fa23d0a96bbe70506c 15:33:40 % Total % Received % Xferd Average Speed Time Time Time Current 15:33:40 Dload Upload Total Spent Left Speed 15:33:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5694 --:--:-- --:--:-- --:--:-- 5694 15:33:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/5a096b598673ce8e0ff86850fc6e45a46c4b2e75 [Pipeline] } 15:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:33:42 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-331/archives ] 15:33:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-331/archives 15:33:42 total 16 15:33:42 drwxr-xr-x 3 root root 4096 Nov 9 15:24 . 15:33:42 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 15:24 .. 15:33:42 drwxr-xr-x 2 root root 4096 Nov 9 15:24 cost 15:33:42 -rw-r--r-- 1 root root 86 Nov 9 15:24 cost.csv 15:33:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-331/archives 15:33:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-331/archives 15:33:42 total 16 15:33:42 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:24 . 15:33:42 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 15:24 .. 15:33:42 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 15:24 cost 15:33:42 -rw-r--r-- 1 jenkins jenkins 86 Nov 9 15:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:33:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:33:44 ---> package-listing.sh 15:33:44 ++ tr '[:upper:]' '[:lower:]' 15:33:44 ++ facter osfamily 15:33:44 + OS_FAMILY=debian 15:33:44 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-331 15:33:44 + START_PACKAGES=/tmp/packages_start.txt 15:33:44 + END_PACKAGES=/tmp/packages_end.txt 15:33:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:33:44 + PACKAGES=/tmp/packages_start.txt 15:33:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-331 ']' 15:33:44 + PACKAGES=/tmp/packages_end.txt 15:33:44 + case "${OS_FAMILY}" in 15:33:44 + dpkg -l 15:33:44 + grep '^ii' 15:33:44 + '[' -f /tmp/packages_start.txt ']' 15:33:44 + '[' -f /tmp/packages_end.txt ']' 15:33:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:33:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-331 ']' 15:33:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-331/archives/ 15:33:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-331/archives/ [Pipeline] echo 15:33:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:33:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:33:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:45 prd-ubuntu20.04-docker-8c-8g-17142 does not seem to be running inside a container 15:33:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-331/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-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@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 15:33:45 $ docker top da6b0c779e20b4997d4076506b7ca820b5096424c94d74a4cade9b05da2ba648 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:46 + touch /tmp/pre-build-complete [Pipeline] sh 15:33:46 + mkdir -p /var/log/sysstat [Pipeline] sh 15:33:46 + ls /var/log/sa-host 15:33:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:33:46 provisioning config files... 15:33:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config5150683830699422193tmp [Pipeline] { [Pipeline] echo 15:33:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:33:47 ---> create-netrc.sh [Pipeline] } 15:33:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:33:47 ---> python-tools-install.sh [Pipeline] echo 15:33:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:33:48 ---> sudo-logs.sh 15:33:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:33:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:33:48 ---> job-cost.sh 15:33:48 lf-activate-venv: SKIPPING 15:33:48 DEBUG: total: 0.2199999988079071 15:33:48 INFO: Retrieving Stack Cost... 15:33:49 INFO: Retrieving Pricing Info for: v3-standard-8 15:33:49 INFO: Archiving Costs [Pipeline] echo 15:33:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:33:49 ---> logs-deploy.sh 15:33:49 lf-activate-venv: SKIPPING 15:33:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-331/1 15:33:49 INFO: archiving workspace using pattern(s): 15:33:50 Archives upload complete. 15:33:50 INFO: archiving logs to Nexus