Pull request #402 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7+f16f1098eb92bf801dde80d57265cdf1f99e8d64 (6d574490f072b5aca236ace51af8be78e2cb87fb) 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-ssh2749974983292389130.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-ssh8218301054369376429.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-402/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-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10616262452001235619.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-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8419182090404899215.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-ssh992386490410710497.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-402/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-402/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8790829538362381068.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-6471 in /w/workspace/gexfoundry_device-rest-go_PR-402 [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-402 # 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 Merging remotes/origin/main commit f16f1098eb92bf801dde80d57265cdf1f99e8d64 into PR head commit 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 Merge succeeded, producing 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 Checking out Revision 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 (PR-402) 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 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/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 # 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 f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-25T20:07:45.264Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-25T20:07:45.590Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-25T20:07:45.725Z] ========================================================= [2024-07-25T20:07:45.725Z] EdgeX Global Pipelines Version Info [2024-07-25T20:07:45.725Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:07:46.499Z] ------------------- [2024-07-25T20:07:46.499Z] stable info: [2024-07-25T20:07:46.499Z] ------------------- [2024-07-25T20:07:46.499Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T20:07:46.499Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-25T20:07:46.499Z] Message: update stable to v1.0.260 [2024-07-25T20:07:47.073Z] ------------------- [2024-07-25T20:07:47.073Z] experimental info: [2024-07-25T20:07:47.073Z] ------------------- [2024-07-25T20:07:47.073Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T20:07:47.073Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-25T20:07:47.073Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-25T20:07:47.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-25T20:07:47.370Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-25T20:07:47.435Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-25T20:07:47.494Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-25T20:07:47.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-25T20:07:47.610Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-25T20:07:47.680Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-25T20:07:47.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-25T20:07:47.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-25T20:07:47.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-25T20:07:47.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-25T20:07:47.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-25T20:07:48.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-25T20:07:48.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-25T20:07:48.196Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T20:07:48.354Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T20:07:48.425Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T20:07:48.487Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T20:07:48.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-25T20:07:48.624Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-25T20:07:48.682Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-25T20:07:48.743Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-25T20:07:48.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-25T20:07:48.861Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-25T20:07:48.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-25T20:07:48.975Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-25T20:07:49.033Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-25T20:07:49.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-402 [Pipeline] echo [2024-07-25T20:07:49.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-402 [Pipeline] echo [2024-07-25T20:07:49.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-402 [Pipeline] echo [2024-07-25T20:07:49.268Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [Pipeline] echo [2024-07-25T20:07:49.328Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e1c6af [Pipeline] echo [2024-07-25T20:07:49.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T20:07:49.540Z] provisioning config files... [2024-07-25T20:07:49.558Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-402@tmp/config15480703230843091381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:07:49.966Z] ---> ****-login.sh [2024-07-25T20:07:49.966Z] nexus3.edgexfoundry.org:10001 [2024-07-25T20:07:50.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:07:50.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:07:50.228Z] Configure a credential helper to remove this warning. See [2024-07-25T20:07:50.228Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:07:50.228Z] [2024-07-25T20:07:50.228Z] Login Succeeded [2024-07-25T20:07:50.228Z] nexus3.edgexfoundry.org:10002 [2024-07-25T20:07:50.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:07:50.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:07:50.492Z] Configure a credential helper to remove this warning. See [2024-07-25T20:07:50.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:07:50.492Z] [2024-07-25T20:07:50.492Z] Login Succeeded [2024-07-25T20:07:50.492Z] nexus3.edgexfoundry.org:10003 [2024-07-25T20:07:50.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:07:50.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:07:50.492Z] Configure a credential helper to remove this warning. See [2024-07-25T20:07:50.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:07:50.492Z] [2024-07-25T20:07:50.492Z] Login Succeeded [2024-07-25T20:07:50.492Z] nexus3.edgexfoundry.org:10004 [2024-07-25T20:07:50.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:07:50.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:07:50.753Z] Configure a credential helper to remove this warning. See [2024-07-25T20:07:50.754Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:07:50.754Z] [2024-07-25T20:07:50.754Z] Login Succeeded [2024-07-25T20:07:50.754Z] ****.io [2024-07-25T20:07:50.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:07:51.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:07:51.015Z] Configure a credential helper to remove this warning. See [2024-07-25T20:07:51.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:07:51.015Z] [2024-07-25T20:07:51.015Z] Login Succeeded [2024-07-25T20:07:51.015Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T20:07:51.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-25T20:07:51.726Z] + git rev-list -1 --merges 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7~1..0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [Pipeline] echo [2024-07-25T20:07:51.770Z] -----------> git rev-list -1 --merges 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7~1..0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [false] [Pipeline] sh [2024-07-25T20:07:52.098Z] + git log --format=format:%s -1 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [Pipeline] echo [2024-07-25T20:07:52.145Z] ========================================================= [2024-07-25T20:07:52.145Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-25T20:07:52.145Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T20:07:52.603Z] + git log --format=format:%s -1 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [Pipeline] echo [2024-07-25T20:07:52.641Z] [semverPrep] GIT_COMMIT: 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-25T20:07:52.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-25T20:07:53.095Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T20:07:53.095Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-25T20:07:53.095Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-25T20:07:53.095Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-25T20:07:53.095Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-25T20:07:53.095Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-25T20:07:53.095Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:07:53.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T20:07:53.603Z] [2024-07-25T20:07:53.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:07:53.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T20:07:53.999Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-25T20:07:53.999Z] b85a868b505f: Pulling fs layer [2024-07-25T20:07:53.999Z] e2be974225ed: Pulling fs layer [2024-07-25T20:07:53.999Z] 339a4e72a1f5: Pulling fs layer [2024-07-25T20:07:53.999Z] 988bab9f4d93: Pulling fs layer [2024-07-25T20:07:53.999Z] 1469e6f7b9e6: Pulling fs layer [2024-07-25T20:07:53.999Z] eaf3925da568: Pulling fs layer [2024-07-25T20:07:53.999Z] bab4dde63d76: Pulling fs layer [2024-07-25T20:07:53.999Z] bde34c3a00c8: Pulling fs layer [2024-07-25T20:07:53.999Z] b352a97aabf1: Pulling fs layer [2024-07-25T20:07:53.999Z] 4872d77fe225: Pulling fs layer [2024-07-25T20:07:53.999Z] 5851b861e8e6: Pulling fs layer [2024-07-25T20:07:53.999Z] b352a97aabf1: Waiting [2024-07-25T20:07:53.999Z] eaf3925da568: Waiting [2024-07-25T20:07:53.999Z] 1469e6f7b9e6: Waiting [2024-07-25T20:07:53.999Z] bde34c3a00c8: Waiting [2024-07-25T20:07:53.999Z] 988bab9f4d93: Waiting [2024-07-25T20:07:53.999Z] 5851b861e8e6: Waiting [2024-07-25T20:07:53.999Z] 4872d77fe225: Waiting [2024-07-25T20:07:53.999Z] bab4dde63d76: Waiting [2024-07-25T20:07:53.999Z] e2be974225ed: Download complete [2024-07-25T20:07:53.999Z] 988bab9f4d93: Verifying Checksum [2024-07-25T20:07:53.999Z] 988bab9f4d93: Download complete [2024-07-25T20:07:54.259Z] 1469e6f7b9e6: Verifying Checksum [2024-07-25T20:07:54.259Z] 1469e6f7b9e6: Download complete [2024-07-25T20:07:54.259Z] 339a4e72a1f5: Verifying Checksum [2024-07-25T20:07:54.259Z] 339a4e72a1f5: Download complete [2024-07-25T20:07:54.259Z] eaf3925da568: Verifying Checksum [2024-07-25T20:07:54.259Z] eaf3925da568: Download complete [2024-07-25T20:07:54.259Z] bde34c3a00c8: Download complete [2024-07-25T20:07:54.259Z] b352a97aabf1: Download complete [2024-07-25T20:07:54.259Z] 4872d77fe225: Download complete [2024-07-25T20:07:54.259Z] 5851b861e8e6: Download complete [2024-07-25T20:07:54.259Z] b85a868b505f: Verifying Checksum [2024-07-25T20:07:54.259Z] b85a868b505f: Download complete [2024-07-25T20:07:54.518Z] bab4dde63d76: Verifying Checksum [2024-07-25T20:07:54.518Z] bab4dde63d76: Download complete [2024-07-25T20:07:55.455Z] b85a868b505f: Pull complete [2024-07-25T20:07:55.713Z] e2be974225ed: Pull complete [2024-07-25T20:07:56.283Z] 339a4e72a1f5: Pull complete [2024-07-25T20:07:56.542Z] 988bab9f4d93: Pull complete [2024-07-25T20:07:56.801Z] 1469e6f7b9e6: Pull complete [2024-07-25T20:07:56.801Z] eaf3925da568: Pull complete [2024-07-25T20:07:58.719Z] bab4dde63d76: Pull complete [2024-07-25T20:07:58.719Z] bde34c3a00c8: Pull complete [2024-07-25T20:07:58.719Z] b352a97aabf1: Pull complete [2024-07-25T20:07:58.978Z] 4872d77fe225: Pull complete [2024-07-25T20:07:58.978Z] 5851b861e8e6: Pull complete [2024-07-25T20:07:58.978Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-25T20:07:58.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T20:07:58.978Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:07:59.270Z] prd-ubuntu20.04-docker-8c-8g-6471 does not seem to be running inside a container [2024-07-25T20:07:59.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-402 -v /w/workspace/gexfoundry_device-rest-go_PR-402:/w/workspace/gexfoundry_device-rest-go_PR-402:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-402@tmp:/w/workspace/gexfoundry_device-rest-go_PR-402@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-07-25T20:08:02.262Z] $ docker top a703f0344f4bb12639684ba32cb3e5b4e7e582991569dc31249744e402f53c34 -eo pid,comm [2024-07-25T20:08:02.323Z] 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-07-25T20:08:02.323Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T20:08:02.487Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T20:08:02.487Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T20:08:02.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T20:08:02.623Z] $ docker exec a703f0344f4bb12639684ba32cb3e5b4e7e582991569dc31249744e402f53c34 ssh-agent [2024-07-25T20:08:02.742Z] SSH_AUTH_SOCK=/tmp/ssh-M1uz9pWwNYRE/agent.32 [2024-07-25T20:08:02.742Z] SSH_AGENT_PID=38 [2024-07-25T20:08:02.748Z] Running ssh-add (command line suppressed) [2024-07-25T20:08:02.855Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-402@tmp/private_key_4887266754655057327.key (/w/workspace/gexfoundry_device-rest-go_PR-402@tmp/private_key_4887266754655057327.key) [2024-07-25T20:08:02.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T20:08:03.211Z] + git tag --points-at HEAD [Pipeline] } [2024-07-25T20:08:03.240Z] $ docker exec --env ******** --env ******** a703f0344f4bb12639684ba32cb3e5b4e7e582991569dc31249744e402f53c34 ssh-agent -k [2024-07-25T20:08:03.344Z] unset SSH_AUTH_SOCK; [2024-07-25T20:08:03.345Z] unset SSH_AGENT_PID; [2024-07-25T20:08:03.345Z] echo Agent pid 38 killed; [2024-07-25T20:08:03.357Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-25T20:08:03.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T20:08:03.485Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T20:08:04.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T20:08:04.997Z] $ docker exec a703f0344f4bb12639684ba32cb3e5b4e7e582991569dc31249744e402f53c34 ssh-agent [2024-07-25T20:08:05.610Z] SSH_AUTH_SOCK=/tmp/ssh-JL8jPcH1RCSE/agent.72 [2024-07-25T20:08:05.610Z] SSH_AGENT_PID=78 [2024-07-25T20:08:05.936Z] Running ssh-add (command line suppressed) [2024-07-25T20:08:06.045Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-402@tmp/private_key_15209624321815737007.key (/w/workspace/gexfoundry_device-rest-go_PR-402@tmp/private_key_15209624321815737007.key) [2024-07-25T20:08:07.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T20:08:08.188Z] + git semver init [2024-07-25T20:08:08.449Z] 2024-07-25 20:08:08,379 [run_init] DEBUG init version:0.0.0 force:False [2024-07-25T20:08:08.449Z] 2024-07-25 20:08:08,381 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-402/.semver [2024-07-25T20:08:08.449Z] 2024-07-25 20:08:08,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-402/.semver [2024-07-25T20:08:08.449Z] 2024-07-25 20:08:08,382 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-402/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-402, universal_newlines=False, shell=None, istream=None) [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,735 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-402/.git/info/exclude [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-402/.semver/PR-402 with force:False [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,736 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-402/.semver/PR-402 [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,740 [execute] INFO git cat-file --batch-check [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-402/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,745 [execute] INFO git cat-file --batch [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-402/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T20:08:09.845Z] 2024-07-25 20:08:09,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-402/.semver/PR-402 [2024-07-25T20:08:09.845Z] 0.0.0 [Pipeline] } [2024-07-25T20:08:09.902Z] $ docker exec --env ******** --env ******** a703f0344f4bb12639684ba32cb3e5b4e7e582991569dc31249744e402f53c34 ssh-agent -k [2024-07-25T20:08:09.990Z] unset SSH_AUTH_SOCK; [2024-07-25T20:08:09.991Z] unset SSH_AGENT_PID; [2024-07-25T20:08:09.991Z] echo Agent pid 78 killed; [2024-07-25T20:08:10.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T20:08:10.460Z] + git semver [Pipeline] } [2024-07-25T20:08:10.754Z] $ docker stop --time=1 a703f0344f4bb12639684ba32cb3e5b4e7e582991569dc31249744e402f53c34 [2024-07-25T20:08:12.087Z] $ docker rm -f --volumes a703f0344f4bb12639684ba32cb3e5b4e7e582991569dc31249744e402f53c34 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T20:08:12.524Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-25T20:08:12.847Z] Stashed 1 file(s) [Pipeline] echo [2024-07-25T20:08:12.873Z] [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-07-25T20:08:13.622Z] provisioning config files... [2024-07-25T20:08:13.634Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-402@tmp/config5125616961014738615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:08:14.021Z] ---> ****-login.sh [2024-07-25T20:08:14.021Z] nexus3.edgexfoundry.org:10001 [2024-07-25T20:08:14.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:08:14.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:08:14.021Z] Configure a credential helper to remove this warning. See [2024-07-25T20:08:14.021Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:08:14.021Z] [2024-07-25T20:08:14.021Z] Login Succeeded [2024-07-25T20:08:14.021Z] nexus3.edgexfoundry.org:10002 [2024-07-25T20:08:14.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:08:14.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:08:14.022Z] Configure a credential helper to remove this warning. See [2024-07-25T20:08:14.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:08:14.022Z] [2024-07-25T20:08:14.022Z] Login Succeeded [2024-07-25T20:08:14.022Z] nexus3.edgexfoundry.org:10003 [2024-07-25T20:08:14.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:08:14.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:08:14.282Z] Configure a credential helper to remove this warning. See [2024-07-25T20:08:14.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:08:14.282Z] [2024-07-25T20:08:14.282Z] Login Succeeded [2024-07-25T20:08:14.282Z] nexus3.edgexfoundry.org:10004 [2024-07-25T20:08:14.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:08:14.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:08:14.283Z] Configure a credential helper to remove this warning. See [2024-07-25T20:08:14.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:08:14.283Z] [2024-07-25T20:08:14.283Z] Login Succeeded [2024-07-25T20:08:14.283Z] ****.io [2024-07-25T20:08:14.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:08:14.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:08:14.544Z] Configure a credential helper to remove this warning. See [2024-07-25T20:08:14.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:08:14.544Z] [2024-07-25T20:08:14.544Z] Login Succeeded [2024-07-25T20:08:14.544Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T20:08:14.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T20:08:14.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T20:08:14.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T20:08:14.977Z] ========================================================= [2024-07-25T20:08:14.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-25T20:08:14.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:08:15.601Z] + 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-07-25T20:08:15.601Z] Sending build context to Docker daemon 16.55MB [2024-07-25T20:08:15.601Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T20:08:15.601Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-25T20:08:15.601Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-25T20:08:15.601Z] 619be1103602: Pulling fs layer [2024-07-25T20:08:15.601Z] 7862e08f4a3e: Pulling fs layer [2024-07-25T20:08:15.601Z] 5df492c9dc93: Pulling fs layer [2024-07-25T20:08:15.601Z] 7629e6793208: Pulling fs layer [2024-07-25T20:08:15.601Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T20:08:15.601Z] fb5054dd5b73: Pulling fs layer [2024-07-25T20:08:15.601Z] eeca6798cff9: Pulling fs layer [2024-07-25T20:08:15.601Z] aa269ceb94a6: Pulling fs layer [2024-07-25T20:08:15.601Z] ada007ff1a6a: Pulling fs layer [2024-07-25T20:08:15.601Z] 7629e6793208: Waiting [2024-07-25T20:08:15.601Z] 4f4fb700ef54: Waiting [2024-07-25T20:08:15.601Z] eeca6798cff9: Waiting [2024-07-25T20:08:15.601Z] fb5054dd5b73: Waiting [2024-07-25T20:08:15.601Z] 7862e08f4a3e: Verifying Checksum [2024-07-25T20:08:15.601Z] 7862e08f4a3e: Download complete [2024-07-25T20:08:15.863Z] 7629e6793208: Download complete [2024-07-25T20:08:15.863Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T20:08:15.863Z] 4f4fb700ef54: Download complete [2024-07-25T20:08:15.863Z] 619be1103602: Verifying Checksum [2024-07-25T20:08:15.863Z] 619be1103602: Download complete [2024-07-25T20:08:15.863Z] fb5054dd5b73: Verifying Checksum [2024-07-25T20:08:15.863Z] fb5054dd5b73: Download complete [2024-07-25T20:08:15.863Z] eeca6798cff9: Verifying Checksum [2024-07-25T20:08:15.863Z] eeca6798cff9: Download complete [2024-07-25T20:08:15.863Z] 619be1103602: Pull complete [2024-07-25T20:08:16.122Z] ada007ff1a6a: Verifying Checksum [2024-07-25T20:08:16.122Z] 7862e08f4a3e: Pull complete [2024-07-25T20:08:16.122Z] 5df492c9dc93: Verifying Checksum [2024-07-25T20:08:16.122Z] 5df492c9dc93: Download complete [2024-07-25T20:08:16.690Z] aa269ceb94a6: Verifying Checksum [2024-07-25T20:08:16.690Z] aa269ceb94a6: Download complete [2024-07-25T20:08:19.978Z] 5df492c9dc93: Pull complete [2024-07-25T20:08:19.978Z] 7629e6793208: Pull complete [2024-07-25T20:08:19.978Z] 4f4fb700ef54: Pull complete [2024-07-25T20:08:19.978Z] fb5054dd5b73: Pull complete [2024-07-25T20:08:20.238Z] eeca6798cff9: Pull complete [2024-07-25T20:08:22.779Z] aa269ceb94a6: Pull complete [2024-07-25T20:08:23.348Z] ada007ff1a6a: Pull complete [2024-07-25T20:08:23.348Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-25T20:08:23.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-25T20:08:23.348Z] ---> f489d0715acc [2024-07-25T20:08:23.348Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-25T20:08:27.593Z] ---> Running in 212d06c2c29f [2024-07-25T20:08:27.593Z] Removing intermediate container 212d06c2c29f [2024-07-25T20:08:27.593Z] ---> 1c9aa2dfde35 [2024-07-25T20:08:27.593Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T20:08:27.593Z] ---> Running in 726b438d0d3f [2024-07-25T20:08:27.593Z] Removing intermediate container 726b438d0d3f [2024-07-25T20:08:27.593Z] ---> 38856f0e365b [2024-07-25T20:08:27.593Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T20:08:27.593Z] ---> Running in 207444b1cf96 [2024-07-25T20:08:27.593Z] Removing intermediate container 207444b1cf96 [2024-07-25T20:08:27.593Z] ---> eabda5402744 [2024-07-25T20:08:27.593Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T20:08:27.593Z] ---> Running in 80fec4238e50 [2024-07-25T20:08:27.593Z] Removing intermediate container 80fec4238e50 [2024-07-25T20:08:27.593Z] ---> cf43216ec318 [2024-07-25T20:08:27.593Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T20:08:27.593Z] ---> Running in 4ee7cfe749d5 [2024-07-25T20:08:27.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T20:08:28.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T20:08:28.372Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T20:08:28.372Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-25T20:08:28.372Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T20:08:28.372Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T20:08:28.372Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T20:08:28.372Z] OK: 268 MiB in 56 packages [2024-07-25T20:08:28.389Z] Still waiting to schedule task [2024-07-25T20:08:28.389Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-25T20:08:28.939Z] Removing intermediate container 4ee7cfe749d5 [2024-07-25T20:08:28.940Z] ---> fab8e1441092 [2024-07-25T20:08:28.940Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-25T20:08:28.940Z] ---> Running in 47487db602f8 [2024-07-25T20:08:28.940Z] Removing intermediate container 47487db602f8 [2024-07-25T20:08:28.940Z] ---> 0f7c8734f880 [2024-07-25T20:08:28.940Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-25T20:08:29.200Z] ---> 95e9c6c89d50 [2024-07-25T20:08:29.200Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T20:08:29.200Z] ---> Running in 25f41bd3550a [2024-07-25T20:09:25.459Z] Removing intermediate container 25f41bd3550a [2024-07-25T20:09:25.459Z] ---> 8a127e95c6fb [2024-07-25T20:09:25.459Z] Step 11/12 : COPY . . [2024-07-25T20:09:25.459Z] ---> d3a25db6a282 [2024-07-25T20:09:25.459Z] Step 12/12 : RUN $MAKE [2024-07-25T20:09:25.459Z] ---> Running in e09e9cbbb26d [2024-07-25T20:09:25.459Z] noop [2024-07-25T20:09:25.459Z] Removing intermediate container e09e9cbbb26d [2024-07-25T20:09:25.459Z] ---> 05be56a12a8e [2024-07-25T20:09:25.459Z] Successfully built 05be56a12a8e [2024-07-25T20:09:25.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:09:25.957Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T20:09:25.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:09:26.131Z] prd-ubuntu20.04-docker-8c-8g-6471 does not seem to be running inside a container [2024-07-25T20:09:26.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-402 -v /w/workspace/gexfoundry_device-rest-go_PR-402:/w/workspace/gexfoundry_device-rest-go_PR-402:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-402@tmp:/w/workspace/gexfoundry_device-rest-go_PR-402@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-07-25T20:09:26.492Z] $ docker top 72c57e3022dd4d8c81bd064755fd27abe87cd6f26a8eeacb9dbf43016abecf7a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T20:09:26.900Z] + go version [2024-07-25T20:09:26.900Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-25T20:09:26.939Z] $ docker stop --time=1 72c57e3022dd4d8c81bd064755fd27abe87cd6f26a8eeacb9dbf43016abecf7a [2024-07-25T20:09:28.215Z] $ docker rm -f --volumes 72c57e3022dd4d8c81bd064755fd27abe87cd6f26a8eeacb9dbf43016abecf7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:09:29.033Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T20:09:29.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:09:29.205Z] prd-ubuntu20.04-docker-8c-8g-6471 does not seem to be running inside a container [2024-07-25T20:09:29.234Z] $ 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-402 -v /w/workspace/gexfoundry_device-rest-go_PR-402:/w/workspace/gexfoundry_device-rest-go_PR-402:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-402@tmp:/w/workspace/gexfoundry_device-rest-go_PR-402@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-07-25T20:09:29.578Z] $ docker top b892620cd82fbcaa39b86248c4231bafe90e6fdc6fa536b0399400cda62b9b08 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T20:09:30.003Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-402 [Pipeline] fileExists [Pipeline] sh [2024-07-25T20:09:30.389Z] + make test [2024-07-25T20:09:30.389Z] go test ./... -coverprofile=coverage.out ./... [2024-07-25T20:09:31.766Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-25T20:09:53.696Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-25T20:09:53.696Z] ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements [2024-07-25T20:10:02.787Z] go vet ./... [2024-07-25T20:10:04.528Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6472 in /w/workspace/gexfoundry_device-rest-go_PR-402 [Pipeline] { [Pipeline] ws [2024-07-25T20:10:04.612Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-07-25T20:10:04.702Z] The recommended git tool is: git [2024-07-25T20:10:08.058Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T20:10:08.058Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T20:10:08.058Z] ./bin/test-attribution-txt.sh [2024-07-25T20:10:08.058Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-25T20:10:08.316Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T20:10:08.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T20:10:08.407Z] $ docker stop --time=1 b892620cd82fbcaa39b86248c4231bafe90e6fdc6fa536b0399400cda62b9b08 [2024-07-25T20:10:12.029Z] using credential edgex-jenkins-ssh [2024-07-25T20:10:12.058Z] Cloning the remote Git repository [2024-07-25T20:10:12.126Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-25T20:10:12.245Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-07-25T20:10:13.101Z] $ docker rm -f --volumes b892620cd82fbcaa39b86248c4231bafe90e6fdc6fa536b0399400cda62b9b08 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T20:10:13.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T20:10:13.809Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T20:10:12.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-25T20:10:12.531Z] > git --version # timeout=10 [2024-07-25T20:10:12.570Z] > git --version # 'git version 2.25.1' [2024-07-25T20:10:12.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T20:10:12.748Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-25T20:10:14.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T20:10:14.861Z] + ls -al . [2024-07-25T20:10:14.862Z] total 248 [2024-07-25T20:10:14.862Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 20:09 . [2024-07-25T20:10:14.862Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 20:07 .. [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 25 20:07 .dockerignore [2024-07-25T20:10:14.862Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 20:09 .git [2024-07-25T20:10:14.862Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 20:07 .github [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 25 20:07 .gitignore [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 20:07 .golangci.yml [2024-07-25T20:10:14.862Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 20:08 .semver [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 25 20:07 Attribution.txt [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 25 20:07 CHANGELOG.md [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 25 20:07 Dockerfile [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 20:07 GOVERNANCE.md [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 25 20:07 Jenkinsfile [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 20:07 LICENSE [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 25 20:07 Makefile [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 25 20:07 OWNERS.md [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 25 20:07 README.md [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 20:08 VERSION [2024-07-25T20:10:14.862Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 20:07 bin [2024-07-25T20:10:14.862Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 20:07 cmd [2024-07-25T20:10:14.862Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 25 20:09 coverage.out [2024-07-25T20:10:14.862Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 20:07 driver [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 25 20:07 go.mod [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 20:07 go.sum [2024-07-25T20:10:14.862Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 20:07 openapi [2024-07-25T20:10:14.862Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 25 20:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:10:15.291Z] + 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=0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 --label arch=amd64 --label version=0.0.0 . [2024-07-25T20:10:15.291Z] Sending build context to Docker daemon 16.57MB [2024-07-25T20:10:15.291Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T20:10:15.291Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-25T20:10:15.291Z] ---> 05be56a12a8e [2024-07-25T20:10:15.291Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-25T20:10:15.555Z] ---> Running in 92eeb70a15c9 [2024-07-25T20:10:15.815Z] Removing intermediate container 92eeb70a15c9 [2024-07-25T20:10:15.815Z] ---> ccca5d1a47df [2024-07-25T20:10:15.815Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T20:10:15.815Z] ---> Running in 73536bfdf17f [2024-07-25T20:10:15.815Z] Removing intermediate container 73536bfdf17f [2024-07-25T20:10:15.815Z] ---> 5e67d981f3f0 [2024-07-25T20:10:15.815Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T20:10:15.815Z] ---> Running in a8a04be913a1 [2024-07-25T20:10:15.815Z] Removing intermediate container a8a04be913a1 [2024-07-25T20:10:15.815Z] ---> c6f6645f130f [2024-07-25T20:10:15.815Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T20:10:16.074Z] ---> Running in 54405677a683 [2024-07-25T20:10:16.074Z] Removing intermediate container 54405677a683 [2024-07-25T20:10:16.074Z] ---> d2d4b2d1cd93 [2024-07-25T20:10:16.074Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T20:10:16.074Z] ---> Running in c15e272ab046 [2024-07-25T20:10:16.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T20:10:16.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T20:10:16.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-25T20:10:16.103Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T20:10:16.860Z] OK: 268 MiB in 56 packages [2024-07-25T20:10:17.123Z] Removing intermediate container c15e272ab046 [2024-07-25T20:10:17.123Z] ---> f7243ed2cb86 [2024-07-25T20:10:17.123Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-25T20:10:17.123Z] ---> Running in 7c069dde57e2 [2024-07-25T20:10:17.123Z] Removing intermediate container 7c069dde57e2 [2024-07-25T20:10:17.123Z] ---> 4853872abdf4 [2024-07-25T20:10:17.123Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-25T20:10:17.385Z] ---> 6969ff2795c1 [2024-07-25T20:10:17.385Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T20:10:17.385Z] ---> Running in 0a5a49bb37eb [2024-07-25T20:10:17.784Z] Merging remotes/origin/main commit f16f1098eb92bf801dde80d57265cdf1f99e8d64 into PR head commit 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [2024-07-25T20:10:17.960Z] Removing intermediate container 0a5a49bb37eb [2024-07-25T20:10:17.960Z] ---> 7baa0e76bdc2 [2024-07-25T20:10:17.960Z] Step 11/26 : COPY . . [2024-07-25T20:10:18.190Z] Merge succeeded, producing 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [2024-07-25T20:10:18.191Z] Checking out Revision 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 (PR-402) [2024-07-25T20:10:17.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-25T20:10:17.220Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-25T20:10:17.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T20:10:17.287Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-25T20:10:17.795Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T20:10:17.869Z] > git checkout -f 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 # timeout=10 [2024-07-25T20:10:17.966Z] > git remote # timeout=10 [2024-07-25T20:10:18.053Z] > git config --get remote.origin.url # timeout=10 [2024-07-25T20:10:18.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T20:10:18.111Z] > git merge f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 [2024-07-25T20:10:18.148Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-25T20:10:18.192Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T20:10:18.207Z] > git checkout -f 0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 # timeout=10 [2024-07-25T20:10:18.538Z] ---> 28e66f4142fb [2024-07-25T20:10:18.538Z] Step 12/26 : RUN $MAKE [2024-07-25T20:10:18.538Z] ---> Running in 7114e43c7e80 [2024-07-25T20:10:18.799Z] 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.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-25T20:10:18.930Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-25T20:10:18.969Z] > git --version # timeout=10 [2024-07-25T20:10:18.986Z] > git --version # 'git version 2.25.1' [2024-07-25T20:10:19.013Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T20:10:24.088Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-25T20:10:24.088Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T20:10:24.088Z] Dload Upload Total Spent Left Speed [2024-07-25T20:10:24.088Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2024-07-25T20:10:24.502Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-25T20:10:24.867Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-25T20:10:24.868Z] + sudo tee /etc/docker/daemon.new [2024-07-25T20:10:24.868Z] { [2024-07-25T20:10:24.868Z] "registry-mirrors": [ [2024-07-25T20:10:24.868Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-25T20:10:24.868Z] ], [2024-07-25T20:10:24.868Z] "bip": "10.250.0.254/24", [2024-07-25T20:10:24.868Z] "hosts": [ [2024-07-25T20:10:24.868Z] "tcp://0.0.0.0:5555", [2024-07-25T20:10:24.868Z] "unix:///var/run/docker.sock" [2024-07-25T20:10:24.868Z] ], [2024-07-25T20:10:24.868Z] "mtu": 1458, [2024-07-25T20:10:24.868Z] "selinux-enabled": true, [2024-07-25T20:10:24.868Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-25T20:10:24.868Z] } [Pipeline] sh [2024-07-25T20:10:25.230Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-25T20:10:25.589Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T20:10:44.096Z] provisioning config files... [2024-07-25T20:10:44.122Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7302017099473413058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:10:44.616Z] ---> ****-login.sh [2024-07-25T20:10:44.617Z] nexus3.edgexfoundry.org:10001 [2024-07-25T20:10:44.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:10:46.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:10:46.081Z] Configure a credential helper to remove this warning. See [2024-07-25T20:10:46.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:10:46.081Z] [2024-07-25T20:10:46.081Z] Login Succeeded [2024-07-25T20:10:46.081Z] nexus3.edgexfoundry.org:10002 [2024-07-25T20:10:46.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:10:46.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:10:46.081Z] Configure a credential helper to remove this warning. See [2024-07-25T20:10:46.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:10:46.081Z] [2024-07-25T20:10:46.081Z] Login Succeeded [2024-07-25T20:10:46.081Z] nexus3.edgexfoundry.org:10003 [2024-07-25T20:10:46.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:10:46.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:10:46.081Z] Configure a credential helper to remove this warning. See [2024-07-25T20:10:46.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:10:46.082Z] [2024-07-25T20:10:46.082Z] Login Succeeded [2024-07-25T20:10:46.082Z] nexus3.edgexfoundry.org:10004 [2024-07-25T20:10:46.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:10:46.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:10:46.082Z] Configure a credential helper to remove this warning. See [2024-07-25T20:10:46.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:10:46.082Z] [2024-07-25T20:10:46.082Z] Login Succeeded [2024-07-25T20:10:46.082Z] ****.io [2024-07-25T20:10:46.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T20:10:46.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T20:10:46.615Z] Configure a credential helper to remove this warning. See [2024-07-25T20:10:46.615Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T20:10:46.615Z] [2024-07-25T20:10:46.615Z] Login Succeeded [2024-07-25T20:10:46.615Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T20:10:46.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T20:10:47.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T20:10:47.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T20:10:47.155Z] ========================================================= [2024-07-25T20:10:47.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-25T20:10:47.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:10:47.700Z] + 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-07-25T20:10:47.700Z] Sending build context to Docker daemon 130.6kB [2024-07-25T20:10:47.967Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T20:10:47.967Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-25T20:10:47.967Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-25T20:10:47.967Z] c6b39de5b339: Pulling fs layer [2024-07-25T20:10:47.967Z] a69c41024577: Pulling fs layer [2024-07-25T20:10:47.967Z] d6de4b400683: Pulling fs layer [2024-07-25T20:10:47.967Z] 35cb2a7552d0: Pulling fs layer [2024-07-25T20:10:47.967Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T20:10:47.967Z] 464afbd9ba4c: Pulling fs layer [2024-07-25T20:10:47.967Z] 00f215d4a9da: Pulling fs layer [2024-07-25T20:10:47.967Z] d496ad576159: Pulling fs layer [2024-07-25T20:10:47.967Z] 464afbd9ba4c: Waiting [2024-07-25T20:10:47.967Z] 00f215d4a9da: Waiting [2024-07-25T20:10:47.967Z] d496ad576159: Waiting [2024-07-25T20:10:47.967Z] 35cb2a7552d0: Waiting [2024-07-25T20:10:47.967Z] 4f4fb700ef54: Waiting [2024-07-25T20:10:47.967Z] a69c41024577: Verifying Checksum [2024-07-25T20:10:47.967Z] a69c41024577: Download complete [2024-07-25T20:10:47.967Z] 35cb2a7552d0: Download complete [2024-07-25T20:10:48.233Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T20:10:48.233Z] 4f4fb700ef54: Download complete [2024-07-25T20:10:48.233Z] 464afbd9ba4c: Download complete [2024-07-25T20:10:48.233Z] c6b39de5b339: Verifying Checksum [2024-07-25T20:10:48.233Z] c6b39de5b339: Download complete [2024-07-25T20:10:48.501Z] d496ad576159: Verifying Checksum [2024-07-25T20:10:48.501Z] d496ad576159: Download complete [2024-07-25T20:10:49.084Z] c6b39de5b339: Pull complete [2024-07-25T20:10:49.350Z] a69c41024577: Pull complete [2024-07-25T20:10:49.931Z] d6de4b400683: Download complete [2024-07-25T20:10:50.888Z] 00f215d4a9da: Verifying Checksum [2024-07-25T20:10:50.888Z] 00f215d4a9da: Download complete [2024-07-25T20:10:51.614Z] Removing intermediate container 7114e43c7e80 [2024-07-25T20:10:51.615Z] ---> 7a138db3c293 [2024-07-25T20:10:51.615Z] Step 13/26 : FROM alpine:3.18 [2024-07-25T20:10:51.615Z] 3.18: Pulling from library/alpine [2024-07-25T20:10:51.615Z] 930bdd4d222e: Pulling fs layer [2024-07-25T20:10:51.615Z] 930bdd4d222e: Verifying Checksum [2024-07-25T20:10:51.615Z] 930bdd4d222e: Download complete [2024-07-25T20:10:51.615Z] 930bdd4d222e: Pull complete [2024-07-25T20:10:51.615Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T20:10:51.615Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T20:10:51.615Z] ---> 18f865063206 [2024-07-25T20:10:51.615Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-25T20:10:51.615Z] ---> Running in cc279374d837 [2024-07-25T20:10:51.615Z] Removing intermediate container cc279374d837 [2024-07-25T20:10:51.615Z] ---> 06da6a2dd3ed [2024-07-25T20:10:51.615Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-25T20:10:51.615Z] ---> Running in 7302a80071a5 [2024-07-25T20:10:51.615Z] Removing intermediate container 7302a80071a5 [2024-07-25T20:10:51.615Z] ---> 6c3811c5baf5 [2024-07-25T20:10:51.615Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-25T20:10:51.615Z] ---> Running in bc5df4456809 [2024-07-25T20:10:51.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T20:10:51.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T20:10:51.874Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T20:10:51.874Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T20:10:51.874Z] OK: 7 MiB in 16 packages [2024-07-25T20:10:52.134Z] Removing intermediate container bc5df4456809 [2024-07-25T20:10:52.134Z] ---> 48ac1044dd27 [2024-07-25T20:10:52.134Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-25T20:10:52.134Z] ---> Running in 210e50aa5676 [2024-07-25T20:10:52.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T20:10:52.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T20:10:52.655Z] OK: 7 MiB in 16 packages [2024-07-25T20:10:52.917Z] Removing intermediate container 210e50aa5676 [2024-07-25T20:10:52.917Z] ---> aee27d970b8f [2024-07-25T20:10:52.917Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-25T20:10:54.298Z] ---> 9d9ad72baaff [2024-07-25T20:10:54.298Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-25T20:10:54.298Z] ---> a99400548860 [2024-07-25T20:10:54.298Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-25T20:10:54.298Z] ---> 706e35de0667 [2024-07-25T20:10:54.298Z] Step 21/26 : EXPOSE 59986 [2024-07-25T20:10:54.558Z] ---> Running in b1ed74036a53 [2024-07-25T20:10:54.558Z] Removing intermediate container b1ed74036a53 [2024-07-25T20:10:54.558Z] ---> 13a6ab5606cc [2024-07-25T20:10:54.558Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-25T20:10:54.558Z] ---> Running in 6e830e8afbc2 [2024-07-25T20:10:54.558Z] Removing intermediate container 6e830e8afbc2 [2024-07-25T20:10:54.558Z] ---> efd40e71ca8b [2024-07-25T20:10:54.558Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-25T20:10:54.558Z] ---> Running in ebf33669e20e [2024-07-25T20:10:54.817Z] Removing intermediate container ebf33669e20e [2024-07-25T20:10:54.817Z] ---> 4a1dbde2f0f0 [2024-07-25T20:10:54.817Z] Step 24/26 : LABEL arch=amd64 [2024-07-25T20:10:54.817Z] ---> Running in 06be483618d7 [2024-07-25T20:10:54.817Z] Removing intermediate container 06be483618d7 [2024-07-25T20:10:54.817Z] ---> ae73d10867b4 [2024-07-25T20:10:54.817Z] Step 25/26 : LABEL git_sha=0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [2024-07-25T20:10:54.817Z] ---> Running in b096f2deb2ae [2024-07-25T20:10:54.817Z] Removing intermediate container b096f2deb2ae [2024-07-25T20:10:54.817Z] ---> 60d1a723bbc0 [2024-07-25T20:10:54.817Z] Step 26/26 : LABEL version=0.0.0 [2024-07-25T20:10:54.817Z] ---> Running in 09b12ce4c6a7 [2024-07-25T20:10:55.077Z] Removing intermediate container 09b12ce4c6a7 [2024-07-25T20:10:55.077Z] ---> 9ddbef432713 [2024-07-25T20:10:55.077Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T20:10:55.077Z] Successfully built 9ddbef432713 [2024-07-25T20:10:55.077Z] 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-07-25T20:10:56.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T20:10:56.119Z] [2024-07-25T20:10:56.119Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:10:56.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T20:10:56.542Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-25T20:10:56.542Z] 5eb5b503b376: Pulling fs layer [2024-07-25T20:10:56.542Z] 5c69ac0246d0: Pulling fs layer [2024-07-25T20:10:56.542Z] ec43610c2a17: Pulling fs layer [2024-07-25T20:10:56.542Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-25T20:10:56.542Z] 33b1e0a273af: Pulling fs layer [2024-07-25T20:10:56.542Z] 5d3b04190fa2: Pulling fs layer [2024-07-25T20:10:56.542Z] 2f39f015ded8: Pulling fs layer [2024-07-25T20:10:56.542Z] 5d3b04190fa2: Waiting [2024-07-25T20:10:56.542Z] 3a2ae6a8a46f: Waiting [2024-07-25T20:10:56.542Z] 2f39f015ded8: Waiting [2024-07-25T20:10:56.542Z] 33b1e0a273af: Waiting [2024-07-25T20:10:56.542Z] 5c69ac0246d0: Verifying Checksum [2024-07-25T20:10:56.542Z] 5c69ac0246d0: Download complete [2024-07-25T20:10:56.542Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-25T20:10:56.542Z] 3a2ae6a8a46f: Download complete [2024-07-25T20:10:56.542Z] 33b1e0a273af: Verifying Checksum [2024-07-25T20:10:56.542Z] 33b1e0a273af: Download complete [2024-07-25T20:10:56.542Z] 5d3b04190fa2: Verifying Checksum [2024-07-25T20:10:56.542Z] 5d3b04190fa2: Download complete [2024-07-25T20:10:56.542Z] ec43610c2a17: Verifying Checksum [2024-07-25T20:10:56.542Z] ec43610c2a17: Download complete [2024-07-25T20:10:56.801Z] 5eb5b503b376: Verifying Checksum [2024-07-25T20:10:56.801Z] 5eb5b503b376: Download complete [2024-07-25T20:10:57.366Z] 2f39f015ded8: Download complete [2024-07-25T20:10:57.935Z] 5eb5b503b376: Pull complete [2024-07-25T20:10:58.195Z] 5c69ac0246d0: Pull complete [2024-07-25T20:10:58.763Z] ec43610c2a17: Pull complete [2024-07-25T20:10:58.764Z] 3a2ae6a8a46f: Pull complete [2024-07-25T20:10:59.023Z] 33b1e0a273af: Pull complete [2024-07-25T20:10:59.023Z] 5d3b04190fa2: Pull complete [2024-07-25T20:11:03.205Z] d6de4b400683: Pull complete [2024-07-25T20:11:03.205Z] 35cb2a7552d0: Pull complete [2024-07-25T20:11:03.205Z] 4f4fb700ef54: Pull complete [2024-07-25T20:11:03.205Z] 464afbd9ba4c: Pull complete [2024-07-25T20:11:04.294Z] 2f39f015ded8: Pull complete [2024-07-25T20:11:04.294Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-25T20:11:04.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T20:11:04.294Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:11:04.613Z] prd-ubuntu20.04-docker-8c-8g-6471 does not seem to be running inside a container [2024-07-25T20:11:04.654Z] $ 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-402 -v /w/workspace/gexfoundry_device-rest-go_PR-402:/w/workspace/gexfoundry_device-rest-go_PR-402:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-402@tmp:/w/workspace/gexfoundry_device-rest-go_PR-402@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-07-25T20:11:07.745Z] $ docker top 2faee9275f09d1d34123193e056711463787c9b66071e730172af05037677f80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:11:08.272Z] ---> job-cost.sh [2024-07-25T20:11:08.272Z] lf-activate-venv: SKIPPING [2024-07-25T20:11:08.272Z] INFO: No Stack... [2024-07-25T20:11:08.532Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T20:11:08.792Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T20:11:09.118Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-402/archives/cost.csv [2024-07-25T20:11:09.118Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T20:11:09.174Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] [2024-07-25T20:11:09.180Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] did not exist. Created. [2024-07-25T20:11:09.186Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T20:11:09.814Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-25T20:11:09.887Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T20:11:09.920Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T20:11:10.000Z] $ docker stop --time=1 2faee9275f09d1d34123193e056711463787c9b66071e730172af05037677f80 [2024-07-25T20:11:11.190Z] $ docker rm -f --volumes 2faee9275f09d1d34123193e056711463787c9b66071e730172af05037677f80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2024-07-25T20:11:11.448Z] 00f215d4a9da: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-25T20:11:13.402Z] d496ad576159: Pull complete [2024-07-25T20:11:13.402Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-25T20:11:13.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-25T20:11:13.402Z] ---> f246e2811388 [2024-07-25T20:11:13.402Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-25T20:11:14.811Z] ---> Running in 53c972430d42 [2024-07-25T20:11:15.076Z] Removing intermediate container 53c972430d42 [2024-07-25T20:11:15.076Z] ---> 56455345f16c [2024-07-25T20:11:15.076Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T20:11:15.342Z] ---> Running in cef804c5d940 [2024-07-25T20:11:15.607Z] Removing intermediate container cef804c5d940 [2024-07-25T20:11:15.607Z] ---> f11b12763380 [2024-07-25T20:11:15.607Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T20:11:15.607Z] ---> Running in 511052ef48e0 [2024-07-25T20:11:15.874Z] Removing intermediate container 511052ef48e0 [2024-07-25T20:11:15.874Z] ---> a8238da1b363 [2024-07-25T20:11:15.874Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T20:11:15.874Z] ---> Running in d23de624d0a5 [2024-07-25T20:11:16.147Z] Removing intermediate container d23de624d0a5 [2024-07-25T20:11:16.147Z] ---> 50e66932b895 [2024-07-25T20:11:16.147Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T20:11:16.147Z] ---> Running in 825c954bb4da [2024-07-25T20:11:17.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T20:11:17.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T20:11:18.526Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T20:11:18.526Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-25T20:11:18.526Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T20:11:18.526Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T20:11:18.799Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T20:11:18.799Z] OK: 271 MiB in 56 packages [2024-07-25T20:11:19.760Z] Removing intermediate container 825c954bb4da [2024-07-25T20:11:19.760Z] ---> 8c17ff8232b1 [2024-07-25T20:11:19.760Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-25T20:11:19.760Z] ---> Running in 27f22bf835b8 [2024-07-25T20:11:20.030Z] Removing intermediate container 27f22bf835b8 [2024-07-25T20:11:20.030Z] ---> 58778dad5770 [2024-07-25T20:11:20.030Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-25T20:11:20.621Z] ---> 8ca45bd3268f [2024-07-25T20:11:20.622Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T20:11:20.622Z] ---> Running in f2cb7081b813 [2024-07-25T20:13:12.285Z] Removing intermediate container f2cb7081b813 [2024-07-25T20:13:12.285Z] ---> 88a5bda4a36f [2024-07-25T20:13:12.285Z] Step 11/12 : COPY . . [2024-07-25T20:13:12.285Z] ---> db249723e105 [2024-07-25T20:13:12.285Z] Step 12/12 : RUN $MAKE [2024-07-25T20:13:12.285Z] ---> Running in 662b1fdddbce [2024-07-25T20:13:12.285Z] noop [2024-07-25T20:13:12.285Z] Removing intermediate container 662b1fdddbce [2024-07-25T20:13:12.285Z] ---> 2ddca64884a1 [2024-07-25T20:13:12.285Z] Successfully built 2ddca64884a1 [2024-07-25T20:13:12.285Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:13:12.806Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T20:13:12.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:13:13.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-6472 does not seem to be running inside a container [2024-07-25T20:13:13.122Z] $ 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-07-25T20:13:14.316Z] $ docker top afa06867e98115b75d222d65b1544164383f8e30c280ce9fcbb9500f40c55133 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T20:13:15.221Z] + go version [2024-07-25T20:13:15.221Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-25T20:13:15.255Z] $ docker stop --time=1 afa06867e98115b75d222d65b1544164383f8e30c280ce9fcbb9500f40c55133 [2024-07-25T20:13:16.821Z] $ docker rm -f --volumes afa06867e98115b75d222d65b1544164383f8e30c280ce9fcbb9500f40c55133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:13:17.741Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T20:13:17.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:13:18.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-6472 does not seem to be running inside a container [2024-07-25T20:13:18.057Z] $ 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-07-25T20:13:19.199Z] $ docker top fa365a121bde3f6c2ea5175fe6ced37c8840d1e94070d9952cee09a8bbaae63b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T20:13:19.778Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-25T20:13:20.455Z] + make test [2024-07-25T20:13:20.455Z] go test ./... -coverprofile=coverage.out ./... [2024-07-25T20:13:27.104Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-25T20:16:34.010Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-25T20:16:34.967Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 33.2% of statements [2024-07-25T20:16:35.923Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-25T20:16:35.923Z] go vet ./... [2024-07-25T20:17:22.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T20:17:22.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T20:17:22.770Z] ./bin/test-attribution-txt.sh [2024-07-25T20:17:22.770Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-25T20:17:22.770Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T20:17:22.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T20:17:22.861Z] $ docker stop --time=1 fa365a121bde3f6c2ea5175fe6ced37c8840d1e94070d9952cee09a8bbaae63b [2024-07-25T20:17:24.730Z] $ docker rm -f --volumes fa365a121bde3f6c2ea5175fe6ced37c8840d1e94070d9952cee09a8bbaae63b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T20:17:26.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T20:17:26.376Z] Warning: overwriting stash ‘coverage-report’ [2024-07-25T20:17:26.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T20:17:27.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T20:17:27.770Z] + ls -al . [2024-07-25T20:17:27.771Z] total 244 [2024-07-25T20:17:27.771Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 20:13 . [2024-07-25T20:17:27.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 20:10 .. [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 25 20:10 .dockerignore [2024-07-25T20:17:27.771Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 20:10 .git [2024-07-25T20:17:27.771Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 20:10 .github [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 25 20:10 .gitignore [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 20:10 .golangci.yml [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 25 20:10 Attribution.txt [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 25 20:10 CHANGELOG.md [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 25 20:10 Dockerfile [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 20:10 GOVERNANCE.md [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 25 20:10 Jenkinsfile [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 20:10 LICENSE [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 25 20:10 Makefile [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 25 20:10 OWNERS.md [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 25 20:10 README.md [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 20:08 VERSION [2024-07-25T20:17:27.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 20:10 bin [2024-07-25T20:17:27.771Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 20:10 cmd [2024-07-25T20:17:27.771Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 25 20:16 coverage.out [2024-07-25T20:17:27.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 20:10 driver [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 25 20:10 go.mod [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 20:10 go.sum [2024-07-25T20:17:27.771Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 20:10 openapi [2024-07-25T20:17:27.771Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 25 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:17:28.238Z] + 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=0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 --label arch=arm64 --label version=0.0.0 . [2024-07-25T20:17:28.238Z] Sending build context to Docker daemon 145.9kB [2024-07-25T20:17:28.505Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T20:17:28.506Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-25T20:17:28.506Z] ---> 2ddca64884a1 [2024-07-25T20:17:28.506Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-25T20:17:28.506Z] ---> Running in 7acf446c11c7 [2024-07-25T20:17:28.772Z] Removing intermediate container 7acf446c11c7 [2024-07-25T20:17:28.772Z] ---> d3096b8b61f2 [2024-07-25T20:17:28.772Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T20:17:29.040Z] ---> Running in 8aa3f9afec4b [2024-07-25T20:17:29.306Z] Removing intermediate container 8aa3f9afec4b [2024-07-25T20:17:29.306Z] ---> 66be72019b16 [2024-07-25T20:17:29.306Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T20:17:29.306Z] ---> Running in 582f12bcd509 [2024-07-25T20:17:29.573Z] Removing intermediate container 582f12bcd509 [2024-07-25T20:17:29.573Z] ---> 09d16e683ed8 [2024-07-25T20:17:29.573Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T20:17:29.574Z] ---> Running in 444d57536603 [2024-07-25T20:17:29.843Z] Removing intermediate container 444d57536603 [2024-07-25T20:17:29.843Z] ---> 7891ef96b935 [2024-07-25T20:17:29.843Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T20:17:30.127Z] ---> Running in 9963f4ba9b82 [2024-07-25T20:17:31.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T20:17:31.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T20:17:32.316Z] OK: 271 MiB in 56 packages [2024-07-25T20:17:33.275Z] Removing intermediate container 9963f4ba9b82 [2024-07-25T20:17:33.275Z] ---> 90b972d985f7 [2024-07-25T20:17:33.275Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-25T20:17:33.275Z] ---> Running in 890823a1705d [2024-07-25T20:17:33.542Z] Removing intermediate container 890823a1705d [2024-07-25T20:17:33.542Z] ---> a6c2cda1a887 [2024-07-25T20:17:33.542Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-25T20:17:33.813Z] ---> c99dfbeb1223 [2024-07-25T20:17:33.813Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T20:17:34.081Z] ---> Running in 43e3f33fc7c8 [2024-07-25T20:17:36.023Z] Removing intermediate container 43e3f33fc7c8 [2024-07-25T20:17:36.023Z] ---> 9b421a53bd32 [2024-07-25T20:17:36.023Z] Step 11/26 : COPY . . [2024-07-25T20:17:36.614Z] ---> dca26edeefb7 [2024-07-25T20:17:36.614Z] Step 12/26 : RUN $MAKE [2024-07-25T20:17:36.614Z] ---> Running in e6a98e20fe6d [2024-07-25T20:17:37.578Z] 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.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-25T20:20:59.352Z] Removing intermediate container e6a98e20fe6d [2024-07-25T20:20:59.352Z] ---> 11db87087920 [2024-07-25T20:20:59.352Z] Step 13/26 : FROM alpine:3.18 [2024-07-25T20:20:59.352Z] 3.18: Pulling from library/alpine [2024-07-25T20:20:59.352Z] 4983c3fe2029: Pulling fs layer [2024-07-25T20:20:59.352Z] 4983c3fe2029: Verifying Checksum [2024-07-25T20:20:59.352Z] 4983c3fe2029: Download complete [2024-07-25T20:20:59.352Z] 4983c3fe2029: Pull complete [2024-07-25T20:20:59.352Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T20:20:59.352Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T20:20:59.352Z] ---> a0237000ae83 [2024-07-25T20:20:59.352Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-25T20:20:59.352Z] ---> Running in 1432ee4ec83f [2024-07-25T20:20:59.352Z] Removing intermediate container 1432ee4ec83f [2024-07-25T20:20:59.352Z] ---> fef1c55f30c7 [2024-07-25T20:20:59.352Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-25T20:20:59.352Z] ---> Running in 57d818d423de [2024-07-25T20:20:59.352Z] Removing intermediate container 57d818d423de [2024-07-25T20:20:59.352Z] ---> f29ecef73acc [2024-07-25T20:20:59.352Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-25T20:20:59.352Z] ---> Running in b759e816101c [2024-07-25T20:20:59.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T20:20:59.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T20:20:59.352Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T20:20:59.352Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T20:20:59.352Z] OK: 8 MiB in 16 packages [2024-07-25T20:20:59.352Z] Removing intermediate container b759e816101c [2024-07-25T20:20:59.352Z] ---> 6d174cb3ca1a [2024-07-25T20:20:59.352Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-25T20:20:59.352Z] ---> Running in 83b5c466430b [2024-07-25T20:20:59.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T20:20:59.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T20:20:59.352Z] OK: 8 MiB in 16 packages [2024-07-25T20:20:59.352Z] Removing intermediate container 83b5c466430b [2024-07-25T20:20:59.352Z] ---> 673a973a6d2d [2024-07-25T20:20:59.352Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-25T20:20:59.939Z] ---> 7068983ea5fd [2024-07-25T20:20:59.939Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-25T20:21:00.548Z] ---> 1256d0772331 [2024-07-25T20:21:00.548Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-25T20:21:01.133Z] ---> 2ada5ff1d2f7 [2024-07-25T20:21:01.133Z] Step 21/26 : EXPOSE 59986 [2024-07-25T20:21:01.133Z] ---> Running in 38dbfea8a915 [2024-07-25T20:21:01.403Z] Removing intermediate container 38dbfea8a915 [2024-07-25T20:21:01.403Z] ---> 8185f87077e1 [2024-07-25T20:21:01.403Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-25T20:21:01.403Z] ---> Running in a9cf56a73ef4 [2024-07-25T20:21:01.675Z] Removing intermediate container a9cf56a73ef4 [2024-07-25T20:21:01.675Z] ---> 3bcbedac843c [2024-07-25T20:21:01.675Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-25T20:21:01.675Z] ---> Running in 66eee8f9443e [2024-07-25T20:21:02.262Z] Removing intermediate container 66eee8f9443e [2024-07-25T20:21:02.262Z] ---> 18be37196930 [2024-07-25T20:21:02.262Z] Step 24/26 : LABEL arch=arm64 [2024-07-25T20:21:02.262Z] ---> Running in 875e80331564 [2024-07-25T20:21:02.528Z] Removing intermediate container 875e80331564 [2024-07-25T20:21:02.528Z] ---> 989e340e08e9 [2024-07-25T20:21:02.528Z] Step 25/26 : LABEL git_sha=0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [2024-07-25T20:21:02.528Z] ---> Running in b33414b79bf7 [2024-07-25T20:21:02.794Z] Removing intermediate container b33414b79bf7 [2024-07-25T20:21:02.794Z] ---> ae94af02d848 [2024-07-25T20:21:02.794Z] Step 26/26 : LABEL version=0.0.0 [2024-07-25T20:21:02.794Z] ---> Running in 3aec40d985cd [2024-07-25T20:21:03.060Z] Removing intermediate container 3aec40d985cd [2024-07-25T20:21:03.060Z] ---> 5c674b1a8da0 [2024-07-25T20:21:03.060Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T20:21:03.060Z] Successfully built 5c674b1a8da0 [2024-07-25T20:21:03.060Z] 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-07-25T20:21:04.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T20:21:04.004Z] [2024-07-25T20:21:04.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:21:04.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T20:21:04.452Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-25T20:21:04.452Z] 8998bd30e6a1: Pulling fs layer [2024-07-25T20:21:04.452Z] 04944245beec: Pulling fs layer [2024-07-25T20:21:04.452Z] 699f458cf7ca: Pulling fs layer [2024-07-25T20:21:04.452Z] 765212b225bb: Pulling fs layer [2024-07-25T20:21:04.452Z] f23df028b6ca: Pulling fs layer [2024-07-25T20:21:04.452Z] d65c8cfc05b1: Pulling fs layer [2024-07-25T20:21:04.452Z] 2437ff75d9bd: Pulling fs layer [2024-07-25T20:21:04.452Z] f23df028b6ca: Waiting [2024-07-25T20:21:04.452Z] 2437ff75d9bd: Waiting [2024-07-25T20:21:04.452Z] 765212b225bb: Waiting [2024-07-25T20:21:04.452Z] d65c8cfc05b1: Waiting [2024-07-25T20:21:04.719Z] 04944245beec: Verifying Checksum [2024-07-25T20:21:04.719Z] 04944245beec: Download complete [2024-07-25T20:21:04.719Z] 765212b225bb: Verifying Checksum [2024-07-25T20:21:04.719Z] 765212b225bb: Download complete [2024-07-25T20:21:04.719Z] f23df028b6ca: Verifying Checksum [2024-07-25T20:21:04.719Z] f23df028b6ca: Download complete [2024-07-25T20:21:04.719Z] d65c8cfc05b1: Verifying Checksum [2024-07-25T20:21:04.719Z] d65c8cfc05b1: Download complete [2024-07-25T20:21:04.719Z] 699f458cf7ca: Verifying Checksum [2024-07-25T20:21:04.719Z] 699f458cf7ca: Download complete [2024-07-25T20:21:05.303Z] 8998bd30e6a1: Verifying Checksum [2024-07-25T20:21:05.303Z] 8998bd30e6a1: Download complete [2024-07-25T20:21:07.884Z] 2437ff75d9bd: Verifying Checksum [2024-07-25T20:21:07.884Z] 2437ff75d9bd: Download complete [2024-07-25T20:21:09.828Z] 8998bd30e6a1: Pull complete [2024-07-25T20:21:10.411Z] 04944245beec: Pull complete [2024-07-25T20:21:11.825Z] 699f458cf7ca: Pull complete [2024-07-25T20:21:12.091Z] 765212b225bb: Pull complete [2024-07-25T20:21:13.058Z] f23df028b6ca: Pull complete [2024-07-25T20:21:13.058Z] d65c8cfc05b1: Pull complete [2024-07-25T20:21:31.267Z] 2437ff75d9bd: Pull complete [2024-07-25T20:21:31.267Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-25T20:21:31.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T20:21:31.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:21:31.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-6472 does not seem to be running inside a container [2024-07-25T20:21:31.684Z] $ 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-07-25T20:21:34.193Z] $ docker top d63bdce6ec42de437a19ce47a03a9720fdfdb646687d6ef76ef005a0d380eaa7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:35.306Z] ---> job-cost.sh [2024-07-25T20:21:35.306Z] lf-activate-venv: SKIPPING [2024-07-25T20:21:35.306Z] INFO: No Stack... [2024-07-25T20:21:35.882Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-25T20:21:36.457Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T20:21:37.117Z] + cut -d, -f6 [2024-07-25T20:21:37.117Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2024-07-25T20:21:37.183Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] [2024-07-25T20:21:37.189Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] did not exist. Created. [2024-07-25T20:21:37.194Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T20:21:37.955Z] /w/workspace/device-rest-go/1@tmp/durable-18b30246/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-25T20:21:38.306Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-25T20:21:38.351Z] Warning: overwriting stash ‘stack-cost’ [2024-07-25T20:21:38.399Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T20:21:38.419Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T20:21:38.514Z] $ docker stop --time=1 d63bdce6ec42de437a19ce47a03a9720fdfdb646687d6ef76ef005a0d380eaa7 [2024-07-25T20:21:39.979Z] $ docker rm -f --volumes d63bdce6ec42de437a19ce47a03a9720fdfdb646687d6ef76ef005a0d380eaa7 [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-07-25T20:21:41.242Z] provisioning config files... [2024-07-25T20:21:41.250Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-402@tmp/config7442185985121457209tmp [Pipeline] { [Pipeline] sh [2024-07-25T20:21:41.607Z] + set +x [2024-07-25T20:21:41.607Z] + bash -s -- [2024-07-25T20:21:41.607Z] + curl -s https://codecov.io/bash [2024-07-25T20:21:41.607Z] [2024-07-25T20:21:41.607Z] _____ _ [2024-07-25T20:21:41.607Z] / ____| | | [2024-07-25T20:21:41.607Z] | | ___ __| | ___ ___ _____ __ [2024-07-25T20:21:41.607Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-25T20:21:41.607Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-25T20:21:41.607Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-25T20:21:41.607Z] Bash-1.0.6 [2024-07-25T20:21:41.607Z] [2024-07-25T20:21:41.607Z] [2024-07-25T20:21:41.607Z] ==> git version 2.25.1 found [2024-07-25T20:21:41.607Z] ==> 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-07-25T20:21:41.607Z] Release-Date: 2020-01-08 [2024-07-25T20:21:41.607Z] 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-07-25T20:21:41.607Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-25T20:21:41.607Z] ==> Jenkins CI detected. [2024-07-25T20:21:41.607Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-402 [2024-07-25T20:21:41.607Z] project root: . [2024-07-25T20:21:41.607Z] --> token set from env [2024-07-25T20:21:41.607Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-25T20:21:41.607Z] ==> Running gcov in . (disable via -X gcov) [2024-07-25T20:21:41.607Z] ==> Python coveragepy not found [2024-07-25T20:21:41.607Z] ==> Searching for coverage reports in: [2024-07-25T20:21:41.607Z] + . [2024-07-25T20:21:41.870Z] -> Found 1 reports [2024-07-25T20:21:41.870Z] ==> Detecting git/mercurial file structure [2024-07-25T20:21:41.870Z] ==> Reading reports [2024-07-25T20:21:41.870Z] + ./coverage.out bytes=14499 [2024-07-25T20:21:41.870Z] ==> Appending adjustments [2024-07-25T20:21:41.870Z] https://docs.codecov.io/docs/fixing-reports [2024-07-25T20:21:41.870Z] + Found adjustments [2024-07-25T20:21:41.870Z] ==> Gzipping contents [2024-07-25T20:21:41.870Z] 4.0K /tmp/codecov.1V6yVF.gz [2024-07-25T20:21:41.870Z] ==> Uploading reports [2024-07-25T20:21:41.870Z] url: https://codecov.io [2024-07-25T20:21:41.870Z] query: branch=PR-402&commit=0e1c6afbca6735dea90601aeae6ebcaa7cc298f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=402&job=&cmd_args= [2024-07-25T20:21:41.870Z] -> Pinging Codecov [2024-07-25T20:21:41.870Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-402&commit=0e1c6afbca6735dea90601aeae6ebcaa7cc298f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=402&job=&cmd_args= [2024-07-25T20:21:42.128Z] -> Uploading to [2024-07-25T20:21:42.129Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-25/4E5D53B4F1F92C436F7061BF334D961C/0e1c6afbca6735dea90601aeae6ebcaa7cc298f7/2e238c6c-6c7c-4908-b5bc-ae77f33440da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T202141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3e2459c30ab05dcdb3f8467ac7d91c57d292586591f226193cb00fd30850042 [2024-07-25T20:21:42.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T20:21:42.129Z] Dload Upload Total Spent Left Speed [2024-07-25T20:21:42.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9210 --:--:-- --:--:-- --:--:-- 9247 [2024-07-25T20:21:42.388Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0e1c6afbca6735dea90601aeae6ebcaa7cc298f7 [Pipeline] } [2024-07-25T20:21:42.422Z] 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-07-25T20:21:44.831Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-402/archives ] [2024-07-25T20:21:44.831Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-402/archives [2024-07-25T20:21:44.831Z] total 16 [2024-07-25T20:21:44.831Z] drwxr-xr-x 3 root root 4096 Jul 25 20:11 . [2024-07-25T20:21:44.831Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 20:11 .. [2024-07-25T20:21:44.831Z] drwxr-xr-x 2 root root 4096 Jul 25 20:11 cost [2024-07-25T20:21:44.831Z] -rw-r--r-- 1 root root 86 Jul 25 20:11 cost.csv [2024-07-25T20:21:44.831Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-402/archives [2024-07-25T20:21:44.831Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-402/archives [2024-07-25T20:21:44.831Z] total 16 [2024-07-25T20:21:44.831Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 20:11 . [2024-07-25T20:21:44.831Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 20:11 .. [2024-07-25T20:21:44.831Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 20:11 cost [2024-07-25T20:21:44.831Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 25 20:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:45.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:46.079Z] ---> package-listing.sh [2024-07-25T20:21:46.079Z] ++ facter osfamily [2024-07-25T20:21:46.079Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-25T20:21:46.339Z] + OS_FAMILY=debian [2024-07-25T20:21:46.339Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-402 [2024-07-25T20:21:46.339Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-25T20:21:46.339Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-25T20:21:46.340Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-25T20:21:46.340Z] + PACKAGES=/tmp/packages_start.txt [2024-07-25T20:21:46.340Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-402 ']' [2024-07-25T20:21:46.340Z] + PACKAGES=/tmp/packages_end.txt [2024-07-25T20:21:46.340Z] + case "${OS_FAMILY}" in [2024-07-25T20:21:46.340Z] + dpkg -l [2024-07-25T20:21:46.340Z] + grep '^ii' [2024-07-25T20:21:46.340Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-25T20:21:46.340Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-25T20:21:46.340Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-25T20:21:46.340Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-402 ']' [2024-07-25T20:21:46.340Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-402/archives/ [2024-07-25T20:21:46.340Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-402/archives/ [Pipeline] echo [2024-07-25T20:21:46.384Z] 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-402/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-25T20:21:46.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T20:21:47.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T20:21:47.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T20:21:47.538Z] prd-ubuntu20.04-docker-8c-8g-6471 does not seem to be running inside a container [2024-07-25T20:21:47.565Z] $ 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-402/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-402 -v /w/workspace/gexfoundry_device-rest-go_PR-402:/w/workspace/gexfoundry_device-rest-go_PR-402:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-402@tmp:/w/workspace/gexfoundry_device-rest-go_PR-402@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-07-25T20:21:47.824Z] $ docker top 1dde6312fa6b3994df02acd79b2041451bb484edafee1db873a027fc94ce0003 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T20:21:48.253Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-25T20:21:48.571Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-25T20:21:48.889Z] + ls /var/log/sa-host [2024-07-25T20:21:48.889Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T20:21:49.165Z] provisioning config files... [2024-07-25T20:21:49.174Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-402@tmp/config4916283194625362992tmp [Pipeline] { [Pipeline] echo [2024-07-25T20:21:49.249Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:49.572Z] ---> create-netrc.sh [Pipeline] } [2024-07-25T20:21:49.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:50.036Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-25T20:21:50.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:50.406Z] ---> sudo-logs.sh [2024-07-25T20:21:50.406Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-25T20:21:50.526Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:50.857Z] ---> job-cost.sh [2024-07-25T20:21:50.857Z] lf-activate-venv: SKIPPING [2024-07-25T20:21:50.857Z] DEBUG: total: 0.2199999988079071 [2024-07-25T20:21:50.857Z] INFO: Retrieving Stack Cost... [2024-07-25T20:21:51.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T20:21:51.692Z] INFO: Archiving Costs [Pipeline] echo [2024-07-25T20:21:51.739Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T20:21:52.065Z] ---> logs-deploy.sh [2024-07-25T20:21:52.065Z] lf-activate-venv: SKIPPING [2024-07-25T20:21:52.065Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-402/1 [2024-07-25T20:21:52.065Z] INFO: archiving workspace using pattern(s): [2024-07-25T20:21:52.999Z] Archives upload complete. [2024-07-25T20:21:53.259Z] INFO: archiving logs to Nexus