Pull request #399 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5e3388642c5a996d213cfd67c5b8f75c1e5d53da+290df9772e99a502094e71001891edf463b76fa6 (d91fac8372fb0680cc21c4b22ef0c7b9c15b4359) 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-ssh13677541170638779279.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-ssh16321231038400483346.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-399/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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13422139289981095834.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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh930040233964516764.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-ssh13902251654983280784.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-399/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-399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16423725444381387057.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5666 in /w/workspace/gexfoundry_device-rest-go_PR-399 [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-399 # 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/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 290df9772e99a502094e71001891edf463b76fa6 into PR head commit 5e3388642c5a996d213cfd67c5b8f75c1e5d53da Merge succeeded, producing 5e3388642c5a996d213cfd67c5b8f75c1e5d53da Checking out Revision 5e3388642c5a996d213cfd67c5b8f75c1e5d53da (PR-399) 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 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # 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 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-15T20:43:23.194Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-15T20:43:23.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-15T20:43:23.555Z] ========================================================= [2024-07-15T20:43:23.555Z] EdgeX Global Pipelines Version Info [2024-07-15T20:43:23.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:43:24.356Z] ------------------- [2024-07-15T20:43:24.356Z] stable info: [2024-07-15T20:43:24.356Z] ------------------- [2024-07-15T20:43:24.356Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-15T20:43:24.356Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-15T20:43:24.356Z] Message: update stable to v1.0.260 [2024-07-15T20:43:24.928Z] ------------------- [2024-07-15T20:43:24.928Z] experimental info: [2024-07-15T20:43:24.928Z] ------------------- [2024-07-15T20:43:24.928Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-15T20:43:24.928Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-15T20:43:24.928Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-15T20:43:25.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-15T20:43:25.227Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-15T20:43:25.291Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-15T20:43:25.358Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-15T20:43:25.424Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-15T20:43:25.484Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-15T20:43:25.547Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-15T20:43:25.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-15T20:43:25.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-15T20:43:25.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-15T20:43:25.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-15T20:43:25.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-15T20:43:25.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-15T20:43:25.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-15T20:43:26.031Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-15T20:43:26.138Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-15T20:43:26.199Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T20:43:26.260Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T20:43:26.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-15T20:43:26.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-15T20:43:26.445Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-15T20:43:26.500Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-15T20:43:26.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-15T20:43:26.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-15T20:43:26.680Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-15T20:43:26.741Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-15T20:43:26.804Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-15T20:43:26.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo [2024-07-15T20:43:26.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo [2024-07-15T20:43:27.015Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo [2024-07-15T20:43:27.070Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo [2024-07-15T20:43:27.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e33886 [Pipeline] echo [2024-07-15T20:43:27.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T20:43:27.394Z] provisioning config files... [2024-07-15T20:43:27.413Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config11965361995827361167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:43:27.803Z] ---> ****-login.sh [2024-07-15T20:43:27.803Z] nexus3.edgexfoundry.org:10001 [2024-07-15T20:43:28.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:28.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:28.071Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:28.071Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:28.071Z] [2024-07-15T20:43:28.071Z] Login Succeeded [2024-07-15T20:43:28.071Z] nexus3.edgexfoundry.org:10002 [2024-07-15T20:43:28.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:28.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:28.332Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:28.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:28.332Z] [2024-07-15T20:43:28.332Z] Login Succeeded [2024-07-15T20:43:28.332Z] nexus3.edgexfoundry.org:10003 [2024-07-15T20:43:28.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:28.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:28.332Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:28.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:28.332Z] [2024-07-15T20:43:28.332Z] Login Succeeded [2024-07-15T20:43:28.332Z] nexus3.edgexfoundry.org:10004 [2024-07-15T20:43:28.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:28.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:28.594Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:28.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:28.594Z] [2024-07-15T20:43:28.594Z] Login Succeeded [2024-07-15T20:43:28.594Z] ****.io [2024-07-15T20:43:28.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:28.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:28.854Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:28.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:28.855Z] [2024-07-15T20:43:28.855Z] Login Succeeded [2024-07-15T20:43:28.855Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T20:43:28.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-15T20:43:29.616Z] + git rev-list -1 --merges 5e3388642c5a996d213cfd67c5b8f75c1e5d53da~1..5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo [2024-07-15T20:43:29.659Z] -----------> git rev-list -1 --merges 5e3388642c5a996d213cfd67c5b8f75c1e5d53da~1..5e3388642c5a996d213cfd67c5b8f75c1e5d53da 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [false] [Pipeline] sh [2024-07-15T20:43:29.989Z] + git log --format=format:%s -1 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo [2024-07-15T20:43:30.030Z] ========================================================= [2024-07-15T20:43:30.030Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-15T20:43:30.030Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T20:43:30.487Z] + git log --format=format:%s -1 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo [2024-07-15T20:43:30.527Z] [semverPrep] GIT_COMMIT: 5e3388642c5a996d213cfd67c5b8f75c1e5d53da, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-15T20:43:30.572Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-15T20:43:30.990Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-15T20:43:30.990Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-15T20:43:30.990Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-15T20:43:30.990Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-15T20:43:30.990Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-07-15T20:43:30.990Z] -a /etc/ssh/ssh_known_hosts [2024-07-15T20:43:30.990Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:43:31.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T20:43:31.534Z] [2024-07-15T20:43:31.534Z] 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-15T20:43:32.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T20:43:32.013Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-15T20:43:32.013Z] b85a868b505f: Pulling fs layer [2024-07-15T20:43:32.013Z] e2be974225ed: Pulling fs layer [2024-07-15T20:43:32.013Z] 339a4e72a1f5: Pulling fs layer [2024-07-15T20:43:32.013Z] 988bab9f4d93: Pulling fs layer [2024-07-15T20:43:32.013Z] 1469e6f7b9e6: Pulling fs layer [2024-07-15T20:43:32.013Z] eaf3925da568: Pulling fs layer [2024-07-15T20:43:32.013Z] bab4dde63d76: Pulling fs layer [2024-07-15T20:43:32.013Z] bde34c3a00c8: Pulling fs layer [2024-07-15T20:43:32.013Z] b352a97aabf1: Pulling fs layer [2024-07-15T20:43:32.013Z] 4872d77fe225: Pulling fs layer [2024-07-15T20:43:32.013Z] 5851b861e8e6: Pulling fs layer [2024-07-15T20:43:32.013Z] 988bab9f4d93: Waiting [2024-07-15T20:43:32.013Z] 1469e6f7b9e6: Waiting [2024-07-15T20:43:32.013Z] eaf3925da568: Waiting [2024-07-15T20:43:32.013Z] bab4dde63d76: Waiting [2024-07-15T20:43:32.013Z] bde34c3a00c8: Waiting [2024-07-15T20:43:32.013Z] 5851b861e8e6: Waiting [2024-07-15T20:43:32.013Z] 4872d77fe225: Waiting [2024-07-15T20:43:32.013Z] b352a97aabf1: Waiting [2024-07-15T20:43:32.013Z] e2be974225ed: Verifying Checksum [2024-07-15T20:43:32.013Z] e2be974225ed: Download complete [2024-07-15T20:43:32.013Z] 988bab9f4d93: Verifying Checksum [2024-07-15T20:43:32.013Z] 988bab9f4d93: Download complete [2024-07-15T20:43:32.275Z] 1469e6f7b9e6: Verifying Checksum [2024-07-15T20:43:32.275Z] 1469e6f7b9e6: Download complete [2024-07-15T20:43:32.275Z] 339a4e72a1f5: Verifying Checksum [2024-07-15T20:43:32.275Z] 339a4e72a1f5: Download complete [2024-07-15T20:43:32.275Z] eaf3925da568: Verifying Checksum [2024-07-15T20:43:32.275Z] eaf3925da568: Download complete [2024-07-15T20:43:32.275Z] bde34c3a00c8: Verifying Checksum [2024-07-15T20:43:32.275Z] bde34c3a00c8: Download complete [2024-07-15T20:43:32.275Z] b352a97aabf1: Verifying Checksum [2024-07-15T20:43:32.275Z] b352a97aabf1: Download complete [2024-07-15T20:43:32.275Z] 4872d77fe225: Verifying Checksum [2024-07-15T20:43:32.275Z] 4872d77fe225: Download complete [2024-07-15T20:43:32.275Z] 5851b861e8e6: Verifying Checksum [2024-07-15T20:43:32.275Z] 5851b861e8e6: Download complete [2024-07-15T20:43:32.535Z] b85a868b505f: Verifying Checksum [2024-07-15T20:43:32.535Z] b85a868b505f: Download complete [2024-07-15T20:43:32.535Z] bab4dde63d76: Verifying Checksum [2024-07-15T20:43:32.535Z] bab4dde63d76: Download complete [2024-07-15T20:43:33.475Z] b85a868b505f: Pull complete [2024-07-15T20:43:33.735Z] e2be974225ed: Pull complete [2024-07-15T20:43:33.996Z] 339a4e72a1f5: Pull complete [2024-07-15T20:43:34.257Z] 988bab9f4d93: Pull complete [2024-07-15T20:43:34.516Z] 1469e6f7b9e6: Pull complete [2024-07-15T20:43:34.516Z] eaf3925da568: Pull complete [2024-07-15T20:43:36.422Z] bab4dde63d76: Pull complete [2024-07-15T20:43:36.422Z] bde34c3a00c8: Pull complete [2024-07-15T20:43:36.422Z] b352a97aabf1: Pull complete [2024-07-15T20:43:36.422Z] 4872d77fe225: Pull complete [2024-07-15T20:43:36.422Z] 5851b861e8e6: Pull complete [2024-07-15T20:43:36.422Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-15T20:43:36.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T20:43:36.422Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:43:36.719Z] prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container [2024-07-15T20:43:36.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@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-15T20:43:37.980Z] $ docker top 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 -eo pid,comm [2024-07-15T20:43:38.040Z] 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-15T20:43:38.040Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-15T20:43:38.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-15T20:43:38.215Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-15T20:43:38.336Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-15T20:43:38.333Z] $ docker exec 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent [2024-07-15T20:43:38.440Z] SSH_AUTH_SOCK=/tmp/ssh-THQZm0dDs1jB/agent.32 [2024-07-15T20:43:38.440Z] SSH_AGENT_PID=38 [2024-07-15T20:43:38.449Z] Running ssh-add (command line suppressed) [2024-07-15T20:43:38.553Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_16916649818604660631.key (/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_16916649818604660631.key) [2024-07-15T20:43:38.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-15T20:43:38.919Z] + git tag --points-at HEAD [Pipeline] } [2024-07-15T20:43:38.942Z] $ docker exec --env ******** --env ******** 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent -k [2024-07-15T20:43:39.052Z] unset SSH_AUTH_SOCK; [2024-07-15T20:43:39.052Z] unset SSH_AGENT_PID; [2024-07-15T20:43:39.052Z] echo Agent pid 38 killed; [2024-07-15T20:43:39.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-15T20:43:39.190Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-15T20:43:39.190Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-15T20:43:39.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-15T20:43:39.294Z] $ docker exec 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent [2024-07-15T20:43:39.420Z] SSH_AUTH_SOCK=/tmp/ssh-iOUHDMEHFjNS/agent.71 [2024-07-15T20:43:39.420Z] SSH_AGENT_PID=77 [2024-07-15T20:43:39.424Z] Running ssh-add (command line suppressed) [2024-07-15T20:43:39.528Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_9711115649712794924.key (/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_9711115649712794924.key) [2024-07-15T20:43:39.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-15T20:43:39.884Z] + git semver init [2024-07-15T20:43:40.145Z] 2024-07-15 20:43:40,058 [run_init] DEBUG init version:0.0.0 force:False [2024-07-15T20:43:40.145Z] 2024-07-15 20:43:40,059 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-399/.semver [2024-07-15T20:43:40.145Z] 2024-07-15 20:43:40,059 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-399/.semver [2024-07-15T20:43:40.145Z] 2024-07-15 20:43:40,060 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-399/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-399, universal_newlines=False, shell=None, istream=None) [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,184 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-399/.git/info/exclude [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-399/.semver/PR-399 with force:False [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,185 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-399/.semver/PR-399 [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,189 [execute] INFO git cat-file --batch-check [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,195 [execute] INFO git cat-file --batch [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2024-07-15T20:43:41.527Z] 2024-07-15 20:43:41,201 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-399/.semver/PR-399 [2024-07-15T20:43:41.527Z] 0.0.0 [Pipeline] } [2024-07-15T20:43:41.553Z] $ docker exec --env ******** --env ******** 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent -k [2024-07-15T20:43:41.648Z] unset SSH_AUTH_SOCK; [2024-07-15T20:43:41.649Z] unset SSH_AGENT_PID; [2024-07-15T20:43:41.649Z] echo Agent pid 77 killed; [2024-07-15T20:43:41.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-15T20:43:42.115Z] + git semver [Pipeline] } [2024-07-15T20:43:42.397Z] $ docker stop --time=1 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 [2024-07-15T20:43:43.680Z] $ docker rm -f --volumes 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-15T20:43:44.115Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-15T20:43:44.426Z] Stashed 1 file(s) [Pipeline] echo [2024-07-15T20:43:44.546Z] [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-15T20:43:45.590Z] provisioning config files... [2024-07-15T20:43:45.602Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config16206023826730760449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:43:45.978Z] ---> ****-login.sh [2024-07-15T20:43:45.978Z] nexus3.edgexfoundry.org:10001 [2024-07-15T20:43:45.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:45.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:45.978Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:45.978Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:45.978Z] [2024-07-15T20:43:45.978Z] Login Succeeded [2024-07-15T20:43:45.978Z] nexus3.edgexfoundry.org:10002 [2024-07-15T20:43:45.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:45.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:45.978Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:45.978Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:45.978Z] [2024-07-15T20:43:45.978Z] Login Succeeded [2024-07-15T20:43:45.978Z] nexus3.edgexfoundry.org:10003 [2024-07-15T20:43:46.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:46.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:46.239Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:46.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:46.240Z] [2024-07-15T20:43:46.240Z] Login Succeeded [2024-07-15T20:43:46.240Z] nexus3.edgexfoundry.org:10004 [2024-07-15T20:43:46.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:46.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:46.240Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:46.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:46.240Z] [2024-07-15T20:43:46.240Z] Login Succeeded [2024-07-15T20:43:46.240Z] ****.io [2024-07-15T20:43:46.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:43:46.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:43:46.500Z] Configure a credential helper to remove this warning. See [2024-07-15T20:43:46.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:43:46.500Z] [2024-07-15T20:43:46.500Z] Login Succeeded [2024-07-15T20:43:46.500Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T20:43:46.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-15T20:43:46.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T20:43:46.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T20:43:46.880Z] ========================================================= [2024-07-15T20:43:46.880Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-15T20:43:46.880Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:43:47.409Z] + 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-15T20:43:47.409Z] Sending build context to Docker daemon 16.54MB [2024-07-15T20:43:47.409Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T20:43:47.409Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-15T20:43:47.409Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-15T20:43:47.409Z] 619be1103602: Pulling fs layer [2024-07-15T20:43:47.409Z] 7862e08f4a3e: Pulling fs layer [2024-07-15T20:43:47.409Z] 5df492c9dc93: Pulling fs layer [2024-07-15T20:43:47.409Z] 7629e6793208: Pulling fs layer [2024-07-15T20:43:47.409Z] 4f4fb700ef54: Pulling fs layer [2024-07-15T20:43:47.409Z] fb5054dd5b73: Pulling fs layer [2024-07-15T20:43:47.409Z] eeca6798cff9: Pulling fs layer [2024-07-15T20:43:47.409Z] aa269ceb94a6: Pulling fs layer [2024-07-15T20:43:47.409Z] ada007ff1a6a: Pulling fs layer [2024-07-15T20:43:47.409Z] 7629e6793208: Waiting [2024-07-15T20:43:47.409Z] 4f4fb700ef54: Waiting [2024-07-15T20:43:47.409Z] fb5054dd5b73: Waiting [2024-07-15T20:43:47.409Z] eeca6798cff9: Waiting [2024-07-15T20:43:47.409Z] ada007ff1a6a: Waiting [2024-07-15T20:43:47.409Z] aa269ceb94a6: Waiting [2024-07-15T20:43:47.409Z] 7862e08f4a3e: Verifying Checksum [2024-07-15T20:43:47.409Z] 7862e08f4a3e: Download complete [2024-07-15T20:43:47.670Z] 7629e6793208: Verifying Checksum [2024-07-15T20:43:47.670Z] 7629e6793208: Download complete [2024-07-15T20:43:47.670Z] 4f4fb700ef54: Verifying Checksum [2024-07-15T20:43:47.670Z] 4f4fb700ef54: Download complete [2024-07-15T20:43:47.670Z] 619be1103602: Download complete [2024-07-15T20:43:47.670Z] fb5054dd5b73: Verifying Checksum [2024-07-15T20:43:47.670Z] fb5054dd5b73: Download complete [2024-07-15T20:43:47.670Z] eeca6798cff9: Verifying Checksum [2024-07-15T20:43:47.670Z] eeca6798cff9: Download complete [2024-07-15T20:43:47.670Z] 619be1103602: Pull complete [2024-07-15T20:43:47.930Z] ada007ff1a6a: Verifying Checksum [2024-07-15T20:43:47.930Z] ada007ff1a6a: Download complete [2024-07-15T20:43:47.930Z] 7862e08f4a3e: Pull complete [2024-07-15T20:43:48.190Z] 5df492c9dc93: Verifying Checksum [2024-07-15T20:43:48.191Z] 5df492c9dc93: Download complete [2024-07-15T20:43:48.450Z] aa269ceb94a6: Verifying Checksum [2024-07-15T20:43:51.003Z] 5df492c9dc93: Pull complete [2024-07-15T20:43:51.265Z] 7629e6793208: Pull complete [2024-07-15T20:43:51.265Z] 4f4fb700ef54: Pull complete [2024-07-15T20:43:51.265Z] fb5054dd5b73: Pull complete [2024-07-15T20:43:51.525Z] eeca6798cff9: Pull complete [2024-07-15T20:43:54.062Z] aa269ceb94a6: Pull complete [2024-07-15T20:43:54.323Z] ada007ff1a6a: Pull complete [2024-07-15T20:43:54.323Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-15T20:43:54.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-15T20:43:54.323Z] ---> f489d0715acc [2024-07-15T20:43:54.323Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-15T20:43:57.621Z] ---> Running in 27bcdaece130 [2024-07-15T20:43:57.621Z] Removing intermediate container 27bcdaece130 [2024-07-15T20:43:57.621Z] ---> 4a342b4fba6e [2024-07-15T20:43:57.621Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-15T20:43:57.621Z] ---> Running in 7b9aebaab348 [2024-07-15T20:43:57.621Z] Removing intermediate container 7b9aebaab348 [2024-07-15T20:43:57.621Z] ---> 384e20e2719a [2024-07-15T20:43:57.621Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-15T20:43:57.621Z] ---> Running in f817bcced6d2 [2024-07-15T20:43:57.621Z] Removing intermediate container f817bcced6d2 [2024-07-15T20:43:57.621Z] ---> 5f5f62c64b32 [2024-07-15T20:43:57.621Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-15T20:43:57.621Z] ---> Running in 48752d8f5254 [2024-07-15T20:43:57.621Z] Removing intermediate container 48752d8f5254 [2024-07-15T20:43:57.621Z] ---> 30e964e940d6 [2024-07-15T20:43:57.621Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-15T20:43:57.881Z] ---> Running in b996d71bb950 [2024-07-15T20:43:58.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T20:43:58.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T20:43:58.400Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-15T20:43:58.400Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-15T20:43:58.662Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-15T20:43:58.662Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-15T20:43:58.662Z] Executing busybox-1.36.1-r5.trigger [2024-07-15T20:43:58.662Z] OK: 268 MiB in 56 packages [2024-07-15T20:43:59.229Z] Removing intermediate container b996d71bb950 [2024-07-15T20:43:59.229Z] ---> 174f47efbcf5 [2024-07-15T20:43:59.229Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-15T20:43:59.229Z] ---> Running in a31237822a22 [2024-07-15T20:43:59.229Z] Removing intermediate container a31237822a22 [2024-07-15T20:43:59.229Z] ---> ba2426f942ff [2024-07-15T20:43:59.229Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-15T20:43:59.488Z] ---> a04fb24a527f [2024-07-15T20:43:59.488Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T20:43:59.488Z] ---> Running in a90025293d59 [2024-07-15T20:44:00.368Z] Still waiting to schedule task [2024-07-15T20:44:00.368Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-15T20:44:55.730Z] Removing intermediate container a90025293d59 [2024-07-15T20:44:55.730Z] ---> ae2534bafbaa [2024-07-15T20:44:55.730Z] Step 11/12 : COPY . . [2024-07-15T20:44:55.730Z] ---> d049cb051f33 [2024-07-15T20:44:55.730Z] Step 12/12 : RUN $MAKE [2024-07-15T20:44:55.730Z] ---> Running in 135bc0384e62 [2024-07-15T20:44:55.730Z] noop [2024-07-15T20:44:55.730Z] Removing intermediate container 135bc0384e62 [2024-07-15T20:44:55.730Z] ---> 906c1c59bc8a [2024-07-15T20:44:55.730Z] Successfully built 906c1c59bc8a [2024-07-15T20:44:55.730Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:44:56.221Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-15T20:44:56.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:44:56.453Z] prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container [2024-07-15T20:44:56.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@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-15T20:44:56.833Z] $ docker top b0cea40b37a3cd15272230522ae74d11462eb554ed8e7a95b903e4899bf009fb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T20:44:57.243Z] + go version [2024-07-15T20:44:57.243Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-15T20:44:57.280Z] $ docker stop --time=1 b0cea40b37a3cd15272230522ae74d11462eb554ed8e7a95b903e4899bf009fb [2024-07-15T20:44:58.557Z] $ docker rm -f --volumes b0cea40b37a3cd15272230522ae74d11462eb554ed8e7a95b903e4899bf009fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:44:59.341Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-15T20:44:59.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:44:59.512Z] prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container [2024-07-15T20:44:59.543Z] $ 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-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@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-15T20:44:59.854Z] $ docker top b409af1bae3eb998147ba0b15c5fda9e66ac4cf8364fed877f91e67d67faa107 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T20:45:00.257Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-399 [Pipeline] fileExists [Pipeline] sh [2024-07-15T20:45:00.631Z] + make test [2024-07-15T20:45:00.631Z] go test ./... -coverprofile=coverage.out ./... [2024-07-15T20:45:01.567Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-15T20:45:19.677Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-15T20:45:19.677Z] ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements [2024-07-15T20:45:27.776Z] go vet ./... [2024-07-15T20:45:31.958Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-15T20:45:31.958Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-15T20:45:31.958Z] ./bin/test-attribution-txt.sh [2024-07-15T20:45:31.958Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-15T20:45:31.958Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-15T20:45:32.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-15T20:45:32.050Z] $ docker stop --time=1 b409af1bae3eb998147ba0b15c5fda9e66ac4cf8364fed877f91e67d67faa107 [2024-07-15T20:45:33.642Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5667 in /w/workspace/gexfoundry_device-rest-go_PR-399 [2024-07-15T20:45:34.207Z] $ docker rm -f --volumes b409af1bae3eb998147ba0b15c5fda9e66ac4cf8364fed877f91e67d67faa107 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-07-15T20:45:34.638Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-07-15T20:45:34.846Z] + sudo chown -R jenkins:jenkins . [2024-07-15T20:45:37.743Z] The recommended git tool is: git [Pipeline] stash [2024-07-15T20:45:38.050Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-15T20:45:38.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-15T20:45:39.094Z] + ls -al . [2024-07-15T20:45:39.094Z] total 248 [2024-07-15T20:45:39.094Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 15 20:45 . [2024-07-15T20:45:39.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:43 .. [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 15 20:43 .dockerignore [2024-07-15T20:45:39.094Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:45 .git [2024-07-15T20:45:39.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:43 .github [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 15 20:43 .gitignore [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 15 20:43 .golangci.yml [2024-07-15T20:45:39.094Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 20:43 .semver [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 15 20:43 Attribution.txt [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 15 20:43 CHANGELOG.md [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 15 20:43 Dockerfile [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 20:43 GOVERNANCE.md [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 15 20:43 Jenkinsfile [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 15 20:43 LICENSE [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 15 20:43 Makefile [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 15 20:43 OWNERS.md [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 15 20:43 README.md [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 20:43 VERSION [2024-07-15T20:45:39.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:43 bin [2024-07-15T20:45:39.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:43 cmd [2024-07-15T20:45:39.094Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 15 20:45 coverage.out [2024-07-15T20:45:39.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:43 driver [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 7133 Jul 15 20:43 go.mod [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 101928 Jul 15 20:43 go.sum [2024-07-15T20:45:39.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:43 openapi [2024-07-15T20:45:39.094Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 15 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:45:39.516Z] + 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=5e3388642c5a996d213cfd67c5b8f75c1e5d53da --label arch=amd64 --label version=0.0.0 . [2024-07-15T20:45:39.516Z] Sending build context to Docker daemon 16.56MB [2024-07-15T20:45:39.516Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T20:45:39.516Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-15T20:45:39.516Z] ---> 906c1c59bc8a [2024-07-15T20:45:39.516Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-15T20:45:39.516Z] ---> Running in 8366bda794e5 [2024-07-15T20:45:39.775Z] Removing intermediate container 8366bda794e5 [2024-07-15T20:45:39.775Z] ---> 351f54d0a60e [2024-07-15T20:45:39.775Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-15T20:45:39.775Z] ---> Running in 2c680c19f86a [2024-07-15T20:45:39.775Z] Removing intermediate container 2c680c19f86a [2024-07-15T20:45:39.775Z] ---> 285c2656945e [2024-07-15T20:45:39.775Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-15T20:45:39.775Z] ---> Running in 6cc64eb513ef [2024-07-15T20:45:39.775Z] Removing intermediate container 6cc64eb513ef [2024-07-15T20:45:39.775Z] ---> b5c625e8a365 [2024-07-15T20:45:39.775Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-15T20:45:39.775Z] ---> Running in 05632dfc6833 [2024-07-15T20:45:40.036Z] Removing intermediate container 05632dfc6833 [2024-07-15T20:45:40.036Z] ---> 8cedd4a23471 [2024-07-15T20:45:40.036Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-15T20:45:40.036Z] ---> Running in d5e2a42ad4a7 [2024-07-15T20:45:40.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T20:45:40.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T20:45:40.552Z] OK: 268 MiB in 56 packages [2024-07-15T20:45:41.117Z] Removing intermediate container d5e2a42ad4a7 [2024-07-15T20:45:41.117Z] ---> a681f8150725 [2024-07-15T20:45:41.117Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-15T20:45:41.117Z] ---> Running in 704a6d640210 [2024-07-15T20:45:41.117Z] Removing intermediate container 704a6d640210 [2024-07-15T20:45:41.117Z] ---> 04c79133bc2d [2024-07-15T20:45:41.117Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-15T20:45:41.117Z] ---> c92e42f5188c [2024-07-15T20:45:41.117Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T20:45:41.117Z] ---> Running in adb9074184c7 [2024-07-15T20:45:41.967Z] using credential edgex-jenkins-ssh [2024-07-15T20:45:41.989Z] Cloning the remote Git repository [2024-07-15T20:45:42.052Z] Removing intermediate container adb9074184c7 [2024-07-15T20:45:42.052Z] ---> 4edd6385c967 [2024-07-15T20:45:42.052Z] Step 11/26 : COPY . . [2024-07-15T20:45:42.312Z] ---> e4367f5097cf [2024-07-15T20:45:42.312Z] Step 12/26 : RUN $MAKE [2024-07-15T20:45:42.312Z] ---> Running in 6e1dd9ca4dc5 [2024-07-15T20:45:42.571Z] 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.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-15T20:45:42.023Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-15T20:45:42.110Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-07-15T20:45:42.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-15T20:45:42.252Z] > git --version # timeout=10 [2024-07-15T20:45:42.274Z] > git --version # 'git version 2.25.1' [2024-07-15T20:45:42.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T20:45:42.413Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-15T20:45:45.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-15T20:45:45.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-15T20:45:46.385Z] Merging remotes/origin/main commit 290df9772e99a502094e71001891edf463b76fa6 into PR head commit 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [2024-07-15T20:45:45.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-15T20:45:45.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-15T20:45:45.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T20:45:45.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-15T20:45:46.396Z] > git config core.sparsecheckout # timeout=10 [2024-07-15T20:45:46.663Z] Merge succeeded, producing 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [2024-07-15T20:45:46.664Z] Checking out Revision 5e3388642c5a996d213cfd67c5b8f75c1e5d53da (PR-399) [2024-07-15T20:45:47.207Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-15T20:45:47.246Z] > git --version # timeout=10 [2024-07-15T20:45:47.256Z] > git --version # 'git version 2.25.1' [2024-07-15T20:45:47.268Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-15T20:45:46.460Z] > git checkout -f 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # timeout=10 [2024-07-15T20:45:46.548Z] > git remote # timeout=10 [2024-07-15T20:45:46.567Z] > git config --get remote.origin.url # timeout=10 [2024-07-15T20:45:46.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T20:45:46.604Z] > git merge 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 [2024-07-15T20:45:46.637Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-15T20:45:46.664Z] > git config core.sparsecheckout # timeout=10 [2024-07-15T20:45:46.683Z] > git checkout -f 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T20:45:52.111Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-15T20:45:52.111Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-15T20:45:52.112Z] Dload Upload Total Spent Left Speed [2024-07-15T20:45:52.112Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 68967 0 --:--:-- --:--:-- --:--:-- 68967 100 12828 100 12828 0 0 68598 0 --:--:-- --:--:-- --:--:-- 68234 [Pipeline] sh [2024-07-15T20:45:52.467Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-15T20:45:52.818Z] + sudo tee /etc/docker/daemon.new [2024-07-15T20:45:52.818Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-15T20:45:52.818Z] { [2024-07-15T20:45:52.818Z] "registry-mirrors": [ [2024-07-15T20:45:52.818Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-15T20:45:52.818Z] ], [2024-07-15T20:45:52.818Z] "bip": "10.250.0.254/24", [2024-07-15T20:45:52.818Z] "hosts": [ [2024-07-15T20:45:52.818Z] "tcp://0.0.0.0:5555", [2024-07-15T20:45:52.818Z] "unix:///var/run/docker.sock" [2024-07-15T20:45:52.818Z] ], [2024-07-15T20:45:52.818Z] "mtu": 1458, [2024-07-15T20:45:52.818Z] "selinux-enabled": true, [2024-07-15T20:45:52.818Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-15T20:45:52.818Z] } [Pipeline] sh [2024-07-15T20:45:53.162Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-15T20:45:53.522Z] + sudo service docker restart [2024-07-15T20:46:09.114Z] Removing intermediate container 6e1dd9ca4dc5 [2024-07-15T20:46:09.114Z] ---> a25ee5fd403b [2024-07-15T20:46:09.114Z] Step 13/26 : FROM alpine:3.18 [2024-07-15T20:46:09.114Z] 3.18: Pulling from library/alpine [2024-07-15T20:46:09.372Z] 73baa7ef167e: Pulling fs layer [2024-07-15T20:46:09.372Z] 73baa7ef167e: Verifying Checksum [2024-07-15T20:46:09.373Z] 73baa7ef167e: Download complete [2024-07-15T20:46:09.632Z] 73baa7ef167e: Pull complete [2024-07-15T20:46:09.632Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-15T20:46:09.632Z] Status: Downloaded newer image for alpine:3.18 [2024-07-15T20:46:09.632Z] ---> 8fd7cac70a4a [2024-07-15T20:46:09.632Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T20:46:09.632Z] ---> Running in fb104bddf6d3 [2024-07-15T20:46:09.632Z] Removing intermediate container fb104bddf6d3 [2024-07-15T20:46:09.632Z] ---> aeed8312b84e [2024-07-15T20:46:09.632Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-15T20:46:09.632Z] ---> Running in 48359e435c59 [2024-07-15T20:46:09.891Z] Removing intermediate container 48359e435c59 [2024-07-15T20:46:09.891Z] ---> 0a44329c00e2 [2024-07-15T20:46:09.891Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-15T20:46:09.891Z] ---> Running in 8b432fe3dc32 [2024-07-15T20:46:10.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T20:46:10.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T20:46:10.408Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-15T20:46:10.408Z] Executing busybox-1.36.1-r7.trigger [2024-07-15T20:46:10.408Z] OK: 7 MiB in 16 packages [2024-07-15T20:46:10.975Z] Removing intermediate container 8b432fe3dc32 [2024-07-15T20:46:10.975Z] ---> cb6cf406bf8e [2024-07-15T20:46:10.975Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-15T20:46:10.975Z] ---> Running in 902aaff0906c [2024-07-15T20:46:11.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T20:46:11.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T20:46:11.495Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T20:46:11.495Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T20:46:11.495Z] OK: 7 MiB in 16 packages [2024-07-15T20:46:11.752Z] Removing intermediate container 902aaff0906c [2024-07-15T20:46:11.752Z] ---> ab650d5f4810 [2024-07-15T20:46:11.752Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T20:46:11.867Z] provisioning config files... [2024-07-15T20:46:11.892Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8860020808319108851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:46:12.317Z] ---> 5fe4b7a84656 [2024-07-15T20:46:12.317Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-15T20:46:12.317Z] ---> 0075e6fd1506 [2024-07-15T20:46:12.317Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-15T20:46:12.389Z] ---> ****-login.sh [2024-07-15T20:46:12.390Z] nexus3.edgexfoundry.org:10001 [2024-07-15T20:46:12.575Z] ---> c78fc885bfa4 [2024-07-15T20:46:12.575Z] Step 21/26 : EXPOSE 59986 [2024-07-15T20:46:12.575Z] ---> Running in 32683f413b4e [2024-07-15T20:46:12.575Z] Removing intermediate container 32683f413b4e [2024-07-15T20:46:12.575Z] ---> 4387cc0e26cb [2024-07-15T20:46:12.575Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-15T20:46:12.575Z] ---> Running in 824d6a44fbc4 [2024-07-15T20:46:12.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:46:12.833Z] Removing intermediate container 824d6a44fbc4 [2024-07-15T20:46:12.833Z] ---> 050a1fcb906d [2024-07-15T20:46:12.833Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-15T20:46:12.833Z] ---> Running in 9cb746439f58 [2024-07-15T20:46:12.833Z] Removing intermediate container 9cb746439f58 [2024-07-15T20:46:12.833Z] ---> 2c530934cab1 [2024-07-15T20:46:12.833Z] Step 24/26 : LABEL arch=amd64 [2024-07-15T20:46:12.833Z] ---> Running in 55df22d5cb90 [2024-07-15T20:46:12.833Z] Removing intermediate container 55df22d5cb90 [2024-07-15T20:46:12.833Z] ---> 9dcbd4bb95b5 [2024-07-15T20:46:12.833Z] Step 25/26 : LABEL git_sha=5e3388642c5a996d213cfd67c5b8f75c1e5d53da [2024-07-15T20:46:12.833Z] ---> Running in 4797e4ccbd7b [2024-07-15T20:46:12.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:46:12.929Z] Configure a credential helper to remove this warning. See [2024-07-15T20:46:12.929Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:46:12.929Z] [2024-07-15T20:46:12.929Z] Login Succeeded [2024-07-15T20:46:12.929Z] nexus3.edgexfoundry.org:10002 [2024-07-15T20:46:13.093Z] Removing intermediate container 4797e4ccbd7b [2024-07-15T20:46:13.093Z] ---> 99cf6b166b04 [2024-07-15T20:46:13.093Z] Step 26/26 : LABEL version=0.0.0 [2024-07-15T20:46:13.093Z] ---> Running in ae3bdc6d4c52 [2024-07-15T20:46:13.093Z] Removing intermediate container ae3bdc6d4c52 [2024-07-15T20:46:13.093Z] ---> 65ecd7499908 [2024-07-15T20:46:13.093Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-15T20:46:13.093Z] Successfully built 65ecd7499908 [2024-07-15T20:46:13.093Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [2024-07-15T20:46:13.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:46:13.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:46:13.197Z] Configure a credential helper to remove this warning. See [2024-07-15T20:46:13.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:46:13.197Z] [2024-07-15T20:46:13.197Z] Login Succeeded [2024-07-15T20:46:13.197Z] nexus3.edgexfoundry.org:10003 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [2024-07-15T20:46:13.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [2024-07-15T20:46:13.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:46:13.739Z] Configure a credential helper to remove this warning. See [2024-07-15T20:46:13.739Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:46:13.739Z] [2024-07-15T20:46:13.739Z] Login Succeeded [2024-07-15T20:46:13.739Z] nexus3.edgexfoundry.org:10004 [2024-07-15T20:46:13.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:46:14.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:46:14.013Z] Configure a credential helper to remove this warning. See [2024-07-15T20:46:14.013Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:46:14.013Z] [2024-07-15T20:46:14.013Z] Login Succeeded [2024-07-15T20:46:14.013Z] ****.io [2024-07-15T20:46:14.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T20:46:14.156Z] [2024-07-15T20:46:14.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:46:14.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T20:46:14.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T20:46:14.550Z] Configure a credential helper to remove this warning. See [2024-07-15T20:46:14.550Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T20:46:14.550Z] [2024-07-15T20:46:14.550Z] Login Succeeded [2024-07-15T20:46:14.550Z] ---> ****-login.sh ends [2024-07-15T20:46:14.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T20:46:14.568Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-15T20:46:14.568Z] 5eb5b503b376: Pulling fs layer [2024-07-15T20:46:14.568Z] 5c69ac0246d0: Pulling fs layer [2024-07-15T20:46:14.568Z] ec43610c2a17: Pulling fs layer [2024-07-15T20:46:14.568Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-15T20:46:14.568Z] 33b1e0a273af: Pulling fs layer [2024-07-15T20:46:14.568Z] 5d3b04190fa2: Pulling fs layer [2024-07-15T20:46:14.568Z] 2f39f015ded8: Pulling fs layer [2024-07-15T20:46:14.568Z] 33b1e0a273af: Waiting [2024-07-15T20:46:14.568Z] 5d3b04190fa2: Waiting [2024-07-15T20:46:14.568Z] 2f39f015ded8: Waiting [2024-07-15T20:46:14.568Z] 3a2ae6a8a46f: Waiting [2024-07-15T20:46:14.568Z] 5c69ac0246d0: Verifying Checksum [2024-07-15T20:46:14.568Z] 5c69ac0246d0: Download complete [2024-07-15T20:46:14.568Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-15T20:46:14.568Z] 3a2ae6a8a46f: Download complete [2024-07-15T20:46:14.568Z] 33b1e0a273af: Verifying Checksum [2024-07-15T20:46:14.568Z] 33b1e0a273af: Download complete [2024-07-15T20:46:14.568Z] 5d3b04190fa2: Verifying Checksum [2024-07-15T20:46:14.568Z] 5d3b04190fa2: Download complete [Pipeline] } [2024-07-15T20:46:14.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-07-15T20:46:14.825Z] ec43610c2a17: Verifying Checksum [2024-07-15T20:46:14.825Z] ec43610c2a17: Download complete [2024-07-15T20:46:14.825Z] 5eb5b503b376: Verifying Checksum [2024-07-15T20:46:14.825Z] 5eb5b503b376: Download complete [Pipeline] echo [2024-07-15T20:46:15.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T20:46:15.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T20:46:15.155Z] ========================================================= [2024-07-15T20:46:15.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-15T20:46:15.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:46:15.694Z] + 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-15T20:46:15.694Z] Sending build context to Docker daemon 130.6kB [2024-07-15T20:46:15.759Z] 2f39f015ded8: Download complete [2024-07-15T20:46:15.963Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T20:46:15.963Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-15T20:46:15.963Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-15T20:46:15.963Z] c6b39de5b339: Pulling fs layer [2024-07-15T20:46:15.963Z] a69c41024577: Pulling fs layer [2024-07-15T20:46:15.963Z] d6de4b400683: Pulling fs layer [2024-07-15T20:46:15.963Z] 35cb2a7552d0: Pulling fs layer [2024-07-15T20:46:15.963Z] 4f4fb700ef54: Pulling fs layer [2024-07-15T20:46:15.963Z] 464afbd9ba4c: Pulling fs layer [2024-07-15T20:46:15.963Z] 00f215d4a9da: Pulling fs layer [2024-07-15T20:46:15.963Z] d496ad576159: Pulling fs layer [2024-07-15T20:46:15.963Z] 4f4fb700ef54: Waiting [2024-07-15T20:46:15.963Z] 464afbd9ba4c: Waiting [2024-07-15T20:46:15.963Z] 00f215d4a9da: Waiting [2024-07-15T20:46:15.963Z] d496ad576159: Waiting [2024-07-15T20:46:15.963Z] 35cb2a7552d0: Waiting [2024-07-15T20:46:15.963Z] a69c41024577: Verifying Checksum [2024-07-15T20:46:15.963Z] a69c41024577: Download complete [2024-07-15T20:46:15.963Z] 35cb2a7552d0: Verifying Checksum [2024-07-15T20:46:15.963Z] 35cb2a7552d0: Download complete [2024-07-15T20:46:16.022Z] 5eb5b503b376: Pull complete [2024-07-15T20:46:16.022Z] 5c69ac0246d0: Pull complete [2024-07-15T20:46:16.231Z] 4f4fb700ef54: Verifying Checksum [2024-07-15T20:46:16.231Z] 4f4fb700ef54: Download complete [2024-07-15T20:46:16.231Z] c6b39de5b339: Verifying Checksum [2024-07-15T20:46:16.231Z] c6b39de5b339: Download complete [2024-07-15T20:46:16.231Z] 464afbd9ba4c: Download complete [2024-07-15T20:46:16.498Z] d496ad576159: Verifying Checksum [2024-07-15T20:46:16.498Z] d496ad576159: Download complete [2024-07-15T20:46:16.590Z] ec43610c2a17: Pull complete [2024-07-15T20:46:16.590Z] 3a2ae6a8a46f: Pull complete [2024-07-15T20:46:16.849Z] 33b1e0a273af: Pull complete [2024-07-15T20:46:16.849Z] 5d3b04190fa2: Pull complete [2024-07-15T20:46:17.083Z] c6b39de5b339: Pull complete [2024-07-15T20:46:17.668Z] a69c41024577: Pull complete [2024-07-15T20:46:17.668Z] d6de4b400683: Verifying Checksum [2024-07-15T20:46:17.668Z] d6de4b400683: Download complete [2024-07-15T20:46:19.076Z] 00f215d4a9da: Verifying Checksum [2024-07-15T20:46:19.076Z] 00f215d4a9da: Download complete [2024-07-15T20:46:21.031Z] 2f39f015ded8: Pull complete [2024-07-15T20:46:21.031Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-15T20:46:21.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T20:46:21.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:46:21.305Z] prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container [2024-07-15T20:46:21.336Z] $ 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-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@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-15T20:46:22.645Z] $ docker top fd18ead6c17bce46a10853d99e4226bf31f3335c993c31575231dca910f387e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:46:23.123Z] ---> job-cost.sh [2024-07-15T20:46:23.123Z] lf-activate-venv: SKIPPING [2024-07-15T20:46:23.123Z] INFO: No Stack... [2024-07-15T20:46:23.382Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-15T20:46:23.643Z] INFO: Archiving Costs [Pipeline] sh [2024-07-15T20:46:23.962Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-399/archives/cost.csv [2024-07-15T20:46:23.962Z] + cut -d, -f6 [Pipeline] lock [2024-07-15T20:46:24.016Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [2024-07-15T20:46:24.030Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] did not exist. Created. [2024-07-15T20:46:24.037Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-15T20:46:24.498Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-15T20:46:24.557Z] Stashed 1 file(s) [Pipeline] } [2024-07-15T20:46:24.597Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-15T20:46:24.696Z] $ docker stop --time=1 fd18ead6c17bce46a10853d99e4226bf31f3335c993c31575231dca910f387e0 [2024-07-15T20:46:25.861Z] $ docker rm -f --volumes fd18ead6c17bce46a10853d99e4226bf31f3335c993c31575231dca910f387e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-15T20:46:31.479Z] d6de4b400683: Pull complete [2024-07-15T20:46:31.479Z] 35cb2a7552d0: Pull complete [2024-07-15T20:46:31.479Z] 4f4fb700ef54: Pull complete [2024-07-15T20:46:31.479Z] 464afbd9ba4c: Pull complete [2024-07-15T20:46:41.552Z] 00f215d4a9da: Pull complete [2024-07-15T20:46:41.822Z] d496ad576159: Pull complete [2024-07-15T20:46:41.822Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-15T20:46:41.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-15T20:46:41.822Z] ---> f246e2811388 [2024-07-15T20:46:41.822Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-15T20:46:43.766Z] ---> Running in 9bac5eedc232 [2024-07-15T20:46:43.766Z] Removing intermediate container 9bac5eedc232 [2024-07-15T20:46:43.766Z] ---> c11fde3e3521 [2024-07-15T20:46:43.766Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-15T20:46:43.766Z] ---> Running in 52f5bdec70a0 [2024-07-15T20:46:44.039Z] Removing intermediate container 52f5bdec70a0 [2024-07-15T20:46:44.039Z] ---> 54f174cf37b3 [2024-07-15T20:46:44.039Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-15T20:46:44.306Z] ---> Running in 5af5a73b570f [2024-07-15T20:46:44.573Z] Removing intermediate container 5af5a73b570f [2024-07-15T20:46:44.573Z] ---> 061273386dc9 [2024-07-15T20:46:44.573Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-15T20:46:44.573Z] ---> Running in f82a98afa807 [2024-07-15T20:46:44.840Z] Removing intermediate container f82a98afa807 [2024-07-15T20:46:44.840Z] ---> 7506f9e4e22e [2024-07-15T20:46:44.840Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-15T20:46:44.840Z] ---> Running in 681f1f5d1e66 [2024-07-15T20:46:46.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T20:46:46.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T20:46:47.505Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-15T20:46:47.505Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-15T20:46:47.505Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-15T20:46:47.505Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-15T20:46:47.505Z] Executing busybox-1.36.1-r5.trigger [2024-07-15T20:46:47.505Z] OK: 271 MiB in 56 packages [2024-07-15T20:46:48.465Z] Removing intermediate container 681f1f5d1e66 [2024-07-15T20:46:48.465Z] ---> c5e69e9fbd06 [2024-07-15T20:46:48.465Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-15T20:46:48.465Z] ---> Running in a0005f6fb498 [2024-07-15T20:46:48.736Z] Removing intermediate container a0005f6fb498 [2024-07-15T20:46:48.736Z] ---> 10a1083c4d21 [2024-07-15T20:46:48.736Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-15T20:46:49.320Z] ---> 280125b84ebb [2024-07-15T20:46:49.320Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T20:46:49.320Z] ---> Running in bc7121707343 [2024-07-15T20:48:40.972Z] Removing intermediate container bc7121707343 [2024-07-15T20:48:40.972Z] ---> d130e23f70a2 [2024-07-15T20:48:40.972Z] Step 11/12 : COPY . . [2024-07-15T20:48:40.972Z] ---> d5fe3922cde7 [2024-07-15T20:48:40.972Z] Step 12/12 : RUN $MAKE [2024-07-15T20:48:40.972Z] ---> Running in 5bd5de247732 [2024-07-15T20:48:40.972Z] noop [2024-07-15T20:48:40.972Z] Removing intermediate container 5bd5de247732 [2024-07-15T20:48:40.972Z] ---> a0b9af93d437 [2024-07-15T20:48:40.972Z] Successfully built a0b9af93d437 [2024-07-15T20:48:40.972Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:48:41.488Z] + docker inspect -f . ci-base-image-arm64 [2024-07-15T20:48:41.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:48:41.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-5667 does not seem to be running inside a container [2024-07-15T20:48:41.843Z] $ 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-15T20:48:42.983Z] $ docker top cae1bcda0dc1beeb8879996566f706a1b99c62fc444797d33415cd2575300d20 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T20:48:43.872Z] + go version [2024-07-15T20:48:43.872Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-15T20:48:43.913Z] $ docker stop --time=1 cae1bcda0dc1beeb8879996566f706a1b99c62fc444797d33415cd2575300d20 [2024-07-15T20:48:45.503Z] $ docker rm -f --volumes cae1bcda0dc1beeb8879996566f706a1b99c62fc444797d33415cd2575300d20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:48:46.455Z] + docker inspect -f . ci-base-image-arm64 [2024-07-15T20:48:46.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:48:46.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-5667 does not seem to be running inside a container [2024-07-15T20:48:46.778Z] $ 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-15T20:48:47.936Z] $ docker top b69d3237b4ba7d8f68f38107094e99e24d4102ddf1bdc189a427b720e97b16fb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T20:48:48.516Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-15T20:48:49.231Z] + make test [2024-07-15T20:48:49.231Z] go test ./... -coverprofile=coverage.out ./... [2024-07-15T20:48:54.566Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-15T20:52:31.718Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-15T20:52:31.718Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 33.2% of statements [2024-07-15T20:52:31.718Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-15T20:52:31.718Z] go vet ./... [2024-07-15T20:53:18.549Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-15T20:53:18.549Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-15T20:53:18.549Z] ./bin/test-attribution-txt.sh [2024-07-15T20:53:18.549Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-15T20:53:18.549Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-15T20:53:18.550Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-15T20:53:18.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-15T20:53:18.643Z] $ docker stop --time=1 b69d3237b4ba7d8f68f38107094e99e24d4102ddf1bdc189a427b720e97b16fb [2024-07-15T20:53:20.583Z] $ docker rm -f --volumes b69d3237b4ba7d8f68f38107094e99e24d4102ddf1bdc189a427b720e97b16fb [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-15T20:53:22.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-15T20:53:22.122Z] Warning: overwriting stash ‘coverage-report’ [2024-07-15T20:53:22.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T20:53:23.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-15T20:53:23.558Z] + ls -al . [2024-07-15T20:53:23.558Z] total 244 [2024-07-15T20:53:23.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:48 . [2024-07-15T20:53:23.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:45 .. [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 15 20:45 .dockerignore [2024-07-15T20:53:23.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:45 .git [2024-07-15T20:53:23.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:45 .github [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 15 20:45 .gitignore [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 15 20:45 .golangci.yml [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 15 20:45 Attribution.txt [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 15 20:45 CHANGELOG.md [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 15 20:45 Dockerfile [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 20:45 GOVERNANCE.md [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 15 20:45 Jenkinsfile [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 15 20:45 LICENSE [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 15 20:45 Makefile [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 15 20:45 OWNERS.md [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 15 20:45 README.md [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 20:43 VERSION [2024-07-15T20:53:23.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:45 bin [2024-07-15T20:53:23.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:45 cmd [2024-07-15T20:53:23.558Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 15 20:52 coverage.out [2024-07-15T20:53:23.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:45 driver [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 7133 Jul 15 20:45 go.mod [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 101928 Jul 15 20:45 go.sum [2024-07-15T20:53:23.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:45 openapi [2024-07-15T20:53:23.558Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 15 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:53:24.009Z] + 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=5e3388642c5a996d213cfd67c5b8f75c1e5d53da --label arch=arm64 --label version=0.0.0 . [2024-07-15T20:53:24.009Z] Sending build context to Docker daemon 145.9kB [2024-07-15T20:53:24.276Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T20:53:24.276Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-15T20:53:24.276Z] ---> a0b9af93d437 [2024-07-15T20:53:24.276Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-15T20:53:24.276Z] ---> Running in db7a2e808d1c [2024-07-15T20:53:24.542Z] Removing intermediate container db7a2e808d1c [2024-07-15T20:53:24.542Z] ---> ac149314e427 [2024-07-15T20:53:24.542Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-15T20:53:24.813Z] ---> Running in c736338fbd13 [2024-07-15T20:53:25.080Z] Removing intermediate container c736338fbd13 [2024-07-15T20:53:25.080Z] ---> 80c36f881c17 [2024-07-15T20:53:25.080Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-15T20:53:25.080Z] ---> Running in 48bb573059fc [2024-07-15T20:53:25.348Z] Removing intermediate container 48bb573059fc [2024-07-15T20:53:25.348Z] ---> 654b541265bc [2024-07-15T20:53:25.348Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-15T20:53:25.348Z] ---> Running in d78f009786d3 [2024-07-15T20:53:25.935Z] Removing intermediate container d78f009786d3 [2024-07-15T20:53:25.935Z] ---> 47ee4994112b [2024-07-15T20:53:25.935Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-15T20:53:25.935Z] ---> Running in a7542ca53e47 [2024-07-15T20:53:26.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T20:53:27.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T20:53:28.124Z] OK: 271 MiB in 56 packages [2024-07-15T20:53:29.087Z] Removing intermediate container a7542ca53e47 [2024-07-15T20:53:29.087Z] ---> 5f30904375bd [2024-07-15T20:53:29.087Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-15T20:53:29.087Z] ---> Running in 6353e6cfa3aa [2024-07-15T20:53:29.354Z] Removing intermediate container 6353e6cfa3aa [2024-07-15T20:53:29.354Z] ---> 53871dc916b6 [2024-07-15T20:53:29.354Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-15T20:53:29.940Z] ---> 4b9790566e7c [2024-07-15T20:53:29.940Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T20:53:29.940Z] ---> Running in 74f8df169419 [2024-07-15T20:53:32.533Z] Removing intermediate container 74f8df169419 [2024-07-15T20:53:32.533Z] ---> 9cc74d2ce187 [2024-07-15T20:53:32.533Z] Step 11/26 : COPY . . [2024-07-15T20:53:32.804Z] ---> ae2d0994dc3a [2024-07-15T20:53:32.804Z] Step 12/26 : RUN $MAKE [2024-07-15T20:53:32.804Z] ---> Running in 3560b1952ab2 [2024-07-15T20:53:33.766Z] 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.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-15T20:56:55.507Z] Removing intermediate container 3560b1952ab2 [2024-07-15T20:56:55.507Z] ---> 7798054ac43e [2024-07-15T20:56:55.507Z] Step 13/26 : FROM alpine:3.18 [2024-07-15T20:56:55.507Z] 3.18: Pulling from library/alpine [2024-07-15T20:56:55.507Z] 5c905c7ebe2f: Pulling fs layer [2024-07-15T20:56:55.507Z] 5c905c7ebe2f: Verifying Checksum [2024-07-15T20:56:55.507Z] 5c905c7ebe2f: Download complete [2024-07-15T20:56:55.507Z] 5c905c7ebe2f: Pull complete [2024-07-15T20:56:55.507Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-15T20:56:55.507Z] Status: Downloaded newer image for alpine:3.18 [2024-07-15T20:56:55.507Z] ---> dec292d02e07 [2024-07-15T20:56:55.507Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T20:56:55.507Z] ---> Running in ad19e9310567 [2024-07-15T20:56:55.507Z] Removing intermediate container ad19e9310567 [2024-07-15T20:56:55.507Z] ---> 5bd2076b9254 [2024-07-15T20:56:55.507Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-15T20:56:55.507Z] ---> Running in 904abd83bc12 [2024-07-15T20:56:55.507Z] Removing intermediate container 904abd83bc12 [2024-07-15T20:56:55.507Z] ---> ced56933e0c8 [2024-07-15T20:56:55.507Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-15T20:56:55.507Z] ---> Running in 2ad5a721d7c3 [2024-07-15T20:56:55.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T20:56:55.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T20:56:55.507Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-15T20:56:55.507Z] Executing busybox-1.36.1-r7.trigger [2024-07-15T20:56:55.507Z] OK: 8 MiB in 16 packages [2024-07-15T20:56:55.507Z] Removing intermediate container 2ad5a721d7c3 [2024-07-15T20:56:55.507Z] ---> 2b120669a4d5 [2024-07-15T20:56:55.507Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-15T20:56:55.507Z] ---> Running in aa05431ec5d1 [2024-07-15T20:56:55.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T20:56:55.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T20:56:55.507Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T20:56:55.507Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T20:56:55.507Z] OK: 8 MiB in 16 packages [2024-07-15T20:56:56.908Z] Removing intermediate container aa05431ec5d1 [2024-07-15T20:56:56.908Z] ---> 3d194099cda6 [2024-07-15T20:56:56.908Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-15T20:56:58.310Z] ---> 39876180af39 [2024-07-15T20:56:58.310Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-15T20:56:58.891Z] ---> ca8d8ab7209c [2024-07-15T20:56:58.891Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-15T20:56:59.158Z] ---> 4ce0cab5f005 [2024-07-15T20:56:59.158Z] Step 21/26 : EXPOSE 59986 [2024-07-15T20:56:59.426Z] ---> Running in f71637d62e9d [2024-07-15T20:56:59.690Z] Removing intermediate container f71637d62e9d [2024-07-15T20:56:59.690Z] ---> 7b3d3fd02694 [2024-07-15T20:56:59.690Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-15T20:56:59.690Z] ---> Running in 7a1dd2857bbd [2024-07-15T20:56:59.960Z] Removing intermediate container 7a1dd2857bbd [2024-07-15T20:56:59.960Z] ---> 63be7c8b2d4f [2024-07-15T20:56:59.960Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-15T20:56:59.960Z] ---> Running in bea6071e0c76 [2024-07-15T20:57:00.230Z] Removing intermediate container bea6071e0c76 [2024-07-15T20:57:00.230Z] ---> 3c87c38bf911 [2024-07-15T20:57:00.230Z] Step 24/26 : LABEL arch=arm64 [2024-07-15T20:57:00.496Z] ---> Running in 076cbce00d7c [2024-07-15T20:57:00.761Z] Removing intermediate container 076cbce00d7c [2024-07-15T20:57:00.761Z] ---> 5d2561e6678f [2024-07-15T20:57:00.761Z] Step 25/26 : LABEL git_sha=5e3388642c5a996d213cfd67c5b8f75c1e5d53da [2024-07-15T20:57:00.761Z] ---> Running in 79d79bb1edb9 [2024-07-15T20:57:01.028Z] Removing intermediate container 79d79bb1edb9 [2024-07-15T20:57:01.028Z] ---> ad04b28036f8 [2024-07-15T20:57:01.028Z] Step 26/26 : LABEL version=0.0.0 [2024-07-15T20:57:01.296Z] ---> Running in 34cd3788d3b0 [2024-07-15T20:57:01.562Z] Removing intermediate container 34cd3788d3b0 [2024-07-15T20:57:01.562Z] ---> 10b8f50bbfe2 [2024-07-15T20:57:01.562Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-15T20:57:01.562Z] Successfully built 10b8f50bbfe2 [2024-07-15T20:57:01.562Z] 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-15T20:57:02.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T20:57:02.523Z] [2024-07-15T20:57:02.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:57:02.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T20:57:02.956Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-15T20:57:02.956Z] 8998bd30e6a1: Pulling fs layer [2024-07-15T20:57:02.956Z] 04944245beec: Pulling fs layer [2024-07-15T20:57:02.956Z] 699f458cf7ca: Pulling fs layer [2024-07-15T20:57:02.956Z] 765212b225bb: Pulling fs layer [2024-07-15T20:57:02.956Z] f23df028b6ca: Pulling fs layer [2024-07-15T20:57:02.956Z] d65c8cfc05b1: Pulling fs layer [2024-07-15T20:57:02.956Z] 2437ff75d9bd: Pulling fs layer [2024-07-15T20:57:02.956Z] 765212b225bb: Waiting [2024-07-15T20:57:02.956Z] f23df028b6ca: Waiting [2024-07-15T20:57:02.956Z] 2437ff75d9bd: Waiting [2024-07-15T20:57:02.956Z] d65c8cfc05b1: Waiting [2024-07-15T20:57:03.224Z] 04944245beec: Verifying Checksum [2024-07-15T20:57:03.224Z] 04944245beec: Download complete [2024-07-15T20:57:03.224Z] 765212b225bb: Verifying Checksum [2024-07-15T20:57:03.224Z] 765212b225bb: Download complete [2024-07-15T20:57:03.224Z] f23df028b6ca: Download complete [2024-07-15T20:57:03.224Z] d65c8cfc05b1: Download complete [2024-07-15T20:57:03.224Z] 699f458cf7ca: Verifying Checksum [2024-07-15T20:57:03.224Z] 699f458cf7ca: Download complete [2024-07-15T20:57:03.805Z] 8998bd30e6a1: Verifying Checksum [2024-07-15T20:57:03.805Z] 8998bd30e6a1: Download complete [2024-07-15T20:57:06.379Z] 2437ff75d9bd: Verifying Checksum [2024-07-15T20:57:06.379Z] 2437ff75d9bd: Download complete [2024-07-15T20:57:08.318Z] 8998bd30e6a1: Pull complete [2024-07-15T20:57:08.582Z] 04944245beec: Pull complete [2024-07-15T20:57:09.985Z] 699f458cf7ca: Pull complete [2024-07-15T20:57:10.249Z] 765212b225bb: Pull complete [2024-07-15T20:57:11.204Z] f23df028b6ca: Pull complete [2024-07-15T20:57:11.204Z] d65c8cfc05b1: Pull complete [2024-07-15T20:57:29.388Z] 2437ff75d9bd: Pull complete [2024-07-15T20:57:29.388Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-15T20:57:29.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T20:57:29.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:57:29.746Z] prd-ubuntu20.04-docker-arm64-4c-16g-5667 does not seem to be running inside a container [2024-07-15T20:57:29.804Z] $ 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-15T20:57:32.484Z] $ docker top b4876a0ea0e2e371faa2f9f5e81315ec7a7f0bd7e5bbef0af34d992a723b8349 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:33.398Z] ---> job-cost.sh [2024-07-15T20:57:33.398Z] lf-activate-venv: SKIPPING [2024-07-15T20:57:33.398Z] INFO: No Stack... [2024-07-15T20:57:33.660Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-15T20:57:34.610Z] INFO: Archiving Costs [Pipeline] sh [2024-07-15T20:57:34.957Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-07-15T20:57:34.957Z] + cut -d, -f6 [Pipeline] lock [2024-07-15T20:57:35.297Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [2024-07-15T20:57:35.305Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] did not exist. Created. [2024-07-15T20:57:35.312Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-15T20:57:35.747Z] /w/workspace/device-rest-go/1@tmp/durable-5dbdbefd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-15T20:57:36.421Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-15T20:57:36.472Z] Warning: overwriting stash ‘stack-cost’ [2024-07-15T20:57:36.510Z] Stashed 1 file(s) [Pipeline] } [2024-07-15T20:57:36.530Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-15T20:57:36.637Z] $ docker stop --time=1 b4876a0ea0e2e371faa2f9f5e81315ec7a7f0bd7e5bbef0af34d992a723b8349 [2024-07-15T20:57:38.200Z] $ docker rm -f --volumes b4876a0ea0e2e371faa2f9f5e81315ec7a7f0bd7e5bbef0af34d992a723b8349 [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-15T20:57:39.505Z] provisioning config files... [2024-07-15T20:57:39.512Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config18361767281094485393tmp [Pipeline] { [Pipeline] sh [2024-07-15T20:57:39.875Z] + set +x [2024-07-15T20:57:39.875Z] + curl -s https://codecov.io/bash [2024-07-15T20:57:39.875Z] + bash -s -- [2024-07-15T20:57:39.875Z] [2024-07-15T20:57:39.875Z] _____ _ [2024-07-15T20:57:39.875Z] / ____| | | [2024-07-15T20:57:39.875Z] | | ___ __| | ___ ___ _____ __ [2024-07-15T20:57:39.875Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-15T20:57:39.875Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-15T20:57:39.875Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-15T20:57:39.875Z] Bash-1.0.6 [2024-07-15T20:57:39.875Z] [2024-07-15T20:57:39.875Z] [2024-07-15T20:57:39.875Z] ==> git version 2.25.1 found [2024-07-15T20:57:39.875Z] ==> 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-15T20:57:39.875Z] Release-Date: 2020-01-08 [2024-07-15T20:57:39.875Z] 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-15T20:57:39.875Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-15T20:57:39.875Z] ==> Jenkins CI detected. [2024-07-15T20:57:39.875Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-399 [2024-07-15T20:57:39.875Z] project root: . [2024-07-15T20:57:39.875Z] --> token set from env [2024-07-15T20:57:39.875Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-15T20:57:39.875Z] ==> Running gcov in . (disable via -X gcov) [2024-07-15T20:57:39.875Z] ==> Python coveragepy not found [2024-07-15T20:57:39.875Z] ==> Searching for coverage reports in: [2024-07-15T20:57:39.875Z] + . [2024-07-15T20:57:39.875Z] -> Found 1 reports [2024-07-15T20:57:39.875Z] ==> Detecting git/mercurial file structure [2024-07-15T20:57:40.138Z] ==> Reading reports [2024-07-15T20:57:40.138Z] + ./coverage.out bytes=14499 [2024-07-15T20:57:40.138Z] ==> Appending adjustments [2024-07-15T20:57:40.138Z] https://docs.codecov.io/docs/fixing-reports [2024-07-15T20:57:40.138Z] + Found adjustments [2024-07-15T20:57:40.138Z] ==> Gzipping contents [2024-07-15T20:57:40.138Z] 4.0K /tmp/codecov.5noR7P.gz [2024-07-15T20:57:40.138Z] ==> Uploading reports [2024-07-15T20:57:40.138Z] url: https://codecov.io [2024-07-15T20:57:40.138Z] query: branch=PR-399&commit=5e3388642c5a996d213cfd67c5b8f75c1e5d53da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2024-07-15T20:57:40.138Z] -> Pinging Codecov [2024-07-15T20:57:40.138Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-399&commit=5e3388642c5a996d213cfd67c5b8f75c1e5d53da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2024-07-15T20:57:40.398Z] -> Uploading to [2024-07-15T20:57:40.398Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-15/4E5D53B4F1F92C436F7061BF334D961C/5e3388642c5a996d213cfd67c5b8f75c1e5d53da/08caf9f7-2ab9-42b6-b93a-2803eb4dfe8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240715%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240715T205740Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e55a0e078bcebb8d2ec1cacaf366a7b5b58be05f86f14df1076a7ee5cd71f5a [2024-07-15T20:57:40.398Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-15T20:57:40.398Z] Dload Upload Total Spent Left Speed [2024-07-15T20:57:40.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9630 --:--:-- --:--:-- --:--:-- 9630 [2024-07-15T20:57:40.659Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] } [2024-07-15T20:57:40.695Z] 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-15T20:57:42.956Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-399/archives ] [2024-07-15T20:57:42.956Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-399/archives [2024-07-15T20:57:42.956Z] total 16 [2024-07-15T20:57:42.956Z] drwxr-xr-x 3 root root 4096 Jul 15 20:46 . [2024-07-15T20:57:42.956Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 20:46 .. [2024-07-15T20:57:42.956Z] drwxr-xr-x 2 root root 4096 Jul 15 20:46 cost [2024-07-15T20:57:42.956Z] -rw-r--r-- 1 root root 86 Jul 15 20:46 cost.csv [2024-07-15T20:57:42.956Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-399/archives [2024-07-15T20:57:42.956Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-399/archives [2024-07-15T20:57:42.956Z] total 16 [2024-07-15T20:57:42.956Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 20:46 . [2024-07-15T20:57:42.956Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 20:46 .. [2024-07-15T20:57:42.956Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 20:46 cost [2024-07-15T20:57:42.956Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 15 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:43.298Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:44.204Z] ---> package-listing.sh [2024-07-15T20:57:44.204Z] ++ facter osfamily [2024-07-15T20:57:44.204Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-15T20:57:44.465Z] + OS_FAMILY=debian [2024-07-15T20:57:44.465Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-399 [2024-07-15T20:57:44.465Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-15T20:57:44.465Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-15T20:57:44.465Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-15T20:57:44.465Z] + PACKAGES=/tmp/packages_start.txt [2024-07-15T20:57:44.465Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-399 ']' [2024-07-15T20:57:44.465Z] + PACKAGES=/tmp/packages_end.txt [2024-07-15T20:57:44.465Z] + case "${OS_FAMILY}" in [2024-07-15T20:57:44.465Z] + dpkg -l [2024-07-15T20:57:44.465Z] + grep '^ii' [2024-07-15T20:57:44.465Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-15T20:57:44.465Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-15T20:57:44.465Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-15T20:57:44.465Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-399 ']' [2024-07-15T20:57:44.465Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-399/archives/ [2024-07-15T20:57:44.465Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-399/archives/ [Pipeline] echo [2024-07-15T20:57:44.509Z] 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-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-15T20:57:44.805Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T20:57:45.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T20:57:45.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T20:57:45.633Z] prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container [2024-07-15T20:57:45.669Z] $ 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-399/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-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@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-15T20:57:45.850Z] $ docker top 14c1cba3bbba11b5c1359dec8020ba10d36bbc99462245725bd98f9b5a2db9c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T20:57:46.256Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-15T20:57:46.576Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-15T20:57:46.894Z] + ls /var/log/sa-host [2024-07-15T20:57:46.894Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T20:57:47.156Z] provisioning config files... [2024-07-15T20:57:47.166Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config2540392935105503823tmp [Pipeline] { [Pipeline] echo [2024-07-15T20:57:47.245Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:47.574Z] ---> create-netrc.sh [Pipeline] } [2024-07-15T20:57:47.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:48.038Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-15T20:57:48.077Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:48.402Z] ---> sudo-logs.sh [2024-07-15T20:57:48.402Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-15T20:57:48.509Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:48.923Z] ---> job-cost.sh [2024-07-15T20:57:48.923Z] lf-activate-venv: SKIPPING [2024-07-15T20:57:48.923Z] DEBUG: total: 0.2199999988079071 [2024-07-15T20:57:48.923Z] INFO: Retrieving Stack Cost... [2024-07-15T20:57:49.537Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-15T20:57:49.811Z] INFO: Archiving Costs [Pipeline] echo [2024-07-15T20:57:49.861Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T20:57:50.221Z] ---> logs-deploy.sh [2024-07-15T20:57:50.221Z] lf-activate-venv: SKIPPING [2024-07-15T20:57:50.221Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-399/1 [2024-07-15T20:57:50.221Z] INFO: archiving workspace using pattern(s): [2024-07-15T20:57:51.160Z] Archives upload complete. [2024-07-15T20:57:51.160Z] INFO: archiving logs to Nexus