Closed
Bug 526234
Opened 15 years ago
Closed 13 years ago
[Perf suite] Ensure that self validating testcases will fail
Categories
(Tamarin Graveyard :: Tools, defect, P3)
Tamarin Graveyard
Tools
Tracking
(Not tracked)
VERIFIED
FIXED
Q3 11 - Serrano
People
(Reporter: brbaker, Assigned: brbaker)
References
Details
Attachments
(1 file, 10 obsolete files)
(deleted),
patch
|
dschaffe
:
review+
|
Details | Diff | Splinter Review |
1) There are some performance tests that have self validation that does not have a correct "reference" value
2) If validation currently fails not all tests will be tracked as a failure when running via runtests.py
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Assignee | ||
Comment 1•15 years ago
|
||
This patch was previously approved by dschaffe on bug 513229
Attachment #409940 -
Flags: review+
Assignee | ||
Comment 2•15 years ago
|
||
untyped jsbench testcases will now properly self validate and if they fail validation they will not output the "metric" causing them to properly fail when run via performance/runtests.py
Attachment #410222 -
Flags: review?(dschaffe)
Assignee | ||
Comment 3•15 years ago
|
||
- important change here is the moldyn now actually works, previously was generating bogus calculations (NaN), now works properly
Attachment #410222 -
Attachment is obsolete: true
Attachment #410261 -
Flags: review?(dschaffe)
Attachment #410222 -
Flags: review?(dschaffe)
Assignee | ||
Comment 4•15 years ago
|
||
- important change here is the moldyn now actually works, previously was generating bogus calculations (NaN), now works properly
Attachment #410263 -
Flags: review?(dschaffe)
Comment 5•15 years ago
|
||
I am getting RayTracer failure on my desktop mac for typed and untyped. Have you seen it?
Validation failed
Pixel checksum = 302690
Reference value = 302532
Validation failed
Pixel checksum = 302690
Reference value = 302532
test failed validation!
jsbench/RayTracer.as no test result - test output: ['Validation failed\n', 'Pixel checksum = 302690\n', 'Reference value = 302532\n', 'Validation failed\n', 'Pixel checksum = 302690\n', 'Reference value = 302532\n', 'test failed validation!\n']
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.1
Updated•15 years ago
|
Attachment #410261 -
Flags: review?(dschaffe) → review-
Updated•15 years ago
|
Attachment #410263 -
Flags: review?(dschaffe) → review-
Comment 6•15 years ago
|
||
The following performance tests are failing verification:
jsbench/Euler.as
jsbench/FFT.as
jsbench/RayTracer.as
jsbench/typed/Euler.as
jsbench/typed/FFT.as
jsbench/typed/RayTracer.as
sunspider/as3vector/s3d-cube.as
Comment 7•15 years ago
|
||
Simple patch that checks for validation failure in performance tests and then does not record metric when validation fails. Tests need to be fixed before submitting this patch as it will fail in the performance phase.
Attachment #431365 -
Flags: review?(brbaker)
Assignee | ||
Updated•15 years ago
|
Attachment #431365 -
Flags: review?(brbaker) → review+
Assignee | ||
Comment 8•15 years ago
|
||
Comment on attachment 431365 [details] [diff] [review]
Explicitly look for validation failures in tests, do not record results
Should this code just be removed instead of just commented out?
for f in out1:
for line in f:
print(line.strip())
Other patches will need to be scrubbed and rebased before this can land
Comment 9•15 years ago
|
||
Are we certain that all failures result in the string "Validation failed" ?
For example, jsbench/LUFact.as prints a computed and a reference value
which differ in my test run, but no explicit error message is displayed.
Assignee | ||
Comment 10•14 years ago
|
||
Rebased patch.
RayTracer now has 2 'valid' results since Math.tan() produces different results on mac-intel which changes the checksum of the image (bug #594836)
- important change here is the moldyn now actually works, previously was
generating bogus calculations (NaN), now works properly
Attachment #410261 -
Attachment is obsolete: true
Attachment #410263 -
Attachment is obsolete: true
Assignee | ||
Comment 11•14 years ago
|
||
Attachment #474021 -
Attachment is obsolete: true
Assignee | ||
Comment 12•14 years ago
|
||
Attachment #409940 -
Attachment is obsolete: true
Assignee | ||
Comment 13•14 years ago
|
||
Assignee | ||
Comment 14•14 years ago
|
||
Attachment #431365 -
Attachment is obsolete: true
Assignee | ||
Comment 15•14 years ago
|
||
With the current set of patches self validating tests are working correctly and if self validation fails the runtests will not record a metric value (both because no metric is generated but also because "validation failed" is found in the output).
Comment 16•13 years ago
|
||
status?
Assignee | ||
Comment 17•13 years ago
|
||
This is a rebased and combined patch of previous patches. I have run this patch through the following configurations:
mac 32/64, win32/64, linux 32/64 and android-arm
Attachment #474038 -
Attachment is obsolete: true
Attachment #474039 -
Attachment is obsolete: true
Attachment #474040 -
Attachment is obsolete: true
Attachment #474041 -
Attachment is obsolete: true
Attachment #529659 -
Flags: review?(dschaffe)
Assignee | ||
Updated•13 years ago
|
Flags: flashplayer-bug-
Updated•13 years ago
|
Attachment #529659 -
Flags: review?(dschaffe) → review+
Comment 18•13 years ago
|
||
changeset: 6255:c69cfc4d7c51
user: Brent Baker <brbaker@adobe.com>
summary: Bug 526234: enable self validation to fail a performance testcase and not record a metric (r=dschaffe)
http://hg.mozilla.org/tamarin-redux/rev/c69cfc4d7c51
Assignee | ||
Comment 19•13 years ago
|
||
jsbench validation for LUFact, Moldyn and Raytrace are failing on linux32, this is not an injection and has been found to happen as far back as coral. This is being tracked via bug# 654498.
Closing this bug since all available work/patches have been committed
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•