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 37fb718cbaf2c761f5228c453cbd3f7c499322ad 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-ssh16708397747898728313.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-ssh3073962041173163792.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-ssh4089873492065686972.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-ssh13727609189473211293.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-ssh2172889684413695777.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-2736 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 37fb718cbaf2c761f5228c453cbd3f7c499322ad Merge succeeded, producing 37fb718cbaf2c761f5228c453cbd3f7c499322ad Checking out Revision 37fb718cbaf2c761f5228c453cbd3f7c499322ad (PR-330) > git config core.sparsecheckout # timeout=10 > git checkout -f 37fb718cbaf2c761f5228c453cbd3f7c499322ad # 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 37fb718cbaf2c761f5228c453cbd3f7c499322ad # timeout=10 Commit message: "fix: Add test case for floats equal 0.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-02T09:05:45.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-02T09:05:45.651Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-02T09:05:45.674Z] ========================================================= [2023-08-02T09:05:45.674Z] EdgeX Global Pipelines Version Info [2023-08-02T09:05:45.674Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 # timeout=10 [2023-08-02T09:05:46.769Z] ------------------- [2023-08-02T09:05:46.769Z] stable info: [2023-08-02T09:05:46.769Z] ------------------- [2023-08-02T09:05:46.769Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-02T09:05:46.769Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T09:05:46.769Z] Message: update stable to v1.0.250 [2023-08-02T09:05:47.030Z] ------------------- [2023-08-02T09:05:47.030Z] experimental info: [2023-08-02T09:05:47.030Z] ------------------- [2023-08-02T09:05:47.030Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-02T09:05:47.030Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T09:05:47.030Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-02T09:05:47.193Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-02T09:05:47.203Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-02T09:05:47.212Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-02T09:05:47.221Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-02T09:05:47.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-02T09:05:47.239Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-02T09:05:47.261Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-02T09:05:47.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-02T09:05:47.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-02T09:05:47.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-02T09:05:47.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-02T09:05:47.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-02T09:05:47.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-02T09:05:47.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-02T09:05:47.402Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T09:05:47.413Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T09:05:47.426Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T09:05:47.440Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T09:05:47.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-02T09:05:47.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-02T09:05:47.476Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-02T09:05:47.490Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-02T09:05:47.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-02T09:05:47.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-02T09:05:47.550Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-02T09:05:47.564Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-02T09:05:47.583Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-02T09:05:47.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo [2023-08-02T09:05:47.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo [2023-08-02T09:05:47.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo [2023-08-02T09:05:47.655Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37fb718cbaf2c761f5228c453cbd3f7c499322ad [Pipeline] echo [2023-08-02T09:05:47.670Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37fb718 [Pipeline] echo [2023-08-02T09:05:47.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:05:47.732Z] provisioning config files... [2023-08-02T09:05:47.746Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config15965186979793073320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:05:48.070Z] ---> docker-login.sh [2023-08-02T09:05:48.071Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:05:48.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:05:48.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:05:48.334Z] Configure a credential helper to remove this warning. See [2023-08-02T09:05:48.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:05:48.334Z] [2023-08-02T09:05:48.334Z] Login Succeeded [2023-08-02T09:05:48.334Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:05:48.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:05:48.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:05:48.334Z] Configure a credential helper to remove this warning. See [2023-08-02T09:05:48.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:05:48.334Z] [2023-08-02T09:05:48.334Z] Login Succeeded [2023-08-02T09:05:48.334Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:05:48.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:05:48.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:05:48.595Z] Configure a credential helper to remove this warning. See [2023-08-02T09:05:48.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:05:48.595Z] [2023-08-02T09:05:48.595Z] Login Succeeded [2023-08-02T09:05:48.595Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:05:48.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:05:48.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:05:48.595Z] Configure a credential helper to remove this warning. See [2023-08-02T09:05:48.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:05:48.595Z] [2023-08-02T09:05:48.595Z] Login Succeeded [2023-08-02T09:05:48.595Z] docker.io [2023-08-02T09:05:48.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:05:48.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:05:48.855Z] Configure a credential helper to remove this warning. See [2023-08-02T09:05:48.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:05:48.855Z] [2023-08-02T09:05:48.855Z] Login Succeeded [2023-08-02T09:05:48.855Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:05:48.862Z] 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:05:49.239Z] + git rev-list -1 --merges 37fb718cbaf2c761f5228c453cbd3f7c499322ad~1..37fb718cbaf2c761f5228c453cbd3f7c499322ad [Pipeline] echo [2023-08-02T09:05:49.290Z] -----------> git rev-list -1 --merges 37fb718cbaf2c761f5228c453cbd3f7c499322ad~1..37fb718cbaf2c761f5228c453cbd3f7c499322ad 37fb718cbaf2c761f5228c453cbd3f7c499322ad [false] [Pipeline] sh [2023-08-02T09:05:49.574Z] + git log --format=format:%s -1 37fb718cbaf2c761f5228c453cbd3f7c499322ad [Pipeline] echo [2023-08-02T09:05:49.587Z] ========================================================= [2023-08-02T09:05:49.587Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-02T09:05:49.587Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:05:49.919Z] + git log --format=format:%s -1 37fb718cbaf2c761f5228c453cbd3f7c499322ad [Pipeline] echo [2023-08-02T09:05:49.929Z] [semverPrep] GIT_COMMIT: 37fb718cbaf2c761f5228c453cbd3f7c499322ad, Commit Message: fix: Add test case for floats equal 0.0 [Pipeline] echo [2023-08-02T09:05:49.941Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-02T09:05:50.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T09:05:50.282Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-02T09:05:50.282Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-02T09:05:50.282Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-02T09:05:50.282Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-02T09:05:50.282Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-02T09:05:50.282Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:05:50.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:05:50.635Z] [2023-08-02T09:05:50.635Z] 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:05:50.938Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:05:50.938Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-02T09:05:50.938Z] b85a868b505f: Pulling fs layer [2023-08-02T09:05:50.938Z] e2be974225ed: Pulling fs layer [2023-08-02T09:05:50.938Z] 339a4e72a1f5: Pulling fs layer [2023-08-02T09:05:50.938Z] 988bab9f4d93: Pulling fs layer [2023-08-02T09:05:50.938Z] 1469e6f7b9e6: Pulling fs layer [2023-08-02T09:05:50.938Z] eaf3925da568: Pulling fs layer [2023-08-02T09:05:50.938Z] bab4dde63d76: Pulling fs layer [2023-08-02T09:05:50.938Z] bde34c3a00c8: Pulling fs layer [2023-08-02T09:05:50.938Z] b352a97aabf1: Pulling fs layer [2023-08-02T09:05:50.938Z] 4872d77fe225: Pulling fs layer [2023-08-02T09:05:50.938Z] 5851b861e8e6: Pulling fs layer [2023-08-02T09:05:50.938Z] bab4dde63d76: Waiting [2023-08-02T09:05:50.938Z] bde34c3a00c8: Waiting [2023-08-02T09:05:50.938Z] b352a97aabf1: Waiting [2023-08-02T09:05:50.938Z] 4872d77fe225: Waiting [2023-08-02T09:05:50.938Z] 5851b861e8e6: Waiting [2023-08-02T09:05:50.938Z] 988bab9f4d93: Waiting [2023-08-02T09:05:50.938Z] 1469e6f7b9e6: Waiting [2023-08-02T09:05:50.938Z] eaf3925da568: Waiting [2023-08-02T09:05:50.938Z] e2be974225ed: Verifying Checksum [2023-08-02T09:05:50.938Z] e2be974225ed: Download complete [2023-08-02T09:05:50.938Z] 988bab9f4d93: Verifying Checksum [2023-08-02T09:05:50.938Z] 988bab9f4d93: Download complete [2023-08-02T09:05:51.197Z] 1469e6f7b9e6: Verifying Checksum [2023-08-02T09:05:51.197Z] 1469e6f7b9e6: Download complete [2023-08-02T09:05:51.197Z] 339a4e72a1f5: Verifying Checksum [2023-08-02T09:05:51.197Z] 339a4e72a1f5: Download complete [2023-08-02T09:05:51.197Z] eaf3925da568: Verifying Checksum [2023-08-02T09:05:51.197Z] eaf3925da568: Download complete [2023-08-02T09:05:51.197Z] bde34c3a00c8: Download complete [2023-08-02T09:05:51.197Z] b352a97aabf1: Download complete [2023-08-02T09:05:51.197Z] 4872d77fe225: Download complete [2023-08-02T09:05:51.197Z] 5851b861e8e6: Download complete [2023-08-02T09:05:51.197Z] b85a868b505f: Verifying Checksum [2023-08-02T09:05:51.197Z] b85a868b505f: Download complete [2023-08-02T09:05:51.525Z] bab4dde63d76: Verifying Checksum [2023-08-02T09:05:51.525Z] bab4dde63d76: Download complete [2023-08-02T09:05:52.461Z] b85a868b505f: Pull complete [2023-08-02T09:05:52.720Z] e2be974225ed: Pull complete [2023-08-02T09:05:52.979Z] 339a4e72a1f5: Pull complete [2023-08-02T09:05:53.238Z] 988bab9f4d93: Pull complete [2023-08-02T09:05:53.498Z] 1469e6f7b9e6: Pull complete [2023-08-02T09:05:53.498Z] eaf3925da568: Pull complete [2023-08-02T09:05:55.402Z] bab4dde63d76: Pull complete [2023-08-02T09:05:55.402Z] bde34c3a00c8: Pull complete [2023-08-02T09:05:55.662Z] b352a97aabf1: Pull complete [2023-08-02T09:05:55.662Z] 4872d77fe225: Pull complete [2023-08-02T09:05:55.662Z] 5851b861e8e6: Pull complete [2023-08-02T09:05:55.662Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-02T09:05:55.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:05:55.662Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:05:55.768Z] prd-ubuntu20.04-docker-8c-8g-2736 does not seem to be running inside a container [2023-08-02T09:05:55.805Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T09:05:58.928Z] $ docker top de3d962911e220df45f65ac2ed4d7d315c0949b49b07f20019a2f7af450535df -eo pid,comm [2023-08-02T09:05:58.987Z] 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:05:58.987Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T09:05:59.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T09:05:59.026Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T09:05:59.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T09:05:59.148Z] $ docker exec de3d962911e220df45f65ac2ed4d7d315c0949b49b07f20019a2f7af450535df ssh-agent [2023-08-02T09:05:59.253Z] SSH_AUTH_SOCK=/tmp/ssh-99qQmfu0rnka/agent.33 [2023-08-02T09:05:59.253Z] SSH_AGENT_PID=39 [2023-08-02T09:05:59.260Z] Running ssh-add (command line suppressed) [2023-08-02T09:05:59.370Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_6531838489878423691.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_6531838489878423691.key) [2023-08-02T09:05:59.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T09:05:59.669Z] + git tag --points-at HEAD [Pipeline] } [2023-08-02T09:05:59.683Z] $ docker exec --env ******** --env ******** de3d962911e220df45f65ac2ed4d7d315c0949b49b07f20019a2f7af450535df ssh-agent -k [2023-08-02T09:05:59.776Z] unset SSH_AUTH_SOCK; [2023-08-02T09:05:59.776Z] unset SSH_AGENT_PID; [2023-08-02T09:05:59.776Z] echo Agent pid 39 killed; [2023-08-02T09:05:59.785Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-02T09:05:59.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T09:05:59.807Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T09:05:59.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T09:05:59.938Z] $ docker exec de3d962911e220df45f65ac2ed4d7d315c0949b49b07f20019a2f7af450535df ssh-agent [2023-08-02T09:06:00.039Z] SSH_AUTH_SOCK=/tmp/ssh-1gwF2VJMpJh1/agent.71 [2023-08-02T09:06:00.039Z] SSH_AGENT_PID=77 [2023-08-02T09:06:00.044Z] Running ssh-add (command line suppressed) [2023-08-02T09:06:00.168Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_6736881856410718933.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_6736881856410718933.key) [2023-08-02T09:06:00.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T09:06:00.471Z] + git semver init [2023-08-02T09:06:00.730Z] 2023-08-02 09:06:00,649 [run_init] DEBUG init version:0.0.0 force:False [2023-08-02T09:06:00.730Z] 2023-08-02 09:06:00,650 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver [2023-08-02T09:06:00.730Z] 2023-08-02 09:06:00,651 [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:06:00.730Z] 2023-08-02 09:06:00,651 [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:06:02.108Z] 2023-08-02 09:06:01,843 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.git/info/exclude [2023-08-02T09:06:02.108Z] 2023-08-02 09:06:01,844 [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:06:02.108Z] 2023-08-02 09:06:01,844 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 [2023-08-02T09:06:02.108Z] 2023-08-02 09:06:01,847 [execute] INFO git cat-file --batch-check [2023-08-02T09:06:02.108Z] 2023-08-02 09:06:01,847 [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:06:02.108Z] 2023-08-02 09:06:01,852 [execute] INFO git cat-file --batch [2023-08-02T09:06:02.108Z] 2023-08-02 09:06:01,853 [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:06:02.108Z] 2023-08-02 09:06:01,857 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 [2023-08-02T09:06:02.108Z] 0.0.0 [Pipeline] } [2023-08-02T09:06:02.123Z] $ docker exec --env ******** --env ******** de3d962911e220df45f65ac2ed4d7d315c0949b49b07f20019a2f7af450535df ssh-agent -k [2023-08-02T09:06:02.224Z] unset SSH_AUTH_SOCK; [2023-08-02T09:06:02.225Z] unset SSH_AGENT_PID; [2023-08-02T09:06:02.226Z] echo Agent pid 77 killed; [2023-08-02T09:06:02.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T09:06:02.533Z] + git semver [Pipeline] } [2023-08-02T09:06:02.806Z] $ docker stop --time=1 de3d962911e220df45f65ac2ed4d7d315c0949b49b07f20019a2f7af450535df [2023-08-02T09:06:04.100Z] $ docker rm -f --volumes de3d962911e220df45f65ac2ed4d7d315c0949b49b07f20019a2f7af450535df [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:06:04.433Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-02T09:06:04.645Z] Stashed 1 file(s) [Pipeline] echo [2023-08-02T09:06:04.647Z] [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:06:04.767Z] provisioning config files... [2023-08-02T09:06:04.777Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config1073054769700022429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:06:05.078Z] ---> docker-login.sh [2023-08-02T09:06:05.078Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:06:05.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:06:05.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:06:05.078Z] Configure a credential helper to remove this warning. See [2023-08-02T09:06:05.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:06:05.078Z] [2023-08-02T09:06:05.078Z] Login Succeeded [2023-08-02T09:06:05.078Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:06:05.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:06:05.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:06:05.078Z] Configure a credential helper to remove this warning. See [2023-08-02T09:06:05.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:06:05.078Z] [2023-08-02T09:06:05.078Z] Login Succeeded [2023-08-02T09:06:05.078Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:06:05.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:06:05.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:06:05.338Z] Configure a credential helper to remove this warning. See [2023-08-02T09:06:05.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:06:05.338Z] [2023-08-02T09:06:05.338Z] Login Succeeded [2023-08-02T09:06:05.338Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:06:05.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:06:05.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:06:05.338Z] Configure a credential helper to remove this warning. See [2023-08-02T09:06:05.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:06:05.338Z] [2023-08-02T09:06:05.338Z] Login Succeeded [2023-08-02T09:06:05.338Z] docker.io [2023-08-02T09:06:05.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:06:05.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:06:05.597Z] Configure a credential helper to remove this warning. See [2023-08-02T09:06:05.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:06:05.597Z] [2023-08-02T09:06:05.597Z] Login Succeeded [2023-08-02T09:06:05.597Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:06:05.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T09:06:05.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:06:05.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:06:05.688Z] ========================================================= [2023-08-02T09:06:05.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-02T09:06:05.688Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:06:05.989Z] + 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:06:05.990Z] Sending build context to Docker daemon 10.91MB [2023-08-02T09:06:05.990Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:06:05.990Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-02T09:06:05.990Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-02T09:06:05.990Z] 4db1b89c0bd1: Pulling fs layer [2023-08-02T09:06:05.990Z] 6911f1a30b25: Pulling fs layer [2023-08-02T09:06:05.990Z] e194b8c5c2a9: Pulling fs layer [2023-08-02T09:06:05.990Z] 6863d3e3a2b1: Pulling fs layer [2023-08-02T09:06:05.990Z] ec0bb842ea78: Pulling fs layer [2023-08-02T09:06:05.990Z] 40a00589a448: Pulling fs layer [2023-08-02T09:06:05.990Z] 6c08303d61cc: Pulling fs layer [2023-08-02T09:06:05.990Z] 798269fcf238: Pulling fs layer [2023-08-02T09:06:05.990Z] 6863d3e3a2b1: Waiting [2023-08-02T09:06:05.990Z] 40a00589a448: Waiting [2023-08-02T09:06:05.990Z] 6c08303d61cc: Waiting [2023-08-02T09:06:05.990Z] ec0bb842ea78: Waiting [2023-08-02T09:06:05.990Z] 798269fcf238: Waiting [2023-08-02T09:06:05.990Z] 6911f1a30b25: Download complete [2023-08-02T09:06:05.990Z] 6863d3e3a2b1: Verifying Checksum [2023-08-02T09:06:05.990Z] 6863d3e3a2b1: Download complete [2023-08-02T09:06:05.990Z] ec0bb842ea78: Verifying Checksum [2023-08-02T09:06:05.990Z] ec0bb842ea78: Download complete [2023-08-02T09:06:06.248Z] 4db1b89c0bd1: Download complete [2023-08-02T09:06:06.248Z] 40a00589a448: Verifying Checksum [2023-08-02T09:06:06.248Z] 40a00589a448: Download complete [2023-08-02T09:06:06.248Z] 4db1b89c0bd1: Pull complete [2023-08-02T09:06:06.508Z] 6911f1a30b25: Pull complete [2023-08-02T09:06:06.768Z] 798269fcf238: Verifying Checksum [2023-08-02T09:06:06.768Z] 798269fcf238: Download complete [2023-08-02T09:06:06.768Z] e194b8c5c2a9: Verifying Checksum [2023-08-02T09:06:06.768Z] e194b8c5c2a9: Download complete [2023-08-02T09:06:06.768Z] 6c08303d61cc: Verifying Checksum [2023-08-02T09:06:06.768Z] 6c08303d61cc: Download complete [2023-08-02T09:06:10.049Z] e194b8c5c2a9: Pull complete [2023-08-02T09:06:10.049Z] 6863d3e3a2b1: Pull complete [2023-08-02T09:06:10.049Z] ec0bb842ea78: Pull complete [2023-08-02T09:06:10.309Z] 40a00589a448: Pull complete [2023-08-02T09:06:12.842Z] 6c08303d61cc: Pull complete [2023-08-02T09:06:13.409Z] 798269fcf238: Pull complete [2023-08-02T09:06:13.409Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-02T09:06:13.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-02T09:06:13.409Z] ---> ec979cd7f677 [2023-08-02T09:06:13.409Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:06:17.605Z] ---> Running in f6969c974089 [2023-08-02T09:06:17.605Z] Removing intermediate container f6969c974089 [2023-08-02T09:06:17.605Z] ---> eadbef7c0d9d [2023-08-02T09:06:17.605Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:06:17.605Z] ---> Running in ac401429243e [2023-08-02T09:06:17.605Z] Removing intermediate container ac401429243e [2023-08-02T09:06:17.605Z] ---> 771f9b1f63d0 [2023-08-02T09:06:17.605Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:06:17.605Z] ---> Running in 605ae7ba3c9b [2023-08-02T09:06:17.605Z] Removing intermediate container 605ae7ba3c9b [2023-08-02T09:06:17.605Z] ---> 87b2838e1005 [2023-08-02T09:06:17.605Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:06:17.605Z] ---> Running in cd432efece8d [2023-08-02T09:06:17.864Z] Removing intermediate container cd432efece8d [2023-08-02T09:06:17.864Z] ---> 6d2eecede274 [2023-08-02T09:06:17.864Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:06:17.864Z] ---> Running in 6e3cc506e062 [2023-08-02T09:06:18.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:06:18.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:06:18.642Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-02T09:06:18.642Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-02T09:06:18.642Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-02T09:06:18.642Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-02T09:06:18.642Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T09:06:18.642Z] OK: 269 MiB in 57 packages [2023-08-02T09:06:19.209Z] Removing intermediate container 6e3cc506e062 [2023-08-02T09:06:19.209Z] ---> 0177ab11104c [2023-08-02T09:06:19.209Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-02T09:06:19.209Z] ---> Running in 69d8514e6f1c [2023-08-02T09:06:19.209Z] Removing intermediate container 69d8514e6f1c [2023-08-02T09:06:19.209Z] ---> fd9f9f2c3df9 [2023-08-02T09:06:19.209Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-02T09:06:19.468Z] ---> 48eb80879f1e [2023-08-02T09:06:19.468Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:06:19.468Z] ---> Running in 439b95e6a39e [2023-08-02T09:06:19.726Z] Still waiting to schedule task [2023-08-02T09:06:19.727Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-02T09:06:51.638Z] Removing intermediate container 439b95e6a39e [2023-08-02T09:06:51.638Z] ---> 9d5a5717333e [2023-08-02T09:06:51.638Z] Step 11/12 : COPY . . [2023-08-02T09:06:51.638Z] ---> dce4b7f2d8cf [2023-08-02T09:06:51.638Z] Step 12/12 : RUN $MAKE [2023-08-02T09:06:51.638Z] ---> Running in 926a8b96d611 [2023-08-02T09:06:51.638Z] noop [2023-08-02T09:06:51.638Z] Removing intermediate container 926a8b96d611 [2023-08-02T09:06:51.638Z] ---> f373a6dfc39c [2023-08-02T09:06:51.638Z] Successfully built f373a6dfc39c [2023-08-02T09:06:51.638Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:06:51.947Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T09:06:51.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:06:52.033Z] prd-ubuntu20.04-docker-8c-8g-2736 does not seem to be running inside a container [2023-08-02T09:06:52.067Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-02T09:06:52.434Z] $ docker top bdacbc1d4e2e95538a8fdef4e1cec043e494acd3d327db8924d0c8f7dab3f0a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:06:52.774Z] + go version [2023-08-02T09:06:52.774Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-02T09:06:52.786Z] $ docker stop --time=1 bdacbc1d4e2e95538a8fdef4e1cec043e494acd3d327db8924d0c8f7dab3f0a5 [2023-08-02T09:06:54.050Z] $ docker rm -f --volumes bdacbc1d4e2e95538a8fdef4e1cec043e494acd3d327db8924d0c8f7dab3f0a5 [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:06:54.415Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T09:06:54.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:06:54.491Z] prd-ubuntu20.04-docker-8c-8g-2736 does not seem to be running inside a container [2023-08-02T09:06:54.524Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-02T09:06:54.853Z] $ docker top b944048f5700bbe968253350077977b6250afd1f9fcdd1255611ae7f19b8660c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:06:55.183Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] fileExists [Pipeline] sh [2023-08-02T09:06:55.477Z] + make test [2023-08-02T09:06:55.477Z] go test ./... -coverprofile=coverage.out ./... [2023-08-02T09:07:00.755Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-02T09:07:10.719Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-02T09:07:10.719Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-08-02T09:07:17.275Z] go vet ./... [2023-08-02T09:07:21.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T09:07:21.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T09:07:21.457Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-02T09:07:21.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T09:07:21.483Z] $ docker stop --time=1 b944048f5700bbe968253350077977b6250afd1f9fcdd1255611ae7f19b8660c [2023-08-02T09:07:24.486Z] $ docker rm -f --volumes b944048f5700bbe968253350077977b6250afd1f9fcdd1255611ae7f19b8660c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:07:24.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T09:07:24.974Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-02T09:07:25.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T09:07:25.656Z] + ls -al . [2023-08-02T09:07:25.656Z] total 184 [2023-08-02T09:07:25.656Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 09:06 . [2023-08-02T09:07:25.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:05 .. [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 09:05 .dockerignore [2023-08-02T09:07:25.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:06 .git [2023-08-02T09:07:25.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:05 .github [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 09:05 .gitignore [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 09:05 .golangci.yml [2023-08-02T09:07:25.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:06 .semver [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 09:05 Attribution.txt [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 09:05 CHANGELOG.md [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 09:05 Dockerfile [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:05 GOVERNANCE.md [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 09:05 Jenkinsfile [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 09:05 LICENSE [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 09:05 Makefile [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 09:05 OWNERS.md [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 09:05 README.md [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:06 VERSION [2023-08-02T09:07:25.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:05 bin [2023-08-02T09:07:25.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:05 cmd [2023-08-02T09:07:25.656Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 09:07 coverage.out [2023-08-02T09:07:25.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:05 driver [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 09:05 go.mod [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 09:05 go.sum [2023-08-02T09:07:25.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:05 snap [2023-08-02T09:07:25.656Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 09:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:07:25.958Z] + 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=37fb718cbaf2c761f5228c453cbd3f7c499322ad --label arch=amd64 --label version=0.0.0 . [2023-08-02T09:07:25.958Z] Sending build context to Docker daemon 10.92MB [2023-08-02T09:07:25.958Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:07:25.958Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-02T09:07:25.958Z] ---> f373a6dfc39c [2023-08-02T09:07:25.958Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:07:26.216Z] ---> Running in 5b2bd51c7b65 [2023-08-02T09:07:26.216Z] Removing intermediate container 5b2bd51c7b65 [2023-08-02T09:07:26.216Z] ---> abcdb648cb03 [2023-08-02T09:07:26.216Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:07:26.216Z] ---> Running in 07baf49df513 [2023-08-02T09:07:26.216Z] Removing intermediate container 07baf49df513 [2023-08-02T09:07:26.216Z] ---> 60d6f60970e7 [2023-08-02T09:07:26.216Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:07:26.216Z] ---> Running in 39ce6e9624f5 [2023-08-02T09:07:26.475Z] Removing intermediate container 39ce6e9624f5 [2023-08-02T09:07:26.475Z] ---> 7e532d4bdee9 [2023-08-02T09:07:26.475Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:07:26.475Z] ---> Running in d46642fe73d0 [2023-08-02T09:07:26.475Z] Removing intermediate container d46642fe73d0 [2023-08-02T09:07:26.475Z] ---> d9d3ec37d7d1 [2023-08-02T09:07:26.475Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:07:26.475Z] ---> Running in ccb474048e77 [2023-08-02T09:07:26.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:07:26.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:07:27.252Z] OK: 269 MiB in 57 packages [2023-08-02T09:07:27.817Z] Removing intermediate container ccb474048e77 [2023-08-02T09:07:27.817Z] ---> ef588eddb791 [2023-08-02T09:07:27.817Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-02T09:07:27.817Z] ---> Running in b5eeae771772 [2023-08-02T09:07:27.817Z] Removing intermediate container b5eeae771772 [2023-08-02T09:07:27.817Z] ---> 610063176cca [2023-08-02T09:07:27.817Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-02T09:07:28.076Z] ---> e66b5e6298cc [2023-08-02T09:07:28.076Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:07:28.076Z] ---> Running in 40449072d2dc [2023-08-02T09:07:28.650Z] Removing intermediate container 40449072d2dc [2023-08-02T09:07:28.650Z] ---> 00aff24c8354 [2023-08-02T09:07:28.650Z] Step 11/25 : COPY . . [2023-08-02T09:07:28.909Z] ---> 837d2a550e96 [2023-08-02T09:07:28.909Z] Step 12/25 : RUN $MAKE [2023-08-02T09:07:28.909Z] ---> Running in d2e18f9fc595 [2023-08-02T09:07:29.167Z] 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:07:47.242Z] Removing intermediate container d2e18f9fc595 [2023-08-02T09:07:47.242Z] ---> 6138c701fcf5 [2023-08-02T09:07:47.242Z] Step 13/25 : FROM alpine:3.17 [2023-08-02T09:07:47.500Z] 3.17: Pulling from library/alpine [2023-08-02T09:07:47.500Z] 4db1b89c0bd1: Already exists [2023-08-02T09:07:47.759Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T09:07:47.759Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T09:07:47.759Z] ---> 1f73a9d63274 [2023-08-02T09:07:47.759Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T09:07:47.759Z] ---> Running in 89b7b10ca2e6 [2023-08-02T09:07:47.759Z] Removing intermediate container 89b7b10ca2e6 [2023-08-02T09:07:47.759Z] ---> 8f160c87e156 [2023-08-02T09:07:47.759Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-02T09:07:47.759Z] ---> Running in 0dfce3894aaf [2023-08-02T09:07:47.759Z] Removing intermediate container 0dfce3894aaf [2023-08-02T09:07:47.759Z] ---> d1299d388fde [2023-08-02T09:07:47.759Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-02T09:07:47.759Z] ---> Running in ce1507c96888 [2023-08-02T09:07:48.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:07:48.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:07:48.587Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-02T09:07:48.587Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T09:07:48.587Z] OK: 7 MiB in 16 packages [2023-08-02T09:07:48.845Z] Removing intermediate container ce1507c96888 [2023-08-02T09:07:48.845Z] ---> adabf4c464e9 [2023-08-02T09:07:48.845Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-02T09:07:49.778Z] ---> baceb44f3e25 [2023-08-02T09:07:49.778Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-02T09:07:49.778Z] ---> be9638c6ae17 [2023-08-02T09:07:49.778Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-02T09:07:50.036Z] ---> 7c75737c5d55 [2023-08-02T09:07:50.036Z] Step 20/25 : EXPOSE 59986 [2023-08-02T09:07:50.036Z] ---> Running in 8f2ed2c84bd3 [2023-08-02T09:07:50.036Z] Removing intermediate container 8f2ed2c84bd3 [2023-08-02T09:07:50.036Z] ---> 770e4cfb2d57 [2023-08-02T09:07:50.036Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-02T09:07:50.298Z] ---> Running in 213fd212870d [2023-08-02T09:07:50.298Z] Removing intermediate container 213fd212870d [2023-08-02T09:07:50.298Z] ---> 19b280a91743 [2023-08-02T09:07:50.298Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-02T09:07:50.298Z] ---> Running in 29522f15792e [2023-08-02T09:07:50.298Z] Removing intermediate container 29522f15792e [2023-08-02T09:07:50.298Z] ---> a9705c2fe637 [2023-08-02T09:07:50.298Z] Step 23/25 : LABEL arch=amd64 [2023-08-02T09:07:50.565Z] ---> Running in 6177f2a12f86 [2023-08-02T09:07:50.565Z] Removing intermediate container 6177f2a12f86 [2023-08-02T09:07:50.565Z] ---> 786d0f6b390d [2023-08-02T09:07:50.565Z] Step 24/25 : LABEL git_sha=37fb718cbaf2c761f5228c453cbd3f7c499322ad [2023-08-02T09:07:50.565Z] ---> Running in d7b742e92358 [2023-08-02T09:07:50.565Z] Removing intermediate container d7b742e92358 [2023-08-02T09:07:50.565Z] ---> d3de522ed27e [2023-08-02T09:07:50.565Z] Step 25/25 : LABEL version=0.0.0 [2023-08-02T09:07:50.824Z] ---> Running in e78f78a51ada [2023-08-02T09:07:50.824Z] Removing intermediate container e78f78a51ada [2023-08-02T09:07:50.824Z] ---> 88557d1a4a65 [2023-08-02T09:07:50.824Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T09:07:50.824Z] Successfully built 88557d1a4a65 [2023-08-02T09:07:50.824Z] 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:07:51.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:07:51.208Z] [2023-08-02T09:07:51.208Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:07:51.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:07:51.506Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-02T09:07:51.506Z] 5eb5b503b376: Pulling fs layer [2023-08-02T09:07:51.506Z] 5c69ac0246d0: Pulling fs layer [2023-08-02T09:07:51.506Z] ec43610c2a17: Pulling fs layer [2023-08-02T09:07:51.506Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-02T09:07:51.506Z] 33b1e0a273af: Pulling fs layer [2023-08-02T09:07:51.506Z] 5d3b04190fa2: Pulling fs layer [2023-08-02T09:07:51.506Z] 2f39f015ded8: Pulling fs layer [2023-08-02T09:07:51.506Z] 33b1e0a273af: Waiting [2023-08-02T09:07:51.506Z] 5d3b04190fa2: Waiting [2023-08-02T09:07:51.506Z] 3a2ae6a8a46f: Waiting [2023-08-02T09:07:51.506Z] 5c69ac0246d0: Verifying Checksum [2023-08-02T09:07:51.506Z] 5c69ac0246d0: Download complete [2023-08-02T09:07:51.506Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-02T09:07:51.506Z] 3a2ae6a8a46f: Download complete [2023-08-02T09:07:51.506Z] 33b1e0a273af: Verifying Checksum [2023-08-02T09:07:51.506Z] 33b1e0a273af: Download complete [2023-08-02T09:07:51.506Z] 5d3b04190fa2: Verifying Checksum [2023-08-02T09:07:51.506Z] 5d3b04190fa2: Download complete [2023-08-02T09:07:51.506Z] ec43610c2a17: Verifying Checksum [2023-08-02T09:07:51.506Z] ec43610c2a17: Download complete [2023-08-02T09:07:51.764Z] 5eb5b503b376: Verifying Checksum [2023-08-02T09:07:51.764Z] 5eb5b503b376: Download complete [2023-08-02T09:07:52.330Z] 2f39f015ded8: Download complete [2023-08-02T09:07:52.895Z] 5eb5b503b376: Pull complete [2023-08-02T09:07:52.895Z] 5c69ac0246d0: Pull complete [2023-08-02T09:07:53.458Z] ec43610c2a17: Pull complete [2023-08-02T09:07:53.458Z] 3a2ae6a8a46f: Pull complete [2023-08-02T09:07:53.458Z] 33b1e0a273af: Pull complete [2023-08-02T09:07:53.714Z] 5d3b04190fa2: Pull complete [2023-08-02T09:07:54.722Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2737 in /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] { [Pipeline] ws [2023-08-02T09:07:54.733Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2023-08-02T09:07:54.767Z] The recommended git tool is: git [2023-08-02T09:07:57.910Z] 2f39f015ded8: Pull complete [2023-08-02T09:07:57.910Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-02T09:07:57.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:07:57.910Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:07:57.984Z] prd-ubuntu20.04-docker-8c-8g-2736 does not seem to be running inside a container [2023-08-02T09:07:58.009Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-02T09:07:59.412Z] using credential edgex-jenkins-ssh [2023-08-02T09:07:59.438Z] Cloning the remote Git repository [2023-08-02T09:07:59.469Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T09:07:59.552Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2023-08-02T09:08:00.601Z] $ docker top d2eff309c95ed819a9e97053ad933fdd7da1829912fe223623f9610cafb78983 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:07:59.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T09:07:59.708Z] > git --version # timeout=10 [2023-08-02T09:07:59.731Z] > git --version # 'git version 2.25.1' [2023-08-02T09:07:59.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:07:59.871Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T09:08:00.950Z] ---> job-cost.sh [2023-08-02T09:08:00.951Z] lf-activate-venv: SKIPPING [2023-08-02T09:08:00.951Z] INFO: No Stack... [2023-08-02T09:08:01.210Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T09:08:01.469Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T09:08:01.754Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-330/archives/cost.csv [2023-08-02T09:08:01.754Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T09:08:01.765Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] [2023-08-02T09:08:01.770Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] did not exist. Created. [2023-08-02T09:08:01.770Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T09:08:02.067Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-02T09:08:02.100Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T09:08:02.106Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T09:08:02.127Z] $ docker stop --time=1 d2eff309c95ed819a9e97053ad933fdd7da1829912fe223623f9610cafb78983 [2023-08-02T09:08:01.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-02T09:08:01.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T09:08:03.291Z] $ docker rm -f --volumes d2eff309c95ed819a9e97053ad933fdd7da1829912fe223623f9610cafb78983 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-02T09:08:03.426Z] Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit 37fb718cbaf2c761f5228c453cbd3f7c499322ad [2023-08-02T09:08:02.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-02T09:08:02.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T09:08:02.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:08:02.646Z] > 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:08:03.435Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T09:08:03.703Z] Merge succeeded, producing 37fb718cbaf2c761f5228c453cbd3f7c499322ad [2023-08-02T09:08:03.703Z] Checking out Revision 37fb718cbaf2c761f5228c453cbd3f7c499322ad (PR-330) [2023-08-02T09:08:03.521Z] > git checkout -f 37fb718cbaf2c761f5228c453cbd3f7c499322ad # timeout=10 [2023-08-02T09:08:03.600Z] > git remote # timeout=10 [2023-08-02T09:08:03.619Z] > git config --get remote.origin.url # timeout=10 [2023-08-02T09:08:03.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:08:03.654Z] > git merge 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 [2023-08-02T09:08:03.678Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-02T09:08:03.700Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T09:08:03.714Z] > git checkout -f 37fb718cbaf2c761f5228c453cbd3f7c499322ad # timeout=10 [2023-08-02T09:08:07.143Z] Commit message: "fix: Add test case for floats equal 0.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:08:08.091Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-02T09:08:08.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T09:08:08.091Z] Dload Upload Total Spent Left Speed [2023-08-02T09:08:08.091Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 62942 0 --:--:-- --:--:-- --:--:-- 62942 100 12751 100 12751 0 0 72448 0 --:--:-- --:--:-- --:--:-- 72039 [Pipeline] sh [2023-08-02T09:08:08.810Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-02T09:08:09.140Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-02T09:08:09.140Z] + sudo tee /etc/docker/daemon.new [2023-08-02T09:08:09.140Z] { [2023-08-02T09:08:09.140Z] "registry-mirrors": [ [2023-08-02T09:08:09.140Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-02T09:08:09.140Z] ], [2023-08-02T09:08:09.140Z] "bip": "10.250.0.254/24", [2023-08-02T09:08:09.140Z] "hosts": [ [2023-08-02T09:08:09.140Z] "tcp://0.0.0.0:5555", [2023-08-02T09:08:09.140Z] "unix:///var/run/docker.sock" [2023-08-02T09:08:09.140Z] ], [2023-08-02T09:08:09.140Z] "mtu": 1458, [2023-08-02T09:08:09.140Z] "selinux-enabled": true, [2023-08-02T09:08:09.140Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-02T09:08:09.140Z] } [Pipeline] sh [2023-08-02T09:08:09.465Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-02T09:08:09.784Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:08:28.033Z] provisioning config files... [2023-08-02T09:08:28.058Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config4251322375624779236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:08:28.397Z] ---> docker-login.sh [2023-08-02T09:08:28.398Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:08:28.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:08:28.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:08:28.937Z] Configure a credential helper to remove this warning. See [2023-08-02T09:08:28.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:08:28.937Z] [2023-08-02T09:08:28.937Z] Login Succeeded [2023-08-02T09:08:28.937Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:08:29.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:08:29.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:08:29.476Z] Configure a credential helper to remove this warning. See [2023-08-02T09:08:29.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:08:29.476Z] [2023-08-02T09:08:29.476Z] Login Succeeded [2023-08-02T09:08:29.476Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:08:29.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:08:29.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:08:29.747Z] Configure a credential helper to remove this warning. See [2023-08-02T09:08:29.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:08:29.747Z] [2023-08-02T09:08:29.747Z] Login Succeeded [2023-08-02T09:08:29.747Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:08:30.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:08:30.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:08:30.017Z] Configure a credential helper to remove this warning. See [2023-08-02T09:08:30.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:08:30.018Z] [2023-08-02T09:08:30.018Z] Login Succeeded [2023-08-02T09:08:30.018Z] docker.io [2023-08-02T09:08:30.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:08:30.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:08:30.554Z] Configure a credential helper to remove this warning. See [2023-08-02T09:08:30.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:08:30.554Z] [2023-08-02T09:08:30.554Z] Login Succeeded [2023-08-02T09:08:30.554Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:08:30.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T09:08:30.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:08:30.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:08:30.843Z] ========================================================= [2023-08-02T09:08:30.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-02T09:08:30.843Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:08:31.188Z] + 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:08:31.188Z] Sending build context to Docker daemon 142.3kB [2023-08-02T09:08:31.464Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:08:31.464Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-02T09:08:31.464Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-02T09:08:31.464Z] edb6bdbacee9: Pulling fs layer [2023-08-02T09:08:31.464Z] 5f9638ab2659: Pulling fs layer [2023-08-02T09:08:31.464Z] 8d51d6327a98: Pulling fs layer [2023-08-02T09:08:31.464Z] 8b374f2dd631: Pulling fs layer [2023-08-02T09:08:31.464Z] ec14aa9079de: Pulling fs layer [2023-08-02T09:08:31.464Z] 2f466654f4bb: Pulling fs layer [2023-08-02T09:08:31.464Z] 554e91adad29: Pulling fs layer [2023-08-02T09:08:31.464Z] 8b374f2dd631: Waiting [2023-08-02T09:08:31.464Z] ec14aa9079de: Waiting [2023-08-02T09:08:31.464Z] 2f466654f4bb: Waiting [2023-08-02T09:08:31.464Z] 554e91adad29: Waiting [2023-08-02T09:08:31.740Z] 5f9638ab2659: Verifying Checksum [2023-08-02T09:08:31.741Z] 5f9638ab2659: Download complete [2023-08-02T09:08:31.741Z] 8b374f2dd631: Verifying Checksum [2023-08-02T09:08:31.741Z] 8b374f2dd631: Download complete [2023-08-02T09:08:31.741Z] ec14aa9079de: Verifying Checksum [2023-08-02T09:08:31.741Z] ec14aa9079de: Download complete [2023-08-02T09:08:31.741Z] edb6bdbacee9: Verifying Checksum [2023-08-02T09:08:31.741Z] edb6bdbacee9: Download complete [2023-08-02T09:08:32.729Z] edb6bdbacee9: Pull complete [2023-08-02T09:08:33.326Z] 554e91adad29: Verifying Checksum [2023-08-02T09:08:33.326Z] 554e91adad29: Download complete [2023-08-02T09:08:34.292Z] 2f466654f4bb: Verifying Checksum [2023-08-02T09:08:34.292Z] 2f466654f4bb: Download complete [2023-08-02T09:08:34.558Z] 8d51d6327a98: Verifying Checksum [2023-08-02T09:08:34.558Z] 8d51d6327a98: Download complete [2023-08-02T09:08:35.141Z] 5f9638ab2659: Pull complete [2023-08-02T09:08:50.151Z] 8d51d6327a98: Pull complete [2023-08-02T09:08:50.151Z] 8b374f2dd631: Pull complete [2023-08-02T09:08:50.151Z] ec14aa9079de: Pull complete [2023-08-02T09:08:55.513Z] 2f466654f4bb: Pull complete [2023-08-02T09:08:57.469Z] 554e91adad29: Pull complete [2023-08-02T09:08:57.469Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-02T09:08:57.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-02T09:08:57.469Z] ---> 1e15ea492957 [2023-08-02T09:08:57.469Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:08:59.418Z] ---> Running in 62670c78f00f [2023-08-02T09:08:59.418Z] Removing intermediate container 62670c78f00f [2023-08-02T09:08:59.418Z] ---> 50c9b7444c07 [2023-08-02T09:08:59.418Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:08:59.418Z] ---> Running in 5161b7a50954 [2023-08-02T09:09:00.003Z] Removing intermediate container 5161b7a50954 [2023-08-02T09:09:00.003Z] ---> fbf842063f0d [2023-08-02T09:09:00.003Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:09:00.003Z] ---> Running in b8a082de8f1f [2023-08-02T09:09:00.271Z] Removing intermediate container b8a082de8f1f [2023-08-02T09:09:00.271Z] ---> 72dddc527e65 [2023-08-02T09:09:00.271Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:09:00.271Z] ---> Running in 4e557ae8e0bd [2023-08-02T09:09:00.539Z] Removing intermediate container 4e557ae8e0bd [2023-08-02T09:09:00.539Z] ---> 540222e9db39 [2023-08-02T09:09:00.540Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:09:00.540Z] ---> Running in 449285dbdd3c [2023-08-02T09:09:01.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:09:02.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:09:03.175Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-02T09:09:03.175Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-02T09:09:03.175Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-02T09:09:03.175Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-02T09:09:03.441Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T09:09:03.441Z] OK: 268 MiB in 57 packages [2023-08-02T09:09:04.403Z] Removing intermediate container 449285dbdd3c [2023-08-02T09:09:04.403Z] ---> 8ced607ab4df [2023-08-02T09:09:04.403Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-02T09:09:04.403Z] ---> Running in d7d380822ad2 [2023-08-02T09:09:04.670Z] Removing intermediate container d7d380822ad2 [2023-08-02T09:09:04.670Z] ---> b09802dd5e34 [2023-08-02T09:09:04.670Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-02T09:09:05.256Z] ---> 2a5a550f2b2d [2023-08-02T09:09:05.256Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:09:05.256Z] ---> Running in 9fa50ac3c40d [2023-08-02T09:10:13.132Z] Removing intermediate container 9fa50ac3c40d [2023-08-02T09:10:13.132Z] ---> fb387de2b32e [2023-08-02T09:10:13.132Z] Step 11/12 : COPY . . [2023-08-02T09:10:13.132Z] ---> d7418b0a84a6 [2023-08-02T09:10:13.132Z] Step 12/12 : RUN $MAKE [2023-08-02T09:10:13.132Z] ---> Running in 0dc83c9abbc4 [2023-08-02T09:10:13.132Z] noop [2023-08-02T09:10:13.132Z] Removing intermediate container 0dc83c9abbc4 [2023-08-02T09:10:13.132Z] ---> 5860c650c30d [2023-08-02T09:10:13.132Z] Successfully built 5860c650c30d [2023-08-02T09:10:13.132Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:10:13.475Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T09:10:13.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:10:13.665Z] prd-ubuntu20.04-docker-arm64-4c-16g-2737 does not seem to be running inside a container [2023-08-02T09:10:13.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-02T09:10:14.853Z] $ docker top 3cd4a51cb5dfa43ec0b584760df4e05c72f9d3193f7b0aa69cc438918683f516 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:10:15.653Z] + go version [2023-08-02T09:10:15.653Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-02T09:10:15.677Z] $ docker stop --time=1 3cd4a51cb5dfa43ec0b584760df4e05c72f9d3193f7b0aa69cc438918683f516 [2023-08-02T09:10:17.273Z] $ docker rm -f --volumes 3cd4a51cb5dfa43ec0b584760df4e05c72f9d3193f7b0aa69cc438918683f516 [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:10:17.799Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T09:10:17.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:10:17.969Z] prd-ubuntu20.04-docker-arm64-4c-16g-2737 does not seem to be running inside a container [2023-08-02T09:10:18.034Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-02T09:10:19.165Z] $ docker top d5b429abb705fdbd9924a033845dabf5f6814aeed5a9fd02c5ab6a28459fbfcd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:10:19.679Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2023-08-02T09:10:20.283Z] + make test [2023-08-02T09:10:20.283Z] go test ./... -coverprofile=coverage.out ./... [2023-08-02T09:10:52.519Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-02T09:12:44.186Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-02T09:12:44.186Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 32.2% of statements [2023-08-02T09:12:44.186Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-02T09:12:44.186Z] go vet ./... [2023-08-02T09:13:10.865Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T09:13:10.865Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T09:13:10.865Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-02T09:13:10.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T09:13:10.910Z] $ docker stop --time=1 d5b429abb705fdbd9924a033845dabf5f6814aeed5a9fd02c5ab6a28459fbfcd [2023-08-02T09:13:12.824Z] $ docker rm -f --volumes d5b429abb705fdbd9924a033845dabf5f6814aeed5a9fd02c5ab6a28459fbfcd [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:13:14.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T09:13:14.053Z] Warning: overwriting stash ‘coverage-report’ [2023-08-02T09:13:14.507Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:13:14.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T09:13:15.288Z] + ls -al . [2023-08-02T09:13:15.288Z] total 180 [2023-08-02T09:13:15.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:10 . [2023-08-02T09:13:15.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:07 .. [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 09:08 .dockerignore [2023-08-02T09:13:15.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:08 .git [2023-08-02T09:13:15.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:08 .github [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 09:08 .gitignore [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 09:08 .golangci.yml [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 09:08 Attribution.txt [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 09:08 CHANGELOG.md [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 09:08 Dockerfile [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:08 GOVERNANCE.md [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 09:08 Jenkinsfile [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 09:08 LICENSE [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 09:08 Makefile [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 09:08 OWNERS.md [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 09:08 README.md [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:06 VERSION [2023-08-02T09:13:15.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:08 bin [2023-08-02T09:13:15.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:08 cmd [2023-08-02T09:13:15.288Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 09:12 coverage.out [2023-08-02T09:13:15.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:08 driver [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 09:08 go.mod [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 09:08 go.sum [2023-08-02T09:13:15.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:08 snap [2023-08-02T09:13:15.288Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 09:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:13:15.618Z] + 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=37fb718cbaf2c761f5228c453cbd3f7c499322ad --label arch=arm64 --label version=0.0.0 . [2023-08-02T09:13:15.618Z] Sending build context to Docker daemon 157.7kB [2023-08-02T09:13:15.885Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:13:15.885Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-02T09:13:15.885Z] ---> 5860c650c30d [2023-08-02T09:13:15.885Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-02T09:13:16.150Z] ---> Running in af327a45d301 [2023-08-02T09:13:17.109Z] Removing intermediate container af327a45d301 [2023-08-02T09:13:17.109Z] ---> 4c873c137bea [2023-08-02T09:13:17.109Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T09:13:17.109Z] ---> Running in 6a7fcfde4b9e [2023-08-02T09:13:17.706Z] Removing intermediate container 6a7fcfde4b9e [2023-08-02T09:13:17.706Z] ---> c7f79fe1c0e3 [2023-08-02T09:13:17.706Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T09:13:17.706Z] ---> Running in 6a5bce34cc32 [2023-08-02T09:13:20.294Z] Removing intermediate container 6a5bce34cc32 [2023-08-02T09:13:20.294Z] ---> 14cdd26e1f1b [2023-08-02T09:13:20.294Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T09:13:20.294Z] ---> Running in 23447c4bc4ee [2023-08-02T09:13:20.294Z] Removing intermediate container 23447c4bc4ee [2023-08-02T09:13:20.294Z] ---> 54940d6e051b [2023-08-02T09:13:20.294Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T09:13:20.294Z] ---> Running in 4f076b8a10c4 [2023-08-02T09:13:22.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:13:22.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:13:23.687Z] OK: 268 MiB in 57 packages [2023-08-02T09:13:24.732Z] Removing intermediate container 4f076b8a10c4 [2023-08-02T09:13:24.732Z] ---> 7311d5e5281b [2023-08-02T09:13:24.732Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-02T09:13:25.005Z] ---> Running in ffc6171caa88 [2023-08-02T09:13:25.289Z] Removing intermediate container ffc6171caa88 [2023-08-02T09:13:25.289Z] ---> 06614d0af2a9 [2023-08-02T09:13:25.289Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-02T09:13:25.882Z] ---> e92a5fd10bd3 [2023-08-02T09:13:25.882Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:13:25.882Z] ---> Running in 260ddca6b960 [2023-08-02T09:13:28.474Z] Removing intermediate container 260ddca6b960 [2023-08-02T09:13:28.474Z] ---> 752d729a5b39 [2023-08-02T09:13:28.474Z] Step 11/25 : COPY . . [2023-08-02T09:13:28.741Z] ---> f4ab1f66898b [2023-08-02T09:13:28.741Z] Step 12/25 : RUN $MAKE [2023-08-02T09:13:28.741Z] ---> Running in 8ebb676751a8 [2023-08-02T09:13:29.703Z] 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:15:36.395Z] Removing intermediate container 8ebb676751a8 [2023-08-02T09:15:36.395Z] ---> e575b663d052 [2023-08-02T09:15:36.395Z] Step 13/25 : FROM alpine:3.17 [2023-08-02T09:15:36.395Z] 3.17: Pulling from library/alpine [2023-08-02T09:15:36.395Z] edb6bdbacee9: Already exists [2023-08-02T09:15:36.395Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T09:15:36.395Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T09:15:36.395Z] ---> 779605e5fbc0 [2023-08-02T09:15:36.395Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T09:15:36.396Z] ---> Running in cad4e3b9cb14 [2023-08-02T09:15:36.396Z] Removing intermediate container cad4e3b9cb14 [2023-08-02T09:15:36.396Z] ---> 6b8543e5a1b7 [2023-08-02T09:15:36.396Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-02T09:15:36.396Z] ---> Running in 326e0b721081 [2023-08-02T09:15:36.396Z] Removing intermediate container 326e0b721081 [2023-08-02T09:15:36.396Z] ---> 7326dde0b619 [2023-08-02T09:15:36.396Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-02T09:15:36.396Z] ---> Running in 58db308ce485 [2023-08-02T09:15:36.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:15:36.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:15:36.396Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-02T09:15:36.396Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T09:15:36.396Z] OK: 8 MiB in 16 packages [2023-08-02T09:15:36.396Z] Removing intermediate container 58db308ce485 [2023-08-02T09:15:36.396Z] ---> 58181b90502b [2023-08-02T09:15:36.396Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-02T09:15:36.396Z] ---> d10d659fa1f0 [2023-08-02T09:15:36.396Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-02T09:15:36.396Z] ---> b0bc6d3d9a72 [2023-08-02T09:15:36.396Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-02T09:15:36.396Z] ---> 0d34c360959d [2023-08-02T09:15:36.396Z] Step 20/25 : EXPOSE 59986 [2023-08-02T09:15:36.396Z] ---> Running in 18ebfdd9ec26 [2023-08-02T09:15:36.396Z] Removing intermediate container 18ebfdd9ec26 [2023-08-02T09:15:36.396Z] ---> be0cf6d5d941 [2023-08-02T09:15:36.396Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-02T09:15:36.396Z] ---> Running in a048bddb8be5 [2023-08-02T09:15:36.396Z] Removing intermediate container a048bddb8be5 [2023-08-02T09:15:36.396Z] ---> 2f42aafc1d21 [2023-08-02T09:15:36.396Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-02T09:15:36.396Z] ---> Running in 810315bf8917 [2023-08-02T09:15:36.666Z] Removing intermediate container 810315bf8917 [2023-08-02T09:15:36.666Z] ---> 159f24891510 [2023-08-02T09:15:36.666Z] Step 23/25 : LABEL arch=arm64 [2023-08-02T09:15:36.933Z] ---> Running in cf04f3126824 [2023-08-02T09:15:37.200Z] Removing intermediate container cf04f3126824 [2023-08-02T09:15:37.200Z] ---> d214f0603fc0 [2023-08-02T09:15:37.200Z] Step 24/25 : LABEL git_sha=37fb718cbaf2c761f5228c453cbd3f7c499322ad [2023-08-02T09:15:37.200Z] ---> Running in e5284dc8f891 [2023-08-02T09:15:37.468Z] Removing intermediate container e5284dc8f891 [2023-08-02T09:15:37.468Z] ---> b3683cd3daf8 [2023-08-02T09:15:37.468Z] Step 25/25 : LABEL version=0.0.0 [2023-08-02T09:15:37.468Z] ---> Running in c890cdfbc36b [2023-08-02T09:15:37.733Z] Removing intermediate container c890cdfbc36b [2023-08-02T09:15:37.733Z] ---> 99136365e325 [2023-08-02T09:15:37.733Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T09:15:37.733Z] Successfully built 99136365e325 [2023-08-02T09:15:37.733Z] 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-02T09:15:38.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T09:15:38.175Z] [2023-08-02T09:15:38.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:15:38.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T09:15:38.504Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-02T09:15:38.504Z] 8998bd30e6a1: Pulling fs layer [2023-08-02T09:15:38.504Z] 04944245beec: Pulling fs layer [2023-08-02T09:15:38.504Z] 699f458cf7ca: Pulling fs layer [2023-08-02T09:15:38.504Z] 765212b225bb: Pulling fs layer [2023-08-02T09:15:38.504Z] f23df028b6ca: Pulling fs layer [2023-08-02T09:15:38.504Z] d65c8cfc05b1: Pulling fs layer [2023-08-02T09:15:38.504Z] 2437ff75d9bd: Pulling fs layer [2023-08-02T09:15:38.504Z] f23df028b6ca: Waiting [2023-08-02T09:15:38.504Z] d65c8cfc05b1: Waiting [2023-08-02T09:15:38.504Z] 2437ff75d9bd: Waiting [2023-08-02T09:15:38.504Z] 765212b225bb: Waiting [2023-08-02T09:15:38.771Z] 04944245beec: Verifying Checksum [2023-08-02T09:15:38.771Z] 04944245beec: Download complete [2023-08-02T09:15:38.771Z] 765212b225bb: Verifying Checksum [2023-08-02T09:15:38.772Z] 765212b225bb: Download complete [2023-08-02T09:15:38.772Z] f23df028b6ca: Verifying Checksum [2023-08-02T09:15:38.772Z] f23df028b6ca: Download complete [2023-08-02T09:15:38.772Z] d65c8cfc05b1: Verifying Checksum [2023-08-02T09:15:38.772Z] d65c8cfc05b1: Download complete [2023-08-02T09:15:38.772Z] 699f458cf7ca: Verifying Checksum [2023-08-02T09:15:38.772Z] 699f458cf7ca: Download complete [2023-08-02T09:15:39.354Z] 8998bd30e6a1: Verifying Checksum [2023-08-02T09:15:39.354Z] 8998bd30e6a1: Download complete [2023-08-02T09:15:41.296Z] 2437ff75d9bd: Verifying Checksum [2023-08-02T09:15:41.296Z] 2437ff75d9bd: Download complete [2023-08-02T09:15:43.238Z] 8998bd30e6a1: Pull complete [2023-08-02T09:15:43.506Z] 04944245beec: Pull complete [2023-08-02T09:15:46.838Z] 699f458cf7ca: Pull complete [2023-08-02T09:15:46.838Z] 765212b225bb: Pull complete [2023-08-02T09:15:47.103Z] f23df028b6ca: Pull complete [2023-08-02T09:15:47.368Z] d65c8cfc05b1: Pull complete [2023-08-02T09:16:02.353Z] 2437ff75d9bd: Pull complete [2023-08-02T09:16:02.353Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-02T09:16:02.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T09:16:02.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:16:02.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-2737 does not seem to be running inside a container [2023-08-02T09:16:02.607Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-02T09:16:05.049Z] $ docker top 6cc62ee041538a787f65c781518f15905d7df4df37711f67ae5eb1bf36da6724 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:05.858Z] ---> job-cost.sh [2023-08-02T09:16:05.858Z] lf-activate-venv: SKIPPING [2023-08-02T09:16:05.858Z] INFO: No Stack... [2023-08-02T09:16:06.122Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-02T09:16:07.073Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T09:16:07.390Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2023-08-02T09:16:07.390Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T09:16:07.455Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] [2023-08-02T09:16:07.464Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] did not exist. Created. [2023-08-02T09:16:07.464Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T09:16:07.798Z] /w/workspace/device-rest-go/3@tmp/durable-1fac6797/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-02T09:16:08.441Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-02T09:16:08.462Z] Warning: overwriting stash ‘stack-cost’ [2023-08-02T09:16:08.505Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T09:16:08.511Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T09:16:08.544Z] $ docker stop --time=1 6cc62ee041538a787f65c781518f15905d7df4df37711f67ae5eb1bf36da6724 [2023-08-02T09:16:10.065Z] $ docker rm -f --volumes 6cc62ee041538a787f65c781518f15905d7df4df37711f67ae5eb1bf36da6724 [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-02T09:16:10.491Z] provisioning config files... [2023-08-02T09:16:10.498Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config1307003309110139869tmp [Pipeline] { [Pipeline] sh [2023-08-02T09:16:10.789Z] + set +x [2023-08-02T09:16:10.789Z] + curl -s https://codecov.io/bash [2023-08-02T09:16:10.789Z] + bash -s -- [2023-08-02T09:16:10.789Z] [2023-08-02T09:16:10.789Z] _____ _ [2023-08-02T09:16:10.789Z] / ____| | | [2023-08-02T09:16:10.789Z] | | ___ __| | ___ ___ _____ __ [2023-08-02T09:16:10.789Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-02T09:16:10.789Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-02T09:16:10.789Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-02T09:16:10.789Z] Bash-1.0.6 [2023-08-02T09:16:10.789Z] [2023-08-02T09:16:10.789Z] [2023-08-02T09:16:10.789Z] ==> git version 2.25.1 found [2023-08-02T09:16:10.789Z] ==> 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-02T09:16:10.789Z] Release-Date: 2020-01-08 [2023-08-02T09:16:10.789Z] 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-02T09:16:10.789Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-02T09:16:10.789Z] ==> Jenkins CI detected. [2023-08-02T09:16:10.789Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-330 [2023-08-02T09:16:10.789Z] project root: . [2023-08-02T09:16:10.789Z] --> token set from env [2023-08-02T09:16:10.789Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-02T09:16:10.789Z] ==> Running gcov in . (disable via -X gcov) [2023-08-02T09:16:10.789Z] ==> Python coveragepy not found [2023-08-02T09:16:10.789Z] ==> Searching for coverage reports in: [2023-08-02T09:16:10.789Z] + . [2023-08-02T09:16:10.789Z] -> Found 1 reports [2023-08-02T09:16:10.789Z] ==> Detecting git/mercurial file structure [2023-08-02T09:16:11.047Z] ==> Reading reports [2023-08-02T09:16:11.047Z] + ./coverage.out bytes=14656 [2023-08-02T09:16:11.047Z] ==> Appending adjustments [2023-08-02T09:16:11.047Z] https://docs.codecov.io/docs/fixing-reports [2023-08-02T09:16:11.047Z] + Found adjustments [2023-08-02T09:16:11.047Z] ==> Gzipping contents [2023-08-02T09:16:11.047Z] 4.0K /tmp/codecov.dKZlYl.gz [2023-08-02T09:16:11.047Z] ==> Uploading reports [2023-08-02T09:16:11.047Z] url: https://codecov.io [2023-08-02T09:16:11.047Z] query: branch=PR-330&commit=37fb718cbaf2c761f5228c453cbd3f7c499322ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-330%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=330&job=&cmd_args= [2023-08-02T09:16:11.047Z] -> Pinging Codecov [2023-08-02T09:16:11.047Z] 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=37fb718cbaf2c761f5228c453cbd3f7c499322ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-330%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=330&job=&cmd_args= [2023-08-02T09:16:11.047Z] -> Uploading to [2023-08-02T09:16:11.047Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-02/4E5D53B4F1F92C436F7061BF334D961C/37fb718cbaf2c761f5228c453cbd3f7c499322ad/94b57c2e-9045-4e96-8493-0ad7cbf1f8a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230802T091610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2acc4342469e64d0bfbdc561910cf508fc0083cf06a8147a9cd1f804b155bfc3 [2023-08-02T09:16:11.307Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T09:16:11.307Z] Dload Upload Total Spent Left Speed [2023-08-02T09:16:11.307Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 12460 --:--:-- --:--:-- --:--:-- 12460 [2023-08-02T09:16:11.307Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/37fb718cbaf2c761f5228c453cbd3f7c499322ad [Pipeline] } [2023-08-02T09:16:11.314Z] 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-02T09:16:12.057Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-330/archives ] [2023-08-02T09:16:12.057Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T09:16:12.057Z] total 16 [2023-08-02T09:16:12.057Z] drwxr-xr-x 3 root root 4096 Aug 2 09:08 . [2023-08-02T09:16:12.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:08 .. [2023-08-02T09:16:12.057Z] drwxr-xr-x 2 root root 4096 Aug 2 09:08 cost [2023-08-02T09:16:12.057Z] -rw-r--r-- 1 root root 86 Aug 2 09:08 cost.csv [2023-08-02T09:16:12.057Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T09:16:12.057Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T09:16:12.057Z] total 16 [2023-08-02T09:16:12.057Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:08 . [2023-08-02T09:16:12.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:08 .. [2023-08-02T09:16:12.057Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 09:08 cost [2023-08-02T09:16:12.057Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 2 09:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:12.351Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:13.209Z] ---> package-listing.sh [2023-08-02T09:16:13.210Z] ++ facter osfamily [2023-08-02T09:16:13.210Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-02T09:16:13.469Z] + OS_FAMILY=debian [2023-08-02T09:16:13.469Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-330 [2023-08-02T09:16:13.469Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-02T09:16:13.469Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-02T09:16:13.469Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-02T09:16:13.469Z] + PACKAGES=/tmp/packages_start.txt [2023-08-02T09:16:13.469Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' [2023-08-02T09:16:13.469Z] + PACKAGES=/tmp/packages_end.txt [2023-08-02T09:16:13.469Z] + case "${OS_FAMILY}" in [2023-08-02T09:16:13.469Z] + dpkg -l [2023-08-02T09:16:13.469Z] + grep '^ii' [2023-08-02T09:16:13.469Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-02T09:16:13.469Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-02T09:16:13.469Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-02T09:16:13.469Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' [2023-08-02T09:16:13.469Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ [2023-08-02T09:16:13.469Z] + 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-02T09:16:13.481Z] 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-02T09:16:13.759Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:16:14.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:16:14.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:16:14.388Z] prd-ubuntu20.04-docker-8c-8g-2736 does not seem to be running inside a container [2023-08-02T09:16:14.419Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-02T09:16:14.609Z] $ docker top b868461939c397ccd915f363f1c3b3b20f217a66400ee937bc69c4877a817ec5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:16:14.958Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-02T09:16:15.241Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-02T09:16:15.523Z] + ls /var/log/sa-host [2023-08-02T09:16:15.523Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:16:15.673Z] provisioning config files... [2023-08-02T09:16:15.682Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config9987937866379259430tmp [Pipeline] { [Pipeline] echo [2023-08-02T09:16:15.692Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:15.976Z] ---> create-netrc.sh [Pipeline] } [2023-08-02T09:16:15.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:16.317Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-02T09:16:16.325Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:16.609Z] ---> sudo-logs.sh [2023-08-02T09:16:16.609Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-02T09:16:16.631Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:16.911Z] ---> job-cost.sh [2023-08-02T09:16:16.911Z] lf-activate-venv: SKIPPING [2023-08-02T09:16:16.911Z] DEBUG: total: 0.2199999988079071 [2023-08-02T09:16:16.911Z] INFO: Retrieving Stack Cost... [2023-08-02T09:16:17.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T09:16:17.739Z] INFO: Archiving Costs [Pipeline] echo [2023-08-02T09:16:17.750Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:16:18.035Z] ---> logs-deploy.sh [2023-08-02T09:16:18.035Z] lf-activate-venv: SKIPPING [2023-08-02T09:16:18.035Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-330/3 [2023-08-02T09:16:18.035Z] INFO: archiving workspace using pattern(s): [2023-08-02T09:16:19.416Z] Archives upload complete. [2023-08-02T09:16:19.416Z] INFO: archiving logs to Nexus [2023-08-02T09:16:19.984Z] ---> uname -a: [2023-08-02T09:16:19.984Z] Linux prd-ubuntu20-04-docker-8c-8g-2736 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] ---> lscpu: [2023-08-02T09:16:19.984Z] Architecture: x86_64 [2023-08-02T09:16:19.984Z] CPU op-mode(s): 32-bit, 64-bit [2023-08-02T09:16:19.984Z] Byte Order: Little Endian [2023-08-02T09:16:19.984Z] Address sizes: 40 bits physical, 48 bits virtual [2023-08-02T09:16:19.984Z] CPU(s): 8 [2023-08-02T09:16:19.984Z] On-line CPU(s) list: 0-7 [2023-08-02T09:16:19.984Z] Thread(s) per core: 1 [2023-08-02T09:16:19.984Z] Core(s) per socket: 1 [2023-08-02T09:16:19.984Z] Socket(s): 8 [2023-08-02T09:16:19.984Z] NUMA node(s): 1 [2023-08-02T09:16:19.984Z] Vendor ID: AuthenticAMD [2023-08-02T09:16:19.984Z] CPU family: 23 [2023-08-02T09:16:19.984Z] Model: 49 [2023-08-02T09:16:19.984Z] Model name: AMD EPYC-Rome Processor [2023-08-02T09:16:19.984Z] Stepping: 0 [2023-08-02T09:16:19.984Z] CPU MHz: 2800.000 [2023-08-02T09:16:19.984Z] BogoMIPS: 5600.00 [2023-08-02T09:16:19.984Z] Virtualization: AMD-V [2023-08-02T09:16:19.984Z] Hypervisor vendor: KVM [2023-08-02T09:16:19.984Z] Virtualization type: full [2023-08-02T09:16:19.984Z] L1d cache: 256 KiB [2023-08-02T09:16:19.984Z] L1i cache: 256 KiB [2023-08-02T09:16:19.984Z] L2 cache: 4 MiB [2023-08-02T09:16:19.984Z] L3 cache: 128 MiB [2023-08-02T09:16:19.984Z] NUMA node0 CPU(s): 0-7 [2023-08-02T09:16:19.984Z] Vulnerability Itlb multihit: Not affected [2023-08-02T09:16:19.984Z] Vulnerability L1tf: Not affected [2023-08-02T09:16:19.984Z] Vulnerability Mds: Not affected [2023-08-02T09:16:19.984Z] Vulnerability Meltdown: Not affected [2023-08-02T09:16:19.984Z] Vulnerability Mmio stale data: Not affected [2023-08-02T09:16:19.984Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-08-02T09:16:19.984Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-08-02T09:16:19.984Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-08-02T09:16:19.984Z] Vulnerability Srbds: Not affected [2023-08-02T09:16:19.984Z] Vulnerability Tsx async abort: Not affected [2023-08-02T09:16:19.984Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] ---> nproc: [2023-08-02T09:16:19.984Z] 8 [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] ---> df -h: [2023-08-02T09:16:19.984Z] Filesystem Size Used Avail Use% Mounted on [2023-08-02T09:16:19.984Z] overlay 155G 12G 144G 8% / [2023-08-02T09:16:19.984Z] tmpfs 64M 0 64M 0% /dev [2023-08-02T09:16:19.984Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-08-02T09:16:19.984Z] shm 64M 0 64M 0% /dev/shm [2023-08-02T09:16:19.984Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.984Z] ---> sar -b -r -n DEV: [2023-08-02T09:16:19.984Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2736) 08/02/23 _x86_64_ (8 CPU) [2023-08-02T09:16:19.984Z] [2023-08-02T09:16:19.985Z] 09:05:06 LINUX RESTART (8 CPU) [2023-08-02T09:16:19.985Z] [2023-08-02T09:16:19.985Z] 09:06:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-08-02T09:16:19.985Z] 09:07:01 194.78 2.22 192.57 0.00 83.72 72761.61 0.00 [2023-08-02T09:16:19.985Z] 09:08:01 180.58 0.23 180.35 0.00 6.40 44053.56 0.00 [2023-08-02T09:16:19.985Z] 09:09:01 3.82 0.00 3.82 0.00 0.00 62.12 0.00 [2023-08-02T09:16:19.985Z] 09:10:01 1.68 0.00 1.68 0.00 0.00 20.15 0.00 [2023-08-02T09:16:19.985Z] 09:11:01 57.98 11.61 46.37 0.00 5175.87 9052.58 0.00 [2023-08-02T09:16:19.985Z] 09:12:01 4.73 0.02 4.72 0.00 0.13 104.78 0.00 [2023-08-02T09:16:19.985Z] 09:13:01 1.35 0.00 1.35 0.00 0.00 14.40 0.00 [2023-08-02T09:16:19.985Z] 09:14:01 2.10 0.00 2.10 0.00 0.00 23.20 0.00 [2023-08-02T09:16:19.985Z] 09:15:01 1.53 0.00 1.53 0.00 0.00 17.20 0.00 [2023-08-02T09:16:19.985Z] 09:16:01 1.92 0.00 1.92 0.00 0.00 21.20 0.00 [2023-08-02T09:16:19.985Z] Average: 45.05 1.41 43.65 0.00 526.66 12614.59 0.00 [2023-08-02T09:16:19.985Z] [2023-08-02T09:16:19.985Z] 09:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-08-02T09:16:19.985Z] 09:07:01 28129224 31446492 856428 2.60 145224 3365740 2342168 6.90 1339580 2958956 145200 [2023-08-02T09:16:19.985Z] 09:08:01 27628924 31557836 742524 2.26 158504 3919932 2146432 6.33 1284004 3469576 332 [2023-08-02T09:16:19.985Z] 09:09:01 27664216 31592608 710492 2.16 158600 3919792 1745472 5.14 1248156 3469384 192 [2023-08-02T09:16:19.985Z] 09:10:01 27663756 31592312 710440 2.16 158628 3919788 1745472 5.14 1248044 3469384 20 [2023-08-02T09:16:19.985Z] 09:11:01 27125928 31576612 716156 2.18 192748 4383836 1824232 5.38 1568428 3650364 392 [2023-08-02T09:16:19.985Z] 09:12:01 27131152 31577036 715964 2.18 191352 4380568 1793908 5.29 1566512 3647176 12 [2023-08-02T09:16:19.985Z] 09:13:01 27134584 31580516 712428 2.17 191424 4380584 1793908 5.29 1563176 3647176 4 [2023-08-02T09:16:19.985Z] 09:14:01 27135404 31582144 711320 2.16 191500 4380652 1793908 5.29 1562704 3647836 8 [2023-08-02T09:16:19.985Z] 09:15:01 27134852 31581656 711728 2.16 191588 4380644 1793908 5.29 1562764 3647840 8 [2023-08-02T09:16:19.985Z] 09:16:01 27134456 31581376 711944 2.17 191656 4380660 1793908 5.29 1562972 3647852 16 [2023-08-02T09:16:19.985Z] Average: 27388250 31566859 729942 2.22 177122 4141220 1877332 5.53 1450634 3525554 14618 [2023-08-02T09:16:19.985Z] [2023-08-02T09:16:19.985Z] 09:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-08-02T09:16:19.985Z] 09:07:01 ens3 468.49 280.05 6197.07 40.63 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:07:01 veth2f4e6d4 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:07:01 lo 2.67 2.67 0.26 0.26 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:07:01 docker0 181.04 295.85 14.32 1967.29 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:08:01 ens3 137.52 82.11 2637.96 21.48 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:08:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:08:01 docker0 2.95 6.13 0.18 85.40 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:09:01 ens3 2.30 1.70 2.01 0.87 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:10:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:11:01 ens3 242.09 120.34 2930.08 8.38 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:11:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:12:01 ens3 0.27 0.23 0.02 0.02 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:13:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:14:01 ens3 0.67 0.37 1.44 0.03 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:15:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:16:01 ens3 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] Average: ens3 85.18 48.52 1176.97 7.15 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] Average: lo 0.63 0.63 0.06 0.06 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] Average: docker0 18.40 30.20 1.45 205.26 0.00 0.00 0.00 0.00 [2023-08-02T09:16:19.985Z] [2023-08-02T09:16:19.985Z]