Pull request #404 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b913d0babda486750042a17b43fbe6c388ab846c+6d0ab58f28452a8136c6dc245895717e20b3b293 (8860ef14887a8ef163ffccb52651d50b08148683) 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-ssh12575586589115780924.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1253066387471766996.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-404/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-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12616591432954238571.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-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15014905423516152994.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7123403383744048437.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-404/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-404/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11867583101307293773.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7213 in /w/workspace/gexfoundry_device-rest-go_PR-404 [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-404 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6d0ab58f28452a8136c6dc245895717e20b3b293 into PR head commit b913d0babda486750042a17b43fbe6c388ab846c Merge succeeded, producing b913d0babda486750042a17b43fbe6c388ab846c Checking out Revision b913d0babda486750042a17b43fbe6c388ab846c (PR-404) Commit message: "build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b913d0babda486750042a17b43fbe6c388ab846c # 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 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b913d0babda486750042a17b43fbe6c388ab846c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-06T20:10:55.550Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-06T20:10:55.773Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-06T20:10:55.917Z] ========================================================= [2024-08-06T20:10:55.917Z] EdgeX Global Pipelines Version Info [2024-08-06T20:10:55.917Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:10:56.715Z] ------------------- [2024-08-06T20:10:56.716Z] stable info: [2024-08-06T20:10:56.716Z] ------------------- [2024-08-06T20:10:56.716Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-06T20:10:56.716Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-06T20:10:56.716Z] Message: update stable to v1.0.260 [2024-08-06T20:10:57.286Z] ------------------- [2024-08-06T20:10:57.286Z] experimental info: [2024-08-06T20:10:57.286Z] ------------------- [2024-08-06T20:10:57.286Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-06T20:10:57.286Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-06T20:10:57.286Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-06T20:10:57.509Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-08-06T20:10:57.570Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-08-06T20:10:57.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-06T20:10:57.693Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-06T20:10:57.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-06T20:10:57.807Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-06T20:10:57.882Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-06T20:10:57.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-06T20:10:57.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-06T20:10:58.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-06T20:10:58.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-06T20:10:58.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-08-06T20:10:58.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-06T20:10:58.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-06T20:10:58.350Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-06T20:10:58.419Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-06T20:10:58.479Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-06T20:10:58.538Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-06T20:10:58.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-06T20:10:58.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-06T20:10:58.715Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-06T20:10:58.780Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-06T20:10:58.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-06T20:10:58.899Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-06T20:10:58.971Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-06T20:10:59.024Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-06T20:10:59.084Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-06T20:10:59.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo [2024-08-06T20:10:59.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo [2024-08-06T20:10:59.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo [2024-08-06T20:10:59.322Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b913d0babda486750042a17b43fbe6c388ab846c [Pipeline] echo [2024-08-06T20:10:59.386Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b913d0b [Pipeline] echo [2024-08-06T20:10:59.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-06T20:10:59.593Z] provisioning config files... [2024-08-06T20:10:59.607Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp/config14512771092029407335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:10:59.999Z] ---> ****-login.sh [2024-08-06T20:10:59.999Z] nexus3.edgexfoundry.org:10001 [2024-08-06T20:11:00.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:00.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:00.261Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:00.261Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:00.261Z] [2024-08-06T20:11:00.261Z] Login Succeeded [2024-08-06T20:11:00.261Z] nexus3.edgexfoundry.org:10002 [2024-08-06T20:11:00.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:00.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:00.529Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:00.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:00.529Z] [2024-08-06T20:11:00.529Z] Login Succeeded [2024-08-06T20:11:00.529Z] nexus3.edgexfoundry.org:10003 [2024-08-06T20:11:00.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:00.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:00.529Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:00.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:00.529Z] [2024-08-06T20:11:00.529Z] Login Succeeded [2024-08-06T20:11:00.529Z] nexus3.edgexfoundry.org:10004 [2024-08-06T20:11:00.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:00.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:00.789Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:00.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:00.789Z] [2024-08-06T20:11:00.789Z] Login Succeeded [2024-08-06T20:11:00.789Z] ****.io [2024-08-06T20:11:00.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:01.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:01.049Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:01.049Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:01.049Z] [2024-08-06T20:11:01.049Z] Login Succeeded [2024-08-06T20:11:01.049Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T20:11:01.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-06T20:11:01.771Z] + git rev-list -1 --merges b913d0babda486750042a17b43fbe6c388ab846c~1..b913d0babda486750042a17b43fbe6c388ab846c [Pipeline] echo [2024-08-06T20:11:01.824Z] -----------> git rev-list -1 --merges b913d0babda486750042a17b43fbe6c388ab846c~1..b913d0babda486750042a17b43fbe6c388ab846c b913d0babda486750042a17b43fbe6c388ab846c [false] [Pipeline] sh [2024-08-06T20:11:02.149Z] + git log --format=format:%s -1 b913d0babda486750042a17b43fbe6c388ab846c [Pipeline] echo [2024-08-06T20:11:02.194Z] ========================================================= [2024-08-06T20:11:02.194Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-06T20:11:02.194Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-06T20:11:02.669Z] + git log --format=format:%s -1 b913d0babda486750042a17b43fbe6c388ab846c [Pipeline] echo [2024-08-06T20:11:02.706Z] [semverPrep] GIT_COMMIT: b913d0babda486750042a17b43fbe6c388ab846c, Commit Message: build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0 [Pipeline] echo [2024-08-06T20:11:02.750Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-06T20:11:03.151Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-06T20:11:03.151Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-06T20:11:03.151Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-06T20:11:03.151Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-06T20:11:03.151Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-06T20:11:03.151Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-06T20:11:03.151Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:11:03.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T20:11:03.684Z] [2024-08-06T20:11:03.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:11:04.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T20:11:04.092Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-06T20:11:04.092Z] b85a868b505f: Pulling fs layer [2024-08-06T20:11:04.092Z] e2be974225ed: Pulling fs layer [2024-08-06T20:11:04.092Z] 339a4e72a1f5: Pulling fs layer [2024-08-06T20:11:04.092Z] 988bab9f4d93: Pulling fs layer [2024-08-06T20:11:04.092Z] 1469e6f7b9e6: Pulling fs layer [2024-08-06T20:11:04.092Z] eaf3925da568: Pulling fs layer [2024-08-06T20:11:04.092Z] bab4dde63d76: Pulling fs layer [2024-08-06T20:11:04.092Z] bde34c3a00c8: Pulling fs layer [2024-08-06T20:11:04.092Z] b352a97aabf1: Pulling fs layer [2024-08-06T20:11:04.092Z] 4872d77fe225: Pulling fs layer [2024-08-06T20:11:04.092Z] 5851b861e8e6: Pulling fs layer [2024-08-06T20:11:04.092Z] 988bab9f4d93: Waiting [2024-08-06T20:11:04.092Z] eaf3925da568: Waiting [2024-08-06T20:11:04.092Z] 1469e6f7b9e6: Waiting [2024-08-06T20:11:04.092Z] b352a97aabf1: Waiting [2024-08-06T20:11:04.092Z] 4872d77fe225: Waiting [2024-08-06T20:11:04.092Z] bde34c3a00c8: Waiting [2024-08-06T20:11:04.092Z] 5851b861e8e6: Waiting [2024-08-06T20:11:04.092Z] e2be974225ed: Verifying Checksum [2024-08-06T20:11:04.092Z] e2be974225ed: Download complete [2024-08-06T20:11:04.092Z] 988bab9f4d93: Verifying Checksum [2024-08-06T20:11:04.092Z] 988bab9f4d93: Download complete [2024-08-06T20:11:04.092Z] 1469e6f7b9e6: Verifying Checksum [2024-08-06T20:11:04.092Z] 1469e6f7b9e6: Download complete [2024-08-06T20:11:04.092Z] eaf3925da568: Verifying Checksum [2024-08-06T20:11:04.092Z] eaf3925da568: Download complete [2024-08-06T20:11:04.092Z] 339a4e72a1f5: Verifying Checksum [2024-08-06T20:11:04.092Z] 339a4e72a1f5: Download complete [2024-08-06T20:11:04.363Z] bde34c3a00c8: Verifying Checksum [2024-08-06T20:11:04.363Z] bde34c3a00c8: Download complete [2024-08-06T20:11:04.363Z] b352a97aabf1: Download complete [2024-08-06T20:11:04.363Z] 4872d77fe225: Verifying Checksum [2024-08-06T20:11:04.363Z] 4872d77fe225: Download complete [2024-08-06T20:11:04.363Z] 5851b861e8e6: Verifying Checksum [2024-08-06T20:11:04.363Z] 5851b861e8e6: Download complete [2024-08-06T20:11:04.363Z] b85a868b505f: Verifying Checksum [2024-08-06T20:11:04.363Z] b85a868b505f: Download complete [2024-08-06T20:11:04.621Z] bab4dde63d76: Verifying Checksum [2024-08-06T20:11:04.621Z] bab4dde63d76: Download complete [2024-08-06T20:11:05.999Z] b85a868b505f: Pull complete [2024-08-06T20:11:05.999Z] e2be974225ed: Pull complete [2024-08-06T20:11:06.258Z] 339a4e72a1f5: Pull complete [2024-08-06T20:11:06.520Z] 988bab9f4d93: Pull complete [2024-08-06T20:11:06.778Z] 1469e6f7b9e6: Pull complete [2024-08-06T20:11:06.778Z] eaf3925da568: Pull complete [2024-08-06T20:11:08.693Z] bab4dde63d76: Pull complete [2024-08-06T20:11:08.693Z] bde34c3a00c8: Pull complete [2024-08-06T20:11:08.693Z] b352a97aabf1: Pull complete [2024-08-06T20:11:08.953Z] 4872d77fe225: Pull complete [2024-08-06T20:11:08.953Z] 5851b861e8e6: Pull complete [2024-08-06T20:11:08.953Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-06T20:11:08.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T20:11:08.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:11:09.240Z] prd-ubuntu20.04-docker-8c-8g-7213 does not seem to be running inside a container [2024-08-06T20:11:09.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-404 -v /w/workspace/gexfoundry_device-rest-go_PR-404:/w/workspace/gexfoundry_device-rest-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-404@tmp:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-06T20:11:12.278Z] $ docker top 20615dff54db1b3fb44b576ed9e520c3787d6ad3d2b9e9c7ea2260d9ec3e1ed7 -eo pid,comm [2024-08-06T20:11:12.333Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-06T20:11:12.333Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-06T20:11:12.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-06T20:11:12.490Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-06T20:11:12.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-06T20:11:12.615Z] $ docker exec 20615dff54db1b3fb44b576ed9e520c3787d6ad3d2b9e9c7ea2260d9ec3e1ed7 ssh-agent [2024-08-06T20:11:12.720Z] SSH_AUTH_SOCK=/tmp/ssh-C7TR8bEUEuBG/agent.32 [2024-08-06T20:11:12.720Z] SSH_AGENT_PID=38 [2024-08-06T20:11:12.727Z] Running ssh-add (command line suppressed) [2024-08-06T20:11:12.833Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-404@tmp/private_key_15406542337572530556.key (/w/workspace/gexfoundry_device-rest-go_PR-404@tmp/private_key_15406542337572530556.key) [2024-08-06T20:11:12.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-06T20:11:13.200Z] + git tag --points-at HEAD [Pipeline] } [2024-08-06T20:11:13.225Z] $ docker exec --env ******** --env ******** 20615dff54db1b3fb44b576ed9e520c3787d6ad3d2b9e9c7ea2260d9ec3e1ed7 ssh-agent -k [2024-08-06T20:11:13.336Z] unset SSH_AUTH_SOCK; [2024-08-06T20:11:13.337Z] unset SSH_AGENT_PID; [2024-08-06T20:11:13.337Z] echo Agent pid 38 killed; [2024-08-06T20:11:13.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-06T20:11:13.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-06T20:11:13.464Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-06T20:11:13.580Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-06T20:11:13.582Z] $ docker exec 20615dff54db1b3fb44b576ed9e520c3787d6ad3d2b9e9c7ea2260d9ec3e1ed7 ssh-agent [2024-08-06T20:11:13.699Z] SSH_AUTH_SOCK=/tmp/ssh-AML3u1vuPcQ4/agent.71 [2024-08-06T20:11:13.699Z] SSH_AGENT_PID=77 [2024-08-06T20:11:13.704Z] Running ssh-add (command line suppressed) [2024-08-06T20:11:13.818Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-404@tmp/private_key_13857841091462078130.key (/w/workspace/gexfoundry_device-rest-go_PR-404@tmp/private_key_13857841091462078130.key) [2024-08-06T20:11:13.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-06T20:11:14.182Z] + git semver init [2024-08-06T20:11:14.441Z] 2024-08-06 20:11:14,376 [run_init] DEBUG init version:0.0.0 force:False [2024-08-06T20:11:14.441Z] 2024-08-06 20:11:14,377 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-404/.semver [2024-08-06T20:11:14.441Z] 2024-08-06 20:11:14,377 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-404/.semver [2024-08-06T20:11:14.441Z] 2024-08-06 20:11:14,377 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-404/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-404, universal_newlines=False, shell=None, istream=None) [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,795 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-404/.git/info/exclude [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,796 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-404/.semver/PR-404 with force:False [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,796 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-404/.semver/PR-404 [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,802 [execute] INFO git cat-file --batch-check [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-404/.semver, universal_newlines=False, shell=None, istream=) [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,808 [execute] INFO git cat-file --batch [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-404/.semver, universal_newlines=False, shell=None, istream=) [2024-08-06T20:11:15.825Z] 2024-08-06 20:11:15,813 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-404/.semver/PR-404 [2024-08-06T20:11:15.825Z] 0.0.0 [Pipeline] } [2024-08-06T20:11:16.100Z] $ docker exec --env ******** --env ******** 20615dff54db1b3fb44b576ed9e520c3787d6ad3d2b9e9c7ea2260d9ec3e1ed7 ssh-agent -k [2024-08-06T20:11:16.192Z] unset SSH_AUTH_SOCK; [2024-08-06T20:11:16.192Z] unset SSH_AGENT_PID; [2024-08-06T20:11:16.192Z] echo Agent pid 77 killed; [2024-08-06T20:11:16.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-06T20:11:16.666Z] + git semver [Pipeline] } [2024-08-06T20:11:16.955Z] $ docker stop --time=1 20615dff54db1b3fb44b576ed9e520c3787d6ad3d2b9e9c7ea2260d9ec3e1ed7 [2024-08-06T20:11:18.226Z] $ docker rm -f --volumes 20615dff54db1b3fb44b576ed9e520c3787d6ad3d2b9e9c7ea2260d9ec3e1ed7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-06T20:11:18.651Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-06T20:11:18.943Z] Stashed 1 file(s) [Pipeline] echo [2024-08-06T20:11:18.968Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-06T20:11:19.703Z] provisioning config files... [2024-08-06T20:11:19.713Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp/config14220695542412362147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:11:20.084Z] ---> ****-login.sh [2024-08-06T20:11:20.084Z] nexus3.edgexfoundry.org:10001 [2024-08-06T20:11:20.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:20.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:20.084Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:20.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:20.084Z] [2024-08-06T20:11:20.084Z] Login Succeeded [2024-08-06T20:11:20.084Z] nexus3.edgexfoundry.org:10002 [2024-08-06T20:11:20.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:20.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:20.084Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:20.085Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:20.085Z] [2024-08-06T20:11:20.085Z] Login Succeeded [2024-08-06T20:11:20.085Z] nexus3.edgexfoundry.org:10003 [2024-08-06T20:11:20.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:20.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:20.345Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:20.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:20.345Z] [2024-08-06T20:11:20.345Z] Login Succeeded [2024-08-06T20:11:20.345Z] nexus3.edgexfoundry.org:10004 [2024-08-06T20:11:20.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:20.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:20.345Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:20.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:20.345Z] [2024-08-06T20:11:20.345Z] Login Succeeded [2024-08-06T20:11:20.345Z] ****.io [2024-08-06T20:11:20.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:11:20.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:11:20.606Z] Configure a credential helper to remove this warning. See [2024-08-06T20:11:20.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:11:20.606Z] [2024-08-06T20:11:20.606Z] Login Succeeded [2024-08-06T20:11:20.606Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T20:11:20.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-06T20:11:20.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T20:11:20.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T20:11:20.964Z] ========================================================= [2024-08-06T20:11:20.965Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-06T20:11:20.965Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:11:21.532Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-06T20:11:21.532Z] Sending build context to Docker daemon 16.56MB [2024-08-06T20:11:21.532Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T20:11:21.532Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-06T20:11:21.532Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-06T20:11:21.532Z] 619be1103602: Pulling fs layer [2024-08-06T20:11:21.532Z] 7862e08f4a3e: Pulling fs layer [2024-08-06T20:11:21.532Z] 5df492c9dc93: Pulling fs layer [2024-08-06T20:11:21.532Z] 7629e6793208: Pulling fs layer [2024-08-06T20:11:21.532Z] 4f4fb700ef54: Pulling fs layer [2024-08-06T20:11:21.532Z] 7629e6793208: Waiting [2024-08-06T20:11:21.532Z] fb5054dd5b73: Pulling fs layer [2024-08-06T20:11:21.532Z] eeca6798cff9: Pulling fs layer [2024-08-06T20:11:21.532Z] aa269ceb94a6: Pulling fs layer [2024-08-06T20:11:21.532Z] ada007ff1a6a: Pulling fs layer [2024-08-06T20:11:21.532Z] 4f4fb700ef54: Waiting [2024-08-06T20:11:21.532Z] fb5054dd5b73: Waiting [2024-08-06T20:11:21.532Z] eeca6798cff9: Waiting [2024-08-06T20:11:21.532Z] aa269ceb94a6: Waiting [2024-08-06T20:11:21.532Z] ada007ff1a6a: Waiting [2024-08-06T20:11:21.532Z] 7862e08f4a3e: Verifying Checksum [2024-08-06T20:11:21.532Z] 7862e08f4a3e: Download complete [2024-08-06T20:11:21.791Z] 7629e6793208: Verifying Checksum [2024-08-06T20:11:21.791Z] 7629e6793208: Download complete [2024-08-06T20:11:21.791Z] 4f4fb700ef54: Download complete [2024-08-06T20:11:21.791Z] fb5054dd5b73: Verifying Checksum [2024-08-06T20:11:21.791Z] fb5054dd5b73: Download complete [2024-08-06T20:11:21.791Z] 619be1103602: Verifying Checksum [2024-08-06T20:11:21.791Z] 619be1103602: Download complete [2024-08-06T20:11:21.791Z] eeca6798cff9: Verifying Checksum [2024-08-06T20:11:21.791Z] 619be1103602: Pull complete [2024-08-06T20:11:22.061Z] ada007ff1a6a: Verifying Checksum [2024-08-06T20:11:22.061Z] ada007ff1a6a: Download complete [2024-08-06T20:11:22.061Z] 7862e08f4a3e: Pull complete [2024-08-06T20:11:22.061Z] 5df492c9dc93: Download complete [2024-08-06T20:11:22.355Z] aa269ceb94a6: Verifying Checksum [2024-08-06T20:11:22.355Z] aa269ceb94a6: Download complete [2024-08-06T20:11:25.644Z] 5df492c9dc93: Pull complete [2024-08-06T20:11:25.644Z] 7629e6793208: Pull complete [2024-08-06T20:11:25.644Z] 4f4fb700ef54: Pull complete [2024-08-06T20:11:25.644Z] fb5054dd5b73: Pull complete [2024-08-06T20:11:25.644Z] eeca6798cff9: Pull complete [2024-08-06T20:11:28.185Z] aa269ceb94a6: Pull complete [2024-08-06T20:11:28.752Z] ada007ff1a6a: Pull complete [2024-08-06T20:11:28.752Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-06T20:11:28.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-06T20:11:28.752Z] ---> f489d0715acc [2024-08-06T20:11:28.752Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-06T20:11:34.267Z] ---> Running in 38ab4f245028 [2024-08-06T20:11:34.267Z] Removing intermediate container 38ab4f245028 [2024-08-06T20:11:34.268Z] ---> 05a03a42faa4 [2024-08-06T20:11:34.268Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T20:11:34.268Z] ---> Running in d0b40b9ffb5d [2024-08-06T20:11:34.268Z] Removing intermediate container d0b40b9ffb5d [2024-08-06T20:11:34.268Z] ---> 151ffe0627dd [2024-08-06T20:11:34.268Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T20:11:34.268Z] ---> Running in 06270dc34d28 [2024-08-06T20:11:34.268Z] Removing intermediate container 06270dc34d28 [2024-08-06T20:11:34.268Z] ---> 96e6ba42de0e [2024-08-06T20:11:34.268Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T20:11:34.268Z] ---> Running in b0f4bdb191d6 [2024-08-06T20:11:34.268Z] Removing intermediate container b0f4bdb191d6 [2024-08-06T20:11:34.268Z] ---> 1f9beb6ba591 [2024-08-06T20:11:34.268Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T20:11:34.268Z] ---> Running in 63de80d57422 [2024-08-06T20:11:34.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T20:11:34.492Z] Still waiting to schedule task [2024-08-06T20:11:34.492Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-08-06T20:11:34.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T20:11:34.788Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-06T20:11:34.788Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-06T20:11:34.788Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-06T20:11:34.788Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-06T20:11:34.788Z] Executing busybox-1.36.1-r5.trigger [2024-08-06T20:11:34.788Z] OK: 268 MiB in 56 packages [2024-08-06T20:11:35.356Z] Removing intermediate container 63de80d57422 [2024-08-06T20:11:35.356Z] ---> 8bcc6df1d186 [2024-08-06T20:11:35.356Z] Step 8/12 : WORKDIR /device-rest-go [2024-08-06T20:11:35.356Z] ---> Running in ee6b8a67cd62 [2024-08-06T20:11:35.356Z] Removing intermediate container ee6b8a67cd62 [2024-08-06T20:11:35.356Z] ---> 1765e87ea586 [2024-08-06T20:11:35.356Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-06T20:11:35.616Z] ---> 82fb9da1787f [2024-08-06T20:11:35.616Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T20:11:35.616Z] ---> Running in 5f3b2fa37c8d [2024-08-06T20:12:31.911Z] Removing intermediate container 5f3b2fa37c8d [2024-08-06T20:12:31.911Z] ---> 241714fb4c3f [2024-08-06T20:12:31.911Z] Step 11/12 : COPY . . [2024-08-06T20:12:32.481Z] ---> b81740ca4f71 [2024-08-06T20:12:32.481Z] Step 12/12 : RUN $MAKE [2024-08-06T20:12:32.481Z] ---> Running in 5d32419523cd [2024-08-06T20:12:32.739Z] noop [2024-08-06T20:12:33.002Z] Removing intermediate container 5d32419523cd [2024-08-06T20:12:33.002Z] ---> 03fad9419719 [2024-08-06T20:12:33.002Z] Successfully built 03fad9419719 [2024-08-06T20:12:33.002Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:12:33.501Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-06T20:12:33.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:12:33.686Z] prd-ubuntu20.04-docker-8c-8g-7213 does not seem to be running inside a container [2024-08-06T20:12:33.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-404 -v /w/workspace/gexfoundry_device-rest-go_PR-404:/w/workspace/gexfoundry_device-rest-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-404@tmp:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-06T20:12:34.033Z] $ docker top 968d62db29a4a8ab1eb692c9cfa5498daed4297f86cc3edb080398d5926c15fd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T20:12:34.446Z] + go version [2024-08-06T20:12:34.446Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-06T20:12:34.490Z] $ docker stop --time=1 968d62db29a4a8ab1eb692c9cfa5498daed4297f86cc3edb080398d5926c15fd [2024-08-06T20:12:35.757Z] $ docker rm -f --volumes 968d62db29a4a8ab1eb692c9cfa5498daed4297f86cc3edb080398d5926c15fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:12:36.532Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-06T20:12:36.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:12:36.708Z] prd-ubuntu20.04-docker-8c-8g-7213 does not seem to be running inside a container [2024-08-06T20:12:36.742Z] $ 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-404 -v /w/workspace/gexfoundry_device-rest-go_PR-404:/w/workspace/gexfoundry_device-rest-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-404@tmp:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-06T20:12:37.104Z] $ docker top c6bb14249d7afb0f0739ef110995d76a72305626c60ce57431861c7dc573554f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T20:12:37.528Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-404 [Pipeline] fileExists [Pipeline] sh [2024-08-06T20:12:38.019Z] + make test [2024-08-06T20:12:38.019Z] go test ./... -coverprofile=coverage.out ./... [2024-08-06T20:12:39.925Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-08-06T20:12:58.021Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-08-06T20:12:58.021Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2024-08-06T20:13:06.127Z] go vet ./... [2024-08-06T20:13:11.445Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-06T20:13:11.445Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-06T20:13:11.445Z] ./bin/test-attribution-txt.sh [2024-08-06T20:13:11.445Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-06T20:13:11.445Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-06T20:13:11.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-06T20:13:11.533Z] $ docker stop --time=1 c6bb14249d7afb0f0739ef110995d76a72305626c60ce57431861c7dc573554f [2024-08-06T20:13:16.583Z] $ docker rm -f --volumes c6bb14249d7afb0f0739ef110995d76a72305626c60ce57431861c7dc573554f [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-06T20:13:17.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-06T20:13:17.297Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-06T20:13:18.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-06T20:13:18.414Z] + ls -al . [2024-08-06T20:13:18.414Z] total 248 [2024-08-06T20:13:18.414Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 6 20:12 . [2024-08-06T20:13:18.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 20:10 .. [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 6 20:10 .dockerignore [2024-08-06T20:13:18.414Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 20:12 .git [2024-08-06T20:13:18.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 20:10 .github [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 6 20:10 .gitignore [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 6 20:10 .golangci.yml [2024-08-06T20:13:18.414Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 6 20:11 .semver [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 6 20:10 Attribution.txt [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 17685 Aug 6 20:10 CHANGELOG.md [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 1687 Aug 6 20:10 Dockerfile [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 6 20:10 GOVERNANCE.md [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 6 20:10 Jenkinsfile [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 6 20:10 LICENSE [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 2016 Aug 6 20:10 Makefile [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 6 20:10 OWNERS.md [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 3989 Aug 6 20:10 README.md [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 6 20:11 VERSION [2024-08-06T20:13:18.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 20:10 bin [2024-08-06T20:13:18.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 20:10 cmd [2024-08-06T20:13:18.414Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 6 20:12 coverage.out [2024-08-06T20:13:18.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 20:10 driver [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 7134 Aug 6 20:10 go.mod [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 6 20:10 go.sum [2024-08-06T20:13:18.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 20:10 openapi [2024-08-06T20:13:18.414Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 6 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:13:18.843Z] + 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=b913d0babda486750042a17b43fbe6c388ab846c --label arch=amd64 --label version=0.0.0 . [2024-08-06T20:13:18.843Z] Sending build context to Docker daemon 16.58MB [2024-08-06T20:13:18.843Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T20:13:18.843Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-06T20:13:18.843Z] ---> 03fad9419719 [2024-08-06T20:13:18.843Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-06T20:13:19.411Z] ---> Running in 39d808dec700 [2024-08-06T20:13:19.411Z] Removing intermediate container 39d808dec700 [2024-08-06T20:13:19.411Z] ---> 010cb77857bc [2024-08-06T20:13:19.411Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T20:13:19.411Z] ---> Running in ac1f0eaa93c0 [2024-08-06T20:13:19.411Z] Removing intermediate container ac1f0eaa93c0 [2024-08-06T20:13:19.411Z] ---> 519b64d24d33 [2024-08-06T20:13:19.411Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T20:13:19.411Z] ---> Running in cdadf043ec9f [2024-08-06T20:13:19.411Z] Removing intermediate container cdadf043ec9f [2024-08-06T20:13:19.411Z] ---> f00ddd0a24f7 [2024-08-06T20:13:19.411Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T20:13:19.411Z] ---> Running in b1f08f048067 [2024-08-06T20:13:19.670Z] Removing intermediate container b1f08f048067 [2024-08-06T20:13:19.670Z] ---> 1504890b48e3 [2024-08-06T20:13:19.670Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T20:13:19.670Z] ---> Running in a1b3cf2ba4e7 [2024-08-06T20:13:19.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T20:13:19.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T20:13:20.496Z] OK: 268 MiB in 56 packages [2024-08-06T20:13:20.496Z] Removing intermediate container a1b3cf2ba4e7 [2024-08-06T20:13:20.496Z] ---> f95c6326cc1b [2024-08-06T20:13:20.496Z] Step 8/26 : WORKDIR /device-rest-go [2024-08-06T20:13:20.754Z] ---> Running in 572bc2374586 [2024-08-06T20:13:20.754Z] Removing intermediate container 572bc2374586 [2024-08-06T20:13:20.754Z] ---> 2c5675245a94 [2024-08-06T20:13:20.754Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-06T20:13:20.754Z] ---> e5b9fd80f9f3 [2024-08-06T20:13:20.754Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T20:13:20.754Z] ---> Running in 5aed899931cb [2024-08-06T20:13:21.836Z] Removing intermediate container 5aed899931cb [2024-08-06T20:13:21.836Z] ---> f4aca05bebe7 [2024-08-06T20:13:21.836Z] Step 11/26 : COPY . . [2024-08-06T20:13:22.403Z] ---> 55d77cdba6c7 [2024-08-06T20:13:22.403Z] Step 12/26 : RUN $MAKE [2024-08-06T20:13:22.403Z] ---> Running in 484fe902f783 [2024-08-06T20:13:22.661Z] 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-08-06T20:14:01.575Z] Removing intermediate container 484fe902f783 [2024-08-06T20:14:01.575Z] ---> e11dc80e4f36 [2024-08-06T20:14:01.575Z] Step 13/26 : FROM alpine:3.18 [2024-08-06T20:14:01.575Z] 3.18: Pulling from library/alpine [2024-08-06T20:14:01.575Z] 930bdd4d222e: Pulling fs layer [2024-08-06T20:14:01.575Z] 930bdd4d222e: Verifying Checksum [2024-08-06T20:14:01.575Z] 930bdd4d222e: Download complete [2024-08-06T20:14:01.575Z] 930bdd4d222e: Pull complete [2024-08-06T20:14:01.575Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-06T20:14:01.575Z] Status: Downloaded newer image for alpine:3.18 [2024-08-06T20:14:01.575Z] ---> 18f865063206 [2024-08-06T20:14:01.575Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-06T20:14:01.575Z] ---> Running in 62c38ab63314 [2024-08-06T20:14:01.575Z] Removing intermediate container 62c38ab63314 [2024-08-06T20:14:01.575Z] ---> 4590a9a46fe6 [2024-08-06T20:14:01.575Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-08-06T20:14:01.575Z] ---> Running in 8a41264131b3 [2024-08-06T20:14:01.575Z] Removing intermediate container 8a41264131b3 [2024-08-06T20:14:01.575Z] ---> 52cffa8c8b89 [2024-08-06T20:14:01.575Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-08-06T20:14:01.575Z] ---> Running in dcb141de6457 [2024-08-06T20:14:01.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T20:14:01.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T20:14:01.575Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-06T20:14:01.575Z] Executing busybox-1.36.1-r7.trigger [2024-08-06T20:14:01.575Z] OK: 7 MiB in 16 packages [2024-08-06T20:14:01.575Z] Removing intermediate container dcb141de6457 [2024-08-06T20:14:01.575Z] ---> e8edf032b60a [2024-08-06T20:14:01.575Z] Step 17/26 : RUN apk --no-cache upgrade [2024-08-06T20:14:01.575Z] ---> Running in 0a7ec423b921 [2024-08-06T20:14:01.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T20:14:01.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T20:14:01.836Z] OK: 7 MiB in 16 packages [2024-08-06T20:14:02.098Z] Removing intermediate container 0a7ec423b921 [2024-08-06T20:14:02.098Z] ---> fdbcff384048 [2024-08-06T20:14:02.098Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-08-06T20:14:03.038Z] ---> 35f5ebd3c359 [2024-08-06T20:14:03.038Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-08-06T20:14:03.038Z] ---> a7bb39346816 [2024-08-06T20:14:03.038Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-08-06T20:14:03.298Z] ---> 12070d12cf88 [2024-08-06T20:14:03.298Z] Step 21/26 : EXPOSE 59986 [2024-08-06T20:14:03.298Z] ---> Running in a7e70a5477ed [2024-08-06T20:14:03.298Z] Removing intermediate container a7e70a5477ed [2024-08-06T20:14:03.298Z] ---> 584603a672e9 [2024-08-06T20:14:03.298Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-08-06T20:14:03.298Z] ---> Running in b6b93325ceff [2024-08-06T20:14:03.298Z] Removing intermediate container b6b93325ceff [2024-08-06T20:14:03.298Z] ---> 0b0b631a34c3 [2024-08-06T20:14:03.298Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-06T20:14:03.559Z] ---> Running in 91db352bc85b [2024-08-06T20:14:03.559Z] Removing intermediate container 91db352bc85b [2024-08-06T20:14:03.559Z] ---> 13fd85441d0c [2024-08-06T20:14:03.559Z] Step 24/26 : LABEL arch=amd64 [2024-08-06T20:14:03.559Z] ---> Running in a8710356dccc [2024-08-06T20:14:03.559Z] Removing intermediate container a8710356dccc [2024-08-06T20:14:03.559Z] ---> 83bf62693602 [2024-08-06T20:14:03.559Z] Step 25/26 : LABEL git_sha=b913d0babda486750042a17b43fbe6c388ab846c [2024-08-06T20:14:03.559Z] ---> Running in db076ab12f54 [2024-08-06T20:14:03.559Z] Removing intermediate container db076ab12f54 [2024-08-06T20:14:03.559Z] ---> 1c59d3a2c1d5 [2024-08-06T20:14:03.559Z] Step 26/26 : LABEL version=0.0.0 [2024-08-06T20:14:03.559Z] ---> Running in 0cbbd1e8b1a4 [2024-08-06T20:14:03.821Z] Removing intermediate container 0cbbd1e8b1a4 [2024-08-06T20:14:03.821Z] ---> 4e26cffeb38a [2024-08-06T20:14:03.821Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-06T20:14:03.821Z] Successfully built 4e26cffeb38a [2024-08-06T20:14:03.821Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:14:04.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T20:14:04.829Z] [2024-08-06T20:14:04.829Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:14:05.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T20:14:05.231Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-06T20:14:05.231Z] 5eb5b503b376: Pulling fs layer [2024-08-06T20:14:05.231Z] 5c69ac0246d0: Pulling fs layer [2024-08-06T20:14:05.231Z] ec43610c2a17: Pulling fs layer [2024-08-06T20:14:05.231Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-06T20:14:05.231Z] 3a2ae6a8a46f: Waiting [2024-08-06T20:14:05.231Z] 33b1e0a273af: Pulling fs layer [2024-08-06T20:14:05.231Z] 5d3b04190fa2: Pulling fs layer [2024-08-06T20:14:05.231Z] 2f39f015ded8: Pulling fs layer [2024-08-06T20:14:05.231Z] 5d3b04190fa2: Waiting [2024-08-06T20:14:05.231Z] 33b1e0a273af: Waiting [2024-08-06T20:14:05.231Z] 5c69ac0246d0: Download complete [2024-08-06T20:14:05.231Z] 3a2ae6a8a46f: Download complete [2024-08-06T20:14:05.231Z] 33b1e0a273af: Verifying Checksum [2024-08-06T20:14:05.231Z] 33b1e0a273af: Download complete [2024-08-06T20:14:05.231Z] ec43610c2a17: Verifying Checksum [2024-08-06T20:14:05.231Z] ec43610c2a17: Download complete [2024-08-06T20:14:05.231Z] 5d3b04190fa2: Verifying Checksum [2024-08-06T20:14:05.231Z] 5d3b04190fa2: Download complete [2024-08-06T20:14:05.489Z] 5eb5b503b376: Verifying Checksum [2024-08-06T20:14:05.489Z] 5eb5b503b376: Download complete [2024-08-06T20:14:06.053Z] 2f39f015ded8: Download complete [2024-08-06T20:14:06.618Z] 5eb5b503b376: Pull complete [2024-08-06T20:14:06.618Z] 5c69ac0246d0: Pull complete [2024-08-06T20:14:07.184Z] ec43610c2a17: Pull complete [2024-08-06T20:14:07.184Z] 3a2ae6a8a46f: Pull complete [2024-08-06T20:14:07.442Z] 33b1e0a273af: Pull complete [2024-08-06T20:14:07.442Z] 5d3b04190fa2: Pull complete [2024-08-06T20:14:11.618Z] 2f39f015ded8: Pull complete [2024-08-06T20:14:11.618Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-06T20:14:11.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T20:14:11.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:14:11.872Z] prd-ubuntu20.04-docker-8c-8g-7213 does not seem to be running inside a container [2024-08-06T20:14:11.898Z] $ 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-404 -v /w/workspace/gexfoundry_device-rest-go_PR-404:/w/workspace/gexfoundry_device-rest-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-404@tmp:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-06T20:14:18.727Z] $ docker top 84935f5349f1ee3fb31c0b4f08c91f79896f8594438efd08ea2c8aa6fdfa4ed0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:14:19.213Z] ---> job-cost.sh [2024-08-06T20:14:19.213Z] lf-activate-venv: SKIPPING [2024-08-06T20:14:19.213Z] INFO: No Stack... [2024-08-06T20:14:19.472Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-06T20:14:20.040Z] INFO: Archiving Costs [Pipeline] sh [2024-08-06T20:14:20.359Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-404/archives/cost.csv [2024-08-06T20:14:20.359Z] + cut -d, -f6 [Pipeline] lock [2024-08-06T20:14:20.409Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] [2024-08-06T20:14:20.416Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] did not exist. Created. [2024-08-06T20:14:20.422Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-06T20:14:20.840Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-06T20:14:20.897Z] Stashed 1 file(s) [Pipeline] } [2024-08-06T20:14:20.938Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-06T20:14:21.029Z] $ docker stop --time=1 84935f5349f1ee3fb31c0b4f08c91f79896f8594438efd08ea2c8aa6fdfa4ed0 [2024-08-06T20:14:22.178Z] $ docker rm -f --volumes 84935f5349f1ee3fb31c0b4f08c91f79896f8594438efd08ea2c8aa6fdfa4ed0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-06T20:15:57.827Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7214 in /w/workspace/gexfoundry_device-rest-go_PR-404 [Pipeline] { [Pipeline] ws [2024-08-06T20:15:57.905Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-08-06T20:16:01.019Z] The recommended git tool is: git [2024-08-06T20:16:06.432Z] using credential edgex-jenkins-ssh [2024-08-06T20:16:06.456Z] Cloning the remote Git repository [2024-08-06T20:16:06.511Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-08-06T20:16:06.628Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-08-06T20:16:06.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-08-06T20:16:06.804Z] > git --version # timeout=10 [2024-08-06T20:16:06.832Z] > git --version # 'git version 2.25.1' [2024-08-06T20:16:06.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-06T20:16:07.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-06T20:16:09.857Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-08-06T20:16:09.884Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-06T20:16:10.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-08-06T20:16:10.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-08-06T20:16:10.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-06T20:16:11.005Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-06T20:16:11.541Z] Merging remotes/origin/main commit 6d0ab58f28452a8136c6dc245895717e20b3b293 into PR head commit b913d0babda486750042a17b43fbe6c388ab846c [2024-08-06T20:16:11.891Z] Merge succeeded, producing b913d0babda486750042a17b43fbe6c388ab846c [2024-08-06T20:16:11.892Z] Checking out Revision b913d0babda486750042a17b43fbe6c388ab846c (PR-404) [2024-08-06T20:16:12.465Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0" [2024-08-06T20:16:12.508Z] > git --version # timeout=10 [2024-08-06T20:16:12.522Z] > git --version # 'git version 2.25.1' [2024-08-06T20:16:12.539Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-06T20:16:11.560Z] > git config core.sparsecheckout # timeout=10 [2024-08-06T20:16:11.648Z] > git checkout -f b913d0babda486750042a17b43fbe6c388ab846c # timeout=10 [2024-08-06T20:16:11.760Z] > git remote # timeout=10 [2024-08-06T20:16:11.783Z] > git config --get remote.origin.url # timeout=10 [2024-08-06T20:16:11.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-06T20:16:11.835Z] > git merge 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 [2024-08-06T20:16:11.867Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-06T20:16:11.895Z] > git config core.sparsecheckout # timeout=10 [2024-08-06T20:16:11.912Z] > git checkout -f b913d0babda486750042a17b43fbe6c388ab846c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-06T20:16:17.747Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-06T20:16:17.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-06T20:16:17.747Z] Dload Upload Total Spent Left Speed [2024-08-06T20:16:17.747Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-08-06T20:16:18.103Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-06T20:16:18.466Z] + sudo tee /etc/docker/daemon.new [2024-08-06T20:16:18.466Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-06T20:16:18.466Z] { [2024-08-06T20:16:18.466Z] "registry-mirrors": [ [2024-08-06T20:16:18.466Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-06T20:16:18.466Z] ], [2024-08-06T20:16:18.466Z] "bip": "10.250.0.254/24", [2024-08-06T20:16:18.466Z] "hosts": [ [2024-08-06T20:16:18.466Z] "tcp://0.0.0.0:5555", [2024-08-06T20:16:18.466Z] "unix:///var/run/docker.sock" [2024-08-06T20:16:18.466Z] ], [2024-08-06T20:16:18.466Z] "mtu": 1458, [2024-08-06T20:16:18.466Z] "selinux-enabled": true, [2024-08-06T20:16:18.466Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-06T20:16:18.466Z] } [Pipeline] sh [2024-08-06T20:16:18.830Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-06T20:16:19.188Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-06T20:16:37.556Z] provisioning config files... [2024-08-06T20:16:37.597Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16500454207580012220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:16:38.147Z] ---> ****-login.sh [2024-08-06T20:16:38.148Z] nexus3.edgexfoundry.org:10001 [2024-08-06T20:16:38.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:16:39.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:16:39.011Z] Configure a credential helper to remove this warning. See [2024-08-06T20:16:39.011Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:16:39.011Z] [2024-08-06T20:16:39.011Z] Login Succeeded [2024-08-06T20:16:39.011Z] nexus3.edgexfoundry.org:10002 [2024-08-06T20:16:39.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:16:39.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:16:39.283Z] Configure a credential helper to remove this warning. See [2024-08-06T20:16:39.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:16:39.283Z] [2024-08-06T20:16:39.283Z] Login Succeeded [2024-08-06T20:16:39.283Z] nexus3.edgexfoundry.org:10003 [2024-08-06T20:16:39.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:16:39.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:16:39.831Z] Configure a credential helper to remove this warning. See [2024-08-06T20:16:39.831Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:16:39.831Z] [2024-08-06T20:16:39.831Z] Login Succeeded [2024-08-06T20:16:39.831Z] nexus3.edgexfoundry.org:10004 [2024-08-06T20:16:40.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:16:40.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:16:40.105Z] Configure a credential helper to remove this warning. See [2024-08-06T20:16:40.105Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:16:40.105Z] [2024-08-06T20:16:40.105Z] Login Succeeded [2024-08-06T20:16:40.105Z] ****.io [2024-08-06T20:16:40.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T20:16:40.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T20:16:40.647Z] Configure a credential helper to remove this warning. See [2024-08-06T20:16:40.647Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T20:16:40.647Z] [2024-08-06T20:16:40.647Z] Login Succeeded [2024-08-06T20:16:40.647Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T20:16:40.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-06T20:16:41.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T20:16:41.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T20:16:41.305Z] ========================================================= [2024-08-06T20:16:41.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-06T20:16:41.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:16:41.854Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-06T20:16:41.855Z] Sending build context to Docker daemon 130.6kB [2024-08-06T20:16:42.125Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T20:16:42.125Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-06T20:16:42.400Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-06T20:16:42.400Z] c6b39de5b339: Pulling fs layer [2024-08-06T20:16:42.400Z] a69c41024577: Pulling fs layer [2024-08-06T20:16:42.400Z] d6de4b400683: Pulling fs layer [2024-08-06T20:16:42.400Z] 35cb2a7552d0: Pulling fs layer [2024-08-06T20:16:42.400Z] 4f4fb700ef54: Pulling fs layer [2024-08-06T20:16:42.400Z] 464afbd9ba4c: Pulling fs layer [2024-08-06T20:16:42.400Z] 00f215d4a9da: Pulling fs layer [2024-08-06T20:16:42.400Z] d496ad576159: Pulling fs layer [2024-08-06T20:16:42.400Z] 35cb2a7552d0: Waiting [2024-08-06T20:16:42.400Z] 4f4fb700ef54: Waiting [2024-08-06T20:16:42.400Z] 464afbd9ba4c: Waiting [2024-08-06T20:16:42.400Z] 00f215d4a9da: Waiting [2024-08-06T20:16:42.400Z] d496ad576159: Waiting [2024-08-06T20:16:42.400Z] a69c41024577: Verifying Checksum [2024-08-06T20:16:42.400Z] a69c41024577: Download complete [2024-08-06T20:16:42.400Z] 35cb2a7552d0: Verifying Checksum [2024-08-06T20:16:42.400Z] 35cb2a7552d0: Download complete [2024-08-06T20:16:42.400Z] 4f4fb700ef54: Verifying Checksum [2024-08-06T20:16:42.400Z] 4f4fb700ef54: Download complete [2024-08-06T20:16:42.400Z] 464afbd9ba4c: Verifying Checksum [2024-08-06T20:16:42.400Z] 464afbd9ba4c: Download complete [2024-08-06T20:16:42.400Z] c6b39de5b339: Verifying Checksum [2024-08-06T20:16:42.991Z] d496ad576159: Verifying Checksum [2024-08-06T20:16:42.991Z] d496ad576159: Download complete [2024-08-06T20:16:43.582Z] c6b39de5b339: Pull complete [2024-08-06T20:16:44.171Z] a69c41024577: Pull complete [2024-08-06T20:16:44.444Z] d6de4b400683: Verifying Checksum [2024-08-06T20:16:44.444Z] d6de4b400683: Download complete [2024-08-06T20:16:45.417Z] 00f215d4a9da: Verifying Checksum [2024-08-06T20:16:45.417Z] 00f215d4a9da: Download complete [2024-08-06T20:16:57.759Z] d6de4b400683: Pull complete [2024-08-06T20:16:58.029Z] 35cb2a7552d0: Pull complete [2024-08-06T20:16:58.298Z] 4f4fb700ef54: Pull complete [2024-08-06T20:16:58.568Z] 464afbd9ba4c: Pull complete [2024-08-06T20:17:08.676Z] 00f215d4a9da: Pull complete [2024-08-06T20:17:09.266Z] d496ad576159: Pull complete [2024-08-06T20:17:09.266Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-06T20:17:09.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-06T20:17:09.537Z] ---> f246e2811388 [2024-08-06T20:17:09.537Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-06T20:17:10.526Z] ---> Running in 44d60cc572ca [2024-08-06T20:17:10.797Z] Removing intermediate container 44d60cc572ca [2024-08-06T20:17:10.797Z] ---> 1cc91d4eb2f3 [2024-08-06T20:17:10.797Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T20:17:10.797Z] ---> Running in c2ae801aa60d [2024-08-06T20:17:11.069Z] Removing intermediate container c2ae801aa60d [2024-08-06T20:17:11.069Z] ---> 7496975c2f71 [2024-08-06T20:17:11.069Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T20:17:11.339Z] ---> Running in 2fa7d7009ce6 [2024-08-06T20:17:11.608Z] Removing intermediate container 2fa7d7009ce6 [2024-08-06T20:17:11.608Z] ---> 1934cc8539d2 [2024-08-06T20:17:11.608Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T20:17:11.608Z] ---> Running in 4b4a295dacbb [2024-08-06T20:17:12.195Z] Removing intermediate container 4b4a295dacbb [2024-08-06T20:17:12.195Z] ---> 7cc034ea083f [2024-08-06T20:17:12.195Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T20:17:12.195Z] ---> Running in 61277dfb79b2 [2024-08-06T20:17:13.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T20:17:13.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T20:17:14.866Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-06T20:17:14.866Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-06T20:17:14.866Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-06T20:17:15.136Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-06T20:17:15.136Z] Executing busybox-1.36.1-r5.trigger [2024-08-06T20:17:15.136Z] OK: 271 MiB in 56 packages [2024-08-06T20:17:16.558Z] Removing intermediate container 61277dfb79b2 [2024-08-06T20:17:16.558Z] ---> 74cb143bf0cf [2024-08-06T20:17:16.558Z] Step 8/12 : WORKDIR /device-rest-go [2024-08-06T20:17:16.558Z] ---> Running in 3c95ed0792a0 [2024-08-06T20:17:16.831Z] Removing intermediate container 3c95ed0792a0 [2024-08-06T20:17:16.831Z] ---> 1e8f1c469506 [2024-08-06T20:17:16.831Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-06T20:17:17.420Z] ---> a1e831962b0f [2024-08-06T20:17:17.420Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T20:17:17.420Z] ---> Running in 3c74bfd4d72b [2024-08-06T20:19:24.173Z] Removing intermediate container 3c74bfd4d72b [2024-08-06T20:19:24.173Z] ---> 3484e8ef38a4 [2024-08-06T20:19:24.173Z] Step 11/12 : COPY . . [2024-08-06T20:19:24.173Z] ---> 124e96806052 [2024-08-06T20:19:24.173Z] Step 12/12 : RUN $MAKE [2024-08-06T20:19:24.173Z] ---> Running in b7872d4c8730 [2024-08-06T20:19:24.173Z] noop [2024-08-06T20:19:24.173Z] Removing intermediate container b7872d4c8730 [2024-08-06T20:19:24.173Z] ---> 8684591e63f8 [2024-08-06T20:19:24.173Z] Successfully built 8684591e63f8 [2024-08-06T20:19:24.173Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:19:24.692Z] + docker inspect -f . ci-base-image-arm64 [2024-08-06T20:19:24.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:19:24.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-7214 does not seem to be running inside a container [2024-08-06T20:19:25.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-06T20:19:26.208Z] $ docker top 9156a08493cc24f5e988fe9054aee2417a51704e74ffb4ca8b157f27a00a9183 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T20:19:27.101Z] + go version [2024-08-06T20:19:27.101Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-06T20:19:27.139Z] $ docker stop --time=1 9156a08493cc24f5e988fe9054aee2417a51704e74ffb4ca8b157f27a00a9183 [2024-08-06T20:19:28.767Z] $ docker rm -f --volumes 9156a08493cc24f5e988fe9054aee2417a51704e74ffb4ca8b157f27a00a9183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:19:29.700Z] + docker inspect -f . ci-base-image-arm64 [2024-08-06T20:19:29.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:19:29.970Z] prd-ubuntu20.04-docker-arm64-4c-16g-7214 does not seem to be running inside a container [2024-08-06T20:19:30.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-06T20:19:31.231Z] $ docker top 82b065c6685b9391dfac0df7657a6660cde49afaefdba249288ad974bff0a145 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T20:19:32.125Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-06T20:19:32.632Z] + make test [2024-08-06T20:19:32.903Z] go test ./... -coverprofile=coverage.out ./... [2024-08-06T20:19:39.582Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-08-06T20:24:01.752Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-08-06T20:24:01.752Z] ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements [2024-08-06T20:24:01.752Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-06T20:24:01.752Z] go vet ./... [2024-08-06T20:24:48.641Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-06T20:24:48.641Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-06T20:24:48.641Z] ./bin/test-attribution-txt.sh [2024-08-06T20:24:48.641Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.641Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-06T20:24:48.642Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-06T20:24:48.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-06T20:24:48.739Z] $ docker stop --time=1 82b065c6685b9391dfac0df7657a6660cde49afaefdba249288ad974bff0a145 [2024-08-06T20:24:51.079Z] $ docker rm -f --volumes 82b065c6685b9391dfac0df7657a6660cde49afaefdba249288ad974bff0a145 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-06T20:24:52.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-06T20:24:53.007Z] Warning: overwriting stash ‘coverage-report’ [2024-08-06T20:24:53.543Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-06T20:24:54.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-06T20:24:54.556Z] + ls -al . [2024-08-06T20:24:54.556Z] total 244 [2024-08-06T20:24:54.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 20:19 . [2024-08-06T20:24:54.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 20:16 .. [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 6 20:16 .dockerignore [2024-08-06T20:24:54.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 20:16 .git [2024-08-06T20:24:54.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 20:16 .github [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 6 20:16 .gitignore [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 6 20:16 .golangci.yml [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 6 20:16 Attribution.txt [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 17685 Aug 6 20:16 CHANGELOG.md [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 1687 Aug 6 20:16 Dockerfile [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 6 20:16 GOVERNANCE.md [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 6 20:16 Jenkinsfile [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 6 20:16 LICENSE [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 2016 Aug 6 20:16 Makefile [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 6 20:16 OWNERS.md [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 3989 Aug 6 20:16 README.md [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 6 20:11 VERSION [2024-08-06T20:24:54.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 20:16 bin [2024-08-06T20:24:54.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 20:16 cmd [2024-08-06T20:24:54.556Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 6 20:23 coverage.out [2024-08-06T20:24:54.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 20:16 driver [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 7134 Aug 6 20:16 go.mod [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 6 20:16 go.sum [2024-08-06T20:24:54.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 20:16 openapi [2024-08-06T20:24:54.556Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 6 20:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:24:55.026Z] + 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=b913d0babda486750042a17b43fbe6c388ab846c --label arch=arm64 --label version=0.0.0 . [2024-08-06T20:24:55.026Z] Sending build context to Docker daemon 145.9kB [2024-08-06T20:24:55.297Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T20:24:55.297Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-06T20:24:55.297Z] ---> 8684591e63f8 [2024-08-06T20:24:55.297Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-06T20:24:55.297Z] ---> Running in 36e2c792c8be [2024-08-06T20:24:55.883Z] Removing intermediate container 36e2c792c8be [2024-08-06T20:24:55.883Z] ---> bce701492e6b [2024-08-06T20:24:55.883Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T20:24:55.883Z] ---> Running in f76bb1bfe992 [2024-08-06T20:24:56.152Z] Removing intermediate container f76bb1bfe992 [2024-08-06T20:24:56.152Z] ---> 6be368bc9b1a [2024-08-06T20:24:56.152Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T20:24:56.152Z] ---> Running in c97224af4398 [2024-08-06T20:24:56.428Z] Removing intermediate container c97224af4398 [2024-08-06T20:24:56.428Z] ---> 71cd2f526d1f [2024-08-06T20:24:56.428Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T20:24:56.698Z] ---> Running in bc6494069581 [2024-08-06T20:24:56.970Z] Removing intermediate container bc6494069581 [2024-08-06T20:24:56.970Z] ---> a31a61933bc3 [2024-08-06T20:24:56.970Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T20:24:56.970Z] ---> Running in 17378cce8102 [2024-08-06T20:24:58.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T20:24:58.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T20:25:00.073Z] OK: 271 MiB in 56 packages [2024-08-06T20:25:00.653Z] Removing intermediate container 17378cce8102 [2024-08-06T20:25:00.653Z] ---> ce9518a13bce [2024-08-06T20:25:00.653Z] Step 8/26 : WORKDIR /device-rest-go [2024-08-06T20:25:00.921Z] ---> Running in 6cf448d05374 [2024-08-06T20:25:01.193Z] Removing intermediate container 6cf448d05374 [2024-08-06T20:25:01.194Z] ---> 43863fc50922 [2024-08-06T20:25:01.194Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-06T20:25:02.612Z] ---> 45e9204f7eaa [2024-08-06T20:25:02.612Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T20:25:02.612Z] ---> Running in e481fb620357 [2024-08-06T20:25:05.201Z] Removing intermediate container e481fb620357 [2024-08-06T20:25:05.201Z] ---> 7175ade002c8 [2024-08-06T20:25:05.201Z] Step 11/26 : COPY . . [2024-08-06T20:25:05.469Z] ---> 881557f6c24e [2024-08-06T20:25:05.469Z] Step 12/26 : RUN $MAKE [2024-08-06T20:25:05.469Z] ---> Running in 4c1b3b8564fd [2024-08-06T20:25:06.901Z] 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-08-06T20:28:58.710Z] Removing intermediate container 4c1b3b8564fd [2024-08-06T20:28:58.710Z] ---> b5bae190b21c [2024-08-06T20:28:58.710Z] Step 13/26 : FROM alpine:3.18 [2024-08-06T20:28:58.710Z] 3.18: Pulling from library/alpine [2024-08-06T20:28:58.710Z] 4983c3fe2029: Pulling fs layer [2024-08-06T20:28:58.710Z] 4983c3fe2029: Verifying Checksum [2024-08-06T20:28:58.710Z] 4983c3fe2029: Download complete [2024-08-06T20:28:58.710Z] 4983c3fe2029: Pull complete [2024-08-06T20:28:58.710Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-06T20:28:58.710Z] Status: Downloaded newer image for alpine:3.18 [2024-08-06T20:28:58.710Z] ---> a0237000ae83 [2024-08-06T20:28:58.710Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-06T20:28:58.710Z] ---> Running in 9477d839049a [2024-08-06T20:28:58.710Z] Removing intermediate container 9477d839049a [2024-08-06T20:28:58.710Z] ---> 0c89c95d3a16 [2024-08-06T20:28:58.710Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-08-06T20:28:58.710Z] ---> Running in bee653362ff6 [2024-08-06T20:28:58.710Z] Removing intermediate container bee653362ff6 [2024-08-06T20:28:58.710Z] ---> 1bc7652e9755 [2024-08-06T20:28:58.710Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-08-06T20:28:58.710Z] ---> Running in 3a2b12513f76 [2024-08-06T20:28:58.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T20:28:58.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T20:28:58.710Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-06T20:28:58.710Z] Executing busybox-1.36.1-r7.trigger [2024-08-06T20:28:58.710Z] OK: 8 MiB in 16 packages [2024-08-06T20:28:58.979Z] Removing intermediate container 3a2b12513f76 [2024-08-06T20:28:58.979Z] ---> 8c7757ab427b [2024-08-06T20:28:58.979Z] Step 17/26 : RUN apk --no-cache upgrade [2024-08-06T20:28:58.979Z] ---> Running in 43da87789be8 [2024-08-06T20:29:00.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T20:29:00.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T20:29:01.624Z] OK: 8 MiB in 16 packages [2024-08-06T20:29:02.586Z] Removing intermediate container 43da87789be8 [2024-08-06T20:29:02.586Z] ---> 8fb4842cf4c8 [2024-08-06T20:29:02.586Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-08-06T20:29:04.544Z] ---> 694390e8d373 [2024-08-06T20:29:04.544Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-08-06T20:29:05.127Z] ---> b815d87297a8 [2024-08-06T20:29:05.127Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-08-06T20:29:05.711Z] ---> 2b148456fa2e [2024-08-06T20:29:05.712Z] Step 21/26 : EXPOSE 59986 [2024-08-06T20:29:05.712Z] ---> Running in 686860f300ae [2024-08-06T20:29:06.294Z] Removing intermediate container 686860f300ae [2024-08-06T20:29:06.294Z] ---> 0f90ad55cee6 [2024-08-06T20:29:06.294Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-08-06T20:29:06.294Z] ---> Running in e76a059415fb [2024-08-06T20:29:06.562Z] Removing intermediate container e76a059415fb [2024-08-06T20:29:06.562Z] ---> 88e674a95a82 [2024-08-06T20:29:06.562Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-06T20:29:06.562Z] ---> Running in 79d480539be6 [2024-08-06T20:29:07.152Z] Removing intermediate container 79d480539be6 [2024-08-06T20:29:07.152Z] ---> 12e291b1b178 [2024-08-06T20:29:07.152Z] Step 24/26 : LABEL arch=arm64 [2024-08-06T20:29:07.152Z] ---> Running in 9d96e07148f7 [2024-08-06T20:29:07.420Z] Removing intermediate container 9d96e07148f7 [2024-08-06T20:29:07.420Z] ---> ad656cd975a8 [2024-08-06T20:29:07.420Z] Step 25/26 : LABEL git_sha=b913d0babda486750042a17b43fbe6c388ab846c [2024-08-06T20:29:07.420Z] ---> Running in 69a83bdc0a48 [2024-08-06T20:29:07.689Z] Removing intermediate container 69a83bdc0a48 [2024-08-06T20:29:07.689Z] ---> 77018fd762f2 [2024-08-06T20:29:07.689Z] Step 26/26 : LABEL version=0.0.0 [2024-08-06T20:29:07.957Z] ---> Running in d9c9d330a409 [2024-08-06T20:29:08.226Z] Removing intermediate container d9c9d330a409 [2024-08-06T20:29:08.226Z] ---> 3da1065bb9eb [2024-08-06T20:29:08.226Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-06T20:29:08.226Z] Successfully built 3da1065bb9eb [2024-08-06T20:29:08.226Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:29:09.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-06T20:29:09.202Z] [2024-08-06T20:29:09.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:29:09.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-06T20:29:09.912Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-06T20:29:09.912Z] 8998bd30e6a1: Pulling fs layer [2024-08-06T20:29:09.912Z] 04944245beec: Pulling fs layer [2024-08-06T20:29:09.912Z] 699f458cf7ca: Pulling fs layer [2024-08-06T20:29:09.912Z] 765212b225bb: Pulling fs layer [2024-08-06T20:29:09.912Z] f23df028b6ca: Pulling fs layer [2024-08-06T20:29:09.912Z] d65c8cfc05b1: Pulling fs layer [2024-08-06T20:29:09.912Z] 2437ff75d9bd: Pulling fs layer [2024-08-06T20:29:09.912Z] f23df028b6ca: Waiting [2024-08-06T20:29:09.912Z] d65c8cfc05b1: Waiting [2024-08-06T20:29:09.912Z] 2437ff75d9bd: Waiting [2024-08-06T20:29:09.912Z] 765212b225bb: Waiting [2024-08-06T20:29:09.912Z] 04944245beec: Verifying Checksum [2024-08-06T20:29:09.912Z] 04944245beec: Download complete [2024-08-06T20:29:09.912Z] 765212b225bb: Verifying Checksum [2024-08-06T20:29:09.912Z] 765212b225bb: Download complete [2024-08-06T20:29:09.912Z] f23df028b6ca: Download complete [2024-08-06T20:29:09.912Z] d65c8cfc05b1: Verifying Checksum [2024-08-06T20:29:09.912Z] d65c8cfc05b1: Download complete [2024-08-06T20:29:10.180Z] 699f458cf7ca: Verifying Checksum [2024-08-06T20:29:10.180Z] 699f458cf7ca: Download complete [2024-08-06T20:29:10.764Z] 8998bd30e6a1: Verifying Checksum [2024-08-06T20:29:10.764Z] 8998bd30e6a1: Download complete [2024-08-06T20:29:13.348Z] 2437ff75d9bd: Verifying Checksum [2024-08-06T20:29:13.348Z] 2437ff75d9bd: Download complete [2024-08-06T20:29:15.295Z] 8998bd30e6a1: Pull complete [2024-08-06T20:29:15.879Z] 04944245beec: Pull complete [2024-08-06T20:29:17.825Z] 699f458cf7ca: Pull complete [2024-08-06T20:29:17.825Z] 765212b225bb: Pull complete [2024-08-06T20:29:18.788Z] f23df028b6ca: Pull complete [2024-08-06T20:29:18.788Z] d65c8cfc05b1: Pull complete [2024-08-06T20:29:36.997Z] 2437ff75d9bd: Pull complete [2024-08-06T20:29:36.997Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-06T20:29:36.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-06T20:29:36.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:29:37.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-7214 does not seem to be running inside a container [2024-08-06T20:29:37.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-06T20:29:40.401Z] $ docker top b2613ab0f12f5fe398fedcc705f2fdf6b6821404c257adee2c716a1a66d123b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:41.356Z] ---> job-cost.sh [2024-08-06T20:29:41.356Z] lf-activate-venv: SKIPPING [2024-08-06T20:29:41.356Z] INFO: No Stack... [2024-08-06T20:29:41.937Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-06T20:29:42.520Z] INFO: Archiving Costs [Pipeline] sh [2024-08-06T20:29:43.453Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-08-06T20:29:43.453Z] + cut -d, -f6 [Pipeline] lock [2024-08-06T20:29:43.525Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] [2024-08-06T20:29:43.533Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] did not exist. Created. [2024-08-06T20:29:43.541Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-06T20:29:44.313Z] /w/workspace/device-rest-go/1@tmp/durable-95f3537f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-06T20:29:45.082Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-06T20:29:45.129Z] Warning: overwriting stash ‘stack-cost’ [2024-08-06T20:29:45.202Z] Stashed 1 file(s) [Pipeline] } [2024-08-06T20:29:45.222Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-06T20:29:45.322Z] $ docker stop --time=1 b2613ab0f12f5fe398fedcc705f2fdf6b6821404c257adee2c716a1a66d123b1 [2024-08-06T20:29:46.876Z] $ docker rm -f --volumes b2613ab0f12f5fe398fedcc705f2fdf6b6821404c257adee2c716a1a66d123b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-06T20:29:48.203Z] provisioning config files... [2024-08-06T20:29:48.229Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp/config5311360921967291886tmp [Pipeline] { [Pipeline] sh [2024-08-06T20:29:48.614Z] + set +x [2024-08-06T20:29:48.614Z] + bash -s -- [2024-08-06T20:29:48.614Z] + curl -s https://codecov.io/bash [2024-08-06T20:29:48.614Z] [2024-08-06T20:29:48.614Z] _____ _ [2024-08-06T20:29:48.614Z] / ____| | | [2024-08-06T20:29:48.614Z] | | ___ __| | ___ ___ _____ __ [2024-08-06T20:29:48.614Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-06T20:29:48.614Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-06T20:29:48.614Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-06T20:29:48.614Z] Bash-1.0.6 [2024-08-06T20:29:48.614Z] [2024-08-06T20:29:48.614Z] [2024-08-06T20:29:48.614Z] ==> git version 2.25.1 found [2024-08-06T20:29:48.614Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-06T20:29:48.614Z] Release-Date: 2020-01-08 [2024-08-06T20:29:48.614Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-06T20:29:48.614Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-06T20:29:48.614Z] ==> Jenkins CI detected. [2024-08-06T20:29:48.614Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-404 [2024-08-06T20:29:48.614Z] project root: . [2024-08-06T20:29:48.614Z] --> token set from env [2024-08-06T20:29:48.614Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-06T20:29:48.614Z] ==> Running gcov in . (disable via -X gcov) [2024-08-06T20:29:48.614Z] ==> Python coveragepy not found [2024-08-06T20:29:48.614Z] ==> Searching for coverage reports in: [2024-08-06T20:29:48.614Z] + . [2024-08-06T20:29:48.614Z] -> Found 1 reports [2024-08-06T20:29:48.614Z] ==> Detecting git/mercurial file structure [2024-08-06T20:29:48.892Z] ==> Reading reports [2024-08-06T20:29:48.892Z] + ./coverage.out bytes=14499 [2024-08-06T20:29:48.892Z] ==> Appending adjustments [2024-08-06T20:29:48.892Z] https://docs.codecov.io/docs/fixing-reports [2024-08-06T20:29:48.892Z] + Found adjustments [2024-08-06T20:29:48.892Z] ==> Gzipping contents [2024-08-06T20:29:48.892Z] 4.0K /tmp/codecov.5SLt1R.gz [2024-08-06T20:29:48.892Z] ==> Uploading reports [2024-08-06T20:29:48.892Z] url: https://codecov.io [2024-08-06T20:29:48.892Z] query: branch=PR-404&commit=b913d0babda486750042a17b43fbe6c388ab846c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-404%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=404&job=&cmd_args= [2024-08-06T20:29:48.892Z] -> Pinging Codecov [2024-08-06T20:29:48.892Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-404&commit=b913d0babda486750042a17b43fbe6c388ab846c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-404%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=404&job=&cmd_args= [2024-08-06T20:29:48.892Z] -> Uploading to [2024-08-06T20:29:48.892Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-06/4E5D53B4F1F92C436F7061BF334D961C/b913d0babda486750042a17b43fbe6c388ab846c/0b7d22a6-d447-4f8b-9e6d-d82799d4c58e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240806%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240806T202948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57d6531aeb56e1492991333466a4671d262c5117a207f90afffd8ec211716da5 [2024-08-06T20:29:48.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-06T20:29:48.892Z] Dload Upload Total Spent Left Speed [2024-08-06T20:29:49.164Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11000 --:--:-- --:--:-- --:--:-- 10948 100 2321 0 0 100 2321 0 9876 --:--:-- --:--:-- --:--:-- 9834 [2024-08-06T20:29:49.164Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b913d0babda486750042a17b43fbe6c388ab846c [Pipeline] } [2024-08-06T20:29:49.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-06T20:29:51.432Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-404/archives ] [2024-08-06T20:29:51.433Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-404/archives [2024-08-06T20:29:51.433Z] total 16 [2024-08-06T20:29:51.433Z] drwxr-xr-x 3 root root 4096 Aug 6 20:14 . [2024-08-06T20:29:51.433Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 6 20:14 .. [2024-08-06T20:29:51.433Z] drwxr-xr-x 2 root root 4096 Aug 6 20:14 cost [2024-08-06T20:29:51.433Z] -rw-r--r-- 1 root root 86 Aug 6 20:14 cost.csv [2024-08-06T20:29:51.433Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-404/archives [2024-08-06T20:29:51.433Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-404/archives [2024-08-06T20:29:51.433Z] total 16 [2024-08-06T20:29:51.433Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 6 20:14 . [2024-08-06T20:29:51.433Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 6 20:14 .. [2024-08-06T20:29:51.433Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 6 20:14 cost [2024-08-06T20:29:51.433Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 6 20:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:51.778Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:52.673Z] ---> package-listing.sh [2024-08-06T20:29:52.673Z] ++ facter osfamily [2024-08-06T20:29:52.673Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-06T20:29:52.930Z] + OS_FAMILY=debian [2024-08-06T20:29:52.930Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-404 [2024-08-06T20:29:52.930Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-06T20:29:52.930Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-06T20:29:52.930Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-06T20:29:52.930Z] + PACKAGES=/tmp/packages_start.txt [2024-08-06T20:29:52.930Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-404 ']' [2024-08-06T20:29:52.930Z] + PACKAGES=/tmp/packages_end.txt [2024-08-06T20:29:52.930Z] + case "${OS_FAMILY}" in [2024-08-06T20:29:52.930Z] + dpkg -l [2024-08-06T20:29:52.930Z] + grep '^ii' [2024-08-06T20:29:52.930Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-06T20:29:52.930Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-06T20:29:52.930Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-06T20:29:52.930Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-404 ']' [2024-08-06T20:29:52.930Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-404/archives/ [2024-08-06T20:29:52.930Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-404/archives/ [Pipeline] echo [2024-08-06T20:29:52.969Z] 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-06T20:29:53.267Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T20:29:53.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T20:29:53.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T20:29:54.086Z] prd-ubuntu20.04-docker-8c-8g-7213 does not seem to be running inside a container [2024-08-06T20:29:54.113Z] $ 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-404/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-404 -v /w/workspace/gexfoundry_device-rest-go_PR-404:/w/workspace/gexfoundry_device-rest-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-404@tmp:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-06T20:29:54.296Z] $ docker top 03647fd564be394ce1d9c83a79816b330048a8adb501e230e42fffc81625b57a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T20:29:54.710Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-06T20:29:55.027Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-06T20:29:55.347Z] + ls /var/log/sa-host [2024-08-06T20:29:55.347Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-06T20:29:55.598Z] provisioning config files... [2024-08-06T20:29:55.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-404@tmp/config7196531525798307392tmp [Pipeline] { [Pipeline] echo [2024-08-06T20:29:55.779Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:56.107Z] ---> create-netrc.sh [Pipeline] } [2024-08-06T20:29:56.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:56.561Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-06T20:29:56.604Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:56.928Z] ---> sudo-logs.sh [2024-08-06T20:29:56.929Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-06T20:29:57.029Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:57.356Z] ---> job-cost.sh [2024-08-06T20:29:57.357Z] lf-activate-venv: SKIPPING [2024-08-06T20:29:57.357Z] DEBUG: total: 0.2199999988079071 [2024-08-06T20:29:57.357Z] INFO: Retrieving Stack Cost... [2024-08-06T20:29:57.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-06T20:29:58.181Z] INFO: Archiving Costs [Pipeline] echo [2024-08-06T20:29:58.225Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T20:29:58.547Z] ---> logs-deploy.sh [2024-08-06T20:29:58.547Z] lf-activate-venv: SKIPPING [2024-08-06T20:29:58.547Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-404/1 [2024-08-06T20:29:58.547Z] INFO: archiving workspace using pattern(s): [2024-08-06T20:29:59.482Z] Archives upload complete. [2024-08-06T20:29:59.482Z] INFO: archiving logs to Nexus