Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013308
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajorrandom2010-05-13 09:082010-06-25 16:34
ReporterelopioView Statuspublic 
Assigned Toiperdomo 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013308: Can't schedule accounting process with selenium

DescriptionWhile executing ACC0020_ScheduleAccountingProcess with selenium the process can't be scheduled.

This used to happen randomly. Now it's happening more often; you can see the history in hudson [1], it failed four times in a row. It is really weird as the smoke executes around 4 process scheduling/unscheduling and they all succeed.

The problem is only with this scenario. And the difference from the rest is that this one first creates the process (with a user that's not the system administrator) and then schedules it. The other tests schedule the AcctServerProcess with Openbravo user.

To make it even more weird, the application shows no error. The test creates the process and then clicks the schedule button. A green message is shown saying that the process was scheduled and everything seems fine. But when the popup with the message is closed, the schedule button is still visible. And the unschedule button is not.

I haven't been able to reproduce it manually, so it might be a conflict with selenium.

I know that I'm not giving you much information and this would be hard to fix. But please let me know what additional information would be useful and I'll try to provide it to you. And you might know the difference between a scheduling the process that already exists and a newly created process.

Setting priority as high because it breaks the automated smoke.

[1] http://builds.openbravo.com/job/erp_devel_main-pgsql-smoke-test/192/testReport/com.openbravo.test.integration.erp.testsuites.smoke.accountingprocess/ACC0010_ScheduleAccountingProcess/history/ [^]
Steps To ReproduceRun masterdata suite up to test ADM0110_CreateUser
Run ACC0010_DeactivateBackgroundProcess test
Run ACC0020_ScheduleAccountingProcess test
Proposed Solutionafter showing the message saying that the process was successfully scheduled, the schedule button should be hidden and the unschedule button unhidden.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00133862.50MP19 closediperdomo Openbravo ERP It is possible to delete a Scheduled process 
blocks defect 0013307 closedelopio QA Smoke suite fails in schedule accounting process 

-  Notes
(0027447)
adrianromero (manager)
2010-05-18 18:10

To try to reduce the area where this error is located, It would be good to enable the log configuration to the finest level and enable the log of SQL sentences and parameters Hibernate executes in the log4j.lcf configuration file. Then compare the logs produced by a sequence where the error is reproduced and by a sequence where the error is not reproduced.
(0027449)
iperdomo (reporter)
2010-05-18 19:37

Make sure that you unschedule the process with the System Administrator role _before_ trying to schedule it for an specific client.

Please check with PSA about, how to enable the AcctSever for an specific client.

Cheers,

Iván
(0027549)
plujan (manager)
2010-05-19 10:14

Please do not change assigned user when asking for feedback. You (Ivan) are still the developer assigned no matter current issue status.
(0027559)
elopio (reporter)
2010-05-19 16:23

The test before this one unschedules the original AcctServerProcess with user Openbravo.
I'll ask PSA about the enabling, however I think that this process is correctly enabled, as sometimes the schedule succeeds.
(0027560)
plujan (manager)
2010-05-19 16:29

Raised issue 0013387 and modified the related test case to put proper dates.
(0027738)
hgbot (developer)
2010-05-26 09:29

Repository: tools/automation/main
Changeset: 7435a62e7aef9ac5bd03ca0b826aa6adde48a435
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:24 2010 +0200
URL: http://code.openbravo.com/tools/automation/main/rev/7435a62e7aef9ac5bd03ca0b826aa6adde48a435 [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/gui/general/processscheduling/ProcessRequest.java
---
(0027739)
hgbot (developer)
2010-05-26 09:29

Repository: tools/automation/main
Changeset: dd575b41dea049112697182be285d4da95898c7e
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:51 2010 +0200
URL: http://code.openbravo.com/tools/automation/main/rev/dd575b41dea049112697182be285d4da95898c7e [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/testsuites/smoke/accountingprocess/ACC0020_ScheduleAccountingProcess.java
---
(0027787)
hgbot (developer)
2010-05-28 07:04

Repository: tools/automation/pi-exchange
Changeset: 7435a62e7aef9ac5bd03ca0b826aa6adde48a435
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:24 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-exchange/rev/7435a62e7aef9ac5bd03ca0b826aa6adde48a435 [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/gui/general/processscheduling/ProcessRequest.java
---
(0027788)
hgbot (developer)
2010-05-28 07:04

Repository: tools/automation/pi-exchange
Changeset: dd575b41dea049112697182be285d4da95898c7e
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:51 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-exchange/rev/dd575b41dea049112697182be285d4da95898c7e [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/testsuites/smoke/accountingprocess/ACC0020_ScheduleAccountingProcess.java
---
(0027797)
hgbot (developer)
2010-05-28 07:47

Repository: tools/automation/2.50
Changeset: 7435a62e7aef9ac5bd03ca0b826aa6adde48a435
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:24 2010 +0200
URL: http://code.openbravo.com/tools/automation/2.50/rev/7435a62e7aef9ac5bd03ca0b826aa6adde48a435 [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/gui/general/processscheduling/ProcessRequest.java
---
(0027798)
hgbot (developer)
2010-05-28 07:47

Repository: tools/automation/2.50
Changeset: dd575b41dea049112697182be285d4da95898c7e
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:51 2010 +0200
URL: http://code.openbravo.com/tools/automation/2.50/rev/dd575b41dea049112697182be285d4da95898c7e [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/testsuites/smoke/accountingprocess/ACC0020_ScheduleAccountingProcess.java
---
(0027806)
hgbot (developer)
2010-05-28 09:32

Repository: tools/automation/pi-parallel
Changeset: 7435a62e7aef9ac5bd03ca0b826aa6adde48a435
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:24 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-parallel/rev/7435a62e7aef9ac5bd03ca0b826aa6adde48a435 [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/gui/general/processscheduling/ProcessRequest.java
---
(0027807)
hgbot (developer)
2010-05-28 09:32

Repository: tools/automation/pi-parallel
Changeset: dd575b41dea049112697182be285d4da95898c7e
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:51 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-parallel/rev/dd575b41dea049112697182be285d4da95898c7e [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/testsuites/smoke/accountingprocess/ACC0020_ScheduleAccountingProcess.java
---
(0028283)
hgbot (developer)
2010-06-11 05:46

Repository: tools/automation/pi-regression
Changeset: 7435a62e7aef9ac5bd03ca0b826aa6adde48a435
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:24 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-regression/rev/7435a62e7aef9ac5bd03ca0b826aa6adde48a435 [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/gui/general/processscheduling/ProcessRequest.java
---
(0028284)
hgbot (developer)
2010-06-11 05:46

Repository: tools/automation/pi-regression
Changeset: dd575b41dea049112697182be285d4da95898c7e
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:51 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-regression/rev/dd575b41dea049112697182be285d4da95898c7e [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/testsuites/smoke/accountingprocess/ACC0020_ScheduleAccountingProcess.java
---
(0028785)
hgbot (developer)
2010-06-25 16:34

Repository: tools/automation/pi-dbunit
Changeset: 7435a62e7aef9ac5bd03ca0b826aa6adde48a435
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:24 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-dbunit/rev/7435a62e7aef9ac5bd03ca0b826aa6adde48a435 [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/gui/general/processscheduling/ProcessRequest.java
---
(0028786)
hgbot (developer)
2010-06-25 16:34

Repository: tools/automation/pi-dbunit
Changeset: dd575b41dea049112697182be285d4da95898c7e
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Wed May 19 17:04:51 2010 +0200
URL: http://code.openbravo.com/tools/automation/pi-dbunit/rev/dd575b41dea049112697182be285d4da95898c7e [^]

Prevents issue 13308 to appear

---
M src-test/com/openbravo/test/integration/erp/testsuites/smoke/accountingprocess/ACC0020_ScheduleAccountingProcess.java
---

- Issue History
Date Modified Username Field Change
2010-05-13 09:08 elopio New Issue
2010-05-13 09:08 elopio Assigned To => adrianromero
2010-05-13 09:08 elopio Relationship added blocks 0013307
2010-05-13 10:52 psarobe Priority high => urgent
2010-05-13 10:52 psarobe Severity minor => major
2010-05-13 10:52 psarobe Status new => scheduled
2010-05-18 18:05 adrianromero Assigned To adrianromero => iperdomo
2010-05-18 18:10 adrianromero Note Added: 0027447
2010-05-18 19:37 iperdomo Note Added: 0027449
2010-05-18 19:37 iperdomo Assigned To iperdomo => elopio
2010-05-18 19:37 iperdomo Status scheduled => feedback
2010-05-19 10:13 plujan Assigned To elopio => iperdomo
2010-05-19 10:14 plujan Note Added: 0027549
2010-05-19 16:23 elopio Note Added: 0027559
2010-05-19 16:26 plujan Relationship added related to 0013386
2010-05-19 16:29 plujan Note Added: 0027560
2010-05-19 16:29 plujan Status feedback => closed
2010-05-19 16:30 plujan Resolution open => no change required
2010-05-20 00:00 anonymous sf_bug_id 0 => 3004340
2010-05-26 09:29 hgbot Checkin
2010-05-26 09:29 hgbot Note Added: 0027738
2010-05-26 09:29 hgbot Checkin
2010-05-26 09:29 hgbot Note Added: 0027739
2010-05-28 07:04 hgbot Checkin
2010-05-28 07:04 hgbot Note Added: 0027787
2010-05-28 07:04 hgbot Checkin
2010-05-28 07:04 hgbot Note Added: 0027788
2010-05-28 07:47 hgbot Checkin
2010-05-28 07:47 hgbot Note Added: 0027797
2010-05-28 07:47 hgbot Checkin
2010-05-28 07:47 hgbot Note Added: 0027798
2010-05-28 09:32 hgbot Checkin
2010-05-28 09:32 hgbot Note Added: 0027806
2010-05-28 09:32 hgbot Checkin
2010-05-28 09:32 hgbot Note Added: 0027807
2010-06-11 05:46 hgbot Checkin
2010-06-11 05:46 hgbot Note Added: 0028283
2010-06-11 05:46 hgbot Checkin
2010-06-11 05:46 hgbot Note Added: 0028284
2010-06-25 16:34 hgbot Checkin
2010-06-25 16:34 hgbot Note Added: 0028785
2010-06-25 16:34 hgbot Checkin
2010-06-25 16:34 hgbot Note Added: 0028786


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker