Pull request #360 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5182527f7cf2736206c97941898c434376f26d9b+2a4052b0b2f1e637c9c652109488342642a86f02 (f585922265c8ee650c548d83a87dbb411eb45d08) 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-ssh14300301282644990099.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh6231220593269838662.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3019728390912740246.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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 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-ssh10202278865084226622.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16098807250143943213.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-16289 in /w/workspace/gexfoundry_device-rest-go_PR-360 [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-360 # 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 2a4052b0b2f1e637c9c652109488342642a86f02 into PR head commit 5182527f7cf2736206c97941898c434376f26d9b Merge succeeded, producing 5182527f7cf2736206c97941898c434376f26d9b Checking out Revision 5182527f7cf2736206c97941898c434376f26d9b (PR-360) > 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/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # 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 2a4052b0b2f1e637c9c652109488342642a86f02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # timeout=10 Commit message: "docs: [Device REST] Add Swagger file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T21:12:27.508Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T21:12:27.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T21:12:27.582Z] ========================================================= [2023-11-01T21:12:27.582Z] EdgeX Global Pipelines Version Info [2023-11-01T21:12:27.582Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:12:28.294Z] ------------------- [2023-11-01T21:12:28.294Z] stable info: [2023-11-01T21:12:28.294Z] ------------------- [2023-11-01T21:12:28.294Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T21:12:28.294Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T21:12:28.294Z] Message: update stable to v1.0.255 [2023-11-01T21:12:28.865Z] ------------------- [2023-11-01T21:12:28.865Z] experimental info: [2023-11-01T21:12:28.865Z] ------------------- [2023-11-01T21:12:28.865Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T21:12:28.865Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T21:12:28.865Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T21:12:29.018Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-01T21:12:29.033Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-01T21:12:29.046Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T21:12:29.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T21:12:29.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T21:12:29.081Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T21:12:29.099Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T21:12:29.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-01T21:12:29.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T21:12:29.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T21:12:29.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T21:12:29.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-01T21:12:29.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T21:12:29.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T21:12:29.216Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T21:12:29.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T21:12:29.250Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T21:12:29.271Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T21:12:29.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T21:12:29.307Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T21:12:29.326Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-01T21:12:29.344Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-01T21:12:29.362Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T21:12:29.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T21:12:29.397Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T21:12:29.411Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T21:12:29.423Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T21:12:29.434Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-360 [Pipeline] echo [2023-11-01T21:12:29.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-360 [Pipeline] echo [2023-11-01T21:12:29.461Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-360 [Pipeline] echo [2023-11-01T21:12:29.471Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo [2023-11-01T21:12:29.490Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5182527 [Pipeline] echo [2023-11-01T21:12:29.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T21:12:29.551Z] provisioning config files... [2023-11-01T21:12:29.566Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config15063887831317400761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:12:29.875Z] ---> docker-login.sh [2023-11-01T21:12:29.875Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:12:30.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:30.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:30.447Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:30.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:30.447Z] [2023-11-01T21:12:30.447Z] Login Succeeded [2023-11-01T21:12:30.447Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:12:30.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:30.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:30.447Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:30.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:30.447Z] [2023-11-01T21:12:30.447Z] Login Succeeded [2023-11-01T21:12:30.447Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:12:30.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:30.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:30.709Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:30.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:30.709Z] [2023-11-01T21:12:30.709Z] Login Succeeded [2023-11-01T21:12:30.709Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:12:30.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:30.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:30.709Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:30.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:30.709Z] [2023-11-01T21:12:30.709Z] Login Succeeded [2023-11-01T21:12:30.709Z] docker.io [2023-11-01T21:12:30.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:30.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:30.970Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:30.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:30.970Z] [2023-11-01T21:12:30.970Z] Login Succeeded [2023-11-01T21:12:30.970Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:12:30.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T21:12:31.381Z] + git rev-list -1 --merges 5182527f7cf2736206c97941898c434376f26d9b~1..5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo [2023-11-01T21:12:31.428Z] -----------> git rev-list -1 --merges 5182527f7cf2736206c97941898c434376f26d9b~1..5182527f7cf2736206c97941898c434376f26d9b 5182527f7cf2736206c97941898c434376f26d9b [false] [Pipeline] sh [2023-11-01T21:12:31.726Z] + git log --format=format:%s -1 5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo [2023-11-01T21:12:31.743Z] ========================================================= [2023-11-01T21:12:31.743Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T21:12:31.743Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T21:12:32.109Z] + git log --format=format:%s -1 5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo [2023-11-01T21:12:32.129Z] [semverPrep] GIT_COMMIT: 5182527f7cf2736206c97941898c434376f26d9b, Commit Message: docs: [Device REST] Add Swagger file [Pipeline] echo [2023-11-01T21:12:32.137Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T21:12:32.481Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T21:12:32.481Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T21:12:32.481Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T21:12:32.481Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T21:12:32.481Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T21:12:32.481Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T21:12:32.481Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:12:32.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:12:32.853Z] [2023-11-01T21:12:32.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:12:33.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:12:33.168Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T21:12:33.168Z] b85a868b505f: Pulling fs layer [2023-11-01T21:12:33.168Z] e2be974225ed: Pulling fs layer [2023-11-01T21:12:33.168Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T21:12:33.168Z] 988bab9f4d93: Pulling fs layer [2023-11-01T21:12:33.168Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T21:12:33.168Z] eaf3925da568: Pulling fs layer [2023-11-01T21:12:33.168Z] 988bab9f4d93: Waiting [2023-11-01T21:12:33.168Z] 1469e6f7b9e6: Waiting [2023-11-01T21:12:33.168Z] bab4dde63d76: Pulling fs layer [2023-11-01T21:12:33.168Z] bde34c3a00c8: Pulling fs layer [2023-11-01T21:12:33.168Z] b352a97aabf1: Pulling fs layer [2023-11-01T21:12:33.168Z] 4872d77fe225: Pulling fs layer [2023-11-01T21:12:33.168Z] bab4dde63d76: Waiting [2023-11-01T21:12:33.168Z] 5851b861e8e6: Pulling fs layer [2023-11-01T21:12:33.168Z] b352a97aabf1: Waiting [2023-11-01T21:12:33.168Z] 5851b861e8e6: Waiting [2023-11-01T21:12:33.168Z] 4872d77fe225: Waiting [2023-11-01T21:12:33.168Z] e2be974225ed: Verifying Checksum [2023-11-01T21:12:33.168Z] e2be974225ed: Download complete [2023-11-01T21:12:33.168Z] 988bab9f4d93: Verifying Checksum [2023-11-01T21:12:33.168Z] 988bab9f4d93: Download complete [2023-11-01T21:12:33.428Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T21:12:33.428Z] 1469e6f7b9e6: Download complete [2023-11-01T21:12:33.428Z] eaf3925da568: Download complete [2023-11-01T21:12:33.428Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T21:12:33.428Z] 339a4e72a1f5: Download complete [2023-11-01T21:12:33.428Z] bde34c3a00c8: Verifying Checksum [2023-11-01T21:12:33.428Z] bde34c3a00c8: Download complete [2023-11-01T21:12:33.428Z] b352a97aabf1: Verifying Checksum [2023-11-01T21:12:33.428Z] b352a97aabf1: Download complete [2023-11-01T21:12:33.428Z] 4872d77fe225: Verifying Checksum [2023-11-01T21:12:33.428Z] 4872d77fe225: Download complete [2023-11-01T21:12:33.428Z] 5851b861e8e6: Download complete [2023-11-01T21:12:33.428Z] b85a868b505f: Verifying Checksum [2023-11-01T21:12:33.428Z] b85a868b505f: Download complete [2023-11-01T21:12:33.689Z] bab4dde63d76: Verifying Checksum [2023-11-01T21:12:33.689Z] bab4dde63d76: Download complete [2023-11-01T21:12:35.069Z] b85a868b505f: Pull complete [2023-11-01T21:12:35.330Z] e2be974225ed: Pull complete [2023-11-01T21:12:35.591Z] 339a4e72a1f5: Pull complete [2023-11-01T21:12:35.854Z] 988bab9f4d93: Pull complete [2023-11-01T21:12:36.119Z] 1469e6f7b9e6: Pull complete [2023-11-01T21:12:36.119Z] eaf3925da568: Pull complete [2023-11-01T21:12:38.035Z] bab4dde63d76: Pull complete [2023-11-01T21:12:38.035Z] bde34c3a00c8: Pull complete [2023-11-01T21:12:38.604Z] b352a97aabf1: Pull complete [2023-11-01T21:12:38.864Z] 4872d77fe225: Pull complete [2023-11-01T21:12:38.864Z] 5851b861e8e6: Pull complete [2023-11-01T21:12:38.864Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T21:12:39.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T21:12:39.124Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:12:39.232Z] prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container [2023-11-01T21:12:39.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T21:12:42.577Z] $ docker top 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 -eo pid,comm [2023-11-01T21:12:42.640Z] 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). [2023-11-01T21:12:42.640Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T21:12:42.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T21:12:42.680Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T21:12:42.804Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T21:12:42.809Z] $ docker exec 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent [2023-11-01T21:12:42.918Z] SSH_AUTH_SOCK=/tmp/ssh-sZK69dxZxO0c/agent.31 [2023-11-01T21:12:42.918Z] SSH_AGENT_PID=37 [2023-11-01T21:12:42.924Z] Running ssh-add (command line suppressed) [2023-11-01T21:12:43.043Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_13284235258089704284.key (/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_13284235258089704284.key) [2023-11-01T21:12:43.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T21:12:43.346Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T21:12:43.362Z] $ docker exec --env ******** --env ******** 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent -k [2023-11-01T21:12:43.506Z] unset SSH_AUTH_SOCK; [2023-11-01T21:12:43.506Z] unset SSH_AGENT_PID; [2023-11-01T21:12:43.507Z] echo Agent pid 37 killed; [2023-11-01T21:12:43.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T21:12:43.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T21:12:43.539Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T21:12:43.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T21:12:43.669Z] $ docker exec 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent [2023-11-01T21:12:43.782Z] SSH_AUTH_SOCK=/tmp/ssh-nXVOtaES7ugn/agent.69 [2023-11-01T21:12:43.782Z] SSH_AGENT_PID=75 [2023-11-01T21:12:43.787Z] Running ssh-add (command line suppressed) [2023-11-01T21:12:43.902Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_12854685460126891678.key (/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_12854685460126891678.key) [2023-11-01T21:12:43.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T21:12:44.211Z] + git semver init [2023-11-01T21:12:44.475Z] 2023-11-01 21:12:44,409 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T21:12:44.475Z] 2023-11-01 21:12:44,410 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-360/.semver [2023-11-01T21:12:44.475Z] 2023-11-01 21:12:44,410 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-360/.semver [2023-11-01T21:12:44.475Z] 2023-11-01 21:12:44,410 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-360/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-360, universal_newlines=False, shell=None, istream=None) [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,605 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-360/.git/info/exclude [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,606 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-360/.semver/PR-360 with force:False [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,606 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-360/.semver/PR-360 [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,611 [execute] INFO git cat-file --batch-check [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,619 [execute] INFO git cat-file --batch [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T21:12:45.876Z] 2023-11-01 21:12:45,624 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-360/.semver/PR-360 [2023-11-01T21:12:45.876Z] 0.0.0 [Pipeline] } [2023-11-01T21:12:45.897Z] $ docker exec --env ******** --env ******** 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent -k [2023-11-01T21:12:46.013Z] unset SSH_AUTH_SOCK; [2023-11-01T21:12:46.013Z] unset SSH_AGENT_PID; [2023-11-01T21:12:46.013Z] echo Agent pid 75 killed; [2023-11-01T21:12:46.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T21:12:46.331Z] + git semver [Pipeline] } [2023-11-01T21:12:46.605Z] $ docker stop --time=1 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 [2023-11-01T21:12:47.895Z] $ docker rm -f --volumes 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T21:12:48.224Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T21:12:48.423Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T21:12:48.428Z] [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 [2023-11-01T21:12:48.596Z] provisioning config files... [2023-11-01T21:12:48.604Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config17815883980494252291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:12:48.901Z] ---> docker-login.sh [2023-11-01T21:12:48.901Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:12:48.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:48.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:48.902Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:48.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:48.902Z] [2023-11-01T21:12:48.902Z] Login Succeeded [2023-11-01T21:12:48.902Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:12:48.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:48.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:48.902Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:48.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:48.902Z] [2023-11-01T21:12:48.902Z] Login Succeeded [2023-11-01T21:12:48.902Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:12:49.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:49.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:49.161Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:49.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:49.161Z] [2023-11-01T21:12:49.161Z] Login Succeeded [2023-11-01T21:12:49.161Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:12:49.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:49.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:49.161Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:49.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:49.161Z] [2023-11-01T21:12:49.161Z] Login Succeeded [2023-11-01T21:12:49.161Z] docker.io [2023-11-01T21:12:49.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:12:49.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:12:49.421Z] Configure a credential helper to remove this warning. See [2023-11-01T21:12:49.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:12:49.421Z] [2023-11-01T21:12:49.421Z] Login Succeeded [2023-11-01T21:12:49.421Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:12:49.438Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T21:12:49.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:12:49.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:12:49.535Z] ========================================================= [2023-11-01T21:12:49.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T21:12:49.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:12:49.838Z] + 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 . [2023-11-01T21:12:49.838Z] Sending build context to Docker daemon 10.93MB [2023-11-01T21:12:49.838Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:12:49.838Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T21:12:49.838Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T21:12:49.838Z] 7264a8db6415: Pulling fs layer [2023-11-01T21:12:49.838Z] c4d48a809fc2: Pulling fs layer [2023-11-01T21:12:49.838Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T21:12:49.838Z] ad3a456e5733: Pulling fs layer [2023-11-01T21:12:49.838Z] 33e27b845d1e: Pulling fs layer [2023-11-01T21:12:49.838Z] ad3a456e5733: Waiting [2023-11-01T21:12:49.838Z] c68163c4e522: Pulling fs layer [2023-11-01T21:12:49.838Z] 50da416c3ac9: Pulling fs layer [2023-11-01T21:12:49.838Z] 33e27b845d1e: Waiting [2023-11-01T21:12:49.838Z] c68163c4e522: Waiting [2023-11-01T21:12:49.838Z] 50da416c3ac9: Waiting [2023-11-01T21:12:49.838Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T21:12:49.838Z] 23d2d4c4bb30: Waiting [2023-11-01T21:12:49.838Z] ad3a456e5733: Download complete [2023-11-01T21:12:49.838Z] 33e27b845d1e: Download complete [2023-11-01T21:12:50.098Z] 7264a8db6415: Verifying Checksum [2023-11-01T21:12:50.098Z] 7264a8db6415: Download complete [2023-11-01T21:12:50.098Z] c68163c4e522: Verifying Checksum [2023-11-01T21:12:50.098Z] c68163c4e522: Download complete [2023-11-01T21:12:50.098Z] 7264a8db6415: Pull complete [2023-11-01T21:12:50.098Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T21:12:50.098Z] 23d2d4c4bb30: Download complete [2023-11-01T21:12:50.357Z] c4d48a809fc2: Pull complete [2023-11-01T21:12:50.357Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T21:12:50.357Z] 4f1c88b9dad5: Download complete [2023-11-01T21:12:50.925Z] 50da416c3ac9: Verifying Checksum [2023-11-01T21:12:50.925Z] 50da416c3ac9: Download complete [2023-11-01T21:12:54.213Z] 4f1c88b9dad5: Pull complete [2023-11-01T21:12:54.213Z] ad3a456e5733: Pull complete [2023-11-01T21:12:54.213Z] 33e27b845d1e: Pull complete [2023-11-01T21:12:54.213Z] c68163c4e522: Pull complete [2023-11-01T21:12:56.746Z] 50da416c3ac9: Pull complete [2023-11-01T21:12:57.005Z] 23d2d4c4bb30: Pull complete [2023-11-01T21:12:57.005Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T21:12:57.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T21:12:57.005Z] ---> 0786185ac409 [2023-11-01T21:12:57.005Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:13:02.332Z] ---> Running in 624efe111e91 [2023-11-01T21:13:02.333Z] Removing intermediate container 624efe111e91 [2023-11-01T21:13:02.333Z] ---> a8879d98aea5 [2023-11-01T21:13:02.333Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:13:02.333Z] ---> Running in 3a4cbcbb32a5 [2023-11-01T21:13:02.333Z] Removing intermediate container 3a4cbcbb32a5 [2023-11-01T21:13:02.333Z] ---> 30cbcad2a362 [2023-11-01T21:13:02.333Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:13:02.333Z] ---> Running in 3bb7d5b7a232 [2023-11-01T21:13:02.333Z] Removing intermediate container 3bb7d5b7a232 [2023-11-01T21:13:02.333Z] ---> 98ecb145c06c [2023-11-01T21:13:02.333Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:13:02.333Z] ---> Running in 59e1a962eab5 [2023-11-01T21:13:02.333Z] Removing intermediate container 59e1a962eab5 [2023-11-01T21:13:02.333Z] ---> 56dc29f4adae [2023-11-01T21:13:02.333Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:13:02.333Z] ---> Running in c3be1c4dca62 [2023-11-01T21:13:02.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T21:13:02.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T21:13:02.592Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T21:13:02.592Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T21:13:02.592Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T21:13:02.592Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T21:13:02.592Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:13:02.592Z] OK: 268 MiB in 56 packages [2023-11-01T21:13:03.533Z] Removing intermediate container c3be1c4dca62 [2023-11-01T21:13:03.533Z] ---> 6973e5a25d0d [2023-11-01T21:13:03.533Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-01T21:13:03.533Z] ---> Running in 1d28e7c68363 [2023-11-01T21:13:03.533Z] Removing intermediate container 1d28e7c68363 [2023-11-01T21:13:03.533Z] ---> 62ae4046c034 [2023-11-01T21:13:03.533Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-01T21:13:03.533Z] ---> 4a1e4d8d146e [2023-11-01T21:13:03.533Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:13:03.533Z] ---> Running in d65b5bf58323 [2023-11-01T21:13:03.543Z] Still waiting to schedule task [2023-11-01T21:13:03.543Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16287’ [2023-11-01T21:13:42.360Z] Removing intermediate container d65b5bf58323 [2023-11-01T21:13:42.361Z] ---> 6739252e7340 [2023-11-01T21:13:42.361Z] Step 11/12 : COPY . . [2023-11-01T21:13:42.361Z] ---> ab92b78b1711 [2023-11-01T21:13:42.361Z] Step 12/12 : RUN $MAKE [2023-11-01T21:13:42.361Z] ---> Running in 4239f808eb13 [2023-11-01T21:13:42.361Z] noop [2023-11-01T21:13:42.361Z] Removing intermediate container 4239f808eb13 [2023-11-01T21:13:42.361Z] ---> def2da03297c [2023-11-01T21:13:42.361Z] Successfully built def2da03297c [2023-11-01T21:13:42.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:13:42.675Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T21:13:42.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:13:42.744Z] prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container [2023-11-01T21:13:42.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T21:13:43.113Z] $ docker top e644bf8f8151a28d962394bfcfb52df844d7bcda73c5171f65f31aa8ec808828 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:13:43.450Z] + go version [2023-11-01T21:13:43.450Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T21:13:43.461Z] $ docker stop --time=1 e644bf8f8151a28d962394bfcfb52df844d7bcda73c5171f65f31aa8ec808828 [2023-11-01T21:13:44.747Z] $ docker rm -f --volumes e644bf8f8151a28d962394bfcfb52df844d7bcda73c5171f65f31aa8ec808828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:13:45.166Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T21:13:45.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:13:45.236Z] prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container [2023-11-01T21:13:45.269Z] $ 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-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T21:13:45.584Z] $ docker top ee19c279acdadd7de195892f27ab6cb0d8842aad36ac4d98eb72f00aa5be7077 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:13:45.930Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-360 [Pipeline] fileExists [Pipeline] sh [2023-11-01T21:13:46.230Z] + make test [2023-11-01T21:13:46.230Z] go test ./... -coverprofile=coverage.out ./... [2023-11-01T21:13:47.607Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-01T21:13:57.571Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-01T21:13:57.571Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-11-01T21:14:05.692Z] go vet ./... [2023-11-01T21:14:08.994Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T21:14:08.994Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T21:14:08.994Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T21:14:09.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T21:14:09.027Z] $ docker stop --time=1 ee19c279acdadd7de195892f27ab6cb0d8842aad36ac4d98eb72f00aa5be7077 [2023-11-01T21:14:12.563Z] $ docker rm -f --volumes ee19c279acdadd7de195892f27ab6cb0d8842aad36ac4d98eb72f00aa5be7077 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T21:14:13.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T21:14:13.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T21:14:13.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T21:14:13.810Z] + ls -al . [2023-11-01T21:14:13.810Z] total 188 [2023-11-01T21:14:13.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 21:13 . [2023-11-01T21:14:13.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:12 .. [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 21:12 .dockerignore [2023-11-01T21:14:13.810Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:13 .git [2023-11-01T21:14:13.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:12 .github [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 21:12 .gitignore [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:12 .golangci.yml [2023-11-01T21:14:13.810Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:12 .semver [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 21:12 Attribution.txt [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 21:12 CHANGELOG.md [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 21:12 Dockerfile [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:12 GOVERNANCE.md [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 21:12 Jenkinsfile [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:12 LICENSE [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 21:12 Makefile [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 21:12 OWNERS.md [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 21:12 README.md [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 21:12 VERSION [2023-11-01T21:14:13.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:12 bin [2023-11-01T21:14:13.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:12 cmd [2023-11-01T21:14:13.810Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 21:13 coverage.out [2023-11-01T21:14:13.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:12 driver [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 21:12 go.mod [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 21:12 go.sum [2023-11-01T21:14:13.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:12 openapi [2023-11-01T21:14:13.810Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:14:14.111Z] + 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=5182527f7cf2736206c97941898c434376f26d9b --label arch=amd64 --label version=0.0.0 . [2023-11-01T21:14:14.111Z] Sending build context to Docker daemon 10.95MB [2023-11-01T21:14:14.111Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:14:14.111Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T21:14:14.111Z] ---> def2da03297c [2023-11-01T21:14:14.111Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:14:14.370Z] ---> Running in b65cf5a67554 [2023-11-01T21:14:14.370Z] Removing intermediate container b65cf5a67554 [2023-11-01T21:14:14.370Z] ---> f58c7c6ef0b3 [2023-11-01T21:14:14.370Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:14:14.370Z] ---> Running in 23e963c6de95 [2023-11-01T21:14:14.370Z] Removing intermediate container 23e963c6de95 [2023-11-01T21:14:14.370Z] ---> 732a65ad6bc0 [2023-11-01T21:14:14.370Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:14:14.370Z] ---> Running in 7401501c3db4 [2023-11-01T21:14:14.370Z] Removing intermediate container 7401501c3db4 [2023-11-01T21:14:14.370Z] ---> eb8840f3008a [2023-11-01T21:14:14.370Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:14:14.629Z] ---> Running in 750b5a3a389f [2023-11-01T21:14:14.629Z] Removing intermediate container 750b5a3a389f [2023-11-01T21:14:14.629Z] ---> ad5fbdbe8903 [2023-11-01T21:14:14.629Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:14:14.629Z] ---> Running in f7fb7b8b080e [2023-11-01T21:14:14.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T21:14:14.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T21:14:15.149Z] OK: 268 MiB in 56 packages [2023-11-01T21:14:15.409Z] Removing intermediate container f7fb7b8b080e [2023-11-01T21:14:15.409Z] ---> 836ac0a69c39 [2023-11-01T21:14:15.409Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-01T21:14:15.409Z] ---> Running in 0c0cf92d9013 [2023-11-01T21:14:15.409Z] Removing intermediate container 0c0cf92d9013 [2023-11-01T21:14:15.409Z] ---> 17961fdc2e63 [2023-11-01T21:14:15.409Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-01T21:14:15.667Z] ---> 4208d8b953dc [2023-11-01T21:14:15.667Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:14:15.667Z] ---> Running in bc38336f782b [2023-11-01T21:14:16.234Z] Removing intermediate container bc38336f782b [2023-11-01T21:14:16.234Z] ---> 5e6b9a4dfdb3 [2023-11-01T21:14:16.234Z] Step 11/25 : COPY . . [2023-11-01T21:14:16.803Z] ---> 82be81270479 [2023-11-01T21:14:16.803Z] Step 12/25 : RUN $MAKE [2023-11-01T21:14:16.803Z] ---> Running in 36e9e9897f61 [2023-11-01T21:14:17.062Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-01T21:14:38.989Z] Removing intermediate container 36e9e9897f61 [2023-11-01T21:14:38.989Z] ---> 00e2c172292c [2023-11-01T21:14:38.989Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T21:14:38.989Z] 3.18: Pulling from library/alpine [2023-11-01T21:14:38.989Z] 96526aa774ef: Pulling fs layer [2023-11-01T21:14:38.989Z] 96526aa774ef: Verifying Checksum [2023-11-01T21:14:38.989Z] 96526aa774ef: Download complete [2023-11-01T21:14:38.989Z] 96526aa774ef: Pull complete [2023-11-01T21:14:38.989Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T21:14:38.989Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T21:14:38.989Z] ---> 8ca4688f4f35 [2023-11-01T21:14:38.989Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T21:14:38.989Z] ---> Running in 98fa89942d1a [2023-11-01T21:14:38.989Z] Removing intermediate container 98fa89942d1a [2023-11-01T21:14:38.989Z] ---> ed05fc4073a8 [2023-11-01T21:14:38.989Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-01T21:14:38.989Z] ---> Running in 40237e47a52e [2023-11-01T21:14:39.248Z] Removing intermediate container 40237e47a52e [2023-11-01T21:14:39.248Z] ---> aa7afc0fb13b [2023-11-01T21:14:39.248Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T21:14:39.248Z] ---> Running in eec31a472f3b [2023-11-01T21:14:39.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T21:14:39.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T21:14:40.073Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T21:14:40.073Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:14:40.073Z] OK: 7 MiB in 16 packages [2023-11-01T21:14:40.332Z] Removing intermediate container eec31a472f3b [2023-11-01T21:14:40.332Z] ---> ac6c5ad0d1e9 [2023-11-01T21:14:40.332Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-01T21:14:41.271Z] ---> f5a2d87ae5f0 [2023-11-01T21:14:41.271Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-01T21:14:41.271Z] ---> 6ce3bf861905 [2023-11-01T21:14:41.271Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-01T21:14:41.530Z] ---> a1780b628a77 [2023-11-01T21:14:41.530Z] Step 20/25 : EXPOSE 59986 [2023-11-01T21:14:41.530Z] ---> Running in 9678cb2ac146 [2023-11-01T21:14:41.530Z] Removing intermediate container 9678cb2ac146 [2023-11-01T21:14:41.530Z] ---> c210fabd6627 [2023-11-01T21:14:41.530Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-01T21:14:41.530Z] ---> Running in fa7800fc48a9 [2023-11-01T21:14:41.530Z] Removing intermediate container fa7800fc48a9 [2023-11-01T21:14:41.530Z] ---> 4a7a7e39eb91 [2023-11-01T21:14:41.530Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-01T21:14:41.530Z] ---> Running in 24c7c74fab2d [2023-11-01T21:14:41.789Z] Removing intermediate container 24c7c74fab2d [2023-11-01T21:14:41.789Z] ---> fea8ec31ade0 [2023-11-01T21:14:41.789Z] Step 23/25 : LABEL arch=amd64 [2023-11-01T21:14:41.789Z] ---> Running in 92c8aca5e3db [2023-11-01T21:14:41.789Z] Removing intermediate container 92c8aca5e3db [2023-11-01T21:14:41.789Z] ---> 005fafa01665 [2023-11-01T21:14:41.789Z] Step 24/25 : LABEL git_sha=5182527f7cf2736206c97941898c434376f26d9b [2023-11-01T21:14:41.789Z] ---> Running in ec8360ddade6 [2023-11-01T21:14:41.789Z] Removing intermediate container ec8360ddade6 [2023-11-01T21:14:41.789Z] ---> d1090a92d7de [2023-11-01T21:14:41.789Z] Step 25/25 : LABEL version=0.0.0 [2023-11-01T21:14:42.048Z] ---> Running in eaf1b466cd45 [2023-11-01T21:14:42.048Z] Removing intermediate container eaf1b466cd45 [2023-11-01T21:14:42.048Z] ---> 9caba67fa6bd [2023-11-01T21:14:42.048Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T21:14:42.048Z] Successfully built 9caba67fa6bd [2023-11-01T21:14:42.048Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:14:42.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:14:42.488Z] [2023-11-01T21:14:42.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:14:42.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:14:42.788Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T21:14:42.788Z] 5eb5b503b376: Pulling fs layer [2023-11-01T21:14:42.788Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T21:14:42.788Z] ec43610c2a17: Pulling fs layer [2023-11-01T21:14:42.788Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T21:14:42.788Z] 33b1e0a273af: Pulling fs layer [2023-11-01T21:14:42.788Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T21:14:42.788Z] 2f39f015ded8: Pulling fs layer [2023-11-01T21:14:42.788Z] 3a2ae6a8a46f: Waiting [2023-11-01T21:14:42.788Z] 33b1e0a273af: Waiting [2023-11-01T21:14:42.788Z] 5d3b04190fa2: Waiting [2023-11-01T21:14:42.788Z] 2f39f015ded8: Waiting [2023-11-01T21:14:42.788Z] 5c69ac0246d0: Verifying Checksum [2023-11-01T21:14:42.788Z] 5c69ac0246d0: Download complete [2023-11-01T21:14:42.788Z] 3a2ae6a8a46f: Download complete [2023-11-01T21:14:42.788Z] 33b1e0a273af: Verifying Checksum [2023-11-01T21:14:42.788Z] 33b1e0a273af: Download complete [2023-11-01T21:14:42.788Z] 5d3b04190fa2: Download complete [2023-11-01T21:14:42.788Z] ec43610c2a17: Verifying Checksum [2023-11-01T21:14:42.788Z] ec43610c2a17: Download complete [2023-11-01T21:14:43.047Z] 5eb5b503b376: Verifying Checksum [2023-11-01T21:14:43.047Z] 5eb5b503b376: Download complete [2023-11-01T21:14:43.612Z] 2f39f015ded8: Download complete [2023-11-01T21:14:44.179Z] 5eb5b503b376: Pull complete [2023-11-01T21:14:44.437Z] 5c69ac0246d0: Pull complete [2023-11-01T21:14:45.004Z] ec43610c2a17: Pull complete [2023-11-01T21:14:45.004Z] 3a2ae6a8a46f: Pull complete [2023-11-01T21:14:45.004Z] 33b1e0a273af: Pull complete [2023-11-01T21:14:45.263Z] 5d3b04190fa2: Pull complete [2023-11-01T21:14:50.525Z] 2f39f015ded8: Pull complete [2023-11-01T21:14:50.525Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T21:14:50.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:14:50.525Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:14:50.617Z] prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container [2023-11-01T21:14:50.646Z] $ 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-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T21:14:55.863Z] $ docker top a6ea776faf4e40fb23e77c0b4b431c836f4def5a9a7d9b60522767b400844a43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:14:56.241Z] ---> job-cost.sh [2023-11-01T21:14:56.241Z] lf-activate-venv: SKIPPING [2023-11-01T21:14:56.241Z] INFO: No Stack... [2023-11-01T21:14:56.810Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T21:14:57.071Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T21:14:57.359Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-360/archives/cost.csv [2023-11-01T21:14:57.359Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T21:14:57.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [2023-11-01T21:14:57.379Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] did not exist. Created. [2023-11-01T21:14:57.379Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T21:14:57.679Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T21:14:57.706Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T21:14:57.712Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T21:14:57.730Z] $ docker stop --time=1 a6ea776faf4e40fb23e77c0b4b431c836f4def5a9a7d9b60522767b400844a43 [2023-11-01T21:14:58.877Z] $ docker rm -f --volumes a6ea776faf4e40fb23e77c0b4b431c836f4def5a9a7d9b60522767b400844a43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T21:16:35.764Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16290 in /w/workspace/gexfoundry_device-rest-go_PR-360 [Pipeline] { [Pipeline] ws [2023-11-01T21:16:35.775Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-11-01T21:16:35.802Z] The recommended git tool is: git [2023-11-01T21:16:40.890Z] using credential edgex-jenkins-ssh [2023-11-01T21:16:40.907Z] Cloning the remote Git repository [2023-11-01T21:16:40.952Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T21:16:41.041Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-11-01T21:16:41.177Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T21:16:41.178Z] > git --version # timeout=10 [2023-11-01T21:16:41.202Z] > git --version # 'git version 2.25.1' [2023-11-01T21:16:41.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T21:16:41.371Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T21:16:43.307Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-01T21:16:43.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T21:16:44.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-01T21:16:44.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T21:16:44.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T21:16:44.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-01T21:16:45.022Z] Merging remotes/origin/main commit 2a4052b0b2f1e637c9c652109488342642a86f02 into PR head commit 5182527f7cf2736206c97941898c434376f26d9b [2023-11-01T21:16:45.293Z] Merge succeeded, producing 5182527f7cf2736206c97941898c434376f26d9b [2023-11-01T21:16:45.294Z] Checking out Revision 5182527f7cf2736206c97941898c434376f26d9b (PR-360) [2023-11-01T21:16:45.042Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T21:16:45.118Z] > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # timeout=10 [2023-11-01T21:16:45.194Z] > git remote # timeout=10 [2023-11-01T21:16:45.213Z] > git config --get remote.origin.url # timeout=10 [2023-11-01T21:16:45.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T21:16:45.243Z] > git merge 2a4052b0b2f1e637c9c652109488342642a86f02 # timeout=10 [2023-11-01T21:16:45.269Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-01T21:16:45.302Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T21:16:45.316Z] > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # timeout=10 [2023-11-01T21:16:48.787Z] Commit message: "docs: [Device REST] Add Swagger file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T21:16:49.692Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T21:16:49.692Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T21:16:49.692Z] Dload Upload Total Spent Left Speed [2023-11-01T21:16:49.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-11-01T21:16:50.484Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T21:16:50.815Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T21:16:50.815Z] + sudo tee /etc/docker/daemon.new [2023-11-01T21:16:50.815Z] { [2023-11-01T21:16:50.815Z] "registry-mirrors": [ [2023-11-01T21:16:50.815Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T21:16:50.815Z] ], [2023-11-01T21:16:50.815Z] "bip": "10.250.0.254/24", [2023-11-01T21:16:50.815Z] "hosts": [ [2023-11-01T21:16:50.815Z] "tcp://0.0.0.0:5555", [2023-11-01T21:16:50.815Z] "unix:///var/run/docker.sock" [2023-11-01T21:16:50.815Z] ], [2023-11-01T21:16:50.815Z] "mtu": 1458, [2023-11-01T21:16:50.815Z] "selinux-enabled": true, [2023-11-01T21:16:50.815Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T21:16:50.815Z] } [Pipeline] sh [2023-11-01T21:16:51.144Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T21:16:51.470Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T21:17:09.732Z] provisioning config files... [2023-11-01T21:17:09.760Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config11263805599227173359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:17:10.108Z] ---> docker-login.sh [2023-11-01T21:17:10.108Z] nexus3.edgexfoundry.org:10001 [2023-11-01T21:17:10.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:17:10.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:17:10.698Z] Configure a credential helper to remove this warning. See [2023-11-01T21:17:10.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:17:10.698Z] [2023-11-01T21:17:10.698Z] Login Succeeded [2023-11-01T21:17:10.698Z] nexus3.edgexfoundry.org:10002 [2023-11-01T21:17:10.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:17:11.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:17:11.242Z] Configure a credential helper to remove this warning. See [2023-11-01T21:17:11.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:17:11.242Z] [2023-11-01T21:17:11.242Z] Login Succeeded [2023-11-01T21:17:11.242Z] nexus3.edgexfoundry.org:10003 [2023-11-01T21:17:11.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:17:11.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:17:11.516Z] Configure a credential helper to remove this warning. See [2023-11-01T21:17:11.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:17:11.516Z] [2023-11-01T21:17:11.516Z] Login Succeeded [2023-11-01T21:17:11.516Z] nexus3.edgexfoundry.org:10004 [2023-11-01T21:17:11.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:17:11.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:17:11.789Z] Configure a credential helper to remove this warning. See [2023-11-01T21:17:11.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:17:11.789Z] [2023-11-01T21:17:11.789Z] Login Succeeded [2023-11-01T21:17:11.789Z] docker.io [2023-11-01T21:17:12.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T21:17:12.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T21:17:12.334Z] Configure a credential helper to remove this warning. See [2023-11-01T21:17:12.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T21:17:12.334Z] [2023-11-01T21:17:12.334Z] Login Succeeded [2023-11-01T21:17:12.334Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T21:17:12.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T21:17:12.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:17:12.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T21:17:12.813Z] ========================================================= [2023-11-01T21:17:12.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T21:17:12.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:17:13.167Z] + 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 . [2023-11-01T21:17:13.167Z] Sending build context to Docker daemon 125.4kB [2023-11-01T21:17:13.454Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:17:13.454Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T21:17:13.454Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T21:17:13.454Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T21:17:13.454Z] 5d54e960e981: Pulling fs layer [2023-11-01T21:17:13.454Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T21:17:13.454Z] f0e02332f6b5: Pulling fs layer [2023-11-01T21:17:13.454Z] cefa15bbcfad: Pulling fs layer [2023-11-01T21:17:13.454Z] 17808c966233: Pulling fs layer [2023-11-01T21:17:13.454Z] f4c1fc716caa: Pulling fs layer [2023-11-01T21:17:13.454Z] cefa15bbcfad: Waiting [2023-11-01T21:17:13.454Z] 17808c966233: Waiting [2023-11-01T21:17:13.454Z] f4c1fc716caa: Waiting [2023-11-01T21:17:13.727Z] 5d54e960e981: Verifying Checksum [2023-11-01T21:17:13.727Z] 5d54e960e981: Download complete [2023-11-01T21:17:13.727Z] f0e02332f6b5: Verifying Checksum [2023-11-01T21:17:13.727Z] f0e02332f6b5: Download complete [2023-11-01T21:17:13.727Z] cefa15bbcfad: Verifying Checksum [2023-11-01T21:17:13.727Z] cefa15bbcfad: Download complete [2023-11-01T21:17:13.727Z] 9fda8d8052c6: Verifying Checksum [2023-11-01T21:17:13.727Z] 9fda8d8052c6: Download complete [2023-11-01T21:17:13.999Z] f4c1fc716caa: Verifying Checksum [2023-11-01T21:17:13.999Z] f4c1fc716caa: Download complete [2023-11-01T21:17:14.591Z] 9fda8d8052c6: Pull complete [2023-11-01T21:17:15.183Z] 5d54e960e981: Pull complete [2023-11-01T21:17:15.455Z] c4a7e357bf2a: Verifying Checksum [2023-11-01T21:17:15.455Z] c4a7e357bf2a: Download complete [2023-11-01T21:17:16.436Z] 17808c966233: Verifying Checksum [2023-11-01T21:17:16.436Z] 17808c966233: Download complete [2023-11-01T21:17:28.764Z] c4a7e357bf2a: Pull complete [2023-11-01T21:17:28.764Z] f0e02332f6b5: Pull complete [2023-11-01T21:17:29.033Z] cefa15bbcfad: Pull complete [2023-11-01T21:17:37.260Z] 17808c966233: Pull complete [2023-11-01T21:17:39.234Z] f4c1fc716caa: Pull complete [2023-11-01T21:17:39.234Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T21:17:39.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T21:17:39.234Z] ---> ea914061e18c [2023-11-01T21:17:39.234Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:17:41.204Z] ---> Running in 1228b3dfa654 [2023-11-01T21:17:41.204Z] Removing intermediate container 1228b3dfa654 [2023-11-01T21:17:41.204Z] ---> 4fb479c54c62 [2023-11-01T21:17:41.204Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:17:41.204Z] ---> Running in 00cc3ce35a59 [2023-11-01T21:17:41.472Z] Removing intermediate container 00cc3ce35a59 [2023-11-01T21:17:41.472Z] ---> 8574e942368c [2023-11-01T21:17:41.472Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:17:41.741Z] ---> Running in aa5cb0feb99f [2023-11-01T21:17:42.008Z] Removing intermediate container aa5cb0feb99f [2023-11-01T21:17:42.008Z] ---> 04af144658b9 [2023-11-01T21:17:42.008Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:17:42.008Z] ---> Running in 8ed72d7dac8a [2023-11-01T21:17:42.282Z] Removing intermediate container 8ed72d7dac8a [2023-11-01T21:17:42.282Z] ---> 434d14891713 [2023-11-01T21:17:42.282Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:17:42.552Z] ---> Running in 1319d5396bbb [2023-11-01T21:17:43.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T21:17:44.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T21:17:45.508Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T21:17:45.508Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T21:17:45.508Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T21:17:45.508Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T21:17:45.508Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:17:45.508Z] OK: 270 MiB in 56 packages [2023-11-01T21:17:46.481Z] Removing intermediate container 1319d5396bbb [2023-11-01T21:17:46.481Z] ---> d86025cedaf2 [2023-11-01T21:17:46.481Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-01T21:17:46.753Z] ---> Running in 6d860e7e8658 [2023-11-01T21:17:47.021Z] Removing intermediate container 6d860e7e8658 [2023-11-01T21:17:47.021Z] ---> eb81ed7d1ed5 [2023-11-01T21:17:47.021Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-01T21:17:47.608Z] ---> 72d8bd6fe722 [2023-11-01T21:17:47.608Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:17:47.608Z] ---> Running in 64de0c409754 [2023-11-01T21:19:09.249Z] Removing intermediate container 64de0c409754 [2023-11-01T21:19:09.249Z] ---> 1e62507d3488 [2023-11-01T21:19:09.249Z] Step 11/12 : COPY . . [2023-11-01T21:19:09.249Z] ---> b784284c2dd5 [2023-11-01T21:19:09.249Z] Step 12/12 : RUN $MAKE [2023-11-01T21:19:09.249Z] ---> Running in 3812021ee42b [2023-11-01T21:19:09.249Z] noop [2023-11-01T21:19:09.249Z] Removing intermediate container 3812021ee42b [2023-11-01T21:19:09.249Z] ---> 619e8c77454f [2023-11-01T21:19:09.249Z] Successfully built 619e8c77454f [2023-11-01T21:19:09.249Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:19:09.581Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T21:19:09.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:19:09.783Z] prd-ubuntu20.04-docker-arm64-4c-16g-16290 does not seem to be running inside a container [2023-11-01T21:19:09.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T21:19:12.307Z] $ docker top 0ef4768665aa77d6bfca692ead7abb7387302989dbb6ad31231a80f7c729bd8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:19:13.139Z] + go version [2023-11-01T21:19:13.139Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T21:19:13.160Z] $ docker stop --time=1 0ef4768665aa77d6bfca692ead7abb7387302989dbb6ad31231a80f7c729bd8d [2023-11-01T21:19:14.781Z] $ docker rm -f --volumes 0ef4768665aa77d6bfca692ead7abb7387302989dbb6ad31231a80f7c729bd8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:19:15.334Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T21:19:15.334Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:19:15.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-16290 does not seem to be running inside a container [2023-11-01T21:19:15.569Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T21:19:16.722Z] $ docker top 9f1462f6fd7fa4c9b56bca8b9e41847d01a2a47db69eb42b5b14413c906c419b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:19:17.564Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-01T21:19:17.892Z] + make test [2023-11-01T21:19:17.892Z] go test ./... -coverprofile=coverage.out ./... [2023-11-01T21:19:22.145Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-01T21:20:58.798Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-01T21:20:58.798Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 33.2% of statements [2023-11-01T21:20:58.798Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T21:20:58.798Z] go vet ./... [2023-11-01T21:21:27.911Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T21:21:27.911Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T21:21:27.911Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T21:21:27.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T21:21:27.944Z] $ docker stop --time=1 9f1462f6fd7fa4c9b56bca8b9e41847d01a2a47db69eb42b5b14413c906c419b [2023-11-01T21:21:33.656Z] $ docker rm -f --volumes 9f1462f6fd7fa4c9b56bca8b9e41847d01a2a47db69eb42b5b14413c906c419b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T21:21:35.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T21:21:35.082Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T21:21:35.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T21:21:36.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T21:21:36.399Z] + ls -al . [2023-11-01T21:21:36.399Z] total 184 [2023-11-01T21:21:36.399Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:19 . [2023-11-01T21:21:36.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:16 .. [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 21:16 .dockerignore [2023-11-01T21:21:36.399Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:16 .git [2023-11-01T21:21:36.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:16 .github [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 21:16 .gitignore [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:16 .golangci.yml [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 21:16 Attribution.txt [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 21:16 CHANGELOG.md [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 21:16 Dockerfile [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:16 GOVERNANCE.md [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 21:16 Jenkinsfile [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:16 LICENSE [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 21:16 Makefile [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 21:16 OWNERS.md [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 21:16 README.md [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 21:12 VERSION [2023-11-01T21:21:36.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:16 bin [2023-11-01T21:21:36.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:16 cmd [2023-11-01T21:21:36.399Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 21:20 coverage.out [2023-11-01T21:21:36.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:16 driver [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 21:16 go.mod [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 21:16 go.sum [2023-11-01T21:21:36.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:16 openapi [2023-11-01T21:21:36.399Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 21:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:21:36.749Z] + 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=5182527f7cf2736206c97941898c434376f26d9b --label arch=arm64 --label version=0.0.0 . [2023-11-01T21:21:36.749Z] Sending build context to Docker daemon 140.8kB [2023-11-01T21:21:37.015Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T21:21:37.015Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T21:21:37.015Z] ---> 619e8c77454f [2023-11-01T21:21:37.015Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T21:21:37.015Z] ---> Running in 6e8122def005 [2023-11-01T21:21:37.282Z] Removing intermediate container 6e8122def005 [2023-11-01T21:21:37.282Z] ---> de67f826695f [2023-11-01T21:21:37.282Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T21:21:37.550Z] ---> Running in cbc2dc13b13f [2023-11-01T21:21:37.817Z] Removing intermediate container cbc2dc13b13f [2023-11-01T21:21:37.817Z] ---> 5aa251d708bb [2023-11-01T21:21:37.817Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T21:21:37.817Z] ---> Running in 9daf38366820 [2023-11-01T21:21:38.403Z] Removing intermediate container 9daf38366820 [2023-11-01T21:21:38.403Z] ---> f3818abf80ce [2023-11-01T21:21:38.403Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T21:21:38.403Z] ---> Running in 1e9d777be173 [2023-11-01T21:21:38.670Z] Removing intermediate container 1e9d777be173 [2023-11-01T21:21:38.670Z] ---> 81cefa7b5703 [2023-11-01T21:21:38.670Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T21:21:38.670Z] ---> Running in 4ab938709acb [2023-11-01T21:21:40.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T21:21:40.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T21:21:41.758Z] OK: 270 MiB in 56 packages [2023-11-01T21:21:42.732Z] Removing intermediate container 4ab938709acb [2023-11-01T21:21:42.732Z] ---> 098de1338834 [2023-11-01T21:21:42.732Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-01T21:21:42.732Z] ---> Running in 6dd1d1f46e78 [2023-11-01T21:21:43.327Z] Removing intermediate container 6dd1d1f46e78 [2023-11-01T21:21:43.327Z] ---> 63dd5f98a399 [2023-11-01T21:21:43.327Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-01T21:21:43.911Z] ---> 40da4ecfb202 [2023-11-01T21:21:43.911Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T21:21:43.911Z] ---> Running in 1e9d3f31b840 [2023-11-01T21:21:46.496Z] Removing intermediate container 1e9d3f31b840 [2023-11-01T21:21:46.496Z] ---> c49d13c830e0 [2023-11-01T21:21:46.496Z] Step 11/25 : COPY . . [2023-11-01T21:21:47.079Z] ---> db6a7b8b93d6 [2023-11-01T21:21:47.079Z] Step 12/25 : RUN $MAKE [2023-11-01T21:21:47.079Z] ---> Running in 6229a46d4d16 [2023-11-01T21:21:48.040Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-01T21:23:39.712Z] Removing intermediate container 6229a46d4d16 [2023-11-01T21:23:39.712Z] ---> 3e7e7b1bf535 [2023-11-01T21:23:39.712Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T21:23:39.712Z] 3.18: Pulling from library/alpine [2023-11-01T21:23:39.712Z] 579b34f0a95b: Pulling fs layer [2023-11-01T21:23:39.712Z] 579b34f0a95b: Verifying Checksum [2023-11-01T21:23:39.712Z] 579b34f0a95b: Download complete [2023-11-01T21:23:39.712Z] 579b34f0a95b: Pull complete [2023-11-01T21:23:39.712Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T21:23:39.712Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T21:23:39.712Z] ---> 3cc203321400 [2023-11-01T21:23:39.712Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T21:23:39.712Z] ---> Running in 25681f39ef09 [2023-11-01T21:23:39.979Z] Removing intermediate container 25681f39ef09 [2023-11-01T21:23:39.979Z] ---> 78a6d6b5a3f0 [2023-11-01T21:23:39.979Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-01T21:23:39.979Z] ---> Running in 3b8923a91bc4 [2023-11-01T21:23:40.246Z] Removing intermediate container 3b8923a91bc4 [2023-11-01T21:23:40.246Z] ---> 6055445f9218 [2023-11-01T21:23:40.246Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T21:23:40.246Z] ---> Running in 319d8f92544f [2023-11-01T21:23:41.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T21:23:41.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T21:23:43.069Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T21:23:43.070Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T21:23:43.070Z] OK: 8 MiB in 16 packages [2023-11-01T21:23:44.037Z] Removing intermediate container 319d8f92544f [2023-11-01T21:23:44.037Z] ---> 36511d128ef1 [2023-11-01T21:23:44.037Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-01T21:23:45.441Z] ---> 5c0bbff20ec1 [2023-11-01T21:23:45.441Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-01T21:23:45.716Z] ---> 79670c21fe73 [2023-11-01T21:23:45.716Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-01T21:23:46.296Z] ---> c09aa5200e82 [2023-11-01T21:23:46.296Z] Step 20/25 : EXPOSE 59986 [2023-11-01T21:23:46.296Z] ---> Running in 6735ae4efbcf [2023-11-01T21:23:46.561Z] Removing intermediate container 6735ae4efbcf [2023-11-01T21:23:46.561Z] ---> c9ac7e354760 [2023-11-01T21:23:46.561Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-01T21:23:46.561Z] ---> Running in 7fe36967367a [2023-11-01T21:23:46.826Z] Removing intermediate container 7fe36967367a [2023-11-01T21:23:46.826Z] ---> 96cdf071de5a [2023-11-01T21:23:46.826Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-01T21:23:47.094Z] ---> Running in 35bfc22c215b [2023-11-01T21:23:47.363Z] Removing intermediate container 35bfc22c215b [2023-11-01T21:23:47.363Z] ---> 59cec165ff07 [2023-11-01T21:23:47.363Z] Step 23/25 : LABEL arch=arm64 [2023-11-01T21:23:47.363Z] ---> Running in 688db97ca2d4 [2023-11-01T21:23:47.630Z] Removing intermediate container 688db97ca2d4 [2023-11-01T21:23:47.630Z] ---> 24c66dd03a41 [2023-11-01T21:23:47.630Z] Step 24/25 : LABEL git_sha=5182527f7cf2736206c97941898c434376f26d9b [2023-11-01T21:23:47.630Z] ---> Running in deb969bf771a [2023-11-01T21:23:47.901Z] Removing intermediate container deb969bf771a [2023-11-01T21:23:47.901Z] ---> 1f9fb149a308 [2023-11-01T21:23:47.901Z] Step 25/25 : LABEL version=0.0.0 [2023-11-01T21:23:48.166Z] ---> Running in 65c1c9e46c88 [2023-11-01T21:23:48.431Z] Removing intermediate container 65c1c9e46c88 [2023-11-01T21:23:48.431Z] ---> 2d3ca2a81267 [2023-11-01T21:23:48.431Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T21:23:48.431Z] Successfully built 2d3ca2a81267 [2023-11-01T21:23:48.431Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:23:48.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T21:23:48.895Z] [2023-11-01T21:23:48.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:23:49.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T21:23:49.222Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T21:23:49.222Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T21:23:49.222Z] 04944245beec: Pulling fs layer [2023-11-01T21:23:49.222Z] 699f458cf7ca: Pulling fs layer [2023-11-01T21:23:49.222Z] 765212b225bb: Pulling fs layer [2023-11-01T21:23:49.222Z] f23df028b6ca: Pulling fs layer [2023-11-01T21:23:49.222Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T21:23:49.222Z] 765212b225bb: Waiting [2023-11-01T21:23:49.222Z] f23df028b6ca: Waiting [2023-11-01T21:23:49.222Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T21:23:49.222Z] d65c8cfc05b1: Waiting [2023-11-01T21:23:49.222Z] 2437ff75d9bd: Waiting [2023-11-01T21:23:49.500Z] 04944245beec: Verifying Checksum [2023-11-01T21:23:49.500Z] 04944245beec: Download complete [2023-11-01T21:23:49.500Z] 765212b225bb: Verifying Checksum [2023-11-01T21:23:49.500Z] 765212b225bb: Download complete [2023-11-01T21:23:49.500Z] f23df028b6ca: Verifying Checksum [2023-11-01T21:23:49.500Z] f23df028b6ca: Download complete [2023-11-01T21:23:49.500Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T21:23:49.500Z] d65c8cfc05b1: Download complete [2023-11-01T21:23:49.767Z] 699f458cf7ca: Verifying Checksum [2023-11-01T21:23:49.767Z] 699f458cf7ca: Download complete [2023-11-01T21:23:50.034Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T21:23:50.034Z] 8998bd30e6a1: Download complete [2023-11-01T21:23:52.612Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T21:23:52.612Z] 2437ff75d9bd: Download complete [2023-11-01T21:23:54.553Z] 8998bd30e6a1: Pull complete [2023-11-01T21:23:55.134Z] 04944245beec: Pull complete [2023-11-01T21:23:56.542Z] 699f458cf7ca: Pull complete [2023-11-01T21:23:56.807Z] 765212b225bb: Pull complete [2023-11-01T21:23:57.764Z] f23df028b6ca: Pull complete [2023-11-01T21:23:58.030Z] d65c8cfc05b1: Pull complete [2023-11-01T21:24:16.234Z] 2437ff75d9bd: Pull complete [2023-11-01T21:24:16.234Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T21:24:16.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T21:24:16.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:24:16.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-16290 does not seem to be running inside a container [2023-11-01T21:24:16.516Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-01T21:24:19.122Z] $ docker top fcd017de5c9d327f7f0efcd6e7161f2c8c1a8eda37e7e0368e54fc4b0b43d0e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:19.967Z] ---> job-cost.sh [2023-11-01T21:24:19.967Z] lf-activate-venv: SKIPPING [2023-11-01T21:24:19.967Z] INFO: No Stack... [2023-11-01T21:24:20.232Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T21:24:21.184Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T21:24:21.814Z] + + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-11-01T21:24:21.814Z] cut -d, -f6 [Pipeline] lock [2023-11-01T21:24:21.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [2023-11-01T21:24:21.854Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] did not exist. Created. [2023-11-01T21:24:21.854Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T21:24:22.191Z] /w/workspace/device-rest-go/2@tmp/durable-e7d5b50a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T21:24:22.839Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T21:24:22.862Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T21:24:22.904Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T21:24:22.911Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T21:24:22.929Z] $ docker stop --time=1 fcd017de5c9d327f7f0efcd6e7161f2c8c1a8eda37e7e0368e54fc4b0b43d0e3 [2023-11-01T21:24:24.418Z] $ docker rm -f --volumes fcd017de5c9d327f7f0efcd6e7161f2c8c1a8eda37e7e0368e54fc4b0b43d0e3 [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 [2023-11-01T21:24:24.868Z] provisioning config files... [2023-11-01T21:24:24.876Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config16708674311990878777tmp [Pipeline] { [Pipeline] sh [2023-11-01T21:24:25.182Z] + set +x [2023-11-01T21:24:25.182Z] + bash -s -- [2023-11-01T21:24:25.182Z] + curl -s https://codecov.io/bash [2023-11-01T21:24:25.182Z] [2023-11-01T21:24:25.182Z] _____ _ [2023-11-01T21:24:25.182Z] / ____| | | [2023-11-01T21:24:25.182Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T21:24:25.182Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T21:24:25.182Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T21:24:25.182Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T21:24:25.182Z] Bash-1.0.6 [2023-11-01T21:24:25.182Z] [2023-11-01T21:24:25.182Z] [2023-11-01T21:24:25.182Z] ==> git version 2.25.1 found [2023-11-01T21:24:25.182Z] ==> 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 [2023-11-01T21:24:25.182Z] Release-Date: 2020-01-08 [2023-11-01T21:24:25.182Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-01T21:24:25.182Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T21:24:25.182Z] ==> Jenkins CI detected. [2023-11-01T21:24:25.182Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-360 [2023-11-01T21:24:25.182Z] project root: . [2023-11-01T21:24:25.182Z] --> token set from env [2023-11-01T21:24:25.182Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T21:24:25.182Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T21:24:25.442Z] ==> Python coveragepy not found [2023-11-01T21:24:25.442Z] ==> Searching for coverage reports in: [2023-11-01T21:24:25.442Z] + . [2023-11-01T21:24:25.442Z] -> Found 1 reports [2023-11-01T21:24:25.442Z] ==> Detecting git/mercurial file structure [2023-11-01T21:24:25.442Z] ==> Reading reports [2023-11-01T21:24:25.442Z] + ./coverage.out bytes=14499 [2023-11-01T21:24:25.442Z] ==> Appending adjustments [2023-11-01T21:24:25.442Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T21:24:25.442Z] + Found adjustments [2023-11-01T21:24:25.442Z] ==> Gzipping contents [2023-11-01T21:24:25.442Z] 4.0K /tmp/codecov.G80syo.gz [2023-11-01T21:24:25.442Z] ==> Uploading reports [2023-11-01T21:24:25.442Z] url: https://codecov.io [2023-11-01T21:24:25.442Z] query: branch=PR-360&commit=5182527f7cf2736206c97941898c434376f26d9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=360&job=&cmd_args= [2023-11-01T21:24:25.442Z] -> Pinging Codecov [2023-11-01T21:24:25.442Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-360&commit=5182527f7cf2736206c97941898c434376f26d9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=360&job=&cmd_args= [2023-11-01T21:24:25.702Z] -> Uploading to [2023-11-01T21:24:25.702Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/4E5D53B4F1F92C436F7061BF334D961C/5182527f7cf2736206c97941898c434376f26d9b/aa3815ed-22eb-4ac2-9430-65a792a0f8f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T212425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b0c4d675436b7faafdd3832ee516108f335cfc8ce3c914d7c8f34e4dc7d778f [2023-11-01T21:24:25.702Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T21:24:25.702Z] Dload Upload Total Spent Left Speed [2023-11-01T21:24:25.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9670 --:--:-- --:--:-- --:--:-- 9630 [2023-11-01T21:24:25.962Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5182527f7cf2736206c97941898c434376f26d9b [Pipeline] } [2023-11-01T21:24:25.968Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-01T21:24:26.788Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-360/archives ] [2023-11-01T21:24:26.788Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-360/archives [2023-11-01T21:24:26.788Z] total 16 [2023-11-01T21:24:26.788Z] drwxr-xr-x 3 root root 4096 Nov 1 21:14 . [2023-11-01T21:24:26.788Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 21:14 .. [2023-11-01T21:24:26.788Z] drwxr-xr-x 2 root root 4096 Nov 1 21:14 cost [2023-11-01T21:24:26.788Z] -rw-r--r-- 1 root root 86 Nov 1 21:14 cost.csv [2023-11-01T21:24:26.788Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-360/archives [2023-11-01T21:24:26.788Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-360/archives [2023-11-01T21:24:26.788Z] total 16 [2023-11-01T21:24:26.788Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:14 . [2023-11-01T21:24:26.788Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 21:14 .. [2023-11-01T21:24:26.788Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 21:14 cost [2023-11-01T21:24:26.788Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:27.078Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:27.952Z] ---> package-listing.sh [2023-11-01T21:24:27.953Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T21:24:27.953Z] ++ facter osfamily [2023-11-01T21:24:28.212Z] + OS_FAMILY=debian [2023-11-01T21:24:28.212Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-360 [2023-11-01T21:24:28.212Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T21:24:28.212Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T21:24:28.212Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T21:24:28.212Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T21:24:28.212Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-360 ']' [2023-11-01T21:24:28.212Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T21:24:28.212Z] + case "${OS_FAMILY}" in [2023-11-01T21:24:28.212Z] + dpkg -l [2023-11-01T21:24:28.212Z] + grep '^ii' [2023-11-01T21:24:28.212Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T21:24:28.212Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T21:24:28.212Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T21:24:28.212Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-360 ']' [2023-11-01T21:24:28.212Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-360/archives/ [2023-11-01T21:24:28.212Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-360/archives/ [Pipeline] echo [2023-11-01T21:24:28.220Z] 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-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-01T21:24:28.496Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T21:24:29.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T21:24:29.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T21:24:29.121Z] prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container [2023-11-01T21:24:29.149Z] $ 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-360/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-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T21:24:29.337Z] $ docker top 074ca6ea6d4433f82e5e4bc722bffebba6f7407eb887b73f1ca7afbcb8d7689c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T21:24:29.684Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T21:24:29.972Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T21:24:30.260Z] + ls /var/log/sa-host [2023-11-01T21:24:30.260Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T21:24:30.392Z] provisioning config files... [2023-11-01T21:24:30.402Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config4911511078106006435tmp [Pipeline] { [Pipeline] echo [2023-11-01T21:24:30.414Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:30.716Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T21:24:30.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:31.058Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T21:24:31.067Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:31.358Z] ---> sudo-logs.sh [2023-11-01T21:24:31.358Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T21:24:31.378Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:31.670Z] ---> job-cost.sh [2023-11-01T21:24:31.670Z] lf-activate-venv: SKIPPING [2023-11-01T21:24:31.670Z] DEBUG: total: 0.2199999988079071 [2023-11-01T21:24:31.670Z] INFO: Retrieving Stack Cost... [2023-11-01T21:24:31.934Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T21:24:32.506Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T21:24:32.519Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T21:24:32.806Z] ---> logs-deploy.sh [2023-11-01T21:24:32.806Z] lf-activate-venv: SKIPPING [2023-11-01T21:24:32.806Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-360/2 [2023-11-01T21:24:32.806Z] INFO: archiving workspace using pattern(s): [2023-11-01T21:24:33.745Z] Archives upload complete. [2023-11-01T21:24:33.745Z] INFO: archiving logs to Nexus