Pull request #406 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from acb5652e152254a6cace4414423a99d9d85da783+3ca1d9672aa57d288ff73684e8f7d94170c5a17a (b24af59450990425dcbe283a6eeb4467cdd5efb9) 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-ssh17643037300957242562.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-ssh12549018617570590192.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-rest-go/branches/PR-406/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-rest-go/branches/PR-406/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6411946136927489616.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-rest-go/branches/PR-406/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1371696885979744161.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-ssh1587930502525946909.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-rest-go/branches/PR-406/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-rest-go/branches/PR-406/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12225498392467519113.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-rest-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-rest-go-settings PROJECT: device-rest-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-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7988 in /w/workspace/gexfoundry_device-rest-go_PR-406 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-406 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3ca1d9672aa57d288ff73684e8f7d94170c5a17a into PR head commit acb5652e152254a6cace4414423a99d9d85da783 Merge succeeded, producing acb5652e152254a6cace4414423a99d9d85da783 Checking out Revision acb5652e152254a6cace4414423a99d9d85da783 (PR-406) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f acb5652e152254a6cace4414423a99d9d85da783 # 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 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acb5652e152254a6cace4414423a99d9d85da783 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-19T20:48:36.624Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-19T20:48:36.836Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-19T20:48:36.971Z] ========================================================= [2024-08-19T20:48:36.971Z] EdgeX Global Pipelines Version Info [2024-08-19T20:48:36.971Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-19T20:48:37.746Z] ------------------- [2024-08-19T20:48:37.746Z] stable info: [2024-08-19T20:48:37.746Z] ------------------- [2024-08-19T20:48:37.746Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-19T20:48:37.746Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-19T20:48:37.746Z] Message: update stable to v1.0.260 [2024-08-19T20:48:38.316Z] ------------------- [2024-08-19T20:48:38.316Z] experimental info: [2024-08-19T20:48:38.316Z] ------------------- [2024-08-19T20:48:38.316Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-19T20:48:38.316Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-19T20:48:38.316Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-19T20:48:38.544Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-08-19T20:48:38.600Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-08-19T20:48:38.654Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-19T20:48:38.703Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-19T20:48:38.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-19T20:48:38.818Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-19T20:48:38.876Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-19T20:48:38.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-19T20:48:38.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-19T20:48:39.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-19T20:48:39.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-19T20:48:39.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-08-19T20:48:39.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-19T20:48:39.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-19T20:48:39.336Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-19T20:48:39.398Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-19T20:48:39.456Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-19T20:48:39.514Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-19T20:48:39.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-19T20:48:39.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-19T20:48:39.685Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-19T20:48:39.743Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-19T20:48:39.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-19T20:48:39.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-19T20:48:39.926Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-19T20:48:39.979Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-19T20:48:40.035Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-19T20:48:40.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-406 [Pipeline] echo [2024-08-19T20:48:40.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-406 [Pipeline] echo [2024-08-19T20:48:40.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-406 [Pipeline] echo [2024-08-19T20:48:40.263Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acb5652e152254a6cace4414423a99d9d85da783 [Pipeline] echo [2024-08-19T20:48:40.321Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acb5652 [Pipeline] echo [2024-08-19T20:48:40.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T20:48:40.539Z] provisioning config files... [2024-08-19T20:48:40.552Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp/config9273442540803314060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T20:48:40.953Z] ---> ****-login.sh [2024-08-19T20:48:40.953Z] nexus3.edgexfoundry.org:10001 [2024-08-19T20:48:41.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:48:41.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:48:41.214Z] Configure a credential helper to remove this warning. See [2024-08-19T20:48:41.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:48:41.214Z] [2024-08-19T20:48:41.214Z] Login Succeeded [2024-08-19T20:48:41.214Z] nexus3.edgexfoundry.org:10002 [2024-08-19T20:48:41.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:48:41.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:48:41.475Z] Configure a credential helper to remove this warning. See [2024-08-19T20:48:41.475Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:48:41.475Z] [2024-08-19T20:48:41.475Z] Login Succeeded [2024-08-19T20:48:41.475Z] nexus3.edgexfoundry.org:10003 [2024-08-19T20:48:41.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:48:41.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:48:41.476Z] Configure a credential helper to remove this warning. See [2024-08-19T20:48:41.476Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:48:41.476Z] [2024-08-19T20:48:41.476Z] Login Succeeded [2024-08-19T20:48:41.476Z] nexus3.edgexfoundry.org:10004 [2024-08-19T20:48:41.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:48:41.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:48:41.738Z] Configure a credential helper to remove this warning. See [2024-08-19T20:48:41.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:48:41.738Z] [2024-08-19T20:48:41.738Z] Login Succeeded [2024-08-19T20:48:41.738Z] ****.io [2024-08-19T20:48:41.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:48:41.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:48:41.999Z] Configure a credential helper to remove this warning. See [2024-08-19T20:48:41.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:48:41.999Z] [2024-08-19T20:48:41.999Z] Login Succeeded [2024-08-19T20:48:41.999Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T20:48:42.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-19T20:48:42.734Z] + git rev-list -1 --merges acb5652e152254a6cace4414423a99d9d85da783~1..acb5652e152254a6cace4414423a99d9d85da783 [Pipeline] echo [2024-08-19T20:48:42.792Z] -----------> git rev-list -1 --merges acb5652e152254a6cace4414423a99d9d85da783~1..acb5652e152254a6cace4414423a99d9d85da783 acb5652e152254a6cace4414423a99d9d85da783 [false] [Pipeline] sh [2024-08-19T20:48:43.113Z] + git log --format=format:%s -1 acb5652e152254a6cace4414423a99d9d85da783 [Pipeline] echo [2024-08-19T20:48:43.153Z] ========================================================= [2024-08-19T20:48:43.154Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-19T20:48:43.154Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T20:48:43.616Z] + git log --format=format:%s -1 acb5652e152254a6cace4414423a99d9d85da783 [Pipeline] echo [2024-08-19T20:48:43.660Z] [semverPrep] GIT_COMMIT: acb5652e152254a6cace4414423a99d9d85da783, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-19T20:48:43.702Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-19T20:48:44.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-19T20:48:44.118Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-19T20:48:44.118Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-19T20:48:44.118Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-19T20:48:44.118Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-08-19T20:48:44.118Z] -a /etc/ssh/ssh_known_hosts [2024-08-19T20:48:44.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:48:44.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T20:48:44.640Z] [2024-08-19T20:48:44.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:48:45.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T20:48:45.054Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-19T20:48:45.054Z] b85a868b505f: Pulling fs layer [2024-08-19T20:48:45.054Z] e2be974225ed: Pulling fs layer [2024-08-19T20:48:45.054Z] 339a4e72a1f5: Pulling fs layer [2024-08-19T20:48:45.054Z] 988bab9f4d93: Pulling fs layer [2024-08-19T20:48:45.054Z] 1469e6f7b9e6: Pulling fs layer [2024-08-19T20:48:45.054Z] eaf3925da568: Pulling fs layer [2024-08-19T20:48:45.054Z] bab4dde63d76: Pulling fs layer [2024-08-19T20:48:45.054Z] bde34c3a00c8: Pulling fs layer [2024-08-19T20:48:45.054Z] b352a97aabf1: Pulling fs layer [2024-08-19T20:48:45.054Z] 4872d77fe225: Pulling fs layer [2024-08-19T20:48:45.054Z] 5851b861e8e6: Pulling fs layer [2024-08-19T20:48:45.054Z] 5851b861e8e6: Waiting [2024-08-19T20:48:45.054Z] 4872d77fe225: Waiting [2024-08-19T20:48:45.054Z] bde34c3a00c8: Waiting [2024-08-19T20:48:45.054Z] 988bab9f4d93: Waiting [2024-08-19T20:48:45.054Z] eaf3925da568: Waiting [2024-08-19T20:48:45.054Z] bab4dde63d76: Waiting [2024-08-19T20:48:45.054Z] 1469e6f7b9e6: Waiting [2024-08-19T20:48:45.054Z] b352a97aabf1: Waiting [2024-08-19T20:48:45.054Z] e2be974225ed: Download complete [2024-08-19T20:48:45.054Z] 988bab9f4d93: Verifying Checksum [2024-08-19T20:48:45.054Z] 988bab9f4d93: Download complete [2024-08-19T20:48:45.313Z] 1469e6f7b9e6: Verifying Checksum [2024-08-19T20:48:45.313Z] 1469e6f7b9e6: Download complete [2024-08-19T20:48:45.313Z] 339a4e72a1f5: Verifying Checksum [2024-08-19T20:48:45.313Z] 339a4e72a1f5: Download complete [2024-08-19T20:48:45.313Z] eaf3925da568: Download complete [2024-08-19T20:48:45.313Z] bde34c3a00c8: Verifying Checksum [2024-08-19T20:48:45.313Z] bde34c3a00c8: Download complete [2024-08-19T20:48:45.313Z] b352a97aabf1: Verifying Checksum [2024-08-19T20:48:45.313Z] b352a97aabf1: Download complete [2024-08-19T20:48:45.313Z] 4872d77fe225: Download complete [2024-08-19T20:48:45.313Z] 5851b861e8e6: Download complete [2024-08-19T20:48:45.313Z] b85a868b505f: Verifying Checksum [2024-08-19T20:48:45.313Z] b85a868b505f: Download complete [2024-08-19T20:48:45.572Z] bab4dde63d76: Verifying Checksum [2024-08-19T20:48:45.572Z] bab4dde63d76: Download complete [2024-08-19T20:48:46.509Z] b85a868b505f: Pull complete [2024-08-19T20:48:46.768Z] e2be974225ed: Pull complete [2024-08-19T20:48:47.338Z] 339a4e72a1f5: Pull complete [2024-08-19T20:48:47.338Z] 988bab9f4d93: Pull complete [2024-08-19T20:48:47.597Z] 1469e6f7b9e6: Pull complete [2024-08-19T20:48:47.597Z] eaf3925da568: Pull complete [2024-08-19T20:48:49.502Z] bab4dde63d76: Pull complete [2024-08-19T20:48:49.502Z] bde34c3a00c8: Pull complete [2024-08-19T20:48:49.502Z] b352a97aabf1: Pull complete [2024-08-19T20:48:49.763Z] 4872d77fe225: Pull complete [2024-08-19T20:48:49.763Z] 5851b861e8e6: Pull complete [2024-08-19T20:48:49.763Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-19T20:48:49.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T20:48:49.763Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T20:48:50.073Z] prd-ubuntu20.04-docker-8c-8g-7988 does not seem to be running inside a container [2024-08-19T20:48:50.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-406 -v /w/workspace/gexfoundry_device-rest-go_PR-406:/w/workspace/gexfoundry_device-rest-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-406@tmp:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-19T20:48:53.063Z] $ docker top 955831eb59de1f7d81827ccd66cbf05db838416be38a7a27b2f8a495e3cc8612 -eo pid,comm [2024-08-19T20:48:53.116Z] 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-08-19T20:48:53.116Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-19T20:48:53.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-19T20:48:53.275Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-19T20:48:53.389Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-19T20:48:53.388Z] $ docker exec 955831eb59de1f7d81827ccd66cbf05db838416be38a7a27b2f8a495e3cc8612 ssh-agent [2024-08-19T20:48:53.499Z] SSH_AUTH_SOCK=/tmp/ssh-VpspaXsmgehf/agent.33 [2024-08-19T20:48:53.499Z] SSH_AGENT_PID=39 [2024-08-19T20:48:53.505Z] Running ssh-add (command line suppressed) [2024-08-19T20:48:53.604Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-406@tmp/private_key_13619875222564937702.key (/w/workspace/gexfoundry_device-rest-go_PR-406@tmp/private_key_13619875222564937702.key) [2024-08-19T20:48:53.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-19T20:48:53.968Z] + git tag --points-at HEAD [Pipeline] } [2024-08-19T20:48:53.989Z] $ docker exec --env ******** --env ******** 955831eb59de1f7d81827ccd66cbf05db838416be38a7a27b2f8a495e3cc8612 ssh-agent -k [2024-08-19T20:48:54.089Z] unset SSH_AUTH_SOCK; [2024-08-19T20:48:54.089Z] unset SSH_AGENT_PID; [2024-08-19T20:48:54.089Z] echo Agent pid 39 killed; [2024-08-19T20:48:54.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-19T20:48:54.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-19T20:48:54.225Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-19T20:48:54.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-19T20:48:54.332Z] $ docker exec 955831eb59de1f7d81827ccd66cbf05db838416be38a7a27b2f8a495e3cc8612 ssh-agent [2024-08-19T20:48:54.453Z] SSH_AUTH_SOCK=/tmp/ssh-G7XcD8DPiKZs/agent.72 [2024-08-19T20:48:54.453Z] SSH_AGENT_PID=78 [2024-08-19T20:48:54.458Z] Running ssh-add (command line suppressed) [2024-08-19T20:48:54.560Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-406@tmp/private_key_12633848309752477485.key (/w/workspace/gexfoundry_device-rest-go_PR-406@tmp/private_key_12633848309752477485.key) [2024-08-19T20:48:54.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-19T20:48:54.916Z] + git semver init [2024-08-19T20:48:55.175Z] 2024-08-19 20:48:55,097 [run_init] DEBUG init version:0.0.0 force:False [2024-08-19T20:48:55.175Z] 2024-08-19 20:48:55,098 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-406/.semver [2024-08-19T20:48:55.175Z] 2024-08-19 20:48:55,098 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-406/.semver [2024-08-19T20:48:55.175Z] 2024-08-19 20:48:55,099 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-406/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-406, universal_newlines=False, shell=None, istream=None) [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,601 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-406/.git/info/exclude [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,602 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-406/.semver/PR-406 with force:False [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,602 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-406/.semver/PR-406 [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,607 [execute] INFO git cat-file --batch-check [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-406/.semver, universal_newlines=False, shell=None, istream=) [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,613 [execute] INFO git cat-file --batch [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-406/.semver, universal_newlines=False, shell=None, istream=) [2024-08-19T20:48:57.085Z] 2024-08-19 20:48:56,618 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-406/.semver/PR-406 [2024-08-19T20:48:57.085Z] 0.0.0 [Pipeline] } [2024-08-19T20:48:57.111Z] $ docker exec --env ******** --env ******** 955831eb59de1f7d81827ccd66cbf05db838416be38a7a27b2f8a495e3cc8612 ssh-agent -k [2024-08-19T20:48:57.214Z] unset SSH_AUTH_SOCK; [2024-08-19T20:48:57.214Z] unset SSH_AGENT_PID; [2024-08-19T20:48:57.215Z] echo Agent pid 78 killed; [2024-08-19T20:48:57.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-19T20:48:57.701Z] + git semver [Pipeline] } [2024-08-19T20:48:57.990Z] $ docker stop --time=1 955831eb59de1f7d81827ccd66cbf05db838416be38a7a27b2f8a495e3cc8612 [2024-08-19T20:48:59.333Z] $ docker rm -f --volumes 955831eb59de1f7d81827ccd66cbf05db838416be38a7a27b2f8a495e3cc8612 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T20:48:59.781Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-19T20:49:00.192Z] Stashed 1 file(s) [Pipeline] echo [2024-08-19T20:49:00.223Z] [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-08-19T20:49:00.954Z] provisioning config files... [2024-08-19T20:49:00.965Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp/config1301983202961597373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T20:49:01.343Z] ---> ****-login.sh [2024-08-19T20:49:01.343Z] nexus3.edgexfoundry.org:10001 [2024-08-19T20:49:01.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:49:01.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:49:01.344Z] Configure a credential helper to remove this warning. See [2024-08-19T20:49:01.344Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:49:01.344Z] [2024-08-19T20:49:01.344Z] Login Succeeded [2024-08-19T20:49:01.344Z] nexus3.edgexfoundry.org:10002 [2024-08-19T20:49:01.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:49:01.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:49:01.605Z] Configure a credential helper to remove this warning. See [2024-08-19T20:49:01.605Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:49:01.605Z] [2024-08-19T20:49:01.605Z] Login Succeeded [2024-08-19T20:49:01.605Z] nexus3.edgexfoundry.org:10003 [2024-08-19T20:49:01.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:49:01.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:49:01.605Z] Configure a credential helper to remove this warning. See [2024-08-19T20:49:01.605Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:49:01.605Z] [2024-08-19T20:49:01.605Z] Login Succeeded [2024-08-19T20:49:01.605Z] nexus3.edgexfoundry.org:10004 [2024-08-19T20:49:01.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:49:01.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:49:01.605Z] Configure a credential helper to remove this warning. See [2024-08-19T20:49:01.605Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:49:01.605Z] [2024-08-19T20:49:01.605Z] Login Succeeded [2024-08-19T20:49:01.605Z] ****.io [2024-08-19T20:49:01.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:49:01.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:49:01.867Z] Configure a credential helper to remove this warning. See [2024-08-19T20:49:01.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:49:01.867Z] [2024-08-19T20:49:01.867Z] Login Succeeded [2024-08-19T20:49:01.867Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T20:49:01.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-19T20:49:02.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T20:49:02.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T20:49:02.224Z] ========================================================= [2024-08-19T20:49:02.224Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-19T20:49:02.224Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:49:02.744Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-19T20:49:02.744Z] Sending build context to Docker daemon 16.56MB [2024-08-19T20:49:02.744Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T20:49:02.744Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-19T20:49:02.744Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-19T20:49:02.744Z] 619be1103602: Pulling fs layer [2024-08-19T20:49:02.744Z] 7862e08f4a3e: Pulling fs layer [2024-08-19T20:49:02.744Z] 5df492c9dc93: Pulling fs layer [2024-08-19T20:49:02.744Z] 7629e6793208: Pulling fs layer [2024-08-19T20:49:02.744Z] 4f4fb700ef54: Pulling fs layer [2024-08-19T20:49:02.744Z] fb5054dd5b73: Pulling fs layer [2024-08-19T20:49:02.744Z] eeca6798cff9: Pulling fs layer [2024-08-19T20:49:02.744Z] aa269ceb94a6: Pulling fs layer [2024-08-19T20:49:02.744Z] ada007ff1a6a: Pulling fs layer [2024-08-19T20:49:02.744Z] eeca6798cff9: Waiting [2024-08-19T20:49:02.744Z] aa269ceb94a6: Waiting [2024-08-19T20:49:02.744Z] ada007ff1a6a: Waiting [2024-08-19T20:49:02.744Z] 7629e6793208: Waiting [2024-08-19T20:49:02.744Z] 4f4fb700ef54: Waiting [2024-08-19T20:49:02.744Z] fb5054dd5b73: Waiting [2024-08-19T20:49:03.004Z] 7862e08f4a3e: Download complete [2024-08-19T20:49:03.004Z] 7629e6793208: Verifying Checksum [2024-08-19T20:49:03.004Z] 7629e6793208: Download complete [2024-08-19T20:49:03.004Z] 4f4fb700ef54: Verifying Checksum [2024-08-19T20:49:03.004Z] 4f4fb700ef54: Download complete [2024-08-19T20:49:03.004Z] fb5054dd5b73: Download complete [2024-08-19T20:49:03.004Z] 619be1103602: Verifying Checksum [2024-08-19T20:49:03.004Z] 619be1103602: Download complete [2024-08-19T20:49:03.004Z] eeca6798cff9: Verifying Checksum [2024-08-19T20:49:03.004Z] eeca6798cff9: Download complete [2024-08-19T20:49:03.004Z] 619be1103602: Pull complete [2024-08-19T20:49:03.264Z] ada007ff1a6a: Verifying Checksum [2024-08-19T20:49:03.264Z] 7862e08f4a3e: Pull complete [2024-08-19T20:49:03.523Z] 5df492c9dc93: Verifying Checksum [2024-08-19T20:49:03.523Z] 5df492c9dc93: Download complete [2024-08-19T20:49:03.781Z] aa269ceb94a6: Verifying Checksum [2024-08-19T20:49:03.781Z] aa269ceb94a6: Download complete [2024-08-19T20:49:07.069Z] 5df492c9dc93: Pull complete [2024-08-19T20:49:07.069Z] 7629e6793208: Pull complete [2024-08-19T20:49:07.069Z] 4f4fb700ef54: Pull complete [2024-08-19T20:49:07.069Z] fb5054dd5b73: Pull complete [2024-08-19T20:49:07.069Z] eeca6798cff9: Pull complete [2024-08-19T20:49:09.605Z] aa269ceb94a6: Pull complete [2024-08-19T20:49:09.864Z] ada007ff1a6a: Pull complete [2024-08-19T20:49:09.864Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-19T20:49:09.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-19T20:49:09.864Z] ---> f489d0715acc [2024-08-19T20:49:09.864Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-19T20:49:14.077Z] ---> Running in 3ba31a84eb98 [2024-08-19T20:49:14.077Z] Removing intermediate container 3ba31a84eb98 [2024-08-19T20:49:14.077Z] ---> 71ab263d17b0 [2024-08-19T20:49:14.077Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T20:49:14.077Z] ---> Running in 27df1dfe55c1 [2024-08-19T20:49:14.077Z] Removing intermediate container 27df1dfe55c1 [2024-08-19T20:49:14.077Z] ---> 6c93aa208358 [2024-08-19T20:49:14.077Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T20:49:14.077Z] ---> Running in 3a55f15aaf20 [2024-08-19T20:49:14.336Z] Removing intermediate container 3a55f15aaf20 [2024-08-19T20:49:14.336Z] ---> d10332d99a99 [2024-08-19T20:49:14.336Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T20:49:14.336Z] ---> Running in e011e938da58 [2024-08-19T20:49:14.336Z] Removing intermediate container e011e938da58 [2024-08-19T20:49:14.336Z] ---> 8fe2296527bc [2024-08-19T20:49:14.336Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T20:49:14.336Z] ---> Running in b12dab979088 [2024-08-19T20:49:14.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T20:49:14.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T20:49:15.113Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-19T20:49:15.113Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-19T20:49:15.113Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-19T20:49:15.113Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-19T20:49:15.113Z] Executing busybox-1.36.1-r5.trigger [2024-08-19T20:49:15.113Z] OK: 268 MiB in 56 packages [2024-08-19T20:49:15.681Z] Removing intermediate container b12dab979088 [2024-08-19T20:49:15.681Z] ---> f64797d1970a [2024-08-19T20:49:15.681Z] Step 8/12 : WORKDIR /device-rest-go [2024-08-19T20:49:15.681Z] ---> Running in c1c78abb978c [2024-08-19T20:49:15.681Z] Removing intermediate container c1c78abb978c [2024-08-19T20:49:15.681Z] ---> 90926e3537ff [2024-08-19T20:49:15.681Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-19T20:49:15.736Z] Still waiting to schedule task [2024-08-19T20:49:15.737Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-19T20:49:15.939Z] ---> e963c0d7a66b [2024-08-19T20:49:15.939Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T20:49:15.939Z] ---> Running in 3b8c65ebe60e [2024-08-19T20:50:12.283Z] Removing intermediate container 3b8c65ebe60e [2024-08-19T20:50:12.283Z] ---> 669acbd91a2a [2024-08-19T20:50:12.283Z] Step 11/12 : COPY . . [2024-08-19T20:50:12.283Z] ---> 853c470b56cc [2024-08-19T20:50:12.283Z] Step 12/12 : RUN $MAKE [2024-08-19T20:50:12.283Z] ---> Running in 9fbdeaad60b6 [2024-08-19T20:50:12.283Z] noop [2024-08-19T20:50:12.283Z] Removing intermediate container 9fbdeaad60b6 [2024-08-19T20:50:12.283Z] ---> 0f87a4080634 [2024-08-19T20:50:12.283Z] Successfully built 0f87a4080634 [2024-08-19T20:50:12.283Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:50:12.777Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-19T20:50:12.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T20:50:12.958Z] prd-ubuntu20.04-docker-8c-8g-7988 does not seem to be running inside a container [2024-08-19T20:50:12.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-406 -v /w/workspace/gexfoundry_device-rest-go_PR-406:/w/workspace/gexfoundry_device-rest-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-406@tmp:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-19T20:50:13.329Z] $ docker top 2a9e1b767e57b8c70e725d39306d026c59bb38d194f76d7dafcd0cfddcadc8ee -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T20:50:13.777Z] + go version [2024-08-19T20:50:13.777Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-19T20:50:13.815Z] $ docker stop --time=1 2a9e1b767e57b8c70e725d39306d026c59bb38d194f76d7dafcd0cfddcadc8ee [2024-08-19T20:50:15.107Z] $ docker rm -f --volumes 2a9e1b767e57b8c70e725d39306d026c59bb38d194f76d7dafcd0cfddcadc8ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:50:15.927Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-19T20:50:15.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T20:50:16.106Z] prd-ubuntu20.04-docker-8c-8g-7988 does not seem to be running inside a container [2024-08-19T20:50:16.136Z] $ 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-rest-go_PR-406 -v /w/workspace/gexfoundry_device-rest-go_PR-406:/w/workspace/gexfoundry_device-rest-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-406@tmp:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-19T20:50:16.483Z] $ docker top eb41fb9d206c7465efce3c3442d432f7a6330ec0d8201a3f971d0cf3cdf3bacf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T20:50:16.910Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-406 [Pipeline] fileExists [Pipeline] sh [2024-08-19T20:50:17.287Z] + make test [2024-08-19T20:50:17.287Z] go test ./... -coverprofile=coverage.out ./... [2024-08-19T20:50:18.663Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-08-19T20:50:36.744Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-08-19T20:50:36.744Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2024-08-19T20:50:48.961Z] go vet ./... [2024-08-19T20:50:54.225Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-19T20:50:54.225Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-19T20:50:54.225Z] ./bin/test-attribution-txt.sh [2024-08-19T20:50:54.225Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-19T20:50:54.225Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-19T20:50:54.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-19T20:50:54.320Z] $ docker stop --time=1 eb41fb9d206c7465efce3c3442d432f7a6330ec0d8201a3f971d0cf3cdf3bacf [2024-08-19T20:50:58.071Z] $ docker rm -f --volumes eb41fb9d206c7465efce3c3442d432f7a6330ec0d8201a3f971d0cf3cdf3bacf [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T20:50:58.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-19T20:50:58.771Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-19T20:50:59.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-19T20:50:59.823Z] + ls -al . [2024-08-19T20:50:59.823Z] total 248 [2024-08-19T20:50:59.823Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 19 20:50 . [2024-08-19T20:50:59.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 20:48 .. [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 19 20:48 .dockerignore [2024-08-19T20:50:59.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 20:50 .git [2024-08-19T20:50:59.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:48 .github [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 19 20:48 .gitignore [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 19 20:48 .golangci.yml [2024-08-19T20:50:59.823Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 20:48 .semver [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 19 20:48 Attribution.txt [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 17685 Aug 19 20:48 CHANGELOG.md [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 1687 Aug 19 20:48 Dockerfile [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 20:48 GOVERNANCE.md [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 19 20:48 Jenkinsfile [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 19 20:48 LICENSE [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 2016 Aug 19 20:48 Makefile [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 19 20:48 OWNERS.md [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 3989 Aug 19 20:48 README.md [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 20:48 VERSION [2024-08-19T20:50:59.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:48 bin [2024-08-19T20:50:59.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:48 cmd [2024-08-19T20:50:59.823Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 19 20:50 coverage.out [2024-08-19T20:50:59.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:48 driver [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 7134 Aug 19 20:48 go.mod [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 19 20:48 go.sum [2024-08-19T20:50:59.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:48 openapi [2024-08-19T20:50:59.823Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 19 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:51:00.236Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=acb5652e152254a6cace4414423a99d9d85da783 --label arch=amd64 --label version=0.0.0 . [2024-08-19T20:51:00.236Z] Sending build context to Docker daemon 16.58MB [2024-08-19T20:51:00.236Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T20:51:00.236Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-19T20:51:00.236Z] ---> 0f87a4080634 [2024-08-19T20:51:00.236Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-19T20:51:00.498Z] ---> Running in be8ddf58348c [2024-08-19T20:51:00.498Z] Removing intermediate container be8ddf58348c [2024-08-19T20:51:00.498Z] ---> 3056cde1e47f [2024-08-19T20:51:00.498Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T20:51:00.758Z] ---> Running in 3a6760dd22fa [2024-08-19T20:51:00.758Z] Removing intermediate container 3a6760dd22fa [2024-08-19T20:51:00.758Z] ---> 83dd947848ae [2024-08-19T20:51:00.758Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T20:51:00.758Z] ---> Running in 2c40c324141a [2024-08-19T20:51:00.758Z] Removing intermediate container 2c40c324141a [2024-08-19T20:51:00.758Z] ---> 289e73c015cd [2024-08-19T20:51:00.758Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T20:51:00.758Z] ---> Running in ea319dc17a61 [2024-08-19T20:51:00.758Z] Removing intermediate container ea319dc17a61 [2024-08-19T20:51:00.758Z] ---> b429a2d9fcb0 [2024-08-19T20:51:00.758Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T20:51:01.018Z] ---> Running in 993ec9eb93b1 [2024-08-19T20:51:01.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T20:51:01.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T20:51:01.537Z] OK: 268 MiB in 56 packages [2024-08-19T20:51:01.796Z] Removing intermediate container 993ec9eb93b1 [2024-08-19T20:51:01.796Z] ---> bef0ddbbfda5 [2024-08-19T20:51:01.796Z] Step 8/26 : WORKDIR /device-rest-go [2024-08-19T20:51:01.796Z] ---> Running in c921e23c78fa [2024-08-19T20:51:02.054Z] Removing intermediate container c921e23c78fa [2024-08-19T20:51:02.054Z] ---> 28829cbd4eba [2024-08-19T20:51:02.054Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-19T20:51:02.054Z] ---> ab747a9b58ad [2024-08-19T20:51:02.054Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T20:51:02.054Z] ---> Running in c9635cae3f59 [2024-08-19T20:51:02.621Z] Removing intermediate container c9635cae3f59 [2024-08-19T20:51:02.621Z] ---> c8505f0d50d1 [2024-08-19T20:51:02.621Z] Step 11/26 : COPY . . [2024-08-19T20:51:03.188Z] ---> c861208b81d7 [2024-08-19T20:51:03.188Z] Step 12/26 : RUN $MAKE [2024-08-19T20:51:03.446Z] ---> Running in 7bdfe00b465a [2024-08-19T20:51:03.446Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.31" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-08-19T20:51:15.605Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7990 in /w/workspace/gexfoundry_device-rest-go_PR-406 [Pipeline] { [Pipeline] ws [2024-08-19T20:51:15.687Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-08-19T20:51:18.790Z] The recommended git tool is: git [2024-08-19T20:51:23.075Z] using credential edgex-jenkins-ssh [2024-08-19T20:51:23.103Z] Cloning the remote Git repository [2024-08-19T20:51:23.143Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-08-19T20:51:23.243Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-08-19T20:51:23.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-08-19T20:51:23.387Z] > git --version # timeout=10 [2024-08-19T20:51:23.414Z] > git --version # 'git version 2.25.1' [2024-08-19T20:51:23.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T20:51:23.587Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-19T20:51:26.190Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-08-19T20:51:26.213Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-19T20:51:27.157Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-08-19T20:51:27.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-08-19T20:51:27.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T20:51:27.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-19T20:51:27.710Z] Merging remotes/origin/main commit 3ca1d9672aa57d288ff73684e8f7d94170c5a17a into PR head commit acb5652e152254a6cace4414423a99d9d85da783 [2024-08-19T20:51:27.973Z] Merge succeeded, producing acb5652e152254a6cace4414423a99d9d85da783 [2024-08-19T20:51:27.973Z] Checking out Revision acb5652e152254a6cace4414423a99d9d85da783 (PR-406) [2024-08-19T20:51:28.721Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-19T20:51:28.770Z] > git --version # timeout=10 [2024-08-19T20:51:28.781Z] > git --version # 'git version 2.25.1' [2024-08-19T20:51:28.800Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-19T20:51:27.725Z] > git config core.sparsecheckout # timeout=10 [2024-08-19T20:51:27.787Z] > git checkout -f acb5652e152254a6cace4414423a99d9d85da783 # timeout=10 [2024-08-19T20:51:27.873Z] > git remote # timeout=10 [2024-08-19T20:51:27.890Z] > git config --get remote.origin.url # timeout=10 [2024-08-19T20:51:27.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T20:51:27.925Z] > git merge 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 [2024-08-19T20:51:27.949Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-19T20:51:27.976Z] > git config core.sparsecheckout # timeout=10 [2024-08-19T20:51:27.989Z] > git checkout -f acb5652e152254a6cace4414423a99d9d85da783 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T20:51:33.805Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-19T20:51:33.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-19T20:51:33.805Z] Dload Upload Total Spent Left Speed [2024-08-19T20:51:33.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-08-19T20:51:34.163Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-19T20:51:34.509Z] + sudo tee /etc/docker/daemon.new [2024-08-19T20:51:34.509Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-19T20:51:34.509Z] { [2024-08-19T20:51:34.509Z] "registry-mirrors": [ [2024-08-19T20:51:34.509Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-19T20:51:34.509Z] ], [2024-08-19T20:51:34.509Z] "bip": "10.250.0.254/24", [2024-08-19T20:51:34.509Z] "hosts": [ [2024-08-19T20:51:34.509Z] "tcp://0.0.0.0:5555", [2024-08-19T20:51:34.509Z] "unix:///var/run/docker.sock" [2024-08-19T20:51:34.509Z] ], [2024-08-19T20:51:34.509Z] "mtu": 1458, [2024-08-19T20:51:34.509Z] "selinux-enabled": true, [2024-08-19T20:51:34.509Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-19T20:51:34.509Z] } [Pipeline] sh [2024-08-19T20:51:34.859Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-19T20:51:35.218Z] + sudo service docker restart [2024-08-19T20:51:35.562Z] Removing intermediate container 7bdfe00b465a [2024-08-19T20:51:35.562Z] ---> 71cae5a63f41 [2024-08-19T20:51:35.562Z] Step 13/26 : FROM alpine:3.18 [2024-08-19T20:51:35.562Z] 3.18: Pulling from library/alpine [2024-08-19T20:51:35.562Z] 930bdd4d222e: Pulling fs layer [2024-08-19T20:51:35.562Z] 930bdd4d222e: Verifying Checksum [2024-08-19T20:51:35.562Z] 930bdd4d222e: Download complete [2024-08-19T20:51:35.562Z] 930bdd4d222e: Pull complete [2024-08-19T20:51:35.562Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-19T20:51:35.562Z] Status: Downloaded newer image for alpine:3.18 [2024-08-19T20:51:35.562Z] ---> 18f865063206 [2024-08-19T20:51:35.562Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-19T20:51:35.562Z] ---> Running in f16a3dce1d73 [2024-08-19T20:51:35.562Z] Removing intermediate container f16a3dce1d73 [2024-08-19T20:51:35.562Z] ---> 6591b8b04b1d [2024-08-19T20:51:35.562Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-08-19T20:51:35.562Z] ---> Running in f9b24079d19c [2024-08-19T20:51:35.562Z] Removing intermediate container f9b24079d19c [2024-08-19T20:51:35.562Z] ---> 5c4d1028324f [2024-08-19T20:51:35.562Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-08-19T20:51:35.562Z] ---> Running in d81824707a04 [2024-08-19T20:51:35.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T20:51:35.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T20:51:35.562Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-19T20:51:35.562Z] Executing busybox-1.36.1-r7.trigger [2024-08-19T20:51:35.562Z] OK: 7 MiB in 16 packages [2024-08-19T20:51:35.562Z] Removing intermediate container d81824707a04 [2024-08-19T20:51:35.562Z] ---> 033ae8b2191f [2024-08-19T20:51:35.562Z] Step 17/26 : RUN apk --no-cache upgrade [2024-08-19T20:51:35.562Z] ---> Running in 726b1cf0a881 [2024-08-19T20:51:35.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T20:51:35.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T20:51:35.562Z] OK: 7 MiB in 16 packages [2024-08-19T20:51:35.822Z] Removing intermediate container 726b1cf0a881 [2024-08-19T20:51:35.822Z] ---> 68194770d6c6 [2024-08-19T20:51:35.822Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-08-19T20:51:36.760Z] ---> 23a490726c5a [2024-08-19T20:51:36.760Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-08-19T20:51:36.760Z] ---> 0cdd49ffdae4 [2024-08-19T20:51:36.760Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-08-19T20:51:37.018Z] ---> ece820bf3b60 [2024-08-19T20:51:37.018Z] Step 21/26 : EXPOSE 59986 [2024-08-19T20:51:37.018Z] ---> Running in 24e026de6b84 [2024-08-19T20:51:37.018Z] Removing intermediate container 24e026de6b84 [2024-08-19T20:51:37.018Z] ---> 9b659f1f58fc [2024-08-19T20:51:37.018Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-08-19T20:51:37.018Z] ---> Running in 2bf2d4c45ca5 [2024-08-19T20:51:37.277Z] Removing intermediate container 2bf2d4c45ca5 [2024-08-19T20:51:37.277Z] ---> acc34169a48c [2024-08-19T20:51:37.277Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-19T20:51:37.277Z] ---> Running in 12bcddafe4cc [2024-08-19T20:51:37.277Z] Removing intermediate container 12bcddafe4cc [2024-08-19T20:51:37.277Z] ---> 6fde792cd6bb [2024-08-19T20:51:37.277Z] Step 24/26 : LABEL arch=amd64 [2024-08-19T20:51:37.277Z] ---> Running in 9bc5abcd886d [2024-08-19T20:51:37.277Z] Removing intermediate container 9bc5abcd886d [2024-08-19T20:51:37.277Z] ---> 6ffd3ea6dbe7 [2024-08-19T20:51:37.277Z] Step 25/26 : LABEL git_sha=acb5652e152254a6cace4414423a99d9d85da783 [2024-08-19T20:51:37.277Z] ---> Running in cbf1e61a73b3 [2024-08-19T20:51:37.534Z] Removing intermediate container cbf1e61a73b3 [2024-08-19T20:51:37.534Z] ---> 8421bccd5e5a [2024-08-19T20:51:37.534Z] Step 26/26 : LABEL version=0.0.0 [2024-08-19T20:51:37.534Z] ---> Running in 55abdb13fcc2 [2024-08-19T20:51:37.534Z] Removing intermediate container 55abdb13fcc2 [2024-08-19T20:51:37.534Z] ---> 11057a995342 [2024-08-19T20:51:37.534Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-19T20:51:37.534Z] Successfully built 11057a995342 [2024-08-19T20:51:37.534Z] Successfully tagged device-rest: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-08-19T20:51:38.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T20:51:38.529Z] [2024-08-19T20:51:38.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:51:38.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T20:51:38.945Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-19T20:51:38.945Z] 5eb5b503b376: Pulling fs layer [2024-08-19T20:51:38.945Z] 5c69ac0246d0: Pulling fs layer [2024-08-19T20:51:38.945Z] ec43610c2a17: Pulling fs layer [2024-08-19T20:51:38.945Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-19T20:51:38.945Z] 33b1e0a273af: Pulling fs layer [2024-08-19T20:51:38.945Z] 5d3b04190fa2: Pulling fs layer [2024-08-19T20:51:38.945Z] 2f39f015ded8: Pulling fs layer [2024-08-19T20:51:38.945Z] 3a2ae6a8a46f: Waiting [2024-08-19T20:51:38.945Z] 5d3b04190fa2: Waiting [2024-08-19T20:51:38.945Z] 2f39f015ded8: Waiting [2024-08-19T20:51:38.945Z] 33b1e0a273af: Waiting [2024-08-19T20:51:38.945Z] 5c69ac0246d0: Verifying Checksum [2024-08-19T20:51:38.945Z] 5c69ac0246d0: Download complete [2024-08-19T20:51:38.945Z] 3a2ae6a8a46f: Download complete [2024-08-19T20:51:38.945Z] 33b1e0a273af: Verifying Checksum [2024-08-19T20:51:38.945Z] 33b1e0a273af: Download complete [2024-08-19T20:51:38.945Z] 5d3b04190fa2: Download complete [2024-08-19T20:51:38.945Z] ec43610c2a17: Download complete [2024-08-19T20:51:39.203Z] 5eb5b503b376: Download complete [2024-08-19T20:51:39.769Z] 2f39f015ded8: Verifying Checksum [2024-08-19T20:51:39.769Z] 2f39f015ded8: Download complete [2024-08-19T20:51:40.337Z] 5eb5b503b376: Pull complete [2024-08-19T20:51:40.598Z] 5c69ac0246d0: Pull complete [2024-08-19T20:51:41.167Z] ec43610c2a17: Pull complete [2024-08-19T20:51:41.167Z] 3a2ae6a8a46f: Pull complete [2024-08-19T20:51:41.426Z] 33b1e0a273af: Pull complete [2024-08-19T20:51:41.426Z] 5d3b04190fa2: Pull complete [2024-08-19T20:51:45.617Z] 2f39f015ded8: Pull complete [2024-08-19T20:51:45.617Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-19T20:51:45.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T20:51:45.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T20:51:45.907Z] prd-ubuntu20.04-docker-8c-8g-7988 does not seem to be running inside a container [2024-08-19T20:51:45.937Z] $ 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-rest-go_PR-406 -v /w/workspace/gexfoundry_device-rest-go_PR-406:/w/workspace/gexfoundry_device-rest-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-406@tmp:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-19T20:51:49.542Z] $ docker top e8c627fc69665feb31838d2d3055b906c41a6e77f02661cdfbf55b3d916b00fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T20:51:50.065Z] ---> job-cost.sh [2024-08-19T20:51:50.065Z] lf-activate-venv: SKIPPING [2024-08-19T20:51:50.065Z] INFO: No Stack... [2024-08-19T20:51:50.325Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-19T20:51:50.894Z] INFO: Archiving Costs [Pipeline] sh [2024-08-19T20:51:51.222Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-406/archives/cost.csv [2024-08-19T20:51:51.222Z] + cut -d, -f6 [Pipeline] lock [2024-08-19T20:51:51.272Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] [2024-08-19T20:51:51.279Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] did not exist. Created. [2024-08-19T20:51:51.286Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-19T20:51:51.730Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-19T20:51:51.795Z] Stashed 1 file(s) [Pipeline] } [2024-08-19T20:51:51.847Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-19T20:51:51.945Z] $ docker stop --time=1 e8c627fc69665feb31838d2d3055b906c41a6e77f02661cdfbf55b3d916b00fc [2024-08-19T20:51:53.121Z] $ docker rm -f --volumes e8c627fc69665feb31838d2d3055b906c41a6e77f02661cdfbf55b3d916b00fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T20:51:53.654Z] provisioning config files... [2024-08-19T20:51:53.676Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10691581269892239553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T20:51:54.206Z] ---> ****-login.sh [2024-08-19T20:51:54.206Z] nexus3.edgexfoundry.org:10001 [2024-08-19T20:51:54.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:51:54.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:51:54.748Z] Configure a credential helper to remove this warning. See [2024-08-19T20:51:54.748Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:51:54.748Z] [2024-08-19T20:51:54.748Z] Login Succeeded [2024-08-19T20:51:54.748Z] nexus3.edgexfoundry.org:10002 [2024-08-19T20:51:55.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:51:55.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:51:55.028Z] Configure a credential helper to remove this warning. See [2024-08-19T20:51:55.028Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:51:55.028Z] [2024-08-19T20:51:55.028Z] Login Succeeded [2024-08-19T20:51:55.300Z] nexus3.edgexfoundry.org:10003 [2024-08-19T20:51:55.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:51:55.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:51:55.573Z] Configure a credential helper to remove this warning. See [2024-08-19T20:51:55.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:51:55.573Z] [2024-08-19T20:51:55.573Z] Login Succeeded [2024-08-19T20:51:55.573Z] nexus3.edgexfoundry.org:10004 [2024-08-19T20:51:55.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:51:55.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:51:55.843Z] Configure a credential helper to remove this warning. See [2024-08-19T20:51:55.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:51:55.843Z] [2024-08-19T20:51:55.843Z] Login Succeeded [2024-08-19T20:51:55.843Z] ****.io [2024-08-19T20:51:56.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T20:51:56.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T20:51:56.381Z] Configure a credential helper to remove this warning. See [2024-08-19T20:51:56.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T20:51:56.381Z] [2024-08-19T20:51:56.381Z] Login Succeeded [2024-08-19T20:51:56.381Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T20:51:56.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-19T20:51:56.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T20:51:56.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T20:51:56.951Z] ========================================================= [2024-08-19T20:51:56.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-19T20:51:56.951Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:51:57.505Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-19T20:51:57.505Z] Sending build context to Docker daemon 130.6kB [2024-08-19T20:51:57.775Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T20:51:57.775Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-19T20:51:57.775Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-19T20:51:57.775Z] c6b39de5b339: Pulling fs layer [2024-08-19T20:51:57.775Z] a69c41024577: Pulling fs layer [2024-08-19T20:51:57.775Z] d6de4b400683: Pulling fs layer [2024-08-19T20:51:57.775Z] 35cb2a7552d0: Pulling fs layer [2024-08-19T20:51:57.775Z] 4f4fb700ef54: Pulling fs layer [2024-08-19T20:51:57.775Z] 464afbd9ba4c: Pulling fs layer [2024-08-19T20:51:57.775Z] 00f215d4a9da: Pulling fs layer [2024-08-19T20:51:57.775Z] d496ad576159: Pulling fs layer [2024-08-19T20:51:57.775Z] 4f4fb700ef54: Waiting [2024-08-19T20:51:57.775Z] 464afbd9ba4c: Waiting [2024-08-19T20:51:57.775Z] 00f215d4a9da: Waiting [2024-08-19T20:51:57.775Z] d496ad576159: Waiting [2024-08-19T20:51:57.775Z] 35cb2a7552d0: Waiting [2024-08-19T20:51:57.775Z] a69c41024577: Download complete [2024-08-19T20:51:58.049Z] 35cb2a7552d0: Verifying Checksum [2024-08-19T20:51:58.049Z] 35cb2a7552d0: Download complete [2024-08-19T20:51:58.049Z] 4f4fb700ef54: Verifying Checksum [2024-08-19T20:51:58.049Z] 4f4fb700ef54: Download complete [2024-08-19T20:51:58.049Z] 464afbd9ba4c: Verifying Checksum [2024-08-19T20:51:58.049Z] 464afbd9ba4c: Download complete [2024-08-19T20:51:58.049Z] c6b39de5b339: Verifying Checksum [2024-08-19T20:51:58.049Z] c6b39de5b339: Download complete [2024-08-19T20:51:58.319Z] d496ad576159: Verifying Checksum [2024-08-19T20:51:58.319Z] d496ad576159: Download complete [2024-08-19T20:51:58.912Z] c6b39de5b339: Pull complete [2024-08-19T20:51:59.500Z] a69c41024577: Pull complete [2024-08-19T20:51:59.770Z] d6de4b400683: Verifying Checksum [2024-08-19T20:51:59.770Z] d6de4b400683: Download complete [2024-08-19T20:52:01.178Z] 00f215d4a9da: Verifying Checksum [2024-08-19T20:52:01.178Z] 00f215d4a9da: Download complete [2024-08-19T20:52:13.493Z] d6de4b400683: Pull complete [2024-08-19T20:52:13.493Z] 35cb2a7552d0: Pull complete [2024-08-19T20:52:13.493Z] 4f4fb700ef54: Pull complete [2024-08-19T20:52:13.493Z] 464afbd9ba4c: Pull complete [2024-08-19T20:52:21.730Z] 00f215d4a9da: Pull complete [2024-08-19T20:52:23.143Z] d496ad576159: Pull complete [2024-08-19T20:52:23.143Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-19T20:52:23.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-19T20:52:23.143Z] ---> f246e2811388 [2024-08-19T20:52:23.143Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-19T20:52:24.551Z] ---> Running in ded56b320a6a [2024-08-19T20:52:24.827Z] Removing intermediate container ded56b320a6a [2024-08-19T20:52:24.827Z] ---> 7428f09cf7ab [2024-08-19T20:52:24.827Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T20:52:25.095Z] ---> Running in d9966e591e6e [2024-08-19T20:52:25.362Z] Removing intermediate container d9966e591e6e [2024-08-19T20:52:25.362Z] ---> 88fb603675d4 [2024-08-19T20:52:25.362Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T20:52:25.362Z] ---> Running in b8ffb35ea2e3 [2024-08-19T20:52:25.630Z] Removing intermediate container b8ffb35ea2e3 [2024-08-19T20:52:25.630Z] ---> 0c3edc4d0424 [2024-08-19T20:52:25.630Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T20:52:25.630Z] ---> Running in afa6d9a85d5a [2024-08-19T20:52:25.901Z] Removing intermediate container afa6d9a85d5a [2024-08-19T20:52:25.901Z] ---> 4a07bbb55f53 [2024-08-19T20:52:25.901Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T20:52:26.173Z] ---> Running in 5c0d2cadf374 [2024-08-19T20:52:27.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T20:52:27.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T20:52:28.686Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-19T20:52:28.686Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-19T20:52:28.686Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-19T20:52:28.686Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-19T20:52:28.686Z] Executing busybox-1.36.1-r5.trigger [2024-08-19T20:52:28.686Z] OK: 271 MiB in 56 packages [2024-08-19T20:52:29.668Z] Removing intermediate container 5c0d2cadf374 [2024-08-19T20:52:29.668Z] ---> 2638454a6a49 [2024-08-19T20:52:29.668Z] Step 8/12 : WORKDIR /device-rest-go [2024-08-19T20:52:29.668Z] ---> Running in 34dabf11d935 [2024-08-19T20:52:30.253Z] Removing intermediate container 34dabf11d935 [2024-08-19T20:52:30.253Z] ---> eec9cf4ee3fd [2024-08-19T20:52:30.253Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-19T20:52:30.521Z] ---> 60aaf618a1ee [2024-08-19T20:52:30.521Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T20:52:30.789Z] ---> Running in 9b68f72489eb [2024-08-19T20:54:22.441Z] Removing intermediate container 9b68f72489eb [2024-08-19T20:54:22.441Z] ---> ed5d2a969998 [2024-08-19T20:54:22.441Z] Step 11/12 : COPY . . [2024-08-19T20:54:22.441Z] ---> 812a12e87629 [2024-08-19T20:54:22.441Z] Step 12/12 : RUN $MAKE [2024-08-19T20:54:22.441Z] ---> Running in ebed7fe7af98 [2024-08-19T20:54:22.441Z] noop [2024-08-19T20:54:22.441Z] Removing intermediate container ebed7fe7af98 [2024-08-19T20:54:22.441Z] ---> 3fc8eafe1985 [2024-08-19T20:54:22.441Z] Successfully built 3fc8eafe1985 [2024-08-19T20:54:22.441Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:54:22.967Z] + docker inspect -f . ci-base-image-arm64 [2024-08-19T20:54:22.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T20:54:23.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-7990 does not seem to be running inside a container [2024-08-19T20:54:23.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-19T20:54:24.531Z] $ docker top 1f73a5c24c3a6b62f636251384f2633b95658f6c7987bcf420975e78b3a2f87d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T20:54:25.434Z] + go version [2024-08-19T20:54:25.434Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-19T20:54:25.468Z] $ docker stop --time=1 1f73a5c24c3a6b62f636251384f2633b95658f6c7987bcf420975e78b3a2f87d [2024-08-19T20:54:27.097Z] $ docker rm -f --volumes 1f73a5c24c3a6b62f636251384f2633b95658f6c7987bcf420975e78b3a2f87d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:54:27.970Z] + docker inspect -f . ci-base-image-arm64 [2024-08-19T20:54:27.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T20:54:28.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-7990 does not seem to be running inside a container [2024-08-19T20:54:28.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-19T20:54:29.653Z] $ docker top 00ed0f981ce695556844a589a8bb1adb8f576251eb48ed4932837d65a7caf51a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T20:54:30.566Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-19T20:54:31.285Z] + make test [2024-08-19T20:54:31.285Z] go test ./... -coverprofile=coverage.out ./... [2024-08-19T20:54:36.651Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-08-19T20:58:13.483Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-08-19T20:58:13.483Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 33.2% of statements [2024-08-19T20:58:13.483Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-19T20:58:13.483Z] go vet ./... [2024-08-19T20:59:00.355Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-19T20:59:00.355Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-19T20:59:00.355Z] ./bin/test-attribution-txt.sh [2024-08-19T20:59:00.355Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-19T20:59:00.355Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-19T20:59:00.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-19T20:59:00.448Z] $ docker stop --time=1 00ed0f981ce695556844a589a8bb1adb8f576251eb48ed4932837d65a7caf51a [2024-08-19T20:59:02.351Z] $ docker rm -f --volumes 00ed0f981ce695556844a589a8bb1adb8f576251eb48ed4932837d65a7caf51a [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T20:59:03.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-19T20:59:03.917Z] Warning: overwriting stash ‘coverage-report’ [2024-08-19T20:59:04.425Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T20:59:05.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-19T20:59:05.591Z] + ls -al . [2024-08-19T20:59:05.591Z] total 244 [2024-08-19T20:59:05.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 20:54 . [2024-08-19T20:59:05.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 20:51 .. [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 19 20:51 .dockerignore [2024-08-19T20:59:05.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 20:51 .git [2024-08-19T20:59:05.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:51 .github [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 19 20:51 .gitignore [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 19 20:51 .golangci.yml [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 19 20:51 Attribution.txt [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 17685 Aug 19 20:51 CHANGELOG.md [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 1687 Aug 19 20:51 Dockerfile [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 20:51 GOVERNANCE.md [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 19 20:51 Jenkinsfile [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 19 20:51 LICENSE [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 2016 Aug 19 20:51 Makefile [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 19 20:51 OWNERS.md [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 3989 Aug 19 20:51 README.md [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 20:48 VERSION [2024-08-19T20:59:05.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:51 bin [2024-08-19T20:59:05.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:51 cmd [2024-08-19T20:59:05.591Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 19 20:58 coverage.out [2024-08-19T20:59:05.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:51 driver [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 7134 Aug 19 20:51 go.mod [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 19 20:51 go.sum [2024-08-19T20:59:05.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:51 openapi [2024-08-19T20:59:05.591Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 19 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T20:59:06.020Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=acb5652e152254a6cace4414423a99d9d85da783 --label arch=arm64 --label version=0.0.0 . [2024-08-19T20:59:06.020Z] Sending build context to Docker daemon 145.9kB [2024-08-19T20:59:06.287Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T20:59:06.287Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-19T20:59:06.287Z] ---> 3fc8eafe1985 [2024-08-19T20:59:06.287Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-19T20:59:06.287Z] ---> Running in 38670a30c3cd [2024-08-19T20:59:06.553Z] Removing intermediate container 38670a30c3cd [2024-08-19T20:59:06.553Z] ---> 4b9fe4791b58 [2024-08-19T20:59:06.553Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T20:59:06.819Z] ---> Running in 8a23a3b87b69 [2024-08-19T20:59:07.086Z] Removing intermediate container 8a23a3b87b69 [2024-08-19T20:59:07.086Z] ---> 4645ed09d702 [2024-08-19T20:59:07.086Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T20:59:07.086Z] ---> Running in 963affe1dad4 [2024-08-19T20:59:07.352Z] Removing intermediate container 963affe1dad4 [2024-08-19T20:59:07.352Z] ---> 9ef510fa397c [2024-08-19T20:59:07.352Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T20:59:07.352Z] ---> Running in a625b0999eec [2024-08-19T20:59:07.626Z] Removing intermediate container a625b0999eec [2024-08-19T20:59:07.626Z] ---> da66618472d9 [2024-08-19T20:59:07.626Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T20:59:07.898Z] ---> Running in a8856d667da6 [2024-08-19T20:59:08.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T20:59:09.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T20:59:10.093Z] OK: 271 MiB in 56 packages [2024-08-19T20:59:11.055Z] Removing intermediate container a8856d667da6 [2024-08-19T20:59:11.055Z] ---> 3cb1b3aff8aa [2024-08-19T20:59:11.055Z] Step 8/26 : WORKDIR /device-rest-go [2024-08-19T20:59:11.055Z] ---> Running in 405bad1d9cd8 [2024-08-19T20:59:11.323Z] Removing intermediate container 405bad1d9cd8 [2024-08-19T20:59:11.323Z] ---> cfcb8ec9f863 [2024-08-19T20:59:11.323Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-19T20:59:11.907Z] ---> 87ccefa6c9e4 [2024-08-19T20:59:11.907Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T20:59:11.907Z] ---> Running in eff700639af6 [2024-08-19T20:59:14.479Z] Removing intermediate container eff700639af6 [2024-08-19T20:59:14.479Z] ---> 332fabe153ef [2024-08-19T20:59:14.479Z] Step 11/26 : COPY . . [2024-08-19T20:59:15.074Z] ---> 1e559db15fad [2024-08-19T20:59:15.075Z] Step 12/26 : RUN $MAKE [2024-08-19T20:59:15.075Z] ---> Running in 308862196f05 [2024-08-19T20:59:16.489Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.31" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-08-19T21:02:38.505Z] Removing intermediate container 308862196f05 [2024-08-19T21:02:38.505Z] ---> 5d2d13899398 [2024-08-19T21:02:38.505Z] Step 13/26 : FROM alpine:3.18 [2024-08-19T21:02:38.505Z] 3.18: Pulling from library/alpine [2024-08-19T21:02:38.505Z] 4983c3fe2029: Pulling fs layer [2024-08-19T21:02:38.505Z] 4983c3fe2029: Verifying Checksum [2024-08-19T21:02:38.505Z] 4983c3fe2029: Download complete [2024-08-19T21:02:38.505Z] 4983c3fe2029: Pull complete [2024-08-19T21:02:38.505Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-19T21:02:38.505Z] Status: Downloaded newer image for alpine:3.18 [2024-08-19T21:02:38.505Z] ---> a0237000ae83 [2024-08-19T21:02:38.505Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-19T21:02:38.505Z] ---> Running in e8746e161062 [2024-08-19T21:02:38.505Z] Removing intermediate container e8746e161062 [2024-08-19T21:02:38.505Z] ---> 7f652d666a76 [2024-08-19T21:02:38.505Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-08-19T21:02:38.505Z] ---> Running in 85fc88bb6963 [2024-08-19T21:02:38.505Z] Removing intermediate container 85fc88bb6963 [2024-08-19T21:02:38.505Z] ---> 733f85707b8b [2024-08-19T21:02:38.505Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-08-19T21:02:38.505Z] ---> Running in e9d304e65320 [2024-08-19T21:02:38.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T21:02:38.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T21:02:38.505Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-19T21:02:38.505Z] Executing busybox-1.36.1-r7.trigger [2024-08-19T21:02:38.505Z] OK: 8 MiB in 16 packages [2024-08-19T21:02:38.505Z] Removing intermediate container e9d304e65320 [2024-08-19T21:02:38.505Z] ---> 7d7c208e60d0 [2024-08-19T21:02:38.505Z] Step 17/26 : RUN apk --no-cache upgrade [2024-08-19T21:02:38.505Z] ---> Running in 7200d051ec62 [2024-08-19T21:02:38.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T21:02:38.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T21:02:38.505Z] OK: 8 MiB in 16 packages [2024-08-19T21:02:38.505Z] Removing intermediate container 7200d051ec62 [2024-08-19T21:02:38.505Z] ---> e5396c0634c5 [2024-08-19T21:02:38.505Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-08-19T21:02:40.436Z] ---> dd8a5ad2503d [2024-08-19T21:02:40.436Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-08-19T21:02:40.436Z] ---> 3e9d225e54ef [2024-08-19T21:02:40.436Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-08-19T21:02:41.016Z] ---> 86390d2fb9fa [2024-08-19T21:02:41.016Z] Step 21/26 : EXPOSE 59986 [2024-08-19T21:02:41.016Z] ---> Running in 6e4cb0e47d04 [2024-08-19T21:02:41.280Z] Removing intermediate container 6e4cb0e47d04 [2024-08-19T21:02:41.280Z] ---> 2bfb36b00a46 [2024-08-19T21:02:41.280Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-08-19T21:02:41.544Z] ---> Running in d5b86e54ba8a [2024-08-19T21:02:41.544Z] Removing intermediate container d5b86e54ba8a [2024-08-19T21:02:41.544Z] ---> 98fbaac29f80 [2024-08-19T21:02:41.544Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-19T21:02:41.810Z] ---> Running in 820c4e1fe9cc [2024-08-19T21:02:42.076Z] Removing intermediate container 820c4e1fe9cc [2024-08-19T21:02:42.076Z] ---> d8d540f6938c [2024-08-19T21:02:42.076Z] Step 24/26 : LABEL arch=arm64 [2024-08-19T21:02:42.076Z] ---> Running in 7663c41dc6a8 [2024-08-19T21:02:42.342Z] Removing intermediate container 7663c41dc6a8 [2024-08-19T21:02:42.342Z] ---> 29f163e72fc3 [2024-08-19T21:02:42.342Z] Step 25/26 : LABEL git_sha=acb5652e152254a6cace4414423a99d9d85da783 [2024-08-19T21:02:42.342Z] ---> Running in 0ecbd2bbc3c0 [2024-08-19T21:02:42.923Z] Removing intermediate container 0ecbd2bbc3c0 [2024-08-19T21:02:42.923Z] ---> eda00264034c [2024-08-19T21:02:42.923Z] Step 26/26 : LABEL version=0.0.0 [2024-08-19T21:02:42.923Z] ---> Running in b4e3a24706a8 [2024-08-19T21:02:43.186Z] Removing intermediate container b4e3a24706a8 [2024-08-19T21:02:43.186Z] ---> 08f305fc19b7 [2024-08-19T21:02:43.186Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-19T21:02:43.186Z] Successfully built 08f305fc19b7 [2024-08-19T21:02:43.186Z] Successfully tagged device-rest-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-08-19T21:02:44.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T21:02:44.129Z] [2024-08-19T21:02:44.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T21:02:44.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T21:02:44.551Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-19T21:02:44.551Z] 8998bd30e6a1: Pulling fs layer [2024-08-19T21:02:44.551Z] 04944245beec: Pulling fs layer [2024-08-19T21:02:44.551Z] 699f458cf7ca: Pulling fs layer [2024-08-19T21:02:44.551Z] 765212b225bb: Pulling fs layer [2024-08-19T21:02:44.551Z] f23df028b6ca: Pulling fs layer [2024-08-19T21:02:44.551Z] d65c8cfc05b1: Pulling fs layer [2024-08-19T21:02:44.551Z] 2437ff75d9bd: Pulling fs layer [2024-08-19T21:02:44.551Z] f23df028b6ca: Waiting [2024-08-19T21:02:44.551Z] 765212b225bb: Waiting [2024-08-19T21:02:44.551Z] 2437ff75d9bd: Waiting [2024-08-19T21:02:44.816Z] 04944245beec: Verifying Checksum [2024-08-19T21:02:44.816Z] 04944245beec: Download complete [2024-08-19T21:02:44.816Z] 765212b225bb: Verifying Checksum [2024-08-19T21:02:44.816Z] 765212b225bb: Download complete [2024-08-19T21:02:44.816Z] f23df028b6ca: Verifying Checksum [2024-08-19T21:02:44.816Z] f23df028b6ca: Download complete [2024-08-19T21:02:44.816Z] d65c8cfc05b1: Verifying Checksum [2024-08-19T21:02:44.816Z] d65c8cfc05b1: Download complete [2024-08-19T21:02:44.816Z] 699f458cf7ca: Verifying Checksum [2024-08-19T21:02:44.816Z] 699f458cf7ca: Download complete [2024-08-19T21:02:45.395Z] 8998bd30e6a1: Verifying Checksum [2024-08-19T21:02:45.395Z] 8998bd30e6a1: Download complete [2024-08-19T21:02:47.964Z] 2437ff75d9bd: Verifying Checksum [2024-08-19T21:02:47.964Z] 2437ff75d9bd: Download complete [2024-08-19T21:02:49.904Z] 8998bd30e6a1: Pull complete [2024-08-19T21:02:50.169Z] 04944245beec: Pull complete [2024-08-19T21:02:52.102Z] 699f458cf7ca: Pull complete [2024-08-19T21:02:52.102Z] 765212b225bb: Pull complete [2024-08-19T21:02:53.054Z] f23df028b6ca: Pull complete [2024-08-19T21:02:53.054Z] d65c8cfc05b1: Pull complete [2024-08-19T21:03:11.265Z] 2437ff75d9bd: Pull complete [2024-08-19T21:03:11.265Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-19T21:03:11.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T21:03:11.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T21:03:11.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-7990 does not seem to be running inside a container [2024-08-19T21:03:11.672Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-19T21:03:14.297Z] $ docker top c2245e691b1dc08a14ae859ec42a8856f487ea763f9ab259d3e3b836570f6a29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:15.231Z] ---> job-cost.sh [2024-08-19T21:03:15.231Z] lf-activate-venv: SKIPPING [2024-08-19T21:03:15.231Z] INFO: No Stack... [2024-08-19T21:03:15.495Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-19T21:03:16.450Z] INFO: Archiving Costs [Pipeline] sh [2024-08-19T21:03:17.106Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-08-19T21:03:17.106Z] + cut -d, -f6 [Pipeline] lock [2024-08-19T21:03:17.185Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] [2024-08-19T21:03:17.191Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] did not exist. Created. [2024-08-19T21:03:17.198Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-19T21:03:17.951Z] /w/workspace/device-rest-go/1@tmp/durable-1ed1bbd8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-19T21:03:18.617Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-19T21:03:18.666Z] Warning: overwriting stash ‘stack-cost’ [2024-08-19T21:03:18.704Z] Stashed 1 file(s) [Pipeline] } [2024-08-19T21:03:18.727Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-19T21:03:18.820Z] $ docker stop --time=1 c2245e691b1dc08a14ae859ec42a8856f487ea763f9ab259d3e3b836570f6a29 [2024-08-19T21:03:20.304Z] $ docker rm -f --volumes c2245e691b1dc08a14ae859ec42a8856f487ea763f9ab259d3e3b836570f6a29 [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-08-19T21:03:21.479Z] provisioning config files... [2024-08-19T21:03:21.487Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp/config6290866644505137500tmp [Pipeline] { [Pipeline] sh [2024-08-19T21:03:21.842Z] + set +x [2024-08-19T21:03:21.842Z] + + curl -s https://codecov.io/bash [2024-08-19T21:03:21.842Z] bash -s -- [2024-08-19T21:03:21.842Z] [2024-08-19T21:03:21.842Z] _____ _ [2024-08-19T21:03:21.842Z] / ____| | | [2024-08-19T21:03:21.842Z] | | ___ __| | ___ ___ _____ __ [2024-08-19T21:03:21.842Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-19T21:03:21.842Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-19T21:03:21.842Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-19T21:03:21.842Z] Bash-1.0.6 [2024-08-19T21:03:21.842Z] [2024-08-19T21:03:21.842Z] [2024-08-19T21:03:21.842Z] ==> git version 2.25.1 found [2024-08-19T21:03:21.842Z] ==> 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-08-19T21:03:21.842Z] Release-Date: 2020-01-08 [2024-08-19T21:03:21.842Z] 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-08-19T21:03:21.842Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-19T21:03:21.842Z] ==> Jenkins CI detected. [2024-08-19T21:03:21.842Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-406 [2024-08-19T21:03:21.842Z] project root: . [2024-08-19T21:03:21.842Z] --> token set from env [2024-08-19T21:03:21.842Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-19T21:03:22.102Z] ==> Running gcov in . (disable via -X gcov) [2024-08-19T21:03:22.102Z] ==> Python coveragepy not found [2024-08-19T21:03:22.102Z] ==> Searching for coverage reports in: [2024-08-19T21:03:22.102Z] + . [2024-08-19T21:03:22.102Z] -> Found 1 reports [2024-08-19T21:03:22.102Z] ==> Detecting git/mercurial file structure [2024-08-19T21:03:22.102Z] ==> Reading reports [2024-08-19T21:03:22.102Z] + ./coverage.out bytes=14499 [2024-08-19T21:03:22.102Z] ==> Appending adjustments [2024-08-19T21:03:22.103Z] https://docs.codecov.io/docs/fixing-reports [2024-08-19T21:03:22.103Z] + Found adjustments [2024-08-19T21:03:22.103Z] ==> Gzipping contents [2024-08-19T21:03:22.103Z] 4.0K /tmp/codecov.CD2BJi.gz [2024-08-19T21:03:22.103Z] ==> Uploading reports [2024-08-19T21:03:22.103Z] url: https://codecov.io [2024-08-19T21:03:22.103Z] query: branch=PR-406&commit=acb5652e152254a6cace4414423a99d9d85da783&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=406&job=&cmd_args= [2024-08-19T21:03:22.103Z] -> Pinging Codecov [2024-08-19T21:03:22.103Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-406&commit=acb5652e152254a6cace4414423a99d9d85da783&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=406&job=&cmd_args= [2024-08-19T21:03:22.673Z] -> Uploading to [2024-08-19T21:03:22.673Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-19/4E5D53B4F1F92C436F7061BF334D961C/acb5652e152254a6cace4414423a99d9d85da783/6bbf8c40-a983-4319-8a61-bbfc90c89f79.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240819%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240819T210322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e5fdf04fb282af4fcee2e08fc7b7a965d130ba1c2e8f20977b888fd019d3b6c [2024-08-19T21:03:22.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-19T21:03:22.673Z] Dload Upload Total Spent Left Speed [2024-08-19T21:03:22.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10047 --:--:-- --:--:-- --:--:-- 10004 [2024-08-19T21:03:22.933Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/acb5652e152254a6cace4414423a99d9d85da783 [Pipeline] } [2024-08-19T21:03:22.970Z] 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-08-19T21:03:25.148Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-406/archives ] [2024-08-19T21:03:25.148Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-406/archives [2024-08-19T21:03:25.148Z] total 16 [2024-08-19T21:03:25.148Z] drwxr-xr-x 3 root root 4096 Aug 19 20:51 . [2024-08-19T21:03:25.148Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 19 20:51 .. [2024-08-19T21:03:25.148Z] drwxr-xr-x 2 root root 4096 Aug 19 20:51 cost [2024-08-19T21:03:25.148Z] -rw-r--r-- 1 root root 86 Aug 19 20:51 cost.csv [2024-08-19T21:03:25.148Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-406/archives [2024-08-19T21:03:25.148Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-406/archives [2024-08-19T21:03:25.148Z] total 16 [2024-08-19T21:03:25.148Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 20:51 . [2024-08-19T21:03:25.148Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 19 20:51 .. [2024-08-19T21:03:25.148Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 19 20:51 cost [2024-08-19T21:03:25.148Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 19 20:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:25.485Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:26.395Z] ---> package-listing.sh [2024-08-19T21:03:26.395Z] ++ facter osfamily [2024-08-19T21:03:26.395Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-19T21:03:26.654Z] + OS_FAMILY=debian [2024-08-19T21:03:26.655Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-406 [2024-08-19T21:03:26.655Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-19T21:03:26.655Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-19T21:03:26.655Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-19T21:03:26.655Z] + PACKAGES=/tmp/packages_start.txt [2024-08-19T21:03:26.655Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-406 ']' [2024-08-19T21:03:26.655Z] + PACKAGES=/tmp/packages_end.txt [2024-08-19T21:03:26.655Z] + case "${OS_FAMILY}" in [2024-08-19T21:03:26.655Z] + dpkg -l [2024-08-19T21:03:26.655Z] + grep '^ii' [2024-08-19T21:03:26.655Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-19T21:03:26.655Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-19T21:03:26.655Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-19T21:03:26.655Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-406 ']' [2024-08-19T21:03:26.655Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-406/archives/ [2024-08-19T21:03:26.655Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-406/archives/ [Pipeline] echo [2024-08-19T21:03:26.700Z] 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-rest-go_PR-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-19T21:03:26.999Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T21:03:27.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T21:03:27.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T21:03:27.813Z] prd-ubuntu20.04-docker-8c-8g-7988 does not seem to be running inside a container [2024-08-19T21:03:27.840Z] $ 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-rest-go_PR-406/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-rest-go_PR-406 -v /w/workspace/gexfoundry_device-rest-go_PR-406:/w/workspace/gexfoundry_device-rest-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-406@tmp:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-19T21:03:28.054Z] $ docker top c7304edf19909fd46b3f98bef38ecf5a436d965819ac617933e109a982d11d7e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T21:03:28.462Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-19T21:03:28.775Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-19T21:03:29.097Z] + ls /var/log/sa-host [2024-08-19T21:03:29.097Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T21:03:29.340Z] provisioning config files... [2024-08-19T21:03:29.349Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-406@tmp/config15041517432802599640tmp [Pipeline] { [Pipeline] echo [2024-08-19T21:03:29.415Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:29.736Z] ---> create-netrc.sh [Pipeline] } [2024-08-19T21:03:29.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:30.193Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-19T21:03:30.235Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:30.668Z] ---> sudo-logs.sh [2024-08-19T21:03:30.668Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-19T21:03:30.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:31.235Z] ---> job-cost.sh [2024-08-19T21:03:31.235Z] lf-activate-venv: SKIPPING [2024-08-19T21:03:31.235Z] DEBUG: total: 0.2199999988079071 [2024-08-19T21:03:31.235Z] INFO: Retrieving Stack Cost... [2024-08-19T21:03:31.516Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-19T21:03:31.775Z] INFO: Archiving Costs [Pipeline] echo [2024-08-19T21:03:31.826Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T21:03:32.160Z] ---> logs-deploy.sh [2024-08-19T21:03:32.160Z] lf-activate-venv: SKIPPING [2024-08-19T21:03:32.160Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-406/1 [2024-08-19T21:03:32.160Z] INFO: archiving workspace using pattern(s): [2024-08-19T21:03:33.097Z] Archives upload complete. [2024-08-19T21:03:33.097Z] INFO: archiving logs to Nexus