Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 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-ssh11523181638122050063.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-ssh11515823168516359995.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16923978055199769123.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-ssh13752895954347360658.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4662439169637807992.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18477 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#327)" > git rev-list --no-walk 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-12T18:02:41.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-12T18:02:41.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-12T18:02:41.833Z] ========================================================= [2023-06-12T18:02:41.833Z] EdgeX Global Pipelines Version Info [2023-06-12T18:02:41.833Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:02:42.555Z] ------------------- [2023-06-12T18:02:42.555Z] stable info: [2023-06-12T18:02:42.555Z] ------------------- [2023-06-12T18:02:42.555Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-12T18:02:42.555Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T18:02:42.555Z] Message: update stable to v1.0.250 [2023-06-12T18:02:43.125Z] ------------------- [2023-06-12T18:02:43.125Z] experimental info: [2023-06-12T18:02:43.125Z] ------------------- [2023-06-12T18:02:43.125Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-12T18:02:43.125Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T18:02:43.125Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-12T18:02:43.285Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-06-12T18:02:43.295Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-06-12T18:02:43.303Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-12T18:02:43.312Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-12T18:02:43.321Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-12T18:02:43.330Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-12T18:02:43.339Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-12T18:02:43.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-12T18:02:43.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-12T18:02:43.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-12T18:02:43.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-12T18:02:43.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-06-12T18:02:43.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-12T18:02:43.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-12T18:02:43.432Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T18:02:43.446Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T18:02:43.473Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T18:02:43.490Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T18:02:43.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-12T18:02:43.526Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-12T18:02:43.541Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-12T18:02:43.555Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-12T18:02:43.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-12T18:02:43.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-12T18:02:43.596Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-12T18:02:43.608Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-12T18:02:43.622Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-12T18:02:43.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-06-12T18:02:43.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-06-12T18:02:43.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-06-12T18:02:43.674Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo [2023-06-12T18:02:43.688Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad4aeca [Pipeline] echo [2023-06-12T18:02:43.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:02:43.747Z] provisioning config files... [2023-06-12T18:02:43.760Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12128635973613947299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:02:44.068Z] ---> docker-login.sh [2023-06-12T18:02:44.068Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:02:44.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:02:44.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:02:44.329Z] Configure a credential helper to remove this warning. See [2023-06-12T18:02:44.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:02:44.329Z] [2023-06-12T18:02:44.329Z] Login Succeeded [2023-06-12T18:02:44.329Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:02:44.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:02:44.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:02:44.592Z] Configure a credential helper to remove this warning. See [2023-06-12T18:02:44.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:02:44.592Z] [2023-06-12T18:02:44.592Z] Login Succeeded [2023-06-12T18:02:44.592Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:02:44.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:02:44.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:02:44.592Z] Configure a credential helper to remove this warning. See [2023-06-12T18:02:44.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:02:44.592Z] [2023-06-12T18:02:44.592Z] Login Succeeded [2023-06-12T18:02:44.592Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:02:44.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:02:45.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:02:45.399Z] Configure a credential helper to remove this warning. See [2023-06-12T18:02:45.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:02:45.399Z] [2023-06-12T18:02:45.399Z] Login Succeeded [2023-06-12T18:02:45.399Z] docker.io [2023-06-12T18:02:45.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:02:45.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:02:45.661Z] Configure a credential helper to remove this warning. See [2023-06-12T18:02:45.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:02:45.661Z] [2023-06-12T18:02:45.661Z] Login Succeeded [2023-06-12T18:02:45.661Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:02:45.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-12T18:02:46.037Z] + git rev-list -1 --merges ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e~1..ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo [2023-06-12T18:02:46.087Z] -----------> git rev-list -1 --merges ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e~1..ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [false] [Pipeline] sh [2023-06-12T18:02:46.374Z] + git log --format=format:%s -1 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo [2023-06-12T18:02:46.445Z] ========================================================= [2023-06-12T18:02:46.445Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-12T18:02:46.445Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:02:46.763Z] + git log --format=format:%s -1 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo [2023-06-12T18:02:46.775Z] [semverPrep] GIT_COMMIT: ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#327) [Pipeline] echo [2023-06-12T18:02:46.783Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-12T18:02:47.139Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:02:47.140Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-12T18:02:47.140Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-12T18:02:47.140Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-12T18:02:47.140Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-12T18:02:47.140Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-12T18:02:47.140Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:02:47.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:02:47.569Z] [2023-06-12T18:02:47.569Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:02:47.876Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:02:47.876Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-12T18:02:47.876Z] b85a868b505f: Pulling fs layer [2023-06-12T18:02:47.876Z] e2be974225ed: Pulling fs layer [2023-06-12T18:02:47.876Z] 339a4e72a1f5: Pulling fs layer [2023-06-12T18:02:47.876Z] 988bab9f4d93: Pulling fs layer [2023-06-12T18:02:47.876Z] 1469e6f7b9e6: Pulling fs layer [2023-06-12T18:02:47.876Z] eaf3925da568: Pulling fs layer [2023-06-12T18:02:47.876Z] bab4dde63d76: Pulling fs layer [2023-06-12T18:02:47.876Z] bde34c3a00c8: Pulling fs layer [2023-06-12T18:02:47.876Z] b352a97aabf1: Pulling fs layer [2023-06-12T18:02:47.876Z] 4872d77fe225: Pulling fs layer [2023-06-12T18:02:47.876Z] 5851b861e8e6: Pulling fs layer [2023-06-12T18:02:47.876Z] 1469e6f7b9e6: Waiting [2023-06-12T18:02:47.876Z] eaf3925da568: Waiting [2023-06-12T18:02:47.876Z] bab4dde63d76: Waiting [2023-06-12T18:02:47.876Z] bde34c3a00c8: Waiting [2023-06-12T18:02:47.876Z] b352a97aabf1: Waiting [2023-06-12T18:02:47.876Z] 4872d77fe225: Waiting [2023-06-12T18:02:47.876Z] 5851b861e8e6: Waiting [2023-06-12T18:02:47.876Z] 988bab9f4d93: Waiting [2023-06-12T18:02:47.876Z] e2be974225ed: Verifying Checksum [2023-06-12T18:02:47.876Z] e2be974225ed: Download complete [2023-06-12T18:02:47.876Z] 988bab9f4d93: Verifying Checksum [2023-06-12T18:02:47.876Z] 988bab9f4d93: Download complete [2023-06-12T18:02:48.143Z] 339a4e72a1f5: Verifying Checksum [2023-06-12T18:02:48.143Z] 339a4e72a1f5: Download complete [2023-06-12T18:02:48.143Z] 1469e6f7b9e6: Verifying Checksum [2023-06-12T18:02:48.143Z] 1469e6f7b9e6: Download complete [2023-06-12T18:02:48.143Z] eaf3925da568: Download complete [2023-06-12T18:02:48.143Z] bde34c3a00c8: Download complete [2023-06-12T18:02:48.143Z] b352a97aabf1: Download complete [2023-06-12T18:02:48.143Z] 4872d77fe225: Download complete [2023-06-12T18:02:48.143Z] 5851b861e8e6: Verifying Checksum [2023-06-12T18:02:48.143Z] 5851b861e8e6: Download complete [2023-06-12T18:02:48.143Z] b85a868b505f: Verifying Checksum [2023-06-12T18:02:48.143Z] b85a868b505f: Download complete [2023-06-12T18:02:48.403Z] bab4dde63d76: Verifying Checksum [2023-06-12T18:02:48.403Z] bab4dde63d76: Download complete [2023-06-12T18:02:49.345Z] b85a868b505f: Pull complete [2023-06-12T18:02:49.345Z] e2be974225ed: Pull complete [2023-06-12T18:02:49.915Z] 339a4e72a1f5: Pull complete [2023-06-12T18:02:49.915Z] 988bab9f4d93: Pull complete [2023-06-12T18:02:50.175Z] 1469e6f7b9e6: Pull complete [2023-06-12T18:02:50.436Z] eaf3925da568: Pull complete [2023-06-12T18:02:52.341Z] bab4dde63d76: Pull complete [2023-06-12T18:02:52.341Z] bde34c3a00c8: Pull complete [2023-06-12T18:02:52.341Z] b352a97aabf1: Pull complete [2023-06-12T18:02:52.341Z] 4872d77fe225: Pull complete [2023-06-12T18:02:52.341Z] 5851b861e8e6: Pull complete [2023-06-12T18:02:52.341Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-12T18:02:52.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:02:52.341Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:02:52.437Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:02:52.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:02:55.617Z] $ docker top 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 -eo pid,comm [2023-06-12T18:02:55.686Z] 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-06-12T18:02:55.686Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:02:55.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:02:55.720Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:02:55.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:02:55.835Z] $ docker exec 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent [2023-06-12T18:02:55.961Z] SSH_AUTH_SOCK=/tmp/ssh-ExqUz5OuZxqd/agent.32 [2023-06-12T18:02:55.961Z] SSH_AGENT_PID=39 [2023-06-12T18:02:55.967Z] Running ssh-add (command line suppressed) [2023-06-12T18:02:56.054Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3062229069006283929.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3062229069006283929.key) [2023-06-12T18:02:56.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:02:56.368Z] + git tag --points-at HEAD [Pipeline] } [2023-06-12T18:02:56.371Z] $ docker exec --env ******** --env ******** 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent -k [2023-06-12T18:02:56.495Z] unset SSH_AUTH_SOCK; [2023-06-12T18:02:56.495Z] unset SSH_AGENT_PID; [2023-06-12T18:02:56.495Z] echo Agent pid 39 killed; [2023-06-12T18:02:56.515Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-12T18:02:56.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:02:56.542Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:02:56.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:02:56.646Z] $ docker exec 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent [2023-06-12T18:02:56.768Z] SSH_AUTH_SOCK=/tmp/ssh-40e2iZIkoUh6/agent.72 [2023-06-12T18:02:56.768Z] SSH_AGENT_PID=78 [2023-06-12T18:02:56.773Z] Running ssh-add (command line suppressed) [2023-06-12T18:02:56.863Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6305487059484065014.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6305487059484065014.key) [2023-06-12T18:02:56.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:02:57.179Z] + git semver init [2023-06-12T18:02:57.748Z] 2023-06-12 18:02:57,435 [run_init] DEBUG init version:0.0.0 force:False [2023-06-12T18:02:57.748Z] 2023-06-12 18:02:57,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-06-12T18:02:57.748Z] 2023-06-12 18:02:57,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-06-12T18:02:57.748Z] 2023-06-12 18:02:57,436 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:02:58.687Z] 2023-06-12 18:02:58,471 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-06-12T18:02:58.687Z] 2023-06-12 18:02:58,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-06-12T18:02:58.687Z] 2023-06-12 18:02:58,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:02:58.687Z] 2023-06-12 18:02:58,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:02:58.687Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T18:02:58.690Z] $ docker exec --env ******** --env ******** 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent -k [2023-06-12T18:02:58.813Z] unset SSH_AUTH_SOCK; [2023-06-12T18:02:58.814Z] unset SSH_AGENT_PID; [2023-06-12T18:02:58.814Z] echo Agent pid 78 killed; [2023-06-12T18:02:58.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:02:59.143Z] + git semver [Pipeline] } [2023-06-12T18:02:59.411Z] $ docker stop --time=1 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 [2023-06-12T18:03:00.727Z] $ docker rm -f --volumes 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:03:01.069Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-12T18:03:01.290Z] Stashed 1 file(s) [Pipeline] echo [2023-06-12T18:03:01.294Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [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-06-12T18:03:01.463Z] provisioning config files... [2023-06-12T18:03:01.474Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1321133020940001449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:03:01.773Z] ---> docker-login.sh [2023-06-12T18:03:01.773Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:03:01.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:01.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:01.773Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:01.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:01.773Z] [2023-06-12T18:03:01.773Z] Login Succeeded [2023-06-12T18:03:01.773Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:03:01.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:01.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:01.773Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:01.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:01.773Z] [2023-06-12T18:03:01.773Z] Login Succeeded [2023-06-12T18:03:01.773Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:03:01.985Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18476 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-06-12T18:03:01.998Z] Running in /w/workspace/device-rest-go/121 [Pipeline] { [Pipeline] checkout [2023-06-12T18:03:02.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:02.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:02.034Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:02.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:02.034Z] [2023-06-12T18:03:02.034Z] Login Succeeded [2023-06-12T18:03:02.034Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:03:02.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:02.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:02.034Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:02.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:02.034Z] [2023-06-12T18:03:02.034Z] Login Succeeded [2023-06-12T18:03:02.034Z] docker.io [2023-06-12T18:03:02.046Z] The recommended git tool is: git [2023-06-12T18:03:02.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:02.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:02.294Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:02.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:02.294Z] [2023-06-12T18:03:02.294Z] Login Succeeded [2023-06-12T18:03:02.294Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:03:02.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T18:03:02.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:03:02.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:03:02.386Z] ========================================================= [2023-06-12T18:03:02.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-12T18:03:02.386Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:03:02.703Z] + 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-06-12T18:03:02.703Z] Sending build context to Docker daemon 10.91MB [2023-06-12T18:03:02.703Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:03:02.703Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T18:03:02.703Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-12T18:03:02.703Z] f56be85fc22e: Pulling fs layer [2023-06-12T18:03:02.703Z] 85791d961cd3: Pulling fs layer [2023-06-12T18:03:02.703Z] d694b5ae8c79: Pulling fs layer [2023-06-12T18:03:02.703Z] 9f32a84ed3da: Pulling fs layer [2023-06-12T18:03:02.703Z] 4d19c01a9841: Pulling fs layer [2023-06-12T18:03:02.703Z] 9325e15d5711: Pulling fs layer [2023-06-12T18:03:02.703Z] 556b6ee489ea: Pulling fs layer [2023-06-12T18:03:02.703Z] c5a4b2cf53e6: Pulling fs layer [2023-06-12T18:03:02.703Z] 9325e15d5711: Waiting [2023-06-12T18:03:02.703Z] 9f32a84ed3da: Waiting [2023-06-12T18:03:02.703Z] 556b6ee489ea: Waiting [2023-06-12T18:03:02.703Z] 4d19c01a9841: Waiting [2023-06-12T18:03:02.703Z] c5a4b2cf53e6: Waiting [2023-06-12T18:03:02.961Z] 85791d961cd3: Verifying Checksum [2023-06-12T18:03:02.961Z] 85791d961cd3: Download complete [2023-06-12T18:03:02.961Z] 9f32a84ed3da: Verifying Checksum [2023-06-12T18:03:02.961Z] 9f32a84ed3da: Download complete [2023-06-12T18:03:02.961Z] 4d19c01a9841: Verifying Checksum [2023-06-12T18:03:02.961Z] 4d19c01a9841: Download complete [2023-06-12T18:03:02.961Z] f56be85fc22e: Verifying Checksum [2023-06-12T18:03:02.961Z] f56be85fc22e: Download complete [2023-06-12T18:03:02.961Z] 9325e15d5711: Verifying Checksum [2023-06-12T18:03:02.961Z] 9325e15d5711: Download complete [2023-06-12T18:03:02.961Z] f56be85fc22e: Pull complete [2023-06-12T18:03:03.221Z] 85791d961cd3: Pull complete [2023-06-12T18:03:03.479Z] c5a4b2cf53e6: Verifying Checksum [2023-06-12T18:03:03.479Z] c5a4b2cf53e6: Download complete [2023-06-12T18:03:03.479Z] d694b5ae8c79: Verifying Checksum [2023-06-12T18:03:03.479Z] d694b5ae8c79: Download complete [2023-06-12T18:03:03.737Z] 556b6ee489ea: Verifying Checksum [2023-06-12T18:03:03.737Z] 556b6ee489ea: Download complete [2023-06-12T18:03:07.031Z] d694b5ae8c79: Pull complete [2023-06-12T18:03:07.031Z] 9f32a84ed3da: Pull complete [2023-06-12T18:03:07.290Z] 4d19c01a9841: Pull complete [2023-06-12T18:03:07.290Z] 9325e15d5711: Pull complete [2023-06-12T18:03:09.068Z] using credential edgex-jenkins-ssh [2023-06-12T18:03:09.089Z] Cloning the remote Git repository [2023-06-12T18:03:09.151Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-06-12T18:03:09.285Z] > git init /w/workspace/device-rest-go/121 # timeout=10 [2023-06-12T18:03:09.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-06-12T18:03:09.489Z] > git --version # timeout=10 [2023-06-12T18:03:09.516Z] > git --version # 'git version 2.25.1' [2023-06-12T18:03:09.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T18:03:09.721Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T18:03:09.816Z] 556b6ee489ea: Pull complete [2023-06-12T18:03:10.751Z] c5a4b2cf53e6: Pull complete [2023-06-12T18:03:10.751Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-12T18:03:10.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-12T18:03:10.751Z] ---> c4be618373d6 [2023-06-12T18:03:10.751Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:03:11.806Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-06-12T18:03:11.830Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T18:03:12.974Z] Avoid second fetch [2023-06-12T18:03:12.975Z] Checking out Revision ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e (main) [2023-06-12T18:03:13.707Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#327)" [2023-06-12T18:03:12.993Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T18:03:13.075Z] > git checkout -f ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:03:14.648Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-12T18:03:14.648Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:03:14.648Z] Dload Upload Total Spent Left Speed [2023-06-12T18:03:14.648Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-06-12T18:03:15.395Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-12T18:03:15.737Z] + sudo tee /etc/docker/daemon.new [2023-06-12T18:03:15.737Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-12T18:03:15.737Z] { [2023-06-12T18:03:15.737Z] "registry-mirrors": [ [2023-06-12T18:03:15.737Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-12T18:03:15.737Z] ], [2023-06-12T18:03:15.737Z] "bip": "10.250.0.254/24", [2023-06-12T18:03:15.737Z] "hosts": [ [2023-06-12T18:03:15.737Z] "tcp://0.0.0.0:5555", [2023-06-12T18:03:15.737Z] "unix:///var/run/docker.sock" [2023-06-12T18:03:15.737Z] ], [2023-06-12T18:03:15.737Z] "mtu": 1458, [2023-06-12T18:03:15.737Z] "selinux-enabled": true, [2023-06-12T18:03:15.737Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-12T18:03:15.737Z] } [Pipeline] sh [2023-06-12T18:03:16.087Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-12T18:03:16.433Z] + sudo service docker restart [2023-06-12T18:03:17.356Z] ---> Running in 182ba86f6fcd [2023-06-12T18:03:17.356Z] Removing intermediate container 182ba86f6fcd [2023-06-12T18:03:17.356Z] ---> 8109c8e7b0b1 [2023-06-12T18:03:17.356Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:03:17.356Z] ---> Running in b347d1895270 [2023-06-12T18:03:17.356Z] Removing intermediate container b347d1895270 [2023-06-12T18:03:17.356Z] ---> a0139312cb1d [2023-06-12T18:03:17.356Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:03:17.356Z] ---> Running in cc8a208283e3 [2023-06-12T18:03:17.356Z] Removing intermediate container cc8a208283e3 [2023-06-12T18:03:17.356Z] ---> 6268f51697dc [2023-06-12T18:03:17.356Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:03:17.356Z] ---> Running in a8f54a27184e [2023-06-12T18:03:17.356Z] Removing intermediate container a8f54a27184e [2023-06-12T18:03:17.356Z] ---> 235542ee0964 [2023-06-12T18:03:17.356Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:03:17.356Z] ---> Running in e54f43a57d6c [2023-06-12T18:03:17.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:03:17.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:03:17.356Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T18:03:17.356Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T18:03:17.356Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T18:03:17.356Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T18:03:17.356Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:03:17.356Z] OK: 269 MiB in 57 packages [2023-06-12T18:03:17.931Z] Removing intermediate container e54f43a57d6c [2023-06-12T18:03:17.931Z] ---> df17e771676d [2023-06-12T18:03:17.931Z] Step 8/12 : WORKDIR /device-rest-go [2023-06-12T18:03:17.931Z] ---> Running in bf8752f15d0a [2023-06-12T18:03:17.931Z] Removing intermediate container bf8752f15d0a [2023-06-12T18:03:17.931Z] ---> 20d0eb189ec0 [2023-06-12T18:03:17.931Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T18:03:18.189Z] ---> b9fa6c77593b [2023-06-12T18:03:18.189Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:03:18.189Z] ---> Running in 3722adc83728 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:03:34.747Z] provisioning config files... [2023-06-12T18:03:34.780Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/121@tmp/config17568874921199188327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:03:35.149Z] ---> docker-login.sh [2023-06-12T18:03:35.149Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:03:35.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:35.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:35.693Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:35.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:35.693Z] [2023-06-12T18:03:35.693Z] Login Succeeded [2023-06-12T18:03:35.693Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:03:35.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:36.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:36.246Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:36.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:36.246Z] [2023-06-12T18:03:36.246Z] Login Succeeded [2023-06-12T18:03:36.246Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:03:36.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:36.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:36.536Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:36.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:36.536Z] [2023-06-12T18:03:36.536Z] Login Succeeded [2023-06-12T18:03:36.536Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:03:36.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:36.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:36.811Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:36.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:36.811Z] [2023-06-12T18:03:36.811Z] Login Succeeded [2023-06-12T18:03:36.811Z] docker.io [2023-06-12T18:03:37.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:03:37.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:03:37.358Z] Configure a credential helper to remove this warning. See [2023-06-12T18:03:37.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:03:37.358Z] [2023-06-12T18:03:37.358Z] Login Succeeded [2023-06-12T18:03:37.358Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:03:37.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T18:03:37.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:03:37.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:03:37.751Z] ========================================================= [2023-06-12T18:03:37.751Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-12T18:03:37.751Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:03:38.110Z] + 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-06-12T18:03:38.110Z] Sending build context to Docker daemon 141.8kB [2023-06-12T18:03:38.382Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:03:38.382Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T18:03:38.658Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-12T18:03:38.658Z] c41833b44d91: Pulling fs layer [2023-06-12T18:03:38.658Z] ed15518f5707: Pulling fs layer [2023-06-12T18:03:38.658Z] feae8fd75edb: Pulling fs layer [2023-06-12T18:03:38.658Z] 242c74f7c9fa: Pulling fs layer [2023-06-12T18:03:38.658Z] 3cdef696dda3: Pulling fs layer [2023-06-12T18:03:38.658Z] 2ced38df9373: Pulling fs layer [2023-06-12T18:03:38.658Z] 58f1dce35555: Pulling fs layer [2023-06-12T18:03:38.658Z] 242c74f7c9fa: Waiting [2023-06-12T18:03:38.658Z] 2ced38df9373: Waiting [2023-06-12T18:03:38.658Z] 3cdef696dda3: Waiting [2023-06-12T18:03:38.658Z] 58f1dce35555: Waiting [2023-06-12T18:03:38.658Z] ed15518f5707: Verifying Checksum [2023-06-12T18:03:38.658Z] ed15518f5707: Download complete [2023-06-12T18:03:38.658Z] 242c74f7c9fa: Verifying Checksum [2023-06-12T18:03:38.658Z] 242c74f7c9fa: Download complete [2023-06-12T18:03:38.658Z] 3cdef696dda3: Download complete [2023-06-12T18:03:38.658Z] c41833b44d91: Verifying Checksum [2023-06-12T18:03:39.658Z] c41833b44d91: Pull complete [2023-06-12T18:03:40.636Z] 58f1dce35555: Verifying Checksum [2023-06-12T18:03:40.636Z] 58f1dce35555: Download complete [2023-06-12T18:03:40.636Z] ed15518f5707: Pull complete [2023-06-12T18:03:41.629Z] feae8fd75edb: Verifying Checksum [2023-06-12T18:03:41.629Z] feae8fd75edb: Download complete [2023-06-12T18:03:41.629Z] 2ced38df9373: Verifying Checksum [2023-06-12T18:03:41.629Z] 2ced38df9373: Download complete [2023-06-12T18:03:54.023Z] feae8fd75edb: Pull complete [2023-06-12T18:03:54.023Z] 242c74f7c9fa: Pull complete [2023-06-12T18:03:54.023Z] 3cdef696dda3: Pull complete [2023-06-12T18:03:56.936Z] Removing intermediate container 3722adc83728 [2023-06-12T18:03:56.936Z] ---> c2b2ac5f9c35 [2023-06-12T18:03:56.936Z] Step 11/12 : COPY . . [2023-06-12T18:03:56.936Z] ---> e42edcfe26cf [2023-06-12T18:03:56.936Z] Step 12/12 : RUN $MAKE [2023-06-12T18:03:56.936Z] ---> Running in 15d9f4c6269f [2023-06-12T18:03:56.936Z] noop [2023-06-12T18:03:56.937Z] Removing intermediate container 15d9f4c6269f [2023-06-12T18:03:56.937Z] ---> b95b1f7c617a [2023-06-12T18:03:56.937Z] Successfully built b95b1f7c617a [2023-06-12T18:03:56.937Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:03:57.251Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T18:03:57.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:03:57.376Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:03:57.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2023-06-12T18:03:58.383Z] $ docker top 2482768658df53aeb74f0299f28444be99a7fde6b7e80a5e0e194a82fb0b99c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:03:58.705Z] + go version [2023-06-12T18:03:58.705Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-12T18:03:58.727Z] $ docker stop --time=1 2482768658df53aeb74f0299f28444be99a7fde6b7e80a5e0e194a82fb0b99c4 [2023-06-12T18:04:00.277Z] $ docker rm -f --volumes 2482768658df53aeb74f0299f28444be99a7fde6b7e80a5e0e194a82fb0b99c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:04:00.693Z] 2ced38df9373: Pull complete [2023-06-12T18:04:00.709Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T18:04:00.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:04:00.784Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:04:00.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2023-06-12T18:04:01.251Z] $ docker top 0d3980887a05386ecde0ffb0263c717f46a840f4fbf21620e2a984a062419f72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:04:01.588Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-06-12T18:04:01.887Z] + make test [2023-06-12T18:04:01.887Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T18:04:02.682Z] 58f1dce35555: Pull complete [2023-06-12T18:04:02.951Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-12T18:04:02.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-12T18:04:02.952Z] ---> fadd8f120f05 [2023-06-12T18:04:02.952Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:04:04.444Z] ---> Running in 5ff9373cfd56 [2023-06-12T18:04:05.052Z] Removing intermediate container 5ff9373cfd56 [2023-06-12T18:04:05.052Z] ---> fb371113c704 [2023-06-12T18:04:05.052Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:04:05.052Z] ---> Running in d11355072481 [2023-06-12T18:04:06.490Z] Removing intermediate container d11355072481 [2023-06-12T18:04:06.490Z] ---> 0cf9e266dae1 [2023-06-12T18:04:06.490Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:04:06.490Z] ---> Running in f891a1a3ca8e [2023-06-12T18:04:06.764Z] Removing intermediate container f891a1a3ca8e [2023-06-12T18:04:06.764Z] ---> ffe34c8097ad [2023-06-12T18:04:06.764Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:04:07.032Z] ---> Running in 3f3611478d2a [2023-06-12T18:04:07.164Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-06-12T18:04:07.302Z] Removing intermediate container 3f3611478d2a [2023-06-12T18:04:07.302Z] ---> 3d05784e99a0 [2023-06-12T18:04:07.302Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:04:07.302Z] ---> Running in b9798f26e387 [2023-06-12T18:04:08.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:04:09.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:04:10.738Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T18:04:10.738Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T18:04:10.738Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T18:04:10.738Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T18:04:10.738Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:04:10.738Z] OK: 268 MiB in 57 packages [2023-06-12T18:04:11.706Z] Removing intermediate container b9798f26e387 [2023-06-12T18:04:11.706Z] ---> 3461482e0fe1 [2023-06-12T18:04:11.706Z] Step 8/12 : WORKDIR /device-rest-go [2023-06-12T18:04:11.982Z] ---> Running in b8efc6ae138b [2023-06-12T18:04:12.254Z] Removing intermediate container b8efc6ae138b [2023-06-12T18:04:12.254Z] ---> 445b8bbd0eba [2023-06-12T18:04:12.254Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T18:04:12.844Z] ---> 124fc2aab273 [2023-06-12T18:04:12.844Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:04:12.844Z] ---> Running in c23a3b22638a [2023-06-12T18:04:17.227Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-06-12T18:04:17.227Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-06-12T18:04:23.595Z] go vet ./... [2023-06-12T18:04:26.882Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:04:26.882Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:04:26.882Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:04:26.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:04:26.916Z] $ docker stop --time=1 0d3980887a05386ecde0ffb0263c717f46a840f4fbf21620e2a984a062419f72 [2023-06-12T18:04:29.854Z] $ docker rm -f --volumes 0d3980887a05386ecde0ffb0263c717f46a840f4fbf21620e2a984a062419f72 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:04:30.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:04:30.377Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-12T18:04:30.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:04:31.182Z] + ls -al . [2023-06-12T18:04:31.182Z] total 184 [2023-06-12T18:04:31.182Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 18:04 . [2023-06-12T18:04:31.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:02 .. [2023-06-12T18:04:31.182Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:02 .dockerignore [2023-06-12T18:04:31.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:02 .git [2023-06-12T18:04:31.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:02 .github [2023-06-12T18:04:31.182Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:02 .gitignore [2023-06-12T18:04:31.182Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:02 .golangci.yml [2023-06-12T18:04:31.182Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:02 .semver [2023-06-12T18:04:31.182Z] -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:02 Attribution.txt [2023-06-12T18:04:31.182Z] -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:02 CHANGELOG.md [2023-06-12T18:04:31.182Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:02 Dockerfile [2023-06-12T18:04:31.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:02 GOVERNANCE.md [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:02 Jenkinsfile [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:02 LICENSE [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:02 Makefile [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:02 OWNERS.md [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:02 README.md [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 18:03 VERSION [2023-06-12T18:04:31.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:02 bin [2023-06-12T18:04:31.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:02 cmd [2023-06-12T18:04:31.183Z] -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:04 coverage.out [2023-06-12T18:04:31.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:02 driver [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:02 go.mod [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:02 go.sum [2023-06-12T18:04:31.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:02 snap [2023-06-12T18:04:31.183Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:04:31.498Z] + 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=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e --label arch=amd64 --label version=3.1.0-dev.1 . [2023-06-12T18:04:31.498Z] Sending build context to Docker daemon 10.92MB [2023-06-12T18:04:31.498Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:04:31.498Z] Step 2/25 : FROM ${BASE} AS builder [2023-06-12T18:04:31.498Z] ---> b95b1f7c617a [2023-06-12T18:04:31.498Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:04:31.759Z] ---> Running in 913b538eb968 [2023-06-12T18:04:31.759Z] Removing intermediate container 913b538eb968 [2023-06-12T18:04:31.759Z] ---> fb3823474dbb [2023-06-12T18:04:31.759Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:04:31.759Z] ---> Running in 718565437fe3 [2023-06-12T18:04:31.759Z] Removing intermediate container 718565437fe3 [2023-06-12T18:04:31.759Z] ---> fe1ced7bb91b [2023-06-12T18:04:31.759Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:04:31.759Z] ---> Running in a4098c0b4edb [2023-06-12T18:04:32.017Z] Removing intermediate container a4098c0b4edb [2023-06-12T18:04:32.017Z] ---> f68af381b7ad [2023-06-12T18:04:32.017Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:04:32.017Z] ---> Running in 15cd86527fb0 [2023-06-12T18:04:32.017Z] Removing intermediate container 15cd86527fb0 [2023-06-12T18:04:32.017Z] ---> 458ef99d86ef [2023-06-12T18:04:32.017Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:04:32.017Z] ---> Running in 48e6af09debd [2023-06-12T18:04:32.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:04:32.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:04:32.580Z] OK: 269 MiB in 57 packages [2023-06-12T18:04:32.857Z] Removing intermediate container 48e6af09debd [2023-06-12T18:04:32.857Z] ---> 9cf43aeb8805 [2023-06-12T18:04:32.857Z] Step 8/25 : WORKDIR /device-rest-go [2023-06-12T18:04:32.857Z] ---> Running in 1b3dac3e4ed1 [2023-06-12T18:04:33.133Z] Removing intermediate container 1b3dac3e4ed1 [2023-06-12T18:04:33.133Z] ---> f7218a46328a [2023-06-12T18:04:33.133Z] Step 9/25 : COPY go.mod vendor* ./ [2023-06-12T18:04:33.133Z] ---> bb7c421fead9 [2023-06-12T18:04:33.133Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:04:33.133Z] ---> Running in 9d2dd1595f58 [2023-06-12T18:04:34.185Z] Removing intermediate container 9d2dd1595f58 [2023-06-12T18:04:34.185Z] ---> 8539bb9ececd [2023-06-12T18:04:34.185Z] Step 11/25 : COPY . . [2023-06-12T18:04:34.443Z] ---> a71a858a784e [2023-06-12T18:04:34.443Z] Step 12/25 : RUN $MAKE [2023-06-12T18:04:34.443Z] ---> Running in e421d6c3f962 [2023-06-12T18:04:34.702Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-06-12T18:04:52.787Z] Removing intermediate container e421d6c3f962 [2023-06-12T18:04:52.787Z] ---> 39622781140e [2023-06-12T18:04:52.787Z] Step 13/25 : FROM alpine:3.17 [2023-06-12T18:04:52.787Z] 3.17: Pulling from library/alpine [2023-06-12T18:04:52.787Z] f56be85fc22e: Already exists [2023-06-12T18:04:52.787Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:04:52.787Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:04:52.787Z] ---> 9ed4aefc74f6 [2023-06-12T18:04:52.787Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-06-12T18:04:52.787Z] ---> Running in 4ca9b3b8d820 [2023-06-12T18:04:53.045Z] Removing intermediate container 4ca9b3b8d820 [2023-06-12T18:04:53.045Z] ---> a540c3ee31af [2023-06-12T18:04:53.045Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-06-12T18:04:53.045Z] ---> Running in 0fa328c06fb7 [2023-06-12T18:04:53.045Z] Removing intermediate container 0fa328c06fb7 [2023-06-12T18:04:53.045Z] ---> 699c5e95438f [2023-06-12T18:04:53.045Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:04:53.045Z] ---> Running in c1aad3efef2f [2023-06-12T18:04:53.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:04:53.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:04:53.819Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:04:53.819Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:04:53.819Z] OK: 7 MiB in 16 packages [2023-06-12T18:04:54.077Z] Removing intermediate container c1aad3efef2f [2023-06-12T18:04:54.077Z] ---> 23615a1141aa [2023-06-12T18:04:54.077Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-06-12T18:04:54.644Z] ---> 68a4ba915198 [2023-06-12T18:04:54.644Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-06-12T18:04:54.903Z] ---> faa13489569a [2023-06-12T18:04:54.903Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-06-12T18:04:55.161Z] ---> 3d7b0578e295 [2023-06-12T18:04:55.161Z] Step 20/25 : EXPOSE 59986 [2023-06-12T18:04:55.161Z] ---> Running in 9eb701bd9638 [2023-06-12T18:04:55.161Z] Removing intermediate container 9eb701bd9638 [2023-06-12T18:04:55.161Z] ---> 39371fd1d7f0 [2023-06-12T18:04:55.161Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-06-12T18:04:55.161Z] ---> Running in 93996e0d1943 [2023-06-12T18:04:55.418Z] Removing intermediate container 93996e0d1943 [2023-06-12T18:04:55.418Z] ---> 671bdce46367 [2023-06-12T18:04:55.418Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:04:55.418Z] ---> Running in 24b378a61f6d [2023-06-12T18:04:55.418Z] Removing intermediate container 24b378a61f6d [2023-06-12T18:04:55.418Z] ---> bc4edeb710c9 [2023-06-12T18:04:55.418Z] Step 23/25 : LABEL arch=amd64 [2023-06-12T18:04:55.418Z] ---> Running in ccc238b798af [2023-06-12T18:04:55.418Z] Removing intermediate container ccc238b798af [2023-06-12T18:04:55.418Z] ---> 7ce9bb9ac9fa [2023-06-12T18:04:55.418Z] Step 24/25 : LABEL git_sha=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:04:55.418Z] ---> Running in a15840aa227f [2023-06-12T18:04:55.678Z] Removing intermediate container a15840aa227f [2023-06-12T18:04:55.678Z] ---> 911472141ef9 [2023-06-12T18:04:55.678Z] Step 25/25 : LABEL version=3.1.0-dev.1 [2023-06-12T18:04:55.678Z] ---> Running in 197e073424bf [2023-06-12T18:04:55.678Z] Removing intermediate container 197e073424bf [2023-06-12T18:04:55.678Z] ---> 911771ba17fb [2023-06-12T18:04:55.678Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:04:55.678Z] Successfully built 911771ba17fb [2023-06-12T18:04:55.678Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:04:55.781Z] provisioning config files... [2023-06-12T18:04:55.789Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3297606919612678464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:04:56.088Z] ---> docker-login.sh [2023-06-12T18:04:56.089Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:04:56.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:04:56.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:04:56.089Z] Configure a credential helper to remove this warning. See [2023-06-12T18:04:56.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:04:56.089Z] [2023-06-12T18:04:56.089Z] Login Succeeded [2023-06-12T18:04:56.089Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:04:56.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:04:56.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:04:56.089Z] Configure a credential helper to remove this warning. See [2023-06-12T18:04:56.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:04:56.089Z] [2023-06-12T18:04:56.089Z] Login Succeeded [2023-06-12T18:04:56.089Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:04:56.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:04:56.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:04:56.349Z] Configure a credential helper to remove this warning. See [2023-06-12T18:04:56.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:04:56.349Z] [2023-06-12T18:04:56.349Z] Login Succeeded [2023-06-12T18:04:56.349Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:04:56.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:04:56.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:04:56.349Z] Configure a credential helper to remove this warning. See [2023-06-12T18:04:56.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:04:56.349Z] [2023-06-12T18:04:56.349Z] Login Succeeded [2023-06-12T18:04:56.349Z] docker.io [2023-06-12T18:04:56.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:04:56.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:04:56.608Z] Configure a credential helper to remove this warning. See [2023-06-12T18:04:56.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:04:56.608Z] [2023-06-12T18:04:56.608Z] Login Succeeded [2023-06-12T18:04:56.608Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:04:56.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:04:56.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:04:56.664Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-06-12T18:04:56.664Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:04:56.664Z] latest [2023-06-12T18:04:56.664Z] 3.1.0-dev.1 [2023-06-12T18:04:56.664Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [2023-06-12T18:04:56.664Z] main [2023-06-12T18:04:56.664Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:04:56.976Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:04:57.293Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:04:57.293Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-06-12T18:04:57.293Z] 1730b545bcad: Preparing [2023-06-12T18:04:57.293Z] 09550ee846bd: Preparing [2023-06-12T18:04:57.293Z] 1de548c81902: Preparing [2023-06-12T18:04:57.293Z] 43597eac0c7b: Preparing [2023-06-12T18:04:57.293Z] f1417ff83b31: Preparing [2023-06-12T18:04:57.293Z] f1417ff83b31: Layer already exists [2023-06-12T18:04:57.293Z] 1730b545bcad: Pushed [2023-06-12T18:04:57.293Z] 43597eac0c7b: Pushed [2023-06-12T18:04:57.293Z] 09550ee846bd: Pushed [2023-06-12T18:04:59.832Z] 1de548c81902: Pushed [2023-06-12T18:04:59.832Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:00.159Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:00.472Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-06-12T18:05:00.472Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-06-12T18:05:00.472Z] 1730b545bcad: Preparing [2023-06-12T18:05:00.472Z] 09550ee846bd: Preparing [2023-06-12T18:05:00.472Z] 1de548c81902: Preparing [2023-06-12T18:05:00.472Z] 43597eac0c7b: Preparing [2023-06-12T18:05:00.472Z] f1417ff83b31: Preparing [2023-06-12T18:05:00.472Z] 09550ee846bd: Layer already exists [2023-06-12T18:05:00.472Z] 1de548c81902: Layer already exists [2023-06-12T18:05:00.472Z] f1417ff83b31: Layer already exists [2023-06-12T18:05:00.472Z] 43597eac0c7b: Layer already exists [2023-06-12T18:05:00.472Z] 1730b545bcad: Layer already exists [2023-06-12T18:05:00.472Z] latest: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:00.791Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:01.100Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.1 [2023-06-12T18:05:01.100Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-06-12T18:05:01.100Z] 1730b545bcad: Preparing [2023-06-12T18:05:01.100Z] 09550ee846bd: Preparing [2023-06-12T18:05:01.100Z] 1de548c81902: Preparing [2023-06-12T18:05:01.100Z] 43597eac0c7b: Preparing [2023-06-12T18:05:01.100Z] f1417ff83b31: Preparing [2023-06-12T18:05:01.100Z] 09550ee846bd: Layer already exists [2023-06-12T18:05:01.100Z] 1de548c81902: Layer already exists [2023-06-12T18:05:01.100Z] 43597eac0c7b: Layer already exists [2023-06-12T18:05:01.100Z] f1417ff83b31: Layer already exists [2023-06-12T18:05:01.100Z] 1730b545bcad: Layer already exists [2023-06-12T18:05:01.100Z] 3.1.0-dev.1: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:01.411Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:01.721Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [2023-06-12T18:05:01.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-06-12T18:05:01.721Z] 1730b545bcad: Preparing [2023-06-12T18:05:01.721Z] 09550ee846bd: Preparing [2023-06-12T18:05:01.721Z] 1de548c81902: Preparing [2023-06-12T18:05:01.721Z] 43597eac0c7b: Preparing [2023-06-12T18:05:01.721Z] f1417ff83b31: Preparing [2023-06-12T18:05:01.721Z] 43597eac0c7b: Layer already exists [2023-06-12T18:05:01.721Z] 1de548c81902: Layer already exists [2023-06-12T18:05:01.721Z] 1730b545bcad: Layer already exists [2023-06-12T18:05:01.721Z] 09550ee846bd: Layer already exists [2023-06-12T18:05:01.721Z] f1417ff83b31: Layer already exists [2023-06-12T18:05:01.721Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:02.043Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:02.355Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-06-12T18:05:02.355Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-06-12T18:05:02.355Z] 1730b545bcad: Preparing [2023-06-12T18:05:02.355Z] 09550ee846bd: Preparing [2023-06-12T18:05:02.355Z] 1de548c81902: Preparing [2023-06-12T18:05:02.355Z] 43597eac0c7b: Preparing [2023-06-12T18:05:02.355Z] f1417ff83b31: Preparing [2023-06-12T18:05:02.614Z] 09550ee846bd: Layer already exists [2023-06-12T18:05:02.614Z] f1417ff83b31: Layer already exists [2023-06-12T18:05:02.614Z] 1de548c81902: Layer already exists [2023-06-12T18:05:02.614Z] 43597eac0c7b: Layer already exists [2023-06-12T18:05:02.614Z] 1730b545bcad: Layer already exists [2023-06-12T18:05:02.874Z] main: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:05:02.912Z] ===================================================== [Pipeline] echo [2023-06-12T18:05:02.919Z] taggedImages: [2023-06-12T18:05:02.919Z] - nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:05:02.919Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-06-12T18:05:02.919Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.1 [2023-06-12T18:05:02.919Z] - nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [2023-06-12T18:05:02.919Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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-06-12T18:05:03.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:05:03.265Z] [2023-06-12T18:05:03.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:03.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:05:03.564Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-12T18:05:03.564Z] 5eb5b503b376: Pulling fs layer [2023-06-12T18:05:03.564Z] 5c69ac0246d0: Pulling fs layer [2023-06-12T18:05:03.564Z] ec43610c2a17: Pulling fs layer [2023-06-12T18:05:03.564Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-12T18:05:03.564Z] 33b1e0a273af: Pulling fs layer [2023-06-12T18:05:03.564Z] 5d3b04190fa2: Pulling fs layer [2023-06-12T18:05:03.564Z] 2f39f015ded8: Pulling fs layer [2023-06-12T18:05:03.564Z] 3a2ae6a8a46f: Waiting [2023-06-12T18:05:03.564Z] 33b1e0a273af: Waiting [2023-06-12T18:05:03.564Z] 5d3b04190fa2: Waiting [2023-06-12T18:05:03.564Z] 2f39f015ded8: Waiting [2023-06-12T18:05:03.564Z] 5c69ac0246d0: Download complete [2023-06-12T18:05:03.564Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-12T18:05:03.564Z] 3a2ae6a8a46f: Download complete [2023-06-12T18:05:03.564Z] 33b1e0a273af: Verifying Checksum [2023-06-12T18:05:03.564Z] 33b1e0a273af: Download complete [2023-06-12T18:05:03.564Z] 5d3b04190fa2: Verifying Checksum [2023-06-12T18:05:03.564Z] 5d3b04190fa2: Download complete [2023-06-12T18:05:03.564Z] ec43610c2a17: Verifying Checksum [2023-06-12T18:05:03.564Z] ec43610c2a17: Download complete [2023-06-12T18:05:03.825Z] 5eb5b503b376: Verifying Checksum [2023-06-12T18:05:03.825Z] 5eb5b503b376: Download complete [2023-06-12T18:05:04.402Z] 2f39f015ded8: Download complete [2023-06-12T18:05:04.969Z] 5eb5b503b376: Pull complete [2023-06-12T18:05:05.227Z] 5c69ac0246d0: Pull complete [2023-06-12T18:05:05.794Z] ec43610c2a17: Pull complete [2023-06-12T18:05:05.794Z] 3a2ae6a8a46f: Pull complete [2023-06-12T18:05:06.053Z] 33b1e0a273af: Pull complete [2023-06-12T18:05:06.311Z] 5d3b04190fa2: Pull complete [2023-06-12T18:05:10.491Z] 2f39f015ded8: Pull complete [2023-06-12T18:05:10.491Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-12T18:05:10.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:05:10.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:05:10.568Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:05:10.609Z] $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T18:05:14.592Z] $ docker top d4d520d29f1fe1480861451fe9ac4786c844158bea58f8343aabced3dc503e68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:05:14.969Z] ---> job-cost.sh [2023-06-12T18:05:14.969Z] lf-activate-venv: SKIPPING [2023-06-12T18:05:14.969Z] INFO: No Stack... [2023-06-12T18:05:15.228Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:05:15.796Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:05:16.088Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-06-12T18:05:16.088Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T18:05:16.105Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [2023-06-12T18:05:16.115Z] Resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] did not exist. Created. [2023-06-12T18:05:16.115Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:05:16.415Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-12T18:05:16.447Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:05:16.452Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:05:16.481Z] $ docker stop --time=1 d4d520d29f1fe1480861451fe9ac4786c844158bea58f8343aabced3dc503e68 [2023-06-12T18:05:17.630Z] $ docker rm -f --volumes d4d520d29f1fe1480861451fe9ac4786c844158bea58f8343aabced3dc503e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-12T18:05:20.996Z] Removing intermediate container c23a3b22638a [2023-06-12T18:05:20.996Z] ---> 95fe6cee3013 [2023-06-12T18:05:20.996Z] Step 11/12 : COPY . . [2023-06-12T18:05:20.996Z] ---> e0cb81c3e37d [2023-06-12T18:05:20.996Z] Step 12/12 : RUN $MAKE [2023-06-12T18:05:20.996Z] ---> Running in 9b0d5979754a [2023-06-12T18:05:20.996Z] noop [2023-06-12T18:05:20.996Z] Removing intermediate container 9b0d5979754a [2023-06-12T18:05:20.996Z] ---> 742d4b11776c [2023-06-12T18:05:20.996Z] Successfully built 742d4b11776c [2023-06-12T18:05:20.996Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:21.350Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T18:05:21.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:05:21.596Z] prd-ubuntu20.04-docker-arm64-4c-16g-18476 does not seem to be running inside a container [2023-06-12T18:05:21.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/121 -v /w/workspace/device-rest-go/121:/w/workspace/device-rest-go/121:rw,z -v /w/workspace/device-rest-go/121@tmp:/w/workspace/device-rest-go/121@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 ******** ci-base-image-arm64 cat [2023-06-12T18:05:23.090Z] $ docker top e6e924bfc24d27de98222c4f516b5678d7bf9a6b0d5d12aac0b186aaa249ef62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:05:23.990Z] + go version [2023-06-12T18:05:23.990Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-12T18:05:24.009Z] $ docker stop --time=1 e6e924bfc24d27de98222c4f516b5678d7bf9a6b0d5d12aac0b186aaa249ef62 [2023-06-12T18:05:26.459Z] $ docker rm -f --volumes e6e924bfc24d27de98222c4f516b5678d7bf9a6b0d5d12aac0b186aaa249ef62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:27.061Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T18:05:27.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:05:27.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-18476 does not seem to be running inside a container [2023-06-12T18:05:27.354Z] $ 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/121 -v /w/workspace/device-rest-go/121:/w/workspace/device-rest-go/121:rw,z -v /w/workspace/device-rest-go/121@tmp:/w/workspace/device-rest-go/121@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 ******** ci-base-image-arm64 cat [2023-06-12T18:05:28.597Z] $ docker top 05cc67cb86cf1241103c63385badce3f8bd43c0691ff53d670ef01d34d974e3a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:05:29.470Z] + git config --global --add safe.directory /w/workspace/device-rest-go/121 [Pipeline] fileExists [Pipeline] sh [2023-06-12T18:05:30.128Z] + make test [2023-06-12T18:05:30.128Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T18:06:09.017Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-06-12T18:08:00.682Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-06-12T18:08:00.682Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 32.2% of statements [2023-06-12T18:08:00.682Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-12T18:08:00.682Z] go vet ./... [2023-06-12T18:08:27.370Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:08:27.370Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:08:27.370Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:08:27.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:08:27.399Z] $ docker stop --time=1 05cc67cb86cf1241103c63385badce3f8bd43c0691ff53d670ef01d34d974e3a [2023-06-12T18:08:29.172Z] $ docker rm -f --volumes 05cc67cb86cf1241103c63385badce3f8bd43c0691ff53d670ef01d34d974e3a [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:08:30.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:08:30.264Z] Warning: overwriting stash ‘coverage-report’ [2023-06-12T18:08:30.658Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:08:31.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:08:31.337Z] + ls -al . [2023-06-12T18:08:31.338Z] total 180 [2023-06-12T18:08:31.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:05 . [2023-06-12T18:08:31.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:03 .. [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:03 .dockerignore [2023-06-12T18:08:31.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:03 .git [2023-06-12T18:08:31.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:03 .github [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:03 .gitignore [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:03 .golangci.yml [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:03 Attribution.txt [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:03 CHANGELOG.md [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:03 Dockerfile [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:03 GOVERNANCE.md [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:03 Jenkinsfile [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:03 LICENSE [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:03 Makefile [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:03 OWNERS.md [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:03 README.md [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 18:03 VERSION [2023-06-12T18:08:31.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:03 bin [2023-06-12T18:08:31.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:03 cmd [2023-06-12T18:08:31.338Z] -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:07 coverage.out [2023-06-12T18:08:31.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:03 driver [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:03 go.mod [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:03 go.sum [2023-06-12T18:08:31.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:03 snap [2023-06-12T18:08:31.338Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:08:31.671Z] + 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=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e --label arch=arm64 --label version=3.1.0-dev.1 . [2023-06-12T18:08:31.671Z] Sending build context to Docker daemon 157.2kB [2023-06-12T18:08:31.938Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:08:31.939Z] Step 2/25 : FROM ${BASE} AS builder [2023-06-12T18:08:31.939Z] ---> 742d4b11776c [2023-06-12T18:08:31.939Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:08:31.939Z] ---> Running in 864c974e4c4c [2023-06-12T18:08:32.206Z] Removing intermediate container 864c974e4c4c [2023-06-12T18:08:32.206Z] ---> fc10b6b0280d [2023-06-12T18:08:32.206Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:08:32.206Z] ---> Running in 1ec543341b9b [2023-06-12T18:08:32.473Z] Removing intermediate container 1ec543341b9b [2023-06-12T18:08:32.473Z] ---> 27ec1340c009 [2023-06-12T18:08:32.473Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:08:32.748Z] ---> Running in 9011ab70adce [2023-06-12T18:08:33.015Z] Removing intermediate container 9011ab70adce [2023-06-12T18:08:33.015Z] ---> e4968018e25c [2023-06-12T18:08:33.015Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:08:33.015Z] ---> Running in ed152ff0e043 [2023-06-12T18:08:33.282Z] Removing intermediate container ed152ff0e043 [2023-06-12T18:08:33.282Z] ---> e97ec761d5df [2023-06-12T18:08:33.282Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:08:33.282Z] ---> Running in 6cb0b1231c60 [2023-06-12T18:08:34.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:08:34.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:08:35.817Z] OK: 268 MiB in 57 packages [2023-06-12T18:08:36.406Z] Removing intermediate container 6cb0b1231c60 [2023-06-12T18:08:36.406Z] ---> 50d4c11d4bea [2023-06-12T18:08:36.406Z] Step 8/25 : WORKDIR /device-rest-go [2023-06-12T18:08:36.672Z] ---> Running in c0087aea3ba2 [2023-06-12T18:08:37.629Z] Removing intermediate container c0087aea3ba2 [2023-06-12T18:08:37.629Z] ---> 0f68e2a484e4 [2023-06-12T18:08:37.629Z] Step 9/25 : COPY go.mod vendor* ./ [2023-06-12T18:08:38.226Z] ---> 16596e457751 [2023-06-12T18:08:38.226Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:08:38.226Z] ---> Running in ceb5195bd658 [2023-06-12T18:08:40.814Z] Removing intermediate container ceb5195bd658 [2023-06-12T18:08:40.814Z] ---> f4c0f5630999 [2023-06-12T18:08:40.814Z] Step 11/25 : COPY . . [2023-06-12T18:08:41.082Z] ---> b17ccf041885 [2023-06-12T18:08:41.082Z] Step 12/25 : RUN $MAKE [2023-06-12T18:08:41.082Z] ---> Running in 31a11f37ac1b [2023-06-12T18:08:42.044Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-06-12T18:10:48.744Z] Removing intermediate container 31a11f37ac1b [2023-06-12T18:10:48.744Z] ---> c8ed27594792 [2023-06-12T18:10:48.744Z] Step 13/25 : FROM alpine:3.17 [2023-06-12T18:10:48.744Z] 3.17: Pulling from library/alpine [2023-06-12T18:10:48.744Z] c41833b44d91: Already exists [2023-06-12T18:10:48.744Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:10:48.744Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:10:48.744Z] ---> 51e60588ff2c [2023-06-12T18:10:48.744Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-06-12T18:10:48.744Z] ---> Running in bc7d5897dade [2023-06-12T18:10:48.744Z] Removing intermediate container bc7d5897dade [2023-06-12T18:10:48.744Z] ---> 317f0e442a4c [2023-06-12T18:10:48.744Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-06-12T18:10:48.744Z] ---> Running in ec5ad0f5c35b [2023-06-12T18:10:48.744Z] Removing intermediate container ec5ad0f5c35b [2023-06-12T18:10:48.744Z] ---> 443728174e7d [2023-06-12T18:10:48.744Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:10:48.744Z] ---> Running in 3905b53d6645 [2023-06-12T18:10:48.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:10:48.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:10:48.744Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:10:48.744Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:10:48.744Z] OK: 8 MiB in 16 packages [2023-06-12T18:10:48.744Z] Removing intermediate container 3905b53d6645 [2023-06-12T18:10:48.744Z] ---> b2c6964391db [2023-06-12T18:10:48.744Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-06-12T18:10:48.744Z] ---> d4cd43ec014d [2023-06-12T18:10:48.744Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-06-12T18:10:48.744Z] ---> 040460fecf65 [2023-06-12T18:10:48.744Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-06-12T18:10:48.744Z] ---> a0556bb83d22 [2023-06-12T18:10:48.744Z] Step 20/25 : EXPOSE 59986 [2023-06-12T18:10:48.744Z] ---> Running in 1da6fd37c52e [2023-06-12T18:10:48.744Z] Removing intermediate container 1da6fd37c52e [2023-06-12T18:10:48.744Z] ---> 4278d87168e5 [2023-06-12T18:10:48.744Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-06-12T18:10:48.744Z] ---> Running in 56e790e8b089 [2023-06-12T18:10:48.744Z] Removing intermediate container 56e790e8b089 [2023-06-12T18:10:48.744Z] ---> ae44d16960d3 [2023-06-12T18:10:48.744Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:10:48.744Z] ---> Running in 1e7b8b53b2d2 [2023-06-12T18:10:48.744Z] Removing intermediate container 1e7b8b53b2d2 [2023-06-12T18:10:48.744Z] ---> cf320b5a2089 [2023-06-12T18:10:48.744Z] Step 23/25 : LABEL arch=arm64 [2023-06-12T18:10:48.744Z] ---> Running in 58e937a06be6 [2023-06-12T18:10:48.744Z] Removing intermediate container 58e937a06be6 [2023-06-12T18:10:48.744Z] ---> 84deddc209b4 [2023-06-12T18:10:48.744Z] Step 24/25 : LABEL git_sha=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:10:49.015Z] ---> Running in 4166d9663383 [2023-06-12T18:10:49.283Z] Removing intermediate container 4166d9663383 [2023-06-12T18:10:49.283Z] ---> 12616080f09b [2023-06-12T18:10:49.283Z] Step 25/25 : LABEL version=3.1.0-dev.1 [2023-06-12T18:10:49.283Z] ---> Running in 6d9727582a45 [2023-06-12T18:10:49.549Z] Removing intermediate container 6d9727582a45 [2023-06-12T18:10:49.549Z] ---> 3309da08c0b7 [2023-06-12T18:10:49.549Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:10:49.549Z] Successfully built 3309da08c0b7 [2023-06-12T18:10:49.549Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:10:49.636Z] provisioning config files... [2023-06-12T18:10:49.650Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/121@tmp/config14594069512874033333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:10:49.978Z] ---> docker-login.sh [2023-06-12T18:10:49.978Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:10:49.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:10:50.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:10:50.245Z] Configure a credential helper to remove this warning. See [2023-06-12T18:10:50.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:10:50.245Z] [2023-06-12T18:10:50.245Z] Login Succeeded [2023-06-12T18:10:50.245Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:10:50.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:10:50.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:10:50.514Z] Configure a credential helper to remove this warning. See [2023-06-12T18:10:50.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:10:50.514Z] [2023-06-12T18:10:50.514Z] Login Succeeded [2023-06-12T18:10:50.514Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:10:50.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:10:51.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:10:51.047Z] Configure a credential helper to remove this warning. See [2023-06-12T18:10:51.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:10:51.047Z] [2023-06-12T18:10:51.047Z] Login Succeeded [2023-06-12T18:10:51.047Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:10:51.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:10:51.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:10:51.314Z] Configure a credential helper to remove this warning. See [2023-06-12T18:10:51.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:10:51.314Z] [2023-06-12T18:10:51.314Z] Login Succeeded [2023-06-12T18:10:51.314Z] docker.io [2023-06-12T18:10:51.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:10:51.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:10:51.843Z] Configure a credential helper to remove this warning. See [2023-06-12T18:10:51.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:10:51.843Z] [2023-06-12T18:10:51.843Z] Login Succeeded [2023-06-12T18:10:51.843Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:10:51.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:10:51.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:10:51.898Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-06-12T18:10:51.898Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:10:51.898Z] latest [2023-06-12T18:10:51.898Z] 3.1.0-dev.1 [2023-06-12T18:10:51.898Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [2023-06-12T18:10:51.898Z] main [2023-06-12T18:10:51.898Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:52.233Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:52.569Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:10:52.569Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-06-12T18:10:52.569Z] bd39e7533fcc: Preparing [2023-06-12T18:10:52.569Z] c22cddd87798: Preparing [2023-06-12T18:10:52.569Z] b039ee22ec29: Preparing [2023-06-12T18:10:52.569Z] be9c5bd14922: Preparing [2023-06-12T18:10:52.569Z] 26cbea5cba74: Preparing [2023-06-12T18:10:52.569Z] 26cbea5cba74: Layer already exists [2023-06-12T18:10:52.836Z] be9c5bd14922: Pushed [2023-06-12T18:10:52.836Z] bd39e7533fcc: Pushed [2023-06-12T18:10:52.836Z] c22cddd87798: Pushed [2023-06-12T18:10:58.175Z] b039ee22ec29: Pushed [2023-06-12T18:10:58.175Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:58.522Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:58.861Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-06-12T18:10:58.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-06-12T18:10:58.861Z] bd39e7533fcc: Preparing [2023-06-12T18:10:58.861Z] c22cddd87798: Preparing [2023-06-12T18:10:58.861Z] b039ee22ec29: Preparing [2023-06-12T18:10:58.861Z] be9c5bd14922: Preparing [2023-06-12T18:10:58.861Z] 26cbea5cba74: Preparing [2023-06-12T18:10:58.861Z] 26cbea5cba74: Layer already exists [2023-06-12T18:10:58.861Z] b039ee22ec29: Layer already exists [2023-06-12T18:10:58.861Z] c22cddd87798: Layer already exists [2023-06-12T18:10:58.861Z] be9c5bd14922: Layer already exists [2023-06-12T18:10:58.861Z] bd39e7533fcc: Layer already exists [2023-06-12T18:10:59.129Z] latest: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:59.471Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:59.810Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.1 [2023-06-12T18:10:59.810Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-06-12T18:10:59.810Z] bd39e7533fcc: Preparing [2023-06-12T18:10:59.810Z] c22cddd87798: Preparing [2023-06-12T18:10:59.810Z] b039ee22ec29: Preparing [2023-06-12T18:10:59.810Z] be9c5bd14922: Preparing [2023-06-12T18:10:59.810Z] 26cbea5cba74: Preparing [2023-06-12T18:10:59.810Z] 26cbea5cba74: Layer already exists [2023-06-12T18:10:59.810Z] c22cddd87798: Layer already exists [2023-06-12T18:10:59.810Z] be9c5bd14922: Layer already exists [2023-06-12T18:10:59.810Z] b039ee22ec29: Layer already exists [2023-06-12T18:10:59.810Z] bd39e7533fcc: Layer already exists [2023-06-12T18:11:00.077Z] 3.1.0-dev.1: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:00.421Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:00.822Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [2023-06-12T18:11:00.822Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-06-12T18:11:00.822Z] bd39e7533fcc: Preparing [2023-06-12T18:11:00.822Z] c22cddd87798: Preparing [2023-06-12T18:11:00.822Z] b039ee22ec29: Preparing [2023-06-12T18:11:00.822Z] be9c5bd14922: Preparing [2023-06-12T18:11:00.822Z] 26cbea5cba74: Preparing [2023-06-12T18:11:00.822Z] b039ee22ec29: Layer already exists [2023-06-12T18:11:00.822Z] bd39e7533fcc: Layer already exists [2023-06-12T18:11:00.822Z] be9c5bd14922: Layer already exists [2023-06-12T18:11:00.822Z] c22cddd87798: Layer already exists [2023-06-12T18:11:00.822Z] 26cbea5cba74: Layer already exists [2023-06-12T18:11:01.090Z] ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:01.439Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:01.785Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-06-12T18:11:01.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-06-12T18:11:01.785Z] bd39e7533fcc: Preparing [2023-06-12T18:11:01.785Z] c22cddd87798: Preparing [2023-06-12T18:11:01.785Z] b039ee22ec29: Preparing [2023-06-12T18:11:01.785Z] be9c5bd14922: Preparing [2023-06-12T18:11:01.785Z] 26cbea5cba74: Preparing [2023-06-12T18:11:01.785Z] 26cbea5cba74: Layer already exists [2023-06-12T18:11:01.785Z] be9c5bd14922: Layer already exists [2023-06-12T18:11:01.785Z] c22cddd87798: Layer already exists [2023-06-12T18:11:01.785Z] bd39e7533fcc: Layer already exists [2023-06-12T18:11:01.785Z] b039ee22ec29: Layer already exists [2023-06-12T18:11:02.070Z] main: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:11:02.131Z] ===================================================== [Pipeline] echo [2023-06-12T18:11:02.138Z] taggedImages: [2023-06-12T18:11:02.138Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [2023-06-12T18:11:02.138Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-06-12T18:11:02.138Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.1 [2023-06-12T18:11:02.138Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [2023-06-12T18:11:02.138Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:02.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:11:02.512Z] [2023-06-12T18:11:02.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:02.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:11:02.855Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-12T18:11:02.855Z] 8998bd30e6a1: Pulling fs layer [2023-06-12T18:11:02.855Z] 04944245beec: Pulling fs layer [2023-06-12T18:11:02.855Z] 699f458cf7ca: Pulling fs layer [2023-06-12T18:11:02.855Z] 765212b225bb: Pulling fs layer [2023-06-12T18:11:02.855Z] f23df028b6ca: Pulling fs layer [2023-06-12T18:11:02.855Z] d65c8cfc05b1: Pulling fs layer [2023-06-12T18:11:02.855Z] 2437ff75d9bd: Pulling fs layer [2023-06-12T18:11:02.855Z] f23df028b6ca: Waiting [2023-06-12T18:11:02.855Z] 765212b225bb: Waiting [2023-06-12T18:11:02.855Z] d65c8cfc05b1: Waiting [2023-06-12T18:11:02.855Z] 2437ff75d9bd: Waiting [2023-06-12T18:11:03.120Z] 04944245beec: Verifying Checksum [2023-06-12T18:11:03.120Z] 04944245beec: Download complete [2023-06-12T18:11:03.120Z] 765212b225bb: Verifying Checksum [2023-06-12T18:11:03.120Z] 765212b225bb: Download complete [2023-06-12T18:11:03.120Z] f23df028b6ca: Verifying Checksum [2023-06-12T18:11:03.120Z] f23df028b6ca: Download complete [2023-06-12T18:11:03.120Z] d65c8cfc05b1: Verifying Checksum [2023-06-12T18:11:03.120Z] d65c8cfc05b1: Download complete [2023-06-12T18:11:03.120Z] 699f458cf7ca: Verifying Checksum [2023-06-12T18:11:03.120Z] 699f458cf7ca: Download complete [2023-06-12T18:11:03.705Z] 8998bd30e6a1: Verifying Checksum [2023-06-12T18:11:03.705Z] 8998bd30e6a1: Download complete [2023-06-12T18:11:06.290Z] 2437ff75d9bd: Verifying Checksum [2023-06-12T18:11:06.290Z] 2437ff75d9bd: Download complete [2023-06-12T18:11:07.699Z] 8998bd30e6a1: Pull complete [2023-06-12T18:11:07.965Z] 04944245beec: Pull complete [2023-06-12T18:11:09.375Z] 699f458cf7ca: Pull complete [2023-06-12T18:11:09.375Z] 765212b225bb: Pull complete [2023-06-12T18:11:10.334Z] f23df028b6ca: Pull complete [2023-06-12T18:11:10.334Z] d65c8cfc05b1: Pull complete [2023-06-12T18:11:25.325Z] 2437ff75d9bd: Pull complete [2023-06-12T18:11:25.325Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-12T18:11:25.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:11:25.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:11:25.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-18476 does not seem to be running inside a container [2023-06-12T18:11:25.584Z] $ 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/121 -v /w/workspace/device-rest-go/121:/w/workspace/device-rest-go/121:rw,z -v /w/workspace/device-rest-go/121@tmp:/w/workspace/device-rest-go/121@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-12T18:11:28.031Z] $ docker top 553bcd0d62f77f4c4da61e3efcea0421e7517b101ca6c51ed1796fdb0e455d86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:11:28.856Z] ---> job-cost.sh [2023-06-12T18:11:28.856Z] lf-activate-venv: SKIPPING [2023-06-12T18:11:28.856Z] INFO: No Stack... [2023-06-12T18:11:29.436Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-12T18:11:30.018Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:11:30.650Z] + + cut -d,cat -f6 /w/workspace/device-rest-go/121/archives/cost.csv [2023-06-12T18:11:30.650Z] [Pipeline] lock [2023-06-12T18:11:30.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [2023-06-12T18:11:30.730Z] Resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] did not exist. Created. [2023-06-12T18:11:30.730Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:11:31.061Z] /w/workspace/device-rest-go/121@tmp/durable-39586353/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-12T18:11:31.657Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-12T18:11:31.937Z] Warning: overwriting stash ‘stack-cost’ [2023-06-12T18:11:31.979Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:11:31.988Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:11:32.002Z] $ docker stop --time=1 553bcd0d62f77f4c4da61e3efcea0421e7517b101ca6c51ed1796fdb0e455d86 [2023-06-12T18:11:34.014Z] $ docker rm -f --volumes 553bcd0d62f77f4c4da61e3efcea0421e7517b101ca6c51ed1796fdb0e455d86 [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-06-12T18:11:34.378Z] provisioning config files... [2023-06-12T18:11:34.386Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4286163972010376937tmp [Pipeline] { [Pipeline] sh [2023-06-12T18:11:34.675Z] + set +x [2023-06-12T18:11:34.675Z] + + curl -s https://codecov.io/bashbash [2023-06-12T18:11:34.675Z] -s -- [2023-06-12T18:11:34.936Z] [2023-06-12T18:11:34.936Z] _____ _ [2023-06-12T18:11:34.936Z] / ____| | | [2023-06-12T18:11:34.936Z] | | ___ __| | ___ ___ _____ __ [2023-06-12T18:11:34.936Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-12T18:11:34.936Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-12T18:11:34.936Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-12T18:11:34.936Z] Bash-1.0.6 [2023-06-12T18:11:34.936Z] [2023-06-12T18:11:34.936Z] [2023-06-12T18:11:34.936Z] ==> git version 2.25.1 found [2023-06-12T18:11:34.936Z] ==> 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-06-12T18:11:34.936Z] Release-Date: 2020-01-08 [2023-06-12T18:11:34.936Z] 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-06-12T18:11:34.936Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-12T18:11:34.936Z] ==> Jenkins CI detected. [2023-06-12T18:11:34.936Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-06-12T18:11:34.936Z] project root: . [2023-06-12T18:11:34.936Z] --> token set from env [2023-06-12T18:11:34.936Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-12T18:11:34.936Z] ==> Running gcov in . (disable via -X gcov) [2023-06-12T18:11:34.936Z] ==> Python coveragepy not found [2023-06-12T18:11:34.936Z] ==> Searching for coverage reports in: [2023-06-12T18:11:34.936Z] + . [2023-06-12T18:11:34.936Z] -> Found 1 reports [2023-06-12T18:11:34.936Z] ==> Detecting git/mercurial file structure [2023-06-12T18:11:34.936Z] ==> Reading reports [2023-06-12T18:11:34.937Z] + ./coverage.out bytes=14663 [2023-06-12T18:11:34.937Z] ==> Appending adjustments [2023-06-12T18:11:34.937Z] https://docs.codecov.io/docs/fixing-reports [2023-06-12T18:11:34.937Z] + Found adjustments [2023-06-12T18:11:34.937Z] ==> Gzipping contents [2023-06-12T18:11:34.937Z] 4.0K /tmp/codecov.XEIQEn.gz [2023-06-12T18:11:34.937Z] ==> Uploading reports [2023-06-12T18:11:34.937Z] url: https://codecov.io [2023-06-12T18:11:34.937Z] query: branch=main&commit=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:11:34.937Z] -> Pinging Codecov [2023-06-12T18:11:34.937Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:11:35.195Z] -> Uploading to [2023-06-12T18:11:35.195Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-12/4E5D53B4F1F92C436F7061BF334D961C/ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e/d45e19c3-7ade-45d7-945e-90d5d233c6ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T181135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c15c27ae595d4ee83df3dca5954f5825d3e9d4dbc54622789e22920555604b13 [2023-06-12T18:11:35.195Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:11:35.195Z] Dload Upload Total Spent Left Speed [2023-06-12T18:11:35.453Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 14593 --:--:-- --:--:-- --:--:-- 14593 [2023-06-12T18:11:35.453Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] } [2023-06-12T18:11:35.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-06-12T18:11:35.598Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-06-12T18:11:35.613Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:35.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:11:35.907Z] [2023-06-12T18:11:35.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:36.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:11:36.201Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-06-12T18:11:36.201Z] df9b9388f04a: Pulling fs layer [2023-06-12T18:11:36.201Z] 52dc419b0ee2: Pulling fs layer [2023-06-12T18:11:36.201Z] 25bc292e5bac: Pulling fs layer [2023-06-12T18:11:36.201Z] 114826534d7a: Pulling fs layer [2023-06-12T18:11:36.201Z] 4657fd5d0bcf: Pulling fs layer [2023-06-12T18:11:36.201Z] 6ad1cebc031e: Pulling fs layer [2023-06-12T18:11:36.201Z] 8a3aa393b2d8: Pulling fs layer [2023-06-12T18:11:36.201Z] 8a3aa393b2d8: Waiting [2023-06-12T18:11:36.201Z] 25bc292e5bac: Verifying Checksum [2023-06-12T18:11:36.201Z] 25bc292e5bac: Download complete [2023-06-12T18:11:36.201Z] 52dc419b0ee2: Download complete [2023-06-12T18:11:36.201Z] 4657fd5d0bcf: Download complete [2023-06-12T18:11:36.201Z] df9b9388f04a: Download complete [2023-06-12T18:11:36.460Z] 6ad1cebc031e: Verifying Checksum [2023-06-12T18:11:36.460Z] 6ad1cebc031e: Download complete [2023-06-12T18:11:36.460Z] df9b9388f04a: Pull complete [2023-06-12T18:11:36.460Z] 52dc419b0ee2: Pull complete [2023-06-12T18:11:36.721Z] 25bc292e5bac: Pull complete [2023-06-12T18:11:36.980Z] 114826534d7a: Verifying Checksum [2023-06-12T18:11:36.980Z] 114826534d7a: Download complete [2023-06-12T18:11:37.237Z] 8a3aa393b2d8: Verifying Checksum [2023-06-12T18:11:37.237Z] 8a3aa393b2d8: Download complete [2023-06-12T18:11:40.516Z] 114826534d7a: Pull complete [2023-06-12T18:11:40.516Z] 4657fd5d0bcf: Pull complete [2023-06-12T18:11:40.516Z] 6ad1cebc031e: Pull complete [2023-06-12T18:11:43.041Z] 8a3aa393b2d8: Pull complete [2023-06-12T18:11:43.299Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-06-12T18:11:43.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:11:43.300Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:11:43.381Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:11:43.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-06-12T18:11:48.057Z] $ docker top 3221f2657629be3f6311f4846b5463e6967e67a9d4d825645ba663b26a616666 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-06-12T18:11:48.105Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-06-12T18:11:48.384Z] + set -o pipefail [2023-06-12T18:11:48.384Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-06-12T18:11:52.567Z] [2023-06-12T18:11:52.567Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-06-12T18:11:52.567Z] [2023-06-12T18:11:52.567Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/2fbece4a-160b-425f-aaa3-9a8a0520e226 [2023-06-12T18:11:52.567Z] [2023-06-12T18:11:52.567Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-06-12T18:11:52.567Z] [2023-06-12T18:11:52.567Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-06-12T18:11:52.567Z] [2023-06-12T18:11:52.827Z] [2023-06-12T18:11:52.827Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-06-12T18:11:52.827Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-06-12T18:11:52.827Z] More details here: https://snyk.co/ue1NS [2023-06-12T18:11:52.827Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-06-12T18:11:52.827Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-06-12T18:11:52.852Z] $ docker stop --time=1 3221f2657629be3f6311f4846b5463e6967e67a9d4d825645ba663b26a616666 [2023-06-12T18:11:56.442Z] $ docker rm -f --volumes 3221f2657629be3f6311f4846b5463e6967e67a9d4d825645ba663b26a616666 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:11:57.136Z] + git log --format=format:%s -1 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] sh [2023-06-12T18:11:57.428Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:11:57.428Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:57.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:11:57.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:11:57.802Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:11:57.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:11:58.378Z] $ docker top 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 -eo pid,comm [2023-06-12T18:11:58.408Z] 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-06-12T18:11:58.409Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:11:58.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:11:58.449Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:11:58.556Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:11:58.573Z] $ docker exec 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 ssh-agent [2023-06-12T18:11:58.657Z] SSH_AUTH_SOCK=/tmp/ssh-f93WmsjjYHeh/agent.32 [2023-06-12T18:11:58.657Z] SSH_AGENT_PID=38 [2023-06-12T18:11:58.662Z] Running ssh-add (command line suppressed) [2023-06-12T18:11:58.787Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10587267946782818040.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10587267946782818040.key) [2023-06-12T18:11:58.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:11:59.070Z] + git semver tag [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,258 [run_tag] DEBUG tag force:False [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,258 [check_head_tag] DEBUG check head tag [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,259 [execute] INFO git cat-file --batch-check [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,262 [execute] INFO git cat-file --batch [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,268 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,268 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:11:59.330Z] 2023-06-12 18:11:59,273 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:11:59.330Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T18:11:59.370Z] $ docker exec --env ******** --env ******** 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 ssh-agent -k [2023-06-12T18:11:59.485Z] unset SSH_AUTH_SOCK; [2023-06-12T18:11:59.485Z] unset SSH_AGENT_PID; [2023-06-12T18:11:59.486Z] echo Agent pid 38 killed; [2023-06-12T18:11:59.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:11:59.836Z] + git semver [Pipeline] } [2023-06-12T18:12:00.122Z] $ docker stop --time=1 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 [2023-06-12T18:12:01.421Z] $ docker rm -f --volumes 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:12:01.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:12:01.801Z] [2023-06-12T18:12:01.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:12:02.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:12:02.115Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-06-12T18:12:02.115Z] ab5ef0e58194: Pulling fs layer [2023-06-12T18:12:02.115Z] 9712f1f96733: Pulling fs layer [2023-06-12T18:12:02.115Z] 63f879dbbcfc: Pulling fs layer [2023-06-12T18:12:02.115Z] 0d9ebad4ef96: Pulling fs layer [2023-06-12T18:12:02.115Z] e9a5061849ea: Pulling fs layer [2023-06-12T18:12:02.115Z] d747dcd14b5f: Pulling fs layer [2023-06-12T18:12:02.115Z] 2de7ff778b66: Pulling fs layer [2023-06-12T18:12:02.115Z] 0d9ebad4ef96: Waiting [2023-06-12T18:12:02.115Z] e9a5061849ea: Waiting [2023-06-12T18:12:02.115Z] d747dcd14b5f: Waiting [2023-06-12T18:12:02.115Z] 2de7ff778b66: Waiting [2023-06-12T18:12:02.115Z] 9712f1f96733: Download complete [2023-06-12T18:12:02.375Z] 63f879dbbcfc: Verifying Checksum [2023-06-12T18:12:02.375Z] 63f879dbbcfc: Download complete [2023-06-12T18:12:02.641Z] ab5ef0e58194: Verifying Checksum [2023-06-12T18:12:02.641Z] ab5ef0e58194: Download complete [2023-06-12T18:12:02.641Z] d747dcd14b5f: Verifying Checksum [2023-06-12T18:12:02.641Z] d747dcd14b5f: Download complete [2023-06-12T18:12:02.641Z] e9a5061849ea: Verifying Checksum [2023-06-12T18:12:02.641Z] e9a5061849ea: Download complete [2023-06-12T18:12:02.641Z] 0d9ebad4ef96: Verifying Checksum [2023-06-12T18:12:02.641Z] 0d9ebad4ef96: Download complete [2023-06-12T18:12:02.641Z] 2de7ff778b66: Verifying Checksum [2023-06-12T18:12:02.641Z] 2de7ff778b66: Download complete [2023-06-12T18:12:05.167Z] ab5ef0e58194: Pull complete [2023-06-12T18:12:05.167Z] 9712f1f96733: Pull complete [2023-06-12T18:12:05.732Z] 63f879dbbcfc: Pull complete [2023-06-12T18:12:09.912Z] 0d9ebad4ef96: Pull complete [2023-06-12T18:12:09.912Z] e9a5061849ea: Pull complete [2023-06-12T18:12:09.912Z] d747dcd14b5f: Pull complete [2023-06-12T18:12:10.847Z] 2de7ff778b66: Pull complete [2023-06-12T18:12:10.847Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-06-12T18:12:10.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:12:10.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:12:10.926Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:12:10.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-06-12T18:12:15.805Z] $ docker top 1c03bf6b0a4a596f82ba2988c45503dab7d76bd540a0bbd2784039bba17b1b45 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:12:15.857Z] provisioning config files... [2023-06-12T18:12:15.866Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10821613872655421448tmp [2023-06-12T18:12:15.874Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config666318427701363711tmp [2023-06-12T18:12:15.883Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4591743645422204817tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:12:15.899Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:16.180Z] ---> sigul-configuration.sh [2023-06-12T18:12:16.181Z] gpg: directory `/root/.gnupg' created [2023-06-12T18:12:16.181Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-06-12T18:12:16.181Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-06-12T18:12:16.181Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-06-12T18:12:16.181Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-06-12T18:12:16.181Z] gpg: CAST5 encrypted data [2023-06-12T18:12:16.181Z] gpg: encrypted with 1 passphrase [2023-06-12T18:12:16.181Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-06-12T18:12:16.465Z] + mkdir /home/jenkins [2023-06-12T18:12:16.465Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-06-12T18:12:16.749Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-06-12T18:12:16.758Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:17.042Z] ---> sigul-install.sh [2023-06-12T18:12:17.042Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-06-12T18:12:17.335Z] + git tag --list [2023-06-12T18:12:17.335Z] v1.0.0 [2023-06-12T18:12:17.335Z] v1.1.0 [2023-06-12T18:12:17.335Z] v1.1.1 [2023-06-12T18:12:17.335Z] v1.1.2 [2023-06-12T18:12:17.335Z] v1.2.0 [2023-06-12T18:12:17.335Z] v1.2.1 [2023-06-12T18:12:17.335Z] v2.0.0 [2023-06-12T18:12:17.335Z] v2.1.0 [2023-06-12T18:12:17.335Z] v2.1.1 [2023-06-12T18:12:17.335Z] v2.2.0 [2023-06-12T18:12:17.335Z] v2.3.0 [2023-06-12T18:12:17.335Z] v3.0 [2023-06-12T18:12:17.335Z] v3.0.0 [2023-06-12T18:12:17.335Z] v3.1.0-dev.1 [Pipeline] sh [2023-06-12T18:12:17.622Z] + lftools sign git-tag v3.1.0-dev.1 [2023-06-12T18:12:18.189Z] Signing Git tag with Sigul... [2023-06-12T18:12:18.189Z] Signing v3.1.0-dev.1 [Pipeline] echo [2023-06-12T18:12:18.456Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:18.738Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-06-12T18:12:18.744Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-06-12T18:12:18.778Z] $ docker stop --time=1 1c03bf6b0a4a596f82ba2988c45503dab7d76bd540a0bbd2784039bba17b1b45 [2023-06-12T18:12:20.086Z] $ docker rm -f --volumes 1c03bf6b0a4a596f82ba2988c45503dab7d76bd540a0bbd2784039bba17b1b45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-06-12T18:12:20.486Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:12:20.486Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:12:20.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:12:20.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:12:20.864Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:12:20.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:12:21.241Z] $ docker top 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:12:21.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:12:21.311Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:12:21.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:12:21.443Z] $ docker exec 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b ssh-agent [2023-06-12T18:12:21.540Z] SSH_AUTH_SOCK=/tmp/ssh-iWBgSBPMOE2c/agent.32 [2023-06-12T18:12:21.540Z] SSH_AGENT_PID=38 [2023-06-12T18:12:21.544Z] Running ssh-add (command line suppressed) [2023-06-12T18:12:21.657Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12869398799379648929.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12869398799379648929.key) [2023-06-12T18:12:21.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:12:21.936Z] + git semver bump pre [2023-06-12T18:12:22.194Z] 2023-06-12 18:12:22,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:12:22.194Z] 2023-06-12 18:12:22,118 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev [2023-06-12T18:12:22.194Z] 2023-06-12 18:12:22,118 [bump_version] DEBUG bumped version:3.1.0-dev.2 [2023-06-12T18:12:22.194Z] 2023-06-12 18:12:22,118 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-06-12T18:12:22.195Z] 2023-06-12 18:12:22,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:12:22.195Z] 2023-06-12 18:12:22,118 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:12:22.195Z] 2023-06-12 18:12:22,120 [execute] INFO git cat-file --batch-check [2023-06-12T18:12:22.195Z] 2023-06-12 18:12:22,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:12:22.195Z] 2023-06-12 18:12:22,125 [execute] INFO git cat-file --batch [2023-06-12T18:12:22.195Z] 2023-06-12 18:12:22,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:12:22.195Z] 2023-06-12 18:12:22,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:12:22.195Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:12:22.218Z] $ docker exec --env ******** --env ******** 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b ssh-agent -k [2023-06-12T18:12:22.307Z] unset SSH_AUTH_SOCK; [2023-06-12T18:12:22.307Z] unset SSH_AGENT_PID; [2023-06-12T18:12:22.307Z] echo Agent pid 38 killed; [2023-06-12T18:12:22.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:12:22.610Z] + git semver [Pipeline] } [2023-06-12T18:12:22.894Z] $ docker stop --time=1 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b [2023-06-12T18:12:24.241Z] $ docker rm -f --volumes 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:12:24.566Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:12:24.566Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:12:24.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:12:24.860Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:12:24.928Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:12:24.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:12:25.280Z] $ docker top 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d -eo pid,comm [2023-06-12T18:12:25.309Z] 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-06-12T18:12:25.309Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:12:25.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:12:25.354Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:12:25.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:12:25.480Z] $ docker exec 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d ssh-agent [2023-06-12T18:12:25.575Z] SSH_AUTH_SOCK=/tmp/ssh-UZwSbihKs5Qz/agent.32 [2023-06-12T18:12:25.575Z] SSH_AGENT_PID=38 [2023-06-12T18:12:25.579Z] Running ssh-add (command line suppressed) [2023-06-12T18:12:25.702Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15664977397250975124.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15664977397250975124.key) [2023-06-12T18:12:25.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:12:25.989Z] + git semver push [2023-06-12T18:12:26.248Z] 2023-06-12 18:12:26,167 [run_push] DEBUG push [2023-06-12T18:12:26.248Z] 2023-06-12 18:12:26,167 [execute] INFO git cat-file --batch-check [2023-06-12T18:12:26.248Z] 2023-06-12 18:12:26,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:12:26.248Z] 2023-06-12 18:12:26,171 [execute] INFO git rev-list 7aa3654621c80d0b7cd15d4eb63a75660b19a599 -- [2023-06-12T18:12:26.248Z] 2023-06-12 18:12:26,171 [execute] DEBUG Popen(['git', 'rev-list', '7aa3654621c80d0b7cd15d4eb63a75660b19a599', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:12:26.248Z] 2023-06-12 18:12:26,178 [execute] INFO git fetch -v origin [2023-06-12T18:12:26.248Z] 2023-06-12 18:12:26,178 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-06-12T18:12:26.816Z] 2023-06-12 18:12:26,762 [run_push] DEBUG no remote changes detected [2023-06-12T18:12:26.816Z] 2023-06-12 18:12:26,762 [execute] INFO git push origin semver [2023-06-12T18:12:26.816Z] 2023-06-12 18:12:26,763 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:12:27.750Z] 2023-06-12 18:12:27,531 [run_push] DEBUG push all version tags [2023-06-12T18:12:27.750Z] 2023-06-12 18:12:27,532 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-06-12T18:12:27.750Z] 2023-06-12 18:12:27,532 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:12:28.317Z] 2023-06-12 18:12:28,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-06-12T18:12:28.317Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:12:28.340Z] $ docker exec --env ******** --env ******** 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d ssh-agent -k [2023-06-12T18:12:28.439Z] unset SSH_AUTH_SOCK; [2023-06-12T18:12:28.439Z] unset SSH_AGENT_PID; [2023-06-12T18:12:28.439Z] echo Agent pid 38 killed; [2023-06-12T18:12:28.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:12:28.749Z] + git semver [Pipeline] } [2023-06-12T18:12:29.034Z] $ docker stop --time=1 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d [2023-06-12T18:12:30.289Z] $ docker rm -f --volumes 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-06-12T18:12:30.794Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-06-12T18:12:30.794Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-06-12T18:12:30.794Z] total 16 [2023-06-12T18:12:30.795Z] drwxr-xr-x 3 root root 4096 Jun 12 18:05 . [2023-06-12T18:12:30.795Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:12 .. [2023-06-12T18:12:30.795Z] drwxr-xr-x 2 root root 4096 Jun 12 18:05 cost [2023-06-12T18:12:30.795Z] -rw-r--r-- 1 root root 86 Jun 12 18:05 cost.csv [2023-06-12T18:12:30.795Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-06-12T18:12:30.795Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-06-12T18:12:30.795Z] total 16 [2023-06-12T18:12:30.795Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:05 . [2023-06-12T18:12:30.795Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:12 .. [2023-06-12T18:12:30.795Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 18:05 cost [2023-06-12T18:12:30.795Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 12 18:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:31.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:31.937Z] ---> package-listing.sh [2023-06-12T18:12:31.937Z] ++ facter osfamily [2023-06-12T18:12:31.937Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-12T18:12:32.197Z] + OS_FAMILY=debian [2023-06-12T18:12:32.197Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-06-12T18:12:32.197Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-12T18:12:32.197Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-12T18:12:32.197Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-12T18:12:32.197Z] + PACKAGES=/tmp/packages_start.txt [2023-06-12T18:12:32.197Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-06-12T18:12:32.197Z] + PACKAGES=/tmp/packages_end.txt [2023-06-12T18:12:32.197Z] + case "${OS_FAMILY}" in [2023-06-12T18:12:32.197Z] + dpkg -l [2023-06-12T18:12:32.197Z] + grep '^ii' [2023-06-12T18:12:32.197Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-12T18:12:32.197Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-12T18:12:32.197Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-12T18:12:32.197Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-06-12T18:12:32.197Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-06-12T18:12:32.197Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-06-12T18:12:32.208Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-12T18:12:32.483Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:12:33.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:12:33.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:12:33.210Z] prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container [2023-06-12T18:12:33.299Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T18:12:33.524Z] $ docker top 210976c836c56d1b6cc63550895aee4da732958f1d9c4607d070d8bcfd3b3e03 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:12:33.849Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-12T18:12:34.131Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-12T18:12:34.412Z] + ls /var/log/sa-host [2023-06-12T18:12:34.412Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:12:34.476Z] provisioning config files... [2023-06-12T18:12:34.483Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11747753056431927767tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:12:34.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:34.779Z] ---> create-netrc.sh [Pipeline] } [2023-06-12T18:12:34.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:35.113Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-12T18:12:35.121Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:35.402Z] ---> sudo-logs.sh [2023-06-12T18:12:35.402Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-12T18:12:35.434Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:35.718Z] ---> job-cost.sh [2023-06-12T18:12:35.718Z] lf-activate-venv: SKIPPING [2023-06-12T18:12:35.718Z] DEBUG: total: 0.2199999988079071 [2023-06-12T18:12:35.718Z] INFO: Retrieving Stack Cost... [2023-06-12T18:12:35.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:12:36.545Z] INFO: Archiving Costs [Pipeline] echo [2023-06-12T18:12:36.557Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:36.840Z] ---> logs-deploy.sh [2023-06-12T18:12:36.840Z] lf-activate-venv: SKIPPING [2023-06-12T18:12:36.840Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/121 [2023-06-12T18:12:36.840Z] INFO: archiving workspace using pattern(s): [2023-06-12T18:12:37.782Z] Archives upload complete. [2023-06-12T18:12:38.042Z] INFO: archiving logs to Nexus [2023-06-12T18:12:38.612Z] ---> uname -a: [2023-06-12T18:12:38.612Z] Linux prd-ubuntu20-04-docker-8c-8g-18477 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-06-12T18:12:38.612Z] [2023-06-12T18:12:38.612Z] [2023-06-12T18:12:38.612Z] ---> lscpu: [2023-06-12T18:12:38.612Z] Architecture: x86_64 [2023-06-12T18:12:38.612Z] CPU op-mode(s): 32-bit, 64-bit [2023-06-12T18:12:38.612Z] Byte Order: Little Endian [2023-06-12T18:12:38.612Z] Address sizes: 40 bits physical, 48 bits virtual [2023-06-12T18:12:38.612Z] CPU(s): 8 [2023-06-12T18:12:38.612Z] On-line CPU(s) list: 0-7 [2023-06-12T18:12:38.612Z] Thread(s) per core: 1 [2023-06-12T18:12:38.612Z] Core(s) per socket: 1 [2023-06-12T18:12:38.612Z] Socket(s): 8 [2023-06-12T18:12:38.612Z] NUMA node(s): 1 [2023-06-12T18:12:38.612Z] Vendor ID: AuthenticAMD [2023-06-12T18:12:38.612Z] CPU family: 23 [2023-06-12T18:12:38.612Z] Model: 49 [2023-06-12T18:12:38.612Z] Model name: AMD EPYC-Rome Processor [2023-06-12T18:12:38.612Z] Stepping: 0 [2023-06-12T18:12:38.612Z] CPU MHz: 2800.000 [2023-06-12T18:12:38.612Z] BogoMIPS: 5600.00 [2023-06-12T18:12:38.612Z] Virtualization: AMD-V [2023-06-12T18:12:38.612Z] Hypervisor vendor: KVM [2023-06-12T18:12:38.612Z] Virtualization type: full [2023-06-12T18:12:38.612Z] L1d cache: 256 KiB [2023-06-12T18:12:38.612Z] L1i cache: 256 KiB [2023-06-12T18:12:38.612Z] L2 cache: 4 MiB [2023-06-12T18:12:38.612Z] L3 cache: 128 MiB [2023-06-12T18:12:38.612Z] NUMA node0 CPU(s): 0-7 [2023-06-12T18:12:38.612Z] Vulnerability Itlb multihit: Not affected [2023-06-12T18:12:38.612Z] Vulnerability L1tf: Not affected [2023-06-12T18:12:38.612Z] Vulnerability Mds: Not affected [2023-06-12T18:12:38.612Z] Vulnerability Meltdown: Not affected [2023-06-12T18:12:38.612Z] Vulnerability Mmio stale data: Not affected [2023-06-12T18:12:38.612Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-06-12T18:12:38.612Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-06-12T18:12:38.612Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-06-12T18:12:38.612Z] Vulnerability Srbds: Not affected [2023-06-12T18:12:38.612Z] Vulnerability Tsx async abort: Not affected [2023-06-12T18:12:38.612Z] 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-06-12T18:12:38.612Z] [2023-06-12T18:12:38.612Z] [2023-06-12T18:12:38.612Z] ---> nproc: [2023-06-12T18:12:38.612Z] 8 [2023-06-12T18:12:38.612Z] [2023-06-12T18:12:38.612Z] [2023-06-12T18:12:38.612Z] ---> df -h: [2023-06-12T18:12:38.612Z] Filesystem Size Used Avail Use% Mounted on [2023-06-12T18:12:38.612Z] overlay 155G 13G 143G 9% / [2023-06-12T18:12:38.612Z] tmpfs 64M 0 64M 0% /dev [2023-06-12T18:12:38.612Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-06-12T18:12:38.612Z] shm 64M 0 64M 0% /dev/shm [2023-06-12T18:12:38.613Z] /dev/vda1 155G 13G 143G 9% /facter-os [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] ---> sar -b -r -n DEV: [2023-06-12T18:12:38.613Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18477) 06/12/23 _x86_64_ (8 CPU) [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] 18:02:04 LINUX RESTART (8 CPU) [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] 18:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-06-12T18:12:38.613Z] 18:04:01 188.03 1.77 186.27 0.00 29.60 72693.60 0.00 [2023-06-12T18:12:38.613Z] 18:05:01 148.75 0.18 148.57 0.00 2.67 27418.06 0.00 [2023-06-12T18:12:38.613Z] 18:06:01 34.96 0.05 34.91 0.00 8.80 16761.89 0.00 [2023-06-12T18:12:38.613Z] 18:07:01 1.73 0.00 1.73 0.00 0.00 19.60 0.00 [2023-06-12T18:12:38.613Z] 18:08:02 48.06 11.35 36.71 0.00 3443.29 6242.03 0.00 [2023-06-12T18:12:38.613Z] 18:09:01 4.25 0.02 4.24 0.00 0.14 90.55 0.00 [2023-06-12T18:12:38.613Z] 18:10:01 1.42 0.00 1.42 0.00 0.00 15.46 0.00 [2023-06-12T18:12:38.613Z] 18:11:01 2.10 0.00 2.10 0.00 0.00 22.80 0.00 [2023-06-12T18:12:38.613Z] 18:12:01 53.87 0.27 53.61 0.00 15.33 34832.19 0.00 [2023-06-12T18:12:38.613Z] Average: 53.78 1.52 52.26 0.00 389.58 17597.49 0.00 [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] 18:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-06-12T18:12:38.613Z] 18:04:01 28389812 31567792 737636 2.24 145292 3229824 1890428 5.57 1076956 2964956 2020 [2023-06-12T18:12:38.613Z] 18:05:01 28149672 31586268 718252 2.18 151052 3474192 1739704 5.13 1231360 3044952 704 [2023-06-12T18:12:38.613Z] 18:06:01 27631192 31577140 725596 2.21 158436 3926388 1777472 5.24 1253976 3484568 8 [2023-06-12T18:12:38.613Z] 18:07:01 27631692 31577780 724488 2.20 158492 3926388 1777472 5.24 1254292 3484572 32 [2023-06-12T18:12:38.613Z] 18:08:02 27261232 31566680 714976 2.17 184672 4250552 1828848 5.39 1486548 3590216 196 [2023-06-12T18:12:38.613Z] 18:09:01 27266516 31567200 714920 2.17 183280 4247296 1794384 5.29 1485056 3587000 8 [2023-06-12T18:12:38.613Z] 18:10:01 27268328 31569076 713048 2.17 183356 4247300 1794384 5.29 1483344 3587000 8 [2023-06-12T18:12:38.613Z] 18:11:01 27268364 31569324 712572 2.17 183440 4247304 1794384 5.29 1483140 3587004 8 [2023-06-12T18:12:38.613Z] 18:12:01 26447964 31524044 752196 2.29 200828 4951564 2011360 5.93 1582012 4249516 792 [2023-06-12T18:12:38.613Z] Average: 27479419 31567256 723743 2.20 172094 4055645 1823160 5.37 1370743 3508865 420 [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] 18:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-06-12T18:12:38.613Z] 18:04:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:04:01 ens3 472.17 271.02 6221.65 35.37 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:04:01 veth89b28fc 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:04:01 docker0 174.82 302.50 13.97 1967.87 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:05:01 lo 6.20 6.20 0.60 0.60 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:05:01 ens3 91.32 87.90 135.12 305.07 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:05:01 docker0 3.08 6.76 0.19 85.52 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:06:01 lo 1.53 1.53 0.15 0.15 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:06:01 ens3 90.60 56.62 2524.54 11.37 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:07:01 ens3 4.00 3.33 5.30 0.22 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:08:02 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:08:02 ens3 140.29 74.84 2288.55 5.30 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:08:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:09:01 ens3 0.86 0.15 0.08 0.01 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:10:01 ens3 1.10 0.68 0.59 0.42 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:11:01 ens3 0.48 0.12 0.03 0.01 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:12:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:12:01 veth9ddc7fd 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:12:01 ens3 207.90 115.53 4571.41 21.11 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] 18:12:01 docker0 36.01 63.62 3.02 579.12 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] Average: lo 1.24 1.24 0.12 0.12 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] Average: veth9ddc7fd 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] Average: ens3 112.28 67.92 1752.80 42.18 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] Average: docker0 23.81 41.50 1.91 293.00 0.00 0.00 0.00 0.00 [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] ---> sar -P ALL: [2023-06-12T18:12:38.613Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18477) 06/12/23 _x86_64_ (8 CPU) [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] 18:02:04 LINUX RESTART (8 CPU) [2023-06-12T18:12:38.613Z] [2023-06-12T18:12:38.613Z] 18:03:01 CPU %user %nice %system %iowait %steal %idle [2023-06-12T18:12:38.613Z] 18:04:01 all 7.75 0.00 3.94 6.35 0.07 81.89 [2023-06-12T18:12:38.613Z] 18:04:01 0 8.14 0.00 4.23 7.62 0.05 79.96 [2023-06-12T18:12:38.613Z] 18:04:01 1 7.59 0.00 4.23 25.47 0.12 62.58 [2023-06-12T18:12:38.613Z] 18:04:01 2 7.69 0.00 5.61 1.07 0.07 85.56 [2023-06-12T18:12:38.613Z] 18:04:01 3 7.66 0.00 3.22 3.98 0.07 85.07 [2023-06-12T18:12:38.613Z] 18:04:01 4 7.74 0.00 2.93 1.18 0.03 88.11 [2023-06-12T18:12:38.613Z] 18:04:01 5 7.75 0.00 3.25 8.23 0.07 80.71 [2023-06-12T18:12:38.613Z] 18:04:01 6 7.54 0.00 3.29 1.61 0.05 87.51 [2023-06-12T18:12:38.613Z] 18:04:01 7 7.88 0.00 4.75 1.67 0.10 85.60 [2023-06-12T18:12:38.613Z] 18:05:01 all 39.62 0.00 6.50 1.16 0.08 52.64 [2023-06-12T18:12:38.613Z] 18:05:01 0 39.46 0.00 6.55 0.34 0.08 53.58 [2023-06-12T18:12:38.613Z] 18:05:01 1 40.79 0.00 6.58 0.13 0.10 52.40 [2023-06-12T18:12:38.613Z] 18:05:01 2 39.32 0.00 6.82 5.83 0.08 47.95 [2023-06-12T18:12:38.613Z] 18:05:01 3 39.70 0.00 6.33 0.03 0.08 53.85 [2023-06-12T18:12:38.613Z] 18:05:01 4 39.58 0.00 6.63 1.30 0.08 52.41 [2023-06-12T18:12:38.613Z] 18:05:01 5 42.19 0.00 6.26 1.04 0.08 50.42 [2023-06-12T18:12:38.613Z] 18:05:01 6 36.12 0.00 5.91 0.25 0.07 57.64 [2023-06-12T18:12:38.613Z] 18:05:01 7 39.79 0.00 6.95 0.34 0.08 52.84 [2023-06-12T18:12:38.613Z] 18:06:01 all 2.50 0.00 0.99 0.90 0.03 95.58 [2023-06-12T18:12:38.613Z] 18:06:01 0 2.82 0.00 0.89 0.03 0.02 96.24 [2023-06-12T18:12:38.613Z] 18:06:01 1 2.99 0.00 1.28 5.35 0.05 90.34 [2023-06-12T18:12:38.613Z] 18:06:01 2 1.99 0.00 1.14 0.00 0.02 96.85 [2023-06-12T18:12:38.613Z] 18:06:01 3 2.20 0.00 0.86 0.08 0.02 96.84 [2023-06-12T18:12:38.613Z] 18:06:01 4 2.59 0.00 0.94 1.34 0.02 95.12 [2023-06-12T18:12:38.613Z] 18:06:01 5 2.55 0.00 1.16 0.39 0.03 95.87 [2023-06-12T18:12:38.613Z] 18:06:01 6 1.72 0.00 0.74 0.03 0.08 97.42 [2023-06-12T18:12:38.613Z] 18:06:01 7 3.10 0.00 0.92 0.02 0.03 95.93 [2023-06-12T18:12:38.613Z] 18:07:01 all 0.02 0.00 0.01 0.02 0.01 99.94 [2023-06-12T18:12:38.613Z] 18:07:01 0 0.05 0.00 0.02 0.00 0.03 99.90 [2023-06-12T18:12:38.613Z] 18:07:01 1 0.03 0.00 0.03 0.02 0.02 99.90 [2023-06-12T18:12:38.613Z] 18:07:01 2 0.00 0.00 0.00 0.00 0.00 100.00 [2023-06-12T18:12:38.613Z] 18:07:01 3 0.00 0.00 0.00 0.00 0.00 100.00 [2023-06-12T18:12:38.613Z] 18:07:01 4 0.00 0.00 0.02 0.08 0.02 99.88 [2023-06-12T18:12:38.613Z] 18:07:01 5 0.02 0.00 0.00 0.05 0.02 99.92 [2023-06-12T18:12:38.613Z] 18:07:01 6 0.02 0.00 0.00 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:07:01 7 0.05 0.00 0.00 0.00 0.00 99.95 [2023-06-12T18:12:38.613Z] 18:08:02 all 1.91 0.00 1.22 0.48 0.02 96.37 [2023-06-12T18:12:38.613Z] 18:08:02 0 2.14 0.00 0.58 0.40 0.02 96.86 [2023-06-12T18:12:38.613Z] 18:08:02 1 2.74 0.00 1.30 0.47 0.02 95.48 [2023-06-12T18:12:38.613Z] 18:08:02 2 2.47 0.00 2.14 0.07 0.02 95.31 [2023-06-12T18:12:38.613Z] 18:08:02 3 1.41 0.00 0.75 0.18 0.03 97.62 [2023-06-12T18:12:38.613Z] 18:08:02 4 1.64 0.00 0.80 1.02 0.02 96.52 [2023-06-12T18:12:38.613Z] 18:08:02 5 1.19 0.00 2.12 0.52 0.02 96.16 [2023-06-12T18:12:38.613Z] 18:08:02 6 1.58 0.00 1.25 0.17 0.02 96.98 [2023-06-12T18:12:38.613Z] 18:08:02 7 2.09 0.00 0.82 1.00 0.03 96.05 [2023-06-12T18:12:38.613Z] 18:09:01 all 0.21 0.00 0.05 0.01 0.01 99.72 [2023-06-12T18:12:38.613Z] 18:09:01 0 0.10 0.00 0.07 0.00 0.02 99.81 [2023-06-12T18:12:38.613Z] 18:09:01 1 0.03 0.00 0.05 0.00 0.00 99.92 [2023-06-12T18:12:38.613Z] 18:09:01 2 0.17 0.00 0.07 0.00 0.02 99.75 [2023-06-12T18:12:38.613Z] 18:09:01 3 1.24 0.00 0.07 0.00 0.02 98.67 [2023-06-12T18:12:38.613Z] 18:09:01 4 0.05 0.00 0.03 0.07 0.00 99.85 [2023-06-12T18:12:38.613Z] 18:09:01 5 0.03 0.00 0.03 0.00 0.02 99.92 [2023-06-12T18:12:38.613Z] 18:09:01 6 0.05 0.00 0.03 0.00 0.00 99.92 [2023-06-12T18:12:38.613Z] 18:09:01 7 0.02 0.00 0.03 0.02 0.02 99.92 [2023-06-12T18:12:38.613Z] 18:10:01 all 0.27 0.00 0.01 0.00 0.01 99.71 [2023-06-12T18:12:38.613Z] 18:10:01 0 0.02 0.00 0.05 0.00 0.02 99.92 [2023-06-12T18:12:38.613Z] 18:10:01 1 0.02 0.00 0.00 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:10:01 2 0.02 0.00 0.00 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:10:01 3 1.94 0.00 0.00 0.00 0.02 98.04 [2023-06-12T18:12:38.613Z] 18:10:01 4 0.05 0.00 0.02 0.02 0.02 99.90 [2023-06-12T18:12:38.613Z] 18:10:01 5 0.02 0.00 0.00 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:10:01 6 0.00 0.00 0.02 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:10:01 7 0.05 0.00 0.02 0.02 0.00 99.92 [2023-06-12T18:12:38.613Z] 18:11:01 all 0.20 0.00 0.02 0.01 0.01 99.76 [2023-06-12T18:12:38.613Z] 18:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 [2023-06-12T18:12:38.613Z] 18:11:01 1 0.00 0.00 0.02 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:11:01 2 0.00 0.00 0.02 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:11:01 3 1.52 0.00 0.08 0.00 0.03 98.37 [2023-06-12T18:12:38.613Z] 18:11:01 4 0.05 0.00 0.00 0.03 0.02 99.90 [2023-06-12T18:12:38.613Z] 18:11:01 5 0.00 0.00 0.02 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 [2023-06-12T18:12:38.613Z] 18:11:01 7 0.02 0.00 0.00 0.02 0.02 99.95 [2023-06-12T18:12:38.613Z] 18:12:01 all 4.35 0.00 1.73 1.50 0.04 92.39 [2023-06-12T18:12:38.613Z] 18:12:01 0 3.93 0.00 2.37 0.49 0.03 93.18 [2023-06-12T18:12:38.613Z] 18:12:01 1 3.97 0.00 1.97 0.20 0.03 93.82 [2023-06-12T18:12:38.614Z] 18:12:01 2 3.94 0.00 1.27 0.12 0.03 94.64 [2023-06-12T18:12:38.614Z] 18:12:01 3 4.73 0.00 1.54 0.25 0.03 93.44 [2023-06-12T18:12:38.614Z] 18:12:01 4 3.77 0.00 1.16 1.64 0.02 93.42 [2023-06-12T18:12:38.614Z] 18:12:01 5 6.16 0.00 1.31 0.02 0.03 92.48 [2023-06-12T18:12:38.614Z] 18:12:01 6 3.26 0.00 1.90 0.05 0.07 94.73 [2023-06-12T18:12:38.614Z] 18:12:01 7 5.04 0.00 2.35 9.24 0.05 83.32 [2023-06-12T18:12:38.614Z] Average: all 6.29 0.00 1.60 1.15 0.03 90.93 [2023-06-12T18:12:38.614Z] Average: 0 6.28 0.00 1.63 0.98 0.03 91.08 [2023-06-12T18:12:38.614Z] Average: 1 6.43 0.00 1.71 3.49 0.04 88.33 [2023-06-12T18:12:38.614Z] Average: 2 6.14 0.00 1.89 0.78 0.03 91.16 [2023-06-12T18:12:38.614Z] Average: 3 6.69 0.00 1.42 0.50 0.03 91.35 [2023-06-12T18:12:38.614Z] Average: 4 6.14 0.00 1.39 0.74 0.02 91.71 [2023-06-12T18:12:38.614Z] Average: 5 6.64 0.00 1.57 1.13 0.03 90.62 [2023-06-12T18:12:38.614Z] Average: 6 5.55 0.00 1.45 0.23 0.03 92.73 [2023-06-12T18:12:38.614Z] Average: 7 6.42 0.00 1.75 1.36 0.04 90.43 [2023-06-12T18:12:38.614Z] [2023-06-12T18:12:38.614Z] [2023-06-12T18:12:38.614Z]