-
Notifications
You must be signed in to change notification settings - Fork 10
Metrics
Saray Cabrera Padrón edited this page Oct 11, 2023
·
6 revisions
For the record, we paste here the times we get in the output of some ansible-obs deployments:
- Date: 2023/10/10
- Operator: Saray
- Changes: https://github.com/openSUSE/open-build-service/compare/4bd649e59a04ee58b53000ddc32d3e7b3d40117a...9cf363001075a07b7c52eed172c58fed00dcc4cc
- Playbook: deploy_with_migration_without_downtime.yml
- Observations: only data migrations
PLAY [Deploy obs-api package] *******************************************************
TASK [Gathering Facts] **************************************************************
Wednesday 11 October 2023 09:21:57 +0000 (0:00:00.212) 0:00:00.212 *****
ok: [obs]
TASK [include_tasks] ****************************************************************
Wednesday 11 October 2023 09:22:02 +0000 (0:00:05.195) 0:00:05.408 *****
included: /home/saraycp/ansible-obs/includes/pending-migration.yml for obs
TASK [check for pending migrations] *************************************************
Wednesday 11 October 2023 09:22:02 +0000 (0:00:00.051) 0:00:05.460 *****
fatal: [obs -> localhost]: FAILED! => {"changed": true, "cmd": "bin/obs_deploy pm", "delta": "0:00:11.418256", "end": "2023-10-11 09:22:14.494130", "msg": "non-zero return code", "rc": 1, "start": "2023-10-11 09:22:03.075874", "stderr": "", "stderr_lines": [], "stdout": "src/api/db/data/20231004134538_create_a_default_subscription_for_decision_related_events.rb\nsrc/api/db/data_schema.rb", "stdout_lines": ["src/api/db/data/20231004134538_create_a_default_subscription_for_decision_related_events.rb", "src/api/db/data_schema.rb"]}
...ignoring
TASK [include_tasks] ****************************************************************
Wednesday 11 October 2023 09:22:14 +0000 (0:00:11.942) 0:00:17.403 *****
included: /home/saraycp/ansible-obs/includes/deployment-block.yml for obs
TASK [check if deployment is being blocked] *****************************************
Wednesday 11 October 2023 09:22:14 +0000 (0:00:00.049) 0:00:17.452 *****
changed: [obs -> localhost]
TASK [include_tasks] ****************************************************************
Wednesday 11 October 2023 09:22:18 +0000 (0:00:04.023) 0:00:21.476 *****
included: /home/saraycp/ansible-obs/includes/zypper-unlock.yml for obs
TASK [unlock obs-api] ***************************************************************
Wednesday 11 October 2023 09:22:18 +0000 (0:00:00.052) 0:00:21.528 *****
changed: [obs]
TASK [include_role : refresh_repositories] ******************************************
Wednesday 11 October 2023 09:22:21 +0000 (0:00:02.904) 0:00:24.432 *****
TASK [refresh_repositories : Debug ssh_host] ****************************************
Wednesday 11 October 2023 09:22:21 +0000 (0:00:00.150) 0:00:24.583 *****
ok: [obs] => {
"msg": "We are running on obs"
}
TASK [refresh_repositories : Refresh zypper repos] **********************************
Wednesday 11 October 2023 09:22:21 +0000 (0:00:00.074) 0:00:24.657 *****
ok: [obs]
TASK [include_role : deploy] ********************************************************
Wednesday 11 October 2023 09:22:30 +0000 (0:00:08.429) 0:00:33.086 *****
TASK [deploy : There is new update available] ***************************************
Wednesday 11 October 2023 09:22:30 +0000 (0:00:00.111) 0:00:33.198 *****
ok: [obs -> localhost]
TASK [deploy : zypper up 'obs-api'] *************************************************
Wednesday 11 October 2023 09:22:32 +0000 (0:00:02.181) 0:00:35.379 *****
changed: [obs]
TASK [include_role : run_migrations] ************************************************
Wednesday 11 October 2023 09:23:19 +0000 (0:00:46.680) 0:01:22.060 *****
TASK [include_role : run_migrations] ************************************************
Wednesday 11 October 2023 09:23:19 +0000 (0:00:46.680) 0:01:22.060 *****
TASK [run_migrations : run data migration] ******************************************
Wednesday 11 October 2023 09:23:19 +0000 (0:00:00.095) 0:01:22.155 *****
changed: [obs]
TASK [include_role : enable_flipper_features_for_group] *****************************
Wednesday 11 October 2023 09:23:29 +0000 (0:00:09.934) 0:01:32.089 *****
TASK [enable_flipper_features_for_group : enable flipper features for group] ********
Wednesday 11 October 2023 09:23:29 +0000 (0:00:00.099) 0:01:32.189 *****
changed: [obs]
RUNNING HANDLER [deploy : debug task] ***********************************************
Wednesday 11 October 2023 09:23:39 +0000 (0:00:10.097) 0:01:42.286 *****
ok: [obs] => {
"msg": "Called for obs"
}
RUNNING HANDLER [deploy : obs-delayed-consistency-check] ****************************
Wednesday 11 October 2023 09:23:39 +0000 (0:00:00.076) 0:01:42.363 *****
ok: [obs] => (item=obs-clockwork)
ok: [obs] => (item=obs-delayedjob-queue-consistency_check)
ok: [obs] => (item=obs-delayedjob-queue-default)
ok: [obs] => (item=obs-delayedjob-queue-issuetracking)
ok: [obs] => (item=obs-delayedjob-queue-mailers)
ok: [obs] => (item=obs-delayedjob-queue-project_log_rotate)
ok: [obs] => (item=obs-delayedjob-queue-quick@0)
ok: [obs] => (item=obs-delayedjob-queue-quick@1)
ok: [obs] => (item=obs-delayedjob-queue-quick@2)
ok: [obs] => (item=obs-delayedjob-queue-releasetracking)
ok: [obs] => (item=obs-delayedjob-queue-staging)
RUNNING HANDLER [deploy : run curl] *************************************************
Wednesday 11 October 2023 09:24:14 +0000 (0:00:35.361) 0:02:17.725 *****
changed: [obs -> localhost]
TASK [include_tasks] ****************************************************************
Wednesday 11 October 2023 09:24:15 +0000 (0:00:01.073) 0:02:18.798 *****
included: /home/saraycp/ansible-obs/includes/zypper-lock.yml for obs
TASK [lock obs-api] *****************************************************************
Wednesday 11 October 2023 09:24:16 +0000 (0:00:00.084) 0:02:18.883 *****
changed: [obs]
TASK [include_tasks] ****************************************************************
Wednesday 11 October 2023 09:24:19 +0000 (0:00:03.027) 0:02:21.911 *****
included: /home/saraycp/ansible-obs/includes/github-deployment.yml for obs
TASK [get obs deployed version] *****************************************************
Wednesday 11 October 2023 09:24:19 +0000 (0:00:00.098) 0:02:22.009 *****
changed: [obs -> localhost]
TASK [update github deployment] *****************************************************
Wednesday 11 October 2023 09:24:20 +0000 (0:00:01.398) 0:02:23.407 *****
changed: [obs -> localhost]
PLAY RECAP **************************************************************************
obs : ok=21 changed=10 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1
- Date: 2023/10/10
- Operator: Saray
- Changes: https://github.com/openSUSE/open-build-service/compare/9161e18f949d4ce448677f0254ff6194852ca8a8...791b07c00d1ab5b8fe6d7c417141b3816f9c9bbf
- Playbook: deploy_with_migration_without_downtime.yml
- Observations: only data migrations
PLAY [Deploy obs-api package] ********************************************************************************************
TASK [Gathering Facts] ***************************************************************************************************
Tuesday 10 October 2023 08:34:16 +0000 (0:00:00.221) 0:00:00.221 *******
ok: [obs]
TASK [include_tasks] *****************************************************************************************************
Tuesday 10 October 2023 08:34:23 +0000 (0:00:06.962) 0:00:07.184 *******
included: /home/saraycp/ansible-obs/includes/pending-migration.yml for obs
TASK [check for pending migrations] **************************************************************************************
Tuesday 10 October 2023 08:34:23 +0000 (0:00:00.069) 0:00:07.254 *******
fatal: [obs -> localhost]: FAILED! => {"changed": true, "cmd": "bin/obs_deploy pm", "delta": "0:00:12.703925", "end": "2023-10-10 08:34:36.833189", "msg": "non-zero return code", "rc": 1, "start": "2023-10-10 08:34:24.129264", "stderr": "", "stderr_lines": [], "stdout": "src/api/db/data/20200421121610_backfill_notified_projects.rb\nsrc/api/db/data/20211027143134_backfill_name_from_tokens.rb", "stdout_lines": ["src/api/db/data/20200421121610_backfill_notified_projects.rb", "src/api/db/data/20211027143134_backfill_name_from_tokens.rb"]}
...ignoring
TASK [include_tasks] *****************************************************************************************************
Tuesday 10 October 2023 08:34:36 +0000 (0:00:13.470) 0:00:20.725 *******
included: /home/saraycp/ansible-obs/includes/deployment-block.yml for obs
TASK [check if deployment is being blocked] ******************************************************************************
Tuesday 10 October 2023 08:34:37 +0000 (0:00:00.165) 0:00:20.891 *******
changed: [obs -> localhost]
TASK [include_tasks] *****************************************************************************************************
Tuesday 10 October 2023 08:34:42 +0000 (0:00:05.403) 0:00:26.294 *******
included: /home/saraycp/ansible-obs/includes/zypper-unlock.yml for obs
TASK [unlock obs-api] ****************************************************************************************************
Tuesday 10 October 2023 08:34:42 +0000 (0:00:00.120) 0:00:26.415 *******
changed: [obs]
TASK [include_role : refresh_repositories] *******************************************************************************
Tuesday 10 October 2023 08:34:46 +0000 (0:00:03.392) 0:00:29.808 *******
TASK [refresh_repositories : Debug ssh_host] *****************************************************************************
Tuesday 10 October 2023 08:34:46 +0000 (0:00:00.291) 0:00:30.100 *******
ok: [obs] => {
"msg": "We are running on obs"
}
TASK [refresh_repositories : Refresh zypper repos] ***********************************************************************
Tuesday 10 October 2023 08:34:46 +0000 (0:00:00.103) 0:00:30.204 *******
ok: [obs]
TASK [include_role : deploy] *********************************************************************************************
Tuesday 10 October 2023 08:34:56 +0000 (0:00:09.585) 0:00:39.789 *******
TASK [deploy : There is new update available] ****************************************************************************
Tuesday 10 October 2023 08:34:56 +0000 (0:00:00.185) 0:00:39.975 *******
ok: [obs -> localhost]
TASK [deploy : zypper up 'obs-api'] **************************************************************************************
Tuesday 10 October 2023 08:34:58 +0000 (0:00:02.640) 0:00:42.616 *******
changed: [obs]
TASK [include_role : run_migrations] *************************************************************************************
Tuesday 10 October 2023 08:35:44 +0000 (0:00:45.728) 0:01:28.345 *******
TASK [run_migrations : run data migration] *******************************************************************************
Tuesday 10 October 2023 08:35:44 +0000 (0:00:00.272) 0:01:28.618 *******
changed: [obs]
TASK [include_role : enable_flipper_features_for_group] ******************************************************************
Tuesday 10 October 2023 08:35:54 +0000 (0:00:09.389) 0:01:38.008 *******
TASK [enable_flipper_features_for_group : enable flipper features for group] *********************************************
Tuesday 10 October 2023 08:35:54 +0000 (0:00:00.306) 0:01:38.314 *******
changed: [obs]
RUNNING HANDLER [deploy : debug task] ************************************************************************************
Tuesday 10 October 2023 08:36:04 +0000 (0:00:10.080) 0:01:48.394 *******
ok: [obs] => {
"msg": "Called for obs"
}
RUNNING HANDLER [deploy : obs-delayed-consistency-check] *****************************************************************
Tuesday 10 October 2023 08:36:04 +0000 (0:00:00.269) 0:01:48.664 *******
ok: [obs] => (item=obs-clockwork)
ok: [obs] => (item=obs-delayedjob-queue-consistency_check)
ok: [obs] => (item=obs-delayedjob-queue-default)
ok: [obs] => (item=obs-delayedjob-queue-issuetracking)
ok: [obs] => (item=obs-delayedjob-queue-mailers)
ok: [obs] => (item=obs-delayedjob-queue-project_log_rotate)
ok: [obs] => (item=obs-delayedjob-queue-quick@0)
ok: [obs] => (item=obs-delayedjob-queue-quick@1)
ok: [obs] => (item=obs-delayedjob-queue-quick@2)
ok: [obs] => (item=obs-delayedjob-queue-releasetracking)
ok: [obs] => (item=obs-delayedjob-queue-staging)
RUNNING HANDLER [deploy : run curl] **************************************************************************************
Tuesday 10 October 2023 08:36:43 +0000 (0:00:38.345) 0:02:27.009 *******
changed: [obs -> localhost]
TASK [include_tasks] *****************************************************************************************************
Tuesday 10 October 2023 08:36:44 +0000 (0:00:01.493) 0:02:28.503 *******
included: /home/saraycp/ansible-obs/includes/zypper-lock.yml for obs
TASK [lock obs-api] ******************************************************************************************************
Tuesday 10 October 2023 08:36:44 +0000 (0:00:00.175) 0:02:28.679 *******
changed: [obs]
TASK [include_tasks] *****************************************************************************************************
Tuesday 10 October 2023 08:36:48 +0000 (0:00:03.452) 0:02:32.132 *******
included: /home/saraycp/ansible-obs/includes/github-deployment.yml for obs
TASK [get obs deployed version] ******************************************************************************************
Tuesday 10 October 2023 08:36:48 +0000 (0:00:00.203) 0:02:32.335 *******
changed: [obs -> localhost]
TASK [update github deployment] ******************************************************************************************
Tuesday 10 October 2023 08:36:50 +0000 (0:00:01.916) 0:02:34.252 *******
changed: [obs -> localhost]
PLAY RECAP ***************************************************************************************************************
obs : ok=21 changed=10 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1
Tuesday 10 October 2023 08:36:54 +0000 (0:00:04.398) 0:02:38.650 *******
===============================================================================
deploy : zypper up 'obs-api' --------------------------------------------------------------------------------------45.73s
deploy : obs-delayed-consistency-check ----------------------------------------------------------------------------38.35s
check for pending migrations --------------------------------------------------------------------------------------13.47s
enable_flipper_features_for_group : enable flipper features for group ---------------------------------------------10.08s
refresh_repositories : Refresh zypper repos ----------------------------------------------------------------------- 9.59s
run_migrations : run data migration ------------------------------------------------------------------------------- 9.39s
Gathering Facts --------------------------------------------------------------------------------------------------- 6.96s
check if deployment is being blocked ------------------------------------------------------------------------------ 5.40s
update github deployment ------------------------------------------------------------------------------------------ 4.40s
lock obs-api ------------------------------------------------------------------------------------------------------ 3.45s
unlock obs-api ---------------------------------------------------------------------------------------------------- 3.39s
deploy : There is new update available ---------------------------------------------------------------------------- 2.64s
get obs deployed version ------------------------------------------------------------------------------------------ 1.92s
deploy : run curl ------------------------------------------------------------------------------------------------- 1.49s
include_role : enable_flipper_features_for_group ------------------------------------------------------------------ 0.31s
include_role : refresh_repositories ------------------------------------------------------------------------------- 0.29s
include_role : run_migrations ------------------------------------------------------------------------------------- 0.27s
deploy : debug task ----------------------------------------------------------------------------------------------- 0.27s
include_tasks ----------------------------------------------------------------------------------------------------- 0.20s
include_role : deploy --------------------------------------------------------------------------------------------- 0.19s
- Date: 2023/10/09
- Operator: Saray
- Changes: https://github.com/openSUSE/open-build-service/compare/c66dc31a883d2e5d4ca8fffd34a44c17b568e857...4bd649e59a04ee58b53000ddc32d3e7b3d40117a
- Playbook: deploy_with_migration_without_downtime.yml
- Observations: only data migrations
Monday 09 October 2023 09:19:14 +0000 (0:00:03.237) 0:02:22.854 ********
===============================================================================
deploy : zypper up 'obs-api' -------------------------------------------- 44.66s
deploy : obs-delayed-consistency-check ---------------------------------- 34.76s
check for pending migrations -------------------------------------------- 11.63s
enable_flipper_features_for_group : enable flipper features for group ---- 9.93s
run_migrations : run data migration -------------------------------------- 9.74s
refresh_repositories : Refresh zypper repos ------------------------------ 7.74s
Gathering Facts ---------------------------------------------------------- 4.87s
check if deployment is being blocked ------------------------------------- 4.18s
update github deployment ------------------------------------------------- 3.24s
lock obs-api ------------------------------------------------------------- 2.92s
unlock obs-api ----------------------------------------------------------- 2.91s
deploy : There is new update available ----------------------------------- 2.19s
deploy : run curl -------------------------------------------------------- 1.70s
get obs deployed version ------------------------------------------------- 1.32s
include_role : refresh_repositories -------------------------------------- 0.14s
include_role : deploy ---------------------------------------------------- 0.11s
include_role : enable_flipper_features_for_group ------------------------- 0.09s
include_role : run_migrations -------------------------------------------- 0.09s
include_tasks ------------------------------------------------------------ 0.09s
include_tasks ------------------------------------------------------------ 0.08s