Pull request #410 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648+3ca1d9672aa57d288ff73684e8f7d94170c5a17a (22206cb80302970e8afbadafc6c2aeb32254e85f) 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-ssh14083730126820648395.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh7825855331022896770.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 f3350a1713306dce7682ed7e37d5774890d03277 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-410/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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1857502067977747966.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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2343351186713004280.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh9281271790829786767.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-410/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-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10449499844636315222.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 f3350a1713306dce7682ed7e37d5774890d03277 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-9905 in /w/workspace/gexfoundry_device-rest-go_PR-410 [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-410 # 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 Merging remotes/origin/main commit 3ca1d9672aa57d288ff73684e8f7d94170c5a17a into PR head commit 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 Merge succeeded, producing 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 Checking out Revision 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 (PR-410) 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 f3350a1713306dce7682ed7e37d5774890d03277 > 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/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-09T20:47:15.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-09T20:47:15.512Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-09T20:47:15.636Z] ========================================================= [2024-09-09T20:47:15.636Z] EdgeX Global Pipelines Version Info [2024-09-09T20:47:15.636Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-09T20:47:16.782Z] ------------------- [2024-09-09T20:47:16.782Z] stable info: [2024-09-09T20:47:16.782Z] ------------------- [2024-09-09T20:47:16.782Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T20:47:16.782Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T20:47:16.782Z] Message: update stable to v1.0.263 [2024-09-09T20:47:17.046Z] ------------------- [2024-09-09T20:47:17.046Z] experimental info: [2024-09-09T20:47:17.046Z] ------------------- [2024-09-09T20:47:17.046Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T20:47:17.046Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T20:47:17.046Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-09T20:47:17.273Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-09-09T20:47:17.340Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-09-09T20:47:17.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-09T20:47:17.468Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-09T20:47:17.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-09T20:47:17.590Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-09T20:47:17.657Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-09T20:47:17.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-09T20:47:17.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-09T20:47:17.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-09T20:47:17.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-09T20:47:17.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-09-09T20:47:18.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-09T20:47:18.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-09T20:47:18.141Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T20:47:18.201Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T20:47:18.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T20:47:18.313Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T20:47:18.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-09T20:47:18.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-09T20:47:18.507Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-09T20:47:18.571Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-09T20:47:18.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-09T20:47:18.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-09T20:47:18.747Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-09T20:47:18.804Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-09T20:47:18.866Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-09T20:47:18.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo [2024-09-09T20:47:18.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo [2024-09-09T20:47:19.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo [2024-09-09T20:47:19.111Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo [2024-09-09T20:47:19.168Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c6b207 [Pipeline] echo [2024-09-09T20:47:19.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T20:47:19.389Z] provisioning config files... [2024-09-09T20:47:19.401Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config14810804424185682486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T20:47:19.798Z] ---> ****-login.sh [2024-09-09T20:47:19.798Z] nexus3.edgexfoundry.org:10001 [2024-09-09T20:47:20.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:20.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:20.059Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:20.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:20.059Z] [2024-09-09T20:47:20.059Z] Login Succeeded [2024-09-09T20:47:20.059Z] nexus3.edgexfoundry.org:10002 [2024-09-09T20:47:20.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:20.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:20.320Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:20.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:20.320Z] [2024-09-09T20:47:20.320Z] Login Succeeded [2024-09-09T20:47:20.320Z] nexus3.edgexfoundry.org:10003 [2024-09-09T20:47:20.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:20.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:20.321Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:20.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:20.321Z] [2024-09-09T20:47:20.321Z] Login Succeeded [2024-09-09T20:47:20.321Z] nexus3.edgexfoundry.org:10004 [2024-09-09T20:47:20.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:20.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:20.580Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:20.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:20.581Z] [2024-09-09T20:47:20.581Z] Login Succeeded [2024-09-09T20:47:20.581Z] ****.io [2024-09-09T20:47:20.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:20.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:20.840Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:20.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:20.840Z] [2024-09-09T20:47:20.840Z] Login Succeeded [2024-09-09T20:47:20.840Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T20:47:20.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-09T20:47:21.573Z] + git rev-list -1 --merges 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648~1..1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo [2024-09-09T20:47:21.624Z] -----------> git rev-list -1 --merges 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648~1..1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [false] [Pipeline] sh [2024-09-09T20:47:21.956Z] + git log --format=format:%s -1 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo [2024-09-09T20:47:21.997Z] ========================================================= [2024-09-09T20:47:21.997Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-09T20:47:21.997Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T20:47:22.459Z] + git log --format=format:%s -1 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo [2024-09-09T20:47:22.500Z] [semverPrep] GIT_COMMIT: 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-09-09T20:47:22.545Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-09T20:47:22.977Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-09T20:47:22.977Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-09T20:47:22.977Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-09T20:47:22.977Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-09T20:47:22.977Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-09T20:47:22.977Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-09T20:47:22.977Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:47:23.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T20:47:23.517Z] [2024-09-09T20:47:23.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:47:23.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T20:47:23.918Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-09T20:47:23.918Z] b85a868b505f: Pulling fs layer [2024-09-09T20:47:23.918Z] e2be974225ed: Pulling fs layer [2024-09-09T20:47:23.918Z] 339a4e72a1f5: Pulling fs layer [2024-09-09T20:47:23.918Z] 988bab9f4d93: Pulling fs layer [2024-09-09T20:47:23.918Z] 1469e6f7b9e6: Pulling fs layer [2024-09-09T20:47:23.918Z] eaf3925da568: Pulling fs layer [2024-09-09T20:47:23.918Z] bab4dde63d76: Pulling fs layer [2024-09-09T20:47:23.918Z] bde34c3a00c8: Pulling fs layer [2024-09-09T20:47:23.918Z] b352a97aabf1: Pulling fs layer [2024-09-09T20:47:23.918Z] 4872d77fe225: Pulling fs layer [2024-09-09T20:47:23.918Z] 5851b861e8e6: Pulling fs layer [2024-09-09T20:47:23.918Z] bab4dde63d76: Waiting [2024-09-09T20:47:23.918Z] bde34c3a00c8: Waiting [2024-09-09T20:47:23.918Z] 988bab9f4d93: Waiting [2024-09-09T20:47:23.918Z] b352a97aabf1: Waiting [2024-09-09T20:47:23.918Z] 1469e6f7b9e6: Waiting [2024-09-09T20:47:23.918Z] 4872d77fe225: Waiting [2024-09-09T20:47:23.918Z] eaf3925da568: Waiting [2024-09-09T20:47:23.918Z] 5851b861e8e6: Waiting [2024-09-09T20:47:23.918Z] e2be974225ed: Download complete [2024-09-09T20:47:23.918Z] 988bab9f4d93: Verifying Checksum [2024-09-09T20:47:23.918Z] 988bab9f4d93: Download complete [2024-09-09T20:47:23.918Z] 1469e6f7b9e6: Verifying Checksum [2024-09-09T20:47:23.918Z] 1469e6f7b9e6: Download complete [2024-09-09T20:47:24.180Z] eaf3925da568: Verifying Checksum [2024-09-09T20:47:24.180Z] eaf3925da568: Download complete [2024-09-09T20:47:24.180Z] 339a4e72a1f5: Verifying Checksum [2024-09-09T20:47:24.180Z] 339a4e72a1f5: Download complete [2024-09-09T20:47:24.180Z] bde34c3a00c8: Verifying Checksum [2024-09-09T20:47:24.180Z] bde34c3a00c8: Download complete [2024-09-09T20:47:24.180Z] b352a97aabf1: Download complete [2024-09-09T20:47:24.180Z] 4872d77fe225: Download complete [2024-09-09T20:47:24.180Z] 5851b861e8e6: Verifying Checksum [2024-09-09T20:47:24.180Z] 5851b861e8e6: Download complete [2024-09-09T20:47:24.180Z] b85a868b505f: Verifying Checksum [2024-09-09T20:47:24.180Z] b85a868b505f: Download complete [2024-09-09T20:47:24.439Z] bab4dde63d76: Download complete [2024-09-09T20:47:25.374Z] b85a868b505f: Pull complete [2024-09-09T20:47:25.374Z] e2be974225ed: Pull complete [2024-09-09T20:47:25.946Z] 339a4e72a1f5: Pull complete [2024-09-09T20:47:25.946Z] 988bab9f4d93: Pull complete [2024-09-09T20:47:26.205Z] 1469e6f7b9e6: Pull complete [2024-09-09T20:47:26.205Z] eaf3925da568: Pull complete [2024-09-09T20:47:28.105Z] bab4dde63d76: Pull complete [2024-09-09T20:47:28.105Z] bde34c3a00c8: Pull complete [2024-09-09T20:47:28.105Z] b352a97aabf1: Pull complete [2024-09-09T20:47:28.105Z] 4872d77fe225: Pull complete [2024-09-09T20:47:28.105Z] 5851b861e8e6: Pull complete [2024-09-09T20:47:28.105Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-09T20:47:28.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T20:47:28.105Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T20:47:28.422Z] prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container [2024-09-09T20:47:28.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-09T20:47:31.229Z] $ docker top ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa -eo pid,comm [2024-09-09T20:47:31.279Z] 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-09-09T20:47:31.279Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-09T20:47:31.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T20:47:31.448Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T20:47:31.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T20:47:31.551Z] $ docker exec ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent [2024-09-09T20:47:31.654Z] SSH_AUTH_SOCK=/tmp/ssh-t4FdYHQM0ptJ/agent.33 [2024-09-09T20:47:31.654Z] SSH_AGENT_PID=39 [2024-09-09T20:47:31.659Z] Running ssh-add (command line suppressed) [2024-09-09T20:47:31.754Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_15068792676078757717.key (/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_15068792676078757717.key) [2024-09-09T20:47:31.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T20:47:32.163Z] + git tag --points-at HEAD [Pipeline] } [2024-09-09T20:47:32.191Z] $ docker exec --env ******** --env ******** ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent -k [2024-09-09T20:47:32.277Z] unset SSH_AUTH_SOCK; [2024-09-09T20:47:32.278Z] unset SSH_AGENT_PID; [2024-09-09T20:47:32.278Z] echo Agent pid 39 killed; [2024-09-09T20:47:32.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-09T20:47:32.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T20:47:32.400Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T20:47:32.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T20:47:32.513Z] $ docker exec ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent [2024-09-09T20:47:32.624Z] SSH_AUTH_SOCK=/tmp/ssh-KXtXGt8kJgui/agent.72 [2024-09-09T20:47:32.624Z] SSH_AGENT_PID=78 [2024-09-09T20:47:32.629Z] Running ssh-add (command line suppressed) [2024-09-09T20:47:32.731Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_2488474735841581420.key (/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_2488474735841581420.key) [2024-09-09T20:47:32.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T20:47:33.080Z] + git semver init [2024-09-09T20:47:33.339Z] 2024-09-09 20:47:33,257 [run_init] DEBUG init version:0.0.0 force:False [2024-09-09T20:47:33.339Z] 2024-09-09 20:47:33,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-410/.semver [2024-09-09T20:47:33.339Z] 2024-09-09 20:47:33,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-410/.semver [2024-09-09T20:47:33.339Z] 2024-09-09 20:47:33,259 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-410/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-410, universal_newlines=False, shell=None, istream=None) [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,546 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-410/.git/info/exclude [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,546 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-410/.semver/PR-410 with force:False [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,546 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-410/.semver/PR-410 [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,550 [execute] INFO git cat-file --batch-check [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,556 [execute] INFO git cat-file --batch [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T20:47:34.718Z] 2024-09-09 20:47:34,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-410/.semver/PR-410 [2024-09-09T20:47:34.718Z] 0.0.0 [Pipeline] } [2024-09-09T20:47:34.751Z] $ docker exec --env ******** --env ******** ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent -k [2024-09-09T20:47:34.852Z] unset SSH_AUTH_SOCK; [2024-09-09T20:47:34.852Z] unset SSH_AGENT_PID; [2024-09-09T20:47:34.852Z] echo Agent pid 78 killed; [2024-09-09T20:47:34.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-09T20:47:35.319Z] + git semver [Pipeline] } [2024-09-09T20:47:35.610Z] $ docker stop --time=1 ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa [2024-09-09T20:47:36.961Z] $ docker rm -f --volumes ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T20:47:37.390Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-09T20:47:37.850Z] Stashed 1 file(s) [Pipeline] echo [2024-09-09T20:47:37.872Z] [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-09-09T20:47:38.593Z] provisioning config files... [2024-09-09T20:47:38.602Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config5708849234781249250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T20:47:38.977Z] ---> ****-login.sh [2024-09-09T20:47:38.977Z] nexus3.edgexfoundry.org:10001 [2024-09-09T20:47:38.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:38.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:38.977Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:38.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:38.977Z] [2024-09-09T20:47:38.977Z] Login Succeeded [2024-09-09T20:47:38.977Z] nexus3.edgexfoundry.org:10002 [2024-09-09T20:47:38.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:38.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:38.977Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:38.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:38.977Z] [2024-09-09T20:47:38.977Z] Login Succeeded [2024-09-09T20:47:38.977Z] nexus3.edgexfoundry.org:10003 [2024-09-09T20:47:39.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:39.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:39.237Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:39.237Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:39.237Z] [2024-09-09T20:47:39.237Z] Login Succeeded [2024-09-09T20:47:39.237Z] nexus3.edgexfoundry.org:10004 [2024-09-09T20:47:39.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:39.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:39.237Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:39.237Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:39.237Z] [2024-09-09T20:47:39.237Z] Login Succeeded [2024-09-09T20:47:39.237Z] ****.io [2024-09-09T20:47:39.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:47:39.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:47:39.496Z] Configure a credential helper to remove this warning. See [2024-09-09T20:47:39.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:47:39.496Z] [2024-09-09T20:47:39.496Z] Login Succeeded [2024-09-09T20:47:39.496Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T20:47:39.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T20:47:39.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T20:47:39.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T20:47:39.882Z] ========================================================= [2024-09-09T20:47:39.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-09T20:47:39.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:47:40.414Z] + 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-09-09T20:47:40.414Z] Sending build context to Docker daemon 16.59MB [2024-09-09T20:47:40.414Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T20:47:40.414Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T20:47:40.414Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-09T20:47:40.414Z] 619be1103602: Pulling fs layer [2024-09-09T20:47:40.414Z] 7862e08f4a3e: Pulling fs layer [2024-09-09T20:47:40.414Z] 5df492c9dc93: Pulling fs layer [2024-09-09T20:47:40.414Z] 7629e6793208: Pulling fs layer [2024-09-09T20:47:40.414Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T20:47:40.414Z] fb5054dd5b73: Pulling fs layer [2024-09-09T20:47:40.414Z] eeca6798cff9: Pulling fs layer [2024-09-09T20:47:40.414Z] aa269ceb94a6: Pulling fs layer [2024-09-09T20:47:40.414Z] ada007ff1a6a: Pulling fs layer [2024-09-09T20:47:40.414Z] 7629e6793208: Waiting [2024-09-09T20:47:40.414Z] 4f4fb700ef54: Waiting [2024-09-09T20:47:40.414Z] fb5054dd5b73: Waiting [2024-09-09T20:47:40.414Z] 7862e08f4a3e: Download complete [2024-09-09T20:47:40.414Z] 7629e6793208: Verifying Checksum [2024-09-09T20:47:40.414Z] 7629e6793208: Download complete [2024-09-09T20:47:40.674Z] 4f4fb700ef54: Verifying Checksum [2024-09-09T20:47:40.674Z] 4f4fb700ef54: Download complete [2024-09-09T20:47:40.674Z] 619be1103602: Verifying Checksum [2024-09-09T20:47:40.674Z] fb5054dd5b73: Verifying Checksum [2024-09-09T20:47:40.674Z] fb5054dd5b73: Download complete [2024-09-09T20:47:40.674Z] 619be1103602: Download complete [2024-09-09T20:47:40.674Z] eeca6798cff9: Verifying Checksum [2024-09-09T20:47:40.674Z] eeca6798cff9: Download complete [2024-09-09T20:47:40.674Z] 619be1103602: Pull complete [2024-09-09T20:47:40.933Z] 7862e08f4a3e: Pull complete [2024-09-09T20:47:40.933Z] ada007ff1a6a: Verifying Checksum [2024-09-09T20:47:40.933Z] ada007ff1a6a: Download complete [2024-09-09T20:47:41.193Z] 5df492c9dc93: Verifying Checksum [2024-09-09T20:47:41.193Z] 5df492c9dc93: Download complete [2024-09-09T20:47:41.451Z] aa269ceb94a6: Verifying Checksum [2024-09-09T20:47:41.451Z] aa269ceb94a6: Download complete [2024-09-09T20:47:43.979Z] 5df492c9dc93: Pull complete [2024-09-09T20:47:43.979Z] 7629e6793208: Pull complete [2024-09-09T20:47:43.979Z] 4f4fb700ef54: Pull complete [2024-09-09T20:47:44.236Z] fb5054dd5b73: Pull complete [2024-09-09T20:47:44.236Z] eeca6798cff9: Pull complete [2024-09-09T20:47:46.763Z] aa269ceb94a6: Pull complete [2024-09-09T20:47:47.023Z] ada007ff1a6a: Pull complete [2024-09-09T20:47:47.023Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-09T20:47:47.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-09T20:47:47.023Z] ---> f489d0715acc [2024-09-09T20:47:47.023Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T20:47:51.217Z] ---> Running in 663f81005cb0 [2024-09-09T20:47:51.217Z] Removing intermediate container 663f81005cb0 [2024-09-09T20:47:51.217Z] ---> 91448fe9ee34 [2024-09-09T20:47:51.217Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T20:47:51.217Z] ---> Running in de383b1f76d2 [2024-09-09T20:47:51.217Z] Removing intermediate container de383b1f76d2 [2024-09-09T20:47:51.217Z] ---> 0b84993476a5 [2024-09-09T20:47:51.217Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T20:47:51.217Z] ---> Running in 248b41b509f4 [2024-09-09T20:47:51.217Z] Removing intermediate container 248b41b509f4 [2024-09-09T20:47:51.217Z] ---> 87047fc7e737 [2024-09-09T20:47:51.217Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T20:47:51.217Z] ---> Running in 8140a72fd62f [2024-09-09T20:47:51.217Z] Removing intermediate container 8140a72fd62f [2024-09-09T20:47:51.217Z] ---> 9dd601a95e3d [2024-09-09T20:47:51.217Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T20:47:51.217Z] ---> Running in 5844bfc525de [2024-09-09T20:47:51.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T20:47:51.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T20:47:51.996Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T20:47:51.996Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T20:47:51.996Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T20:47:51.996Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T20:47:51.996Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T20:47:51.996Z] OK: 268 MiB in 56 packages [2024-09-09T20:47:52.561Z] Removing intermediate container 5844bfc525de [2024-09-09T20:47:52.561Z] ---> a483aaa7ad56 [2024-09-09T20:47:52.561Z] Step 8/12 : WORKDIR /device-rest-go [2024-09-09T20:47:52.561Z] ---> Running in 778012e9a6f6 [2024-09-09T20:47:52.561Z] Removing intermediate container 778012e9a6f6 [2024-09-09T20:47:52.561Z] ---> c4468eb47321 [2024-09-09T20:47:52.561Z] Step 9/12 : COPY go.mod vendor* ./ [2024-09-09T20:47:52.820Z] ---> 24a6586f8dc8 [2024-09-09T20:47:52.820Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T20:47:52.820Z] ---> Running in cd5a18a0dbc1 [2024-09-09T20:47:53.374Z] Still waiting to schedule task [2024-09-09T20:47:53.374Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-09T20:48:49.057Z] Removing intermediate container cd5a18a0dbc1 [2024-09-09T20:48:49.057Z] ---> 0e970aa54923 [2024-09-09T20:48:49.057Z] Step 11/12 : COPY . . [2024-09-09T20:48:49.057Z] ---> 8bed8cf76e4a [2024-09-09T20:48:49.057Z] Step 12/12 : RUN $MAKE [2024-09-09T20:48:49.057Z] ---> Running in ac3f8a960aa2 [2024-09-09T20:48:49.057Z] noop [2024-09-09T20:48:49.057Z] Removing intermediate container ac3f8a960aa2 [2024-09-09T20:48:49.057Z] ---> f7f761fafbb6 [2024-09-09T20:48:49.057Z] Successfully built f7f761fafbb6 [2024-09-09T20:48:49.057Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:48:49.546Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T20:48:49.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T20:48:49.718Z] prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container [2024-09-09T20:48:49.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-09T20:48:50.075Z] $ docker top f55a4439ce461d76206cc7ef8a3e5c3d92fdc48e1e0e995d3a500d3a2f45fbf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T20:48:50.480Z] + go version [2024-09-09T20:48:50.480Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-09T20:48:50.513Z] $ docker stop --time=1 f55a4439ce461d76206cc7ef8a3e5c3d92fdc48e1e0e995d3a500d3a2f45fbf2 [2024-09-09T20:48:51.785Z] $ docker rm -f --volumes f55a4439ce461d76206cc7ef8a3e5c3d92fdc48e1e0e995d3a500d3a2f45fbf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:48:52.564Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T20:48:52.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T20:48:52.739Z] prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container [2024-09-09T20:48:52.769Z] $ 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-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-09T20:48:53.078Z] $ docker top a48d9a33db71df5d21886a82f5a21d88aca850006b6379daa7a0478ba08c09d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T20:48:53.495Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-410 [Pipeline] fileExists [Pipeline] sh [2024-09-09T20:48:53.883Z] + make test [2024-09-09T20:48:53.883Z] go test ./... -coverprofile=coverage.out ./... [2024-09-09T20:48:55.784Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-09-09T20:49:13.857Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-09-09T20:49:13.857Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements [2024-09-09T20:49:23.826Z] go vet ./... [2024-09-09T20:49:27.464Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9906 in /w/workspace/gexfoundry_device-rest-go_PR-410 [Pipeline] { [Pipeline] ws [2024-09-09T20:49:27.539Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-09-09T20:49:27.631Z] The recommended git tool is: git [2024-09-09T20:49:30.385Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T20:49:30.385Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T20:49:30.385Z] ./bin/test-attribution-txt.sh [2024-09-09T20:49:30.385Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-09T20:49:30.385Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-09T20:49:30.385Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-09T20:49:30.385Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-09T20:49:30.385Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-09T20:49:30.386Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T20:49:30.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T20:49:30.467Z] $ docker stop --time=1 a48d9a33db71df5d21886a82f5a21d88aca850006b6379daa7a0478ba08c09d3 [2024-09-09T20:49:32.263Z] using credential edgex-jenkins-ssh [2024-09-09T20:49:32.285Z] Cloning the remote Git repository [2024-09-09T20:49:32.331Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-09-09T20:49:32.428Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-09-09T20:49:32.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-09-09T20:49:32.568Z] > git --version # timeout=10 [2024-09-09T20:49:32.590Z] > git --version # 'git version 2.25.1' [2024-09-09T20:49:32.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T20:49:32.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T20:49:34.842Z] $ docker rm -f --volumes a48d9a33db71df5d21886a82f5a21d88aca850006b6379daa7a0478ba08c09d3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T20:49:35.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T20:49:35.559Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-09T20:49:36.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T20:49:35.368Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-09-09T20:49:35.386Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T20:49:36.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-09-09T20:49:36.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-09-09T20:49:36.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T20:49:36.642Z] + ls -al . [2024-09-09T20:49:36.642Z] total 248 [2024-09-09T20:49:36.642Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 20:48 . [2024-09-09T20:49:36.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 20:47 .. [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 9 20:47 .dockerignore [2024-09-09T20:49:36.642Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 20:49 .git [2024-09-09T20:49:36.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:47 .github [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 20:47 .gitignore [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 20:47 .golangci.yml [2024-09-09T20:49:36.642Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 20:47 .semver [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 9 20:47 Attribution.txt [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 17685 Sep 9 20:47 CHANGELOG.md [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 1687 Sep 9 20:47 Dockerfile [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 20:47 GOVERNANCE.md [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 9 20:47 Jenkinsfile [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 20:47 LICENSE [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 2016 Sep 9 20:47 Makefile [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 20:47 OWNERS.md [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 3989 Sep 9 20:47 README.md [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 20:47 VERSION [2024-09-09T20:49:36.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:47 bin [2024-09-09T20:49:36.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:47 cmd [2024-09-09T20:49:36.642Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 9 20:49 coverage.out [2024-09-09T20:49:36.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:47 driver [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 7135 Sep 9 20:47 go.mod [2024-09-09T20:49:36.642Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 20:47 go.sum [2024-09-09T20:49:36.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:47 openapi [2024-09-09T20:49:36.643Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 9 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-09-09T20:49:36.901Z] Merging remotes/origin/main commit 3ca1d9672aa57d288ff73684e8f7d94170c5a17a into PR head commit 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] sh [2024-09-09T20:49:37.192Z] + 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=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 --label arch=amd64 --label version=0.0.0 . [2024-09-09T20:49:37.192Z] Sending build context to Docker daemon 16.61MB [2024-09-09T20:49:37.192Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T20:49:37.192Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-09T20:49:37.192Z] ---> f7f761fafbb6 [2024-09-09T20:49:37.192Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-09-09T20:49:37.243Z] Merge succeeded, producing 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [2024-09-09T20:49:37.243Z] Checking out Revision 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 (PR-410) [2024-09-09T20:49:37.766Z] ---> Running in 588a7a043b8f [2024-09-09T20:49:37.766Z] Removing intermediate container 588a7a043b8f [2024-09-09T20:49:37.766Z] ---> 037e2e72597a [2024-09-09T20:49:37.766Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T20:49:37.766Z] ---> Running in 011a62d53baa [2024-09-09T20:49:37.766Z] Removing intermediate container 011a62d53baa [2024-09-09T20:49:37.766Z] ---> c2ac0c6b43ba [2024-09-09T20:49:37.766Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T20:49:37.766Z] ---> Running in f74393820604 [2024-09-09T20:49:37.766Z] Removing intermediate container f74393820604 [2024-09-09T20:49:37.766Z] ---> 3abe4e76fd1a [2024-09-09T20:49:37.766Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T20:49:37.781Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-09-09T20:49:36.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-09T20:49:36.917Z] > git config core.sparsecheckout # timeout=10 [2024-09-09T20:49:36.987Z] > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # timeout=10 [2024-09-09T20:49:37.133Z] > git remote # timeout=10 [2024-09-09T20:49:37.151Z] > git config --get remote.origin.url # timeout=10 [2024-09-09T20:49:37.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T20:49:37.195Z] > git merge 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 [2024-09-09T20:49:37.223Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-09T20:49:37.248Z] > git config core.sparsecheckout # timeout=10 [2024-09-09T20:49:37.260Z] > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # timeout=10 [2024-09-09T20:49:37.827Z] > git --version # timeout=10 [2024-09-09T20:49:37.839Z] > git --version # 'git version 2.25.1' [2024-09-09T20:49:37.854Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T20:49:38.025Z] ---> Running in 7b47d8be7ded [2024-09-09T20:49:38.025Z] Removing intermediate container 7b47d8be7ded [2024-09-09T20:49:38.025Z] ---> d68249b2f41d [2024-09-09T20:49:38.025Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T20:49:38.025Z] ---> Running in beec24b506e7 [2024-09-09T20:49:38.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T20:49:38.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T20:49:38.805Z] OK: 268 MiB in 56 packages [2024-09-09T20:49:39.066Z] Removing intermediate container beec24b506e7 [2024-09-09T20:49:39.066Z] ---> aa1eb9a44bd5 [2024-09-09T20:49:39.066Z] Step 8/26 : WORKDIR /device-rest-go [2024-09-09T20:49:39.066Z] ---> Running in 51a221175481 [2024-09-09T20:49:39.066Z] Removing intermediate container 51a221175481 [2024-09-09T20:49:39.066Z] ---> 20ba97455f47 [2024-09-09T20:49:39.066Z] Step 9/26 : COPY go.mod vendor* ./ [2024-09-09T20:49:39.326Z] ---> 51faa3c4ecf3 [2024-09-09T20:49:39.326Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T20:49:39.326Z] ---> Running in 1e9be4661302 [2024-09-09T20:49:39.897Z] Removing intermediate container 1e9be4661302 [2024-09-09T20:49:39.897Z] ---> 7736e0459dca [2024-09-09T20:49:39.897Z] Step 11/26 : COPY . . [2024-09-09T20:49:40.570Z] ---> be6595b61edc [2024-09-09T20:49:40.570Z] Step 12/26 : RUN $MAKE [2024-09-09T20:49:40.570Z] ---> Running in 82ca50d7997d [2024-09-09T20:49:40.835Z] 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.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T20:49:42.792Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-09T20:49:42.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T20:49:42.792Z] Dload Upload Total Spent Left Speed [2024-09-09T20:49:42.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh [2024-09-09T20:49:43.161Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-09T20:49:43.512Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-09T20:49:43.512Z] + sudo tee /etc/docker/daemon.new [2024-09-09T20:49:43.512Z] { [2024-09-09T20:49:43.512Z] "registry-mirrors": [ [2024-09-09T20:49:43.512Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-09T20:49:43.512Z] ], [2024-09-09T20:49:43.512Z] "bip": "10.250.0.254/24", [2024-09-09T20:49:43.512Z] "hosts": [ [2024-09-09T20:49:43.512Z] "tcp://0.0.0.0:5555", [2024-09-09T20:49:43.512Z] "unix:///var/run/docker.sock" [2024-09-09T20:49:43.512Z] ], [2024-09-09T20:49:43.512Z] "mtu": 1458, [2024-09-09T20:49:43.512Z] "selinux-enabled": true, [2024-09-09T20:49:43.512Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-09T20:49:43.512Z] } [Pipeline] sh [2024-09-09T20:49:43.861Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-09T20:49:44.208Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T20:50:02.539Z] provisioning config files... [2024-09-09T20:50:02.565Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3405383084550732220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T20:50:03.042Z] ---> ****-login.sh [2024-09-09T20:50:03.042Z] nexus3.edgexfoundry.org:10001 [2024-09-09T20:50:03.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:50:03.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:50:03.591Z] Configure a credential helper to remove this warning. See [2024-09-09T20:50:03.591Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:50:03.591Z] [2024-09-09T20:50:03.591Z] Login Succeeded [2024-09-09T20:50:03.591Z] nexus3.edgexfoundry.org:10002 [2024-09-09T20:50:03.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:50:03.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:50:03.860Z] Configure a credential helper to remove this warning. See [2024-09-09T20:50:03.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:50:03.860Z] [2024-09-09T20:50:03.860Z] Login Succeeded [2024-09-09T20:50:04.128Z] nexus3.edgexfoundry.org:10003 [2024-09-09T20:50:04.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:50:04.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:50:04.396Z] Configure a credential helper to remove this warning. See [2024-09-09T20:50:04.396Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:50:04.396Z] [2024-09-09T20:50:04.396Z] Login Succeeded [2024-09-09T20:50:04.396Z] nexus3.edgexfoundry.org:10004 [2024-09-09T20:50:04.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:50:04.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:50:04.663Z] Configure a credential helper to remove this warning. See [2024-09-09T20:50:04.663Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:50:04.663Z] [2024-09-09T20:50:04.663Z] Login Succeeded [2024-09-09T20:50:04.663Z] ****.io [2024-09-09T20:50:04.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T20:50:05.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T20:50:05.198Z] Configure a credential helper to remove this warning. See [2024-09-09T20:50:05.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T20:50:05.198Z] [2024-09-09T20:50:05.199Z] Login Succeeded [2024-09-09T20:50:05.199Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T20:50:05.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T20:50:05.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T20:50:05.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T20:50:05.776Z] ========================================================= [2024-09-09T20:50:05.776Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-09T20:50:05.776Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:50:06.336Z] + 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-09-09T20:50:06.336Z] Sending build context to Docker daemon 130.6kB [2024-09-09T20:50:06.606Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T20:50:06.606Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T20:50:06.606Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-09T20:50:06.606Z] c6b39de5b339: Pulling fs layer [2024-09-09T20:50:06.606Z] a69c41024577: Pulling fs layer [2024-09-09T20:50:06.606Z] d6de4b400683: Pulling fs layer [2024-09-09T20:50:06.606Z] 35cb2a7552d0: Pulling fs layer [2024-09-09T20:50:06.606Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T20:50:06.606Z] 464afbd9ba4c: Pulling fs layer [2024-09-09T20:50:06.606Z] 00f215d4a9da: Pulling fs layer [2024-09-09T20:50:06.606Z] 35cb2a7552d0: Waiting [2024-09-09T20:50:06.606Z] 4f4fb700ef54: Waiting [2024-09-09T20:50:06.606Z] 464afbd9ba4c: Waiting [2024-09-09T20:50:06.606Z] 00f215d4a9da: Waiting [2024-09-09T20:50:06.606Z] d496ad576159: Pulling fs layer [2024-09-09T20:50:06.606Z] d496ad576159: Waiting [2024-09-09T20:50:06.874Z] a69c41024577: Verifying Checksum [2024-09-09T20:50:06.874Z] a69c41024577: Download complete [2024-09-09T20:50:06.874Z] 35cb2a7552d0: Verifying Checksum [2024-09-09T20:50:06.874Z] 35cb2a7552d0: Download complete [2024-09-09T20:50:06.874Z] 4f4fb700ef54: Verifying Checksum [2024-09-09T20:50:06.874Z] 4f4fb700ef54: Download complete [2024-09-09T20:50:06.874Z] c6b39de5b339: Verifying Checksum [2024-09-09T20:50:06.874Z] c6b39de5b339: Download complete [2024-09-09T20:50:06.874Z] 464afbd9ba4c: Verifying Checksum [2024-09-09T20:50:06.874Z] 464afbd9ba4c: Download complete [2024-09-09T20:50:07.142Z] d496ad576159: Verifying Checksum [2024-09-09T20:50:07.142Z] d496ad576159: Download complete [2024-09-09T20:50:07.728Z] c6b39de5b339: Pull complete [2024-09-09T20:50:08.318Z] a69c41024577: Pull complete [2024-09-09T20:50:08.588Z] d6de4b400683: Download complete [2024-09-09T20:50:09.551Z] 00f215d4a9da: Verifying Checksum [2024-09-09T20:50:09.551Z] 00f215d4a9da: Download complete [2024-09-09T20:50:12.970Z] Removing intermediate container 82ca50d7997d [2024-09-09T20:50:12.970Z] ---> 69712d5f0153 [2024-09-09T20:50:12.970Z] Step 13/26 : FROM alpine:3.18 [2024-09-09T20:50:12.970Z] 3.18: Pulling from library/alpine [2024-09-09T20:50:12.970Z] 1cc3d825d8b2: Pulling fs layer [2024-09-09T20:50:12.970Z] 1cc3d825d8b2: Verifying Checksum [2024-09-09T20:50:12.970Z] 1cc3d825d8b2: Download complete [2024-09-09T20:50:12.970Z] 1cc3d825d8b2: Pull complete [2024-09-09T20:50:12.970Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T20:50:12.970Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T20:50:12.970Z] ---> 2c64cf60f6f0 [2024-09-09T20:50:12.970Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-09T20:50:12.970Z] ---> Running in 8f5826f9bb48 [2024-09-09T20:50:12.970Z] Removing intermediate container 8f5826f9bb48 [2024-09-09T20:50:12.970Z] ---> 1775f0e05acf [2024-09-09T20:50:12.970Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-09-09T20:50:12.970Z] ---> Running in ddb6f569ee48 [2024-09-09T20:50:12.970Z] Removing intermediate container ddb6f569ee48 [2024-09-09T20:50:12.970Z] ---> f9612ea609d6 [2024-09-09T20:50:12.970Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-09-09T20:50:12.970Z] ---> Running in a183e7267483 [2024-09-09T20:50:12.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T20:50:13.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T20:50:13.490Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T20:50:13.490Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T20:50:13.490Z] OK: 7 MiB in 16 packages [2024-09-09T20:50:13.750Z] Removing intermediate container a183e7267483 [2024-09-09T20:50:13.750Z] ---> e4f5744e8589 [2024-09-09T20:50:13.750Z] Step 17/26 : RUN apk --no-cache upgrade [2024-09-09T20:50:13.750Z] ---> Running in 6112db725fcb [2024-09-09T20:50:14.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T20:50:14.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T20:50:14.269Z] OK: 7 MiB in 16 packages [2024-09-09T20:50:14.528Z] Removing intermediate container 6112db725fcb [2024-09-09T20:50:14.528Z] ---> 04e7d97afc31 [2024-09-09T20:50:14.528Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-09-09T20:50:15.907Z] ---> b0740f261c55 [2024-09-09T20:50:15.907Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-09-09T20:50:15.907Z] ---> 4f6f221da99e [2024-09-09T20:50:15.907Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-09-09T20:50:15.907Z] ---> 641b63b07627 [2024-09-09T20:50:15.907Z] Step 21/26 : EXPOSE 59986 [2024-09-09T20:50:15.907Z] ---> Running in 655ada668304 [2024-09-09T20:50:15.907Z] Removing intermediate container 655ada668304 [2024-09-09T20:50:15.907Z] ---> 5a617cabdcc1 [2024-09-09T20:50:15.907Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-09-09T20:50:15.907Z] ---> Running in 8b2b6205ce8f [2024-09-09T20:50:16.170Z] Removing intermediate container 8b2b6205ce8f [2024-09-09T20:50:16.170Z] ---> a201b4217782 [2024-09-09T20:50:16.170Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-09T20:50:16.170Z] ---> Running in 2eeab8e8eea8 [2024-09-09T20:50:16.170Z] Removing intermediate container 2eeab8e8eea8 [2024-09-09T20:50:16.170Z] ---> 3c1e6e1f820c [2024-09-09T20:50:16.170Z] Step 24/26 : LABEL arch=amd64 [2024-09-09T20:50:16.170Z] ---> Running in 24a4f62c937e [2024-09-09T20:50:16.170Z] Removing intermediate container 24a4f62c937e [2024-09-09T20:50:16.170Z] ---> 6b8f92d52a4b [2024-09-09T20:50:16.170Z] Step 25/26 : LABEL git_sha=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [2024-09-09T20:50:16.170Z] ---> Running in 6aab4b2e0238 [2024-09-09T20:50:16.431Z] Removing intermediate container 6aab4b2e0238 [2024-09-09T20:50:16.431Z] ---> 205d46341490 [2024-09-09T20:50:16.431Z] Step 26/26 : LABEL version=0.0.0 [2024-09-09T20:50:16.431Z] ---> Running in edd3ae68da5d [2024-09-09T20:50:16.431Z] Removing intermediate container edd3ae68da5d [2024-09-09T20:50:16.431Z] ---> 07822b37d547 [2024-09-09T20:50:16.431Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T20:50:16.431Z] Successfully built 07822b37d547 [2024-09-09T20:50:16.431Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:50:17.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T20:50:17.527Z] [2024-09-09T20:50:17.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:50:17.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T20:50:17.946Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-09T20:50:17.946Z] 5eb5b503b376: Pulling fs layer [2024-09-09T20:50:17.946Z] 5c69ac0246d0: Pulling fs layer [2024-09-09T20:50:17.946Z] ec43610c2a17: Pulling fs layer [2024-09-09T20:50:17.946Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-09T20:50:17.946Z] 33b1e0a273af: Pulling fs layer [2024-09-09T20:50:17.946Z] 5d3b04190fa2: Pulling fs layer [2024-09-09T20:50:17.946Z] 2f39f015ded8: Pulling fs layer [2024-09-09T20:50:17.946Z] 33b1e0a273af: Waiting [2024-09-09T20:50:17.946Z] 5d3b04190fa2: Waiting [2024-09-09T20:50:17.946Z] 2f39f015ded8: Waiting [2024-09-09T20:50:17.946Z] 3a2ae6a8a46f: Waiting [2024-09-09T20:50:17.946Z] 5c69ac0246d0: Verifying Checksum [2024-09-09T20:50:17.946Z] 5c69ac0246d0: Download complete [2024-09-09T20:50:17.946Z] 3a2ae6a8a46f: Download complete [2024-09-09T20:50:17.946Z] 33b1e0a273af: Verifying Checksum [2024-09-09T20:50:17.946Z] 33b1e0a273af: Download complete [2024-09-09T20:50:17.946Z] ec43610c2a17: Verifying Checksum [2024-09-09T20:50:17.946Z] ec43610c2a17: Download complete [2024-09-09T20:50:17.946Z] 5d3b04190fa2: Verifying Checksum [2024-09-09T20:50:17.946Z] 5d3b04190fa2: Download complete [2024-09-09T20:50:18.204Z] 5eb5b503b376: Verifying Checksum [2024-09-09T20:50:18.204Z] 5eb5b503b376: Download complete [2024-09-09T20:50:18.773Z] 2f39f015ded8: Verifying Checksum [2024-09-09T20:50:18.773Z] 2f39f015ded8: Download complete [2024-09-09T20:50:19.340Z] 5eb5b503b376: Pull complete [2024-09-09T20:50:19.340Z] 5c69ac0246d0: Pull complete [2024-09-09T20:50:19.906Z] ec43610c2a17: Pull complete [2024-09-09T20:50:19.906Z] 3a2ae6a8a46f: Pull complete [2024-09-09T20:50:20.166Z] 33b1e0a273af: Pull complete [2024-09-09T20:50:20.166Z] 5d3b04190fa2: Pull complete [2024-09-09T20:50:21.864Z] d6de4b400683: Pull complete [2024-09-09T20:50:21.864Z] 35cb2a7552d0: Pull complete [2024-09-09T20:50:21.864Z] 4f4fb700ef54: Pull complete [2024-09-09T20:50:21.864Z] 464afbd9ba4c: Pull complete [2024-09-09T20:50:24.353Z] 2f39f015ded8: Pull complete [2024-09-09T20:50:24.353Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-09T20:50:24.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T20:50:24.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T20:50:24.630Z] prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container [2024-09-09T20:50:24.661Z] $ 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-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@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-09-09T20:50:28.906Z] $ docker top d9dd5ae11fa2dc7c224082f43110e4ca9cc026d5af9767541f812d9b33f2245f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T20:50:29.409Z] ---> job-cost.sh [2024-09-09T20:50:29.409Z] lf-activate-venv: SKIPPING [2024-09-09T20:50:29.409Z] INFO: No Stack... [2024-09-09T20:50:29.670Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T20:50:29.929Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T20:50:30.064Z] 00f215d4a9da: Pull complete [2024-09-09T20:50:30.255Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-410/archives/cost.csv [2024-09-09T20:50:30.255Z] + cut -d, -f6 [Pipeline] lock [2024-09-09T20:50:30.309Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [2024-09-09T20:50:30.315Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] did not exist. Created. [2024-09-09T20:50:30.322Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T20:50:30.741Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-09T20:50:30.802Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T20:50:30.839Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T20:50:30.927Z] $ docker stop --time=1 d9dd5ae11fa2dc7c224082f43110e4ca9cc026d5af9767541f812d9b33f2245f [2024-09-09T20:50:32.005Z] d496ad576159: Pull complete [2024-09-09T20:50:32.005Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-09T20:50:32.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-09T20:50:32.005Z] ---> f246e2811388 [2024-09-09T20:50:32.005Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T20:50:32.091Z] $ docker rm -f --volumes d9dd5ae11fa2dc7c224082f43110e4ca9cc026d5af9767541f812d9b33f2245f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-09T20:50:33.414Z] ---> Running in fa60257355e3 [2024-09-09T20:50:33.679Z] Removing intermediate container fa60257355e3 [2024-09-09T20:50:33.679Z] ---> 7a8c91187e0b [2024-09-09T20:50:33.679Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T20:50:33.945Z] ---> Running in 9ecf02939683 [2024-09-09T20:50:34.212Z] Removing intermediate container 9ecf02939683 [2024-09-09T20:50:34.212Z] ---> 472444ec67ac [2024-09-09T20:50:34.212Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T20:50:34.212Z] ---> Running in ca2cc410091d [2024-09-09T20:50:34.482Z] Removing intermediate container ca2cc410091d [2024-09-09T20:50:34.482Z] ---> 9ae223d9db65 [2024-09-09T20:50:34.482Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T20:50:34.482Z] ---> Running in c741279192a1 [2024-09-09T20:50:35.072Z] Removing intermediate container c741279192a1 [2024-09-09T20:50:35.072Z] ---> 30687616646c [2024-09-09T20:50:35.072Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T20:50:35.072Z] ---> Running in bf0debfc68f0 [2024-09-09T20:50:36.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T20:50:36.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T20:50:37.574Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T20:50:37.574Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T20:50:37.574Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T20:50:37.574Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T20:50:37.574Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T20:50:37.574Z] OK: 271 MiB in 56 packages [2024-09-09T20:50:38.546Z] Removing intermediate container bf0debfc68f0 [2024-09-09T20:50:38.546Z] ---> b37005b058e6 [2024-09-09T20:50:38.546Z] Step 8/12 : WORKDIR /device-rest-go [2024-09-09T20:50:38.546Z] ---> Running in 7673befe6f26 [2024-09-09T20:50:38.818Z] Removing intermediate container 7673befe6f26 [2024-09-09T20:50:38.818Z] ---> 3d499a9ada00 [2024-09-09T20:50:38.818Z] Step 9/12 : COPY go.mod vendor* ./ [2024-09-09T20:50:39.405Z] ---> dd4416894af9 [2024-09-09T20:50:39.405Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T20:50:39.405Z] ---> Running in 770bfb4c6215 [2024-09-09T20:52:31.050Z] Removing intermediate container 770bfb4c6215 [2024-09-09T20:52:31.050Z] ---> 28acc1a2470b [2024-09-09T20:52:31.050Z] Step 11/12 : COPY . . [2024-09-09T20:52:31.050Z] ---> 0d475452326e [2024-09-09T20:52:31.050Z] Step 12/12 : RUN $MAKE [2024-09-09T20:52:31.050Z] ---> Running in 8d844eefd496 [2024-09-09T20:52:31.050Z] noop [2024-09-09T20:52:31.050Z] Removing intermediate container 8d844eefd496 [2024-09-09T20:52:31.050Z] ---> c3be59c3bd13 [2024-09-09T20:52:31.050Z] Successfully built c3be59c3bd13 [2024-09-09T20:52:31.050Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:52:31.569Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T20:52:31.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T20:52:31.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-9906 does not seem to be running inside a container [2024-09-09T20:52:31.923Z] $ 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 ******** ci-base-image-arm64 cat [2024-09-09T20:52:33.119Z] $ docker top 4f2e588f9d55f5a6d2dc510eff5b48bc0da9388d7013b3f22c12bde7b0689e31 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T20:52:34.017Z] + go version [2024-09-09T20:52:34.017Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-09T20:52:34.053Z] $ docker stop --time=1 4f2e588f9d55f5a6d2dc510eff5b48bc0da9388d7013b3f22c12bde7b0689e31 [2024-09-09T20:52:35.619Z] $ docker rm -f --volumes 4f2e588f9d55f5a6d2dc510eff5b48bc0da9388d7013b3f22c12bde7b0689e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:52:36.554Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T20:52:36.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T20:52:36.857Z] prd-ubuntu20.04-docker-arm64-4c-16g-9906 does not seem to be running inside a container [2024-09-09T20:52:36.915Z] $ 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 ******** ci-base-image-arm64 cat [2024-09-09T20:52:38.067Z] $ docker top 1543ccf2ff564811a340d5df2d9a1be7aacced0d6dcd9f3768957cd55111e033 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T20:52:38.653Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-09T20:52:39.644Z] + make test [2024-09-09T20:52:39.644Z] go test ./... -coverprofile=coverage.out ./... [2024-09-09T20:52:44.988Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-09-09T20:56:21.801Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-09-09T20:56:21.801Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 33.2% of statements [2024-09-09T20:56:21.801Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-09T20:56:21.801Z] go vet ./... [2024-09-09T20:57:08.778Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T20:57:08.778Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T20:57:08.778Z] ./bin/test-attribution-txt.sh [2024-09-09T20:57:08.778Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-09T20:57:08.778Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T20:57:08.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T20:57:08.869Z] $ docker stop --time=1 1543ccf2ff564811a340d5df2d9a1be7aacced0d6dcd9f3768957cd55111e033 [2024-09-09T20:57:11.004Z] $ docker rm -f --volumes 1543ccf2ff564811a340d5df2d9a1be7aacced0d6dcd9f3768957cd55111e033 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T20:57:12.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T20:57:12.706Z] Warning: overwriting stash ‘coverage-report’ [2024-09-09T20:57:13.136Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T20:57:13.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T20:57:14.197Z] + ls -al . [2024-09-09T20:57:14.197Z] total 244 [2024-09-09T20:57:14.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 20:52 . [2024-09-09T20:57:14.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 20:49 .. [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 9 20:49 .dockerignore [2024-09-09T20:57:14.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 20:49 .git [2024-09-09T20:57:14.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:49 .github [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 20:49 .gitignore [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 20:49 .golangci.yml [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 9 20:49 Attribution.txt [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 17685 Sep 9 20:49 CHANGELOG.md [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 1687 Sep 9 20:49 Dockerfile [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 20:49 GOVERNANCE.md [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 9 20:49 Jenkinsfile [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 20:49 LICENSE [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 2016 Sep 9 20:49 Makefile [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 20:49 OWNERS.md [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 3989 Sep 9 20:49 README.md [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 20:47 VERSION [2024-09-09T20:57:14.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:49 bin [2024-09-09T20:57:14.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:49 cmd [2024-09-09T20:57:14.197Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 9 20:56 coverage.out [2024-09-09T20:57:14.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:49 driver [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 7135 Sep 9 20:49 go.mod [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 20:49 go.sum [2024-09-09T20:57:14.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:49 openapi [2024-09-09T20:57:14.197Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 9 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T20:57:14.658Z] + 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=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 --label arch=arm64 --label version=0.0.0 . [2024-09-09T20:57:14.659Z] Sending build context to Docker daemon 145.9kB [2024-09-09T20:57:14.927Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T20:57:14.927Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-09T20:57:14.927Z] ---> c3be59c3bd13 [2024-09-09T20:57:14.927Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-09-09T20:57:14.927Z] ---> Running in 48767fe0479b [2024-09-09T20:57:15.194Z] Removing intermediate container 48767fe0479b [2024-09-09T20:57:15.194Z] ---> fea505ce5030 [2024-09-09T20:57:15.194Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T20:57:15.461Z] ---> Running in 57fa0f8153fe [2024-09-09T20:57:15.728Z] Removing intermediate container 57fa0f8153fe [2024-09-09T20:57:15.728Z] ---> b2bf336360e6 [2024-09-09T20:57:15.728Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T20:57:15.728Z] ---> Running in 4a3fdfb355f8 [2024-09-09T20:57:15.994Z] Removing intermediate container 4a3fdfb355f8 [2024-09-09T20:57:15.994Z] ---> f1923ae74d94 [2024-09-09T20:57:15.994Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T20:57:16.260Z] ---> Running in 88e19506dbad [2024-09-09T20:57:16.527Z] Removing intermediate container 88e19506dbad [2024-09-09T20:57:16.527Z] ---> bfa19e561af8 [2024-09-09T20:57:16.527Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T20:57:16.527Z] ---> Running in 92a064406aa5 [2024-09-09T20:57:17.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T20:57:17.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T20:57:18.711Z] OK: 271 MiB in 56 packages [2024-09-09T20:57:19.675Z] Removing intermediate container 92a064406aa5 [2024-09-09T20:57:19.675Z] ---> 3ca1f554078d [2024-09-09T20:57:19.675Z] Step 8/26 : WORKDIR /device-rest-go [2024-09-09T20:57:19.675Z] ---> Running in 5169ebb70a11 [2024-09-09T20:57:19.942Z] Removing intermediate container 5169ebb70a11 [2024-09-09T20:57:19.942Z] ---> 7d67d673fb91 [2024-09-09T20:57:19.942Z] Step 9/26 : COPY go.mod vendor* ./ [2024-09-09T20:57:20.907Z] ---> 22e6f8fe3a16 [2024-09-09T20:57:20.907Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T20:57:20.907Z] ---> Running in 3744f9a977bf [2024-09-09T20:57:22.860Z] Removing intermediate container 3744f9a977bf [2024-09-09T20:57:22.860Z] ---> ba8268d5df2b [2024-09-09T20:57:22.860Z] Step 11/26 : COPY . . [2024-09-09T20:57:23.449Z] ---> a7615700d3d6 [2024-09-09T20:57:23.449Z] Step 12/26 : RUN $MAKE [2024-09-09T20:57:23.719Z] ---> Running in c69d05cc2eeb [2024-09-09T20:57:24.681Z] 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.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-09-09T21:00:46.451Z] Removing intermediate container c69d05cc2eeb [2024-09-09T21:00:46.451Z] ---> 530c29cbbbdf [2024-09-09T21:00:46.451Z] Step 13/26 : FROM alpine:3.18 [2024-09-09T21:00:46.451Z] 3.18: Pulling from library/alpine [2024-09-09T21:00:46.451Z] 720f3032cd11: Pulling fs layer [2024-09-09T21:00:46.451Z] 720f3032cd11: Download complete [2024-09-09T21:00:46.451Z] 720f3032cd11: Pull complete [2024-09-09T21:00:46.451Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T21:00:46.451Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T21:00:46.451Z] ---> 3e834921e367 [2024-09-09T21:00:46.451Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-09T21:00:46.451Z] ---> Running in 9753976335b4 [2024-09-09T21:00:46.451Z] Removing intermediate container 9753976335b4 [2024-09-09T21:00:46.451Z] ---> 1c4c52a6b650 [2024-09-09T21:00:46.451Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-09-09T21:00:46.451Z] ---> Running in df9327b9f234 [2024-09-09T21:00:46.451Z] Removing intermediate container df9327b9f234 [2024-09-09T21:00:46.451Z] ---> 88b79e473cf4 [2024-09-09T21:00:46.451Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-09-09T21:00:46.451Z] ---> Running in 45f1e6ada28c [2024-09-09T21:00:46.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T21:00:46.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T21:00:46.451Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T21:00:46.451Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T21:00:46.451Z] OK: 8 MiB in 16 packages [2024-09-09T21:00:46.451Z] Removing intermediate container 45f1e6ada28c [2024-09-09T21:00:46.451Z] ---> 848ea9713e39 [2024-09-09T21:00:46.451Z] Step 17/26 : RUN apk --no-cache upgrade [2024-09-09T21:00:46.451Z] ---> Running in 935274e39102 [2024-09-09T21:00:46.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T21:00:46.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T21:00:46.451Z] OK: 8 MiB in 16 packages [2024-09-09T21:00:46.451Z] Removing intermediate container 935274e39102 [2024-09-09T21:00:46.451Z] ---> b27f48d0a31a [2024-09-09T21:00:46.451Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-09-09T21:00:46.451Z] ---> 89178414892a [2024-09-09T21:00:46.451Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-09-09T21:00:47.040Z] ---> ee4f50275e3d [2024-09-09T21:00:47.040Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-09-09T21:00:47.626Z] ---> 9902711e423f [2024-09-09T21:00:47.626Z] Step 21/26 : EXPOSE 59986 [2024-09-09T21:00:47.626Z] ---> Running in 83d56a52481c [2024-09-09T21:00:47.893Z] Removing intermediate container 83d56a52481c [2024-09-09T21:00:47.893Z] ---> 018fdf71ef3a [2024-09-09T21:00:47.893Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-09-09T21:00:47.893Z] ---> Running in b7443278e720 [2024-09-09T21:00:48.160Z] Removing intermediate container b7443278e720 [2024-09-09T21:00:48.160Z] ---> cb6bfa517221 [2024-09-09T21:00:48.160Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-09T21:00:48.160Z] ---> Running in fb55409921f5 [2024-09-09T21:00:48.436Z] Removing intermediate container fb55409921f5 [2024-09-09T21:00:48.436Z] ---> 28153e90b25b [2024-09-09T21:00:48.436Z] Step 24/26 : LABEL arch=arm64 [2024-09-09T21:00:48.702Z] ---> Running in bef220f79b4b [2024-09-09T21:00:48.969Z] Removing intermediate container bef220f79b4b [2024-09-09T21:00:48.969Z] ---> 96e5a96e294a [2024-09-09T21:00:48.969Z] Step 25/26 : LABEL git_sha=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [2024-09-09T21:00:48.969Z] ---> Running in f6613cd05ce3 [2024-09-09T21:00:49.234Z] Removing intermediate container f6613cd05ce3 [2024-09-09T21:00:49.234Z] ---> 2b726d79187c [2024-09-09T21:00:49.234Z] Step 26/26 : LABEL version=0.0.0 [2024-09-09T21:00:49.234Z] ---> Running in 766c08772af3 [2024-09-09T21:00:49.501Z] Removing intermediate container 766c08772af3 [2024-09-09T21:00:49.501Z] ---> 59570cfc1835 [2024-09-09T21:00:49.501Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T21:00:49.501Z] Successfully built 59570cfc1835 [2024-09-09T21:00:49.501Z] 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-09-09T21:00:50.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T21:00:50.460Z] [2024-09-09T21:00:50.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T21:00:50.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T21:00:50.890Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-09T21:00:50.890Z] 8998bd30e6a1: Pulling fs layer [2024-09-09T21:00:50.890Z] 04944245beec: Pulling fs layer [2024-09-09T21:00:50.890Z] 699f458cf7ca: Pulling fs layer [2024-09-09T21:00:50.890Z] 765212b225bb: Pulling fs layer [2024-09-09T21:00:50.890Z] f23df028b6ca: Pulling fs layer [2024-09-09T21:00:50.890Z] d65c8cfc05b1: Pulling fs layer [2024-09-09T21:00:50.890Z] 2437ff75d9bd: Pulling fs layer [2024-09-09T21:00:50.890Z] f23df028b6ca: Waiting [2024-09-09T21:00:50.890Z] d65c8cfc05b1: Waiting [2024-09-09T21:00:50.890Z] 2437ff75d9bd: Waiting [2024-09-09T21:00:50.890Z] 765212b225bb: Waiting [2024-09-09T21:00:51.157Z] 04944245beec: Verifying Checksum [2024-09-09T21:00:51.157Z] 04944245beec: Download complete [2024-09-09T21:00:51.157Z] 765212b225bb: Download complete [2024-09-09T21:00:51.157Z] f23df028b6ca: Verifying Checksum [2024-09-09T21:00:51.157Z] f23df028b6ca: Download complete [2024-09-09T21:00:51.157Z] d65c8cfc05b1: Verifying Checksum [2024-09-09T21:00:51.157Z] d65c8cfc05b1: Download complete [2024-09-09T21:00:51.425Z] 699f458cf7ca: Verifying Checksum [2024-09-09T21:00:51.425Z] 699f458cf7ca: Download complete [2024-09-09T21:00:51.693Z] 8998bd30e6a1: Verifying Checksum [2024-09-09T21:00:51.693Z] 8998bd30e6a1: Download complete [2024-09-09T21:00:54.277Z] 2437ff75d9bd: Verifying Checksum [2024-09-09T21:00:54.277Z] 2437ff75d9bd: Download complete [2024-09-09T21:00:56.222Z] 8998bd30e6a1: Pull complete [2024-09-09T21:00:56.813Z] 04944245beec: Pull complete [2024-09-09T21:00:58.220Z] 699f458cf7ca: Pull complete [2024-09-09T21:00:58.486Z] 765212b225bb: Pull complete [2024-09-09T21:00:59.444Z] f23df028b6ca: Pull complete [2024-09-09T21:00:59.445Z] d65c8cfc05b1: Pull complete [2024-09-09T21:01:17.651Z] 2437ff75d9bd: Pull complete [2024-09-09T21:01:17.651Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-09T21:01:17.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T21:01:17.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T21:01:18.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-9906 does not seem to be running inside a container [2024-09-09T21:01:18.068Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-09T21:01:20.672Z] $ docker top b212352f9a182f2acc54e2577f77fc10998bb8451c10029db5a99b65f5f7ab1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:21.593Z] ---> job-cost.sh [2024-09-09T21:01:21.593Z] lf-activate-venv: SKIPPING [2024-09-09T21:01:21.593Z] INFO: No Stack... [2024-09-09T21:01:21.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-09T21:01:22.815Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T21:01:23.481Z] + cut -d, -f6 [2024-09-09T21:01:23.481Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2024-09-09T21:01:23.560Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [2024-09-09T21:01:23.566Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] did not exist. Created. [2024-09-09T21:01:23.573Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T21:01:24.332Z] /w/workspace/device-rest-go/1@tmp/durable-e6ef6c1b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-09T21:01:25.011Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-09T21:01:25.060Z] Warning: overwriting stash ‘stack-cost’ [2024-09-09T21:01:25.101Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T21:01:25.120Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T21:01:25.220Z] $ docker stop --time=1 b212352f9a182f2acc54e2577f77fc10998bb8451c10029db5a99b65f5f7ab1b [2024-09-09T21:01:26.721Z] $ docker rm -f --volumes b212352f9a182f2acc54e2577f77fc10998bb8451c10029db5a99b65f5f7ab1b [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-09-09T21:01:27.967Z] provisioning config files... [2024-09-09T21:01:27.974Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config8473749747306849245tmp [Pipeline] { [Pipeline] sh [2024-09-09T21:01:28.335Z] + set +x [2024-09-09T21:01:28.335Z] + bash -s -- [2024-09-09T21:01:28.335Z] + curl -s https://codecov.io/bash [2024-09-09T21:01:28.335Z] [2024-09-09T21:01:28.335Z] _____ _ [2024-09-09T21:01:28.335Z] / ____| | | [2024-09-09T21:01:28.335Z] | | ___ __| | ___ ___ _____ __ [2024-09-09T21:01:28.335Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-09T21:01:28.335Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-09T21:01:28.335Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-09T21:01:28.335Z] Bash-1.0.6 [2024-09-09T21:01:28.335Z] [2024-09-09T21:01:28.335Z] [2024-09-09T21:01:28.335Z] ==> git version 2.25.1 found [2024-09-09T21:01:28.335Z] ==> 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-09-09T21:01:28.335Z] Release-Date: 2020-01-08 [2024-09-09T21:01:28.335Z] 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-09-09T21:01:28.335Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-09T21:01:28.335Z] ==> Jenkins CI detected. [2024-09-09T21:01:28.335Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-410 [2024-09-09T21:01:28.335Z] project root: . [2024-09-09T21:01:28.335Z] --> token set from env [2024-09-09T21:01:28.335Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-09T21:01:28.335Z] ==> Running gcov in . (disable via -X gcov) [2024-09-09T21:01:28.335Z] ==> Python coveragepy not found [2024-09-09T21:01:28.335Z] ==> Searching for coverage reports in: [2024-09-09T21:01:28.335Z] + . [2024-09-09T21:01:28.335Z] -> Found 1 reports [2024-09-09T21:01:28.335Z] ==> Detecting git/mercurial file structure [2024-09-09T21:01:28.335Z] ==> Reading reports [2024-09-09T21:01:28.595Z] + ./coverage.out bytes=14499 [2024-09-09T21:01:28.595Z] ==> Appending adjustments [2024-09-09T21:01:28.595Z] https://docs.codecov.io/docs/fixing-reports [2024-09-09T21:01:28.595Z] + Found adjustments [2024-09-09T21:01:28.595Z] ==> Gzipping contents [2024-09-09T21:01:28.595Z] 4.0K /tmp/codecov.7tyeaB.gz [2024-09-09T21:01:28.595Z] ==> Uploading reports [2024-09-09T21:01:28.595Z] url: https://codecov.io [2024-09-09T21:01:28.595Z] query: branch=PR-410&commit=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=410&job=&cmd_args= [2024-09-09T21:01:28.595Z] -> Pinging Codecov [2024-09-09T21:01:28.595Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-410&commit=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=410&job=&cmd_args= [2024-09-09T21:01:28.856Z] -> Uploading to [2024-09-09T21:01:28.856Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-09/4E5D53B4F1F92C436F7061BF334D961C/1c6b207c0ffd4a88ff50fc986f859e6bbcee7648/a8b3080d-e888-4300-ba58-6f2553908eb8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T210128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b2162371eaec0781f0bffc5123b29e119bd29c36417aa6776fb04da912fb3fb3 [2024-09-09T21:01:28.856Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T21:01:28.856Z] Dload Upload Total Spent Left Speed [2024-09-09T21:01:29.116Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9247 --:--:-- --:--:-- --:--:-- 9247 [2024-09-09T21:01:29.116Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] } [2024-09-09T21:01:29.151Z] 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-09-09T21:01:31.572Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-410/archives ] [2024-09-09T21:01:31.572Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-410/archives [2024-09-09T21:01:31.572Z] total 16 [2024-09-09T21:01:31.572Z] drwxr-xr-x 3 root root 4096 Sep 9 20:50 . [2024-09-09T21:01:31.572Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 20:50 .. [2024-09-09T21:01:31.572Z] drwxr-xr-x 2 root root 4096 Sep 9 20:50 cost [2024-09-09T21:01:31.572Z] -rw-r--r-- 1 root root 86 Sep 9 20:50 cost.csv [2024-09-09T21:01:31.572Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-410/archives [2024-09-09T21:01:31.572Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-410/archives [2024-09-09T21:01:31.572Z] total 16 [2024-09-09T21:01:31.572Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 20:50 . [2024-09-09T21:01:31.572Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 20:50 .. [2024-09-09T21:01:31.572Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 20:50 cost [2024-09-09T21:01:31.572Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 9 20:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:31.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:32.828Z] ---> package-listing.sh [2024-09-09T21:01:32.828Z] ++ facter osfamily [2024-09-09T21:01:32.828Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-09T21:01:33.099Z] + OS_FAMILY=debian [2024-09-09T21:01:33.099Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-410 [2024-09-09T21:01:33.099Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-09T21:01:33.099Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-09T21:01:33.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-09T21:01:33.099Z] + PACKAGES=/tmp/packages_start.txt [2024-09-09T21:01:33.099Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-410 ']' [2024-09-09T21:01:33.099Z] + PACKAGES=/tmp/packages_end.txt [2024-09-09T21:01:33.099Z] + case "${OS_FAMILY}" in [2024-09-09T21:01:33.099Z] + dpkg -l [2024-09-09T21:01:33.099Z] + grep '^ii' [2024-09-09T21:01:33.099Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-09T21:01:33.099Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-09T21:01:33.099Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-09T21:01:33.099Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-410 ']' [2024-09-09T21:01:33.099Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-410/archives/ [2024-09-09T21:01:33.099Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-410/archives/ [Pipeline] echo [2024-09-09T21:01:33.139Z] 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-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-09T21:01:33.449Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T21:01:34.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T21:01:34.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T21:01:34.406Z] prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container [2024-09-09T21:01:34.423Z] $ 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-410/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-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-09T21:01:34.614Z] $ docker top 50dc0be95d282bd57bb9a6cbbfa6618af0f78553a2a18d4b440e3095e04d3dd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T21:01:35.085Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-09T21:01:35.455Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-09T21:01:35.798Z] + ls /var/log/sa-host [2024-09-09T21:01:35.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T21:01:36.064Z] provisioning config files... [2024-09-09T21:01:36.074Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config15385597572616936991tmp [Pipeline] { [Pipeline] echo [2024-09-09T21:01:36.153Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:36.477Z] ---> create-netrc.sh [Pipeline] } [2024-09-09T21:01:36.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:36.949Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-09T21:01:36.987Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:37.307Z] ---> sudo-logs.sh [2024-09-09T21:01:37.307Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-09T21:01:37.414Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:37.751Z] ---> job-cost.sh [2024-09-09T21:01:37.751Z] lf-activate-venv: SKIPPING [2024-09-09T21:01:37.751Z] DEBUG: total: 0.2199999988079071 [2024-09-09T21:01:37.751Z] INFO: Retrieving Stack Cost... [2024-09-09T21:01:38.319Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T21:01:38.579Z] INFO: Archiving Costs [Pipeline] echo [2024-09-09T21:01:38.628Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T21:01:38.954Z] ---> logs-deploy.sh [2024-09-09T21:01:38.954Z] lf-activate-venv: SKIPPING [2024-09-09T21:01:38.954Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-410/1 [2024-09-09T21:01:38.954Z] INFO: archiving workspace using pattern(s): [2024-09-09T21:01:39.893Z] Archives upload complete. [2024-09-09T21:01:39.893Z] INFO: archiving logs to Nexus