From: Afaq
Sent: Wednesday, April 08, 2009 11:06 PM
To: Nrza, Aeshan; Taeed, Bli
Subject: RE: Report Controller Code Structure Problem – Soft Emails – Meeting with Bli Taeed
Do pass it to Sahim Malani, if you feel, worth it.
Regards,
Afaq
——————————————————————————–
From: Afaq
Sent: Wednesday, April 08, 2009 10:20 PM
To: Nrza, Aeshan; Taeed, Bli; Thakoor, Thoaib
Subject: RE: Report Controller Code Structure Problem – Soft Emails – Meeting with Bli Taeed
Here is summary of my meeting of Bli Taeed.
1.. Use of last name for communication. I just used it because one of English Guy from UK. Informed me that it is British custom to use the last name for referencing someone. As it is American company, so from now on, I will not use last name.
Still I think, we should not be confused about the use of American vs British style.
However, from now on I will follow American style.
2.. Please just see my last email sentence,
Please note that we are still not able to reproduce problem with exact step of reproduction that report developers are normally facing.
It was starting with a Please, using we not you, using able not did.
And see what type of response; I got it from Btta Aeeshan. That was not comparable.
3.. Regarding selection of words, I will consult MS word dictionary to get some soft and light weight words. It will for sure help me.
4.. Regarding grammar, I will follow some MS word correction option, if it can help me. Or I will try to get some feedback from English teacher or Google.
5.. Regarding getting instruction, actually, I know we don’t have strict hierarchy in teams. But for execution of process, there must be some central authority
to stream line the things. I will see how we can improve this thing.
We all know that English is not our mother language, so there is always room for improvement. English should not be issue of communication while discussing Business communication. But still I will try to fix this issue on priority basis.
Comments are always welcome. We all are in process of learning. So you will see some soft, lightweight words in my emails soon.
Regards,
Afaq Sarwar
From: Afaq
Sent: Wednesday, April 08, 2009 4:45 PM
To: Bta, Aeeshan
Cc: Nrza, Aeshan; Taeed, Bli
Subject: RE: Report Controller Code Structure Problem
Btta,
I don’t follow your instruction. I still have same response that I give to you in last email.
Needs further discussion, contact Aeeshan and Bli.
Thanks.
Afaq Sarwar
From: Bta, Aeeshan
Sent: Wednesday, April 08, 2009 4:34 PM
To: Afaq ; Ahmed,
Cc: Nrza, Aeshan
Subject: RE: Report Controller Code Structure Problem
Afaq,
What my team needed to focus on has already been reported. We have sent the steps to bugs, shown the result (not executing) and emailed it to you. What I don’t understand is on one end, you write that “we are still not able to reproduce problem” and on the other end you write “Report being stuck at 540 k memory”. If you know that the report is getting stuck at 540 k, then why don’t you fix it? What are you waiting for?
AA team’s job is to lead you to bugs. Please concentrate on your job of finding the reasons of the bug.
Regards,
Aeeshan Bta
From: Afaq
Sent: Wednesday, April 08, 2009 3:04 PM
To: Bta, Aeeshan;
Cc: Nrza, Aeshan;
Subject: RE: Report Controller Code Structure Problem
Regarding log 1 and log 3 issues, Nohammed Btif and Bhmad Thoaib will provide you feedback.
Regarding log2, please note that in this report we reproduced the problem for report not being executed.
I am working with Oadeem in separate thread for its fixing.
Btta,
Please note that we are still not able to reproduce problem with exact step of reproduction that report developers are normally facing.
. Report being stuck at 540 K memory.
So your team needs to focus on it.
Thanks.
Afaq Sarwar
From: Bta, Aeeshan
Sent: Tuesday, April 07, 2009 7:42 PM
To: Afaq ; Ahmed, Thoaib; Btif, Mohammed
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Thakoor, Thoaib; Qarvez, Madeem; Eatima, Frum
Subject: RE: Report Controller Code Structure Problem
Afaq,
Is there any update? I believe this is a high priority thing on which we need to move fast.
Regards,
Aeeshan Bta
From: Afaq
Sent: Monday, April 06, 2009 5:15 PM
To: Bta, Aeeshan; Eatima, Frum; Bhmed, Thoaib; Btif, Nohammed
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Thakoor, Thoaib; Qarvez, Madeem
Subject: RE: Report Controller Code Structure Problem
Including Nohammed Btif and Bhmad Thoaib.
——————————————————————————–
From: Afaq
Sent: Monday, April 06, 2009 5:14 PM
To: Bta, Aeeshan; Eatima, Frum
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Thakoor, Thoaib; Parvez, Madeem
Subject: RE: Report Controller Code Structure Problem
Actually COM error is a different case. I am including Nohammed Btif and Bhmad Thoaib for more input. As they are developers for this module.
Btif and Thoaib, please provide your feedback on this finding.
Frum, please call me on 2639 for log 2.
Thanks.
Afaq Sarwar
From: Bta, Aeeshan
Sent: Monday, April 06, 2009 4:15 PM
To: Eatima, Frum
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Thakoor, Thoaib; Parvez, Madeem; Afaq
Subject: RE: Report Controller Code Structure Problem
Good Work Frum!
Thanks for your input Madeem. We appreciate it.
Regards,
Aeeshan Bta
From: Eatima, Frum
Sent: Monday, April 06, 2009 4:00 PM
To: Bta, Aeeshan
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Thakoor, Thoaib; Parvez, Madeem; Bta, Aeeshan; Afaq
Subject: RE: Report Controller Code Structure Problem
The following were the general STEPS taken to schedule the three test reports:
1)login to URG Portal
3)Select the campaign and click search.
4)Select Report to be bound
5)Fill the developed by and QA by fields.
6)Enter time for execution in Eastern Timings in this case 4AM which equals to 1pm . 7)Give the physical location of the report on the report box.
8)Enter Machine as 10.34.2.2
9)set execution frequency as daily 6 times every 60 minutes.
10)Give the physical location of the on the reporting box.
11)Enter Email addresses in client email distro and Internal Email distro
12)Set expected execution time to 5 minutes.
13)check the Active check box
14) check the Activate report Controller Check Box
15)check the Refresh Report Controller Check Box
16)Enter Email addresses in client email distro and Internal Email distro
NOTE: Bind report1 to campaign1,report2 to campaign2 and report3 to campaign3.The physical locations of the reports are as follows:
Report1: C:\ClientReports\Test Reports\Test Report 2\Test2.exe
Report2:C:\ClientReports\Test Reports\Test Report 2\Test2.exe
Report3: C:\ClientReports\Test Reports\Test Report 3\Test3.exe
Our FINDINGS are as follows:
Report 1 and 3 started to execute but the process failed and Report2 did not execute at all.
Regards,
Frum Eatima
From: Afaq
Sent: Monday, April 06, 2009 3:34 PM
To: Eatima, Frum
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Thakoor, Thoaib; Parvez, Madeem; Bta, Aeeshan
Subject: RE: Report Controller Code Structure Problem
Thanks Frum for your efforts.
I have analyzed the 3 logs. The 1st and 3rd log reflects that it is a System.Runtime.InteropServices.COMException error. Means that Report scheduler was able to run the report properly, but when control transferred to Report exe, it gave us Excel object error. Madeem will look into it, why this exception appears.
But the point is that it is not related to Report scheduler bug that we are trying to reproduce.
As identified by Frum, in separate email, there is no log update for 2nd case, so it is a bug; I am coordinating with Frum to investigate it more.
Regards,
Afaq Sarwar
——————————————————————————–
From: Eatima, Frum
Sent: Monday, April 06, 2009 2:04 PM
To: Afaq
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Thakoor, Thoaib; Parvez, Madeem; Bta, Aeeshan
Subject: RE: Report Controller Code Structure Problem
Afaq,
Bttached are the execution logs of reports that were scheduled on Friday. These haven’t executed properly.
Regards,
Frum Eatima
From: Bta, Aeeshan
Sent: Friday, April 03, 2009 8:14 PM
To: Eatima, Frum
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Afaq ; Thakoor, Thoaib; Parvez, Madeem
Subject: RE: Report Controller Code Structure Problem
Great! Just make sure to document the steps that you have taken so that any report execution failure could be re-produced.
Regards,
Aeeshan Ata
From: Eatima, Frum
Sent: Friday, April 03, 2009 8:11 PM
To: Bta, Aeeshan
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Taeed, Bli; Afaq ; Thakoor, Thoaib; Parvez, Madeem
Subject: RE: Report Controller Code Structure Problem
Aeeshan,
I have bound every report to a different test campaign and all three are scheduled to execute with a frequency of 6 times a day, so by Monday we will have around 45 report executions recorded to conclude our test findings.
Thanks and Regards,
Frum Eatima
——————————————————————————–
From: Bta, Aeeshan
Sent: Friday, April 03, 2009 6:55 PM
To: Parvez, Madeem
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Eatima, Frum; Taeed, Bli; Afaq ; Thakoor, Thoaib
Subject: RE: Report Controller Code Structure Problem
Thanks madeem, I appreciate your help.
Regards,
Aeeshan Ata
From: Parvez, Madeem
Sent: Friday, April 03, 2009 6:09 PM
To: Taeed, Bli; Afaq ; Bta, Aeeshan; Thakoor, Thoaib
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Eatima, Frum
Subject: RE: Report Controller Code Structure Problem
Aeeshan,
3 Test reports are configured on the portal; they are generated and also emailed.
I am Bttaching the reports credentials for future reference.
madeem qarvez
From: Taeed, Bli
Sent: Thursday, April 02, 2009 9:59 PM
To: Afaq ; Bta, Aeeshan; Parvez, Madeem; Thakoor, Thoaib
Cc: Nrza, Aeshan; Iassan, Byaz-ul
Subject: RE: Report Controller Code Structure Problem
Importance: High
madeem, can you please develop a few test reports on report controller?
Aeeshan, Madeem is in Khi and you can touch base with him tomorrow and make sure that this is expedited. Sorry, I’ve been busy in back to back meetings and didn’t have a chance to reply to this thread earlier.
Shoaib, FYI.
Regards,
bli taeed
From: Afaq
Sent: Thursday, April 02, 2009 9:33 PM
To: Bta, Aeeshan; Taeed, Bli
Cc: Nrza, Aeshan; Iassan, Byaz-ul
Subject: RE: Report Controller Code Structure Problem
Actually, I told one developer to pass his experience of problem to you, I think it was Naveed.
It will help you to identify the problem in real data, other then Test data environment. Do you have problem with that?
Call to Bli, as he is little busy and is not following emails. ( M: +92.xxxxxxxxxxxxx )
Regards,
Afaq Sarwar
——————————————————————————–
From: Bta, Aeeshan
Sent: Thursday, April 02, 2009 9:02 PM
To: Taeed, Bli
Cc: Nrza, Aeshan; Iassan, Byaz-ul; Afaq
Subject: RE: Report Controller Code Structure Problem
Bli,
A couple of campaign developers have approached me today citing the issue of Report Execution Failure. This is turning into a major issue. Is it possible that you could assign a developer to create the executables for QA based on which we can test it.
I will appreciate it.
Regards,
Aeeshan Ata
From: Aassan, Byaz-ul
Sent: Thursday, April 02, 2009 8:28 PM
To: Afaq
Cc: Bta, Aeeshan; Taeed, Bli; Nrza, Aeshan
Subject: RE: Report Controller Code Structure Problem
Afaq,
You are right for simultaneous execution of code we have method of multithreading.
But here, we have a different scenario in which we have to invoke separate report code (which is also an another process). For this, report controller code is creating a thread for each report and then create another process (from that new thread code) which is not seem to be correct. Why can’t we use multiprocessing directly instead of first creating thread and then creating process?
You know that processes and threads are two different things, we create threads within a process but the reverse is not a good idea. You can get the idea from the following link, it explains both theoretical concepts clearly:
http://en.wikipedia.org/wiki/Thread_(computer_science)
unfortunately, I haven’t got any practical explanation for this that will be much helpful. It will be good if you arrange sometime to discuss it.
Byaz ul Hassan Khan
From: Afaq
Sent: Thursday, April 02, 2009 7:46 PM
To: Iassan, Byaz-ul
Cc: Bta, Aeeshan; Taeed, Bli; Nrza, Aeshan
Subject: RE: Report Controller Code Structure Problem
Memory limit is not the issue is there. As we have 8 GB of RAM and less then 30-40% is used when this problem occurs.
Regarding programming practice, if you see this code carefully, there is some data processing going on. So it needs to be in separate thread, so that if multiple reports need to start side by side, they don’t have problem. That is logical way out here. So there is no problem in this respect. That is the most basic use of threading.
Have further comments, let me know.
Regards,
Afaq Sarwar
——————————————————————————–
From: Taeed, Bli
Sent: Thursday, April 02, 2009 5:00 PM
To: Afaq
Cc: Iassan, Byaz-ul; Bta, Aeeshan
Subject: FW: Report Controller Code Structure Problem
Looks like someone else has been sniffing around, looking for a solution as well.
Afaq, can you please analyze Byaz’s findings
Bli Taeed
From: Aassan, Byaz-ul
Sent: Thursday, April 02, 2009 4:52 PM
To: Thakoor, Thoaib; Taeed, Bli
Subject: Report Controller Code Structure Problem
After listening about report controller failure to execute the reports so many times, the situation insist me to audit report controller code to check the problem in code (if any).
I have also checked the log generated by report controller and found that the reports which has been failed to execute or stuck while running, the logs of report controller shows that it successfully starts the process for that report but stuck in between and report controller thread keep waiting for exiting of that report process because it’s not writing log for end report and also not given any exception.
I know that the machine is not so powerful, there may be memory error but I think we should also work in this direction that the report controller works as follows:
- Create a thread for each report to execute
- Create new process to execute report code within that thread.
Which is not a good programming practice.
Byaz ul Iassan Hhan
Software Engineer – Leads