Bug 207551 - [results] Generated perf results pages are empty when using local data files
Summary: [results] Generated perf results pages are empty when using local data files
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance, test
Depends on:
Blocks:
 
Reported: 2007-10-26 04:27 EDT by Frederic Fusier CLA
Modified: 2008-09-19 04:26 EDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.56 KB, patch)
2007-10-26 05:22 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2007-10-26 04:27:34 EDT
I tried to re-generate performance results HTML page of I20071023-0800 build using the local data files. All php pages are generated but does not have any data in it. All scenario status tables contain n/a instead of expected values and no fingerprints are available...
Comment 1 Frederic Fusier CLA 2007-10-26 04:28:45 EDT
Kim,
Until this bug is fixed, please remove the -dataDir argument from command line while generating the performance results.
Thanks
Comment 2 Frederic Fusier CLA 2007-10-26 05:22:17 EDT
Created attachment 81248 [details]
Proposed patch

Problem came from the build date which was stored as a long (time). The date formatter used to read the date from the build name didn't specify the Time Zone and so, it was different while writting/reading local files from my test box or build server...

Fix is just to set the Time Zone to 'GTM+6:00' for the date formatter...
Comment 3 Frederic Fusier CLA 2007-10-26 05:26:51 EDT
Reduce severity as this problem will not break the generation on build server which always uses the same local. However, the problem however, needs to be fixed otherwise, it would not be possible to use the local files written on build server...

Kim, it will not be necessary to remove the -dataDir from command line, but the local files will need to be deleted when releasing the fix for this bug as the stored time will not be the same...
Comment 4 Kim Moir CLA 2007-10-28 20:27:02 EDT
okay, let me know when you want me to release and patch and I'll delete the files on the build machine.
Comment 5 Frederic Fusier CLA 2007-11-05 13:09:20 EST
Released for 3.4M4 in HEAD stream
Comment 6 Frederic Fusier CLA 2007-11-16 10:51:06 EST
Kim,
The previous patch didn't really fix the issue. I've released new changes to hopefully definitely fix it.
Can you delete the files on the build machine again ?
Thanks