Pull request #348 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 2f3cfb1631bafeca8ea8b61e9a8b85961850906e+a5a8eecad0964d203a89aaaae76bac199dfc367d (abb467c987b9ce7a93c5e54e2f8c3cbe93238e33) 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-ssh1054662918790564119.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17814048363015794322.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 590556114a56c6d90cc8043840e039c2f74196dc 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-348/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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3386235633328668738.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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16480441605916792238.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh15144695946878245990.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-348/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-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15481867959101531151.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1020 in /w/workspace/gexfoundry_device-snmp-go_PR-348 [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-348 # 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/348/head:refs/remotes/origin/PR-348 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit a5a8eecad0964d203a89aaaae76bac199dfc367d into PR head commit 2f3cfb1631bafeca8ea8b61e9a8b85961850906e Merge succeeded, producing 2f3cfb1631bafeca8ea8b61e9a8b85961850906e Checking out Revision 2f3cfb1631bafeca8ea8b61e9a8b85961850906e (PR-348) Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 2f3cfb1631bafeca8ea8b61e9a8b85961850906e # 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 a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f3cfb1631bafeca8ea8b61e9a8b85961850906e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-29T08:16:34.681Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-29T08:16:34.894Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-29T08:16:35.016Z] ========================================================= [2024-05-29T08:16:35.016Z] EdgeX Global Pipelines Version Info [2024-05-29T08:16:35.016Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:16:35.789Z] ------------------- [2024-05-29T08:16:35.789Z] stable info: [2024-05-29T08:16:35.789Z] ------------------- [2024-05-29T08:16:35.789Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T08:16:35.789Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-29T08:16:35.789Z] Message: update stable to v1.0.260 [2024-05-29T08:16:36.361Z] ------------------- [2024-05-29T08:16:36.361Z] experimental info: [2024-05-29T08:16:36.361Z] ------------------- [2024-05-29T08:16:36.361Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T08:16:36.361Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-29T08:16:36.361Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-29T08:16:36.564Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2024-05-29T08:16:36.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2024-05-29T08:16:36.670Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-29T08:16:36.724Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-29T08:16:36.783Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-29T08:16:36.846Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-29T08:16:36.907Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-29T08:16:36.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-29T08:16:37.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-29T08:16:37.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-29T08:16:37.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-29T08:16:37.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2024-05-29T08:16:37.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-29T08:16:37.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-29T08:16:37.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T08:16:37.415Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T08:16:37.489Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T08:16:37.551Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T08:16:37.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-29T08:16:37.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-29T08:16:37.727Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-29T08:16:37.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-29T08:16:37.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-29T08:16:37.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-29T08:16:37.963Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-29T08:16:38.024Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-29T08:16:38.095Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-29T08:16:38.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo [2024-05-29T08:16:38.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo [2024-05-29T08:16:38.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo [2024-05-29T08:16:38.327Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f3cfb1631bafeca8ea8b61e9a8b85961850906e [Pipeline] echo [2024-05-29T08:16:38.381Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f3cfb1 [Pipeline] echo [2024-05-29T08:16:38.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T08:16:38.573Z] provisioning config files... [2024-05-29T08:16:38.588Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/config3238091490942984950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:16:38.993Z] ---> ****-login.sh [2024-05-29T08:16:38.994Z] nexus3.edgexfoundry.org:10001 [2024-05-29T08:16:39.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:16:39.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:16:39.253Z] Configure a credential helper to remove this warning. See [2024-05-29T08:16:39.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:16:39.253Z] [2024-05-29T08:16:39.253Z] Login Succeeded [2024-05-29T08:16:39.253Z] nexus3.edgexfoundry.org:10002 [2024-05-29T08:16:39.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:16:39.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:16:39.253Z] Configure a credential helper to remove this warning. See [2024-05-29T08:16:39.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:16:39.254Z] [2024-05-29T08:16:39.254Z] Login Succeeded [2024-05-29T08:16:39.254Z] nexus3.edgexfoundry.org:10003 [2024-05-29T08:16:39.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:16:39.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:16:39.514Z] Configure a credential helper to remove this warning. See [2024-05-29T08:16:39.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:16:39.514Z] [2024-05-29T08:16:39.514Z] Login Succeeded [2024-05-29T08:16:39.514Z] nexus3.edgexfoundry.org:10004 [2024-05-29T08:16:39.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:16:39.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:16:39.514Z] Configure a credential helper to remove this warning. See [2024-05-29T08:16:39.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:16:39.514Z] [2024-05-29T08:16:39.514Z] Login Succeeded [2024-05-29T08:16:39.514Z] ****.io [2024-05-29T08:16:39.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:16:39.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:16:39.775Z] Configure a credential helper to remove this warning. See [2024-05-29T08:16:39.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:16:39.775Z] [2024-05-29T08:16:39.775Z] Login Succeeded [2024-05-29T08:16:39.775Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T08:16:39.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-29T08:16:40.465Z] + git rev-list -1 --merges 2f3cfb1631bafeca8ea8b61e9a8b85961850906e~1..2f3cfb1631bafeca8ea8b61e9a8b85961850906e [Pipeline] echo [2024-05-29T08:16:40.513Z] -----------> git rev-list -1 --merges 2f3cfb1631bafeca8ea8b61e9a8b85961850906e~1..2f3cfb1631bafeca8ea8b61e9a8b85961850906e 2f3cfb1631bafeca8ea8b61e9a8b85961850906e [false] [Pipeline] sh [2024-05-29T08:16:40.833Z] + git log --format=format:%s -1 2f3cfb1631bafeca8ea8b61e9a8b85961850906e [Pipeline] echo [2024-05-29T08:16:40.875Z] ========================================================= [2024-05-29T08:16:40.875Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-29T08:16:40.875Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T08:16:41.336Z] + git log --format=format:%s -1 2f3cfb1631bafeca8ea8b61e9a8b85961850906e [Pipeline] echo [2024-05-29T08:16:41.378Z] [semverPrep] GIT_COMMIT: 2f3cfb1631bafeca8ea8b61e9a8b85961850906e, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo [2024-05-29T08:16:41.421Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-29T08:16:41.824Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T08:16:41.824Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-29T08:16:41.824Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-29T08:16:41.824Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-29T08:16:41.824Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-29T08:16:41.824Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-29T08:16:41.824Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:16:42.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T08:16:42.274Z] [2024-05-29T08:16:42.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:16:42.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T08:16:42.662Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-29T08:16:42.662Z] b85a868b505f: Pulling fs layer [2024-05-29T08:16:42.662Z] e2be974225ed: Pulling fs layer [2024-05-29T08:16:42.662Z] 339a4e72a1f5: Pulling fs layer [2024-05-29T08:16:42.662Z] 988bab9f4d93: Pulling fs layer [2024-05-29T08:16:42.662Z] 1469e6f7b9e6: Pulling fs layer [2024-05-29T08:16:42.662Z] eaf3925da568: Pulling fs layer [2024-05-29T08:16:42.662Z] bab4dde63d76: Pulling fs layer [2024-05-29T08:16:42.662Z] bde34c3a00c8: Pulling fs layer [2024-05-29T08:16:42.662Z] b352a97aabf1: Pulling fs layer [2024-05-29T08:16:42.662Z] 1469e6f7b9e6: Waiting [2024-05-29T08:16:42.662Z] 4872d77fe225: Pulling fs layer [2024-05-29T08:16:42.662Z] bab4dde63d76: Waiting [2024-05-29T08:16:42.662Z] 5851b861e8e6: Pulling fs layer [2024-05-29T08:16:42.662Z] bde34c3a00c8: Waiting [2024-05-29T08:16:42.662Z] eaf3925da568: Waiting [2024-05-29T08:16:42.662Z] b352a97aabf1: Waiting [2024-05-29T08:16:42.662Z] 988bab9f4d93: Waiting [2024-05-29T08:16:42.662Z] 4872d77fe225: Waiting [2024-05-29T08:16:42.662Z] 5851b861e8e6: Waiting [2024-05-29T08:16:42.662Z] e2be974225ed: Download complete [2024-05-29T08:16:42.662Z] 988bab9f4d93: Verifying Checksum [2024-05-29T08:16:42.662Z] 988bab9f4d93: Download complete [2024-05-29T08:16:42.662Z] 1469e6f7b9e6: Verifying Checksum [2024-05-29T08:16:42.662Z] 1469e6f7b9e6: Download complete [2024-05-29T08:16:42.921Z] eaf3925da568: Verifying Checksum [2024-05-29T08:16:42.921Z] eaf3925da568: Download complete [2024-05-29T08:16:42.921Z] 339a4e72a1f5: Verifying Checksum [2024-05-29T08:16:42.921Z] 339a4e72a1f5: Download complete [2024-05-29T08:16:42.921Z] bde34c3a00c8: Verifying Checksum [2024-05-29T08:16:42.921Z] bde34c3a00c8: Download complete [2024-05-29T08:16:42.921Z] b352a97aabf1: Download complete [2024-05-29T08:16:42.921Z] 4872d77fe225: Download complete [2024-05-29T08:16:42.921Z] 5851b861e8e6: Verifying Checksum [2024-05-29T08:16:42.921Z] 5851b861e8e6: Download complete [2024-05-29T08:16:42.921Z] b85a868b505f: Verifying Checksum [2024-05-29T08:16:42.921Z] b85a868b505f: Download complete [2024-05-29T08:16:43.179Z] bab4dde63d76: Download complete [2024-05-29T08:16:44.117Z] b85a868b505f: Pull complete [2024-05-29T08:16:44.117Z] e2be974225ed: Pull complete [2024-05-29T08:16:44.687Z] 339a4e72a1f5: Pull complete [2024-05-29T08:16:44.687Z] 988bab9f4d93: Pull complete [2024-05-29T08:16:44.948Z] 1469e6f7b9e6: Pull complete [2024-05-29T08:16:45.207Z] eaf3925da568: Pull complete [2024-05-29T08:16:47.179Z] bab4dde63d76: Pull complete [2024-05-29T08:16:47.179Z] bde34c3a00c8: Pull complete [2024-05-29T08:16:47.179Z] b352a97aabf1: Pull complete [2024-05-29T08:16:47.179Z] 4872d77fe225: Pull complete [2024-05-29T08:16:47.179Z] 5851b861e8e6: Pull complete [2024-05-29T08:16:47.179Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-29T08:16:47.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T08:16:47.179Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:16:47.507Z] prd-ubuntu20.04-docker-8c-8g-1020 does not seem to be running inside a container [2024-05-29T08:16:47.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-348 -v /w/workspace/gexfoundry_device-snmp-go_PR-348:/w/workspace/gexfoundry_device-snmp-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-348@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-devops/py-git-semver:0.1.4 cat [2024-05-29T08:16:50.267Z] $ docker top 957ba05b4d96052f516edc37e74b09310908c938b1c660ccbbed74ba81ce16a6 -eo pid,comm [2024-05-29T08:16:50.330Z] 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). [2024-05-29T08:16:50.330Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T08:16:50.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T08:16:50.500Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T08:16:50.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T08:16:50.615Z] $ docker exec 957ba05b4d96052f516edc37e74b09310908c938b1c660ccbbed74ba81ce16a6 ssh-agent [2024-05-29T08:16:50.718Z] SSH_AUTH_SOCK=/tmp/ssh-C5iPy3dcZQxO/agent.31 [2024-05-29T08:16:50.718Z] SSH_AGENT_PID=37 [2024-05-29T08:16:50.724Z] Running ssh-add (command line suppressed) [2024-05-29T08:16:50.822Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/private_key_10731432520329908481.key (/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/private_key_10731432520329908481.key) [2024-05-29T08:16:50.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T08:16:51.194Z] + git tag --points-at HEAD [Pipeline] } [2024-05-29T08:16:51.215Z] $ docker exec --env ******** --env ******** 957ba05b4d96052f516edc37e74b09310908c938b1c660ccbbed74ba81ce16a6 ssh-agent -k [2024-05-29T08:16:51.308Z] unset SSH_AUTH_SOCK; [2024-05-29T08:16:51.309Z] unset SSH_AGENT_PID; [2024-05-29T08:16:51.309Z] echo Agent pid 37 killed; [2024-05-29T08:16:51.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-29T08:16:51.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T08:16:51.435Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T08:16:51.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T08:16:51.544Z] $ docker exec 957ba05b4d96052f516edc37e74b09310908c938b1c660ccbbed74ba81ce16a6 ssh-agent [2024-05-29T08:16:51.657Z] SSH_AUTH_SOCK=/tmp/ssh-KiaB4wIUn04I/agent.70 [2024-05-29T08:16:51.657Z] SSH_AGENT_PID=76 [2024-05-29T08:16:51.662Z] Running ssh-add (command line suppressed) [2024-05-29T08:16:51.755Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/private_key_16348540223775152693.key (/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/private_key_16348540223775152693.key) [2024-05-29T08:16:51.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T08:16:52.130Z] + git semver init [2024-05-29T08:16:52.391Z] 2024-05-29 08:16:52,305 [run_init] DEBUG init version:0.0.0 force:False [2024-05-29T08:16:52.391Z] 2024-05-29 08:16:52,306 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-348/.semver [2024-05-29T08:16:52.391Z] 2024-05-29 08:16:52,307 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-348/.semver [2024-05-29T08:16:52.391Z] 2024-05-29 08:16:52,307 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-348/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-348, universal_newlines=False, shell=None, istream=None) [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,190 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-348/.git/info/exclude [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,191 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-348/.semver/PR-348 with force:False [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,191 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-348/.semver/PR-348 [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,196 [execute] INFO git cat-file --batch-check [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,203 [execute] INFO git cat-file --batch [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T08:16:53.328Z] 2024-05-29 08:16:53,209 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-348/.semver/PR-348 [2024-05-29T08:16:53.328Z] 0.0.0 [Pipeline] } [2024-05-29T08:16:53.354Z] $ docker exec --env ******** --env ******** 957ba05b4d96052f516edc37e74b09310908c938b1c660ccbbed74ba81ce16a6 ssh-agent -k [2024-05-29T08:16:53.452Z] unset SSH_AUTH_SOCK; [2024-05-29T08:16:53.452Z] unset SSH_AGENT_PID; [2024-05-29T08:16:53.454Z] echo Agent pid 76 killed; [2024-05-29T08:16:54.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T08:16:59.315Z] + git semver [Pipeline] } [2024-05-29T08:16:59.353Z] $ docker stop --time=1 957ba05b4d96052f516edc37e74b09310908c938b1c660ccbbed74ba81ce16a6 [2024-05-29T08:17:00.649Z] $ docker rm -f --volumes 957ba05b4d96052f516edc37e74b09310908c938b1c660ccbbed74ba81ce16a6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T08:17:01.069Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-29T08:17:01.358Z] Stashed 1 file(s) [Pipeline] echo [2024-05-29T08:17:01.381Z] [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 [2024-05-29T08:17:02.123Z] provisioning config files... [2024-05-29T08:17:02.132Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/config11100055058482909271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:17:02.502Z] ---> ****-login.sh [2024-05-29T08:17:02.502Z] nexus3.edgexfoundry.org:10001 [2024-05-29T08:17:02.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:17:02.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:17:02.502Z] Configure a credential helper to remove this warning. See [2024-05-29T08:17:02.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:17:02.503Z] [2024-05-29T08:17:02.503Z] Login Succeeded [2024-05-29T08:17:02.503Z] nexus3.edgexfoundry.org:10002 [2024-05-29T08:17:02.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:17:02.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:17:02.503Z] Configure a credential helper to remove this warning. See [2024-05-29T08:17:02.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:17:02.503Z] [2024-05-29T08:17:02.503Z] Login Succeeded [2024-05-29T08:17:02.503Z] nexus3.edgexfoundry.org:10003 [2024-05-29T08:17:02.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:17:02.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:17:02.762Z] Configure a credential helper to remove this warning. See [2024-05-29T08:17:02.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:17:02.762Z] [2024-05-29T08:17:02.762Z] Login Succeeded [2024-05-29T08:17:02.762Z] nexus3.edgexfoundry.org:10004 [2024-05-29T08:17:02.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:17:02.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:17:02.762Z] Configure a credential helper to remove this warning. See [2024-05-29T08:17:02.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:17:02.762Z] [2024-05-29T08:17:02.762Z] Login Succeeded [2024-05-29T08:17:02.762Z] ****.io [2024-05-29T08:17:03.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:17:03.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:17:03.024Z] Configure a credential helper to remove this warning. See [2024-05-29T08:17:03.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:17:03.024Z] [2024-05-29T08:17:03.024Z] Login Succeeded [2024-05-29T08:17:03.024Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T08:17:03.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T08:17:03.299Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-29T08:17:03.626Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-29T08:17:03.626Z] + cut -d -f 2 [Pipeline] echo [2024-05-29T08:17:03.669Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T08:17:03.716Z] ========================================================= [2024-05-29T08:17:03.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-29T08:17:03.716Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:17:04.246Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-29T08:17:04.507Z] Sending build context to Docker daemon 45.26MB [2024-05-29T08:17:04.507Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:17:04.507Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T08:17:04.788Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-29T08:17:04.788Z] 619be1103602: Pulling fs layer [2024-05-29T08:17:04.788Z] 7862e08f4a3e: Pulling fs layer [2024-05-29T08:17:04.788Z] 5df492c9dc93: Pulling fs layer [2024-05-29T08:17:04.788Z] 7629e6793208: Pulling fs layer [2024-05-29T08:17:04.788Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T08:17:04.788Z] 8de7f028bff5: Pulling fs layer [2024-05-29T08:17:04.788Z] 44042ff1420b: Pulling fs layer [2024-05-29T08:17:04.788Z] 5cdaf54b7214: Pulling fs layer [2024-05-29T08:17:04.788Z] 38f3e5a9071a: Pulling fs layer [2024-05-29T08:17:04.788Z] 4f4fb700ef54: Waiting [2024-05-29T08:17:04.788Z] 7629e6793208: Waiting [2024-05-29T08:17:04.788Z] 8de7f028bff5: Waiting [2024-05-29T08:17:04.788Z] 44042ff1420b: Waiting [2024-05-29T08:17:04.788Z] 5cdaf54b7214: Waiting [2024-05-29T08:17:04.788Z] 38f3e5a9071a: Waiting [2024-05-29T08:17:04.788Z] 7862e08f4a3e: Verifying Checksum [2024-05-29T08:17:04.788Z] 7862e08f4a3e: Download complete [2024-05-29T08:17:04.788Z] 7629e6793208: Download complete [2024-05-29T08:17:04.788Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T08:17:04.788Z] 4f4fb700ef54: Download complete [2024-05-29T08:17:04.788Z] 619be1103602: Download complete [2024-05-29T08:17:04.788Z] 8de7f028bff5: Verifying Checksum [2024-05-29T08:17:04.788Z] 8de7f028bff5: Download complete [2024-05-29T08:17:04.788Z] 44042ff1420b: Verifying Checksum [2024-05-29T08:17:04.788Z] 44042ff1420b: Download complete [2024-05-29T08:17:05.047Z] 619be1103602: Pull complete [2024-05-29T08:17:05.047Z] 38f3e5a9071a: Download complete [2024-05-29T08:17:05.047Z] 7862e08f4a3e: Pull complete [2024-05-29T08:17:05.308Z] 5df492c9dc93: Verifying Checksum [2024-05-29T08:17:05.308Z] 5df492c9dc93: Download complete [2024-05-29T08:17:05.568Z] 5cdaf54b7214: Verifying Checksum [2024-05-29T08:17:05.568Z] 5cdaf54b7214: Download complete [2024-05-29T08:17:08.106Z] 5df492c9dc93: Pull complete [2024-05-29T08:17:08.366Z] 7629e6793208: Pull complete [2024-05-29T08:17:08.366Z] 4f4fb700ef54: Pull complete [2024-05-29T08:17:08.366Z] 8de7f028bff5: Pull complete [2024-05-29T08:17:08.366Z] 44042ff1420b: Pull complete [2024-05-29T08:17:10.900Z] 5cdaf54b7214: Pull complete [2024-05-29T08:17:11.161Z] 38f3e5a9071a: Pull complete [2024-05-29T08:17:11.161Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-29T08:17:11.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-29T08:17:11.161Z] ---> 60b93f829570 [2024-05-29T08:17:11.161Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:17:15.382Z] ---> Running in 656128e7cfd6 [2024-05-29T08:17:15.382Z] Removing intermediate container 656128e7cfd6 [2024-05-29T08:17:15.382Z] ---> e76e0395030f [2024-05-29T08:17:15.382Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:17:15.641Z] ---> Running in 3f71c453cade [2024-05-29T08:17:15.641Z] Removing intermediate container 3f71c453cade [2024-05-29T08:17:15.641Z] ---> 0b665b435b0d [2024-05-29T08:17:15.641Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T08:17:15.641Z] ---> Running in 9b97074cc032 [2024-05-29T08:17:15.641Z] Removing intermediate container 9b97074cc032 [2024-05-29T08:17:15.641Z] ---> ecdc034a7729 [2024-05-29T08:17:15.641Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:17:15.641Z] ---> Running in 3ee4ca875043 [2024-05-29T08:17:15.641Z] Removing intermediate container 3ee4ca875043 [2024-05-29T08:17:15.641Z] ---> 2744635dcf0c [2024-05-29T08:17:15.641Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:17:15.901Z] ---> Running in 46dd09bb6e76 [2024-05-29T08:17:16.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:17:16.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:17:16.419Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T08:17:16.419Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T08:17:16.419Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T08:17:16.419Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T08:17:16.419Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:17:16.419Z] OK: 268 MiB in 56 packages [2024-05-29T08:17:16.899Z] Still waiting to schedule task [2024-05-29T08:17:16.899Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-05-29T08:17:16.989Z] Removing intermediate container 46dd09bb6e76 [2024-05-29T08:17:16.989Z] ---> 8a171e98452d [2024-05-29T08:17:16.989Z] Step 8/12 : WORKDIR /device-snmp-go [2024-05-29T08:17:16.989Z] ---> Running in cf4fbfa5748c [2024-05-29T08:17:16.989Z] Removing intermediate container cf4fbfa5748c [2024-05-29T08:17:16.989Z] ---> 463382044791 [2024-05-29T08:17:16.989Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-29T08:17:18.895Z] ---> b3c1bad52264 [2024-05-29T08:17:18.895Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:17:18.895Z] ---> Running in 452cc833aaf5 [2024-05-29T08:17:40.998Z] Removing intermediate container 452cc833aaf5 [2024-05-29T08:17:40.998Z] ---> a670449d5af7 [2024-05-29T08:17:40.998Z] Step 11/12 : COPY . . [2024-05-29T08:17:42.918Z] ---> f46042c23fc3 [2024-05-29T08:17:42.918Z] Step 12/12 : RUN ${MAKE} [2024-05-29T08:17:42.918Z] ---> Running in 97e852fc1b4e [2024-05-29T08:17:43.178Z] noop [2024-05-29T08:17:43.439Z] Removing intermediate container 97e852fc1b4e [2024-05-29T08:17:43.439Z] ---> cdc9cca83750 [2024-05-29T08:17:43.439Z] Successfully built cdc9cca83750 [2024-05-29T08:17:43.439Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:17:43.944Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T08:17:43.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:17:44.113Z] prd-ubuntu20.04-docker-8c-8g-1020 does not seem to be running inside a container [2024-05-29T08:17:44.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-348 -v /w/workspace/gexfoundry_device-snmp-go_PR-348:/w/workspace/gexfoundry_device-snmp-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T08:17:44.487Z] $ docker top 2daaf4c7dc40ebd22e5155843b49601396aff9e51ef2c4c1fe0e833c038da0f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:17:44.905Z] + go version [2024-05-29T08:17:44.905Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-29T08:17:44.945Z] $ docker stop --time=1 2daaf4c7dc40ebd22e5155843b49601396aff9e51ef2c4c1fe0e833c038da0f6 [2024-05-29T08:17:46.239Z] $ docker rm -f --volumes 2daaf4c7dc40ebd22e5155843b49601396aff9e51ef2c4c1fe0e833c038da0f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:17:47.031Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T08:17:47.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:17:47.211Z] prd-ubuntu20.04-docker-8c-8g-1020 does not seem to be running inside a container [2024-05-29T08:17:47.240Z] $ 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-348 -v /w/workspace/gexfoundry_device-snmp-go_PR-348:/w/workspace/gexfoundry_device-snmp-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T08:17:47.597Z] $ docker top 08d33827f679b0f28c90969eb02381855e97362b7a073f46210d371b5b2b716a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:17:48.028Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-348 [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:17:48.416Z] + make test [2024-05-29T08:17:48.416Z] go test ./... -coverprofile=coverage.out [2024-05-29T08:17:49.813Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-05-29T08:18:02.011Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-05-29T08:18:02.011Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements [2024-05-29T08:18:07.286Z] go vet ./... [2024-05-29T08:18:10.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T08:18:10.566Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T08:18:10.566Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-29T08:18:10.613Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:18:11.003Z] + go mod tidy [Pipeline] } [2024-05-29T08:18:11.286Z] $ docker stop --time=1 08d33827f679b0f28c90969eb02381855e97362b7a073f46210d371b5b2b716a [2024-05-29T08:18:14.247Z] $ docker rm -f --volumes 08d33827f679b0f28c90969eb02381855e97362b7a073f46210d371b5b2b716a [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T08:18:14.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T08:18:14.923Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-29T08:18:15.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T08:18:16.141Z] + ls -al . [2024-05-29T08:18:16.141Z] total 176 [2024-05-29T08:18:16.141Z] drwxrwxr-x 9 jenkins jenkins 4096 May 29 08:17 . [2024-05-29T08:18:16.141Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:16 .. [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 6 May 29 08:16 .dockerignore [2024-05-29T08:18:16.141Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:18 .git [2024-05-29T08:18:16.141Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:16 .github [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 255 May 29 08:16 .gitignore [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 08:16 .golangci.yml [2024-05-29T08:18:16.141Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 08:16 .semver [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 10044 May 29 08:16 Attribution.txt [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 11809 May 29 08:16 CHANGELOG.md [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 1571 May 29 08:16 Dockerfile [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 08:16 GOVERNANCE.md [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 656 May 29 08:16 Jenkinsfile [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 08:16 LICENSE [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 2240 May 29 08:16 Makefile [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 620 May 29 08:16 OWNERS.md [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 10477 May 29 08:16 README.md [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 08:17 VERSION [2024-05-29T08:18:16.141Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:16 bin [2024-05-29T08:18:16.141Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:16 cmd [2024-05-29T08:18:16.141Z] -rw-r--r-- 1 jenkins jenkins 8837 May 29 08:18 coverage.out [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 3635 May 29 08:16 go.mod [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 33923 May 29 08:16 go.sum [2024-05-29T08:18:16.141Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:16 internal [2024-05-29T08:18:16.141Z] drwxrwxr-x 6 jenkins jenkins 4096 May 29 08:16 vendor [2024-05-29T08:18:16.141Z] -rw-rw-r-- 1 jenkins jenkins 228 May 29 08:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:18:16.567Z] + 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=2f3cfb1631bafeca8ea8b61e9a8b85961850906e --label arch=amd64 --label version=0.0.0 . [2024-05-29T08:18:16.827Z] Sending build context to Docker daemon 45.27MB [2024-05-29T08:18:16.827Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:18:16.827Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-29T08:18:16.827Z] ---> cdc9cca83750 [2024-05-29T08:18:16.827Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:18:17.494Z] ---> Running in c133c41643ee [2024-05-29T08:18:17.494Z] Removing intermediate container c133c41643ee [2024-05-29T08:18:17.494Z] ---> ded89914c76a [2024-05-29T08:18:17.494Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:18:17.494Z] ---> Running in c397294a0296 [2024-05-29T08:18:17.754Z] Removing intermediate container c397294a0296 [2024-05-29T08:18:17.754Z] ---> 81a9fb068ef6 [2024-05-29T08:18:17.754Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T08:18:17.754Z] ---> Running in 68c18741d086 [2024-05-29T08:18:17.754Z] Removing intermediate container 68c18741d086 [2024-05-29T08:18:17.754Z] ---> 88eb78e654ff [2024-05-29T08:18:17.754Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:18:17.754Z] ---> Running in bc61c99ed1dd [2024-05-29T08:18:17.754Z] Removing intermediate container bc61c99ed1dd [2024-05-29T08:18:17.754Z] ---> bfe4c463c138 [2024-05-29T08:18:17.754Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:18:17.754Z] ---> Running in 1c05af124486 [2024-05-29T08:18:18.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:18.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:18.533Z] OK: 268 MiB in 56 packages [2024-05-29T08:18:18.792Z] Removing intermediate container 1c05af124486 [2024-05-29T08:18:18.792Z] ---> 657e36ada2e1 [2024-05-29T08:18:18.792Z] Step 8/25 : WORKDIR /device-snmp-go [2024-05-29T08:18:18.792Z] ---> Running in 640306e1e42c [2024-05-29T08:18:18.792Z] Removing intermediate container 640306e1e42c [2024-05-29T08:18:18.792Z] ---> ed768efa21ed [2024-05-29T08:18:18.792Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-29T08:18:20.720Z] ---> 03095dd06ca6 [2024-05-29T08:18:20.720Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:18:20.980Z] ---> Running in abc02ff5de1f [2024-05-29T08:18:20.980Z] skipping... [2024-05-29T08:18:21.548Z] Removing intermediate container abc02ff5de1f [2024-05-29T08:18:21.548Z] ---> 0c11eaca5033 [2024-05-29T08:18:21.548Z] Step 11/25 : COPY . . [2024-05-29T08:18:23.451Z] ---> fdce74c904c7 [2024-05-29T08:18:23.451Z] Step 12/25 : RUN ${MAKE} [2024-05-29T08:18:23.451Z] ---> Running in 1861bc6186c4 [2024-05-29T08:18:23.713Z] 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.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-05-29T08:18:45.642Z] Removing intermediate container 1861bc6186c4 [2024-05-29T08:18:45.642Z] ---> 1365d0839731 [2024-05-29T08:18:45.642Z] Step 13/25 : FROM alpine:3.18 [2024-05-29T08:18:45.642Z] 3.18: Pulling from library/alpine [2024-05-29T08:18:45.642Z] 619be1103602: Already exists [2024-05-29T08:18:45.642Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T08:18:45.642Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T08:18:45.642Z] ---> d3782b16ccc9 [2024-05-29T08:18:45.642Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-05-29T08:18:45.642Z] ---> Running in 411454e4824a [2024-05-29T08:18:45.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:45.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:45.642Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T08:18:45.642Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:18:45.642Z] OK: 7 MiB in 16 packages [2024-05-29T08:18:45.642Z] Removing intermediate container 411454e4824a [2024-05-29T08:18:45.642Z] ---> 6e88d03a28ef [2024-05-29T08:18:45.642Z] Step 15/25 : RUN apk --no-cache upgrade [2024-05-29T08:18:45.642Z] ---> Running in ea0dd5ea54f7 [2024-05-29T08:18:45.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:45.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:45.642Z] Upgrading critical system libraries and apk-tools: [2024-05-29T08:18:45.642Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T08:18:45.642Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:18:45.642Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T08:18:45.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:45.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:18:45.642Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:18:45.642Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T08:18:45.642Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:18:45.642Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T08:18:45.642Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:18:45.642Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:18:45.643Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:18:45.643Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T08:18:45.643Z] OK: 7 MiB in 16 packages [2024-05-29T08:18:45.643Z] Removing intermediate container ea0dd5ea54f7 [2024-05-29T08:18:45.643Z] ---> 35d7619474e9 [2024-05-29T08:18:45.643Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-05-29T08:18:46.261Z] ---> ff10759dcf5b [2024-05-29T08:18:46.261Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-05-29T08:18:46.520Z] ---> 3e0083331150 [2024-05-29T08:18:46.520Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-05-29T08:18:46.520Z] ---> 6533174c7f0b [2024-05-29T08:18:46.520Z] Step 19/25 : EXPOSE 59993 [2024-05-29T08:18:46.520Z] ---> Running in de9cd5440c00 [2024-05-29T08:18:46.520Z] Removing intermediate container de9cd5440c00 [2024-05-29T08:18:46.520Z] ---> c5440d4e71db [2024-05-29T08:18:46.520Z] Step 20/25 : EXPOSE 161 [2024-05-29T08:18:46.520Z] ---> Running in 1d6f221adf3e [2024-05-29T08:18:46.779Z] Removing intermediate container 1d6f221adf3e [2024-05-29T08:18:46.779Z] ---> 46fd7296918f [2024-05-29T08:18:46.779Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-05-29T08:18:46.779Z] ---> Running in 76d8499d7f87 [2024-05-29T08:18:46.779Z] Removing intermediate container 76d8499d7f87 [2024-05-29T08:18:46.779Z] ---> 0cf1f9fd8b02 [2024-05-29T08:18:46.779Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T08:18:46.779Z] ---> Running in 626599b7d383 [2024-05-29T08:18:46.779Z] Removing intermediate container 626599b7d383 [2024-05-29T08:18:46.779Z] ---> 16fb24e10185 [2024-05-29T08:18:46.779Z] Step 23/25 : LABEL arch=amd64 [2024-05-29T08:18:46.779Z] ---> Running in dbc28ba0094e [2024-05-29T08:18:47.038Z] Removing intermediate container dbc28ba0094e [2024-05-29T08:18:47.038Z] ---> 7d548cded63d [2024-05-29T08:18:47.038Z] Step 24/25 : LABEL git_sha=2f3cfb1631bafeca8ea8b61e9a8b85961850906e [2024-05-29T08:18:47.038Z] ---> Running in 4beb8e81cb17 [2024-05-29T08:18:47.038Z] Removing intermediate container 4beb8e81cb17 [2024-05-29T08:18:47.038Z] ---> 3cf675bc210c [2024-05-29T08:18:47.038Z] Step 25/25 : LABEL version=0.0.0 [2024-05-29T08:18:47.038Z] ---> Running in d1e54780849b [2024-05-29T08:18:47.038Z] Removing intermediate container d1e54780849b [2024-05-29T08:18:47.038Z] ---> 2aea9acc3518 [2024-05-29T08:18:47.038Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T08:18:47.297Z] Successfully built 2aea9acc3518 [2024-05-29T08:18:47.297Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:18:48.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:18:48.316Z] [2024-05-29T08:18:48.316Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:18:48.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:18:48.713Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-29T08:18:48.713Z] 5eb5b503b376: Pulling fs layer [2024-05-29T08:18:48.713Z] 5c69ac0246d0: Pulling fs layer [2024-05-29T08:18:48.713Z] ec43610c2a17: Pulling fs layer [2024-05-29T08:18:48.713Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-29T08:18:48.713Z] 33b1e0a273af: Pulling fs layer [2024-05-29T08:18:48.713Z] 5d3b04190fa2: Pulling fs layer [2024-05-29T08:18:48.713Z] 2f39f015ded8: Pulling fs layer [2024-05-29T08:18:48.713Z] 5d3b04190fa2: Waiting [2024-05-29T08:18:48.713Z] 33b1e0a273af: Waiting [2024-05-29T08:18:48.713Z] 2f39f015ded8: Waiting [2024-05-29T08:18:48.713Z] 3a2ae6a8a46f: Waiting [2024-05-29T08:18:48.713Z] 5c69ac0246d0: Download complete [2024-05-29T08:18:48.713Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-29T08:18:48.713Z] 3a2ae6a8a46f: Download complete [2024-05-29T08:18:48.713Z] 33b1e0a273af: Verifying Checksum [2024-05-29T08:18:48.713Z] 33b1e0a273af: Download complete [2024-05-29T08:18:48.713Z] 5d3b04190fa2: Verifying Checksum [2024-05-29T08:18:48.713Z] 5d3b04190fa2: Download complete [2024-05-29T08:18:48.713Z] ec43610c2a17: Verifying Checksum [2024-05-29T08:18:48.713Z] ec43610c2a17: Download complete [2024-05-29T08:18:48.972Z] 5eb5b503b376: Verifying Checksum [2024-05-29T08:18:48.972Z] 5eb5b503b376: Download complete [2024-05-29T08:18:49.539Z] 2f39f015ded8: Verifying Checksum [2024-05-29T08:18:49.539Z] 2f39f015ded8: Download complete [2024-05-29T08:18:50.108Z] 5eb5b503b376: Pull complete [2024-05-29T08:18:50.108Z] 5c69ac0246d0: Pull complete [2024-05-29T08:18:50.674Z] ec43610c2a17: Pull complete [2024-05-29T08:18:50.674Z] 3a2ae6a8a46f: Pull complete [2024-05-29T08:18:50.933Z] 33b1e0a273af: Pull complete [2024-05-29T08:18:50.934Z] 5d3b04190fa2: Pull complete [2024-05-29T08:18:55.115Z] 2f39f015ded8: Pull complete [2024-05-29T08:18:55.115Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-29T08:18:55.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:18:55.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:18:55.379Z] prd-ubuntu20.04-docker-8c-8g-1020 does not seem to be running inside a container [2024-05-29T08:18:55.403Z] $ 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-348 -v /w/workspace/gexfoundry_device-snmp-go_PR-348:/w/workspace/gexfoundry_device-snmp-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T08:18:59.255Z] $ docker top c254e888f6f4948fc3a295b5410ab1085b2c305087cf9ea597a042d9f30fb6d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:18:59.722Z] ---> job-cost.sh [2024-05-29T08:18:59.722Z] lf-activate-venv: SKIPPING [2024-05-29T08:18:59.722Z] INFO: No Stack... [2024-05-29T08:19:00.290Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T08:19:00.859Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T08:19:01.184Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-348/archives/cost.csv [2024-05-29T08:19:01.184Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T08:19:01.233Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] [2024-05-29T08:19:01.239Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] did not exist. Created. [2024-05-29T08:19:01.245Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T08:19:01.673Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-29T08:19:01.756Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T08:19:01.774Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T08:19:01.872Z] $ docker stop --time=1 c254e888f6f4948fc3a295b5410ab1085b2c305087cf9ea597a042d9f30fb6d1 [2024-05-29T08:19:03.020Z] $ docker rm -f --volumes c254e888f6f4948fc3a295b5410ab1085b2c305087cf9ea597a042d9f30fb6d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-29T08:20:50.763Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1021 in /w/workspace/gexfoundry_device-snmp-go_PR-348 [Pipeline] { [Pipeline] ws [2024-05-29T08:20:50.830Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2024-05-29T08:20:50.921Z] Selected Git installation does not exist. Using Default [2024-05-29T08:20:50.921Z] The recommended git tool is: NONE [2024-05-29T08:20:59.828Z] using credential edgex-jenkins-ssh [2024-05-29T08:20:59.851Z] Cloning the remote Git repository [2024-05-29T08:20:59.910Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2024-05-29T08:21:00.067Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2024-05-29T08:21:00.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-05-29T08:21:00.349Z] > git --version # timeout=10 [2024-05-29T08:21:00.432Z] > git --version # 'git version 2.25.1' [2024-05-29T08:21:00.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T08:21:00.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T08:21:02.445Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-05-29T08:21:02.470Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T08:21:03.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-05-29T08:21:03.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-05-29T08:21:03.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T08:21:03.753Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-29T08:21:05.320Z] Merging remotes/origin/napa commit a5a8eecad0964d203a89aaaae76bac199dfc367d into PR head commit 2f3cfb1631bafeca8ea8b61e9a8b85961850906e [2024-05-29T08:21:05.341Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T08:21:05.438Z] > git checkout -f 2f3cfb1631bafeca8ea8b61e9a8b85961850906e # timeout=10 [2024-05-29T08:21:06.595Z] Merge succeeded, producing 2f3cfb1631bafeca8ea8b61e9a8b85961850906e [2024-05-29T08:21:06.596Z] Checking out Revision 2f3cfb1631bafeca8ea8b61e9a8b85961850906e (PR-348) [2024-05-29T08:21:06.479Z] > git remote # timeout=10 [2024-05-29T08:21:06.510Z] > git config --get remote.origin.url # timeout=10 [2024-05-29T08:21:06.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T08:21:06.546Z] > git merge a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 [2024-05-29T08:21:06.577Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-29T08:21:06.601Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T08:21:06.614Z] > git checkout -f 2f3cfb1631bafeca8ea8b61e9a8b85961850906e # timeout=10 [2024-05-29T08:21:07.795Z] Commit message: "build: Bump SDK to v3.1.1" [2024-05-29T08:21:07.841Z] > git --version # timeout=10 [2024-05-29T08:21:07.857Z] > git --version # 'git version 2.25.1' [2024-05-29T08:21:07.884Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T08:21:13.241Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-29T08:21:13.241Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T08:21:13.241Z] Dload Upload Total Spent Left Speed [2024-05-29T08:21:13.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-05-29T08:21:13.592Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-29T08:21:13.944Z] + sudo tee /etc/docker/daemon.new [2024-05-29T08:21:13.944Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-29T08:21:13.944Z] { [2024-05-29T08:21:13.944Z] "registry-mirrors": [ [2024-05-29T08:21:13.944Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-29T08:21:13.944Z] ], [2024-05-29T08:21:13.944Z] "bip": "10.250.0.254/24", [2024-05-29T08:21:13.944Z] "hosts": [ [2024-05-29T08:21:13.944Z] "tcp://0.0.0.0:5555", [2024-05-29T08:21:13.944Z] "unix:///var/run/docker.sock" [2024-05-29T08:21:13.944Z] ], [2024-05-29T08:21:13.944Z] "mtu": 1458, [2024-05-29T08:21:13.944Z] "selinux-enabled": true, [2024-05-29T08:21:13.944Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-29T08:21:13.944Z] } [Pipeline] sh [2024-05-29T08:21:14.299Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-29T08:21:14.658Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T08:21:33.020Z] provisioning config files... [2024-05-29T08:21:33.046Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config687486054765308055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:21:33.521Z] ---> ****-login.sh [2024-05-29T08:21:33.521Z] nexus3.edgexfoundry.org:10001 [2024-05-29T08:21:34.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:21:34.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:21:34.108Z] Configure a credential helper to remove this warning. See [2024-05-29T08:21:34.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:21:34.108Z] [2024-05-29T08:21:34.108Z] Login Succeeded [2024-05-29T08:21:34.108Z] nexus3.edgexfoundry.org:10002 [2024-05-29T08:21:34.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:21:34.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:21:34.645Z] Configure a credential helper to remove this warning. See [2024-05-29T08:21:34.645Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:21:34.645Z] [2024-05-29T08:21:34.645Z] Login Succeeded [2024-05-29T08:21:34.645Z] nexus3.edgexfoundry.org:10003 [2024-05-29T08:21:34.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:21:34.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:21:34.916Z] Configure a credential helper to remove this warning. See [2024-05-29T08:21:34.916Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:21:34.916Z] [2024-05-29T08:21:34.916Z] Login Succeeded [2024-05-29T08:21:34.916Z] nexus3.edgexfoundry.org:10004 [2024-05-29T08:21:35.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:21:35.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:21:35.185Z] Configure a credential helper to remove this warning. See [2024-05-29T08:21:35.185Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:21:35.185Z] [2024-05-29T08:21:35.185Z] Login Succeeded [2024-05-29T08:21:35.460Z] ****.io [2024-05-29T08:21:35.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:21:35.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:21:35.728Z] Configure a credential helper to remove this warning. See [2024-05-29T08:21:35.728Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:21:35.728Z] [2024-05-29T08:21:35.728Z] Login Succeeded [2024-05-29T08:21:35.728Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T08:21:35.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T08:21:36.240Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-29T08:21:36.594Z] + cut -d -f 2 [2024-05-29T08:21:36.594Z] + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo [2024-05-29T08:21:36.677Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T08:21:36.723Z] ========================================================= [2024-05-29T08:21:36.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-29T08:21:36.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:21:37.262Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-29T08:21:39.876Z] Sending build context to Docker daemon 38.23MB [2024-05-29T08:21:39.876Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:21:39.876Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T08:21:39.876Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-29T08:21:39.876Z] c6b39de5b339: Pulling fs layer [2024-05-29T08:21:39.876Z] a69c41024577: Pulling fs layer [2024-05-29T08:21:39.876Z] d6de4b400683: Pulling fs layer [2024-05-29T08:21:39.876Z] 35cb2a7552d0: Pulling fs layer [2024-05-29T08:21:39.876Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T08:21:39.876Z] 35cb2a7552d0: Waiting [2024-05-29T08:21:39.876Z] 4f4fb700ef54: Waiting [2024-05-29T08:21:39.876Z] 9e011611b7f5: Pulling fs layer [2024-05-29T08:21:39.876Z] 3bd174042beb: Pulling fs layer [2024-05-29T08:21:39.876Z] 4476f39b5e91: Pulling fs layer [2024-05-29T08:21:39.876Z] 9e011611b7f5: Waiting [2024-05-29T08:21:39.876Z] 3bd174042beb: Waiting [2024-05-29T08:21:39.876Z] 4476f39b5e91: Waiting [2024-05-29T08:21:39.876Z] a69c41024577: Verifying Checksum [2024-05-29T08:21:39.876Z] a69c41024577: Download complete [2024-05-29T08:21:39.876Z] 35cb2a7552d0: Verifying Checksum [2024-05-29T08:21:39.876Z] 35cb2a7552d0: Download complete [2024-05-29T08:21:39.876Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T08:21:39.876Z] 4f4fb700ef54: Download complete [2024-05-29T08:21:39.876Z] 9e011611b7f5: Download complete [2024-05-29T08:21:39.876Z] c6b39de5b339: Verifying Checksum [2024-05-29T08:21:40.466Z] 4476f39b5e91: Verifying Checksum [2024-05-29T08:21:40.466Z] 4476f39b5e91: Download complete [2024-05-29T08:21:40.736Z] c6b39de5b339: Pull complete [2024-05-29T08:21:41.327Z] a69c41024577: Pull complete [2024-05-29T08:21:41.595Z] d6de4b400683: Verifying Checksum [2024-05-29T08:21:41.595Z] d6de4b400683: Download complete [2024-05-29T08:21:43.016Z] 3bd174042beb: Verifying Checksum [2024-05-29T08:21:43.016Z] 3bd174042beb: Download complete [2024-05-29T08:21:55.346Z] d6de4b400683: Pull complete [2024-05-29T08:21:55.346Z] 35cb2a7552d0: Pull complete [2024-05-29T08:21:55.346Z] 4f4fb700ef54: Pull complete [2024-05-29T08:21:55.346Z] 9e011611b7f5: Pull complete [2024-05-29T08:22:05.432Z] 3bd174042beb: Pull complete [2024-05-29T08:22:05.432Z] 4476f39b5e91: Pull complete [2024-05-29T08:22:05.432Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-29T08:22:05.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-29T08:22:05.432Z] ---> 981a0608b64a [2024-05-29T08:22:05.432Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:22:08.033Z] ---> Running in d447f9ee39ee [2024-05-29T08:22:08.997Z] Removing intermediate container d447f9ee39ee [2024-05-29T08:22:08.997Z] ---> 4bed398ad353 [2024-05-29T08:22:08.997Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:22:08.997Z] ---> Running in 270a10e014bd [2024-05-29T08:22:09.264Z] Removing intermediate container 270a10e014bd [2024-05-29T08:22:09.264Z] ---> 443a6d0dd8cc [2024-05-29T08:22:09.264Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T08:22:09.264Z] ---> Running in 793d8f30543a [2024-05-29T08:22:09.535Z] Removing intermediate container 793d8f30543a [2024-05-29T08:22:09.535Z] ---> c4e643ca1a7e [2024-05-29T08:22:09.535Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:22:09.535Z] ---> Running in b456dc8d513a [2024-05-29T08:22:09.803Z] Removing intermediate container b456dc8d513a [2024-05-29T08:22:09.803Z] ---> b23bb98efc86 [2024-05-29T08:22:09.803Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:22:10.075Z] ---> Running in 3f52120c9df4 [2024-05-29T08:22:11.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:22:11.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:22:12.578Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T08:22:12.578Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T08:22:12.578Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T08:22:12.578Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T08:22:12.578Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:22:12.578Z] OK: 271 MiB in 56 packages [2024-05-29T08:22:13.547Z] Removing intermediate container 3f52120c9df4 [2024-05-29T08:22:13.547Z] ---> 41be8ad22023 [2024-05-29T08:22:13.547Z] Step 8/12 : WORKDIR /device-snmp-go [2024-05-29T08:22:13.815Z] ---> Running in b9f7e9f62829 [2024-05-29T08:22:14.083Z] Removing intermediate container b9f7e9f62829 [2024-05-29T08:22:14.083Z] ---> bc35fd03db7d [2024-05-29T08:22:14.083Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-29T08:22:20.753Z] ---> 03943a1994a2 [2024-05-29T08:22:20.753Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:22:20.753Z] ---> Running in 346bc87a4812 [2024-05-29T08:23:17.180Z] Removing intermediate container 346bc87a4812 [2024-05-29T08:23:17.180Z] ---> 9a4375f538a6 [2024-05-29T08:23:17.180Z] Step 11/12 : COPY . . [2024-05-29T08:23:20.532Z] ---> 0ea059fa0dc3 [2024-05-29T08:23:20.532Z] Step 12/12 : RUN ${MAKE} [2024-05-29T08:23:20.532Z] ---> Running in e8249ea76fe7 [2024-05-29T08:23:21.115Z] noop [2024-05-29T08:23:21.707Z] Removing intermediate container e8249ea76fe7 [2024-05-29T08:23:21.707Z] ---> 8387f6143d65 [2024-05-29T08:23:21.981Z] Successfully built 8387f6143d65 [2024-05-29T08:23:21.981Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:23:22.489Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T08:23:22.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:23:22.783Z] prd-ubuntu20.04-docker-arm64-4c-16g-1021 does not seem to be running inside a container [2024-05-29T08:23:22.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T08:23:24.054Z] $ docker top 85e5dfda6228e44effbbd2822edca57989a53fefc5a0a87af37a29bc10195241 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:23:24.939Z] + go version [2024-05-29T08:23:24.939Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-29T08:23:24.974Z] $ docker stop --time=1 85e5dfda6228e44effbbd2822edca57989a53fefc5a0a87af37a29bc10195241 [2024-05-29T08:23:26.579Z] $ docker rm -f --volumes 85e5dfda6228e44effbbd2822edca57989a53fefc5a0a87af37a29bc10195241 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:23:27.491Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T08:23:27.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:23:27.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-1021 does not seem to be running inside a container [2024-05-29T08:23:27.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T08:23:28.908Z] $ docker top a8cda5e92ca99bfe3df2f2223fe4843e44c7c7800d3813570a47ecdcbff9da59 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:23:29.456Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:23:30.429Z] + make test [2024-05-29T08:23:30.429Z] go test ./... -coverprofile=coverage.out [2024-05-29T08:23:33.009Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-05-29T08:25:24.740Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-05-29T08:25:24.740Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements [2024-05-29T08:25:24.740Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-29T08:25:24.740Z] go vet ./... [2024-05-29T08:25:46.792Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T08:25:47.061Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T08:25:47.061Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-29T08:25:47.685Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:25:48.087Z] + go mod tidy [Pipeline] } [2024-05-29T08:25:52.378Z] $ docker stop --time=1 a8cda5e92ca99bfe3df2f2223fe4843e44c7c7800d3813570a47ecdcbff9da59 [2024-05-29T08:25:54.178Z] $ docker rm -f --volumes a8cda5e92ca99bfe3df2f2223fe4843e44c7c7800d3813570a47ecdcbff9da59 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T08:25:55.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T08:25:55.619Z] Warning: overwriting stash ‘coverage-report’ [2024-05-29T08:25:56.590Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T08:25:57.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T08:25:57.611Z] + ls -al . [2024-05-29T08:25:57.611Z] total 172 [2024-05-29T08:25:57.611Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:23 . [2024-05-29T08:25:57.611Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:21 .. [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 6 May 29 08:21 .dockerignore [2024-05-29T08:25:57.611Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:21 .git [2024-05-29T08:25:57.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:21 .github [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 255 May 29 08:21 .gitignore [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 08:21 .golangci.yml [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 10044 May 29 08:21 Attribution.txt [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 11809 May 29 08:21 CHANGELOG.md [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 1571 May 29 08:21 Dockerfile [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 08:21 GOVERNANCE.md [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 656 May 29 08:21 Jenkinsfile [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 08:21 LICENSE [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 2240 May 29 08:21 Makefile [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 620 May 29 08:21 OWNERS.md [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 10477 May 29 08:21 README.md [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 08:17 VERSION [2024-05-29T08:25:57.611Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:21 bin [2024-05-29T08:25:57.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:21 cmd [2024-05-29T08:25:57.611Z] -rw-r--r-- 1 jenkins jenkins 8837 May 29 08:25 coverage.out [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 3635 May 29 08:21 go.mod [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 33923 May 29 08:21 go.sum [2024-05-29T08:25:57.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:21 internal [2024-05-29T08:25:57.611Z] drwxrwxr-x 6 jenkins jenkins 4096 May 29 08:21 vendor [2024-05-29T08:25:57.611Z] -rw-rw-r-- 1 jenkins jenkins 228 May 29 08:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:25:58.066Z] + 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=2f3cfb1631bafeca8ea8b61e9a8b85961850906e --label arch=arm64 --label version=0.0.0 . [2024-05-29T08:26:00.657Z] Sending build context to Docker daemon 38.24MB [2024-05-29T08:26:00.657Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:26:00.657Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-29T08:26:00.657Z] ---> 8387f6143d65 [2024-05-29T08:26:00.657Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:26:00.927Z] ---> Running in c843b78ea269 [2024-05-29T08:26:01.194Z] Removing intermediate container c843b78ea269 [2024-05-29T08:26:01.194Z] ---> 1e97e240b8af [2024-05-29T08:26:01.194Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:26:01.194Z] ---> Running in ad28ba01fdbf [2024-05-29T08:26:01.462Z] Removing intermediate container ad28ba01fdbf [2024-05-29T08:26:01.462Z] ---> 300675f66f41 [2024-05-29T08:26:01.462Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T08:26:01.462Z] ---> Running in 3dce69f83eb9 [2024-05-29T08:26:01.739Z] Removing intermediate container 3dce69f83eb9 [2024-05-29T08:26:01.739Z] ---> 2a14f65565b8 [2024-05-29T08:26:01.739Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:26:02.010Z] ---> Running in 1de091359297 [2024-05-29T08:26:02.280Z] Removing intermediate container 1de091359297 [2024-05-29T08:26:02.280Z] ---> 7b80371720fb [2024-05-29T08:26:02.280Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:26:02.280Z] ---> Running in ad95abde8772 [2024-05-29T08:26:03.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:26:03.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:26:04.469Z] OK: 271 MiB in 56 packages [2024-05-29T08:26:05.429Z] Removing intermediate container ad95abde8772 [2024-05-29T08:26:05.429Z] ---> aefc8ce338a3 [2024-05-29T08:26:05.429Z] Step 8/25 : WORKDIR /device-snmp-go [2024-05-29T08:26:05.429Z] ---> Running in 9ef2d3a194ac [2024-05-29T08:26:06.016Z] Removing intermediate container 9ef2d3a194ac [2024-05-29T08:26:06.016Z] ---> 095f77453bf8 [2024-05-29T08:26:06.016Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-29T08:26:12.656Z] ---> 9c4f4da461dd [2024-05-29T08:26:12.656Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:26:12.656Z] ---> Running in e0451dba2247 [2024-05-29T08:26:13.612Z] skipping... [2024-05-29T08:26:14.192Z] Removing intermediate container e0451dba2247 [2024-05-29T08:26:14.192Z] ---> 790073ca6d3c [2024-05-29T08:26:14.192Z] Step 11/25 : COPY . . [2024-05-29T08:26:22.389Z] ---> 29562adc19dc [2024-05-29T08:26:22.389Z] Step 12/25 : RUN ${MAKE} [2024-05-29T08:26:22.389Z] ---> Running in d3501a5235d0 [2024-05-29T08:26:22.389Z] 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.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-05-29T08:28:29.053Z] Removing intermediate container d3501a5235d0 [2024-05-29T08:28:29.053Z] ---> 0745e863e008 [2024-05-29T08:28:29.053Z] Step 13/25 : FROM alpine:3.18 [2024-05-29T08:28:29.053Z] 3.18: Pulling from library/alpine [2024-05-29T08:28:29.053Z] c6b39de5b339: Already exists [2024-05-29T08:28:29.053Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T08:28:29.053Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T08:28:29.053Z] ---> 33abbf032149 [2024-05-29T08:28:29.053Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-05-29T08:28:29.053Z] ---> Running in 16999e8ab1d7 [2024-05-29T08:28:29.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:28:29.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:28:30.851Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T08:28:30.851Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:28:30.851Z] OK: 8 MiB in 16 packages [2024-05-29T08:28:31.813Z] Removing intermediate container 16999e8ab1d7 [2024-05-29T08:28:31.813Z] ---> 9d6e86923b8b [2024-05-29T08:28:31.813Z] Step 15/25 : RUN apk --no-cache upgrade [2024-05-29T08:28:31.813Z] ---> Running in 2c44ffcceaa9 [2024-05-29T08:28:32.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:28:33.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:28:33.987Z] Upgrading critical system libraries and apk-tools: [2024-05-29T08:28:33.987Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T08:28:33.987Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:28:33.987Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T08:28:33.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:28:34.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:28:35.206Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:28:35.206Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T08:28:35.206Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:28:35.206Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T08:28:35.206Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:28:35.206Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:28:35.206Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:28:35.206Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T08:28:35.476Z] OK: 8 MiB in 16 packages [2024-05-29T08:28:36.429Z] Removing intermediate container 2c44ffcceaa9 [2024-05-29T08:28:36.429Z] ---> b97594013d30 [2024-05-29T08:28:36.429Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-05-29T08:28:37.834Z] ---> 9ea907e650cb [2024-05-29T08:28:37.834Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-05-29T08:28:38.415Z] ---> c353e27bc944 [2024-05-29T08:28:38.415Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-05-29T08:28:38.678Z] ---> c047ec1be9d8 [2024-05-29T08:28:38.678Z] Step 19/25 : EXPOSE 59993 [2024-05-29T08:28:38.678Z] ---> Running in fba89d28457d [2024-05-29T08:28:39.261Z] Removing intermediate container fba89d28457d [2024-05-29T08:28:39.261Z] ---> dc650bbd5804 [2024-05-29T08:28:39.261Z] Step 20/25 : EXPOSE 161 [2024-05-29T08:28:39.261Z] ---> Running in 9a757133bc36 [2024-05-29T08:28:39.525Z] Removing intermediate container 9a757133bc36 [2024-05-29T08:28:39.525Z] ---> b40b19437b01 [2024-05-29T08:28:39.525Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-05-29T08:28:39.525Z] ---> Running in 78950b6c8b1a [2024-05-29T08:28:39.789Z] Removing intermediate container 78950b6c8b1a [2024-05-29T08:28:39.789Z] ---> 5ec4bc4063fb [2024-05-29T08:28:39.789Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T08:28:39.789Z] ---> Running in 578934b446b2 [2024-05-29T08:28:40.059Z] Removing intermediate container 578934b446b2 [2024-05-29T08:28:40.059Z] ---> 50500206916f [2024-05-29T08:28:40.059Z] Step 23/25 : LABEL arch=arm64 [2024-05-29T08:28:40.326Z] ---> Running in 09bb8e8ef54c [2024-05-29T08:28:40.590Z] Removing intermediate container 09bb8e8ef54c [2024-05-29T08:28:40.590Z] ---> 833dce668e5b [2024-05-29T08:28:40.590Z] Step 24/25 : LABEL git_sha=2f3cfb1631bafeca8ea8b61e9a8b85961850906e [2024-05-29T08:28:40.590Z] ---> Running in d4f89740e20a [2024-05-29T08:28:40.855Z] Removing intermediate container d4f89740e20a [2024-05-29T08:28:40.855Z] ---> d6cfb07e0c27 [2024-05-29T08:28:40.855Z] Step 25/25 : LABEL version=0.0.0 [2024-05-29T08:28:40.855Z] ---> Running in 6ef04904210b [2024-05-29T08:28:41.119Z] Removing intermediate container 6ef04904210b [2024-05-29T08:28:41.119Z] ---> 9cf5c91668b5 [2024-05-29T08:28:41.119Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T08:28:41.382Z] Successfully built 9cf5c91668b5 [2024-05-29T08:28:41.645Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:28:42.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T08:28:42.593Z] [2024-05-29T08:28:42.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:28:43.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T08:28:43.003Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-29T08:28:43.003Z] 8998bd30e6a1: Pulling fs layer [2024-05-29T08:28:43.003Z] 04944245beec: Pulling fs layer [2024-05-29T08:28:43.003Z] 699f458cf7ca: Pulling fs layer [2024-05-29T08:28:43.003Z] 765212b225bb: Pulling fs layer [2024-05-29T08:28:43.003Z] f23df028b6ca: Pulling fs layer [2024-05-29T08:28:43.003Z] d65c8cfc05b1: Pulling fs layer [2024-05-29T08:28:43.003Z] 2437ff75d9bd: Pulling fs layer [2024-05-29T08:28:43.003Z] 765212b225bb: Waiting [2024-05-29T08:28:43.003Z] f23df028b6ca: Waiting [2024-05-29T08:28:43.003Z] d65c8cfc05b1: Waiting [2024-05-29T08:28:43.003Z] 2437ff75d9bd: Waiting [2024-05-29T08:28:43.269Z] 04944245beec: Verifying Checksum [2024-05-29T08:28:43.269Z] 04944245beec: Download complete [2024-05-29T08:28:43.269Z] 765212b225bb: Verifying Checksum [2024-05-29T08:28:43.269Z] 765212b225bb: Download complete [2024-05-29T08:28:43.269Z] f23df028b6ca: Verifying Checksum [2024-05-29T08:28:43.269Z] f23df028b6ca: Download complete [2024-05-29T08:28:43.269Z] d65c8cfc05b1: Verifying Checksum [2024-05-29T08:28:43.269Z] d65c8cfc05b1: Download complete [2024-05-29T08:28:43.269Z] 699f458cf7ca: Verifying Checksum [2024-05-29T08:28:43.269Z] 699f458cf7ca: Download complete [2024-05-29T08:28:43.849Z] 8998bd30e6a1: Verifying Checksum [2024-05-29T08:28:43.849Z] 8998bd30e6a1: Download complete [2024-05-29T08:28:46.419Z] 2437ff75d9bd: Verifying Checksum [2024-05-29T08:28:46.419Z] 2437ff75d9bd: Download complete [2024-05-29T08:28:48.357Z] 8998bd30e6a1: Pull complete [2024-05-29T08:28:48.939Z] 04944245beec: Pull complete [2024-05-29T08:28:50.345Z] 699f458cf7ca: Pull complete [2024-05-29T08:28:50.614Z] 765212b225bb: Pull complete [2024-05-29T08:28:51.574Z] f23df028b6ca: Pull complete [2024-05-29T08:28:51.846Z] d65c8cfc05b1: Pull complete [2024-05-29T08:29:10.043Z] 2437ff75d9bd: Pull complete [2024-05-29T08:29:10.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-29T08:29:10.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T08:29:10.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:29:10.386Z] prd-ubuntu20.04-docker-arm64-4c-16g-1021 does not seem to be running inside a container [2024-05-29T08:29:10.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-29T08:29:13.005Z] $ docker top b23872572f4d9da620f25b109ede762c50a1a65ba68c2d6cf86c67f5d8737f28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:13.940Z] ---> job-cost.sh [2024-05-29T08:29:13.940Z] lf-activate-venv: SKIPPING [2024-05-29T08:29:13.940Z] INFO: No Stack... [2024-05-29T08:29:14.517Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-29T08:29:15.095Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T08:29:15.752Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2024-05-29T08:29:15.752Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T08:29:15.801Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] [2024-05-29T08:29:15.807Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] did not exist. Created. [2024-05-29T08:29:15.814Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T08:29:16.547Z] /w/workspace/device-snmp-go/1@tmp/durable-ee4382ff/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-29T08:29:17.218Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-29T08:29:17.259Z] Warning: overwriting stash ‘stack-cost’ [2024-05-29T08:29:17.682Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T08:29:17.703Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T08:29:17.801Z] $ docker stop --time=1 b23872572f4d9da620f25b109ede762c50a1a65ba68c2d6cf86c67f5d8737f28 [2024-05-29T08:29:19.297Z] $ docker rm -f --volumes b23872572f4d9da620f25b109ede762c50a1a65ba68c2d6cf86c67f5d8737f28 [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 [2024-05-29T08:29:20.437Z] provisioning config files... [2024-05-29T08:29:20.444Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/config9001398835281742280tmp [Pipeline] { [Pipeline] sh [2024-05-29T08:29:20.794Z] + set +x [2024-05-29T08:29:20.794Z] + bash -s -- [2024-05-29T08:29:20.794Z] + curl -s https://codecov.io/bash [2024-05-29T08:29:20.794Z] [2024-05-29T08:29:20.794Z] _____ _ [2024-05-29T08:29:20.794Z] / ____| | | [2024-05-29T08:29:20.794Z] | | ___ __| | ___ ___ _____ __ [2024-05-29T08:29:20.794Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-29T08:29:20.794Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-29T08:29:20.794Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-29T08:29:20.794Z] Bash-1.0.6 [2024-05-29T08:29:20.794Z] [2024-05-29T08:29:20.794Z] [2024-05-29T08:29:20.794Z] ==> git version 2.25.1 found [2024-05-29T08:29:20.794Z] ==> 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 [2024-05-29T08:29:20.794Z] Release-Date: 2020-01-08 [2024-05-29T08:29:20.794Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-29T08:29:20.794Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-29T08:29:20.794Z] ==> Jenkins CI detected. [2024-05-29T08:29:20.794Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-348 [2024-05-29T08:29:20.794Z] project root: . [2024-05-29T08:29:20.794Z] --> token set from env [2024-05-29T08:29:20.794Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-29T08:29:20.794Z] ==> Running gcov in . (disable via -X gcov) [2024-05-29T08:29:20.794Z] ==> Python coveragepy not found [2024-05-29T08:29:20.794Z] ==> Searching for coverage reports in: [2024-05-29T08:29:20.794Z] + . [2024-05-29T08:29:20.794Z] -> Found 1 reports [2024-05-29T08:29:20.794Z] ==> Detecting git/mercurial file structure [2024-05-29T08:29:20.794Z] ==> Reading reports [2024-05-29T08:29:21.054Z] + ./coverage.out bytes=8837 [2024-05-29T08:29:21.054Z] ==> Appending adjustments [2024-05-29T08:29:21.054Z] https://docs.codecov.io/docs/fixing-reports [2024-05-29T08:29:21.054Z] + Found adjustments [2024-05-29T08:29:21.054Z] ==> Gzipping contents [2024-05-29T08:29:21.054Z] 16K /tmp/codecov.kJG4GC.gz [2024-05-29T08:29:21.054Z] ==> Uploading reports [2024-05-29T08:29:21.054Z] url: https://codecov.io [2024-05-29T08:29:21.054Z] query: branch=PR-348&commit=2f3cfb1631bafeca8ea8b61e9a8b85961850906e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=348&job=&cmd_args= [2024-05-29T08:29:21.054Z] -> Pinging Codecov [2024-05-29T08:29:21.054Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-348&commit=2f3cfb1631bafeca8ea8b61e9a8b85961850906e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=348&job=&cmd_args= [2024-05-29T08:29:21.313Z] -> Uploading to [2024-05-29T08:29:21.313Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-29/6C56EA5C29638FB4528AC87E60AF5AE0/2f3cfb1631bafeca8ea8b61e9a8b85961850906e/585e3038-a0ee-4f22-abd5-ae7728cc5af9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T082921Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6cd3911df747b58e7f38f0f6a212f13ce8479a34b472928c7de3e254e1975157 [2024-05-29T08:29:21.313Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T08:29:21.313Z] Dload Upload Total Spent Left Speed [2024-05-29T08:29:21.313Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12902 0 0 100 12902 0 55373 --:--:-- --:--:-- --:--:-- 55373 [2024-05-29T08:29:21.572Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/2f3cfb1631bafeca8ea8b61e9a8b85961850906e [Pipeline] } [2024-05-29T08:29:21.603Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-29T08:29:23.802Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-348/archives ] [2024-05-29T08:29:23.802Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-348/archives [2024-05-29T08:29:23.802Z] total 16 [2024-05-29T08:29:23.802Z] drwxr-xr-x 3 root root 4096 May 29 08:19 . [2024-05-29T08:29:23.802Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 08:19 .. [2024-05-29T08:29:23.802Z] drwxr-xr-x 2 root root 4096 May 29 08:19 cost [2024-05-29T08:29:23.802Z] -rw-r--r-- 1 root root 86 May 29 08:19 cost.csv [2024-05-29T08:29:23.802Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-348/archives [2024-05-29T08:29:23.802Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-348/archives [2024-05-29T08:29:23.802Z] total 16 [2024-05-29T08:29:23.802Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 08:19 . [2024-05-29T08:29:23.802Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 08:19 .. [2024-05-29T08:29:23.802Z] drwxr-xr-x 2 jenkins jenkins 4096 May 29 08:19 cost [2024-05-29T08:29:23.802Z] -rw-r--r-- 1 jenkins jenkins 86 May 29 08:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:24.144Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:25.044Z] ---> package-listing.sh [2024-05-29T08:29:25.044Z] ++ facter osfamily [2024-05-29T08:29:25.044Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-29T08:29:25.304Z] + OS_FAMILY=debian [2024-05-29T08:29:25.304Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-348 [2024-05-29T08:29:25.304Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-29T08:29:25.304Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-29T08:29:25.304Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-29T08:29:25.304Z] + PACKAGES=/tmp/packages_start.txt [2024-05-29T08:29:25.304Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-348 ']' [2024-05-29T08:29:25.304Z] + PACKAGES=/tmp/packages_end.txt [2024-05-29T08:29:25.304Z] + case "${OS_FAMILY}" in [2024-05-29T08:29:25.304Z] + dpkg -l [2024-05-29T08:29:25.304Z] + grep '^ii' [2024-05-29T08:29:25.304Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-29T08:29:25.304Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-29T08:29:25.304Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-29T08:29:25.304Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-348 ']' [2024-05-29T08:29:25.304Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-348/archives/ [2024-05-29T08:29:25.304Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-348/archives/ [Pipeline] echo [2024-05-29T08:29:25.351Z] 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-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-29T08:29:25.723Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:29:26.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:29:26.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:29:26.345Z] prd-ubuntu20.04-docker-8c-8g-1020 does not seem to be running inside a container [2024-05-29T08:29:26.376Z] $ 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-348/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-348 -v /w/workspace/gexfoundry_device-snmp-go_PR-348:/w/workspace/gexfoundry_device-snmp-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T08:29:26.549Z] $ docker top 3c75e69b5fffcb222eb3821a30c8618b62f16f834d3f09ff5241f1b43e35d4fc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:29:26.950Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-29T08:29:27.264Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-29T08:29:27.580Z] + ls /var/log/sa-host [2024-05-29T08:29:27.580Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T08:29:27.710Z] provisioning config files... [2024-05-29T08:29:27.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-348@tmp/config7151994867553698304tmp [Pipeline] { [Pipeline] echo [2024-05-29T08:29:27.793Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:28.116Z] ---> create-netrc.sh [Pipeline] } [2024-05-29T08:29:28.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:28.562Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-29T08:29:28.599Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:28.921Z] ---> sudo-logs.sh [2024-05-29T08:29:28.921Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-29T08:29:29.020Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:29.355Z] ---> job-cost.sh [2024-05-29T08:29:29.355Z] lf-activate-venv: SKIPPING [2024-05-29T08:29:29.355Z] DEBUG: total: 0.2199999988079071 [2024-05-29T08:29:29.355Z] INFO: Retrieving Stack Cost... [2024-05-29T08:29:29.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T08:29:30.182Z] INFO: Archiving Costs [Pipeline] echo [2024-05-29T08:29:30.220Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:29:30.538Z] ---> logs-deploy.sh [2024-05-29T08:29:30.539Z] lf-activate-venv: SKIPPING [2024-05-29T08:29:30.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-348/1 [2024-05-29T08:29:30.539Z] INFO: archiving workspace using pattern(s): [2024-05-29T08:29:31.472Z] Archives upload complete. [2024-05-29T08:29:31.472Z] INFO: archiving logs to Nexus