Pull request #330 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 IkerDC for edgexfoundry/device-rest-go Loading trusted files from base branch main at 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 rather than 643a97199c8bb7463189a86b2e8aee2523b299e7 Obtained Jenkinsfile from 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 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-ssh16828475561322026593.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh950352408858565771.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-330/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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14392340443883995575.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh5238436031435679038.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-330/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-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6228687154197677047.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2742 in /w/workspace/gexfoundry_device-rest-go_PR-330 [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-330 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit 643a97199c8bb7463189a86b2e8aee2523b299e7 Merge succeeded, producing 643a97199c8bb7463189a86b2e8aee2523b299e7 Checking out Revision 643a97199c8bb7463189a86b2e8aee2523b299e7 (PR-330) > git config core.sparsecheckout # timeout=10 > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # 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 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # timeout=10 Commit message: "fix: Range check for float64/32 equal to 0.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-02T09:52:02.293Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-02T09:52:02.356Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-02T09:52:02.374Z] ========================================================= [2023-08-02T09:52:02.374Z] EdgeX Global Pipelines Version Info [2023-08-02T09:52:02.374Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:52:03.099Z] ------------------- [2023-08-02T09:52:03.099Z] stable info: [2023-08-02T09:52:03.099Z] ------------------- [2023-08-02T09:52:03.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-02T09:52:03.099Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T09:52:03.099Z] Message: update stable to v1.0.250 > git rev-list --no-walk 37fb718cbaf2c761f5228c453cbd3f7c499322ad # timeout=10 [2023-08-02T09:52:03.670Z] ------------------- [2023-08-02T09:52:03.670Z] experimental info: [2023-08-02T09:52:03.670Z] ------------------- [2023-08-02T09:52:03.670Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-02T09:52:03.670Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T09:52:03.670Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-02T09:52:03.828Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-02T09:52:03.842Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-02T09:52:03.856Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-02T09:52:03.865Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-02T09:52:03.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-02T09:52:03.893Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-02T09:52:03.903Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-02T09:52:03.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-02T09:52:03.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-02T09:52:03.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-02T09:52:03.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-02T09:52:03.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-02T09:52:03.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-02T09:52:03.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-02T09:52:04.015Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T09:52:04.034Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T09:52:04.051Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T09:52:04.069Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T09:52:04.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-02T09:52:04.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-02T09:52:04.117Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-02T09:52:04.133Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-02T09:52:04.145Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-02T09:52:04.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-02T09:52:04.171Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-02T09:52:04.185Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-02T09:52:04.197Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-02T09:52:04.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo [2023-08-02T09:52:04.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo [2023-08-02T09:52:04.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo [2023-08-02T09:52:04.268Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo [2023-08-02T09:52:04.285Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 643a971 [Pipeline] echo [2023-08-02T09:52:04.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:52:04.338Z] provisioning config files... [2023-08-02T09:52:04.350Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config8777848739441463644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:52:04.658Z] ---> docker-login.sh [2023-08-02T09:52:04.658Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:52:04.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:04.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:04.922Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:04.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:04.922Z] [2023-08-02T09:52:04.922Z] Login Succeeded [2023-08-02T09:52:04.922Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:52:05.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:05.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:05.181Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:05.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:05.181Z] [2023-08-02T09:52:05.181Z] Login Succeeded [2023-08-02T09:52:05.181Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:52:05.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:05.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:05.181Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:05.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:05.181Z] [2023-08-02T09:52:05.181Z] Login Succeeded [2023-08-02T09:52:05.181Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:52:05.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:05.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:05.444Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:05.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:05.444Z] [2023-08-02T09:52:05.444Z] Login Succeeded [2023-08-02T09:52:05.444Z] docker.io [2023-08-02T09:52:05.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:05.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:05.706Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:05.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:05.706Z] [2023-08-02T09:52:05.706Z] Login Succeeded [2023-08-02T09:52:05.706Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:52:05.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-02T09:52:06.102Z] + git rev-list -1 --merges 643a97199c8bb7463189a86b2e8aee2523b299e7~1..643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo [2023-08-02T09:52:06.148Z] -----------> git rev-list -1 --merges 643a97199c8bb7463189a86b2e8aee2523b299e7~1..643a97199c8bb7463189a86b2e8aee2523b299e7 643a97199c8bb7463189a86b2e8aee2523b299e7 [false] [Pipeline] sh [2023-08-02T09:52:06.477Z] + git log --format=format:%s -1 643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo [2023-08-02T09:52:06.492Z] ========================================================= [2023-08-02T09:52:06.492Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-02T09:52:06.492Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:52:06.815Z] + git log --format=format:%s -1 643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo [2023-08-02T09:52:06.826Z] [semverPrep] GIT_COMMIT: 643a97199c8bb7463189a86b2e8aee2523b299e7, Commit Message: fix: Range check for float64/32 equal to 0.0 [Pipeline] echo [2023-08-02T09:52:06.834Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-02T09:52:07.210Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T09:52:07.210Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-02T09:52:07.210Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-02T09:52:07.210Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-02T09:52:07.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-02T09:52:07.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-02T09:52:07.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:52:07.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:52:07.620Z] [2023-08-02T09:52:07.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:52:07.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:52:07.913Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-02T09:52:07.913Z] b85a868b505f: Pulling fs layer [2023-08-02T09:52:07.913Z] e2be974225ed: Pulling fs layer [2023-08-02T09:52:07.913Z] 339a4e72a1f5: Pulling fs layer [2023-08-02T09:52:07.913Z] 988bab9f4d93: Pulling fs layer [2023-08-02T09:52:07.913Z] 1469e6f7b9e6: Pulling fs layer [2023-08-02T09:52:07.913Z] eaf3925da568: Pulling fs layer [2023-08-02T09:52:07.913Z] bab4dde63d76: Pulling fs layer [2023-08-02T09:52:07.913Z] bde34c3a00c8: Pulling fs layer [2023-08-02T09:52:07.913Z] b352a97aabf1: Pulling fs layer [2023-08-02T09:52:07.913Z] 4872d77fe225: Pulling fs layer [2023-08-02T09:52:07.913Z] 5851b861e8e6: Pulling fs layer [2023-08-02T09:52:07.913Z] 988bab9f4d93: Waiting [2023-08-02T09:52:07.913Z] bde34c3a00c8: Waiting [2023-08-02T09:52:07.913Z] 1469e6f7b9e6: Waiting [2023-08-02T09:52:07.913Z] b352a97aabf1: Waiting [2023-08-02T09:52:07.913Z] eaf3925da568: Waiting [2023-08-02T09:52:07.913Z] bab4dde63d76: Waiting [2023-08-02T09:52:07.913Z] 4872d77fe225: Waiting [2023-08-02T09:52:07.913Z] e2be974225ed: Download complete [2023-08-02T09:52:07.913Z] 988bab9f4d93: Download complete [2023-08-02T09:52:07.913Z] 1469e6f7b9e6: Verifying Checksum [2023-08-02T09:52:07.913Z] 1469e6f7b9e6: Download complete [2023-08-02T09:52:07.913Z] eaf3925da568: Verifying Checksum [2023-08-02T09:52:07.913Z] eaf3925da568: Download complete [2023-08-02T09:52:07.913Z] 339a4e72a1f5: Verifying Checksum [2023-08-02T09:52:07.913Z] 339a4e72a1f5: Download complete [2023-08-02T09:52:08.172Z] bde34c3a00c8: Download complete [2023-08-02T09:52:08.172Z] b352a97aabf1: Verifying Checksum [2023-08-02T09:52:08.172Z] b352a97aabf1: Download complete [2023-08-02T09:52:08.172Z] 4872d77fe225: Verifying Checksum [2023-08-02T09:52:08.172Z] 4872d77fe225: Download complete [2023-08-02T09:52:08.172Z] 5851b861e8e6: Verifying Checksum [2023-08-02T09:52:08.172Z] 5851b861e8e6: Download complete [2023-08-02T09:52:08.172Z] b85a868b505f: Download complete [2023-08-02T09:52:08.432Z] bab4dde63d76: Verifying Checksum [2023-08-02T09:52:09.366Z] b85a868b505f: Pull complete [2023-08-02T09:52:09.625Z] e2be974225ed: Pull complete [2023-08-02T09:52:09.885Z] 339a4e72a1f5: Pull complete [2023-08-02T09:52:09.885Z] 988bab9f4d93: Pull complete [2023-08-02T09:52:10.145Z] 1469e6f7b9e6: Pull complete [2023-08-02T09:52:10.404Z] eaf3925da568: Pull complete [2023-08-02T09:52:12.312Z] bab4dde63d76: Pull complete [2023-08-02T09:52:12.312Z] bde34c3a00c8: Pull complete [2023-08-02T09:52:12.312Z] b352a97aabf1: Pull complete [2023-08-02T09:52:12.312Z] 4872d77fe225: Pull complete [2023-08-02T09:52:12.312Z] 5851b861e8e6: Pull complete [2023-08-02T09:52:12.312Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-02T09:52:12.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:52:12.312Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:52:12.418Z] prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container [2023-08-02T09:52:12.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T09:52:16.161Z] $ docker top 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd -eo pid,comm [2023-08-02T09:52:16.222Z] 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-08-02T09:52:16.222Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T09:52:16.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T09:52:16.262Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T09:52:16.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T09:52:16.369Z] $ docker exec 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent [2023-08-02T09:52:16.499Z] SSH_AUTH_SOCK=/tmp/ssh-E1vXTaXOTGvr/agent.32 [2023-08-02T09:52:16.499Z] SSH_AGENT_PID=38 [2023-08-02T09:52:16.505Z] Running ssh-add (command line suppressed) [2023-08-02T09:52:16.600Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_14583827139692778819.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_14583827139692778819.key) [2023-08-02T09:52:16.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T09:52:16.907Z] + git tag --points-at HEAD [Pipeline] } [2023-08-02T09:52:16.913Z] $ docker exec --env ******** --env ******** 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent -k [2023-08-02T09:52:17.020Z] unset SSH_AUTH_SOCK; [2023-08-02T09:52:17.020Z] unset SSH_AGENT_PID; [2023-08-02T09:52:17.020Z] echo Agent pid 38 killed; [2023-08-02T09:52:17.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-02T09:52:17.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T09:52:17.060Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T09:52:17.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T09:52:17.160Z] $ docker exec 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent [2023-08-02T09:52:17.263Z] SSH_AUTH_SOCK=/tmp/ssh-WmAqX156TBBy/agent.70 [2023-08-02T09:52:17.263Z] SSH_AGENT_PID=76 [2023-08-02T09:52:17.268Z] Running ssh-add (command line suppressed) [2023-08-02T09:52:17.365Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_17806630182207671667.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_17806630182207671667.key) [2023-08-02T09:52:17.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T09:52:17.669Z] + git semver init [2023-08-02T09:52:17.928Z] 2023-08-02 09:52:17,857 [run_init] DEBUG init version:0.0.0 force:False [2023-08-02T09:52:17.928Z] 2023-08-02 09:52:17,857 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver [2023-08-02T09:52:17.928Z] 2023-08-02 09:52:17,858 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-330/.semver [2023-08-02T09:52:17.928Z] 2023-08-02 09:52:17,858 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-330/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330, universal_newlines=False, shell=None, istream=None) [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,941 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.git/info/exclude [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 with force:False [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,942 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,946 [execute] INFO git cat-file --batch-check [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,953 [execute] INFO git cat-file --batch [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T09:52:19.307Z] 2023-08-02 09:52:18,961 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 [2023-08-02T09:52:19.307Z] 0.0.0 [Pipeline] } [2023-08-02T09:52:19.311Z] $ docker exec --env ******** --env ******** 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent -k [2023-08-02T09:52:19.394Z] unset SSH_AUTH_SOCK; [2023-08-02T09:52:19.394Z] unset SSH_AGENT_PID; [2023-08-02T09:52:19.394Z] echo Agent pid 76 killed; [2023-08-02T09:52:19.407Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T09:52:19.715Z] + git semver [Pipeline] } [2023-08-02T09:52:19.983Z] $ docker stop --time=1 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd [2023-08-02T09:52:21.273Z] $ docker rm -f --volumes 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:52:21.617Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-02T09:52:21.834Z] Stashed 1 file(s) [Pipeline] echo [2023-08-02T09:52:21.837Z] [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-08-02T09:52:21.980Z] provisioning config files... [2023-08-02T09:52:21.989Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config8619374191476894694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:52:22.285Z] ---> docker-login.sh [2023-08-02T09:52:22.285Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:52:22.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:22.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:22.285Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:22.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:22.286Z] [2023-08-02T09:52:22.286Z] Login Succeeded [2023-08-02T09:52:22.286Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:52:22.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:22.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:22.286Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:22.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:22.286Z] [2023-08-02T09:52:22.286Z] Login Succeeded [2023-08-02T09:52:22.286Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:52:22.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:22.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:22.545Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:22.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:22.545Z] [2023-08-02T09:52:22.545Z] Login Succeeded [2023-08-02T09:52:22.545Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:52:22.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:22.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:22.545Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:22.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:22.545Z] [2023-08-02T09:52:22.545Z] Login Succeeded [2023-08-02T09:52:22.545Z] docker.io [2023-08-02T09:52:22.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:52:22.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:52:22.807Z] Configure a credential helper to remove this warning. See [2023-08-02T09:52:22.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:52:22.807Z] [2023-08-02T09:52:22.807Z] Login Succeeded [2023-08-02T09:52:22.807Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:52:22.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T09:52:22.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:52:22.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:52:22.895Z] ========================================================= [2023-08-02T09:52:22.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-02T09:52:22.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:52:23.204Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-02T09:52:23.204Z] Sending build context to Docker daemon 10.9MB [2023-08-02T09:52:23.204Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:52:23.204Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-02T09:52:23.204Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-02T09:52:23.204Z] 4db1b89c0bd1: Pulling fs layer [2023-08-02T09:52:23.204Z] 6911f1a30b25: Pulling fs layer [2023-08-02T09:52:23.204Z] e194b8c5c2a9: Pulling fs layer [2023-08-02T09:52:23.204Z] 6863d3e3a2b1: Pulling fs layer [2023-08-02T09:52:23.204Z] ec0bb842ea78: Pulling fs layer [2023-08-02T09:52:23.204Z] 40a00589a448: Pulling fs layer [2023-08-02T09:52:23.204Z] 6c08303d61cc: Pulling fs layer [2023-08-02T09:52:23.204Z] 6863d3e3a2b1: Waiting [2023-08-02T09:52:23.204Z] ec0bb842ea78: Waiting [2023-08-02T09:52:23.204Z] 40a00589a448: Waiting [2023-08-02T09:52:23.204Z] 798269fcf238: Pulling fs layer [2023-08-02T09:52:23.204Z] 798269fcf238: Waiting [2023-08-02T09:52:23.204Z] 6c08303d61cc: Waiting [2023-08-02T09:52:23.204Z] 6911f1a30b25: Download complete [2023-08-02T09:52:23.204Z] 6863d3e3a2b1: Verifying Checksum [2023-08-02T09:52:23.204Z] 6863d3e3a2b1: Download complete [2023-08-02T09:52:23.465Z] ec0bb842ea78: Verifying Checksum [2023-08-02T09:52:23.465Z] ec0bb842ea78: Download complete [2023-08-02T09:52:23.465Z] 4db1b89c0bd1: Verifying Checksum [2023-08-02T09:52:23.465Z] 4db1b89c0bd1: Download complete [2023-08-02T09:52:23.465Z] 40a00589a448: Verifying Checksum [2023-08-02T09:52:23.465Z] 40a00589a448: Download complete [2023-08-02T09:52:23.465Z] 4db1b89c0bd1: Pull complete [2023-08-02T09:52:23.728Z] 6911f1a30b25: Pull complete [2023-08-02T09:52:23.987Z] 798269fcf238: Verifying Checksum [2023-08-02T09:52:23.987Z] 798269fcf238: Download complete [2023-08-02T09:52:23.987Z] e194b8c5c2a9: Verifying Checksum [2023-08-02T09:52:23.987Z] e194b8c5c2a9: Download complete [2023-08-02T09:52:23.987Z] 6c08303d61cc: Verifying Checksum [2023-08-02T09:52:23.987Z] 6c08303d61cc: Download complete [2023-08-02T09:52:27.289Z] e194b8c5c2a9: Pull complete [2023-08-02T09:52:27.289Z] 6863d3e3a2b1: Pull complete [2023-08-02T09:52:27.289Z] ec0bb842ea78: Pull complete [2023-08-02T09:52:27.289Z] 40a00589a448: Pull complete [2023-08-02T09:52:29.817Z] 6c08303d61cc: Pull complete [2023-08-02T09:52:30.383Z] 798269fcf238: Pull complete [2023-08-02T09:52:30.383Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-02T09:52:30.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-02T09:52:30.383Z] ---> ec979cd7f677 [2023-08-02T09:52:30.383Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:52:34.569Z] ---> Running in 103ad3e0bb0d [2023-08-02T09:52:34.569Z] Removing intermediate container 103ad3e0bb0d [2023-08-02T09:52:34.569Z] ---> d1b036c3fd93 [2023-08-02T09:52:34.569Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:52:34.569Z] ---> Running in 9252181e5626 [2023-08-02T09:52:34.569Z] Removing intermediate container 9252181e5626 [2023-08-02T09:52:34.569Z] ---> a824d43f428a [2023-08-02T09:52:34.569Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:52:34.569Z] ---> Running in 2a0b947bd1be [2023-08-02T09:52:34.569Z] Removing intermediate container 2a0b947bd1be [2023-08-02T09:52:34.569Z] ---> a1f9abe5f891 [2023-08-02T09:52:34.569Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:52:34.569Z] ---> Running in d6b7d0e825b5 [2023-08-02T09:52:34.569Z] Removing intermediate container d6b7d0e825b5 [2023-08-02T09:52:34.569Z] ---> baaea0f39072 [2023-08-02T09:52:34.569Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:52:34.569Z] ---> Running in f3ae05873f08 [2023-08-02T09:52:34.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:52:35.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:52:35.348Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-02T09:52:35.348Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-02T09:52:35.348Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-02T09:52:35.348Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-02T09:52:35.348Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T09:52:35.348Z] OK: 269 MiB in 57 packages [2023-08-02T09:52:35.920Z] Removing intermediate container f3ae05873f08 [2023-08-02T09:52:35.920Z] ---> 753b8bf4664d [2023-08-02T09:52:35.920Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-02T09:52:35.920Z] ---> Running in fc240f1e8725 [2023-08-02T09:52:36.181Z] Removing intermediate container fc240f1e8725 [2023-08-02T09:52:36.181Z] ---> 249d39af9f4f [2023-08-02T09:52:36.181Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-02T09:52:36.181Z] ---> b07082e33ab9 [2023-08-02T09:52:36.181Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:52:36.181Z] ---> Running in 75b25b3ca4b1 [2023-08-02T09:52:36.935Z] Still waiting to schedule task [2023-08-02T09:52:36.936Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-02T09:53:08.381Z] Removing intermediate container 75b25b3ca4b1 [2023-08-02T09:53:08.381Z] ---> c2caeec5911c [2023-08-02T09:53:08.381Z] Step 11/12 : COPY . . [2023-08-02T09:53:08.381Z] ---> 3956486b24e4 [2023-08-02T09:53:08.381Z] Step 12/12 : RUN $MAKE [2023-08-02T09:53:08.381Z] ---> Running in 782787b2739b [2023-08-02T09:53:08.381Z] noop [2023-08-02T09:53:08.381Z] Removing intermediate container 782787b2739b [2023-08-02T09:53:08.381Z] ---> 154584a6a526 [2023-08-02T09:53:08.381Z] Successfully built 154584a6a526 [2023-08-02T09:53:08.381Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:53:08.689Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T09:53:08.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:53:08.757Z] prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container [2023-08-02T09:53:08.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-02T09:53:09.105Z] $ docker top a9a5849a08fada2072250b644b060f3e1a4fbdb38c370a55678f049ba6356c57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:53:09.484Z] + go version [2023-08-02T09:53:09.484Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-02T09:53:09.501Z] $ docker stop --time=1 a9a5849a08fada2072250b644b060f3e1a4fbdb38c370a55678f049ba6356c57 [2023-08-02T09:53:10.766Z] $ docker rm -f --volumes a9a5849a08fada2072250b644b060f3e1a4fbdb38c370a55678f049ba6356c57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:53:11.167Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T09:53:11.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:53:11.242Z] prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container [2023-08-02T09:53:11.283Z] $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-02T09:53:11.637Z] $ docker top 1e1b3361f2c7c26501dfe88e6e14625a91a6e0c42320111064239eee09000e32 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:53:11.973Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] fileExists [Pipeline] sh [2023-08-02T09:53:12.271Z] + make test [2023-08-02T09:53:12.271Z] go test ./... -coverprofile=coverage.out ./... [2023-08-02T09:53:16.456Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-02T09:53:26.434Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-02T09:53:26.434Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-08-02T09:53:31.694Z] go vet ./... [2023-08-02T09:53:34.971Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T09:53:34.971Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T09:53:34.971Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-02T09:53:34.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T09:53:35.007Z] $ docker stop --time=1 1e1b3361f2c7c26501dfe88e6e14625a91a6e0c42320111064239eee09000e32 [2023-08-02T09:53:38.307Z] $ docker rm -f --volumes 1e1b3361f2c7c26501dfe88e6e14625a91a6e0c42320111064239eee09000e32 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:53:38.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T09:53:38.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-02T09:53:39.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T09:53:39.621Z] + ls -al . [2023-08-02T09:53:39.621Z] total 184 [2023-08-02T09:53:39.621Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 09:53 . [2023-08-02T09:53:39.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:51 .. [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 09:51 .dockerignore [2023-08-02T09:53:39.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:52 .git [2023-08-02T09:53:39.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:51 .github [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 09:51 .gitignore [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 09:51 .golangci.yml [2023-08-02T09:53:39.621Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:52 .semver [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 09:51 Attribution.txt [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 09:51 CHANGELOG.md [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 09:51 Dockerfile [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:51 GOVERNANCE.md [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 09:51 Jenkinsfile [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 09:51 LICENSE [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 09:51 Makefile [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 09:51 OWNERS.md [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 09:51 README.md [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:52 VERSION [2023-08-02T09:53:39.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:51 bin [2023-08-02T09:53:39.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:51 cmd [2023-08-02T09:53:39.621Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 09:53 coverage.out [2023-08-02T09:53:39.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:51 driver [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 09:51 go.mod [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 09:51 go.sum [2023-08-02T09:53:39.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:51 snap [2023-08-02T09:53:39.621Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 09:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:53:39.923Z] + 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=643a97199c8bb7463189a86b2e8aee2523b299e7 --label arch=amd64 --label version=0.0.0 . [2023-08-02T09:53:39.923Z] Sending build context to Docker daemon 10.92MB [2023-08-02T09:53:39.923Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:53:39.923Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-02T09:53:39.923Z] ---> 154584a6a526 [2023-08-02T09:53:39.923Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:53:40.182Z] ---> Running in d240724e5149 [2023-08-02T09:53:40.182Z] Removing intermediate container d240724e5149 [2023-08-02T09:53:40.182Z] ---> 9e0f94a612c4 [2023-08-02T09:53:40.182Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:53:40.182Z] ---> Running in 9c3b945f49be [2023-08-02T09:53:40.182Z] Removing intermediate container 9c3b945f49be [2023-08-02T09:53:40.182Z] ---> 0caba5bb8a53 [2023-08-02T09:53:40.182Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:53:40.182Z] ---> Running in aa4868304d25 [2023-08-02T09:53:40.441Z] Removing intermediate container aa4868304d25 [2023-08-02T09:53:40.441Z] ---> f4172f685a38 [2023-08-02T09:53:40.441Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:53:40.441Z] ---> Running in 662155f49f31 [2023-08-02T09:53:40.441Z] Removing intermediate container 662155f49f31 [2023-08-02T09:53:40.441Z] ---> 547d97ba98ad [2023-08-02T09:53:40.441Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:53:40.441Z] ---> Running in f812ce32e12d [2023-08-02T09:53:40.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:53:40.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:53:41.217Z] OK: 269 MiB in 57 packages [2023-08-02T09:53:41.485Z] Removing intermediate container f812ce32e12d [2023-08-02T09:53:41.485Z] ---> 232630d9d2ec [2023-08-02T09:53:41.485Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-02T09:53:41.485Z] ---> Running in 0f07ccccce77 [2023-08-02T09:53:41.485Z] Removing intermediate container 0f07ccccce77 [2023-08-02T09:53:41.485Z] ---> 19f49f093280 [2023-08-02T09:53:41.485Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-02T09:53:41.744Z] ---> 9e256e8b49f5 [2023-08-02T09:53:41.744Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:53:41.744Z] ---> Running in 89b3422d04f2 [2023-08-02T09:53:42.313Z] Removing intermediate container 89b3422d04f2 [2023-08-02T09:53:42.313Z] ---> 268fdabf1d0f [2023-08-02T09:53:42.313Z] Step 11/25 : COPY . . [2023-08-02T09:53:42.879Z] ---> 4066f6284af7 [2023-08-02T09:53:42.879Z] Step 12/25 : RUN $MAKE [2023-08-02T09:53:42.879Z] ---> Running in 99a7c7fab41d [2023-08-02T09:53:43.137Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-02T09:54:01.216Z] Removing intermediate container 99a7c7fab41d [2023-08-02T09:54:01.216Z] ---> 792853527c21 [2023-08-02T09:54:01.216Z] Step 13/25 : FROM alpine:3.17 [2023-08-02T09:54:01.216Z] 3.17: Pulling from library/alpine [2023-08-02T09:54:01.216Z] 4db1b89c0bd1: Already exists [2023-08-02T09:54:01.216Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T09:54:01.216Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T09:54:01.216Z] ---> 1f73a9d63274 [2023-08-02T09:54:01.216Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T09:54:01.216Z] ---> Running in 45223344c14e [2023-08-02T09:54:01.216Z] Removing intermediate container 45223344c14e [2023-08-02T09:54:01.216Z] ---> 5f7f6eb52a39 [2023-08-02T09:54:01.216Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-02T09:54:01.216Z] ---> Running in 5586d7ce7adf [2023-08-02T09:54:01.216Z] Removing intermediate container 5586d7ce7adf [2023-08-02T09:54:01.216Z] ---> 18c5af532536 [2023-08-02T09:54:01.216Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-02T09:54:01.216Z] ---> Running in 20b06ef16aef [2023-08-02T09:54:01.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:54:01.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:54:01.742Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-02T09:54:01.742Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T09:54:01.742Z] OK: 7 MiB in 16 packages [2023-08-02T09:54:02.308Z] Removing intermediate container 20b06ef16aef [2023-08-02T09:54:02.308Z] ---> bd28a5732e63 [2023-08-02T09:54:02.308Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-02T09:54:02.629Z] ---> 8dd1d09b787b [2023-08-02T09:54:02.629Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-02T09:54:02.890Z] ---> 02a160f9ec9a [2023-08-02T09:54:02.890Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-02T09:54:02.890Z] ---> aa75ad57e07f [2023-08-02T09:54:02.890Z] Step 20/25 : EXPOSE 59986 [2023-08-02T09:54:02.890Z] ---> Running in 522c16eb0195 [2023-08-02T09:54:03.149Z] Removing intermediate container 522c16eb0195 [2023-08-02T09:54:03.149Z] ---> 2e7885b05131 [2023-08-02T09:54:03.149Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-02T09:54:03.149Z] ---> Running in 243bd6eb44c7 [2023-08-02T09:54:03.149Z] Removing intermediate container 243bd6eb44c7 [2023-08-02T09:54:03.149Z] ---> 74460286267b [2023-08-02T09:54:03.149Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-02T09:54:03.149Z] ---> Running in d506d5773f55 [2023-08-02T09:54:03.149Z] Removing intermediate container d506d5773f55 [2023-08-02T09:54:03.149Z] ---> 338a43a192c7 [2023-08-02T09:54:03.149Z] Step 23/25 : LABEL arch=amd64 [2023-08-02T09:54:03.149Z] ---> Running in 69a12a2cea57 [2023-08-02T09:54:03.149Z] Removing intermediate container 69a12a2cea57 [2023-08-02T09:54:03.149Z] ---> ea0244d45004 [2023-08-02T09:54:03.149Z] Step 24/25 : LABEL git_sha=643a97199c8bb7463189a86b2e8aee2523b299e7 [2023-08-02T09:54:03.408Z] ---> Running in 86456af76931 [2023-08-02T09:54:03.408Z] Removing intermediate container 86456af76931 [2023-08-02T09:54:03.408Z] ---> 0d1ffedd3819 [2023-08-02T09:54:03.408Z] Step 25/25 : LABEL version=0.0.0 [2023-08-02T09:54:03.408Z] ---> Running in 981a2b9658bd [2023-08-02T09:54:03.408Z] Removing intermediate container 981a2b9658bd [2023-08-02T09:54:03.408Z] ---> 3cf06e74ee62 [2023-08-02T09:54:03.408Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T09:54:03.408Z] Successfully built 3cf06e74ee62 [2023-08-02T09:54:03.408Z] 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-08-02T09:54:03.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:54:03.854Z] [2023-08-02T09:54:03.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:54:04.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:54:04.160Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-02T09:54:04.160Z] 5eb5b503b376: Pulling fs layer [2023-08-02T09:54:04.160Z] 5c69ac0246d0: Pulling fs layer [2023-08-02T09:54:04.160Z] ec43610c2a17: Pulling fs layer [2023-08-02T09:54:04.160Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-02T09:54:04.160Z] 33b1e0a273af: Pulling fs layer [2023-08-02T09:54:04.160Z] 5d3b04190fa2: Pulling fs layer [2023-08-02T09:54:04.160Z] 2f39f015ded8: Pulling fs layer [2023-08-02T09:54:04.160Z] 33b1e0a273af: Waiting [2023-08-02T09:54:04.160Z] 5d3b04190fa2: Waiting [2023-08-02T09:54:04.160Z] 2f39f015ded8: Waiting [2023-08-02T09:54:04.160Z] 3a2ae6a8a46f: Waiting [2023-08-02T09:54:04.160Z] 5c69ac0246d0: Download complete [2023-08-02T09:54:04.160Z] ec43610c2a17: Verifying Checksum [2023-08-02T09:54:04.160Z] ec43610c2a17: Download complete [2023-08-02T09:54:04.160Z] 33b1e0a273af: Verifying Checksum [2023-08-02T09:54:04.160Z] 33b1e0a273af: Download complete [2023-08-02T09:54:04.160Z] 5d3b04190fa2: Verifying Checksum [2023-08-02T09:54:04.160Z] 5d3b04190fa2: Download complete [2023-08-02T09:54:04.418Z] 5eb5b503b376: Verifying Checksum [2023-08-02T09:54:04.418Z] 5eb5b503b376: Download complete [2023-08-02T09:54:04.984Z] 2f39f015ded8: Verifying Checksum [2023-08-02T09:54:04.984Z] 2f39f015ded8: Download complete [2023-08-02T09:54:05.549Z] 5eb5b503b376: Pull complete [2023-08-02T09:54:05.549Z] 5c69ac0246d0: Pull complete [2023-08-02T09:54:06.112Z] ec43610c2a17: Pull complete [2023-08-02T09:54:06.112Z] 3a2ae6a8a46f: Pull complete [2023-08-02T09:54:06.371Z] 33b1e0a273af: Pull complete [2023-08-02T09:54:06.371Z] 5d3b04190fa2: Pull complete [2023-08-02T09:54:10.156Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2743 in /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] { [Pipeline] ws [2023-08-02T09:54:10.170Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2023-08-02T09:54:10.207Z] The recommended git tool is: git [2023-08-02T09:54:10.553Z] 2f39f015ded8: Pull complete [2023-08-02T09:54:10.553Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-02T09:54:10.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:54:10.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:54:10.631Z] prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container [2023-08-02T09:54:10.673Z] $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-02T09:54:14.566Z] $ docker top b9151b32810037fa2b33fd2faf4131179bb480f65be85e283df07e2ec4505fb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:54:14.949Z] ---> job-cost.sh [2023-08-02T09:54:14.949Z] lf-activate-venv: SKIPPING [2023-08-02T09:54:14.949Z] INFO: No Stack... [2023-08-02T09:54:15.207Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T09:54:15.466Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T09:54:15.734Z] using credential edgex-jenkins-ssh [2023-08-02T09:54:15.751Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-330/archives/cost.csv [2023-08-02T09:54:15.751Z] + cut -d, -f6 [2023-08-02T09:54:15.754Z] Cloning the remote Git repository [Pipeline] lock [2023-08-02T09:54:15.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [2023-08-02T09:54:15.768Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] did not exist. Created. [2023-08-02T09:54:15.768Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T09:54:16.075Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-02T09:54:16.093Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T09:54:16.104Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T09:54:16.131Z] $ docker stop --time=1 b9151b32810037fa2b33fd2faf4131179bb480f65be85e283df07e2ec4505fb1 [2023-08-02T09:54:15.792Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T09:54:15.883Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2023-08-02T09:54:16.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T09:54:16.057Z] > git --version # timeout=10 [2023-08-02T09:54:16.088Z] > git --version # 'git version 2.25.1' [2023-08-02T09:54:16.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:54:16.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T09:54:17.262Z] $ docker rm -f --volumes b9151b32810037fa2b33fd2faf4131179bb480f65be85e283df07e2ec4505fb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-02T09:54:18.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-02T09:54:18.155Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T09:54:19.720Z] Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit 643a97199c8bb7463189a86b2e8aee2523b299e7 [2023-08-02T09:54:19.993Z] Merge succeeded, producing 643a97199c8bb7463189a86b2e8aee2523b299e7 [2023-08-02T09:54:19.994Z] Checking out Revision 643a97199c8bb7463189a86b2e8aee2523b299e7 (PR-330) [2023-08-02T09:54:19.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-02T09:54:19.061Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T09:54:19.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:54:19.084Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-02T09:54:19.732Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T09:54:19.801Z] > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # timeout=10 [2023-08-02T09:54:19.888Z] > git remote # timeout=10 [2023-08-02T09:54:19.907Z] > git config --get remote.origin.url # timeout=10 [2023-08-02T09:54:19.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:54:19.939Z] > git merge 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 [2023-08-02T09:54:19.967Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-02T09:54:19.993Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T09:54:20.015Z] > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # timeout=10 [2023-08-02T09:54:23.506Z] Commit message: "fix: Range check for float64/32 equal to 0.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:54:24.336Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-02T09:54:24.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T09:54:24.336Z] Dload Upload Total Spent Left Speed [2023-08-02T09:54:24.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2023-08-02T09:54:25.042Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-02T09:54:25.381Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-02T09:54:25.381Z] + sudo tee /etc/docker/daemon.new [2023-08-02T09:54:25.381Z] { [2023-08-02T09:54:25.381Z] "registry-mirrors": [ [2023-08-02T09:54:25.381Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-02T09:54:25.381Z] ], [2023-08-02T09:54:25.381Z] "bip": "10.250.0.254/24", [2023-08-02T09:54:25.381Z] "hosts": [ [2023-08-02T09:54:25.381Z] "tcp://0.0.0.0:5555", [2023-08-02T09:54:25.381Z] "unix:///var/run/docker.sock" [2023-08-02T09:54:25.381Z] ], [2023-08-02T09:54:25.381Z] "mtu": 1458, [2023-08-02T09:54:25.381Z] "selinux-enabled": true, [2023-08-02T09:54:25.381Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-02T09:54:25.381Z] } [Pipeline] sh [2023-08-02T09:54:25.713Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-02T09:54:26.057Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:54:48.170Z] provisioning config files... [2023-08-02T09:54:48.198Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config14725237155093070056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:54:48.543Z] ---> docker-login.sh [2023-08-02T09:54:48.543Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:54:48.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:54:49.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:54:49.089Z] Configure a credential helper to remove this warning. See [2023-08-02T09:54:49.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:54:49.089Z] [2023-08-02T09:54:49.089Z] Login Succeeded [2023-08-02T09:54:49.089Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:54:49.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:54:49.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:54:49.629Z] Configure a credential helper to remove this warning. See [2023-08-02T09:54:49.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:54:49.629Z] [2023-08-02T09:54:49.629Z] Login Succeeded [2023-08-02T09:54:49.629Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:54:49.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:54:49.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:54:49.898Z] Configure a credential helper to remove this warning. See [2023-08-02T09:54:49.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:54:49.898Z] [2023-08-02T09:54:49.898Z] Login Succeeded [2023-08-02T09:54:49.898Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:54:50.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:54:50.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:54:50.170Z] Configure a credential helper to remove this warning. See [2023-08-02T09:54:50.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:54:50.170Z] [2023-08-02T09:54:50.170Z] Login Succeeded [2023-08-02T09:54:50.170Z] docker.io [2023-08-02T09:54:50.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:54:50.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:54:50.706Z] Configure a credential helper to remove this warning. See [2023-08-02T09:54:50.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:54:50.706Z] [2023-08-02T09:54:50.706Z] Login Succeeded [2023-08-02T09:54:50.706Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:54:50.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T09:54:50.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:54:50.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:54:50.983Z] ========================================================= [2023-08-02T09:54:50.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-02T09:54:50.983Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:54:51.316Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-02T09:54:51.316Z] Sending build context to Docker daemon 142.3kB [2023-08-02T09:54:51.584Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:54:51.584Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-02T09:54:51.584Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-02T09:54:51.584Z] edb6bdbacee9: Pulling fs layer [2023-08-02T09:54:51.584Z] 5f9638ab2659: Pulling fs layer [2023-08-02T09:54:51.584Z] 8d51d6327a98: Pulling fs layer [2023-08-02T09:54:51.584Z] 8b374f2dd631: Pulling fs layer [2023-08-02T09:54:51.584Z] ec14aa9079de: Pulling fs layer [2023-08-02T09:54:51.584Z] 2f466654f4bb: Pulling fs layer [2023-08-02T09:54:51.584Z] 554e91adad29: Pulling fs layer [2023-08-02T09:54:51.584Z] 8b374f2dd631: Waiting [2023-08-02T09:54:51.584Z] ec14aa9079de: Waiting [2023-08-02T09:54:51.584Z] 2f466654f4bb: Waiting [2023-08-02T09:54:51.584Z] 554e91adad29: Waiting [2023-08-02T09:54:51.859Z] 5f9638ab2659: Verifying Checksum [2023-08-02T09:54:51.859Z] 5f9638ab2659: Download complete [2023-08-02T09:54:51.859Z] 8b374f2dd631: Download complete [2023-08-02T09:54:51.859Z] ec14aa9079de: Verifying Checksum [2023-08-02T09:54:51.859Z] ec14aa9079de: Download complete [2023-08-02T09:54:51.859Z] edb6bdbacee9: Verifying Checksum [2023-08-02T09:54:52.847Z] edb6bdbacee9: Pull complete [2023-08-02T09:54:53.118Z] 554e91adad29: Verifying Checksum [2023-08-02T09:54:53.118Z] 554e91adad29: Download complete [2023-08-02T09:54:53.392Z] 5f9638ab2659: Pull complete [2023-08-02T09:54:54.363Z] 8d51d6327a98: Verifying Checksum [2023-08-02T09:54:54.363Z] 8d51d6327a98: Download complete [2023-08-02T09:54:54.363Z] 2f466654f4bb: Verifying Checksum [2023-08-02T09:54:54.363Z] 2f466654f4bb: Download complete [2023-08-02T09:55:04.448Z] 8d51d6327a98: Pull complete [2023-08-02T09:55:04.448Z] 8b374f2dd631: Pull complete [2023-08-02T09:55:04.448Z] ec14aa9079de: Pull complete [2023-08-02T09:55:12.674Z] 2f466654f4bb: Pull complete [2023-08-02T09:55:14.099Z] 554e91adad29: Pull complete [2023-08-02T09:55:14.367Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-02T09:55:14.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-02T09:55:14.367Z] ---> 1e15ea492957 [2023-08-02T09:55:14.367Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:55:16.312Z] ---> Running in 7c7590eee5fc [2023-08-02T09:55:16.312Z] Removing intermediate container 7c7590eee5fc [2023-08-02T09:55:16.312Z] ---> e40fb16f53a7 [2023-08-02T09:55:16.312Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:55:16.312Z] ---> Running in 1656cfe609d4 [2023-08-02T09:55:16.897Z] Removing intermediate container 1656cfe609d4 [2023-08-02T09:55:16.897Z] ---> d321ef85a54f [2023-08-02T09:55:16.897Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:55:16.897Z] ---> Running in 0af231752558 [2023-08-02T09:55:17.165Z] Removing intermediate container 0af231752558 [2023-08-02T09:55:17.165Z] ---> edade3cd2131 [2023-08-02T09:55:17.165Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:55:17.165Z] ---> Running in 6319ea6404c4 [2023-08-02T09:55:17.436Z] Removing intermediate container 6319ea6404c4 [2023-08-02T09:55:17.436Z] ---> ab87db25712b [2023-08-02T09:55:17.436Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:55:17.436Z] ---> Running in 26abd8ab034d [2023-08-02T09:55:18.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:55:19.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:55:20.074Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-02T09:55:20.074Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-02T09:55:20.074Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-02T09:55:20.341Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-02T09:55:20.341Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T09:55:20.341Z] OK: 268 MiB in 57 packages [2023-08-02T09:55:21.308Z] Removing intermediate container 26abd8ab034d [2023-08-02T09:55:21.308Z] ---> 3f7e8f7b6a7e [2023-08-02T09:55:21.308Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-02T09:55:21.308Z] ---> Running in 44c2fbce8308 [2023-08-02T09:55:21.589Z] Removing intermediate container 44c2fbce8308 [2023-08-02T09:55:21.589Z] ---> 76b34595a967 [2023-08-02T09:55:21.589Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-02T09:55:22.175Z] ---> 5b6a323d154b [2023-08-02T09:55:22.175Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:55:22.175Z] ---> Running in 1ad739461834 [2023-08-02T09:56:30.154Z] Removing intermediate container 1ad739461834 [2023-08-02T09:56:30.154Z] ---> f212870c1c80 [2023-08-02T09:56:30.154Z] Step 11/12 : COPY . . [2023-08-02T09:56:30.154Z] ---> fe59d95eb643 [2023-08-02T09:56:30.154Z] Step 12/12 : RUN $MAKE [2023-08-02T09:56:30.154Z] ---> Running in 02c863af49c2 [2023-08-02T09:56:30.154Z] noop [2023-08-02T09:56:30.154Z] Removing intermediate container 02c863af49c2 [2023-08-02T09:56:30.154Z] ---> 58a014769b0b [2023-08-02T09:56:30.154Z] Successfully built 58a014769b0b [2023-08-02T09:56:30.154Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:56:30.497Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T09:56:30.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:56:30.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-2743 does not seem to be running inside a container [2023-08-02T09:56:30.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-08-02T09:56:31.994Z] $ docker top 41266e3f91589ce3253416b679a2bba490563ba03f6c03f2f779fc002bf47336 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:56:32.834Z] + go version [2023-08-02T09:56:32.834Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-02T09:56:32.854Z] $ docker stop --time=1 41266e3f91589ce3253416b679a2bba490563ba03f6c03f2f779fc002bf47336 [2023-08-02T09:56:34.466Z] $ docker rm -f --volumes 41266e3f91589ce3253416b679a2bba490563ba03f6c03f2f779fc002bf47336 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:56:35.003Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T09:56:35.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:56:35.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-2743 does not seem to be running inside a container [2023-08-02T09:56:35.250Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-08-02T09:56:36.405Z] $ docker top 609b3892619e54b591af51e46868e071a34817a7581f10bfafa7ea0ea0d22e81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:56:36.897Z] + git config --global --add safe.directory /w/workspace/device-rest-go/4 [Pipeline] fileExists [Pipeline] sh [2023-08-02T09:56:37.229Z] + make test [2023-08-02T09:56:37.229Z] go test ./... -coverprofile=coverage.out ./... [2023-08-02T09:57:09.447Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-02T09:59:01.104Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-02T09:59:01.104Z] ok github.com/edgexfoundry/device-rest-go/driver 0.126s coverage: 32.2% of statements [2023-08-02T09:59:01.104Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-02T09:59:01.104Z] go vet ./... [2023-08-02T09:59:33.322Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T09:59:33.322Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T09:59:33.322Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-02T09:59:33.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T09:59:33.359Z] $ docker stop --time=1 609b3892619e54b591af51e46868e071a34817a7581f10bfafa7ea0ea0d22e81 [2023-08-02T09:59:35.389Z] $ docker rm -f --volumes 609b3892619e54b591af51e46868e071a34817a7581f10bfafa7ea0ea0d22e81 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:59:36.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T09:59:36.682Z] Warning: overwriting stash ‘coverage-report’ [2023-08-02T09:59:37.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:59:37.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T09:59:37.906Z] + ls -al . [2023-08-02T09:59:37.906Z] total 180 [2023-08-02T09:59:37.906Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:56 . [2023-08-02T09:59:37.906Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:54 .. [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 09:54 .dockerignore [2023-08-02T09:59:37.906Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:54 .git [2023-08-02T09:59:37.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:54 .github [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 09:54 .gitignore [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 09:54 .golangci.yml [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 09:54 Attribution.txt [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 09:54 CHANGELOG.md [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 09:54 Dockerfile [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:54 GOVERNANCE.md [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 09:54 Jenkinsfile [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 09:54 LICENSE [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 09:54 Makefile [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 09:54 OWNERS.md [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 09:54 README.md [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:52 VERSION [2023-08-02T09:59:37.906Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:54 bin [2023-08-02T09:59:37.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:54 cmd [2023-08-02T09:59:37.906Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 09:58 coverage.out [2023-08-02T09:59:37.906Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:54 driver [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 09:54 go.mod [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 09:54 go.sum [2023-08-02T09:59:37.906Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:54 snap [2023-08-02T09:59:37.906Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 09:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:59:38.246Z] + 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=643a97199c8bb7463189a86b2e8aee2523b299e7 --label arch=arm64 --label version=0.0.0 . [2023-08-02T09:59:38.247Z] Sending build context to Docker daemon 157.7kB [2023-08-02T09:59:38.513Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:59:38.513Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-02T09:59:38.513Z] ---> 58a014769b0b [2023-08-02T09:59:38.513Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:59:41.096Z] ---> Running in 4fc7d694ea61 [2023-08-02T09:59:41.096Z] Removing intermediate container 4fc7d694ea61 [2023-08-02T09:59:41.096Z] ---> 747e194a706f [2023-08-02T09:59:41.096Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:59:41.096Z] ---> Running in 38a3433c6bec [2023-08-02T09:59:41.368Z] Removing intermediate container 38a3433c6bec [2023-08-02T09:59:41.368Z] ---> ad306dde5b38 [2023-08-02T09:59:41.368Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:59:41.635Z] ---> Running in 1492ca325de7 [2023-08-02T09:59:42.219Z] Removing intermediate container 1492ca325de7 [2023-08-02T09:59:42.219Z] ---> 5dc84d462053 [2023-08-02T09:59:42.219Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:59:42.219Z] ---> Running in 259f2f851e84 [2023-08-02T09:59:42.953Z] Removing intermediate container 259f2f851e84 [2023-08-02T09:59:42.953Z] ---> f9b5d0a84de0 [2023-08-02T09:59:42.953Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:59:42.953Z] ---> Running in ce93ed94e197 [2023-08-02T09:59:44.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:59:45.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:59:46.270Z] OK: 268 MiB in 57 packages [2023-08-02T09:59:47.698Z] Removing intermediate container ce93ed94e197 [2023-08-02T09:59:47.698Z] ---> e4f10d503deb [2023-08-02T09:59:47.698Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-02T09:59:47.698Z] ---> Running in c63276f2f707 [2023-08-02T09:59:49.112Z] Removing intermediate container c63276f2f707 [2023-08-02T09:59:49.112Z] ---> b7ac956431bf [2023-08-02T09:59:49.112Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-02T09:59:49.701Z] ---> 1432fb4f0948 [2023-08-02T09:59:49.701Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:59:49.701Z] ---> Running in 1378bf26b4e6 [2023-08-02T09:59:53.994Z] Removing intermediate container 1378bf26b4e6 [2023-08-02T09:59:53.994Z] ---> 1693d6e731ef [2023-08-02T09:59:53.994Z] Step 11/25 : COPY . . [2023-08-02T09:59:54.584Z] ---> 5c1d0ef69991 [2023-08-02T09:59:54.584Z] Step 12/25 : RUN $MAKE [2023-08-02T09:59:54.855Z] ---> Running in 4255a694c3f1 [2023-08-02T09:59:55.829Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-02T10:02:17.608Z] Removing intermediate container 4255a694c3f1 [2023-08-02T10:02:17.608Z] ---> 2998fb533746 [2023-08-02T10:02:17.608Z] Step 13/25 : FROM alpine:3.17 [2023-08-02T10:02:17.608Z] 3.17: Pulling from library/alpine [2023-08-02T10:02:17.608Z] edb6bdbacee9: Already exists [2023-08-02T10:02:17.608Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T10:02:17.608Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T10:02:17.608Z] ---> 779605e5fbc0 [2023-08-02T10:02:17.608Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T10:02:17.608Z] ---> Running in 25ee6233e990 [2023-08-02T10:02:17.608Z] Removing intermediate container 25ee6233e990 [2023-08-02T10:02:17.608Z] ---> 546c518dad16 [2023-08-02T10:02:17.608Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-02T10:02:17.608Z] ---> Running in 73e3be7d601f [2023-08-02T10:02:17.608Z] Removing intermediate container 73e3be7d601f [2023-08-02T10:02:17.608Z] ---> 2e5c59e09ae2 [2023-08-02T10:02:17.608Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-02T10:02:17.608Z] ---> Running in b5af8ba340bd [2023-08-02T10:02:17.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T10:02:17.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T10:02:17.608Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-02T10:02:17.608Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T10:02:17.608Z] OK: 8 MiB in 16 packages [2023-08-02T10:02:17.608Z] Removing intermediate container b5af8ba340bd [2023-08-02T10:02:17.608Z] ---> a3ed2fed6a3d [2023-08-02T10:02:17.608Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-02T10:02:17.608Z] ---> d79bdcba47ff [2023-08-02T10:02:17.608Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-02T10:02:17.608Z] ---> 97ba09eb728b [2023-08-02T10:02:17.608Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-02T10:02:17.608Z] ---> aa7f646d40ef [2023-08-02T10:02:17.608Z] Step 20/25 : EXPOSE 59986 [2023-08-02T10:02:17.608Z] ---> Running in 1053e55bbf90 [2023-08-02T10:02:17.608Z] Removing intermediate container 1053e55bbf90 [2023-08-02T10:02:17.608Z] ---> f1642322ffb6 [2023-08-02T10:02:17.608Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-02T10:02:17.608Z] ---> Running in 6cdd49306cfa [2023-08-02T10:02:17.608Z] Removing intermediate container 6cdd49306cfa [2023-08-02T10:02:17.608Z] ---> 897fff760c17 [2023-08-02T10:02:17.608Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-02T10:02:17.608Z] ---> Running in f7ef02d5a125 [2023-08-02T10:02:17.608Z] Removing intermediate container f7ef02d5a125 [2023-08-02T10:02:17.608Z] ---> c1be76275ae1 [2023-08-02T10:02:17.608Z] Step 23/25 : LABEL arch=arm64 [2023-08-02T10:02:17.608Z] ---> Running in ced6310d8492 [2023-08-02T10:02:17.609Z] Removing intermediate container ced6310d8492 [2023-08-02T10:02:17.609Z] ---> 1ccf728617d0 [2023-08-02T10:02:17.609Z] Step 24/25 : LABEL git_sha=643a97199c8bb7463189a86b2e8aee2523b299e7 [2023-08-02T10:02:17.609Z] ---> Running in 250438e509a1 [2023-08-02T10:02:17.609Z] Removing intermediate container 250438e509a1 [2023-08-02T10:02:17.609Z] ---> 0b4625588276 [2023-08-02T10:02:17.609Z] Step 25/25 : LABEL version=0.0.0 [2023-08-02T10:02:17.609Z] ---> Running in 3f79124dfbda [2023-08-02T10:02:17.609Z] Removing intermediate container 3f79124dfbda [2023-08-02T10:02:17.609Z] ---> eea1758e67a8 [2023-08-02T10:02:17.609Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T10:02:17.609Z] Successfully built eea1758e67a8 [2023-08-02T10:02:17.609Z] 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-08-02T10:02:18.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T10:02:18.047Z] [2023-08-02T10:02:18.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T10:02:18.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T10:02:18.376Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-02T10:02:18.376Z] 8998bd30e6a1: Pulling fs layer [2023-08-02T10:02:18.376Z] 04944245beec: Pulling fs layer [2023-08-02T10:02:18.376Z] 699f458cf7ca: Pulling fs layer [2023-08-02T10:02:18.376Z] 765212b225bb: Pulling fs layer [2023-08-02T10:02:18.376Z] f23df028b6ca: Pulling fs layer [2023-08-02T10:02:18.376Z] d65c8cfc05b1: Pulling fs layer [2023-08-02T10:02:18.376Z] 2437ff75d9bd: Pulling fs layer [2023-08-02T10:02:18.376Z] f23df028b6ca: Waiting [2023-08-02T10:02:18.376Z] d65c8cfc05b1: Waiting [2023-08-02T10:02:18.376Z] 2437ff75d9bd: Waiting [2023-08-02T10:02:18.376Z] 765212b225bb: Waiting [2023-08-02T10:02:18.644Z] 04944245beec: Verifying Checksum [2023-08-02T10:02:18.644Z] 04944245beec: Download complete [2023-08-02T10:02:18.644Z] 765212b225bb: Verifying Checksum [2023-08-02T10:02:18.644Z] 765212b225bb: Download complete [2023-08-02T10:02:18.644Z] f23df028b6ca: Verifying Checksum [2023-08-02T10:02:18.644Z] f23df028b6ca: Download complete [2023-08-02T10:02:18.644Z] d65c8cfc05b1: Verifying Checksum [2023-08-02T10:02:18.644Z] d65c8cfc05b1: Download complete [2023-08-02T10:02:18.644Z] 699f458cf7ca: Verifying Checksum [2023-08-02T10:02:18.644Z] 699f458cf7ca: Download complete [2023-08-02T10:02:19.230Z] 8998bd30e6a1: Download complete [2023-08-02T10:02:21.834Z] 2437ff75d9bd: Download complete [2023-08-02T10:02:23.243Z] 8998bd30e6a1: Pull complete [2023-08-02T10:02:23.840Z] 04944245beec: Pull complete [2023-08-02T10:02:25.248Z] 699f458cf7ca: Pull complete [2023-08-02T10:02:25.248Z] 765212b225bb: Pull complete [2023-08-02T10:02:26.210Z] f23df028b6ca: Pull complete [2023-08-02T10:02:26.477Z] d65c8cfc05b1: Pull complete [2023-08-02T10:02:41.471Z] 2437ff75d9bd: Pull complete [2023-08-02T10:02:41.471Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-02T10:02:41.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T10:02:41.471Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T10:02:41.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-2743 does not seem to be running inside a container [2023-08-02T10:02:41.730Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-02T10:02:44.448Z] $ docker top 54e072a84680baa88a02581b72a14770447ab2bb5ec7dfce5d34fcdd46a7faef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:45.285Z] ---> job-cost.sh [2023-08-02T10:02:45.285Z] lf-activate-venv: SKIPPING [2023-08-02T10:02:45.285Z] INFO: No Stack... [2023-08-02T10:02:45.866Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-02T10:02:46.450Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T10:02:46.770Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2023-08-02T10:02:46.771Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T10:02:47.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [2023-08-02T10:02:47.112Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] did not exist. Created. [2023-08-02T10:02:47.112Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T10:02:47.766Z] /w/workspace/device-rest-go/4@tmp/durable-d12756f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-02T10:02:48.415Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-02T10:02:48.435Z] Warning: overwriting stash ‘stack-cost’ [2023-08-02T10:02:48.482Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T10:02:48.490Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T10:02:48.512Z] $ docker stop --time=1 54e072a84680baa88a02581b72a14770447ab2bb5ec7dfce5d34fcdd46a7faef [2023-08-02T10:02:50.537Z] $ docker rm -f --volumes 54e072a84680baa88a02581b72a14770447ab2bb5ec7dfce5d34fcdd46a7faef [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-08-02T10:02:50.910Z] provisioning config files... [2023-08-02T10:02:50.919Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config13579473521003279376tmp [Pipeline] { [Pipeline] sh [2023-08-02T10:02:51.209Z] + set +x [2023-08-02T10:02:51.209Z] + bash -s -- [2023-08-02T10:02:51.209Z] + curl -s https://codecov.io/bash [2023-08-02T10:02:51.209Z] [2023-08-02T10:02:51.209Z] _____ _ [2023-08-02T10:02:51.209Z] / ____| | | [2023-08-02T10:02:51.209Z] | | ___ __| | ___ ___ _____ __ [2023-08-02T10:02:51.209Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-02T10:02:51.209Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-02T10:02:51.209Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-02T10:02:51.209Z] Bash-1.0.6 [2023-08-02T10:02:51.209Z] [2023-08-02T10:02:51.209Z] [2023-08-02T10:02:51.209Z] ==> git version 2.25.1 found [2023-08-02T10:02:51.209Z] ==> 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-08-02T10:02:51.209Z] Release-Date: 2020-01-08 [2023-08-02T10:02:51.209Z] 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-08-02T10:02:51.209Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-02T10:02:51.209Z] ==> Jenkins CI detected. [2023-08-02T10:02:51.209Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-330 [2023-08-02T10:02:51.209Z] project root: . [2023-08-02T10:02:51.209Z] --> token set from env [2023-08-02T10:02:51.209Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-02T10:02:51.209Z] ==> Running gcov in . (disable via -X gcov) [2023-08-02T10:02:51.209Z] ==> Python coveragepy not found [2023-08-02T10:02:51.209Z] ==> Searching for coverage reports in: [2023-08-02T10:02:51.209Z] + . [2023-08-02T10:02:51.468Z] -> Found 1 reports [2023-08-02T10:02:51.468Z] ==> Detecting git/mercurial file structure [2023-08-02T10:02:51.468Z] ==> Reading reports [2023-08-02T10:02:51.468Z] + ./coverage.out bytes=14656 [2023-08-02T10:02:51.468Z] ==> Appending adjustments [2023-08-02T10:02:51.468Z] https://docs.codecov.io/docs/fixing-reports [2023-08-02T10:02:51.468Z] + Found adjustments [2023-08-02T10:02:51.468Z] ==> Gzipping contents [2023-08-02T10:02:51.468Z] 4.0K /tmp/codecov.bu6wd3.gz [2023-08-02T10:02:51.468Z] ==> Uploading reports [2023-08-02T10:02:51.468Z] url: https://codecov.io [2023-08-02T10:02:51.468Z] query: branch=PR-330&commit=643a97199c8bb7463189a86b2e8aee2523b299e7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-330%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=330&job=&cmd_args= [2023-08-02T10:02:51.468Z] -> Pinging Codecov [2023-08-02T10:02:51.468Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-330&commit=643a97199c8bb7463189a86b2e8aee2523b299e7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-330%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=330&job=&cmd_args= [2023-08-02T10:02:51.727Z] -> Uploading to [2023-08-02T10:02:51.727Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-02/4E5D53B4F1F92C436F7061BF334D961C/643a97199c8bb7463189a86b2e8aee2523b299e7/312bfb1d-7572-44ea-af62-3276026fe298.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230802T100251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=849c745309c6d3de45bc2c89f5333131361acf8f648a92ca90b8797e5811c589 [2023-08-02T10:02:51.728Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T10:02:51.728Z] Dload Upload Total Spent Left Speed [2023-08-02T10:02:51.728Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 14745 --:--:-- --:--:-- --:--:-- 14658 100 2492 0 0 100 2492 0 14745 --:--:-- --:--:-- --:--:-- 14658 [2023-08-02T10:02:51.728Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] } [2023-08-02T10:02:51.735Z] 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-08-02T10:02:52.422Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-330/archives ] [2023-08-02T10:02:52.422Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T10:02:52.422Z] total 16 [2023-08-02T10:02:52.422Z] drwxr-xr-x 3 root root 4096 Aug 2 09:54 . [2023-08-02T10:02:52.422Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:54 .. [2023-08-02T10:02:52.422Z] drwxr-xr-x 2 root root 4096 Aug 2 09:54 cost [2023-08-02T10:02:52.422Z] -rw-r--r-- 1 root root 86 Aug 2 09:54 cost.csv [2023-08-02T10:02:52.422Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T10:02:52.422Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T10:02:52.422Z] total 16 [2023-08-02T10:02:52.422Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:54 . [2023-08-02T10:02:52.422Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:54 .. [2023-08-02T10:02:52.422Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 09:54 cost [2023-08-02T10:02:52.422Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 2 09:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:52.713Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:53.567Z] ---> package-listing.sh [2023-08-02T10:02:53.567Z] ++ facter osfamily [2023-08-02T10:02:53.567Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-02T10:02:53.826Z] + OS_FAMILY=debian [2023-08-02T10:02:53.826Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-330 [2023-08-02T10:02:53.826Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-02T10:02:53.826Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-02T10:02:53.826Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-02T10:02:53.826Z] + PACKAGES=/tmp/packages_start.txt [2023-08-02T10:02:53.826Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' [2023-08-02T10:02:53.826Z] + PACKAGES=/tmp/packages_end.txt [2023-08-02T10:02:53.826Z] + case "${OS_FAMILY}" in [2023-08-02T10:02:53.826Z] + dpkg -l [2023-08-02T10:02:53.826Z] + grep '^ii' [2023-08-02T10:02:53.826Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-02T10:02:53.826Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-02T10:02:53.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-02T10:02:53.826Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' [2023-08-02T10:02:53.826Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ [2023-08-02T10:02:53.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ [Pipeline] echo [2023-08-02T10:02:53.836Z] 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-02T10:02:54.112Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T10:02:54.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T10:02:54.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T10:02:54.738Z] prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container [2023-08-02T10:02:54.777Z] $ 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-330/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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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-08-02T10:02:54.966Z] $ docker top fd9f04beac84d800d025b50d63ba368b5acfce6372aa2fc7e6b1c5ba73269ac1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T10:02:55.296Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-02T10:02:55.582Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-02T10:02:55.867Z] + ls /var/log/sa-host [2023-08-02T10:02:55.867Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T10:02:56.019Z] provisioning config files... [2023-08-02T10:02:56.026Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config10151428274261493866tmp [Pipeline] { [Pipeline] echo [2023-08-02T10:02:56.041Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:56.323Z] ---> create-netrc.sh [Pipeline] } [2023-08-02T10:02:56.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:56.666Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-02T10:02:56.674Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:56.956Z] ---> sudo-logs.sh [2023-08-02T10:02:56.956Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-02T10:02:56.983Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:57.264Z] ---> job-cost.sh [2023-08-02T10:02:57.264Z] lf-activate-venv: SKIPPING [2023-08-02T10:02:57.264Z] DEBUG: total: 0.2199999988079071 [2023-08-02T10:02:57.264Z] INFO: Retrieving Stack Cost... [2023-08-02T10:02:57.523Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T10:02:58.091Z] INFO: Archiving Costs [Pipeline] echo [2023-08-02T10:02:58.100Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T10:02:58.381Z] ---> logs-deploy.sh [2023-08-02T10:02:58.381Z] lf-activate-venv: SKIPPING [2023-08-02T10:02:58.381Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-330/4 [2023-08-02T10:02:58.381Z] INFO: archiving workspace using pattern(s): [2023-08-02T10:02:59.317Z] Archives upload complete. [2023-08-02T10:02:59.317Z] INFO: archiving logs to Nexus