Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Travis logs full of "INFO openerp_test odoo.schema: Keep unexpected index"

by "Raphaël Valyi" <rvalyi@akretion.com> - 22/08/2021 22:27:39
Hello Olaf,

Okay so you found it: the "Keep unexpected index" comes from these recent Odoo changes indeed. In v12.0, the commit was made on June 4: 
https://github.com/odoo/odoo/commit/13f02a60c8706b808a57535ac9648a1b0c0741a9
and the same day for OCB:

I didn't have it in my source and it wasn't indexed in odoo/odoo that's why I didn't find it with grep.

Now In Github it seems these commits are from June 4 and this is also why I didn't suspect this as we have builds much later than this date passing normally.
But looking in this page it's actually clear that it was pushed by Robodoo 3 days ago: 

So now I guess we should work on 2 fronts:
  1. do the Odoo SA Github dance to tell Odoo SA their commit creates problems. But this could take months before being heard (I'm optimistic)...
  2. hack a palliative fix in Travis to avoid blocking the PR's in the meantime. I'll try that for now and update you.

On Sun, Aug 22, 2021 at 3:22 PM Olaf Wagner <wagner@elegosoft.com> wrote:
On 22 Aug 2021, at 18:52, Raphaël Valyi wrote:



> Hello contributors,


> since 2 or 3 days ago max, on several OCA 12.0 builds one can see logs 


> full of "Keep unexpected index" log messages such as:


> 2021-08-22 13:29:16,607 7203  INFO  openerp_template odoo.schema: Keep 


> unexpected index ir_model_data_date_update_index on table 


> ir_model_data   1024 2021-08-22 13:29:16,607 7203  INFO  


> openerp_template odoo.schema: Keep unexpected index 


> ir_model_data_date_init_index on table ir_model_data   1025 2021-08-22 


> 13:29:16,608 7203  INFO  openerp_template odoo.schema: Keep unexpected 


> index ir_model_data_create_uid_index on table ir_model_data   1026 


> 2021-08-22 13:29:16,608 7203  INFO  openerp_template odoo.schema: Keep 


> unexpected index ir_model_data_create_date_index on table 


> ir_model_data   1027 2021-08-22 13:29:16,608 7203  INFO  


> openerp_template odoo.schema: Keep unexpected index 


> ir_model_data_write_uid_index on table ir_model_data   1028 2021-08-22 


> 13:29:16,608 7203  INFO  openerp_template odoo.schema: Keep unexpected 


> index ir_model_data_write_date_index on table ir_model_data

It’s from this change in the ORM:
- 
https://github.com/odoo/odoo/commit/13f02a60c8706b808a57535ac9648a1b0c0741a9
- 
https://github.com/odoo/odoo/commit/b4647cbf1e483bcc42ff9962851f94c751e5eebb

Must have been merged recently.

I’ve encountered it in 13.0 and have disabled it locally as it was 
spamming our
logs, too.

Olaf


-- 
Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, 
Germany
Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: 
DE163214194

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--
Raphaël Valyi
Founder and consultant

Reference