Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7849af7816baf1c3cc1af121845620dcf422b00f 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-ssh10310094965747878173.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh5352197917902118661.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh10227951368569756760.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh15760207436303565251.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh17438719960677793811.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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.18 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 ‘prd-ubuntu20.04-docker-8c-8g-22614’ Running on prd-ubuntu20.04-docker-8c-8g-22616 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 7849af7816baf1c3cc1af121845620dcf422b00f (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 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 Commit message: "build(snap): Upgrade snap hook to 2.4.1 (#209)" > git rev-list --no-walk ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T13:59:08.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T13:59:08.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T13:59:08.616Z] ========================================================= [2022-08-12T13:59:08.617Z] EdgeX Global Pipelines Version Info [2022-08-12T13:59:08.617Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:59:09.396Z] ------------------- [2022-08-12T13:59:09.396Z] stable info: [2022-08-12T13:59:09.396Z] ------------------- [2022-08-12T13:59:09.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T13:59:09.396Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T13:59:09.396Z] Message: update stable to v1.0.238 [2022-08-12T13:59:09.972Z] ------------------- [2022-08-12T13:59:09.972Z] experimental info: [2022-08-12T13:59:09.972Z] ------------------- [2022-08-12T13:59:09.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T13:59:09.972Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T13:59:09.972Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T13:59:10.229Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-08-12T13:59:10.238Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-08-12T13:59:10.256Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T13:59:10.268Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T13:59:10.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T13:59:10.285Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T13:59:10.295Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T13:59:10.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-12T13:59:10.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T13:59:10.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T13:59:10.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T13:59:10.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-08-12T13:59:10.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T13:59:10.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T13:59:10.399Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T13:59:10.417Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T13:59:10.433Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T13:59:10.449Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T13:59:10.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T13:59:10.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T13:59:10.502Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-12T13:59:10.517Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-12T13:59:10.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T13:59:10.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T13:59:10.560Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T13:59:10.572Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T13:59:10.586Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T13:59:10.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-12T13:59:10.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-12T13:59:10.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-12T13:59:10.654Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo [2022-08-12T13:59:10.673Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7849af7 [Pipeline] echo [2022-08-12T13:59:10.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T13:59:10.739Z] provisioning config files... [2022-08-12T13:59:10.752Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config710902623192762110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:59:11.067Z] ---> docker-login.sh [2022-08-12T13:59:11.067Z] nexus3.edgexfoundry.org:10001 [2022-08-12T13:59:11.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:11.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:11.327Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:11.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:11.327Z] [2022-08-12T13:59:11.327Z] Login Succeeded [2022-08-12T13:59:11.327Z] nexus3.edgexfoundry.org:10002 [2022-08-12T13:59:11.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:11.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:11.587Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:11.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:11.587Z] [2022-08-12T13:59:11.587Z] Login Succeeded [2022-08-12T13:59:11.587Z] nexus3.edgexfoundry.org:10003 [2022-08-12T13:59:11.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:11.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:11.587Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:11.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:11.587Z] [2022-08-12T13:59:11.587Z] Login Succeeded [2022-08-12T13:59:11.587Z] nexus3.edgexfoundry.org:10004 [2022-08-12T13:59:11.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:11.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:11.848Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:11.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:11.848Z] [2022-08-12T13:59:11.848Z] Login Succeeded [2022-08-12T13:59:11.848Z] docker.io [2022-08-12T13:59:11.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:12.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:12.107Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:12.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:12.107Z] [2022-08-12T13:59:12.107Z] Login Succeeded [2022-08-12T13:59:12.107Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T13:59:12.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T13:59:12.487Z] + git rev-list -1 --merges 7849af7816baf1c3cc1af121845620dcf422b00f~1..7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo [2022-08-12T13:59:12.519Z] -----------> git rev-list -1 --merges 7849af7816baf1c3cc1af121845620dcf422b00f~1..7849af7816baf1c3cc1af121845620dcf422b00f 7849af7816baf1c3cc1af121845620dcf422b00f [false] [Pipeline] sh [2022-08-12T13:59:12.811Z] + git log --format=format:%s -1 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo [2022-08-12T13:59:12.824Z] ========================================================= [2022-08-12T13:59:12.824Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T13:59:12.824Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T13:59:13.171Z] + git log --format=format:%s -1 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo [2022-08-12T13:59:13.181Z] [semverPrep] GIT_COMMIT: 7849af7816baf1c3cc1af121845620dcf422b00f, Commit Message: build(snap): Upgrade snap hook to 2.4.1 (#209) [Pipeline] echo [2022-08-12T13:59:13.190Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T13:59:13.533Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T13:59:13.533Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T13:59:13.533Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T13:59:13.533Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T13:59:13.533Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T13:59:13.533Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T13:59:13.533Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:59:13.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T13:59:13.879Z] [2022-08-12T13:59:13.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:59:14.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T13:59:14.185Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T13:59:14.185Z] b85a868b505f: Pulling fs layer [2022-08-12T13:59:14.185Z] e2be974225ed: Pulling fs layer [2022-08-12T13:59:14.185Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T13:59:14.185Z] 988bab9f4d93: Pulling fs layer [2022-08-12T13:59:14.185Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T13:59:14.185Z] eaf3925da568: Pulling fs layer [2022-08-12T13:59:14.185Z] bab4dde63d76: Pulling fs layer [2022-08-12T13:59:14.185Z] bde34c3a00c8: Pulling fs layer [2022-08-12T13:59:14.185Z] b352a97aabf1: Pulling fs layer [2022-08-12T13:59:14.185Z] 4872d77fe225: Pulling fs layer [2022-08-12T13:59:14.185Z] 5851b861e8e6: Pulling fs layer [2022-08-12T13:59:14.185Z] eaf3925da568: Waiting [2022-08-12T13:59:14.185Z] bab4dde63d76: Waiting [2022-08-12T13:59:14.185Z] bde34c3a00c8: Waiting [2022-08-12T13:59:14.185Z] 988bab9f4d93: Waiting [2022-08-12T13:59:14.185Z] b352a97aabf1: Waiting [2022-08-12T13:59:14.185Z] 4872d77fe225: Waiting [2022-08-12T13:59:14.185Z] 5851b861e8e6: Waiting [2022-08-12T13:59:14.185Z] 1469e6f7b9e6: Waiting [2022-08-12T13:59:14.185Z] e2be974225ed: Verifying Checksum [2022-08-12T13:59:14.185Z] e2be974225ed: Download complete [2022-08-12T13:59:14.185Z] 988bab9f4d93: Verifying Checksum [2022-08-12T13:59:14.185Z] 988bab9f4d93: Download complete [2022-08-12T13:59:14.446Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T13:59:14.446Z] 1469e6f7b9e6: Download complete [2022-08-12T13:59:14.446Z] eaf3925da568: Verifying Checksum [2022-08-12T13:59:14.446Z] eaf3925da568: Download complete [2022-08-12T13:59:14.446Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T13:59:14.446Z] 339a4e72a1f5: Download complete [2022-08-12T13:59:14.446Z] bde34c3a00c8: Download complete [2022-08-12T13:59:14.446Z] b352a97aabf1: Download complete [2022-08-12T13:59:14.446Z] 4872d77fe225: Verifying Checksum [2022-08-12T13:59:14.446Z] 4872d77fe225: Download complete [2022-08-12T13:59:14.446Z] 5851b861e8e6: Verifying Checksum [2022-08-12T13:59:14.446Z] 5851b861e8e6: Download complete [2022-08-12T13:59:14.446Z] b85a868b505f: Verifying Checksum [2022-08-12T13:59:14.446Z] b85a868b505f: Download complete [2022-08-12T13:59:14.705Z] bab4dde63d76: Verifying Checksum [2022-08-12T13:59:14.705Z] bab4dde63d76: Download complete [2022-08-12T13:59:15.642Z] b85a868b505f: Pull complete [2022-08-12T13:59:15.900Z] e2be974225ed: Pull complete [2022-08-12T13:59:16.470Z] 339a4e72a1f5: Pull complete [2022-08-12T13:59:16.470Z] 988bab9f4d93: Pull complete [2022-08-12T13:59:16.731Z] 1469e6f7b9e6: Pull complete [2022-08-12T13:59:16.731Z] eaf3925da568: Pull complete [2022-08-12T13:59:18.658Z] bab4dde63d76: Pull complete [2022-08-12T13:59:18.658Z] bde34c3a00c8: Pull complete [2022-08-12T13:59:18.658Z] b352a97aabf1: Pull complete [2022-08-12T13:59:18.658Z] 4872d77fe225: Pull complete [2022-08-12T13:59:18.658Z] 5851b861e8e6: Pull complete [2022-08-12T13:59:18.658Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T13:59:18.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T13:59:18.658Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T13:59:18.751Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T13:59:18.786Z] $ 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 [2022-08-12T13:59:20.721Z] $ docker top 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba -eo pid,comm [2022-08-12T13:59:20.780Z] 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). [2022-08-12T13:59:20.780Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T13:59:20.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T13:59:20.818Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T13:59:20.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T13:59:20.952Z] $ docker exec 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent [2022-08-12T13:59:21.065Z] SSH_AUTH_SOCK=/tmp/ssh-5UmE9AFXTVPf/agent.33 [2022-08-12T13:59:21.065Z] SSH_AGENT_PID=39 [2022-08-12T13:59:21.072Z] Running ssh-add (command line suppressed) [2022-08-12T13:59:21.187Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7556447858916298931.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7556447858916298931.key) [2022-08-12T13:59:21.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T13:59:21.488Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T13:59:21.505Z] $ docker exec --env ******** --env ******** 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent -k [2022-08-12T13:59:21.612Z] unset SSH_AUTH_SOCK; [2022-08-12T13:59:21.613Z] unset SSH_AGENT_PID; [2022-08-12T13:59:21.613Z] echo Agent pid 39 killed; [2022-08-12T13:59:21.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T13:59:21.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T13:59:21.646Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T13:59:21.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T13:59:21.787Z] $ docker exec 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent [2022-08-12T13:59:21.891Z] SSH_AUTH_SOCK=/tmp/ssh-8Cx9taLoXlrT/agent.71 [2022-08-12T13:59:21.891Z] SSH_AGENT_PID=77 [2022-08-12T13:59:21.895Z] Running ssh-add (command line suppressed) [2022-08-12T13:59:21.995Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_539952007085121168.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_539952007085121168.key) [2022-08-12T13:59:22.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T13:59:22.299Z] + git semver init [2022-08-12T13:59:22.560Z] 2022-08-12 13:59:22,463 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T13:59:22.560Z] 2022-08-12 13:59:22,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-08-12T13:59:22.560Z] 2022-08-12 13:59:22,464 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-08-12T13:59:22.560Z] 2022-08-12 13:59:22,464 [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) [2022-08-12T13:59:23.501Z] 2022-08-12 13:59:23,435 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-08-12T13:59:23.501Z] 2022-08-12 13:59:23,436 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-08-12T13:59:23.501Z] 2022-08-12 13:59:23,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T13:59:23.501Z] 2022-08-12 13:59:23,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T13:59:23.501Z] 2.3.0-dev.11 [Pipeline] } [2022-08-12T13:59:23.515Z] $ docker exec --env ******** --env ******** 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent -k [2022-08-12T13:59:23.633Z] unset SSH_AUTH_SOCK; [2022-08-12T13:59:23.633Z] unset SSH_AGENT_PID; [2022-08-12T13:59:23.633Z] echo Agent pid 77 killed; [2022-08-12T13:59:23.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T13:59:23.956Z] + git semver [Pipeline] } [2022-08-12T13:59:24.233Z] $ docker stop --time=1 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba [2022-08-12T13:59:25.502Z] $ docker rm -f 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T13:59:25.847Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T13:59:26.099Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T13:59:26.102Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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 [2022-08-12T13:59:26.270Z] provisioning config files... [2022-08-12T13:59:26.281Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7312786619955838423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:59:26.581Z] ---> docker-login.sh [2022-08-12T13:59:26.581Z] nexus3.edgexfoundry.org:10001 [2022-08-12T13:59:26.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:26.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:26.581Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:26.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:26.581Z] [2022-08-12T13:59:26.581Z] Login Succeeded [2022-08-12T13:59:26.581Z] nexus3.edgexfoundry.org:10002 [2022-08-12T13:59:26.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:26.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:26.581Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:26.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:26.581Z] [2022-08-12T13:59:26.581Z] Login Succeeded [2022-08-12T13:59:26.581Z] nexus3.edgexfoundry.org:10003 [2022-08-12T13:59:26.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:26.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:26.840Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:26.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:26.840Z] [2022-08-12T13:59:26.840Z] Login Succeeded [2022-08-12T13:59:26.840Z] nexus3.edgexfoundry.org:10004 [2022-08-12T13:59:26.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:26.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:26.840Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:26.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:26.840Z] [2022-08-12T13:59:26.840Z] Login Succeeded [2022-08-12T13:59:26.840Z] docker.io [2022-08-12T13:59:27.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:27.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:27.360Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:27.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:27.360Z] [2022-08-12T13:59:27.360Z] Login Succeeded [2022-08-12T13:59:27.360Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T13:59:27.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T13:59:27.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T13:59:27.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T13:59:27.457Z] ========================================================= [2022-08-12T13:59:27.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T13:59:27.457Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:59:27.781Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-12T13:59:27.781Z] Sending build context to Docker daemon 10.71MB [2022-08-12T13:59:27.781Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T13:59:27.781Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T13:59:27.781Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T13:59:27.781Z] 2408cc74d12b: Pulling fs layer [2022-08-12T13:59:27.781Z] ea60b727a1ce: Pulling fs layer [2022-08-12T13:59:27.781Z] 30c4a7721957: Pulling fs layer [2022-08-12T13:59:27.781Z] 370296b7ddb6: Pulling fs layer [2022-08-12T13:59:27.781Z] 7c6cee850709: Pulling fs layer [2022-08-12T13:59:27.781Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T13:59:27.781Z] d94ebbe4e438: Pulling fs layer [2022-08-12T13:59:27.781Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T13:59:27.781Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T13:59:27.781Z] 370296b7ddb6: Waiting [2022-08-12T13:59:27.781Z] 7c6cee850709: Waiting [2022-08-12T13:59:27.781Z] 39a5fcdaea64: Waiting [2022-08-12T13:59:27.781Z] d94ebbe4e438: Waiting [2022-08-12T13:59:27.781Z] bcfd1f05c69d: Waiting [2022-08-12T13:59:27.781Z] 30c4a7721957: Verifying Checksum [2022-08-12T13:59:27.781Z] 30c4a7721957: Download complete [2022-08-12T13:59:27.781Z] ea60b727a1ce: Download complete [2022-08-12T13:59:28.045Z] 7c6cee850709: Verifying Checksum [2022-08-12T13:59:28.045Z] 7c6cee850709: Download complete [2022-08-12T13:59:28.045Z] 39a5fcdaea64: Verifying Checksum [2022-08-12T13:59:28.045Z] 39a5fcdaea64: Download complete [2022-08-12T13:59:28.045Z] 2408cc74d12b: Verifying Checksum [2022-08-12T13:59:28.045Z] d94ebbe4e438: Download complete [2022-08-12T13:59:28.045Z] 2408cc74d12b: Pull complete [2022-08-12T13:59:28.318Z] ea60b727a1ce: Pull complete [2022-08-12T13:59:28.318Z] 30c4a7721957: Pull complete [2022-08-12T13:59:28.589Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T13:59:28.589Z] 59ccb84bbe0f: Download complete [2022-08-12T13:59:28.850Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T13:59:28.850Z] bcfd1f05c69d: Download complete [2022-08-12T13:59:28.850Z] 370296b7ddb6: Verifying Checksum [2022-08-12T13:59:28.850Z] 370296b7ddb6: Download complete [2022-08-12T13:59:33.044Z] 370296b7ddb6: Pull complete [2022-08-12T13:59:33.044Z] 7c6cee850709: Pull complete [2022-08-12T13:59:33.044Z] 39a5fcdaea64: Pull complete [2022-08-12T13:59:33.044Z] d94ebbe4e438: Pull complete [2022-08-12T13:59:34.419Z] bcfd1f05c69d: Pull complete [2022-08-12T13:59:35.356Z] 59ccb84bbe0f: Pull complete [2022-08-12T13:59:35.356Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T13:59:35.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T13:59:35.356Z] ---> a4fb48ad2a94 [2022-08-12T13:59:35.356Z] Step 3/12 : ARG MAKE='make build' [2022-08-12T13:59:39.561Z] ---> Running in 1f64307b6551 [2022-08-12T13:59:39.561Z] Removing intermediate container 1f64307b6551 [2022-08-12T13:59:39.561Z] ---> 2594a848213d [2022-08-12T13:59:39.561Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T13:59:39.561Z] ---> Running in 52804ce1df05 [2022-08-12T13:59:39.561Z] Removing intermediate container 52804ce1df05 [2022-08-12T13:59:39.561Z] ---> 9d98b9cc1d83 [2022-08-12T13:59:39.561Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T13:59:39.561Z] ---> Running in 4512616ba27f [2022-08-12T13:59:39.561Z] Removing intermediate container 4512616ba27f [2022-08-12T13:59:39.561Z] ---> ca3a528d60f4 [2022-08-12T13:59:39.561Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T13:59:39.561Z] ---> Running in 53dcb6a6d912 [2022-08-12T13:59:39.824Z] Removing intermediate container 53dcb6a6d912 [2022-08-12T13:59:39.824Z] ---> a0d40e3786bd [2022-08-12T13:59:39.824Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T13:59:39.824Z] ---> Running in 4d7f0e7fc104 [2022-08-12T13:59:40.085Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T13:59:41.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T13:59:41.028Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T13:59:41.225Z] Still waiting to schedule task [2022-08-12T13:59:41.226Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22615’ [2022-08-12T13:59:41.289Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T13:59:41.289Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T13:59:41.289Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T13:59:41.549Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T13:59:41.549Z] OK: 216 MiB in 55 packages [2022-08-12T13:59:41.810Z] Removing intermediate container 4d7f0e7fc104 [2022-08-12T13:59:41.810Z] ---> 2ae0482663c8 [2022-08-12T13:59:41.810Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-12T13:59:42.071Z] ---> Running in d90b91f2f732 [2022-08-12T13:59:42.071Z] Removing intermediate container d90b91f2f732 [2022-08-12T13:59:42.071Z] ---> 9e0e9adfed71 [2022-08-12T13:59:42.071Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-12T13:59:42.071Z] ---> 3f8117030e94 [2022-08-12T13:59:42.071Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T13:59:42.071Z] ---> Running in 6bfd56210e12 [2022-08-12T14:00:00.177Z] Removing intermediate container 6bfd56210e12 [2022-08-12T14:00:00.177Z] ---> 8ad14f8ae311 [2022-08-12T14:00:00.177Z] Step 11/12 : COPY . . [2022-08-12T14:00:00.177Z] ---> 137a86004d86 [2022-08-12T14:00:00.177Z] Step 12/12 : RUN $MAKE [2022-08-12T14:00:00.177Z] ---> Running in 793c3e42902b [2022-08-12T14:00:00.177Z] noop [2022-08-12T14:00:00.177Z] Removing intermediate container 793c3e42902b [2022-08-12T14:00:00.177Z] ---> da84d7824f15 [2022-08-12T14:00:00.177Z] Successfully built da84d7824f15 [2022-08-12T14:00:00.177Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:00:00.497Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T14:00:00.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:00:00.583Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:00:00.622Z] $ 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 [2022-08-12T14:00:00.968Z] $ docker top 65cace644bd72c463c43f85f6e8802eca928ba55cdeb15031b35bda5b6bd6efd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:00:01.313Z] + go version [2022-08-12T14:00:01.313Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T14:00:01.326Z] $ docker stop --time=1 65cace644bd72c463c43f85f6e8802eca928ba55cdeb15031b35bda5b6bd6efd [2022-08-12T14:00:02.795Z] $ docker rm -f 65cace644bd72c463c43f85f6e8802eca928ba55cdeb15031b35bda5b6bd6efd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:00:03.203Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T14:00:03.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:00:03.284Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:00:03.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 [2022-08-12T14:00:03.724Z] $ docker top 7153e1025fb9bada13dbd9f25e3a9b0ceb0e0ed6e6c8c2c50769ab57b7ce9766 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:00:04.111Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-12T14:00:04.407Z] + make test [2022-08-12T14:00:04.407Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T14:00:04.666Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-12T14:00:14.646Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-12T14:00:14.647Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-08-12T14:00:21.224Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-12T14:00:21.224Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T14:00:23.761Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T14:00:23.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T14:00:23.761Z] ./bin/test-attribution-txt.sh [2022-08-12T14:00:23.761Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T14:00:23.761Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T14:00:23.761Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T14:00:23.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T14:00:23.790Z] $ docker stop --time=1 7153e1025fb9bada13dbd9f25e3a9b0ceb0e0ed6e6c8c2c50769ab57b7ce9766 [2022-08-12T14:00:25.975Z] $ docker rm -f 7153e1025fb9bada13dbd9f25e3a9b0ceb0e0ed6e6c8c2c50769ab57b7ce9766 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T14:00:26.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T14:00:26.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T14:00:26.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T14:00:27.167Z] + ls -al . [2022-08-12T14:00:27.167Z] total 172 [2022-08-12T14:00:27.167Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 14:00 . [2022-08-12T14:00:27.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 .. [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 13:59 .dockerignore [2022-08-12T14:00:27.167Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 14:00 .git [2022-08-12T14:00:27.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 .github [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 13:59 .gitignore [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 13:59 .golangci.yml [2022-08-12T14:00:27.167Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 13:59 .semver [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 13:59 Attribution.txt [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 13:59 CHANGELOG.md [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 13:59 Dockerfile [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 13:59 GOVERNANCE.md [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 13:59 Jenkinsfile [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 13:59 LICENSE [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 13:59 Makefile [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 13:59 OWNERS.md [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 13:59 README.md [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:59 VERSION [2022-08-12T14:00:27.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 bin [2022-08-12T14:00:27.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 cmd [2022-08-12T14:00:27.167Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 14:00 coverage.out [2022-08-12T14:00:27.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 driver [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 13:59 go.mod [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 13:59 go.sum [2022-08-12T14:00:27.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 snap [2022-08-12T14:00:27.167Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 13:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:00:27.476Z] + 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=7849af7816baf1c3cc1af121845620dcf422b00f --label arch=amd64 --label version=2.3.0-dev.11 . [2022-08-12T14:00:27.476Z] Sending build context to Docker daemon 10.72MB [2022-08-12T14:00:27.476Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T14:00:27.476Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T14:00:27.476Z] ---> da84d7824f15 [2022-08-12T14:00:27.476Z] Step 3/25 : ARG MAKE='make build' [2022-08-12T14:00:27.476Z] ---> Running in 501c8d90c262 [2022-08-12T14:00:27.736Z] Removing intermediate container 501c8d90c262 [2022-08-12T14:00:27.736Z] ---> ef1d581502b2 [2022-08-12T14:00:27.736Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T14:00:27.736Z] ---> Running in 180d6ac13f56 [2022-08-12T14:00:27.997Z] Removing intermediate container 180d6ac13f56 [2022-08-12T14:00:27.997Z] ---> 0a6b21375704 [2022-08-12T14:00:27.997Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T14:00:27.997Z] ---> Running in cb3b2c6ae8a6 [2022-08-12T14:00:27.997Z] Removing intermediate container cb3b2c6ae8a6 [2022-08-12T14:00:27.997Z] ---> 9e4060ba7adf [2022-08-12T14:00:27.997Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T14:00:27.997Z] ---> Running in 3f2c0c74b3bb [2022-08-12T14:00:28.569Z] Removing intermediate container 3f2c0c74b3bb [2022-08-12T14:00:28.569Z] ---> ff7cf8246e7e [2022-08-12T14:00:28.569Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T14:00:28.831Z] ---> Running in defc4dd802e4 [2022-08-12T14:00:29.091Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T14:00:30.038Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T14:00:30.297Z] OK: 216 MiB in 55 packages [2022-08-12T14:00:30.557Z] Removing intermediate container defc4dd802e4 [2022-08-12T14:00:30.557Z] ---> dfb8b13ee3b4 [2022-08-12T14:00:30.557Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-12T14:00:30.557Z] ---> Running in 9041a1a1b770 [2022-08-12T14:00:30.557Z] Removing intermediate container 9041a1a1b770 [2022-08-12T14:00:30.557Z] ---> bbe559d888d5 [2022-08-12T14:00:30.557Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-12T14:00:30.817Z] ---> 2a012de53642 [2022-08-12T14:00:30.817Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T14:00:30.817Z] ---> Running in 28950c306c29 [2022-08-12T14:00:31.387Z] Removing intermediate container 28950c306c29 [2022-08-12T14:00:31.387Z] ---> 8b67d91b5fdd [2022-08-12T14:00:31.387Z] Step 11/25 : COPY . . [2022-08-12T14:00:31.647Z] ---> 131ee5181d7f [2022-08-12T14:00:31.647Z] Step 12/25 : RUN $MAKE [2022-08-12T14:00:31.647Z] ---> Running in ae79e9702e72 [2022-08-12T14:00:31.907Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-12T14:00:53.869Z] Removing intermediate container ae79e9702e72 [2022-08-12T14:00:53.869Z] ---> 57d64cfcf7f2 [2022-08-12T14:00:53.869Z] Step 13/25 : FROM alpine:3.16 [2022-08-12T14:00:53.869Z] 3.16: Pulling from library/alpine [2022-08-12T14:00:53.869Z] 213ec9aee27d: Pulling fs layer [2022-08-12T14:00:53.869Z] 213ec9aee27d: Verifying Checksum [2022-08-12T14:00:53.869Z] 213ec9aee27d: Download complete [2022-08-12T14:00:53.869Z] 213ec9aee27d: Pull complete [2022-08-12T14:00:53.869Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T14:00:53.869Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T14:00:53.869Z] ---> 9c6f07244728 [2022-08-12T14:00:53.869Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T14:00:53.869Z] ---> Running in 76bfb8b83997 [2022-08-12T14:00:53.869Z] Removing intermediate container 76bfb8b83997 [2022-08-12T14:00:53.869Z] ---> a1ba8e6bec1a [2022-08-12T14:00:53.869Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-12T14:00:53.869Z] ---> Running in 524e88b2d69c [2022-08-12T14:00:53.869Z] Removing intermediate container 524e88b2d69c [2022-08-12T14:00:53.869Z] ---> 5203339e0b33 [2022-08-12T14:00:53.869Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T14:00:53.869Z] ---> Running in 25837b702db6 [2022-08-12T14:00:53.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T14:00:53.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T14:00:53.869Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T14:00:53.869Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T14:00:53.869Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T14:00:53.869Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T14:00:53.869Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T14:00:53.869Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T14:00:53.869Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T14:00:53.869Z] OK: 8 MiB in 20 packages [2022-08-12T14:00:53.869Z] Removing intermediate container 25837b702db6 [2022-08-12T14:00:53.869Z] ---> 52ab74496042 [2022-08-12T14:00:53.869Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-12T14:00:54.440Z] ---> 93136367adc2 [2022-08-12T14:00:54.440Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-12T14:00:54.440Z] ---> c9a8f70c286f [2022-08-12T14:00:54.440Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-12T14:00:54.701Z] ---> bb99909955bb [2022-08-12T14:00:54.701Z] Step 20/25 : EXPOSE 59986 [2022-08-12T14:00:54.701Z] ---> Running in 1d236d31dd3c [2022-08-12T14:00:54.701Z] Removing intermediate container 1d236d31dd3c [2022-08-12T14:00:54.701Z] ---> 43ff10fd0f68 [2022-08-12T14:00:54.701Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-12T14:00:54.701Z] ---> Running in 45d9407618d3 [2022-08-12T14:00:54.961Z] Removing intermediate container 45d9407618d3 [2022-08-12T14:00:54.961Z] ---> 3aedc889b16e [2022-08-12T14:00:54.961Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-12T14:00:54.961Z] ---> Running in 3b171d08d044 [2022-08-12T14:00:54.961Z] Removing intermediate container 3b171d08d044 [2022-08-12T14:00:54.961Z] ---> d2f5bdd2707e [2022-08-12T14:00:54.961Z] Step 23/25 : LABEL arch=amd64 [2022-08-12T14:00:54.961Z] ---> Running in 4b4b3d1b855a [2022-08-12T14:00:54.961Z] Removing intermediate container 4b4b3d1b855a [2022-08-12T14:00:54.961Z] ---> c8b6e242f139 [2022-08-12T14:00:54.961Z] Step 24/25 : LABEL git_sha=7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:00:54.961Z] ---> Running in 297dc74ee953 [2022-08-12T14:00:55.221Z] Removing intermediate container 297dc74ee953 [2022-08-12T14:00:55.221Z] ---> 4212ba971f1d [2022-08-12T14:00:55.221Z] Step 25/25 : LABEL version=2.3.0-dev.11 [2022-08-12T14:00:55.221Z] ---> Running in 2c4cc28dac6f [2022-08-12T14:00:55.221Z] Removing intermediate container 2c4cc28dac6f [2022-08-12T14:00:55.221Z] ---> 55fcee76f540 [2022-08-12T14:00:55.221Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T14:00:55.221Z] Successfully built 55fcee76f540 [2022-08-12T14:00:55.221Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T14:00:55.306Z] provisioning config files... [2022-08-12T14:00:55.315Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1052257938291879963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:00:55.616Z] ---> docker-login.sh [2022-08-12T14:00:55.616Z] nexus3.edgexfoundry.org:10001 [2022-08-12T14:00:55.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:00:55.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:00:55.616Z] Configure a credential helper to remove this warning. See [2022-08-12T14:00:55.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:00:55.616Z] [2022-08-12T14:00:55.616Z] Login Succeeded [2022-08-12T14:00:55.616Z] nexus3.edgexfoundry.org:10002 [2022-08-12T14:00:55.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:00:55.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:00:55.877Z] Configure a credential helper to remove this warning. See [2022-08-12T14:00:55.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:00:55.877Z] [2022-08-12T14:00:55.877Z] Login Succeeded [2022-08-12T14:00:55.877Z] nexus3.edgexfoundry.org:10003 [2022-08-12T14:00:55.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:00:55.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:00:55.877Z] Configure a credential helper to remove this warning. See [2022-08-12T14:00:55.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:00:55.877Z] [2022-08-12T14:00:55.877Z] Login Succeeded [2022-08-12T14:00:55.877Z] nexus3.edgexfoundry.org:10004 [2022-08-12T14:00:56.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:00:56.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:00:56.137Z] Configure a credential helper to remove this warning. See [2022-08-12T14:00:56.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:00:56.137Z] [2022-08-12T14:00:56.137Z] Login Succeeded [2022-08-12T14:00:56.137Z] docker.io [2022-08-12T14:00:56.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:00:56.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:00:56.399Z] Configure a credential helper to remove this warning. See [2022-08-12T14:00:56.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:00:56.399Z] [2022-08-12T14:00:56.399Z] Login Succeeded [2022-08-12T14:00:56.399Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T14:00:56.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T14:00:56.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T14:00:56.453Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-08-12T14:00:56.454Z] 7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:00:56.454Z] latest [2022-08-12T14:00:56.454Z] 2.3.0-dev.11 [2022-08-12T14:00:56.454Z] 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [2022-08-12T14:00:56.454Z] main [2022-08-12T14:00:56.454Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:00:56.769Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:00:57.087Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:00:57.088Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-12T14:00:57.088Z] 4d27f3162d64: Preparing [2022-08-12T14:00:57.088Z] 29fd8273b1b9: Preparing [2022-08-12T14:00:57.088Z] 0d4e1c0a6b91: Preparing [2022-08-12T14:00:57.088Z] 461ee66eabea: Preparing [2022-08-12T14:00:57.088Z] 994393dc58e7: Preparing [2022-08-12T14:00:57.088Z] 994393dc58e7: Layer already exists [2022-08-12T14:00:57.088Z] 29fd8273b1b9: Pushed [2022-08-12T14:00:57.088Z] 4d27f3162d64: Pushed [2022-08-12T14:00:57.347Z] 461ee66eabea: Pushed [2022-08-12T14:00:59.887Z] 0d4e1c0a6b91: Pushed [2022-08-12T14:00:59.887Z] 7849af7816baf1c3cc1af121845620dcf422b00f: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:00.215Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:00.528Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-08-12T14:01:00.528Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-12T14:01:00.528Z] 4d27f3162d64: Preparing [2022-08-12T14:01:00.528Z] 29fd8273b1b9: Preparing [2022-08-12T14:01:00.528Z] 0d4e1c0a6b91: Preparing [2022-08-12T14:01:00.528Z] 461ee66eabea: Preparing [2022-08-12T14:01:00.528Z] 994393dc58e7: Preparing [2022-08-12T14:01:00.528Z] 994393dc58e7: Layer already exists [2022-08-12T14:01:00.528Z] 461ee66eabea: Layer already exists [2022-08-12T14:01:00.528Z] 29fd8273b1b9: Layer already exists [2022-08-12T14:01:00.528Z] 0d4e1c0a6b91: Layer already exists [2022-08-12T14:01:00.528Z] 4d27f3162d64: Layer already exists [2022-08-12T14:01:00.528Z] latest: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:00.850Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:01.162Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.11 [2022-08-12T14:01:01.162Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-12T14:01:01.162Z] 4d27f3162d64: Preparing [2022-08-12T14:01:01.162Z] 29fd8273b1b9: Preparing [2022-08-12T14:01:01.162Z] 0d4e1c0a6b91: Preparing [2022-08-12T14:01:01.162Z] 461ee66eabea: Preparing [2022-08-12T14:01:01.162Z] 994393dc58e7: Preparing [2022-08-12T14:01:01.162Z] 29fd8273b1b9: Layer already exists [2022-08-12T14:01:01.162Z] 994393dc58e7: Layer already exists [2022-08-12T14:01:01.162Z] 461ee66eabea: Layer already exists [2022-08-12T14:01:01.162Z] 0d4e1c0a6b91: Layer already exists [2022-08-12T14:01:01.162Z] 4d27f3162d64: Layer already exists [2022-08-12T14:01:01.162Z] 2.3.0-dev.11: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:01.492Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:01.806Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [2022-08-12T14:01:01.806Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-12T14:01:01.806Z] 4d27f3162d64: Preparing [2022-08-12T14:01:01.806Z] 29fd8273b1b9: Preparing [2022-08-12T14:01:01.806Z] 0d4e1c0a6b91: Preparing [2022-08-12T14:01:01.806Z] 461ee66eabea: Preparing [2022-08-12T14:01:01.806Z] 994393dc58e7: Preparing [2022-08-12T14:01:01.806Z] 461ee66eabea: Layer already exists [2022-08-12T14:01:01.806Z] 0d4e1c0a6b91: Layer already exists [2022-08-12T14:01:01.806Z] 994393dc58e7: Layer already exists [2022-08-12T14:01:01.806Z] 4d27f3162d64: Layer already exists [2022-08-12T14:01:01.806Z] 29fd8273b1b9: Layer already exists [2022-08-12T14:01:01.806Z] 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:02.129Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:02.439Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-08-12T14:01:02.439Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-12T14:01:02.439Z] 4d27f3162d64: Preparing [2022-08-12T14:01:02.439Z] 29fd8273b1b9: Preparing [2022-08-12T14:01:02.439Z] 0d4e1c0a6b91: Preparing [2022-08-12T14:01:02.439Z] 461ee66eabea: Preparing [2022-08-12T14:01:02.439Z] 994393dc58e7: Preparing [2022-08-12T14:01:02.439Z] 4d27f3162d64: Layer already exists [2022-08-12T14:01:02.439Z] 29fd8273b1b9: Layer already exists [2022-08-12T14:01:02.439Z] 994393dc58e7: Layer already exists [2022-08-12T14:01:02.439Z] 461ee66eabea: Layer already exists [2022-08-12T14:01:02.439Z] 0d4e1c0a6b91: Layer already exists [2022-08-12T14:01:02.439Z] main: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T14:01:02.481Z] ===================================================== [Pipeline] echo [2022-08-12T14:01:02.490Z] taggedImages: [2022-08-12T14:01:02.490Z] - nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:01:02.490Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-08-12T14:01:02.490Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.11 [2022-08-12T14:01:02.490Z] - nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [2022-08-12T14:01:02.490Z] - 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 [2022-08-12T14:01:02.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T14:01:02.893Z] [2022-08-12T14:01:02.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:03.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T14:01:03.207Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T14:01:03.207Z] 5eb5b503b376: Pulling fs layer [2022-08-12T14:01:03.207Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T14:01:03.207Z] ec43610c2a17: Pulling fs layer [2022-08-12T14:01:03.207Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T14:01:03.207Z] 33b1e0a273af: Pulling fs layer [2022-08-12T14:01:03.207Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T14:01:03.207Z] 2f39f015ded8: Pulling fs layer [2022-08-12T14:01:03.207Z] 33b1e0a273af: Waiting [2022-08-12T14:01:03.207Z] 5d3b04190fa2: Waiting [2022-08-12T14:01:03.207Z] 2f39f015ded8: Waiting [2022-08-12T14:01:03.207Z] 3a2ae6a8a46f: Waiting [2022-08-12T14:01:03.207Z] 5c69ac0246d0: Verifying Checksum [2022-08-12T14:01:03.207Z] 5c69ac0246d0: Download complete [2022-08-12T14:01:03.207Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-12T14:01:03.207Z] 3a2ae6a8a46f: Download complete [2022-08-12T14:01:03.468Z] 33b1e0a273af: Verifying Checksum [2022-08-12T14:01:03.468Z] 33b1e0a273af: Download complete [2022-08-12T14:01:03.468Z] ec43610c2a17: Verifying Checksum [2022-08-12T14:01:03.468Z] ec43610c2a17: Download complete [2022-08-12T14:01:03.468Z] 5d3b04190fa2: Verifying Checksum [2022-08-12T14:01:03.468Z] 5d3b04190fa2: Download complete [2022-08-12T14:01:03.468Z] 5eb5b503b376: Verifying Checksum [2022-08-12T14:01:03.468Z] 5eb5b503b376: Download complete [2022-08-12T14:01:04.039Z] 2f39f015ded8: Verifying Checksum [2022-08-12T14:01:04.039Z] 2f39f015ded8: Download complete [2022-08-12T14:01:04.978Z] 5eb5b503b376: Pull complete [2022-08-12T14:01:04.978Z] 5c69ac0246d0: Pull complete [2022-08-12T14:01:05.548Z] ec43610c2a17: Pull complete [2022-08-12T14:01:05.548Z] 3a2ae6a8a46f: Pull complete [2022-08-12T14:01:05.807Z] 33b1e0a273af: Pull complete [2022-08-12T14:01:05.807Z] 5d3b04190fa2: Pull complete [2022-08-12T14:01:11.084Z] 2f39f015ded8: Pull complete [2022-08-12T14:01:11.084Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T14:01:11.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T14:01:11.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:01:11.192Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:01:11.230Z] $ 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 [2022-08-12T14:01:13.327Z] $ docker top c4aebfece4c540ba8ef2ab0c0911fcad181cce68be83fcb247c9fe3ddeb0a0a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:01:13.789Z] ---> job-cost.sh [2022-08-12T14:01:13.790Z] lf-activate-venv: SKIPPING [2022-08-12T14:01:13.790Z] INFO: No Stack... [2022-08-12T14:01:14.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T14:01:14.665Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T14:01:14.962Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-08-12T14:01:14.962Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T14:01:14.978Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [2022-08-12T14:01:14.984Z] Resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] did not exist. Created. [2022-08-12T14:01:14.984Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T14:01:15.296Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T14:01:15.327Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T14:01:15.333Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T14:01:15.355Z] $ docker stop --time=1 c4aebfece4c540ba8ef2ab0c0911fcad181cce68be83fcb247c9fe3ddeb0a0a7 [2022-08-12T14:01:16.502Z] $ docker rm -f c4aebfece4c540ba8ef2ab0c0911fcad181cce68be83fcb247c9fe3ddeb0a0a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T14:02:33.088Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22617 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-08-12T14:02:33.101Z] Running in /w/workspace/device-rest-go/55 [Pipeline] { [Pipeline] checkout [2022-08-12T14:02:33.139Z] The recommended git tool is: git [2022-08-12T14:02:40.147Z] using credential edgex-jenkins-ssh [2022-08-12T14:02:40.165Z] Cloning the remote Git repository [2022-08-12T14:02:40.236Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-08-12T14:02:40.326Z] > git init /w/workspace/device-rest-go/55 # timeout=10 [2022-08-12T14:02:40.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-12T14:02:40.419Z] > git --version # timeout=10 [2022-08-12T14:02:40.447Z] > git --version # 'git version 2.25.1' [2022-08-12T14:02:40.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T14:02:40.536Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T14:02:42.408Z] Avoid second fetch [2022-08-12T14:02:42.409Z] Checking out Revision 7849af7816baf1c3cc1af121845620dcf422b00f (main) [2022-08-12T14:02:42.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-12T14:02:42.343Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T14:02:42.438Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T14:02:42.471Z] > git checkout -f 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 [2022-08-12T14:02:46.871Z] Commit message: "build(snap): Upgrade snap hook to 2.4.1 (#209)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T14:02:47.889Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T14:02:47.889Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T14:02:47.889Z] Dload Upload Total Spent Left Speed [2022-08-12T14:02:47.889Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2022-08-12T14:02:48.612Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T14:02:48.970Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T14:02:48.970Z] + sudo tee /etc/docker/daemon.new [2022-08-12T14:02:48.970Z] { [2022-08-12T14:02:48.970Z] "registry-mirrors": [ [2022-08-12T14:02:48.970Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T14:02:48.971Z] ], [2022-08-12T14:02:48.971Z] "bip": "10.250.0.254/24", [2022-08-12T14:02:48.971Z] "hosts": [ [2022-08-12T14:02:48.971Z] "tcp://0.0.0.0:5555", [2022-08-12T14:02:48.971Z] "unix:///var/run/docker.sock" [2022-08-12T14:02:48.971Z] ], [2022-08-12T14:02:48.971Z] "mtu": 1458, [2022-08-12T14:02:48.971Z] "selinux-enabled": true, [2022-08-12T14:02:48.971Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T14:02:48.971Z] } [Pipeline] sh [2022-08-12T14:02:49.333Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T14:02:49.682Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T14:03:08.083Z] provisioning config files... [2022-08-12T14:03:08.107Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config1271486939946636328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:03:08.482Z] ---> docker-login.sh [2022-08-12T14:03:08.482Z] nexus3.edgexfoundry.org:10001 [2022-08-12T14:03:09.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:03:09.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:03:09.687Z] Configure a credential helper to remove this warning. See [2022-08-12T14:03:09.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:03:09.687Z] [2022-08-12T14:03:09.687Z] Login Succeeded [2022-08-12T14:03:09.687Z] nexus3.edgexfoundry.org:10002 [2022-08-12T14:03:09.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:03:09.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:03:09.962Z] Configure a credential helper to remove this warning. See [2022-08-12T14:03:09.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:03:09.962Z] [2022-08-12T14:03:09.962Z] Login Succeeded [2022-08-12T14:03:09.962Z] nexus3.edgexfoundry.org:10003 [2022-08-12T14:03:10.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:03:10.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:03:10.570Z] Configure a credential helper to remove this warning. See [2022-08-12T14:03:10.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:03:10.570Z] [2022-08-12T14:03:10.570Z] Login Succeeded [2022-08-12T14:03:10.570Z] nexus3.edgexfoundry.org:10004 [2022-08-12T14:03:10.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:03:11.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:03:11.138Z] Configure a credential helper to remove this warning. See [2022-08-12T14:03:11.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:03:11.138Z] [2022-08-12T14:03:11.138Z] Login Succeeded [2022-08-12T14:03:11.138Z] docker.io [2022-08-12T14:03:11.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:03:11.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:03:11.686Z] Configure a credential helper to remove this warning. See [2022-08-12T14:03:11.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:03:11.686Z] [2022-08-12T14:03:11.686Z] Login Succeeded [2022-08-12T14:03:11.686Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T14:03:11.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T14:03:12.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T14:03:12.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T14:03:12.261Z] ========================================================= [2022-08-12T14:03:12.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T14:03:12.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:03:12.650Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-12T14:03:12.650Z] Sending build context to Docker daemon 126kB [2022-08-12T14:03:12.926Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T14:03:12.926Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T14:03:13.202Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T14:03:13.202Z] b3c136eddcbf: Pulling fs layer [2022-08-12T14:03:13.202Z] c0a3192eca97: Pulling fs layer [2022-08-12T14:03:13.202Z] a050256f5b6f: Pulling fs layer [2022-08-12T14:03:13.202Z] 656be50a0ddc: Pulling fs layer [2022-08-12T14:03:13.202Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T14:03:13.202Z] 46d945488cbd: Pulling fs layer [2022-08-12T14:03:13.202Z] 8a5474983e97: Pulling fs layer [2022-08-12T14:03:13.202Z] 329c88fbcd65: Pulling fs layer [2022-08-12T14:03:13.202Z] 46d945488cbd: Waiting [2022-08-12T14:03:13.202Z] 8a5474983e97: Waiting [2022-08-12T14:03:13.202Z] 329c88fbcd65: Waiting [2022-08-12T14:03:13.202Z] 656be50a0ddc: Waiting [2022-08-12T14:03:13.202Z] 2bbca73fdf42: Waiting [2022-08-12T14:03:13.202Z] a050256f5b6f: Verifying Checksum [2022-08-12T14:03:13.202Z] a050256f5b6f: Download complete [2022-08-12T14:03:13.202Z] c0a3192eca97: Verifying Checksum [2022-08-12T14:03:13.202Z] c0a3192eca97: Download complete [2022-08-12T14:03:13.202Z] 2bbca73fdf42: Verifying Checksum [2022-08-12T14:03:13.202Z] 2bbca73fdf42: Download complete [2022-08-12T14:03:13.202Z] 46d945488cbd: Verifying Checksum [2022-08-12T14:03:13.202Z] 46d945488cbd: Download complete [2022-08-12T14:03:13.202Z] b3c136eddcbf: Verifying Checksum [2022-08-12T14:03:14.196Z] b3c136eddcbf: Pull complete [2022-08-12T14:03:14.477Z] 329c88fbcd65: Verifying Checksum [2022-08-12T14:03:14.477Z] 329c88fbcd65: Download complete [2022-08-12T14:03:14.767Z] c0a3192eca97: Pull complete [2022-08-12T14:03:15.047Z] a050256f5b6f: Pull complete [2022-08-12T14:03:15.647Z] 8a5474983e97: Verifying Checksum [2022-08-12T14:03:15.647Z] 8a5474983e97: Download complete [2022-08-12T14:03:16.247Z] 656be50a0ddc: Verifying Checksum [2022-08-12T14:03:16.247Z] 656be50a0ddc: Download complete [2022-08-12T14:03:31.348Z] 656be50a0ddc: Pull complete [2022-08-12T14:03:31.348Z] 2bbca73fdf42: Pull complete [2022-08-12T14:03:31.348Z] 46d945488cbd: Pull complete [2022-08-12T14:03:35.672Z] 8a5474983e97: Pull complete [2022-08-12T14:03:38.326Z] 329c88fbcd65: Pull complete [2022-08-12T14:03:38.326Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T14:03:38.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T14:03:38.326Z] ---> ff4287adb874 [2022-08-12T14:03:38.326Z] Step 3/12 : ARG MAKE='make build' [2022-08-12T14:03:39.786Z] ---> Running in fa9cc83dcf65 [2022-08-12T14:03:40.063Z] Removing intermediate container fa9cc83dcf65 [2022-08-12T14:03:40.063Z] ---> 58f198e41967 [2022-08-12T14:03:40.063Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T14:03:40.339Z] ---> Running in 165f05f522fb [2022-08-12T14:03:41.791Z] Removing intermediate container 165f05f522fb [2022-08-12T14:03:41.791Z] ---> 33cc4adfb315 [2022-08-12T14:03:41.791Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T14:03:41.791Z] ---> Running in 9b9f7a231736 [2022-08-12T14:03:41.791Z] Removing intermediate container 9b9f7a231736 [2022-08-12T14:03:41.791Z] ---> b5abd5402496 [2022-08-12T14:03:41.791Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T14:03:42.065Z] ---> Running in 547dc98c5bf7 [2022-08-12T14:03:44.049Z] Removing intermediate container 547dc98c5bf7 [2022-08-12T14:03:44.049Z] ---> e7db56fa67cf [2022-08-12T14:03:44.049Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T14:03:44.049Z] ---> Running in 714a6673e0c9 [2022-08-12T14:03:44.647Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T14:03:45.628Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T14:03:46.620Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T14:03:46.895Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T14:03:46.895Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T14:03:47.174Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T14:03:47.174Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T14:03:47.174Z] OK: 226 MiB in 55 packages [2022-08-12T14:03:48.165Z] Removing intermediate container 714a6673e0c9 [2022-08-12T14:03:48.165Z] ---> d1a27508f5f0 [2022-08-12T14:03:48.165Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-12T14:03:48.165Z] ---> Running in 2902fdd1d63d [2022-08-12T14:03:48.777Z] Removing intermediate container 2902fdd1d63d [2022-08-12T14:03:48.777Z] ---> 7aaca1901afa [2022-08-12T14:03:48.777Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-12T14:03:49.054Z] ---> b8e70aaf8a7c [2022-08-12T14:03:49.054Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T14:03:49.330Z] ---> Running in 5f76d091050e [2022-08-12T14:04:45.888Z] Removing intermediate container 5f76d091050e [2022-08-12T14:04:45.888Z] ---> 4faeec3f472f [2022-08-12T14:04:45.888Z] Step 11/12 : COPY . . [2022-08-12T14:04:45.888Z] ---> 166be2424598 [2022-08-12T14:04:45.888Z] Step 12/12 : RUN $MAKE [2022-08-12T14:04:45.888Z] ---> Running in eb324f10e0c5 [2022-08-12T14:04:45.888Z] noop [2022-08-12T14:04:45.888Z] Removing intermediate container eb324f10e0c5 [2022-08-12T14:04:45.888Z] ---> 2ba9d23e7202 [2022-08-12T14:04:45.888Z] Successfully built 2ba9d23e7202 [2022-08-12T14:04:45.888Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:04:46.270Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T14:04:46.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:04:46.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-22617 does not seem to be running inside a container [2022-08-12T14:04:46.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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-arm64 cat [2022-08-12T14:04:47.965Z] $ docker top 1ca9e32ba8053efd1ccd9ba36335bcb1002e222bfa7a0b551b010a3525bbf259 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:04:48.881Z] + go version [2022-08-12T14:04:48.881Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T14:04:48.909Z] $ docker stop --time=1 1ca9e32ba8053efd1ccd9ba36335bcb1002e222bfa7a0b551b010a3525bbf259 [2022-08-12T14:04:50.566Z] $ docker rm -f 1ca9e32ba8053efd1ccd9ba36335bcb1002e222bfa7a0b551b010a3525bbf259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:04:51.162Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T14:04:51.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:04:51.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-22617 does not seem to be running inside a container [2022-08-12T14:04:51.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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-arm64 cat [2022-08-12T14:04:52.773Z] $ docker top e8ead38bc0c5bb26b112f23423afc8b86c026e9382afffe30bd297499d696504 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:04:53.710Z] + git config --global --add safe.directory /w/workspace/device-rest-go/55 [Pipeline] fileExists [Pipeline] sh [2022-08-12T14:04:54.391Z] + make test [2022-08-12T14:04:54.391Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T14:04:55.831Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-12T14:06:17.660Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-12T14:06:18.254Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 55.2% of statements [2022-08-12T14:06:18.850Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T14:06:18.850Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T14:06:41.058Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T14:06:41.059Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T14:06:41.059Z] ./bin/test-attribution-txt.sh [2022-08-12T14:06:41.059Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T14:06:41.059Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T14:06:41.059Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T14:06:41.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T14:06:41.097Z] $ docker stop --time=1 e8ead38bc0c5bb26b112f23423afc8b86c026e9382afffe30bd297499d696504 [2022-08-12T14:06:42.906Z] $ docker rm -f e8ead38bc0c5bb26b112f23423afc8b86c026e9382afffe30bd297499d696504 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T14:06:43.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T14:06:43.875Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T14:06:44.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T14:06:44.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T14:06:45.182Z] + ls -al . [2022-08-12T14:06:45.183Z] total 168 [2022-08-12T14:06:45.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 14:04 . [2022-08-12T14:06:45.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 14:02 .. [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 14:02 .dockerignore [2022-08-12T14:06:45.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 14:02 .git [2022-08-12T14:06:45.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 14:02 .github [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 14:02 .gitignore [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 14:02 .golangci.yml [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 14:02 Attribution.txt [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 14:02 CHANGELOG.md [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 14:02 Dockerfile [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 14:02 GOVERNANCE.md [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 14:02 Jenkinsfile [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 14:02 LICENSE [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 14:02 Makefile [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 14:02 OWNERS.md [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 14:02 README.md [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:59 VERSION [2022-08-12T14:06:45.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 14:02 bin [2022-08-12T14:06:45.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 14:02 cmd [2022-08-12T14:06:45.183Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 14:06 coverage.out [2022-08-12T14:06:45.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 14:02 driver [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 14:02 go.mod [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 14:02 go.sum [2022-08-12T14:06:45.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 14:02 snap [2022-08-12T14:06:45.183Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 14:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:06:45.592Z] + 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=7849af7816baf1c3cc1af121845620dcf422b00f --label arch=arm64 --label version=2.3.0-dev.11 . [2022-08-12T14:06:45.592Z] Sending build context to Docker daemon 136.2kB [2022-08-12T14:06:45.884Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T14:06:45.884Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T14:06:45.884Z] ---> 2ba9d23e7202 [2022-08-12T14:06:45.884Z] Step 3/25 : ARG MAKE='make build' [2022-08-12T14:06:46.167Z] ---> Running in ab4392c1bdbc [2022-08-12T14:06:46.438Z] Removing intermediate container ab4392c1bdbc [2022-08-12T14:06:46.439Z] ---> f326c73178f8 [2022-08-12T14:06:46.439Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T14:06:46.439Z] ---> Running in 37882d32fd6e [2022-08-12T14:06:47.040Z] Removing intermediate container 37882d32fd6e [2022-08-12T14:06:47.040Z] ---> f17a8f99fc75 [2022-08-12T14:06:47.040Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T14:06:47.040Z] ---> Running in 0b89aeec4bbd [2022-08-12T14:06:47.321Z] Removing intermediate container 0b89aeec4bbd [2022-08-12T14:06:47.321Z] ---> 0b961ef91f3d [2022-08-12T14:06:47.321Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T14:06:47.321Z] ---> Running in 50134dfafd39 [2022-08-12T14:06:48.767Z] Removing intermediate container 50134dfafd39 [2022-08-12T14:06:48.767Z] ---> 509e2e52caeb [2022-08-12T14:06:48.767Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T14:06:49.058Z] ---> Running in d58f6b477260 [2022-08-12T14:06:50.038Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T14:06:51.019Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T14:06:51.997Z] OK: 226 MiB in 55 packages [2022-08-12T14:06:52.595Z] Removing intermediate container d58f6b477260 [2022-08-12T14:06:52.595Z] ---> 956a925a105d [2022-08-12T14:06:52.595Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-12T14:06:52.872Z] ---> Running in d582dda732d8 [2022-08-12T14:06:53.145Z] Removing intermediate container d582dda732d8 [2022-08-12T14:06:53.145Z] ---> db7af18030fe [2022-08-12T14:06:53.145Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-12T14:06:53.738Z] ---> 4fef3108ca5c [2022-08-12T14:06:53.738Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T14:06:53.738Z] ---> Running in 0352a8390992 [2022-08-12T14:06:55.714Z] Removing intermediate container 0352a8390992 [2022-08-12T14:06:55.714Z] ---> 36a66e1852c9 [2022-08-12T14:06:55.714Z] Step 11/25 : COPY . . [2022-08-12T14:06:56.313Z] ---> 1d6f436d1405 [2022-08-12T14:06:56.313Z] Step 12/25 : RUN $MAKE [2022-08-12T14:06:56.313Z] ---> Running in 41baa95ec780 [2022-08-12T14:06:57.295Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-12T14:09:04.168Z] Removing intermediate container 41baa95ec780 [2022-08-12T14:09:04.168Z] ---> 2ae14eb356c0 [2022-08-12T14:09:04.168Z] Step 13/25 : FROM alpine:3.16 [2022-08-12T14:09:04.168Z] 3.16: Pulling from library/alpine [2022-08-12T14:09:04.168Z] 9b18e9b68314: Pulling fs layer [2022-08-12T14:09:04.168Z] 9b18e9b68314: Verifying Checksum [2022-08-12T14:09:04.168Z] 9b18e9b68314: Download complete [2022-08-12T14:09:04.168Z] 9b18e9b68314: Pull complete [2022-08-12T14:09:04.168Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T14:09:04.168Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T14:09:04.168Z] ---> a6215f271958 [2022-08-12T14:09:04.168Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T14:09:04.168Z] ---> Running in 781a721d5989 [2022-08-12T14:09:04.168Z] Removing intermediate container 781a721d5989 [2022-08-12T14:09:04.168Z] ---> 89e801f9a6ed [2022-08-12T14:09:04.168Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-12T14:09:04.168Z] ---> Running in 7ebe00c0f4a8 [2022-08-12T14:09:04.168Z] Removing intermediate container 7ebe00c0f4a8 [2022-08-12T14:09:04.168Z] ---> 96695ca72841 [2022-08-12T14:09:04.168Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T14:09:04.168Z] ---> Running in eb01ef6a9302 [2022-08-12T14:09:04.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T14:09:04.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T14:09:04.168Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T14:09:04.168Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T14:09:04.168Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T14:09:04.168Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T14:09:04.168Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T14:09:04.168Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T14:09:04.168Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T14:09:04.168Z] OK: 8 MiB in 20 packages [2022-08-12T14:09:04.168Z] Removing intermediate container eb01ef6a9302 [2022-08-12T14:09:04.168Z] ---> d59978fa2f52 [2022-08-12T14:09:04.168Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-12T14:09:04.765Z] ---> a7cd065bd4d9 [2022-08-12T14:09:04.765Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-12T14:09:05.363Z] ---> 0aacaee0d047 [2022-08-12T14:09:05.363Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-12T14:09:05.637Z] ---> 80f00508a363 [2022-08-12T14:09:05.637Z] Step 20/25 : EXPOSE 59986 [2022-08-12T14:09:05.915Z] ---> Running in 8ff9ce408178 [2022-08-12T14:09:06.186Z] Removing intermediate container 8ff9ce408178 [2022-08-12T14:09:06.186Z] ---> 91285980d6a0 [2022-08-12T14:09:06.186Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-12T14:09:06.186Z] ---> Running in 44d89ee5ab3a [2022-08-12T14:09:06.469Z] Removing intermediate container 44d89ee5ab3a [2022-08-12T14:09:06.469Z] ---> 5131de21ccea [2022-08-12T14:09:06.469Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-12T14:09:06.469Z] ---> Running in 4087b211c35a [2022-08-12T14:09:06.744Z] Removing intermediate container 4087b211c35a [2022-08-12T14:09:06.744Z] ---> ff438b55ae63 [2022-08-12T14:09:06.744Z] Step 23/25 : LABEL arch=arm64 [2022-08-12T14:09:07.016Z] ---> Running in c256e3af8a84 [2022-08-12T14:09:07.287Z] Removing intermediate container c256e3af8a84 [2022-08-12T14:09:07.287Z] ---> 65aaaf9ff041 [2022-08-12T14:09:07.287Z] Step 24/25 : LABEL git_sha=7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:09:07.287Z] ---> Running in e4eaf9133a2d [2022-08-12T14:09:07.576Z] Removing intermediate container e4eaf9133a2d [2022-08-12T14:09:07.576Z] ---> 12e4d3a15a61 [2022-08-12T14:09:07.576Z] Step 25/25 : LABEL version=2.3.0-dev.11 [2022-08-12T14:09:07.576Z] ---> Running in 0491ff034bdb [2022-08-12T14:09:08.171Z] Removing intermediate container 0491ff034bdb [2022-08-12T14:09:08.171Z] ---> 841b7f53b2fb [2022-08-12T14:09:08.171Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T14:09:08.171Z] Successfully built 841b7f53b2fb [2022-08-12T14:09:08.171Z] 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 [2022-08-12T14:09:08.323Z] provisioning config files... [2022-08-12T14:09:08.340Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config8816117749238463490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:09:10.141Z] ---> docker-login.sh [2022-08-12T14:09:10.142Z] nexus3.edgexfoundry.org:10001 [2022-08-12T14:09:10.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:09:10.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:09:10.142Z] Configure a credential helper to remove this warning. See [2022-08-12T14:09:10.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:09:10.142Z] [2022-08-12T14:09:10.142Z] Login Succeeded [2022-08-12T14:09:10.142Z] nexus3.edgexfoundry.org:10002 [2022-08-12T14:09:10.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:09:10.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:09:10.142Z] Configure a credential helper to remove this warning. See [2022-08-12T14:09:10.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:09:10.142Z] [2022-08-12T14:09:10.142Z] Login Succeeded [2022-08-12T14:09:10.142Z] nexus3.edgexfoundry.org:10003 [2022-08-12T14:09:10.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:09:10.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:09:10.142Z] Configure a credential helper to remove this warning. See [2022-08-12T14:09:10.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:09:10.142Z] [2022-08-12T14:09:10.142Z] Login Succeeded [2022-08-12T14:09:10.142Z] nexus3.edgexfoundry.org:10004 [2022-08-12T14:09:10.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:09:10.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:09:10.414Z] Configure a credential helper to remove this warning. See [2022-08-12T14:09:10.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:09:10.414Z] [2022-08-12T14:09:10.414Z] Login Succeeded [2022-08-12T14:09:10.414Z] docker.io [2022-08-12T14:09:10.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:09:11.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:09:11.279Z] Configure a credential helper to remove this warning. See [2022-08-12T14:09:11.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:09:11.279Z] [2022-08-12T14:09:11.279Z] Login Succeeded [2022-08-12T14:09:11.279Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T14:09:11.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T14:09:11.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T14:09:11.352Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-08-12T14:09:11.352Z] 7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:09:11.352Z] latest [2022-08-12T14:09:11.352Z] 2.3.0-dev.11 [2022-08-12T14:09:11.352Z] 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [2022-08-12T14:09:11.352Z] main [2022-08-12T14:09:11.352Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:11.705Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:12.073Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:09:12.073Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-12T14:09:12.073Z] 0c14e5a82dbe: Preparing [2022-08-12T14:09:12.073Z] bee9889fc0c6: Preparing [2022-08-12T14:09:12.073Z] 64e47d128f82: Preparing [2022-08-12T14:09:12.073Z] cbb1ec76bba3: Preparing [2022-08-12T14:09:12.073Z] 5d3e392a13a0: Preparing [2022-08-12T14:09:12.347Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:09:12.347Z] 0c14e5a82dbe: Pushed [2022-08-12T14:09:12.347Z] bee9889fc0c6: Pushed [2022-08-12T14:09:12.943Z] cbb1ec76bba3: Pushed [2022-08-12T14:09:18.330Z] 64e47d128f82: Pushed [2022-08-12T14:09:18.330Z] 7849af7816baf1c3cc1af121845620dcf422b00f: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:18.709Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:19.071Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-08-12T14:09:19.071Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-12T14:09:19.071Z] 0c14e5a82dbe: Preparing [2022-08-12T14:09:19.071Z] bee9889fc0c6: Preparing [2022-08-12T14:09:19.071Z] 64e47d128f82: Preparing [2022-08-12T14:09:19.071Z] cbb1ec76bba3: Preparing [2022-08-12T14:09:19.071Z] 5d3e392a13a0: Preparing [2022-08-12T14:09:19.071Z] 0c14e5a82dbe: Layer already exists [2022-08-12T14:09:19.071Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:09:19.071Z] cbb1ec76bba3: Layer already exists [2022-08-12T14:09:19.071Z] bee9889fc0c6: Layer already exists [2022-08-12T14:09:19.071Z] 64e47d128f82: Layer already exists [2022-08-12T14:09:19.342Z] latest: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:19.742Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:20.116Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.11 [2022-08-12T14:09:20.116Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-12T14:09:20.116Z] 0c14e5a82dbe: Preparing [2022-08-12T14:09:20.116Z] bee9889fc0c6: Preparing [2022-08-12T14:09:20.116Z] 64e47d128f82: Preparing [2022-08-12T14:09:20.116Z] cbb1ec76bba3: Preparing [2022-08-12T14:09:20.116Z] 5d3e392a13a0: Preparing [2022-08-12T14:09:20.116Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:09:20.116Z] cbb1ec76bba3: Layer already exists [2022-08-12T14:09:20.116Z] 64e47d128f82: Layer already exists [2022-08-12T14:09:20.116Z] 0c14e5a82dbe: Layer already exists [2022-08-12T14:09:20.116Z] bee9889fc0c6: Layer already exists [2022-08-12T14:09:20.396Z] 2.3.0-dev.11: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:20.781Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:21.153Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [2022-08-12T14:09:21.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-12T14:09:21.153Z] 0c14e5a82dbe: Preparing [2022-08-12T14:09:21.153Z] bee9889fc0c6: Preparing [2022-08-12T14:09:21.153Z] 64e47d128f82: Preparing [2022-08-12T14:09:21.153Z] cbb1ec76bba3: Preparing [2022-08-12T14:09:21.153Z] 5d3e392a13a0: Preparing [2022-08-12T14:09:21.153Z] cbb1ec76bba3: Layer already exists [2022-08-12T14:09:21.153Z] 0c14e5a82dbe: Layer already exists [2022-08-12T14:09:21.153Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:09:21.153Z] bee9889fc0c6: Layer already exists [2022-08-12T14:09:21.153Z] 64e47d128f82: Layer already exists [2022-08-12T14:09:21.425Z] 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:21.791Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:22.158Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-08-12T14:09:22.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-12T14:09:22.158Z] 0c14e5a82dbe: Preparing [2022-08-12T14:09:22.158Z] bee9889fc0c6: Preparing [2022-08-12T14:09:22.158Z] 64e47d128f82: Preparing [2022-08-12T14:09:22.158Z] cbb1ec76bba3: Preparing [2022-08-12T14:09:22.158Z] 5d3e392a13a0: Preparing [2022-08-12T14:09:22.158Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:09:22.158Z] 0c14e5a82dbe: Layer already exists [2022-08-12T14:09:22.158Z] cbb1ec76bba3: Layer already exists [2022-08-12T14:09:22.158Z] 64e47d128f82: Layer already exists [2022-08-12T14:09:22.158Z] bee9889fc0c6: Layer already exists [2022-08-12T14:09:22.429Z] main: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T14:09:22.489Z] ===================================================== [Pipeline] echo [2022-08-12T14:09:22.498Z] taggedImages: [2022-08-12T14:09:22.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f [2022-08-12T14:09:22.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-08-12T14:09:22.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.11 [2022-08-12T14:09:22.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [2022-08-12T14:09:22.498Z] - 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 [2022-08-12T14:09:22.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T14:09:22.883Z] [2022-08-12T14:09:22.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:23.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T14:09:23.501Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T14:09:23.501Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T14:09:23.501Z] 04944245beec: Pulling fs layer [2022-08-12T14:09:23.501Z] 699f458cf7ca: Pulling fs layer [2022-08-12T14:09:23.501Z] 765212b225bb: Pulling fs layer [2022-08-12T14:09:23.501Z] f23df028b6ca: Pulling fs layer [2022-08-12T14:09:23.501Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T14:09:23.501Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T14:09:23.501Z] 765212b225bb: Waiting [2022-08-12T14:09:23.501Z] f23df028b6ca: Waiting [2022-08-12T14:09:23.501Z] d65c8cfc05b1: Waiting [2022-08-12T14:09:23.501Z] 2437ff75d9bd: Waiting [2022-08-12T14:09:23.501Z] 04944245beec: Verifying Checksum [2022-08-12T14:09:23.501Z] 04944245beec: Download complete [2022-08-12T14:09:23.501Z] 765212b225bb: Download complete [2022-08-12T14:09:23.501Z] f23df028b6ca: Verifying Checksum [2022-08-12T14:09:23.501Z] f23df028b6ca: Download complete [2022-08-12T14:09:23.501Z] d65c8cfc05b1: Verifying Checksum [2022-08-12T14:09:23.501Z] d65c8cfc05b1: Download complete [2022-08-12T14:09:23.776Z] 699f458cf7ca: Verifying Checksum [2022-08-12T14:09:23.776Z] 699f458cf7ca: Download complete [2022-08-12T14:09:24.049Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T14:09:24.049Z] 8998bd30e6a1: Download complete [2022-08-12T14:09:26.043Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T14:09:28.656Z] 8998bd30e6a1: Pull complete [2022-08-12T14:09:28.656Z] 04944245beec: Pull complete [2022-08-12T14:09:30.086Z] 699f458cf7ca: Pull complete [2022-08-12T14:09:30.357Z] 765212b225bb: Pull complete [2022-08-12T14:09:31.330Z] f23df028b6ca: Pull complete [2022-08-12T14:09:31.330Z] d65c8cfc05b1: Pull complete [2022-08-12T14:09:46.440Z] 2437ff75d9bd: Pull complete [2022-08-12T14:09:46.440Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T14:09:46.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T14:09:46.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:09:46.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-22617 does not seem to be running inside a container [2022-08-12T14:09:46.781Z] $ 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/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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:arm64 cat [2022-08-12T14:09:49.422Z] $ docker top 13691ae65272e4099d5ad2a6acf08a3a1182f39de8301e5f97c55376ea3cc413 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:09:50.338Z] ---> job-cost.sh [2022-08-12T14:09:50.338Z] lf-activate-venv: SKIPPING [2022-08-12T14:09:50.338Z] INFO: No Stack... [2022-08-12T14:09:50.610Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T14:09:51.583Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T14:09:52.242Z] + cat /w/workspace/device-rest-go/55/archives/cost.csv [2022-08-12T14:09:52.242Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T14:09:52.273Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [2022-08-12T14:09:52.279Z] Resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] did not exist. Created. [2022-08-12T14:09:52.279Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T14:09:52.964Z] /w/workspace/device-rest-go/55@tmp/durable-0694ea64/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T14:09:53.630Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T14:09:53.658Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T14:09:53.700Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T14:09:53.706Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T14:09:53.724Z] $ docker stop --time=1 13691ae65272e4099d5ad2a6acf08a3a1182f39de8301e5f97c55376ea3cc413 [2022-08-12T14:09:55.209Z] $ docker rm -f 13691ae65272e4099d5ad2a6acf08a3a1182f39de8301e5f97c55376ea3cc413 [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 [2022-08-12T14:09:55.636Z] provisioning config files... [2022-08-12T14:09:55.644Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4301481375932634160tmp [Pipeline] { [Pipeline] sh [2022-08-12T14:09:55.937Z] + set +x [2022-08-12T14:09:55.938Z] + curl -s https://codecov.io/bash [2022-08-12T14:09:55.938Z] + bash -s -- [2022-08-12T14:09:55.938Z] [2022-08-12T14:09:55.938Z] _____ _ [2022-08-12T14:09:55.938Z] / ____| | | [2022-08-12T14:09:55.938Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T14:09:55.938Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T14:09:55.938Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T14:09:55.938Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T14:09:55.938Z] Bash-1.0.6 [2022-08-12T14:09:55.938Z] [2022-08-12T14:09:55.938Z] [2022-08-12T14:09:55.938Z] ==> git version 2.25.1 found [2022-08-12T14:09:55.938Z] ==> 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 [2022-08-12T14:09:55.938Z] Release-Date: 2020-01-08 [2022-08-12T14:09:55.938Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-12T14:09:55.938Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T14:09:55.938Z] ==> Jenkins CI detected. [2022-08-12T14:09:55.938Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-08-12T14:09:55.938Z] project root: . [2022-08-12T14:09:55.938Z] --> token set from env [2022-08-12T14:09:55.938Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T14:09:55.938Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T14:09:55.938Z] ==> Python coveragepy not found [2022-08-12T14:09:55.938Z] ==> Searching for coverage reports in: [2022-08-12T14:09:55.938Z] + . [2022-08-12T14:09:55.938Z] -> Found 1 reports [2022-08-12T14:09:55.938Z] ==> Detecting git/mercurial file structure [2022-08-12T14:09:55.938Z] ==> Reading reports [2022-08-12T14:09:55.938Z] + ./coverage.out bytes=9355 [2022-08-12T14:09:55.938Z] ==> Appending adjustments [2022-08-12T14:09:55.938Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T14:09:55.938Z] + Found adjustments [2022-08-12T14:09:56.198Z] ==> Gzipping contents [2022-08-12T14:09:56.198Z] 4.0K /tmp/codecov.8y58by.gz [2022-08-12T14:09:56.198Z] ==> Uploading reports [2022-08-12T14:09:56.198Z] url: https://codecov.io [2022-08-12T14:09:56.198Z] query: branch=main&commit=7849af7816baf1c3cc1af121845620dcf422b00f&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-12T14:09:56.198Z] -> Pinging Codecov [2022-08-12T14:09:56.198Z] 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=7849af7816baf1c3cc1af121845620dcf422b00f&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-12T14:09:56.198Z] -> Uploading to [2022-08-12T14:09:56.198Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/4E5D53B4F1F92C436F7061BF334D961C/7849af7816baf1c3cc1af121845620dcf422b00f/6cecfb87-65de-4f96-8fdc-37d5c303348e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T140956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0bb47fbcfebff6acd1544a2bf084d4ccbe88aebc2adc2c3c5c37c1f760381f15 [2022-08-12T14:09:56.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T14:09:56.459Z] Dload Upload Total Spent Left Speed [2022-08-12T14:09:56.459Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7868 --:--:-- --:--:-- --:--:-- 7833 100 1739 0 0 100 1739 0 7012 --:--:-- --:--:-- --:--:-- 6983 [2022-08-12T14:09:56.459Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] } [2022-08-12T14:09:56.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-12T14:09:56.580Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-12T14:09:56.588Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:56.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-12T14:09:56.896Z] [2022-08-12T14:09:56.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:09:57.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-12T14:09:57.202Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-12T14:09:57.202Z] df9b9388f04a: Pulling fs layer [2022-08-12T14:09:57.202Z] 52dc419b0ee2: Pulling fs layer [2022-08-12T14:09:57.202Z] 25bc292e5bac: Pulling fs layer [2022-08-12T14:09:57.202Z] 114826534d7a: Pulling fs layer [2022-08-12T14:09:57.203Z] 4657fd5d0bcf: Pulling fs layer [2022-08-12T14:09:57.203Z] 6ad1cebc031e: Pulling fs layer [2022-08-12T14:09:57.203Z] 8a3aa393b2d8: Pulling fs layer [2022-08-12T14:09:57.203Z] 114826534d7a: Waiting [2022-08-12T14:09:57.203Z] 6ad1cebc031e: Waiting [2022-08-12T14:09:57.203Z] 8a3aa393b2d8: Waiting [2022-08-12T14:09:57.203Z] 4657fd5d0bcf: Waiting [2022-08-12T14:09:57.203Z] 25bc292e5bac: Download complete [2022-08-12T14:09:57.203Z] 52dc419b0ee2: Verifying Checksum [2022-08-12T14:09:57.203Z] 52dc419b0ee2: Download complete [2022-08-12T14:09:57.203Z] 4657fd5d0bcf: Verifying Checksum [2022-08-12T14:09:57.203Z] 4657fd5d0bcf: Download complete [2022-08-12T14:09:57.203Z] df9b9388f04a: Download complete [2022-08-12T14:09:57.468Z] 6ad1cebc031e: Verifying Checksum [2022-08-12T14:09:57.468Z] 6ad1cebc031e: Download complete [2022-08-12T14:09:57.468Z] df9b9388f04a: Pull complete [2022-08-12T14:09:57.468Z] 52dc419b0ee2: Pull complete [2022-08-12T14:09:57.741Z] 25bc292e5bac: Pull complete [2022-08-12T14:09:58.005Z] 114826534d7a: Verifying Checksum [2022-08-12T14:09:58.005Z] 114826534d7a: Download complete [2022-08-12T14:09:58.005Z] 8a3aa393b2d8: Verifying Checksum [2022-08-12T14:09:58.005Z] 8a3aa393b2d8: Download complete [2022-08-12T14:10:02.203Z] 114826534d7a: Pull complete [2022-08-12T14:10:02.203Z] 4657fd5d0bcf: Pull complete [2022-08-12T14:10:02.464Z] 6ad1cebc031e: Pull complete [2022-08-12T14:10:05.760Z] 8a3aa393b2d8: Pull complete [2022-08-12T14:10:05.760Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-12T14:10:05.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-12T14:10:05.760Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:10:05.856Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:10:05.895Z] $ 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 [2022-08-12T14:10:09.746Z] $ docker top 13397be21a9125866b2f741121a6a7cbb3a2d6628d17e54c63b881336de18deb -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-12T14:10:09.825Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-08-12T14:10:10.106Z] + set -o pipefail [2022-08-12T14:10:10.107Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-08-12T14:10:15.390Z] [2022-08-12T14:10:15.390Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-08-12T14:10:15.390Z] [2022-08-12T14:10:15.390Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/9111df24-22d0-4448-af1a-bbff51656509 [2022-08-12T14:10:15.390Z] [2022-08-12T14:10:15.390Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-12T14:10:15.390Z] [2022-08-12T14:10:15.390Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-12T14:10:15.390Z] [2022-08-12T14:10:15.390Z] [Pipeline] } [2022-08-12T14:10:15.405Z] $ docker stop --time=1 13397be21a9125866b2f741121a6a7cbb3a2d6628d17e54c63b881336de18deb [2022-08-12T14:10:18.339Z] $ docker rm -f 13397be21a9125866b2f741121a6a7cbb3a2d6628d17e54c63b881336de18deb [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 [2022-08-12T14:10:19.173Z] + git log --format=format:%s -1 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] sh [2022-08-12T14:10:19.477Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T14:10:19.477Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:10:19.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T14:10:19.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:10:19.864Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:10:19.903Z] $ 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 [2022-08-12T14:10:20.316Z] $ docker top 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T14:10:20.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T14:10:20.422Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T14:10:20.557Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T14:10:20.561Z] $ docker exec 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 ssh-agent [2022-08-12T14:10:20.682Z] SSH_AUTH_SOCK=/tmp/ssh-6Enq4KaYFsL1/agent.33 [2022-08-12T14:10:20.682Z] SSH_AGENT_PID=39 [2022-08-12T14:10:20.688Z] Running ssh-add (command line suppressed) [2022-08-12T14:10:20.812Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7478036580045945921.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7478036580045945921.key) [2022-08-12T14:10:20.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T14:10:21.116Z] + git semver tag [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,319 [run_tag] DEBUG tag force:False [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,320 [check_head_tag] DEBUG check head tag [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,320 [execute] INFO git cat-file --batch-check [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,325 [execute] INFO git cat-file --batch [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,337 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,337 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-12T14:10:21.377Z] 2022-08-12 14:10:21,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T14:10:21.377Z] 2.3.0-dev.11 [Pipeline] } [2022-08-12T14:10:21.389Z] $ docker exec --env ******** --env ******** 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 ssh-agent -k [2022-08-12T14:10:21.511Z] unset SSH_AUTH_SOCK; [2022-08-12T14:10:21.511Z] unset SSH_AGENT_PID; [2022-08-12T14:10:21.511Z] echo Agent pid 39 killed; [2022-08-12T14:10:21.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T14:10:21.837Z] + git semver [Pipeline] } [2022-08-12T14:10:22.115Z] $ docker stop --time=1 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 [2022-08-12T14:10:23.387Z] $ docker rm -f 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:10:23.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-12T14:10:23.813Z] [2022-08-12T14:10:23.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:10:24.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-12T14:10:24.116Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-12T14:10:24.116Z] ab5ef0e58194: Pulling fs layer [2022-08-12T14:10:24.116Z] 9712f1f96733: Pulling fs layer [2022-08-12T14:10:24.116Z] 63f879dbbcfc: Pulling fs layer [2022-08-12T14:10:24.116Z] 0d9ebad4ef96: Pulling fs layer [2022-08-12T14:10:24.116Z] e9a5061849ea: Pulling fs layer [2022-08-12T14:10:24.116Z] d747dcd14b5f: Pulling fs layer [2022-08-12T14:10:24.116Z] 2de7ff778b66: Pulling fs layer [2022-08-12T14:10:24.116Z] 0d9ebad4ef96: Waiting [2022-08-12T14:10:24.116Z] e9a5061849ea: Waiting [2022-08-12T14:10:24.116Z] d747dcd14b5f: Waiting [2022-08-12T14:10:24.116Z] 2de7ff778b66: Waiting [2022-08-12T14:10:24.116Z] 9712f1f96733: Verifying Checksum [2022-08-12T14:10:24.116Z] 9712f1f96733: Download complete [2022-08-12T14:10:24.375Z] 63f879dbbcfc: Verifying Checksum [2022-08-12T14:10:24.375Z] 63f879dbbcfc: Download complete [2022-08-12T14:10:24.635Z] ab5ef0e58194: Verifying Checksum [2022-08-12T14:10:24.635Z] ab5ef0e58194: Download complete [2022-08-12T14:10:24.635Z] d747dcd14b5f: Download complete [2022-08-12T14:10:24.635Z] 0d9ebad4ef96: Verifying Checksum [2022-08-12T14:10:24.635Z] 0d9ebad4ef96: Download complete [2022-08-12T14:10:24.635Z] e9a5061849ea: Verifying Checksum [2022-08-12T14:10:24.635Z] e9a5061849ea: Download complete [2022-08-12T14:10:24.896Z] 2de7ff778b66: Verifying Checksum [2022-08-12T14:10:24.896Z] 2de7ff778b66: Download complete [2022-08-12T14:10:28.200Z] ab5ef0e58194: Pull complete [2022-08-12T14:10:28.200Z] 9712f1f96733: Pull complete [2022-08-12T14:10:28.776Z] 63f879dbbcfc: Pull complete [2022-08-12T14:10:32.978Z] 0d9ebad4ef96: Pull complete [2022-08-12T14:10:33.241Z] e9a5061849ea: Pull complete [2022-08-12T14:10:33.508Z] d747dcd14b5f: Pull complete [2022-08-12T14:10:34.451Z] 2de7ff778b66: Pull complete [2022-08-12T14:10:34.451Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-12T14:10:34.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-12T14:10:34.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:10:34.541Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:10:34.580Z] $ 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 [2022-08-12T14:10:40.859Z] $ docker top 126b54e84711b182103c9bb4a5cbbc5a4e44087cee63f21756931836b9a546bd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-12T14:10:40.949Z] provisioning config files... [2022-08-12T14:10:40.958Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1322592961119241139tmp [2022-08-12T14:10:40.970Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1031428675357453445tmp [2022-08-12T14:10:40.981Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5895587647799573825tmp [Pipeline] { [Pipeline] echo [2022-08-12T14:10:40.998Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:10:41.283Z] ---> sigul-configuration.sh [2022-08-12T14:10:41.284Z] gpg: directory `/root/.gnupg' created [2022-08-12T14:10:41.284Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-12T14:10:41.284Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-12T14:10:41.284Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-12T14:10:41.284Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-12T14:10:41.284Z] gpg: CAST5 encrypted data [2022-08-12T14:10:41.284Z] gpg: encrypted with 1 passphrase [2022-08-12T14:10:41.284Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-12T14:10:41.571Z] + mkdir /home/jenkins [2022-08-12T14:10:41.571Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-12T14:10:41.867Z] + 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 [2022-08-12T14:10:41.876Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:10:42.168Z] ---> sigul-install.sh [2022-08-12T14:10:42.168Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-12T14:10:42.467Z] + git tag --list [2022-08-12T14:10:42.467Z] v1.0.0 [2022-08-12T14:10:42.467Z] v1.1.0 [2022-08-12T14:10:42.467Z] v1.1.1 [2022-08-12T14:10:42.467Z] v1.1.2 [2022-08-12T14:10:42.467Z] v1.2.0 [2022-08-12T14:10:42.467Z] v1.2.1 [2022-08-12T14:10:42.467Z] v2.0.0 [2022-08-12T14:10:42.467Z] v2.1.0 [2022-08-12T14:10:42.467Z] v2.1.1 [2022-08-12T14:10:42.467Z] v2.1.1-dev.1 [2022-08-12T14:10:42.467Z] v2.1.1-dev.2 [2022-08-12T14:10:42.467Z] v2.1.1-dev.3 [2022-08-12T14:10:42.467Z] v2.2.0 [2022-08-12T14:10:42.467Z] v2.2.1-dev.1 [2022-08-12T14:10:42.467Z] v2.2.1-dev.2 [2022-08-12T14:10:42.467Z] v2.2.1-dev.3 [2022-08-12T14:10:42.467Z] v2.2.1-dev.4 [2022-08-12T14:10:42.467Z] v2.2.1-dev.5 [2022-08-12T14:10:42.467Z] v2.2.1-dev.6 [2022-08-12T14:10:42.467Z] v2.2.1-dev.7 [2022-08-12T14:10:42.467Z] v2.2.1-dev.8 [2022-08-12T14:10:42.467Z] v2.2.1-dev.9 [2022-08-12T14:10:42.467Z] v2.3.0-dev.10 [2022-08-12T14:10:42.467Z] v2.3.0-dev.11 [2022-08-12T14:10:42.467Z] v2.3.0-dev.9 [Pipeline] sh [2022-08-12T14:10:42.762Z] + lftools sign git-tag v2.3.0-dev.11 [2022-08-12T14:10:43.338Z] Signing Git tag with Sigul... [2022-08-12T14:10:43.338Z] Signing v2.3.0-dev.11 [Pipeline] echo [2022-08-12T14:10:43.928Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:10:44.217Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-12T14:10:44.224Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-12T14:10:44.249Z] $ docker stop --time=1 126b54e84711b182103c9bb4a5cbbc5a4e44087cee63f21756931836b9a546bd [2022-08-12T14:10:45.556Z] $ docker rm -f 126b54e84711b182103c9bb4a5cbbc5a4e44087cee63f21756931836b9a546bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-12T14:10:45.991Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T14:10:45.991Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:10:46.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T14:10:46.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:10:46.383Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:10:46.423Z] $ 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 [2022-08-12T14:10:46.857Z] $ docker top e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T14:10:46.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T14:10:46.952Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T14:10:47.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T14:10:47.081Z] $ docker exec e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db ssh-agent [2022-08-12T14:10:47.213Z] SSH_AUTH_SOCK=/tmp/ssh-UywgpMRlPwVC/agent.33 [2022-08-12T14:10:47.213Z] SSH_AGENT_PID=39 [2022-08-12T14:10:47.219Z] Running ssh-add (command line suppressed) [2022-08-12T14:10:47.330Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5541805451174157850.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5541805451174157850.key) [2022-08-12T14:10:47.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T14:10:47.636Z] + git semver bump pre [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,847 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,847 [bump_version] DEBUG bumped version:2.3.0-dev.12 [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,847 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,847 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,849 [execute] INFO git cat-file --batch-check [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,855 [execute] INFO git cat-file --batch [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T14:10:47.898Z] 2022-08-12 14:10:47,859 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T14:10:47.898Z] 2.3.0-dev.12 [Pipeline] } [2022-08-12T14:10:47.909Z] $ docker exec --env ******** --env ******** e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db ssh-agent -k [2022-08-12T14:10:48.024Z] unset SSH_AUTH_SOCK; [2022-08-12T14:10:48.024Z] unset SSH_AGENT_PID; [2022-08-12T14:10:48.024Z] echo Agent pid 39 killed; [2022-08-12T14:10:48.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T14:10:48.334Z] + git semver [Pipeline] } [2022-08-12T14:10:48.613Z] $ docker stop --time=1 e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db [2022-08-12T14:10:49.936Z] $ docker rm -f e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T14:10:50.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T14:10:50.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:10:50.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T14:10:50.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:10:50.681Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:10:50.755Z] $ 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 [2022-08-12T14:10:51.183Z] $ docker top 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T14:10:51.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T14:10:51.270Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T14:10:51.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T14:10:51.410Z] $ docker exec 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d ssh-agent [2022-08-12T14:10:51.532Z] SSH_AUTH_SOCK=/tmp/ssh-RzWfPCqtCG9H/agent.32 [2022-08-12T14:10:51.532Z] SSH_AGENT_PID=38 [2022-08-12T14:10:51.537Z] Running ssh-add (command line suppressed) [2022-08-12T14:10:51.649Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5339663327008590736.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5339663327008590736.key) [2022-08-12T14:10:51.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T14:10:51.950Z] + git semver push [2022-08-12T14:10:52.212Z] 2022-08-12 14:10:52,134 [run_push] DEBUG push [2022-08-12T14:10:52.212Z] 2022-08-12 14:10:52,134 [execute] INFO git cat-file --batch-check [2022-08-12T14:10:52.212Z] 2022-08-12 14:10:52,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T14:10:52.212Z] 2022-08-12 14:10:52,138 [execute] INFO git rev-list a9691a210b27a705ade30cd6bc8a4a9a7d34e9a1 -- [2022-08-12T14:10:52.212Z] 2022-08-12 14:10:52,138 [execute] DEBUG Popen(['git', 'rev-list', 'a9691a210b27a705ade30cd6bc8a4a9a7d34e9a1', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-12T14:10:52.212Z] 2022-08-12 14:10:52,145 [execute] INFO git fetch -v origin [2022-08-12T14:10:52.212Z] 2022-08-12 14:10:52,146 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-12T14:10:52.785Z] 2022-08-12 14:10:52,635 [run_push] DEBUG no remote changes detected [2022-08-12T14:10:52.785Z] 2022-08-12 14:10:52,635 [execute] INFO git push origin semver [2022-08-12T14:10:52.785Z] 2022-08-12 14:10:52,635 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-12T14:10:53.726Z] 2022-08-12 14:10:53,373 [run_push] DEBUG push all version tags [2022-08-12T14:10:53.726Z] 2022-08-12 14:10:53,373 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-12T14:10:53.726Z] 2022-08-12 14:10:53,374 [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) [2022-08-12T14:10:54.294Z] 2022-08-12 14:10:54,103 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-12T14:10:54.294Z] 2.3.0-dev.12 [Pipeline] } [2022-08-12T14:10:54.310Z] $ docker exec --env ******** --env ******** 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d ssh-agent -k [2022-08-12T14:10:54.421Z] unset SSH_AUTH_SOCK; [2022-08-12T14:10:54.422Z] unset SSH_AGENT_PID; [2022-08-12T14:10:54.422Z] echo Agent pid 38 killed; [2022-08-12T14:10:54.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T14:10:54.740Z] + git semver [Pipeline] } [2022-08-12T14:10:55.012Z] $ docker stop --time=1 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d [2022-08-12T14:10:56.299Z] $ docker rm -f 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d [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 [2022-08-12T14:10:56.858Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-08-12T14:10:56.858Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-12T14:10:56.858Z] total 16 [2022-08-12T14:10:56.858Z] drwxr-xr-x 3 root root 4096 Aug 12 14:01 . [2022-08-12T14:10:56.858Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 14:10 .. [2022-08-12T14:10:56.858Z] drwxr-xr-x 2 root root 4096 Aug 12 14:01 cost [2022-08-12T14:10:56.858Z] -rw-r--r-- 1 root root 85 Aug 12 14:01 cost.csv [2022-08-12T14:10:56.858Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-12T14:10:56.858Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-12T14:10:56.858Z] total 16 [2022-08-12T14:10:56.858Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 14:01 . [2022-08-12T14:10:56.858Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 14:10 .. [2022-08-12T14:10:56.858Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 14:01 cost [2022-08-12T14:10:56.858Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 12 14:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:10:57.154Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:10:58.017Z] ---> package-listing.sh [2022-08-12T14:10:58.017Z] ++ facter osfamily [2022-08-12T14:10:58.017Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T14:10:58.276Z] + OS_FAMILY=debian [2022-08-12T14:10:58.276Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-08-12T14:10:58.276Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T14:10:58.276Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T14:10:58.276Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T14:10:58.276Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T14:10:58.276Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-08-12T14:10:58.276Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T14:10:58.276Z] + case "${OS_FAMILY}" in [2022-08-12T14:10:58.276Z] + dpkg -l [2022-08-12T14:10:58.276Z] + grep '^ii' [2022-08-12T14:10:58.276Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T14:10:58.276Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T14:10:58.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T14:10:58.276Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-08-12T14:10:58.276Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-08-12T14:10:58.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-08-12T14:10:58.287Z] 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 [2022-08-12T14:10:58.565Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:10:59.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T14:10:59.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:10:59.218Z] prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container [2022-08-12T14:10:59.256Z] $ 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 [2022-08-12T14:10:59.486Z] $ docker top 3258ca48b0c89841c3fefd5027a812271d0fd88f82878895cf1885c19301a9ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:10:59.842Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T14:11:00.132Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T14:11:00.425Z] + ls /var/log/sa-host [2022-08-12T14:11:00.425Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T14:11:00.501Z] provisioning config files... [2022-08-12T14:11:00.509Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6303962517720383821tmp [Pipeline] { [Pipeline] echo [2022-08-12T14:11:00.530Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:11:00.812Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T14:11:00.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:11:01.150Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T14:11:01.160Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:11:01.443Z] ---> sudo-logs.sh [2022-08-12T14:11:01.443Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T14:11:01.477Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:11:01.762Z] ---> job-cost.sh [2022-08-12T14:11:01.762Z] lf-activate-venv: SKIPPING [2022-08-12T14:11:01.762Z] DEBUG: total: 0.2199999988079071 [2022-08-12T14:11:01.762Z] INFO: Retrieving Stack Cost... [2022-08-12T14:11:02.333Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T14:11:02.904Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T14:11:02.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:11:03.204Z] ---> logs-deploy.sh [2022-08-12T14:11:03.204Z] lf-activate-venv: SKIPPING [2022-08-12T14:11:03.204Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/55 [2022-08-12T14:11:03.204Z] INFO: archiving workspace using pattern(s): [2022-08-12T14:11:04.147Z] Archives upload complete. [2022-08-12T14:11:04.407Z] INFO: archiving logs to Nexus [2022-08-12T14:11:04.979Z] ---> uname -a: [2022-08-12T14:11:04.979Z] Linux prd-ubuntu20-04-docker-8c-8g-22616 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] ---> lscpu: [2022-08-12T14:11:04.979Z] Architecture: x86_64 [2022-08-12T14:11:04.979Z] CPU op-mode(s): 32-bit, 64-bit [2022-08-12T14:11:04.979Z] Byte Order: Little Endian [2022-08-12T14:11:04.979Z] Address sizes: 40 bits physical, 48 bits virtual [2022-08-12T14:11:04.979Z] CPU(s): 8 [2022-08-12T14:11:04.979Z] On-line CPU(s) list: 0-7 [2022-08-12T14:11:04.979Z] Thread(s) per core: 1 [2022-08-12T14:11:04.979Z] Core(s) per socket: 1 [2022-08-12T14:11:04.979Z] Socket(s): 8 [2022-08-12T14:11:04.979Z] NUMA node(s): 1 [2022-08-12T14:11:04.979Z] Vendor ID: AuthenticAMD [2022-08-12T14:11:04.979Z] CPU family: 23 [2022-08-12T14:11:04.979Z] Model: 49 [2022-08-12T14:11:04.979Z] Model name: AMD EPYC-Rome Processor [2022-08-12T14:11:04.979Z] Stepping: 0 [2022-08-12T14:11:04.979Z] CPU MHz: 2799.994 [2022-08-12T14:11:04.979Z] BogoMIPS: 5599.98 [2022-08-12T14:11:04.979Z] Virtualization: AMD-V [2022-08-12T14:11:04.979Z] Hypervisor vendor: KVM [2022-08-12T14:11:04.979Z] Virtualization type: full [2022-08-12T14:11:04.979Z] L1d cache: 256 KiB [2022-08-12T14:11:04.979Z] L1i cache: 256 KiB [2022-08-12T14:11:04.979Z] L2 cache: 4 MiB [2022-08-12T14:11:04.979Z] L3 cache: 128 MiB [2022-08-12T14:11:04.979Z] NUMA node0 CPU(s): 0-7 [2022-08-12T14:11:04.979Z] Vulnerability Itlb multihit: Not affected [2022-08-12T14:11:04.979Z] Vulnerability L1tf: Not affected [2022-08-12T14:11:04.979Z] Vulnerability Mds: Not affected [2022-08-12T14:11:04.979Z] Vulnerability Meltdown: Not affected [2022-08-12T14:11:04.979Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-08-12T14:11:04.979Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-08-12T14:11:04.979Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-08-12T14:11:04.979Z] Vulnerability Srbds: Not affected [2022-08-12T14:11:04.979Z] Vulnerability Tsx async abort: Not affected [2022-08-12T14:11:04.979Z] 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 [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] ---> nproc: [2022-08-12T14:11:04.979Z] 8 [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] ---> df -h: [2022-08-12T14:11:04.979Z] Filesystem Size Used Avail Use% Mounted on [2022-08-12T14:11:04.979Z] overlay 155G 13G 143G 8% / [2022-08-12T14:11:04.979Z] tmpfs 64M 0 64M 0% /dev [2022-08-12T14:11:04.979Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-08-12T14:11:04.979Z] shm 64M 0 64M 0% /dev/shm [2022-08-12T14:11:04.979Z] /dev/vda1 155G 13G 143G 8% /facter-os [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] ---> sar -b -r -n DEV: [2022-08-12T14:11:04.979Z] Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22616) 08/12/22 _x86_64_ (8 CPU) [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] 13:58:30 LINUX RESTART (8 CPU) [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] 13:59:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2022-08-12T14:11:04.979Z] 14:00:01 430.66 16.35 414.30 0.00 2233.52 142187.29 0.00 [2022-08-12T14:11:04.979Z] 14:01:01 156.29 0.18 156.11 0.00 19.60 23568.47 0.00 [2022-08-12T14:11:04.979Z] 14:02:01 33.79 0.02 33.78 0.00 2.67 16760.14 0.00 [2022-08-12T14:11:04.979Z] 14:03:01 1.42 0.00 1.42 0.00 0.00 17.08 0.00 [2022-08-12T14:11:04.979Z] 14:04:01 1.32 0.02 1.30 0.00 0.13 14.80 0.00 [2022-08-12T14:11:04.979Z] 14:05:01 1.27 0.00 1.27 0.00 0.00 15.05 0.00 [2022-08-12T14:11:04.979Z] 14:06:01 0.85 0.00 0.85 0.00 0.00 10.80 0.00 [2022-08-12T14:11:04.979Z] 14:07:01 1.15 0.00 1.15 0.00 0.00 14.80 0.00 [2022-08-12T14:11:04.979Z] 14:08:01 1.10 0.00 1.10 0.00 0.00 12.66 0.00 [2022-08-12T14:11:04.979Z] 14:09:01 1.83 0.63 1.20 0.00 22.53 20.00 0.00 [2022-08-12T14:11:04.979Z] 14:10:01 6.42 1.05 5.37 0.00 43.33 2014.20 0.00 [2022-08-12T14:11:04.979Z] 14:11:01 134.64 0.32 134.33 0.00 18.00 59886.95 0.00 [2022-08-12T14:11:04.979Z] Average: 63.71 1.53 62.19 0.00 192.13 20205.50 0.00 [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] 13:59:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-08-12T14:11:04.979Z] 14:00:01 28358396 31755820 537156 1.63 159692 3451384 2187144 6.45 1143012 2935468 668 [2022-08-12T14:11:04.979Z] 14:01:01 28105952 31761736 528840 1.61 165564 3688804 2063820 6.08 1278016 3037720 736 [2022-08-12T14:11:04.979Z] 14:02:01 27603268 31768948 520060 1.58 173768 4140688 1864320 5.49 1286756 3476828 152 [2022-08-12T14:11:04.979Z] 14:03:01 27603840 31769548 519164 1.58 173788 4140692 1864320 5.49 1286504 3476832 140 [2022-08-12T14:11:04.979Z] 14:04:01 27615016 31780948 508004 1.54 173836 4140700 1880616 5.54 1275904 3476996 60 [2022-08-12T14:11:04.979Z] 14:05:01 27614488 31780440 508492 1.55 173856 4140700 1880616 5.54 1276060 3476996 24 [2022-08-12T14:11:04.979Z] 14:06:01 27623220 31789272 499672 1.52 173880 4140704 1880616 5.54 1266816 3477080 28 [2022-08-12T14:11:04.979Z] 14:07:01 27623464 31789524 499336 1.52 173908 4140708 1880616 5.54 1266796 3477088 152 [2022-08-12T14:11:04.979Z] 14:08:01 27623156 31789276 499568 1.52 173932 4140700 1880616 5.54 1266852 3477092 20 [2022-08-12T14:11:04.979Z] 14:09:01 27622844 31789768 499292 1.52 173988 4141364 1880616 5.54 1268652 3477652 132 [2022-08-12T14:11:04.979Z] 14:10:01 27079448 31750168 537816 1.64 178596 4605756 2038176 6.01 1311384 3939840 462320 [2022-08-12T14:11:04.979Z] 14:11:01 26096632 31748444 531536 1.62 216644 5451628 1978184 5.83 1407320 4722452 396 [2022-08-12T14:11:04.979Z] Average: 27547477 31772824 515745 1.57 175954 4193652 1939972 5.72 1277839 3537670 38736 [2022-08-12T14:11:04.979Z] [2022-08-12T14:11:04.979Z] 13:59:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-08-12T14:11:04.979Z] 14:00:01 docker0 139.87 171.34 11.54 1680.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:00:01 lo 6.51 6.51 0.63 0.63 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:00:01 veth54c32d3 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:00:01 ens3 527.10 388.14 7682.50 82.21 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:01:01 docker0 9.77 14.91 0.58 98.71 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:01:01 lo 6.20 6.20 0.60 0.60 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:01:01 ens3 125.40 103.43 201.84 278.69 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:02:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:02:01 ens3 136.91 93.42 2527.51 64.03 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:03:01 ens3 0.57 0.53 0.30 0.21 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:04:01 ens3 0.60 0.18 0.12 0.07 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:05:01 ens3 16.25 9.19 14.91 0.78 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:06:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:07:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:08:01 ens3 0.12 0.02 0.01 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.979Z] 14:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] 14:09:01 ens3 0.80 0.52 0.80 0.39 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] 14:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] 14:10:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] 14:10:01 ens3 142.13 82.74 3969.54 13.55 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] 14:11:01 docker0 39.66 47.06 3.64 684.56 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] 14:11:01 lo 1.53 1.53 0.15 0.15 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] 14:11:01 ens3 290.43 211.11 3966.38 117.61 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] Average: docker0 15.60 19.23 1.30 203.20 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] Average: lo 1.49 1.49 0.14 0.14 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] Average: ens3 102.78 73.67 1521.62 46.41 0.00 0.00 0.00 0.00 [2022-08-12T14:11:04.980Z] [2022-08-12T14:11:04.980Z]