Pull request #326 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d7a19294ca9cf70081960781beb19d62bbca32c9+23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 (e794ff783d1286b19a9ec30e1fcdb4dd62b43489) 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-ssh17010363202368277674.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3730083077230756525.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-326/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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9539746882961559681.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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16640748605596608774.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16209674049859061033.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-326/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-326/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17172026871209242998.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12488 in /w/workspace/gexfoundry_device-snmp-go_PR-326 [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-326 # 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/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 into PR head commit d7a19294ca9cf70081960781beb19d62bbca32c9 Merge succeeded, producing d7a19294ca9cf70081960781beb19d62bbca32c9 Checking out Revision d7a19294ca9cf70081960781beb19d62bbca32c9 (PR-326) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d7a19294ca9cf70081960781beb19d62bbca32c9 # 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 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7a19294ca9cf70081960781beb19d62bbca32c9 # timeout=10 [Pipeline] echo 05:50:24 ========================================================= 05:50:24 EdgeX Global Pipelines Version Info 05:50:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:24 ------------------- 05:50:24 stable info: 05:50:24 ------------------- 05:50:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:24 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:50:24 Message: update stable to v1.0.254 05:50:25 ------------------- 05:50:25 experimental info: 05:50:25 ------------------- 05:50:25 Commited By: **** collab-it+edgex@linuxfoundation.org 05:50:25 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:50:25 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-326 [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-326 [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-326 [Pipeline] echo 05:50:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7a19294ca9cf70081960781beb19d62bbca32c9 [Pipeline] echo 05:50:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7a1929 [Pipeline] echo 05:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:27 provisioning config files... 05:50:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/config12109017080457170807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:27 ---> docker-login.sh 05:50:27 nexus3.edgexfoundry.org:10001 05:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:27 Configure a credential helper to remove this warning. See 05:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:27 05:50:27 Login Succeeded 05:50:27 nexus3.edgexfoundry.org:10002 05:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:28 Configure a credential helper to remove this warning. See 05:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:28 05:50:28 Login Succeeded 05:50:28 nexus3.edgexfoundry.org:10003 05:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:28 Configure a credential helper to remove this warning. See 05:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:28 05:50:28 Login Succeeded 05:50:28 nexus3.edgexfoundry.org:10004 05:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:28 Configure a credential helper to remove this warning. See 05:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:28 05:50:28 Login Succeeded 05:50:28 docker.io 05:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:28 Configure a credential helper to remove this warning. See 05:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:28 05:50:28 Login Succeeded 05:50:28 ---> docker-login.sh ends [Pipeline] } 05:50:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:50:29 + git rev-list -1 --merges d7a19294ca9cf70081960781beb19d62bbca32c9~1..d7a19294ca9cf70081960781beb19d62bbca32c9 [Pipeline] echo 05:50:29 -----------> git rev-list -1 --merges d7a19294ca9cf70081960781beb19d62bbca32c9~1..d7a19294ca9cf70081960781beb19d62bbca32c9 d7a19294ca9cf70081960781beb19d62bbca32c9 [false] [Pipeline] sh 05:50:29 + git log --format=format:%s -1 d7a19294ca9cf70081960781beb19d62bbca32c9 [Pipeline] echo 05:50:29 ========================================================= 05:50:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:50:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:30 + git log --format=format:%s -1 d7a19294ca9cf70081960781beb19d62bbca32c9 [Pipeline] echo 05:50:30 [semverPrep] GIT_COMMIT: d7a19294ca9cf70081960781beb19d62bbca32c9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:50:30 [semverPrep] This is not a build commit. [Pipeline] sh 05:50:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:30 + grep -v github /etc/ssh/ssh_known_hosts 05:50:30 + [ -e /tmp/ssh_known_hosts ] 05:50:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:50:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:50:30 + sudo tee -a /etc/ssh/ssh_known_hosts 05:50:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:30 05:50:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:31 0.1.4: Pulling from edgex-devops/py-git-semver 05:50:31 b85a868b505f: Pulling fs layer 05:50:31 e2be974225ed: Pulling fs layer 05:50:31 339a4e72a1f5: Pulling fs layer 05:50:31 988bab9f4d93: Pulling fs layer 05:50:31 1469e6f7b9e6: Pulling fs layer 05:50:31 eaf3925da568: Pulling fs layer 05:50:31 bab4dde63d76: Pulling fs layer 05:50:31 bde34c3a00c8: Pulling fs layer 05:50:31 b352a97aabf1: Pulling fs layer 05:50:31 4872d77fe225: Pulling fs layer 05:50:31 5851b861e8e6: Pulling fs layer 05:50:31 988bab9f4d93: Waiting 05:50:31 1469e6f7b9e6: Waiting 05:50:31 eaf3925da568: Waiting 05:50:31 bab4dde63d76: Waiting 05:50:31 bde34c3a00c8: Waiting 05:50:31 b352a97aabf1: Waiting 05:50:31 4872d77fe225: Waiting 05:50:31 e2be974225ed: Verifying Checksum 05:50:31 e2be974225ed: Download complete 05:50:31 988bab9f4d93: Download complete 05:50:31 1469e6f7b9e6: Verifying Checksum 05:50:31 1469e6f7b9e6: Download complete 05:50:31 339a4e72a1f5: Verifying Checksum 05:50:31 339a4e72a1f5: Download complete 05:50:31 eaf3925da568: Verifying Checksum 05:50:31 eaf3925da568: Download complete 05:50:31 bde34c3a00c8: Download complete 05:50:31 b352a97aabf1: Download complete 05:50:31 4872d77fe225: Verifying Checksum 05:50:31 4872d77fe225: Download complete 05:50:31 5851b861e8e6: Download complete 05:50:31 b85a868b505f: Download complete 05:50:31 bab4dde63d76: Verifying Checksum 05:50:31 bab4dde63d76: Download complete 05:50:32 b85a868b505f: Pull complete 05:50:33 e2be974225ed: Pull complete 05:50:33 339a4e72a1f5: Pull complete 05:50:33 988bab9f4d93: Pull complete 05:50:33 1469e6f7b9e6: Pull complete 05:50:33 eaf3925da568: Pull complete 05:50:35 bab4dde63d76: Pull complete 05:50:35 bde34c3a00c8: Pull complete 05:50:35 b352a97aabf1: Pull complete 05:50:35 4872d77fe225: Pull complete 05:50:35 5851b861e8e6: Pull complete 05:50:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:50:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:36 prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container 05:50:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-326 -v /w/workspace/gexfoundry_device-snmp-go_PR-326:/w/workspace/gexfoundry_device-snmp-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:50:39 $ docker top 6d0e9e36c5558e9f23599d646cb49b5dece9b7b97f79c585441f3d4994a181bf -eo pid,comm 05:50:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:50:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:39 [ssh-agent] Looking for ssh-agent implementation... 05:50:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:39 $ docker exec 6d0e9e36c5558e9f23599d646cb49b5dece9b7b97f79c585441f3d4994a181bf ssh-agent 05:50:40 SSH_AUTH_SOCK=/tmp/ssh-wSo4ZE17cgCs/agent.31 05:50:40 SSH_AGENT_PID=37 05:50:40 Running ssh-add (command line suppressed) 05:50:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/private_key_18363037982202998897.key (/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/private_key_18363037982202998897.key) 05:50:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:40 + git tag --points-at HEAD [Pipeline] } 05:50:40 $ docker exec --env ******** --env ******** 6d0e9e36c5558e9f23599d646cb49b5dece9b7b97f79c585441f3d4994a181bf ssh-agent -k 05:50:40 unset SSH_AUTH_SOCK; 05:50:40 unset SSH_AGENT_PID; 05:50:40 echo Agent pid 37 killed; 05:50:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:50:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:40 [ssh-agent] Looking for ssh-agent implementation... 05:50:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:40 $ docker exec 6d0e9e36c5558e9f23599d646cb49b5dece9b7b97f79c585441f3d4994a181bf ssh-agent 05:50:40 SSH_AUTH_SOCK=/tmp/ssh-WulepoSItkJ4/agent.69 05:50:40 SSH_AGENT_PID=75 05:50:40 Running ssh-add (command line suppressed) 05:50:41 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/private_key_2320204536444893039.key (/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/private_key_2320204536444893039.key) 05:50:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:41 + git semver init 05:50:41 2023-10-27 05:50:41,545 [run_init] DEBUG init version:0.0.0 force:False 05:50:41 2023-10-27 05:50:41,546 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-326/.semver 05:50:41 2023-10-27 05:50:41,547 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-326/.semver 05:50:41 2023-10-27 05:50:41,547 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-326/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-326, universal_newlines=False, shell=None, istream=None) 05:50:42 2023-10-27 05:50:42,408 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-326/.git/info/exclude 05:50:42 2023-10-27 05:50:42,409 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-326/.semver/PR-326 with force:False 05:50:42 2023-10-27 05:50:42,409 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-326/.semver/PR-326 05:50:42 2023-10-27 05:50:42,413 [execute] INFO git cat-file --batch-check 05:50:42 2023-10-27 05:50:42,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) 05:50:42 2023-10-27 05:50:42,420 [execute] INFO git cat-file --batch 05:50:42 2023-10-27 05:50:42,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) 05:50:42 2023-10-27 05:50:42,425 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-326/.semver/PR-326 05:50:42 0.0.0 [Pipeline] } 05:50:42 $ docker exec --env ******** --env ******** 6d0e9e36c5558e9f23599d646cb49b5dece9b7b97f79c585441f3d4994a181bf ssh-agent -k 05:50:42 unset SSH_AUTH_SOCK; 05:50:42 unset SSH_AGENT_PID; 05:50:42 echo Agent pid 75 killed; 05:50:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:43 + git semver [Pipeline] } 05:50:43 $ docker stop --time=1 6d0e9e36c5558e9f23599d646cb49b5dece9b7b97f79c585441f3d4994a181bf 05:50:44 $ docker rm -f --volumes 6d0e9e36c5558e9f23599d646cb49b5dece9b7b97f79c585441f3d4994a181bf [Pipeline] // withDockerContainer [Pipeline] sh 05:50:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:50:45 Stashed 1 file(s) [Pipeline] echo 05:50:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:46 provisioning config files... 05:50:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/config11487613706310089302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:46 ---> docker-login.sh 05:50:46 nexus3.edgexfoundry.org:10001 05:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:46 Configure a credential helper to remove this warning. See 05:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:46 05:50:46 Login Succeeded 05:50:46 nexus3.edgexfoundry.org:10002 05:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:46 Configure a credential helper to remove this warning. See 05:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:46 05:50:46 Login Succeeded 05:50:46 nexus3.edgexfoundry.org:10003 05:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:46 Configure a credential helper to remove this warning. See 05:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:46 05:50:46 Login Succeeded 05:50:46 nexus3.edgexfoundry.org:10004 05:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:46 Configure a credential helper to remove this warning. See 05:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:46 05:50:46 Login Succeeded 05:50:46 docker.io 05:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:47 Configure a credential helper to remove this warning. See 05:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:47 05:50:47 Login Succeeded 05:50:47 ---> docker-login.sh ends [Pipeline] } 05:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:50:47 ========================================================= 05:50:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:50:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:47 + 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 . 05:50:47 Sending build context to Docker daemon 5.745MB 05:50:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:50:47 Step 2/12 : FROM ${BASE} AS builder 05:50:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:50:47 7264a8db6415: Pulling fs layer 05:50:47 c4d48a809fc2: Pulling fs layer 05:50:47 4f1c88b9dad5: Pulling fs layer 05:50:47 ad3a456e5733: Pulling fs layer 05:50:47 33e27b845d1e: Pulling fs layer 05:50:47 c68163c4e522: Pulling fs layer 05:50:47 50da416c3ac9: Pulling fs layer 05:50:47 23d2d4c4bb30: Pulling fs layer 05:50:47 c68163c4e522: Waiting 05:50:47 50da416c3ac9: Waiting 05:50:47 ad3a456e5733: Waiting 05:50:47 23d2d4c4bb30: Waiting 05:50:47 33e27b845d1e: Waiting 05:50:47 c4d48a809fc2: Verifying Checksum 05:50:47 c4d48a809fc2: Download complete 05:50:47 ad3a456e5733: Download complete 05:50:47 33e27b845d1e: Download complete 05:50:47 7264a8db6415: Verifying Checksum 05:50:47 7264a8db6415: Download complete 05:50:48 c68163c4e522: Verifying Checksum 05:50:48 c68163c4e522: Download complete 05:50:48 7264a8db6415: Pull complete 05:50:48 23d2d4c4bb30: Verifying Checksum 05:50:48 23d2d4c4bb30: Download complete 05:50:48 c4d48a809fc2: Pull complete 05:50:48 4f1c88b9dad5: Verifying Checksum 05:50:48 4f1c88b9dad5: Download complete 05:50:49 50da416c3ac9: Verifying Checksum 05:50:49 50da416c3ac9: Download complete 05:50:51 4f1c88b9dad5: Pull complete 05:50:51 ad3a456e5733: Pull complete 05:50:51 33e27b845d1e: Pull complete 05:50:51 c68163c4e522: Pull complete 05:50:54 50da416c3ac9: Pull complete 05:50:54 23d2d4c4bb30: Pull complete 05:50:54 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:50:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:50:54 ---> 0786185ac409 05:50:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:50:58 ---> Running in 1f62cc93e489 05:50:58 Removing intermediate container 1f62cc93e489 05:50:58 ---> 7410b7507228 05:50:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:50:58 ---> Running in 1758f9041f40 05:50:58 Removing intermediate container 1758f9041f40 05:50:58 ---> a8afb4f69f72 05:50:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:50:58 ---> Running in 0a50e533f2bc 05:50:58 Removing intermediate container 0a50e533f2bc 05:50:58 ---> d7206a3143c6 05:50:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:50:58 ---> Running in 45bb7546c4ef 05:50:58 Removing intermediate container 45bb7546c4ef 05:50:58 ---> 5d8ab5b7c11b 05:50:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:50:58 ---> Running in 745993cb981c 05:50:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:50:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:50:59 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:50:59 (2/4) Installing libedit (20221030.3.1-r1) 05:50:59 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:50:59 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:50:59 Executing busybox-1.36.1-r2.trigger 05:50:59 OK: 268 MiB in 56 packages 05:51:00 Removing intermediate container 745993cb981c 05:51:00 ---> c52633bc1b56 05:51:00 Step 8/12 : WORKDIR /device-snmp-go 05:51:00 ---> Running in 57fa4a603316 05:51:00 Removing intermediate container 57fa4a603316 05:51:00 ---> 8d44195563bc 05:51:00 Step 9/12 : COPY go.mod vendor* ./ 05:51:00 ---> e1f08ca0c05b 05:51:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:51:00 ---> Running in 2f95f3560fde 05:51:00 Still waiting to schedule task 05:51:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:51:56 Removing intermediate container 2f95f3560fde 05:51:56 ---> 48b46e8cb854 05:51:56 Step 11/12 : COPY . . 05:51:56 ---> 99bf3c2b56aa 05:51:56 Step 12/12 : RUN ${MAKE} 05:51:56 ---> Running in 989b80f2e554 05:51:56 noop 05:51:56 Removing intermediate container 989b80f2e554 05:51:56 ---> 8da1632ae63e 05:51:56 Successfully built 8da1632ae63e 05:51:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:56 + docker inspect -f . ci-base-image-x86_64 05:51:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:56 prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container 05:51:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-326 -v /w/workspace/gexfoundry_device-snmp-go_PR-326:/w/workspace/gexfoundry_device-snmp-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-326@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 ******** ci-base-image-x86_64 cat 05:51:57 $ docker top 606c3082f0f6d5ae58e373fdcc6f63a4c04f6e70c6ddf1deb6775621bec4e96a -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:57 + go version 05:51:57 go version go1.21.0 linux/amd64 [Pipeline] } 05:51:57 $ docker stop --time=1 606c3082f0f6d5ae58e373fdcc6f63a4c04f6e70c6ddf1deb6775621bec4e96a 05:51:59 $ docker rm -f --volumes 606c3082f0f6d5ae58e373fdcc6f63a4c04f6e70c6ddf1deb6775621bec4e96a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:59 + docker inspect -f . ci-base-image-x86_64 05:51:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:59 prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container 05:51:59 $ 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-326 -v /w/workspace/gexfoundry_device-snmp-go_PR-326:/w/workspace/gexfoundry_device-snmp-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-326@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 ******** ci-base-image-x86_64 cat 05:52:00 $ docker top e140ee4466f67cf256740209122ec2a347c28398fa950ee0c87b4638313b695a -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-326 [Pipeline] fileExists [Pipeline] sh 05:52:00 + make test 05:52:00 go test ./... -coverprofile=coverage.out 05:52:02 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:52:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:52:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 05:52:17 go vet ./... 05:52:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:52:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:52:20 ./bin/test-attribution-txt.sh [Pipeline] echo 05:52:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:52:20 $ docker stop --time=1 e140ee4466f67cf256740209122ec2a347c28398fa950ee0c87b4638313b695a 05:52:24 $ docker rm -f --volumes e140ee4466f67cf256740209122ec2a347c28398fa950ee0c87b4638313b695a [Pipeline] // withDockerContainer [Pipeline] sh 05:52:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:52:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:52:26 + ls -al . 05:52:26 total 172 05:52:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:52 . 05:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 05:50 .. 05:52:26 -rw-rw-r-- 1 jenkins jenkins 6 Oct 27 05:50 .dockerignore 05:52:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:52 .git 05:52:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:50 .github 05:52:26 -rw-rw-r-- 1 jenkins jenkins 263 Oct 27 05:50 .gitignore 05:52:26 -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 05:50 .golangci.yml 05:52:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 05:50 .semver 05:52:26 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 27 05:50 Attribution.txt 05:52:26 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 27 05:50 CHANGELOG.md 05:52:26 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 27 05:50 Dockerfile 05:52:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 05:50 GOVERNANCE.md 05:52:26 -rw-rw-r-- 1 jenkins jenkins 656 Oct 27 05:50 Jenkinsfile 05:52:26 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 05:50 LICENSE 05:52:26 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 27 05:50 Makefile 05:52:26 -rw-rw-r-- 1 jenkins jenkins 620 Oct 27 05:50 OWNERS.md 05:52:26 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 27 05:50 README.md 05:52:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 05:50 VERSION 05:52:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:50 bin 05:52:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:50 cmd 05:52:26 -rw-r--r-- 1 jenkins jenkins 8837 Oct 27 05:52 coverage.out 05:52:26 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 27 05:50 go.mod 05:52:26 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 27 05:50 go.sum 05:52:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:50 internal 05:52:26 -rw-rw-r-- 1 jenkins jenkins 228 Oct 27 05:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:27 + 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=d7a19294ca9cf70081960781beb19d62bbca32c9 --label arch=amd64 --label version=0.0.0 . 05:52:27 Sending build context to Docker daemon 5.755MB 05:52:27 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:52:27 Step 2/24 : FROM ${BASE} AS builder 05:52:27 ---> 8da1632ae63e 05:52:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:52:27 ---> Running in bb45893b2b63 05:52:27 Removing intermediate container bb45893b2b63 05:52:27 ---> e24a37a818c6 05:52:27 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:52:27 ---> Running in 64ad8d9c6045 05:52:27 Removing intermediate container 64ad8d9c6045 05:52:27 ---> 7e322450fdfc 05:52:27 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:52:27 ---> Running in 50946622796c 05:52:27 Removing intermediate container 50946622796c 05:52:27 ---> 32667fbee33b 05:52:27 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:52:27 ---> Running in 27f09ed2c341 05:52:27 Removing intermediate container 27f09ed2c341 05:52:27 ---> 9e7a04f579b6 05:52:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:52:27 ---> Running in cae19b8d4220 05:52:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:52:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:52:28 OK: 268 MiB in 56 packages 05:52:28 Removing intermediate container cae19b8d4220 05:52:28 ---> 1bf60176516d 05:52:28 Step 8/24 : WORKDIR /device-snmp-go 05:52:28 ---> Running in 7db16e0657a3 05:52:28 Removing intermediate container 7db16e0657a3 05:52:28 ---> ab1b58543244 05:52:28 Step 9/24 : COPY go.mod vendor* ./ 05:52:28 ---> ea1cf1e6dbd6 05:52:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:52:28 ---> Running in 9b8f266d690b 05:52:29 Removing intermediate container 9b8f266d690b 05:52:29 ---> d5a72c75feaa 05:52:29 Step 11/24 : COPY . . 05:52:29 ---> ab21c9964be6 05:52:29 Step 12/24 : RUN ${MAKE} 05:52:29 ---> Running in b8a39dc1e9a9 05:52:30 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 05:52:48 Removing intermediate container b8a39dc1e9a9 05:52:48 ---> f4ff38bc95ae 05:52:48 Step 13/24 : FROM alpine:3.18 05:52:48 3.18: Pulling from library/alpine 05:52:48 96526aa774ef: Pulling fs layer 05:52:49 96526aa774ef: Download complete 05:52:49 96526aa774ef: Pull complete 05:52:49 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:52:49 Status: Downloaded newer image for alpine:3.18 05:52:49 ---> 8ca4688f4f35 05:52:49 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:52:49 ---> Running in 977092e653e2 05:52:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:52:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:52:50 (1/1) Installing dumb-init (1.2.5-r2) 05:52:50 Executing busybox-1.36.1-r2.trigger 05:52:50 OK: 7 MiB in 16 packages 05:52:50 Removing intermediate container 977092e653e2 05:52:50 ---> 785c9774d687 05:52:50 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:52:51 ---> 029cf1eaf0db 05:52:51 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:52:51 ---> 1de11629450c 05:52:51 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:52:51 ---> f582a9604dbd 05:52:51 Step 18/24 : EXPOSE 59993 05:52:51 ---> Running in 3105356ad42d 05:52:51 Removing intermediate container 3105356ad42d 05:52:51 ---> 3010712bbadc 05:52:51 Step 19/24 : EXPOSE 161 05:52:51 ---> Running in 997973b4e5ac 05:52:51 Removing intermediate container 997973b4e5ac 05:52:51 ---> c3770120d89f 05:52:51 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:52:51 ---> Running in 96ac569c7d27 05:52:51 Removing intermediate container 96ac569c7d27 05:52:51 ---> 3d5ca7df8c3e 05:52:51 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:52:51 ---> Running in 830c14b883ef 05:52:51 Removing intermediate container 830c14b883ef 05:52:51 ---> d78c229463d3 05:52:51 Step 22/24 : LABEL arch=amd64 05:52:51 ---> Running in e783a01d8736 05:52:51 Removing intermediate container e783a01d8736 05:52:51 ---> f82e92a602d7 05:52:51 Step 23/24 : LABEL git_sha=d7a19294ca9cf70081960781beb19d62bbca32c9 05:52:52 ---> Running in e033227fe0e4 05:52:52 Removing intermediate container e033227fe0e4 05:52:52 ---> a9c3308dd1b7 05:52:52 Step 24/24 : LABEL version=0.0.0 05:52:52 ---> Running in eb9af8e192c8 05:52:52 Removing intermediate container eb9af8e192c8 05:52:52 ---> cff34d5fb3e5 05:52:52 [Warning] One or more build-args [ARCH] were not consumed 05:52:52 Successfully built cff34d5fb3e5 05:52:52 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 05:52:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:52:53 05:52:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:52:53 latest: Pulling from edgex-lftools-log-publisher 05:52:53 5eb5b503b376: Pulling fs layer 05:52:53 5c69ac0246d0: Pulling fs layer 05:52:53 ec43610c2a17: Pulling fs layer 05:52:53 3a2ae6a8a46f: Pulling fs layer 05:52:53 33b1e0a273af: Pulling fs layer 05:52:53 5d3b04190fa2: Pulling fs layer 05:52:53 2f39f015ded8: Pulling fs layer 05:52:53 3a2ae6a8a46f: Waiting 05:52:53 5d3b04190fa2: Waiting 05:52:53 33b1e0a273af: Waiting 05:52:53 2f39f015ded8: Waiting 05:52:53 5c69ac0246d0: Download complete 05:52:53 3a2ae6a8a46f: Verifying Checksum 05:52:53 3a2ae6a8a46f: Download complete 05:52:53 33b1e0a273af: Verifying Checksum 05:52:53 33b1e0a273af: Download complete 05:52:53 5d3b04190fa2: Download complete 05:52:53 ec43610c2a17: Verifying Checksum 05:52:53 ec43610c2a17: Download complete 05:52:53 5eb5b503b376: Verifying Checksum 05:52:53 5eb5b503b376: Download complete 05:52:54 2f39f015ded8: Download complete 05:52:54 5eb5b503b376: Pull complete 05:52:55 5c69ac0246d0: Pull complete 05:52:55 ec43610c2a17: Pull complete 05:52:55 3a2ae6a8a46f: Pull complete 05:52:55 33b1e0a273af: Pull complete 05:52:55 5d3b04190fa2: Pull complete 05:53:00 2f39f015ded8: Pull complete 05:53:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:00 prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container 05:53:00 $ 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-326 -v /w/workspace/gexfoundry_device-snmp-go_PR-326:/w/workspace/gexfoundry_device-snmp-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:05 $ docker top e2d5e14856e629d715ed84c9b59a4f22958805ca4771277eeaf85e8969ad9aae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:05 ---> job-cost.sh 05:53:05 lf-activate-venv: SKIPPING 05:53:05 INFO: No Stack... 05:53:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:06 INFO: Archiving Costs [Pipeline] sh 05:53:06 + cat /w/workspace/gexfoundry_device-snmp-go_PR-326/archives/cost.csv 05:53:06 + cut -d, -f6 [Pipeline] lock 05:53:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] 05:53:06 Resource [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] did not exist. Created. 05:53:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:07 + echo total: 0.2199999988079071 [Pipeline] stash 05:53:07 Stashed 1 file(s) [Pipeline] } 05:53:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:07 $ docker stop --time=1 e2d5e14856e629d715ed84c9b59a4f22958805ca4771277eeaf85e8969ad9aae 05:53:08 $ docker rm -f --volumes e2d5e14856e629d715ed84c9b59a4f22958805ca4771277eeaf85e8969ad9aae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:59:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12530 in /w/workspace/gexfoundry_device-snmp-go_PR-326 [Pipeline] { [Pipeline] ws 05:59:41 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:59:41 Selected Git installation does not exist. Using Default 05:59:41 The recommended git tool is: NONE 05:59:47 using credential edgex-jenkins-ssh 05:59:47 Cloning the remote Git repository 05:59:47 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:59:47 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:59:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:59:47 > git --version # timeout=10 05:59:47 > git --version # 'git version 2.25.1' 05:59:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:49 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:59:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:50 Merging remotes/origin/main commit 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 into PR head commit d7a19294ca9cf70081960781beb19d62bbca32c9 05:59:51 Merge succeeded, producing d7a19294ca9cf70081960781beb19d62bbca32c9 05:59:51 Checking out Revision d7a19294ca9cf70081960781beb19d62bbca32c9 (PR-326) 05:59:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:59:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:59:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:59:50 > git config core.sparsecheckout # timeout=10 05:59:50 > git checkout -f d7a19294ca9cf70081960781beb19d62bbca32c9 # timeout=10 05:59:51 > git remote # timeout=10 05:59:51 > git config --get remote.origin.url # timeout=10 05:59:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:51 > git merge 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 # timeout=10 05:59:51 > git rev-parse HEAD^{commit} # timeout=10 05:59:51 > git config core.sparsecheckout # timeout=10 05:59:51 > git checkout -f d7a19294ca9cf70081960781beb19d62bbca32c9 # timeout=10 05:59:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:59:51 > git --version # timeout=10 05:59:51 > git --version # 'git version 2.25.1' 05:59:51 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:59:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:59:53 Dload Upload Total Spent Left Speed 05:59:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 05:59:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:59:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:59:54 + sudo tee /etc/docker/daemon.new 05:59:54 { 05:59:54 "registry-mirrors": [ 05:59:54 "https://nexus3.edgexfoundry.org:10001" 05:59:54 ], 05:59:54 "bip": "10.250.0.254/24", 05:59:54 "hosts": [ 05:59:54 "tcp://0.0.0.0:5555", 05:59:54 "unix:///var/run/docker.sock" 05:59:54 ], 05:59:54 "mtu": 1458, 05:59:54 "selinux-enabled": true, 05:59:54 "seccomp-profile": "/etc/docker/seccomp.json" 05:59:54 } [Pipeline] sh 05:59:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:59:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:15 provisioning config files... 06:00:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3980891942454186668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:15 ---> docker-login.sh 06:00:15 nexus3.edgexfoundry.org:10001 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:17 Configure a credential helper to remove this warning. See 06:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:17 06:00:17 Login Succeeded 06:00:17 nexus3.edgexfoundry.org:10002 06:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:17 Configure a credential helper to remove this warning. See 06:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:17 06:00:17 Login Succeeded 06:00:17 nexus3.edgexfoundry.org:10003 06:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:17 Configure a credential helper to remove this warning. See 06:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:17 06:00:17 Login Succeeded 06:00:17 nexus3.edgexfoundry.org:10004 06:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:18 Configure a credential helper to remove this warning. See 06:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:18 06:00:18 Login Succeeded 06:00:18 docker.io 06:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:18 Configure a credential helper to remove this warning. See 06:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:18 06:00:18 Login Succeeded 06:00:18 ---> docker-login.sh ends [Pipeline] } 06:00:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:19 ========================================================= 06:00:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:00:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:19 + 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 . 06:00:19 Sending build context to Docker daemon 2.951MB 06:00:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:00:19 Step 2/12 : FROM ${BASE} AS builder 06:00:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:00:20 9fda8d8052c6: Pulling fs layer 06:00:20 5d54e960e981: Pulling fs layer 06:00:20 c4a7e357bf2a: Pulling fs layer 06:00:20 f0e02332f6b5: Pulling fs layer 06:00:20 cefa15bbcfad: Pulling fs layer 06:00:20 17808c966233: Pulling fs layer 06:00:20 f4c1fc716caa: Pulling fs layer 06:00:20 cefa15bbcfad: Waiting 06:00:20 17808c966233: Waiting 06:00:20 f4c1fc716caa: Waiting 06:00:20 f0e02332f6b5: Waiting 06:00:20 5d54e960e981: Verifying Checksum 06:00:20 5d54e960e981: Download complete 06:00:20 f0e02332f6b5: Verifying Checksum 06:00:20 f0e02332f6b5: Download complete 06:00:20 cefa15bbcfad: Verifying Checksum 06:00:20 cefa15bbcfad: Download complete 06:00:20 9fda8d8052c6: Download complete 06:00:20 f4c1fc716caa: Verifying Checksum 06:00:20 f4c1fc716caa: Download complete 06:00:21 9fda8d8052c6: Pull complete 06:00:21 5d54e960e981: Pull complete 06:00:22 c4a7e357bf2a: Verifying Checksum 06:00:22 c4a7e357bf2a: Download complete 06:00:23 17808c966233: Verifying Checksum 06:00:23 17808c966233: Download complete 06:00:35 c4a7e357bf2a: Pull complete 06:00:35 f0e02332f6b5: Pull complete 06:00:35 cefa15bbcfad: Pull complete 06:00:44 17808c966233: Pull complete 06:00:46 f4c1fc716caa: Pull complete 06:00:46 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 06:00:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:00:46 ---> ea914061e18c 06:00:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:00:47 ---> Running in 40aee452463c 06:00:47 Removing intermediate container 40aee452463c 06:00:47 ---> b4717d47199c 06:00:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:47 ---> Running in 6ea92c75fcf9 06:00:47 Removing intermediate container 6ea92c75fcf9 06:00:47 ---> 411af54233bd 06:00:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:00:47 ---> Running in 66f88fde190b 06:00:48 Removing intermediate container 66f88fde190b 06:00:48 ---> b92aa5788bd8 06:00:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:00:48 ---> Running in a6439f079778 06:00:48 Removing intermediate container a6439f079778 06:00:48 ---> db6de7225e73 06:00:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:48 ---> Running in f62db2021465 06:00:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:00:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:00:52 (1/4) Installing openssh-keygen (9.3_p2-r0) 06:00:52 (2/4) Installing libedit (20221030.3.1-r1) 06:00:52 (3/4) Installing openssh-client-common (9.3_p2-r0) 06:00:52 (4/4) Installing openssh-client-default (9.3_p2-r0) 06:00:52 Executing busybox-1.36.1-r2.trigger 06:00:52 OK: 270 MiB in 56 packages 06:00:53 Removing intermediate container f62db2021465 06:00:53 ---> 8b15ac6f6ac0 06:00:53 Step 8/12 : WORKDIR /device-snmp-go 06:00:53 ---> Running in 6e872b994e77 06:00:53 Removing intermediate container 6e872b994e77 06:00:53 ---> c8c52cf7ae33 06:00:53 Step 9/12 : COPY go.mod vendor* ./ 06:00:54 ---> f097537230cd 06:00:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:54 ---> Running in a9008505ed71 06:02:46 Removing intermediate container a9008505ed71 06:02:46 ---> 5f28c3a7e566 06:02:46 Step 11/12 : COPY . . 06:02:46 ---> 5a0875d04d25 06:02:46 Step 12/12 : RUN ${MAKE} 06:02:46 ---> Running in 46b9acf6fda6 06:02:46 noop 06:02:46 Removing intermediate container 46b9acf6fda6 06:02:46 ---> 250e6e41c4cf 06:02:46 Successfully built 250e6e41c4cf 06:02:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:46 + docker inspect -f . ci-base-image-arm64 06:02:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:47 prd-ubuntu20.04-docker-arm64-4c-16g-12530 does not seem to be running inside a container 06:02:47 $ 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 ******** ci-base-image-arm64 cat 06:02:48 $ docker top 7bc8d3664c6a4ab458dfb7821765cbba9ab24d8e83e76932b9cad6e608841b29 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:49 + go version 06:02:49 go version go1.21.0 linux/arm64 [Pipeline] } 06:02:49 $ docker stop --time=1 7bc8d3664c6a4ab458dfb7821765cbba9ab24d8e83e76932b9cad6e608841b29 06:02:51 $ docker rm -f --volumes 7bc8d3664c6a4ab458dfb7821765cbba9ab24d8e83e76932b9cad6e608841b29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:51 + docker inspect -f . ci-base-image-arm64 06:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:52 prd-ubuntu20.04-docker-arm64-4c-16g-12530 does not seem to be running inside a container 06:02:52 $ 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 ******** ci-base-image-arm64 cat 06:02:53 $ docker top baa8c92b3239b647360442b143a471eb36cb088bfd9fa996e13da16e815fdbac -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:54 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:02:55 + make test 06:02:55 go test ./... -coverprofile=coverage.out 06:03:01 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:04:53 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:04:53 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.075s coverage: 0.0% of statements 06:04:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:04:53 go vet ./... 06:05:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:15 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:15 $ docker stop --time=1 baa8c92b3239b647360442b143a471eb36cb088bfd9fa996e13da16e815fdbac 06:05:17 $ docker rm -f --volumes baa8c92b3239b647360442b143a471eb36cb088bfd9fa996e13da16e815fdbac [Pipeline] // withDockerContainer [Pipeline] sh 06:05:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:18 Warning: overwriting stash ‘coverage-report’ 06:05:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:20 + ls -al . 06:05:20 total 168 06:05:20 drwxrwxr-x 7 jenkins jenkins 4096 Oct 27 06:02 . 06:05:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 05:59 .. 06:05:20 -rw-rw-r-- 1 jenkins jenkins 6 Oct 27 05:59 .dockerignore 06:05:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:59 .git 06:05:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:59 .github 06:05:20 -rw-rw-r-- 1 jenkins jenkins 263 Oct 27 05:59 .gitignore 06:05:20 -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 05:59 .golangci.yml 06:05:20 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 27 05:59 Attribution.txt 06:05:20 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 27 05:59 CHANGELOG.md 06:05:20 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 27 05:59 Dockerfile 06:05:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 05:59 GOVERNANCE.md 06:05:20 -rw-rw-r-- 1 jenkins jenkins 656 Oct 27 05:59 Jenkinsfile 06:05:20 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 05:59 LICENSE 06:05:20 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 27 05:59 Makefile 06:05:20 -rw-rw-r-- 1 jenkins jenkins 620 Oct 27 05:59 OWNERS.md 06:05:20 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 27 05:59 README.md 06:05:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 05:50 VERSION 06:05:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:59 bin 06:05:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:59 cmd 06:05:20 -rw-r--r-- 1 jenkins jenkins 8837 Oct 27 06:04 coverage.out 06:05:20 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 27 05:59 go.mod 06:05:20 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 27 05:59 go.sum 06:05:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:59 internal 06:05:20 -rw-rw-r-- 1 jenkins jenkins 228 Oct 27 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:20 + 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=d7a19294ca9cf70081960781beb19d62bbca32c9 --label arch=arm64 --label version=0.0.0 . 06:05:20 Sending build context to Docker daemon 2.961MB 06:05:20 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:05:20 Step 2/24 : FROM ${BASE} AS builder 06:05:20 ---> 250e6e41c4cf 06:05:20 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:05:20 ---> Running in 28949762c50f 06:05:21 Removing intermediate container 28949762c50f 06:05:21 ---> 45ccac9a9e10 06:05:21 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:21 ---> Running in fcc386566765 06:05:21 Removing intermediate container fcc386566765 06:05:21 ---> a1fbcdd735a0 06:05:21 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:05:21 ---> Running in 3e72eaaa6b65 06:05:22 Removing intermediate container 3e72eaaa6b65 06:05:22 ---> 4559ec406af4 06:05:22 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:05:22 ---> Running in b795364cc4f2 06:05:22 Removing intermediate container b795364cc4f2 06:05:22 ---> c344f59f4871 06:05:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:22 ---> Running in 1d353f4d3376 06:05:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:05:25 OK: 270 MiB in 56 packages 06:05:26 Removing intermediate container 1d353f4d3376 06:05:26 ---> c597c57d655f 06:05:26 Step 8/24 : WORKDIR /device-snmp-go 06:05:26 ---> Running in 637b6ab5165e 06:05:26 Removing intermediate container 637b6ab5165e 06:05:26 ---> f08db512e464 06:05:26 Step 9/24 : COPY go.mod vendor* ./ 06:05:27 ---> d53d80373548 06:05:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:27 ---> Running in 86e6e0331b6b 06:05:30 Removing intermediate container 86e6e0331b6b 06:05:30 ---> eb71f81b1860 06:05:30 Step 11/24 : COPY . . 06:05:31 ---> 756c7d3ab22f 06:05:31 Step 12/24 : RUN ${MAKE} 06:05:31 ---> Running in bb0d4de93fdb 06:05:32 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 06:07:30 Removing intermediate container bb0d4de93fdb 06:07:30 ---> 1eb80fbbb052 06:07:30 Step 13/24 : FROM alpine:3.18 06:07:30 3.18: Pulling from library/alpine 06:07:30 579b34f0a95b: Pulling fs layer 06:07:30 579b34f0a95b: Verifying Checksum 06:07:30 579b34f0a95b: Download complete 06:07:30 579b34f0a95b: Pull complete 06:07:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 06:07:30 Status: Downloaded newer image for alpine:3.18 06:07:30 ---> 3cc203321400 06:07:30 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:07:30 ---> Running in 0638c09798e7 06:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:07:30 (1/1) Installing dumb-init (1.2.5-r2) 06:07:30 Executing busybox-1.36.1-r2.trigger 06:07:30 OK: 8 MiB in 16 packages 06:07:30 Removing intermediate container 0638c09798e7 06:07:30 ---> f6b9ee15a4a1 06:07:30 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:07:30 ---> 1c6c049f95c7 06:07:30 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:07:30 ---> 1f4f6f2d79dc 06:07:30 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:07:30 ---> 9237049ec49e 06:07:30 Step 18/24 : EXPOSE 59993 06:07:30 ---> Running in a5d28c85acc0 06:07:30 Removing intermediate container a5d28c85acc0 06:07:30 ---> 199103417a6f 06:07:30 Step 19/24 : EXPOSE 161 06:07:30 ---> Running in 2c117693ff55 06:07:30 Removing intermediate container 2c117693ff55 06:07:30 ---> 0a1691c74645 06:07:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:07:30 ---> Running in ed1f30ebffa9 06:07:31 Removing intermediate container ed1f30ebffa9 06:07:31 ---> 68bd8b1640d2 06:07:31 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:07:31 ---> Running in d0bb14afe875 06:07:31 Removing intermediate container d0bb14afe875 06:07:31 ---> 4bee963a5f81 06:07:31 Step 22/24 : LABEL arch=arm64 06:07:31 ---> Running in c3f92ffc66fa 06:07:31 Removing intermediate container c3f92ffc66fa 06:07:31 ---> d841ab180478 06:07:31 Step 23/24 : LABEL git_sha=d7a19294ca9cf70081960781beb19d62bbca32c9 06:07:32 ---> Running in 3643f1d7f37d 06:07:32 Removing intermediate container 3643f1d7f37d 06:07:32 ---> 695aa08eac32 06:07:32 Step 24/24 : LABEL version=0.0.0 06:07:32 ---> Running in f71a6b10642c 06:07:32 Removing intermediate container f71a6b10642c 06:07:32 ---> b6954f8ee2b6 06:07:32 [Warning] One or more build-args [ARCH] were not consumed 06:07:32 Successfully built b6954f8ee2b6 06:07:32 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 06:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:33 06:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:35 arm64: Pulling from edgex-lftools-log-publisher 06:07:35 8998bd30e6a1: Pulling fs layer 06:07:35 04944245beec: Pulling fs layer 06:07:35 699f458cf7ca: Pulling fs layer 06:07:35 765212b225bb: Pulling fs layer 06:07:35 f23df028b6ca: Pulling fs layer 06:07:35 d65c8cfc05b1: Pulling fs layer 06:07:35 2437ff75d9bd: Pulling fs layer 06:07:35 765212b225bb: Waiting 06:07:35 f23df028b6ca: Waiting 06:07:35 d65c8cfc05b1: Waiting 06:07:35 2437ff75d9bd: Waiting 06:07:35 04944245beec: Verifying Checksum 06:07:35 04944245beec: Download complete 06:07:35 765212b225bb: Download complete 06:07:35 f23df028b6ca: Verifying Checksum 06:07:35 f23df028b6ca: Download complete 06:07:35 d65c8cfc05b1: Verifying Checksum 06:07:35 d65c8cfc05b1: Download complete 06:07:35 699f458cf7ca: Verifying Checksum 06:07:35 699f458cf7ca: Download complete 06:07:36 8998bd30e6a1: Verifying Checksum 06:07:36 8998bd30e6a1: Download complete 06:07:38 2437ff75d9bd: Download complete 06:07:41 8998bd30e6a1: Pull complete 06:07:41 04944245beec: Pull complete 06:07:43 699f458cf7ca: Pull complete 06:07:43 765212b225bb: Pull complete 06:07:44 f23df028b6ca: Pull complete 06:07:44 d65c8cfc05b1: Pull complete 06:08:04 2437ff75d9bd: Pull complete 06:08:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:05 prd-ubuntu20.04-docker-arm64-4c-16g-12530 does not seem to be running inside a container 06:08:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:08:08 $ docker top 6c2c6a260c69ad4fb2adc1f28f5c9db2916de47d763cd8221cd4a08b468db7d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:08 ---> job-cost.sh 06:08:08 lf-activate-venv: SKIPPING 06:08:08 INFO: No Stack... 06:08:09 INFO: Retrieving Pricing Info for: v3-standard-4 06:08:10 INFO: Archiving Costs [Pipeline] sh 06:08:10 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:08:10 + cut -d, -f6 [Pipeline] lock 06:08:10 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] 06:08:10 Resource [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] did not exist. Created. 06:08:10 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:11 /w/workspace/device-snmp-go/1@tmp/durable-c7999385/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:08:12 + echo total: 0.10999999940395355 [Pipeline] stash 06:08:12 Warning: overwriting stash ‘stack-cost’ 06:08:12 Stashed 1 file(s) [Pipeline] } 06:08:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:08:12 $ docker stop --time=1 6c2c6a260c69ad4fb2adc1f28f5c9db2916de47d763cd8221cd4a08b468db7d9 06:08:16 $ docker rm -f --volumes 6c2c6a260c69ad4fb2adc1f28f5c9db2916de47d763cd8221cd4a08b468db7d9 [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 06:08:17 provisioning config files... 06:08:17 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/config18028742393121136338tmp [Pipeline] { [Pipeline] sh 06:08:17 + set +x 06:08:17 + bash -s -- 06:08:17 + curl -s https://codecov.io/bash 06:08:18 06:08:18 _____ _ 06:08:18 / ____| | | 06:08:18 | | ___ __| | ___ ___ _____ __ 06:08:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:08:18 | |___| (_) | (_| | __/ (_| (_) \ V / 06:08:18 \_____\___/ \__,_|\___|\___\___/ \_/ 06:08:18 Bash-1.0.6 06:08:18 06:08:18 06:08:18 ==> git version 2.25.1 found 06:08:18 ==> 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 06:08:18 Release-Date: 2020-01-08 06:08:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:08:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:08:18 ==> Jenkins CI detected. 06:08:18 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-326 06:08:18 project root: . 06:08:18 --> token set from env 06:08:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:08:18 ==> Running gcov in . (disable via -X gcov) 06:08:18 ==> Python coveragepy not found 06:08:18 ==> Searching for coverage reports in: 06:08:18 + . 06:08:18 -> Found 1 reports 06:08:18 ==> Detecting git/mercurial file structure 06:08:18 ==> Reading reports 06:08:18 + ./coverage.out bytes=8837 06:08:18 ==> Appending adjustments 06:08:18 https://docs.codecov.io/docs/fixing-reports 06:08:18 + Found adjustments 06:08:18 ==> Gzipping contents 06:08:18 4.0K /tmp/codecov.dTRsRZ.gz 06:08:18 ==> Uploading reports 06:08:18 url: https://codecov.io 06:08:18 query: branch=PR-326&commit=d7a19294ca9cf70081960781beb19d62bbca32c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=326&job=&cmd_args= 06:08:18 -> Pinging Codecov 06:08:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-326&commit=d7a19294ca9cf70081960781beb19d62bbca32c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=326&job=&cmd_args= 06:08:18 -> Uploading to 06:08:18 https://storage.googleapis.com/codecov/v4/raw/2023-10-27/6C56EA5C29638FB4528AC87E60AF5AE0/d7a19294ca9cf70081960781beb19d62bbca32c9/b6d0b6a8-8bb1-4e1b-a072-6d389e7eeec7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T060818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fad1d8df18d1d4b11bfc3255f5a76aa9037a6b2b6728e002b4804e011b2a1b91 06:08:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:18 Dload Upload Total Spent Left Speed 06:08:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 4570 --:--:-- --:--:-- --:--:-- 4555 100 1435 0 0 100 1435 0 4570 --:--:-- --:--:-- --:--:-- 4555 06:08:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d7a19294ca9cf70081960781beb19d62bbca32c9 [Pipeline] } 06:08:18 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 06:08:20 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-326/archives ] 06:08:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-326/archives 06:08:20 total 16 06:08:20 drwxr-xr-x 3 root root 4096 Oct 27 05:53 . 06:08:20 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 05:53 .. 06:08:20 drwxr-xr-x 2 root root 4096 Oct 27 05:53 cost 06:08:20 -rw-r--r-- 1 root root 86 Oct 27 05:53 cost.csv 06:08:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-326/archives 06:08:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-326/archives 06:08:20 total 16 06:08:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 05:53 . 06:08:20 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 05:53 .. 06:08:20 drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 05:53 cost 06:08:20 -rw-r--r-- 1 jenkins jenkins 86 Oct 27 05:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:08:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:21 ---> package-listing.sh 06:08:21 ++ facter osfamily 06:08:21 ++ tr '[:upper:]' '[:lower:]' 06:08:22 + OS_FAMILY=debian 06:08:22 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-326 06:08:22 + START_PACKAGES=/tmp/packages_start.txt 06:08:22 + END_PACKAGES=/tmp/packages_end.txt 06:08:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:22 + PACKAGES=/tmp/packages_start.txt 06:08:22 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-326 ']' 06:08:22 + PACKAGES=/tmp/packages_end.txt 06:08:22 + case "${OS_FAMILY}" in 06:08:22 + dpkg -l 06:08:22 + grep '^ii' 06:08:22 + '[' -f /tmp/packages_start.txt ']' 06:08:22 + '[' -f /tmp/packages_end.txt ']' 06:08:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:22 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-326 ']' 06:08:22 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-326/archives/ 06:08:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-326/archives/ [Pipeline] echo 06:08:22 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-326/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:08:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:23 prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container 06:08:23 $ 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-326/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-326 -v /w/workspace/gexfoundry_device-snmp-go_PR-326:/w/workspace/gexfoundry_device-snmp-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:08:23 $ docker top bd0dce2a7391577e8fd82d51a0854c734a45cd2144f7a80fe0c6fc615e03e305 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:23 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:24 + mkdir -p /var/log/sysstat [Pipeline] sh 06:08:24 + ls /var/log/sa-host 06:08:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:24 provisioning config files... 06:08:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-326@tmp/config13285150506738585363tmp [Pipeline] { [Pipeline] echo 06:08:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:24 ---> create-netrc.sh [Pipeline] } 06:08:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:08:25 ---> python-tools-install.sh [Pipeline] echo 06:08:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:25 ---> sudo-logs.sh 06:08:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:08:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:26 ---> job-cost.sh 06:08:26 lf-activate-venv: SKIPPING 06:08:26 DEBUG: total: 0.2199999988079071 06:08:26 INFO: Retrieving Stack Cost... 06:08:26 INFO: Retrieving Pricing Info for: v3-standard-8 06:08:27 INFO: Archiving Costs [Pipeline] echo 06:08:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:08:27 ---> logs-deploy.sh 06:08:27 lf-activate-venv: SKIPPING 06:08:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-326/1 06:08:27 INFO: archiving workspace using pattern(s): 06:08:28 Archives upload complete. 06:08:28 INFO: archiving logs to Nexus