Subject: [FIX] fix Unit test of hr_increase
Author: wahiba maatouk
Committer: wahiba maatouk

Date Level Type Message
2019-03-14 15:45:10 INFO runbot init Init build environment
2019-03-14 15:45:22 INFO runbot test_all Start test all modules
2019-03-14 15:46:18 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.base.tests.test_translate tested in 8.69s, 25627 queries
2019-03-14 15:46:23 INFO server odoo.modules.loading:234 load_module_graph 1 modules loaded in 55.63s, 48244 queries
2019-03-14 15:46:45 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.base_import.tests.test_base_import tested in 9.84s, 232 queries
2019-03-14 15:47:25 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.mail.tests.test_mail_gateway tested in 5.46s, 4915 queries
2019-03-14 15:47:54 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.calendar.tests.test_calendar tested in 7.07s, 5827 queries
2019-03-14 15:48:07 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.event.tests.test_event_flow tested in 5.75s, 4300 queries
2019-03-14 15:49:14 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.product.tests.test_variants tested in 8.34s, 7979 queries
2019-03-14 15:50:25 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.crm.tests.test_crm_lead tested in 7.95s, 6724 queries
2019-03-14 15:50:33 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.crm.tests.test_lead2opportunity tested in 8.60s, 6739 queries
2019-03-14 15:51:03 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_holidays.tests.test_holidays_flow tested in 12.36s, 5540 queries
2019-03-14 15:51:52 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.project.tests.test_access_rights tested in 7.35s, 5161 queries
2019-03-14 15:53:23 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_payroll.tests.test_payslip_flow tested in 6.20s, 1120 queries
2019-03-14 15:53:57 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.survey.tests.test_survey tested in 15.59s, 11746 queries
2019-03-14 15:54:56 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.purchase_request.tests.test_purchase_flow tested in 9.27s, 3464 queries
2019-03-14 15:55:26 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.website_forum.tests.test_forum tested in 5.96s, 4663 queries
2019-03-14 15:56:10 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_attendance_extend.tests.test_authorization_flow tested in 5.82s, 1456 queries
2019-03-14 15:56:38 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_deputation.tests.test_deputation_flow tested in 11.43s, 4095 queries
2019-03-14 15:57:08 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_holidays_extend.tests.test_holidays_flow tested in 15.60s, 7025 queries
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ERROR
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ERROR: test_training_constrains (odoo.addons.hr_training.tests.test_training_constrains.TestTrainingConstrains)
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` Test Training constraint.
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write Traceback (most recent call last):
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09181-1252-40628f/addons/hr_training/tests/test_training_constrains.py", line 76, in test_training_constrains
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` 'published': True})
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09181-1252-40628f/addons/hr_training/models/hr_training.py", line 50, in create
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` return super(HrTraining, self).create(vals)
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/opt/odoo/odoo11/addons/mail/models/mail_thread.py", line 236, in create
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` thread = super(MailThread, self).create(values)
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09181-1252-40628f/addons/popup_reminder/models/popup_reminder.py", line 32, in create
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` record_id = create_original(self, vals)
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/opt/odoo/odoo11/odoo/models.py", line 3372, in create
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` record = self.browse(self._create(old_vals))
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/opt/odoo/odoo11/odoo/models.py", line 3525, in _create
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` self._validate_fields(vals)
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/opt/odoo/odoo11/odoo/models.py", line 1036, in _validate_fields
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` check(self)
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09181-1252-40628f/addons/hr_training/models/hr_training.py", line 80, in _check_order_chek_date
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` raise ValidationError(_(" تاريخ التدريب يجب أن يكون أكبر من تاريخ اليوم"))
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write ` odoo.exceptions.ValidationError: (' تاريخ التدريب يجب أن يكون أكبر من تاريخ اليوم', None)
2019-03-14 15:57:36 ERROR server odoo.addons.hr_training.tests.test_training_constrains:474 write FAILED
2019-03-14 15:57:36 ERROR server odoo.modules.module:518 run_unit_tests Module hr_training: 0 failures, 1 errors
2019-03-14 15:57:46 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_training.tests.test_training_flow tested in 10.31s, 4839 queries
2019-03-14 15:58:15 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.project_maintenance.tests.test_project_maintenance_flow tested in 10.81s, 6309 queries
2019-03-14 16:00:45 INFO server odoo.modules.loading:234 load_module_graph 166 modules loaded in 858.62s, 173850 queries
2019-03-14 16:01:04 INFO server odoo.modules.loading:234 load_module_graph 170 modules loaded in 19.44s, 11 queries
2019-03-14 16:01:06 ERROR server odoo.modules.loading:471 load_modules At least one test failed when loading the modules.
2019-03-14 16:01:16 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.base.tests.test_reports tested in 10.02s, 1076 queries
2019-03-14 16:01:28 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.account.tests.test_account_invoice_rounding tested in 5.81s, 4190 queries
2019-03-14 16:01:52 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.account.tests.test_payment tested in 18.55s, 14499 queries
2019-03-14 16:02:42 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.account.tests.test_reconciliation tested in 47.97s, 37515 queries
2019-03-14 16:02:52 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.account.tests.test_tax tested in 7.03s, 5425 queries
2019-03-14 16:02:57 INFO server odoo.addons.website.tests.test_crawl:73 test_10_crawl_public public crawled 1 urls in 4.98s 410 queries, 4.984s 410.00q per request,
2019-03-14 16:03:27 INFO server odoo.addons.website.tests.test_crawl:83 test_20_crawl_demo demo crawled 58 urls in 30.15s 20925 queries, 0.520s 360.78q per request
2019-03-14 16:04:00 INFO server odoo.addons.website.tests.test_crawl:93 test_30_crawl_admin admin crawled 74 urls in 33.07s 23641 queries, 0.447s 319.47q per request
2019-03-14 16:04:00 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.website.tests.test_crawl tested in 68.26s, 44998 queries
2019-03-14 16:04:10 INFO runbot run Start running build 09181-1252-40628f
2019-03-14 16:04:13 INFO server odoo.modules.loading:234 load_module_graph 1 modules loaded in 0.26s, 0 queries
2019-03-14 16:04:14 INFO server odoo.modules.loading:234 load_module_graph 170 modules loaded in 1.11s, 0 queries
2019-03-14 16:55:53 INFO runbot _ask_kill Killing build 09181-1252-40628f, requested by Administrator (user #1)
2019-03-14 16:55:59 INFO runbot kill Kill build 09181-1252-40628f