Pull request #398 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea33329388915c30348e61775962adf2166fa79e+290df9772e99a502094e71001891edf463b76fa6 (d2e158e1546f727ed1baafaa63a914da5399ba70) 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-ssh13902030549475625092.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-ssh10974249600517360009.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-398/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-398/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh209491813184637019.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-398/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8611865548855077795.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-ssh819935508300393452.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-398/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-398/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5273263998701108957.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5472’ Running on prd-ubuntu20.04-docker-8c-8g-5475 in /w/workspace/gexfoundry_device-rest-go_PR-398 [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-398 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 290df9772e99a502094e71001891edf463b76fa6 into PR head commit ea33329388915c30348e61775962adf2166fa79e Merge succeeded, producing ea33329388915c30348e61775962adf2166fa79e Checking out Revision ea33329388915c30348e61775962adf2166fa79e (PR-398) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f ea33329388915c30348e61775962adf2166fa79e # 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 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea33329388915c30348e61775962adf2166fa79e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-12T20:34:47.392Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-12T20:34:47.618Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-12T20:34:47.748Z] ========================================================= [2024-07-12T20:34:47.749Z] EdgeX Global Pipelines Version Info [2024-07-12T20:34:47.749Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:34:48.503Z] ------------------- [2024-07-12T20:34:48.503Z] stable info: [2024-07-12T20:34:48.503Z] ------------------- [2024-07-12T20:34:48.503Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T20:34:48.503Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-12T20:34:48.503Z] Message: update stable to v1.0.260 [2024-07-12T20:34:49.074Z] ------------------- [2024-07-12T20:34:49.074Z] experimental info: [2024-07-12T20:34:49.074Z] ------------------- [2024-07-12T20:34:49.074Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T20:34:49.074Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-12T20:34:49.074Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-12T20:34:49.298Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-12T20:34:49.360Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-12T20:34:49.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-12T20:34:49.476Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-12T20:34:49.534Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-12T20:34:49.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-12T20:34:49.649Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-12T20:34:49.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-12T20:34:49.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-12T20:34:49.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-12T20:34:49.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-12T20:34:49.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-12T20:34:50.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-12T20:34:50.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-12T20:34:50.123Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-12T20:34:50.174Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-12T20:34:50.231Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T20:34:50.286Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T20:34:50.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-12T20:34:50.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-12T20:34:50.459Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-12T20:34:50.516Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-12T20:34:50.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-12T20:34:50.626Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-12T20:34:50.683Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-12T20:34:50.736Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-12T20:34:50.790Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-12T20:34:50.853Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-398 [Pipeline] echo [2024-07-12T20:34:50.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-398 [Pipeline] echo [2024-07-12T20:34:50.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-398 [Pipeline] echo [2024-07-12T20:34:51.033Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea33329388915c30348e61775962adf2166fa79e [Pipeline] echo [2024-07-12T20:34:51.091Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea33329 [Pipeline] echo [2024-07-12T20:34:51.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T20:34:51.297Z] provisioning config files... [2024-07-12T20:34:51.312Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp/config9082419614122898599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:34:51.698Z] ---> ****-login.sh [2024-07-12T20:34:51.698Z] nexus3.edgexfoundry.org:10001 [2024-07-12T20:34:51.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:34:51.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:34:51.959Z] Configure a credential helper to remove this warning. See [2024-07-12T20:34:51.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:34:51.959Z] [2024-07-12T20:34:51.959Z] Login Succeeded [2024-07-12T20:34:51.959Z] nexus3.edgexfoundry.org:10002 [2024-07-12T20:34:52.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:34:52.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:34:52.220Z] Configure a credential helper to remove this warning. See [2024-07-12T20:34:52.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:34:52.220Z] [2024-07-12T20:34:52.220Z] Login Succeeded [2024-07-12T20:34:52.220Z] nexus3.edgexfoundry.org:10003 [2024-07-12T20:34:52.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:34:52.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:34:52.220Z] Configure a credential helper to remove this warning. See [2024-07-12T20:34:52.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:34:52.220Z] [2024-07-12T20:34:52.220Z] Login Succeeded [2024-07-12T20:34:52.220Z] nexus3.edgexfoundry.org:10004 [2024-07-12T20:34:52.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:34:52.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:34:52.480Z] Configure a credential helper to remove this warning. See [2024-07-12T20:34:52.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:34:52.480Z] [2024-07-12T20:34:52.480Z] Login Succeeded [2024-07-12T20:34:52.480Z] ****.io [2024-07-12T20:34:52.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:34:52.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:34:52.743Z] Configure a credential helper to remove this warning. See [2024-07-12T20:34:52.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:34:52.743Z] [2024-07-12T20:34:52.743Z] Login Succeeded [2024-07-12T20:34:52.743Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T20:34:52.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-12T20:34:53.449Z] + git rev-list -1 --merges ea33329388915c30348e61775962adf2166fa79e~1..ea33329388915c30348e61775962adf2166fa79e [Pipeline] echo [2024-07-12T20:34:53.499Z] -----------> git rev-list -1 --merges ea33329388915c30348e61775962adf2166fa79e~1..ea33329388915c30348e61775962adf2166fa79e ea33329388915c30348e61775962adf2166fa79e [false] [Pipeline] sh [2024-07-12T20:34:53.821Z] + git log --format=format:%s -1 ea33329388915c30348e61775962adf2166fa79e [Pipeline] echo [2024-07-12T20:34:53.874Z] ========================================================= [2024-07-12T20:34:53.874Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-12T20:34:53.874Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T20:34:54.325Z] + git log --format=format:%s -1 ea33329388915c30348e61775962adf2166fa79e [Pipeline] echo [2024-07-12T20:34:54.366Z] [semverPrep] GIT_COMMIT: ea33329388915c30348e61775962adf2166fa79e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-12T20:34:54.418Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-12T20:34:54.831Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-12T20:34:54.831Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-12T20:34:54.831Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-12T20:34:54.831Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-12T20:34:54.831Z] + + sudo tee -aecho /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-12T20:34:54.831Z] [2024-07-12T20:34:54.831Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:34:55.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T20:34:55.344Z] [2024-07-12T20:34:55.344Z] 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-12T20:34:55.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T20:34:55.735Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-12T20:34:55.735Z] b85a868b505f: Pulling fs layer [2024-07-12T20:34:55.735Z] e2be974225ed: Pulling fs layer [2024-07-12T20:34:55.735Z] 339a4e72a1f5: Pulling fs layer [2024-07-12T20:34:55.735Z] 988bab9f4d93: Pulling fs layer [2024-07-12T20:34:55.735Z] 1469e6f7b9e6: Pulling fs layer [2024-07-12T20:34:55.735Z] eaf3925da568: Pulling fs layer [2024-07-12T20:34:55.735Z] bab4dde63d76: Pulling fs layer [2024-07-12T20:34:55.735Z] bde34c3a00c8: Pulling fs layer [2024-07-12T20:34:55.735Z] b352a97aabf1: Pulling fs layer [2024-07-12T20:34:55.735Z] 4872d77fe225: Pulling fs layer [2024-07-12T20:34:55.735Z] 5851b861e8e6: Pulling fs layer [2024-07-12T20:34:55.735Z] 988bab9f4d93: Waiting [2024-07-12T20:34:55.735Z] 1469e6f7b9e6: Waiting [2024-07-12T20:34:55.735Z] eaf3925da568: Waiting [2024-07-12T20:34:55.735Z] bab4dde63d76: Waiting [2024-07-12T20:34:55.735Z] bde34c3a00c8: Waiting [2024-07-12T20:34:55.735Z] b352a97aabf1: Waiting [2024-07-12T20:34:55.735Z] 4872d77fe225: Waiting [2024-07-12T20:34:55.735Z] 5851b861e8e6: Waiting [2024-07-12T20:34:55.735Z] e2be974225ed: Download complete [2024-07-12T20:34:55.735Z] 988bab9f4d93: Verifying Checksum [2024-07-12T20:34:55.735Z] 988bab9f4d93: Download complete [2024-07-12T20:34:55.735Z] 339a4e72a1f5: Verifying Checksum [2024-07-12T20:34:55.735Z] 339a4e72a1f5: Download complete [2024-07-12T20:34:55.735Z] 1469e6f7b9e6: Verifying Checksum [2024-07-12T20:34:55.735Z] 1469e6f7b9e6: Download complete [2024-07-12T20:34:55.997Z] eaf3925da568: Verifying Checksum [2024-07-12T20:34:55.997Z] eaf3925da568: Download complete [2024-07-12T20:34:55.997Z] bde34c3a00c8: Download complete [2024-07-12T20:34:55.997Z] b352a97aabf1: Verifying Checksum [2024-07-12T20:34:55.997Z] b352a97aabf1: Download complete [2024-07-12T20:34:55.997Z] 4872d77fe225: Download complete [2024-07-12T20:34:55.997Z] 5851b861e8e6: Download complete [2024-07-12T20:34:55.997Z] b85a868b505f: Download complete [2024-07-12T20:34:56.257Z] bab4dde63d76: Verifying Checksum [2024-07-12T20:34:56.257Z] bab4dde63d76: Download complete [2024-07-12T20:34:57.197Z] b85a868b505f: Pull complete [2024-07-12T20:34:57.197Z] e2be974225ed: Pull complete [2024-07-12T20:34:57.767Z] 339a4e72a1f5: Pull complete [2024-07-12T20:34:57.767Z] 988bab9f4d93: Pull complete [2024-07-12T20:34:58.028Z] 1469e6f7b9e6: Pull complete [2024-07-12T20:34:58.028Z] eaf3925da568: Pull complete [2024-07-12T20:34:59.934Z] bab4dde63d76: Pull complete [2024-07-12T20:34:59.934Z] bde34c3a00c8: Pull complete [2024-07-12T20:34:59.934Z] b352a97aabf1: Pull complete [2024-07-12T20:35:00.195Z] 4872d77fe225: Pull complete [2024-07-12T20:35:00.195Z] 5851b861e8e6: Pull complete [2024-07-12T20:35:00.195Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-12T20:35:00.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T20:35:00.195Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:35:00.484Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2024-07-12T20:35:00.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-398 -v /w/workspace/gexfoundry_device-rest-go_PR-398:/w/workspace/gexfoundry_device-rest-go_PR-398:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-398@tmp:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-12T20:35:03.576Z] $ docker top f684130e7fdcf0d6ac1601c847daad34c42c7a4ada8a32f958db952a4b919155 -eo pid,comm [2024-07-12T20:35:03.626Z] 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-12T20:35:03.626Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-12T20:35:03.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T20:35:03.787Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T20:35:03.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T20:35:03.904Z] $ docker exec f684130e7fdcf0d6ac1601c847daad34c42c7a4ada8a32f958db952a4b919155 ssh-agent [2024-07-12T20:35:04.021Z] SSH_AUTH_SOCK=/tmp/ssh-4Pa69YPI8hiV/agent.32 [2024-07-12T20:35:04.021Z] SSH_AGENT_PID=38 [2024-07-12T20:35:04.029Z] Running ssh-add (command line suppressed) [2024-07-12T20:35:04.138Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-398@tmp/private_key_718407847496401265.key (/w/workspace/gexfoundry_device-rest-go_PR-398@tmp/private_key_718407847496401265.key) [2024-07-12T20:35:04.153Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T20:35:04.503Z] + git tag --points-at HEAD [Pipeline] } [2024-07-12T20:35:04.529Z] $ docker exec --env ******** --env ******** f684130e7fdcf0d6ac1601c847daad34c42c7a4ada8a32f958db952a4b919155 ssh-agent -k [2024-07-12T20:35:04.616Z] unset SSH_AUTH_SOCK; [2024-07-12T20:35:04.616Z] unset SSH_AGENT_PID; [2024-07-12T20:35:04.616Z] echo Agent pid 38 killed; [2024-07-12T20:35:04.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-12T20:35:04.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T20:35:04.740Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T20:35:04.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T20:35:04.854Z] $ docker exec f684130e7fdcf0d6ac1601c847daad34c42c7a4ada8a32f958db952a4b919155 ssh-agent [2024-07-12T20:35:04.961Z] SSH_AUTH_SOCK=/tmp/ssh-ggP2Jh2zz0Bn/agent.71 [2024-07-12T20:35:04.961Z] SSH_AGENT_PID=77 [2024-07-12T20:35:04.966Z] Running ssh-add (command line suppressed) [2024-07-12T20:35:05.078Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-398@tmp/private_key_4580518515591334705.key (/w/workspace/gexfoundry_device-rest-go_PR-398@tmp/private_key_4580518515591334705.key) [2024-07-12T20:35:05.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T20:35:05.437Z] + git semver init [2024-07-12T20:35:05.695Z] 2024-07-12 20:35:05,615 [run_init] DEBUG init version:0.0.0 force:False [2024-07-12T20:35:05.695Z] 2024-07-12 20:35:05,616 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-398/.semver [2024-07-12T20:35:05.695Z] 2024-07-12 20:35:05,616 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-398/.semver [2024-07-12T20:35:05.695Z] 2024-07-12 20:35:05,616 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-398/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-398, universal_newlines=False, shell=None, istream=None) [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,919 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-398/.git/info/exclude [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,920 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-398/.semver/PR-398 with force:False [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,920 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-398/.semver/PR-398 [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,924 [execute] INFO git cat-file --batch-check [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-398/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,930 [execute] INFO git cat-file --batch [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-398/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T20:35:07.072Z] 2024-07-12 20:35:06,935 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-398/.semver/PR-398 [2024-07-12T20:35:07.072Z] 0.0.0 [Pipeline] } [2024-07-12T20:35:07.097Z] $ docker exec --env ******** --env ******** f684130e7fdcf0d6ac1601c847daad34c42c7a4ada8a32f958db952a4b919155 ssh-agent -k [2024-07-12T20:35:07.206Z] unset SSH_AUTH_SOCK; [2024-07-12T20:35:07.206Z] unset SSH_AGENT_PID; [2024-07-12T20:35:07.207Z] echo Agent pid 77 killed; [2024-07-12T20:35:07.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-12T20:35:07.685Z] + git semver [Pipeline] } [2024-07-12T20:35:07.972Z] $ docker stop --time=1 f684130e7fdcf0d6ac1601c847daad34c42c7a4ada8a32f958db952a4b919155 [2024-07-12T20:35:09.282Z] $ docker rm -f --volumes f684130e7fdcf0d6ac1601c847daad34c42c7a4ada8a32f958db952a4b919155 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T20:35:09.722Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-12T20:35:10.047Z] Stashed 1 file(s) [Pipeline] echo [2024-07-12T20:35:10.076Z] [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-12T20:35:10.802Z] provisioning config files... [2024-07-12T20:35:10.814Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp/config92440841267890334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:35:11.183Z] ---> ****-login.sh [2024-07-12T20:35:11.183Z] nexus3.edgexfoundry.org:10001 [2024-07-12T20:35:11.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:35:11.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:35:11.184Z] Configure a credential helper to remove this warning. See [2024-07-12T20:35:11.184Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:35:11.184Z] [2024-07-12T20:35:11.184Z] Login Succeeded [2024-07-12T20:35:11.184Z] nexus3.edgexfoundry.org:10002 [2024-07-12T20:35:11.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:35:11.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:35:11.184Z] Configure a credential helper to remove this warning. See [2024-07-12T20:35:11.184Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:35:11.184Z] [2024-07-12T20:35:11.184Z] Login Succeeded [2024-07-12T20:35:11.184Z] nexus3.edgexfoundry.org:10003 [2024-07-12T20:35:11.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:35:11.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:35:11.445Z] Configure a credential helper to remove this warning. See [2024-07-12T20:35:11.445Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:35:11.445Z] [2024-07-12T20:35:11.445Z] Login Succeeded [2024-07-12T20:35:11.445Z] nexus3.edgexfoundry.org:10004 [2024-07-12T20:35:11.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:35:11.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:35:11.445Z] Configure a credential helper to remove this warning. See [2024-07-12T20:35:11.445Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:35:11.445Z] [2024-07-12T20:35:11.445Z] Login Succeeded [2024-07-12T20:35:11.445Z] ****.io [2024-07-12T20:35:11.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:35:11.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:35:11.705Z] Configure a credential helper to remove this warning. See [2024-07-12T20:35:11.705Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:35:11.705Z] [2024-07-12T20:35:11.705Z] Login Succeeded [2024-07-12T20:35:11.705Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T20:35:11.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T20:35:11.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T20:35:12.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T20:35:12.084Z] ========================================================= [2024-07-12T20:35:12.084Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-12T20:35:12.084Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:35:12.583Z] + 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-12T20:35:12.583Z] Sending build context to Docker daemon 16.54MB [2024-07-12T20:35:12.583Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T20:35:12.583Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-12T20:35:12.583Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-12T20:35:12.583Z] 619be1103602: Pulling fs layer [2024-07-12T20:35:12.583Z] 7862e08f4a3e: Pulling fs layer [2024-07-12T20:35:12.583Z] 5df492c9dc93: Pulling fs layer [2024-07-12T20:35:12.583Z] 7629e6793208: Pulling fs layer [2024-07-12T20:35:12.583Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T20:35:12.583Z] fb5054dd5b73: Pulling fs layer [2024-07-12T20:35:12.583Z] eeca6798cff9: Pulling fs layer [2024-07-12T20:35:12.583Z] aa269ceb94a6: Pulling fs layer [2024-07-12T20:35:12.583Z] ada007ff1a6a: Pulling fs layer [2024-07-12T20:35:12.583Z] 7629e6793208: Waiting [2024-07-12T20:35:12.583Z] 4f4fb700ef54: Waiting [2024-07-12T20:35:12.583Z] aa269ceb94a6: Waiting [2024-07-12T20:35:12.583Z] fb5054dd5b73: Waiting [2024-07-12T20:35:12.583Z] ada007ff1a6a: Waiting [2024-07-12T20:35:12.583Z] 7862e08f4a3e: Download complete [2024-07-12T20:35:12.583Z] 7629e6793208: Verifying Checksum [2024-07-12T20:35:12.583Z] 7629e6793208: Download complete [2024-07-12T20:35:12.843Z] 4f4fb700ef54: Download complete [2024-07-12T20:35:12.843Z] fb5054dd5b73: Verifying Checksum [2024-07-12T20:35:12.843Z] fb5054dd5b73: Download complete [2024-07-12T20:35:12.843Z] 619be1103602: Verifying Checksum [2024-07-12T20:35:12.843Z] 619be1103602: Download complete [2024-07-12T20:35:12.843Z] eeca6798cff9: Verifying Checksum [2024-07-12T20:35:12.843Z] eeca6798cff9: Download complete [2024-07-12T20:35:12.843Z] 619be1103602: Pull complete [2024-07-12T20:35:13.102Z] ada007ff1a6a: Download complete [2024-07-12T20:35:13.102Z] 7862e08f4a3e: Pull complete [2024-07-12T20:35:13.102Z] 5df492c9dc93: Verifying Checksum [2024-07-12T20:35:13.102Z] 5df492c9dc93: Download complete [2024-07-12T20:35:13.666Z] aa269ceb94a6: Verifying Checksum [2024-07-12T20:35:13.666Z] aa269ceb94a6: Download complete [2024-07-12T20:35:16.195Z] 5df492c9dc93: Pull complete [2024-07-12T20:35:16.195Z] 7629e6793208: Pull complete [2024-07-12T20:35:16.453Z] 4f4fb700ef54: Pull complete [2024-07-12T20:35:16.453Z] fb5054dd5b73: Pull complete [2024-07-12T20:35:16.453Z] eeca6798cff9: Pull complete [2024-07-12T20:35:18.983Z] aa269ceb94a6: Pull complete [2024-07-12T20:35:19.244Z] ada007ff1a6a: Pull complete [2024-07-12T20:35:19.244Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-12T20:35:19.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-12T20:35:19.244Z] ---> f489d0715acc [2024-07-12T20:35:19.244Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-12T20:35:23.515Z] ---> Running in cf02e41a4a82 [2024-07-12T20:35:23.774Z] Removing intermediate container cf02e41a4a82 [2024-07-12T20:35:23.774Z] ---> 42874b5c2743 [2024-07-12T20:35:23.774Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T20:35:23.774Z] ---> Running in e5ba7a471645 [2024-07-12T20:35:23.774Z] Removing intermediate container e5ba7a471645 [2024-07-12T20:35:23.774Z] ---> 1579cd89545d [2024-07-12T20:35:23.774Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T20:35:23.774Z] ---> Running in 13d2d3c56189 [2024-07-12T20:35:23.775Z] Removing intermediate container 13d2d3c56189 [2024-07-12T20:35:23.775Z] ---> 45c7d0cbb18a [2024-07-12T20:35:23.775Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T20:35:23.775Z] ---> Running in effa4ad20db4 [2024-07-12T20:35:24.033Z] Removing intermediate container effa4ad20db4 [2024-07-12T20:35:24.033Z] ---> 83e047f6778a [2024-07-12T20:35:24.033Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T20:35:24.033Z] ---> Running in 01fc4c2b8b2b [2024-07-12T20:35:24.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T20:35:24.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T20:35:24.809Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-12T20:35:24.809Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-12T20:35:24.809Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-12T20:35:24.809Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-12T20:35:24.809Z] Executing busybox-1.36.1-r5.trigger [2024-07-12T20:35:24.809Z] OK: 268 MiB in 56 packages [2024-07-12T20:35:25.381Z] Removing intermediate container 01fc4c2b8b2b [2024-07-12T20:35:25.381Z] ---> bee19ede4da5 [2024-07-12T20:35:25.381Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-12T20:35:25.381Z] ---> Running in cacfd611be40 [2024-07-12T20:35:25.381Z] Removing intermediate container cacfd611be40 [2024-07-12T20:35:25.381Z] ---> 4aeb75ade074 [2024-07-12T20:35:25.381Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-12T20:35:25.570Z] Still waiting to schedule task [2024-07-12T20:35:25.570Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5473’ [2024-07-12T20:35:25.640Z] ---> 7170da338c53 [2024-07-12T20:35:25.640Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T20:35:25.640Z] ---> Running in 65f4f401538b [2024-07-12T20:36:21.934Z] Removing intermediate container 65f4f401538b [2024-07-12T20:36:21.934Z] ---> 2e23b90b6458 [2024-07-12T20:36:21.934Z] Step 11/12 : COPY . . [2024-07-12T20:36:21.934Z] ---> cbd08d2c7ccc [2024-07-12T20:36:21.934Z] Step 12/12 : RUN $MAKE [2024-07-12T20:36:21.934Z] ---> Running in eb8be5b41097 [2024-07-12T20:36:21.934Z] noop [2024-07-12T20:36:21.934Z] Removing intermediate container eb8be5b41097 [2024-07-12T20:36:21.934Z] ---> 214856d859ec [2024-07-12T20:36:21.934Z] Successfully built 214856d859ec [2024-07-12T20:36:21.934Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:36:22.424Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T20:36:22.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:36:22.603Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2024-07-12T20:36:22.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-398 -v /w/workspace/gexfoundry_device-rest-go_PR-398:/w/workspace/gexfoundry_device-rest-go_PR-398:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-398@tmp:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T20:36:22.979Z] $ docker top 73fbf2e2f964f1092b64110871ec9f713100dd5162145835cdda15453e44efc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T20:36:23.393Z] + go version [2024-07-12T20:36:23.393Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-12T20:36:23.433Z] $ docker stop --time=1 73fbf2e2f964f1092b64110871ec9f713100dd5162145835cdda15453e44efc0 [2024-07-12T20:36:24.710Z] $ docker rm -f --volumes 73fbf2e2f964f1092b64110871ec9f713100dd5162145835cdda15453e44efc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:36:25.525Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T20:36:25.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:36:25.786Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2024-07-12T20:36:25.815Z] $ 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-398 -v /w/workspace/gexfoundry_device-rest-go_PR-398:/w/workspace/gexfoundry_device-rest-go_PR-398:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-398@tmp:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T20:36:26.191Z] $ docker top b5f6996f5a8521e4f0ff1490260081c46eb164f35661df418dbb996963542787 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T20:36:26.614Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-398 [Pipeline] fileExists [Pipeline] sh [2024-07-12T20:36:26.990Z] + make test [2024-07-12T20:36:26.990Z] go test ./... -coverprofile=coverage.out ./... [2024-07-12T20:36:28.937Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-12T20:36:50.874Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-12T20:36:50.874Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2024-07-12T20:36:58.981Z] go vet ./... [2024-07-12T20:37:05.534Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-12T20:37:05.534Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-12T20:37:05.534Z] ./bin/test-attribution-txt.sh [2024-07-12T20:37:05.534Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-12T20:37:05.534Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-12T20:37:05.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-12T20:37:05.634Z] $ docker stop --time=1 b5f6996f5a8521e4f0ff1490260081c46eb164f35661df418dbb996963542787 [2024-07-12T20:37:09.061Z] $ docker rm -f --volumes b5f6996f5a8521e4f0ff1490260081c46eb164f35661df418dbb996963542787 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T20:37:09.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-12T20:37:09.826Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-12T20:37:10.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-12T20:37:10.864Z] + ls -al . [2024-07-12T20:37:10.864Z] total 248 [2024-07-12T20:37:10.864Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 20:36 . [2024-07-12T20:37:10.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:34 .. [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 20:34 .dockerignore [2024-07-12T20:37:10.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:36 .git [2024-07-12T20:37:10.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:34 .github [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 12 20:34 .gitignore [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:34 .golangci.yml [2024-07-12T20:37:10.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:35 .semver [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 12 20:34 Attribution.txt [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 12 20:34 CHANGELOG.md [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 12 20:34 Dockerfile [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:34 GOVERNANCE.md [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 20:34 Jenkinsfile [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:34 LICENSE [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 12 20:34 Makefile [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:34 OWNERS.md [2024-07-12T20:37:10.864Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 12 20:34 README.md [2024-07-12T20:37:10.865Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 20:35 VERSION [2024-07-12T20:37:10.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:34 bin [2024-07-12T20:37:10.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:34 cmd [2024-07-12T20:37:10.865Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 12 20:36 coverage.out [2024-07-12T20:37:10.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:34 driver [2024-07-12T20:37:10.865Z] -rw-rw-r-- 1 jenkins jenkins 7240 Jul 12 20:34 go.mod [2024-07-12T20:37:10.865Z] -rw-rw-r-- 1 jenkins jenkins 102296 Jul 12 20:34 go.sum [2024-07-12T20:37:10.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:34 openapi [2024-07-12T20:37:10.865Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:37:11.298Z] + 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=ea33329388915c30348e61775962adf2166fa79e --label arch=amd64 --label version=0.0.0 . [2024-07-12T20:37:11.298Z] Sending build context to Docker daemon 16.56MB [2024-07-12T20:37:11.298Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T20:37:11.298Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-12T20:37:11.298Z] ---> 214856d859ec [2024-07-12T20:37:11.298Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-12T20:37:11.557Z] ---> Running in 3dc740f60aba [2024-07-12T20:37:11.557Z] Removing intermediate container 3dc740f60aba [2024-07-12T20:37:11.557Z] ---> ad35b813fdbb [2024-07-12T20:37:11.557Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T20:37:11.557Z] ---> Running in 9cd22cd26d49 [2024-07-12T20:37:11.817Z] Removing intermediate container 9cd22cd26d49 [2024-07-12T20:37:11.817Z] ---> a4c148dcbcaf [2024-07-12T20:37:11.817Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T20:37:11.817Z] ---> Running in e6bf8236fb1e [2024-07-12T20:37:11.817Z] Removing intermediate container e6bf8236fb1e [2024-07-12T20:37:11.817Z] ---> e73457448535 [2024-07-12T20:37:11.817Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T20:37:11.817Z] ---> Running in e13a66ac55f9 [2024-07-12T20:37:12.077Z] Removing intermediate container e13a66ac55f9 [2024-07-12T20:37:12.077Z] ---> e333518148c9 [2024-07-12T20:37:12.077Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T20:37:12.077Z] ---> Running in 65660a275c56 [2024-07-12T20:37:12.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T20:37:12.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T20:37:12.905Z] OK: 268 MiB in 56 packages [2024-07-12T20:37:13.163Z] Removing intermediate container 65660a275c56 [2024-07-12T20:37:13.163Z] ---> 21e78e844b3b [2024-07-12T20:37:13.163Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-12T20:37:13.163Z] ---> Running in 051895589a2c [2024-07-12T20:37:13.163Z] Removing intermediate container 051895589a2c [2024-07-12T20:37:13.163Z] ---> f8684f89f674 [2024-07-12T20:37:13.163Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-12T20:37:13.423Z] ---> 7c6125bd2871 [2024-07-12T20:37:13.423Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T20:37:13.423Z] ---> Running in d0c2aa2f5f5b [2024-07-12T20:37:14.358Z] Removing intermediate container d0c2aa2f5f5b [2024-07-12T20:37:14.358Z] ---> 5a0c578e3101 [2024-07-12T20:37:14.358Z] Step 11/26 : COPY . . [2024-07-12T20:37:14.616Z] ---> 5f827cd7f291 [2024-07-12T20:37:14.616Z] Step 12/26 : RUN $MAKE [2024-07-12T20:37:14.874Z] ---> Running in bb63a40d7014 [2024-07-12T20:37:15.135Z] 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.21" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-12T20:37:47.256Z] Removing intermediate container bb63a40d7014 [2024-07-12T20:37:47.256Z] ---> cf1d08817102 [2024-07-12T20:37:47.256Z] Step 13/26 : FROM alpine:3.18 [2024-07-12T20:37:47.256Z] 3.18: Pulling from library/alpine [2024-07-12T20:37:47.256Z] 73baa7ef167e: Pulling fs layer [2024-07-12T20:37:47.256Z] 73baa7ef167e: Pull complete [2024-07-12T20:37:47.256Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-12T20:37:47.256Z] Status: Downloaded newer image for alpine:3.18 [2024-07-12T20:37:47.256Z] ---> 8fd7cac70a4a [2024-07-12T20:37:47.256Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T20:37:47.256Z] ---> Running in 7180313ffede [2024-07-12T20:37:47.256Z] Removing intermediate container 7180313ffede [2024-07-12T20:37:47.256Z] ---> 0b793cd87b6c [2024-07-12T20:37:47.256Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-12T20:37:47.256Z] ---> Running in 24f31554431d [2024-07-12T20:37:47.256Z] Removing intermediate container 24f31554431d [2024-07-12T20:37:47.256Z] ---> 16719f6f6297 [2024-07-12T20:37:47.256Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-12T20:37:47.256Z] ---> Running in c5e9b86f87d8 [2024-07-12T20:37:47.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T20:37:47.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T20:37:47.519Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-12T20:37:47.519Z] Executing busybox-1.36.1-r7.trigger [2024-07-12T20:37:47.519Z] OK: 7 MiB in 16 packages [2024-07-12T20:37:48.089Z] Removing intermediate container c5e9b86f87d8 [2024-07-12T20:37:48.089Z] ---> 009094d150ab [2024-07-12T20:37:48.089Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-12T20:37:48.089Z] ---> Running in 6de6582dfdd2 [2024-07-12T20:37:48.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T20:37:48.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T20:37:48.607Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T20:37:48.607Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T20:37:48.607Z] OK: 7 MiB in 16 packages [2024-07-12T20:37:49.201Z] Removing intermediate container 6de6582dfdd2 [2024-07-12T20:37:49.201Z] ---> 003a9f3472cc [2024-07-12T20:37:49.201Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-12T20:37:50.203Z] ---> 56a6110bda62 [2024-07-12T20:37:50.203Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-12T20:37:50.203Z] ---> 3d3098dc7dbb [2024-07-12T20:37:50.203Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-12T20:37:50.461Z] ---> 092c24512be7 [2024-07-12T20:37:50.461Z] Step 21/26 : EXPOSE 59986 [2024-07-12T20:37:50.461Z] ---> Running in 48c536ed26e9 [2024-07-12T20:37:50.461Z] Removing intermediate container 48c536ed26e9 [2024-07-12T20:37:50.461Z] ---> 7dd590dacec6 [2024-07-12T20:37:50.461Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-12T20:37:50.461Z] ---> Running in 76e0d6ca3504 [2024-07-12T20:37:50.723Z] Removing intermediate container 76e0d6ca3504 [2024-07-12T20:37:50.723Z] ---> 05e4a400e135 [2024-07-12T20:37:50.723Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-12T20:37:50.723Z] ---> Running in 19ae74b72a7a [2024-07-12T20:37:50.723Z] Removing intermediate container 19ae74b72a7a [2024-07-12T20:37:50.723Z] ---> 97440c134d41 [2024-07-12T20:37:50.723Z] Step 24/26 : LABEL arch=amd64 [2024-07-12T20:37:50.723Z] ---> Running in db024e9c86d4 [2024-07-12T20:37:50.723Z] Removing intermediate container db024e9c86d4 [2024-07-12T20:37:50.723Z] ---> 02ffdfb24064 [2024-07-12T20:37:50.723Z] Step 25/26 : LABEL git_sha=ea33329388915c30348e61775962adf2166fa79e [2024-07-12T20:37:50.723Z] ---> Running in 779bc405b4d7 [2024-07-12T20:37:50.982Z] Removing intermediate container 779bc405b4d7 [2024-07-12T20:37:50.982Z] ---> 42b6fe25b1ca [2024-07-12T20:37:50.982Z] Step 26/26 : LABEL version=0.0.0 [2024-07-12T20:37:50.982Z] ---> Running in c229473c7f97 [2024-07-12T20:37:50.982Z] Removing intermediate container c229473c7f97 [2024-07-12T20:37:50.982Z] ---> 4625e301e68f [2024-07-12T20:37:50.982Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-12T20:37:50.982Z] Successfully built 4625e301e68f [2024-07-12T20:37:50.982Z] 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-12T20:37:52.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T20:37:52.007Z] [2024-07-12T20:37:52.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:37:52.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T20:37:52.403Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-12T20:37:52.403Z] 5eb5b503b376: Pulling fs layer [2024-07-12T20:37:52.403Z] 5c69ac0246d0: Pulling fs layer [2024-07-12T20:37:52.403Z] ec43610c2a17: Pulling fs layer [2024-07-12T20:37:52.403Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-12T20:37:52.403Z] 33b1e0a273af: Pulling fs layer [2024-07-12T20:37:52.403Z] 5d3b04190fa2: Pulling fs layer [2024-07-12T20:37:52.403Z] 2f39f015ded8: Pulling fs layer [2024-07-12T20:37:52.403Z] 3a2ae6a8a46f: Waiting [2024-07-12T20:37:52.403Z] 5d3b04190fa2: Waiting [2024-07-12T20:37:52.403Z] 2f39f015ded8: Waiting [2024-07-12T20:37:52.403Z] 33b1e0a273af: Waiting [2024-07-12T20:37:52.403Z] 5c69ac0246d0: Verifying Checksum [2024-07-12T20:37:52.403Z] 5c69ac0246d0: Download complete [2024-07-12T20:37:52.403Z] 3a2ae6a8a46f: Download complete [2024-07-12T20:37:52.403Z] 33b1e0a273af: Verifying Checksum [2024-07-12T20:37:52.403Z] 33b1e0a273af: Download complete [2024-07-12T20:37:52.403Z] ec43610c2a17: Verifying Checksum [2024-07-12T20:37:52.403Z] ec43610c2a17: Download complete [2024-07-12T20:37:52.403Z] 5d3b04190fa2: Download complete [2024-07-12T20:37:52.662Z] 5eb5b503b376: Download complete [2024-07-12T20:37:53.227Z] 2f39f015ded8: Download complete [2024-07-12T20:37:53.795Z] 5eb5b503b376: Pull complete [2024-07-12T20:37:54.054Z] 5c69ac0246d0: Pull complete [2024-07-12T20:37:54.635Z] ec43610c2a17: Pull complete [2024-07-12T20:37:54.635Z] 3a2ae6a8a46f: Pull complete [2024-07-12T20:37:54.895Z] 33b1e0a273af: Pull complete [2024-07-12T20:37:54.895Z] 5d3b04190fa2: Pull complete [2024-07-12T20:38:00.174Z] 2f39f015ded8: Pull complete [2024-07-12T20:38:00.174Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-12T20:38:00.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T20:38:00.174Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:38:00.439Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2024-07-12T20:38:00.469Z] $ 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-398 -v /w/workspace/gexfoundry_device-rest-go_PR-398:/w/workspace/gexfoundry_device-rest-go_PR-398:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-398@tmp:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-12T20:38:04.440Z] $ docker top 9103434ec44c8db40a3e0d4c6d302d77bd195e91f2c2bd01754201b388e1ec0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:38:04.944Z] ---> job-cost.sh [2024-07-12T20:38:04.944Z] lf-activate-venv: SKIPPING [2024-07-12T20:38:04.944Z] INFO: No Stack... [2024-07-12T20:38:05.203Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T20:38:05.463Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T20:38:05.787Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-398/archives/cost.csv [2024-07-12T20:38:05.787Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T20:38:05.832Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] [2024-07-12T20:38:05.840Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] did not exist. Created. [2024-07-12T20:38:05.850Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-12T20:38:06.266Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-12T20:38:06.324Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T20:38:06.365Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T20:38:06.460Z] $ docker stop --time=1 9103434ec44c8db40a3e0d4c6d302d77bd195e91f2c2bd01754201b388e1ec0a [2024-07-12T20:38:07.664Z] $ docker rm -f --volumes 9103434ec44c8db40a3e0d4c6d302d77bd195e91f2c2bd01754201b388e1ec0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-12T20:39:09.006Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5476 in /w/workspace/gexfoundry_device-rest-go_PR-398 [Pipeline] { [Pipeline] ws [2024-07-12T20:39:09.085Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-07-12T20:39:12.209Z] The recommended git tool is: git [2024-07-12T20:39:20.133Z] using credential edgex-jenkins-ssh [2024-07-12T20:39:20.163Z] Cloning the remote Git repository [2024-07-12T20:39:20.280Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-12T20:39:20.402Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-07-12T20:39:20.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-12T20:39:20.640Z] > git --version # timeout=10 [2024-07-12T20:39:20.668Z] > git --version # 'git version 2.25.1' [2024-07-12T20:39:20.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T20:39:21.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-12T20:39:23.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-12T20:39:23.994Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-12T20:39:25.606Z] Merging remotes/origin/main commit 290df9772e99a502094e71001891edf463b76fa6 into PR head commit ea33329388915c30348e61775962adf2166fa79e [2024-07-12T20:39:25.887Z] Merge succeeded, producing ea33329388915c30348e61775962adf2166fa79e [2024-07-12T20:39:25.888Z] Checking out Revision ea33329388915c30348e61775962adf2166fa79e (PR-398) [2024-07-12T20:39:25.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-12T20:39:25.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-12T20:39:25.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T20:39:25.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-12T20:39:25.630Z] > git config core.sparsecheckout # timeout=10 [2024-07-12T20:39:25.709Z] > git checkout -f ea33329388915c30348e61775962adf2166fa79e # timeout=10 [2024-07-12T20:39:25.794Z] > git remote # timeout=10 [2024-07-12T20:39:25.812Z] > git config --get remote.origin.url # timeout=10 [2024-07-12T20:39:25.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T20:39:25.846Z] > git merge 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 [2024-07-12T20:39:25.874Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-12T20:39:25.896Z] > git config core.sparsecheckout # timeout=10 [2024-07-12T20:39:25.913Z] > git checkout -f ea33329388915c30348e61775962adf2166fa79e # timeout=10 [2024-07-12T20:39:26.606Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-12T20:39:26.665Z] > git --version # timeout=10 [2024-07-12T20:39:26.678Z] > git --version # 'git version 2.25.1' [2024-07-12T20:39:26.694Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T20:39:31.606Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-12T20:39:31.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T20:39:31.606Z] Dload Upload Total Spent Left Speed [2024-07-12T20:39:31.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-07-12T20:39:31.966Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-12T20:39:32.318Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-07-12T20:39:32.318Z] /etc/docker/daemon.new [2024-07-12T20:39:32.318Z] { [2024-07-12T20:39:32.318Z] "registry-mirrors": [ [2024-07-12T20:39:32.318Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-12T20:39:32.318Z] ], [2024-07-12T20:39:32.318Z] "bip": "10.250.0.254/24", [2024-07-12T20:39:32.318Z] "hosts": [ [2024-07-12T20:39:32.318Z] "tcp://0.0.0.0:5555", [2024-07-12T20:39:32.318Z] "unix:///var/run/docker.sock" [2024-07-12T20:39:32.318Z] ], [2024-07-12T20:39:32.318Z] "mtu": 1458, [2024-07-12T20:39:32.318Z] "selinux-enabled": true, [2024-07-12T20:39:32.318Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-12T20:39:32.318Z] } [Pipeline] sh [2024-07-12T20:39:32.681Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-12T20:39:33.056Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T20:39:51.458Z] provisioning config files... [2024-07-12T20:39:51.489Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config321452442342417224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:39:52.021Z] ---> ****-login.sh [2024-07-12T20:39:52.021Z] nexus3.edgexfoundry.org:10001 [2024-07-12T20:39:52.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:39:52.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:39:52.888Z] Configure a credential helper to remove this warning. See [2024-07-12T20:39:52.888Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:39:52.888Z] [2024-07-12T20:39:52.888Z] Login Succeeded [2024-07-12T20:39:52.889Z] nexus3.edgexfoundry.org:10002 [2024-07-12T20:39:53.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:39:53.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:39:53.158Z] Configure a credential helper to remove this warning. See [2024-07-12T20:39:53.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:39:53.158Z] [2024-07-12T20:39:53.158Z] Login Succeeded [2024-07-12T20:39:53.158Z] nexus3.edgexfoundry.org:10003 [2024-07-12T20:39:53.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:39:53.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:39:53.433Z] Configure a credential helper to remove this warning. See [2024-07-12T20:39:53.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:39:53.433Z] [2024-07-12T20:39:53.433Z] Login Succeeded [2024-07-12T20:39:53.433Z] nexus3.edgexfoundry.org:10004 [2024-07-12T20:39:53.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:39:53.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:39:53.980Z] Configure a credential helper to remove this warning. See [2024-07-12T20:39:53.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:39:53.980Z] [2024-07-12T20:39:53.980Z] Login Succeeded [2024-07-12T20:39:53.980Z] ****.io [2024-07-12T20:39:54.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T20:39:54.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T20:39:54.523Z] Configure a credential helper to remove this warning. See [2024-07-12T20:39:54.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T20:39:54.523Z] [2024-07-12T20:39:54.523Z] Login Succeeded [2024-07-12T20:39:54.523Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T20:39:54.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T20:39:55.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T20:39:55.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T20:39:55.170Z] ========================================================= [2024-07-12T20:39:55.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-12T20:39:55.170Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:39:55.726Z] + 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-12T20:39:55.726Z] Sending build context to Docker daemon 131.1kB [2024-07-12T20:39:56.004Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T20:39:56.004Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-12T20:39:56.274Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-12T20:39:56.274Z] c6b39de5b339: Pulling fs layer [2024-07-12T20:39:56.274Z] a69c41024577: Pulling fs layer [2024-07-12T20:39:56.274Z] d6de4b400683: Pulling fs layer [2024-07-12T20:39:56.274Z] 35cb2a7552d0: Pulling fs layer [2024-07-12T20:39:56.274Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T20:39:56.274Z] 464afbd9ba4c: Pulling fs layer [2024-07-12T20:39:56.274Z] 35cb2a7552d0: Waiting [2024-07-12T20:39:56.274Z] 4f4fb700ef54: Waiting [2024-07-12T20:39:56.274Z] 00f215d4a9da: Pulling fs layer [2024-07-12T20:39:56.275Z] 464afbd9ba4c: Waiting [2024-07-12T20:39:56.275Z] d496ad576159: Pulling fs layer [2024-07-12T20:39:56.275Z] 00f215d4a9da: Waiting [2024-07-12T20:39:56.275Z] d496ad576159: Waiting [2024-07-12T20:39:56.275Z] a69c41024577: Download complete [2024-07-12T20:39:56.275Z] 35cb2a7552d0: Verifying Checksum [2024-07-12T20:39:56.275Z] 35cb2a7552d0: Download complete [2024-07-12T20:39:56.275Z] 4f4fb700ef54: Verifying Checksum [2024-07-12T20:39:56.275Z] 4f4fb700ef54: Download complete [2024-07-12T20:39:56.275Z] c6b39de5b339: Download complete [2024-07-12T20:39:56.275Z] 464afbd9ba4c: Verifying Checksum [2024-07-12T20:39:56.275Z] 464afbd9ba4c: Download complete [2024-07-12T20:39:56.874Z] d496ad576159: Verifying Checksum [2024-07-12T20:39:56.874Z] d496ad576159: Download complete [2024-07-12T20:39:57.146Z] c6b39de5b339: Pull complete [2024-07-12T20:39:58.121Z] a69c41024577: Pull complete [2024-07-12T20:39:58.121Z] d6de4b400683: Verifying Checksum [2024-07-12T20:39:58.121Z] d6de4b400683: Download complete [2024-07-12T20:39:59.541Z] 00f215d4a9da: Download complete [2024-07-12T20:40:11.875Z] d6de4b400683: Pull complete [2024-07-12T20:40:11.875Z] 35cb2a7552d0: Pull complete [2024-07-12T20:40:11.875Z] 4f4fb700ef54: Pull complete [2024-07-12T20:40:11.875Z] 464afbd9ba4c: Pull complete [2024-07-12T20:40:20.102Z] 00f215d4a9da: Pull complete [2024-07-12T20:40:22.050Z] d496ad576159: Pull complete [2024-07-12T20:40:22.050Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-12T20:40:22.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-12T20:40:22.050Z] ---> f246e2811388 [2024-07-12T20:40:22.050Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-12T20:40:22.635Z] ---> Running in aee1905edb3e [2024-07-12T20:40:23.223Z] Removing intermediate container aee1905edb3e [2024-07-12T20:40:23.223Z] ---> dcee292dcd7d [2024-07-12T20:40:23.223Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T20:40:23.223Z] ---> Running in 217cdc1176ea [2024-07-12T20:40:23.495Z] Removing intermediate container 217cdc1176ea [2024-07-12T20:40:23.495Z] ---> 051a55058b21 [2024-07-12T20:40:23.495Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T20:40:23.495Z] ---> Running in e95307559f7f [2024-07-12T20:40:23.770Z] Removing intermediate container e95307559f7f [2024-07-12T20:40:23.770Z] ---> 2cdc506bfe17 [2024-07-12T20:40:23.770Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T20:40:24.040Z] ---> Running in a1d8ea01fb43 [2024-07-12T20:40:24.310Z] Removing intermediate container a1d8ea01fb43 [2024-07-12T20:40:24.310Z] ---> 6295c4db4a2b [2024-07-12T20:40:24.310Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T20:40:24.310Z] ---> Running in a77ba9be1ce0 [2024-07-12T20:40:25.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T20:40:26.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T20:40:27.313Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-12T20:40:27.313Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-12T20:40:27.313Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-12T20:40:27.313Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-12T20:40:27.313Z] Executing busybox-1.36.1-r5.trigger [2024-07-12T20:40:27.313Z] OK: 271 MiB in 56 packages [2024-07-12T20:40:28.740Z] Removing intermediate container a77ba9be1ce0 [2024-07-12T20:40:28.740Z] ---> ab2b26f2cd7d [2024-07-12T20:40:28.740Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-12T20:40:28.740Z] ---> Running in 33cdec5cad78 [2024-07-12T20:40:29.013Z] Removing intermediate container 33cdec5cad78 [2024-07-12T20:40:29.013Z] ---> 941866c35edf [2024-07-12T20:40:29.013Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-12T20:40:29.602Z] ---> f21394f19f41 [2024-07-12T20:40:29.602Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T20:40:29.602Z] ---> Running in 2cf291b284ea [2024-07-12T20:42:21.285Z] Removing intermediate container 2cf291b284ea [2024-07-12T20:42:21.285Z] ---> 2a37cce4e2c0 [2024-07-12T20:42:21.285Z] Step 11/12 : COPY . . [2024-07-12T20:42:22.247Z] ---> 775d3ff2087a [2024-07-12T20:42:22.247Z] Step 12/12 : RUN $MAKE [2024-07-12T20:42:22.247Z] ---> Running in 1b55f9191056 [2024-07-12T20:42:23.206Z] noop [2024-07-12T20:42:23.787Z] Removing intermediate container 1b55f9191056 [2024-07-12T20:42:23.787Z] ---> 51d1b87db3b3 [2024-07-12T20:42:23.787Z] Successfully built 51d1b87db3b3 [2024-07-12T20:42:23.787Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:42:24.308Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T20:42:24.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:42:24.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-5476 does not seem to be running inside a container [2024-07-12T20:42:24.715Z] $ 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-12T20:42:26.023Z] $ docker top e15b0e8fd45a4c7be5c78cbdd1beea39ea56f59e302764bf3722a63fa273fe8f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T20:42:26.935Z] + go version [2024-07-12T20:42:26.935Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-12T20:42:26.977Z] $ docker stop --time=1 e15b0e8fd45a4c7be5c78cbdd1beea39ea56f59e302764bf3722a63fa273fe8f [2024-07-12T20:42:28.564Z] $ docker rm -f --volumes e15b0e8fd45a4c7be5c78cbdd1beea39ea56f59e302764bf3722a63fa273fe8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:42:29.495Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T20:42:29.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:42:29.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-5476 does not seem to be running inside a container [2024-07-12T20:42:29.849Z] $ 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-12T20:42:31.032Z] $ docker top f396b8a4874fcc447cb63855a3980b53cdc52af88ae8cb9dcfde0a402866d283 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T20:42:31.611Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-12T20:42:32.300Z] + make test [2024-07-12T20:42:32.566Z] go test ./... -coverprofile=coverage.out ./... [2024-07-12T20:42:39.206Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-12T20:46:15.970Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-12T20:46:15.970Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 33.2% of statements [2024-07-12T20:46:15.970Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-12T20:46:15.970Z] go vet ./... [2024-07-12T20:46:54.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-12T20:46:54.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-12T20:46:54.830Z] ./bin/test-attribution-txt.sh [2024-07-12T20:46:54.830Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-12T20:46:54.830Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-12T20:46:54.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-12T20:46:54.937Z] $ docker stop --time=1 f396b8a4874fcc447cb63855a3980b53cdc52af88ae8cb9dcfde0a402866d283 [2024-07-12T20:46:56.827Z] $ docker rm -f --volumes f396b8a4874fcc447cb63855a3980b53cdc52af88ae8cb9dcfde0a402866d283 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T20:46:58.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-12T20:46:58.505Z] Warning: overwriting stash ‘coverage-report’ [2024-07-12T20:46:59.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T20:46:59.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-12T20:47:00.145Z] + ls -al . [2024-07-12T20:47:00.145Z] total 244 [2024-07-12T20:47:00.145Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:42 . [2024-07-12T20:47:00.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:39 .. [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 20:39 .dockerignore [2024-07-12T20:47:00.145Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:39 .git [2024-07-12T20:47:00.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:39 .github [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 12 20:39 .gitignore [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:39 .golangci.yml [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 12 20:39 Attribution.txt [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 12 20:39 CHANGELOG.md [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 12 20:39 Dockerfile [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:39 GOVERNANCE.md [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 20:39 Jenkinsfile [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:39 LICENSE [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 12 20:39 Makefile [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:39 OWNERS.md [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 12 20:39 README.md [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 20:35 VERSION [2024-07-12T20:47:00.145Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:39 bin [2024-07-12T20:47:00.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:39 cmd [2024-07-12T20:47:00.145Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 12 20:46 coverage.out [2024-07-12T20:47:00.145Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:39 driver [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 7240 Jul 12 20:39 go.mod [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 102296 Jul 12 20:39 go.sum [2024-07-12T20:47:00.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:39 openapi [2024-07-12T20:47:00.145Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:47:00.615Z] + 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=ea33329388915c30348e61775962adf2166fa79e --label arch=arm64 --label version=0.0.0 . [2024-07-12T20:47:00.616Z] Sending build context to Docker daemon 146.4kB [2024-07-12T20:47:00.914Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T20:47:00.914Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-12T20:47:00.914Z] ---> 51d1b87db3b3 [2024-07-12T20:47:00.914Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-12T20:47:00.914Z] ---> Running in 1ea10a57bd4a [2024-07-12T20:47:01.517Z] Removing intermediate container 1ea10a57bd4a [2024-07-12T20:47:01.517Z] ---> bbc772e7366c [2024-07-12T20:47:01.517Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T20:47:01.517Z] ---> Running in 038499c15810 [2024-07-12T20:47:01.784Z] Removing intermediate container 038499c15810 [2024-07-12T20:47:01.784Z] ---> f30f21ca528a [2024-07-12T20:47:01.784Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T20:47:01.784Z] ---> Running in 4a1373b1fdd1 [2024-07-12T20:47:02.050Z] Removing intermediate container 4a1373b1fdd1 [2024-07-12T20:47:02.050Z] ---> 198967873018 [2024-07-12T20:47:02.050Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T20:47:02.328Z] ---> Running in 4bf9b0941db7 [2024-07-12T20:47:02.600Z] Removing intermediate container 4bf9b0941db7 [2024-07-12T20:47:02.601Z] ---> b6cbadde8048 [2024-07-12T20:47:02.601Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T20:47:02.601Z] ---> Running in cdcd6e8c3ca1 [2024-07-12T20:47:03.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T20:47:04.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T20:47:05.113Z] OK: 271 MiB in 56 packages [2024-07-12T20:47:06.076Z] Removing intermediate container cdcd6e8c3ca1 [2024-07-12T20:47:06.076Z] ---> 18eddd725f27 [2024-07-12T20:47:06.076Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-12T20:47:06.076Z] ---> Running in a2e9982b03d3 [2024-07-12T20:47:06.346Z] Removing intermediate container a2e9982b03d3 [2024-07-12T20:47:06.346Z] ---> 9168dacf13f2 [2024-07-12T20:47:06.346Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-12T20:47:06.935Z] ---> 91ef76dc01ef [2024-07-12T20:47:06.935Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T20:47:06.935Z] ---> Running in 5916d32be549 [2024-07-12T20:47:09.512Z] Removing intermediate container 5916d32be549 [2024-07-12T20:47:09.512Z] ---> 9655ebcf6ade [2024-07-12T20:47:09.512Z] Step 11/26 : COPY . . [2024-07-12T20:47:09.512Z] ---> 079bac2d7188 [2024-07-12T20:47:09.512Z] Step 12/26 : RUN $MAKE [2024-07-12T20:47:09.781Z] ---> Running in b0dbfd5912ef [2024-07-12T20:47:10.742Z] 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.21" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-12T20:50:47.531Z] Removing intermediate container b0dbfd5912ef [2024-07-12T20:50:47.531Z] ---> d4d6fbb8bca1 [2024-07-12T20:50:47.531Z] Step 13/26 : FROM alpine:3.18 [2024-07-12T20:50:47.531Z] 3.18: Pulling from library/alpine [2024-07-12T20:50:47.531Z] 5c905c7ebe2f: Pulling fs layer [2024-07-12T20:50:47.531Z] 5c905c7ebe2f: Verifying Checksum [2024-07-12T20:50:47.531Z] 5c905c7ebe2f: Download complete [2024-07-12T20:50:47.531Z] 5c905c7ebe2f: Pull complete [2024-07-12T20:50:47.531Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-12T20:50:47.531Z] Status: Downloaded newer image for alpine:3.18 [2024-07-12T20:50:47.531Z] ---> dec292d02e07 [2024-07-12T20:50:47.531Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T20:50:47.531Z] ---> Running in 0bf7f1101037 [2024-07-12T20:50:47.531Z] Removing intermediate container 0bf7f1101037 [2024-07-12T20:50:47.531Z] ---> 2c626595f8dd [2024-07-12T20:50:47.531Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-12T20:50:47.531Z] ---> Running in b939636dfbc9 [2024-07-12T20:50:47.531Z] Removing intermediate container b939636dfbc9 [2024-07-12T20:50:47.531Z] ---> a479398aa8b2 [2024-07-12T20:50:47.531Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-12T20:50:47.531Z] ---> Running in 7927d8abe8b5 [2024-07-12T20:50:47.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T20:50:47.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T20:50:47.531Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-12T20:50:47.531Z] Executing busybox-1.36.1-r7.trigger [2024-07-12T20:50:47.531Z] OK: 8 MiB in 16 packages [2024-07-12T20:50:47.531Z] Removing intermediate container 7927d8abe8b5 [2024-07-12T20:50:47.531Z] ---> 571f04098d1e [2024-07-12T20:50:47.531Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-12T20:50:47.531Z] ---> Running in 5c2f40109ec2 [2024-07-12T20:50:47.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T20:50:47.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T20:50:47.531Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T20:50:47.531Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T20:50:47.801Z] OK: 8 MiB in 16 packages [2024-07-12T20:50:48.762Z] Removing intermediate container 5c2f40109ec2 [2024-07-12T20:50:48.762Z] ---> 864443dd9460 [2024-07-12T20:50:48.762Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-12T20:50:50.705Z] ---> ed2087757dfb [2024-07-12T20:50:50.705Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-12T20:50:50.972Z] ---> 77c6d0f01f3c [2024-07-12T20:50:50.972Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-12T20:50:51.555Z] ---> 09ba8599127a [2024-07-12T20:50:51.555Z] Step 21/26 : EXPOSE 59986 [2024-07-12T20:50:51.555Z] ---> Running in f445b45af019 [2024-07-12T20:50:51.823Z] Removing intermediate container f445b45af019 [2024-07-12T20:50:51.823Z] ---> 017d28de3cb3 [2024-07-12T20:50:51.823Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-12T20:50:51.823Z] ---> Running in ac0de627310d [2024-07-12T20:50:52.406Z] Removing intermediate container ac0de627310d [2024-07-12T20:50:52.406Z] ---> 49a9ebdbabb4 [2024-07-12T20:50:52.406Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-12T20:50:52.406Z] ---> Running in b142ebc8a32d [2024-07-12T20:50:52.675Z] Removing intermediate container b142ebc8a32d [2024-07-12T20:50:52.675Z] ---> ea60e6920a93 [2024-07-12T20:50:52.675Z] Step 24/26 : LABEL arch=arm64 [2024-07-12T20:50:52.942Z] ---> Running in 1bdc164e8d3d [2024-07-12T20:50:53.212Z] Removing intermediate container 1bdc164e8d3d [2024-07-12T20:50:53.212Z] ---> c8f7eabeea4b [2024-07-12T20:50:53.212Z] Step 25/26 : LABEL git_sha=ea33329388915c30348e61775962adf2166fa79e [2024-07-12T20:50:53.212Z] ---> Running in 82dd48e5ac3e [2024-07-12T20:50:53.478Z] Removing intermediate container 82dd48e5ac3e [2024-07-12T20:50:53.478Z] ---> bab2a95b81d0 [2024-07-12T20:50:53.478Z] Step 26/26 : LABEL version=0.0.0 [2024-07-12T20:50:53.747Z] ---> Running in 58bcac865fe7 [2024-07-12T20:50:54.014Z] Removing intermediate container 58bcac865fe7 [2024-07-12T20:50:54.014Z] ---> 61df10b1475f [2024-07-12T20:50:54.014Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-12T20:50:54.014Z] Successfully built 61df10b1475f [2024-07-12T20:50:54.014Z] 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-12T20:50:54.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T20:50:54.931Z] [2024-07-12T20:50:54.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:50:55.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T20:50:55.632Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-12T20:50:55.632Z] 8998bd30e6a1: Pulling fs layer [2024-07-12T20:50:55.632Z] 04944245beec: Pulling fs layer [2024-07-12T20:50:55.632Z] 699f458cf7ca: Pulling fs layer [2024-07-12T20:50:55.632Z] 765212b225bb: Pulling fs layer [2024-07-12T20:50:55.632Z] f23df028b6ca: Pulling fs layer [2024-07-12T20:50:55.632Z] d65c8cfc05b1: Pulling fs layer [2024-07-12T20:50:55.632Z] 2437ff75d9bd: Pulling fs layer [2024-07-12T20:50:55.632Z] 765212b225bb: Waiting [2024-07-12T20:50:55.632Z] f23df028b6ca: Waiting [2024-07-12T20:50:55.632Z] d65c8cfc05b1: Waiting [2024-07-12T20:50:55.632Z] 2437ff75d9bd: Waiting [2024-07-12T20:50:55.632Z] 04944245beec: Verifying Checksum [2024-07-12T20:50:55.632Z] 04944245beec: Download complete [2024-07-12T20:50:55.632Z] 765212b225bb: Verifying Checksum [2024-07-12T20:50:55.632Z] 765212b225bb: Download complete [2024-07-12T20:50:55.632Z] f23df028b6ca: Verifying Checksum [2024-07-12T20:50:55.632Z] f23df028b6ca: Download complete [2024-07-12T20:50:55.632Z] d65c8cfc05b1: Verifying Checksum [2024-07-12T20:50:55.632Z] d65c8cfc05b1: Download complete [2024-07-12T20:50:55.899Z] 699f458cf7ca: Verifying Checksum [2024-07-12T20:50:55.899Z] 699f458cf7ca: Download complete [2024-07-12T20:50:56.167Z] 8998bd30e6a1: Verifying Checksum [2024-07-12T20:50:56.167Z] 8998bd30e6a1: Download complete [2024-07-12T20:50:58.747Z] 2437ff75d9bd: Verifying Checksum [2024-07-12T20:50:58.747Z] 2437ff75d9bd: Download complete [2024-07-12T20:51:00.687Z] 8998bd30e6a1: Pull complete [2024-07-12T20:51:01.269Z] 04944245beec: Pull complete [2024-07-12T20:51:03.213Z] 699f458cf7ca: Pull complete [2024-07-12T20:51:03.213Z] 765212b225bb: Pull complete [2024-07-12T20:51:04.172Z] f23df028b6ca: Pull complete [2024-07-12T20:51:04.440Z] d65c8cfc05b1: Pull complete [2024-07-12T20:51:22.638Z] 2437ff75d9bd: Pull complete [2024-07-12T20:51:22.638Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-12T20:51:22.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T20:51:22.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:51:51.257Z] prd-ubuntu20.04-docker-arm64-4c-16g-5476 does not seem to be running inside a container [2024-07-12T20:51:51.330Z] $ 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-12T20:51:52.453Z] $ docker top 0b5e92dac8bb6bbf2492f8c861d2a0932903a69325ff46d6c849d187d515c961 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:51:53.363Z] ---> job-cost.sh [2024-07-12T20:51:53.363Z] lf-activate-venv: SKIPPING [2024-07-12T20:51:53.363Z] INFO: No Stack... [2024-07-12T20:51:53.625Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-12T20:51:54.573Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T20:51:54.914Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-07-12T20:51:55.177Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T20:51:55.257Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] [2024-07-12T20:51:55.266Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] did not exist. Created. [2024-07-12T20:51:55.272Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-12T20:51:56.015Z] /w/workspace/device-rest-go/1@tmp/durable-e74219ab/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-12T20:51:56.672Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-12T20:51:56.717Z] Warning: overwriting stash ‘stack-cost’ [2024-07-12T20:51:56.755Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T20:51:56.774Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T20:51:56.868Z] $ docker stop --time=1 0b5e92dac8bb6bbf2492f8c861d2a0932903a69325ff46d6c849d187d515c961 [2024-07-12T20:51:58.351Z] $ docker rm -f --volumes 0b5e92dac8bb6bbf2492f8c861d2a0932903a69325ff46d6c849d187d515c961 [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-12T20:51:59.470Z] provisioning config files... [2024-07-12T20:51:59.476Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp/config6128124982713246749tmp [Pipeline] { [Pipeline] sh [2024-07-12T20:51:59.839Z] + set +x [2024-07-12T20:51:59.839Z] + + curl -s https://codecov.io/bash [2024-07-12T20:51:59.839Z] bash -s -- [2024-07-12T20:51:59.839Z] [2024-07-12T20:51:59.839Z] _____ _ [2024-07-12T20:51:59.839Z] / ____| | | [2024-07-12T20:51:59.839Z] | | ___ __| | ___ ___ _____ __ [2024-07-12T20:51:59.839Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-12T20:51:59.839Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-12T20:51:59.839Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-12T20:51:59.839Z] Bash-1.0.6 [2024-07-12T20:51:59.839Z] [2024-07-12T20:51:59.839Z] [2024-07-12T20:51:59.839Z] ==> git version 2.25.1 found [2024-07-12T20:51:59.839Z] ==> 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-12T20:51:59.839Z] Release-Date: 2020-01-08 [2024-07-12T20:51:59.839Z] 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-12T20:51:59.839Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-12T20:51:59.839Z] ==> Jenkins CI detected. [2024-07-12T20:51:59.839Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-398 [2024-07-12T20:51:59.839Z] project root: . [2024-07-12T20:51:59.839Z] --> token set from env [2024-07-12T20:51:59.839Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-12T20:51:59.839Z] ==> Running gcov in . (disable via -X gcov) [2024-07-12T20:51:59.839Z] ==> Python coveragepy not found [2024-07-12T20:51:59.839Z] ==> Searching for coverage reports in: [2024-07-12T20:51:59.839Z] + . [2024-07-12T20:51:59.839Z] -> Found 1 reports [2024-07-12T20:51:59.839Z] ==> Detecting git/mercurial file structure [2024-07-12T20:51:59.839Z] ==> Reading reports [2024-07-12T20:51:59.839Z] + ./coverage.out bytes=14499 [2024-07-12T20:51:59.839Z] ==> Appending adjustments [2024-07-12T20:51:59.839Z] https://docs.codecov.io/docs/fixing-reports [2024-07-12T20:52:00.099Z] + Found adjustments [2024-07-12T20:52:00.099Z] ==> Gzipping contents [2024-07-12T20:52:00.099Z] 4.0K /tmp/codecov.GYc75F.gz [2024-07-12T20:52:00.099Z] ==> Uploading reports [2024-07-12T20:52:00.099Z] url: https://codecov.io [2024-07-12T20:52:00.099Z] query: branch=PR-398&commit=ea33329388915c30348e61775962adf2166fa79e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=398&job=&cmd_args= [2024-07-12T20:52:00.099Z] -> Pinging Codecov [2024-07-12T20:52:00.099Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-398&commit=ea33329388915c30348e61775962adf2166fa79e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=398&job=&cmd_args= [2024-07-12T20:52:00.099Z] -> Uploading to [2024-07-12T20:52:00.099Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-12/4E5D53B4F1F92C436F7061BF334D961C/ea33329388915c30348e61775962adf2166fa79e/c1c3f683-d7e7-4bab-a19d-cfab691dbd4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240712%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240712T205200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=099ba102f16a71a34ad2b36773c2033815d7858aa789e51988f2b2e54c1527bc [2024-07-12T20:52:00.099Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T20:52:00.099Z] Dload Upload Total Spent Left Speed [2024-07-12T20:52:00.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10004 --:--:-- --:--:-- --:--:-- 10004 [2024-07-12T20:52:00.359Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ea33329388915c30348e61775962adf2166fa79e [Pipeline] } [2024-07-12T20:52:00.390Z] 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-12T20:52:02.638Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-398/archives ] [2024-07-12T20:52:02.638Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-398/archives [2024-07-12T20:52:02.638Z] total 16 [2024-07-12T20:52:02.638Z] drwxr-xr-x 3 root root 4096 Jul 12 20:38 . [2024-07-12T20:52:02.638Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 20:38 .. [2024-07-12T20:52:02.638Z] drwxr-xr-x 2 root root 4096 Jul 12 20:38 cost [2024-07-12T20:52:02.638Z] -rw-r--r-- 1 root root 86 Jul 12 20:38 cost.csv [2024-07-12T20:52:02.638Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-398/archives [2024-07-12T20:52:02.638Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-398/archives [2024-07-12T20:52:02.638Z] total 16 [2024-07-12T20:52:02.638Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:38 . [2024-07-12T20:52:02.638Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 20:38 .. [2024-07-12T20:52:02.638Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 20:38 cost [2024-07-12T20:52:02.638Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 12 20:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:52:02.976Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:52:03.872Z] ---> package-listing.sh [2024-07-12T20:52:03.872Z] ++ facter osfamily [2024-07-12T20:52:03.872Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-12T20:52:04.131Z] + OS_FAMILY=debian [2024-07-12T20:52:04.131Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-398 [2024-07-12T20:52:04.131Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-12T20:52:04.131Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-12T20:52:04.131Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-12T20:52:04.131Z] + PACKAGES=/tmp/packages_start.txt [2024-07-12T20:52:04.131Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-398 ']' [2024-07-12T20:52:04.131Z] + PACKAGES=/tmp/packages_end.txt [2024-07-12T20:52:04.131Z] + case "${OS_FAMILY}" in [2024-07-12T20:52:04.131Z] + dpkg -l [2024-07-12T20:52:04.131Z] + grep '^ii' [2024-07-12T20:52:04.131Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-12T20:52:04.131Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-12T20:52:04.131Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-12T20:52:04.131Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-398 ']' [2024-07-12T20:52:04.131Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-398/archives/ [2024-07-12T20:52:04.131Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-398/archives/ [Pipeline] echo [2024-07-12T20:52:04.171Z] 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-398/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-12T20:52:04.467Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T20:52:05.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T20:52:05.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T20:52:05.303Z] prd-ubuntu20.04-docker-8c-8g-5475 does not seem to be running inside a container [2024-07-12T20:52:05.327Z] $ 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-398/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-398 -v /w/workspace/gexfoundry_device-rest-go_PR-398:/w/workspace/gexfoundry_device-rest-go_PR-398:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-398@tmp:/w/workspace/gexfoundry_device-rest-go_PR-398@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-12T20:52:05.504Z] $ docker top d7f260fd7984e59c718054844e4604757c184cef1bd01cb6ac796d30b891d8d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T20:52:05.920Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-12T20:52:06.237Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-12T20:52:06.555Z] + ls /var/log/sa-host [2024-07-12T20:52:06.555Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T20:52:06.720Z] provisioning config files... [2024-07-12T20:52:06.729Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-398@tmp/config3447883808950677963tmp [Pipeline] { [Pipeline] echo [2024-07-12T20:52:06.803Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:52:07.129Z] ---> create-netrc.sh [Pipeline] } [2024-07-12T20:52:07.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:52:07.575Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-12T20:52:07.617Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:52:07.946Z] ---> sudo-logs.sh [2024-07-12T20:52:07.946Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-12T20:52:08.052Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:52:08.378Z] ---> job-cost.sh [2024-07-12T20:52:08.379Z] lf-activate-venv: SKIPPING [2024-07-12T20:52:08.379Z] DEBUG: total: 0.2199999988079071 [2024-07-12T20:52:08.379Z] INFO: Retrieving Stack Cost... [2024-07-12T20:52:08.949Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T20:52:09.209Z] INFO: Archiving Costs [Pipeline] echo [2024-07-12T20:52:09.255Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T20:52:09.582Z] ---> logs-deploy.sh [2024-07-12T20:52:09.582Z] lf-activate-venv: SKIPPING [2024-07-12T20:52:09.582Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-398/1 [2024-07-12T20:52:09.582Z] INFO: archiving workspace using pattern(s): [2024-07-12T20:52:10.519Z] Archives upload complete. [2024-07-12T20:52:10.519Z] INFO: archiving logs to Nexus