NEW 53091
Flaky Test: java/lc3/JSObject/ToObject-001.html
https://bugs.webkit.org/show_bug.cgi?id=53091
Summary Flaky Test: java/lc3/JSObject/ToObject-001.html
WebKit Commit Bot
Reported 2011-01-25 09:42:51 PST
This is an automatically generated bug from the commit-queue. java/lc3/JSObject/ToObject-001.html has been flaky on the commit-queue. java/lc3/JSObject/ToObject-001.html was authored by ap@webkit.org. http://trac.webkit.org/browser/trunk/LayoutTests/java/lc3/JSObject/ToObject-001.html The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 80028 [details] on bug 53069. Bot: eseidel-cq-sl Port: Mac Platform: Mac OS X 10.6.6 The bots will update this with information from each new failure. If you believe this bug to be fixed or invalid, feel free to close. The bots will re-open if the flake re-occurs. If you would like to track this test fix with another bug, please close this bug as a duplicate. The bots will follow the duplicate chain when making future comments.
Attachments
Failure diff from eseidel-cq-sl (646 bytes, text/plain)
2011-01-25 09:42 PST, WebKit Commit Bot
no flags
Failure diff from eseidel-cq-sl (646 bytes, text/plain)
2011-01-26 12:04 PST, WebKit Commit Bot
no flags
Failure diff from eseidel-cq-sf (765 bytes, text/plain)
2011-03-15 21:09 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-3 (861 bytes, text/plain)
2011-03-21 20:22 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-3 (646 bytes, text/plain)
2011-03-29 10:41 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-8 (765 bytes, text/plain)
2011-04-01 14:33 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (765 bytes, text/plain)
2011-04-01 15:26 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (723 bytes, text/plain)
2011-04-01 23:25 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-8 (765 bytes, text/plain)
2011-04-06 09:07 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (723 bytes, text/plain)
2011-04-06 13:11 PDT, WebKit Commit Bot
no flags
Failure diff from eseidel-cq-sf (765 bytes, text/plain)
2011-04-08 13:37 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-8 (723 bytes, text/plain)
2011-04-08 18:39 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (723 bytes, text/plain)
2011-04-15 08:22 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-8 (723 bytes, text/plain)
2011-04-15 10:25 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (723 bytes, text/plain)
2011-04-17 00:42 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-8 (723 bytes, text/plain)
2011-04-18 10:52 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-3 (723 bytes, text/plain)
2011-04-18 20:50 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-4 (723 bytes, text/plain)
2011-04-21 00:42 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (765 bytes, text/plain)
2011-04-24 02:13 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-8 (723 bytes, text/plain)
2011-04-27 00:13 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-3 (723 bytes, text/plain)
2011-04-27 23:20 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-4 (723 bytes, text/plain)
2011-04-28 20:32 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (765 bytes, text/plain)
2011-04-29 17:13 PDT, WebKit Commit Bot
no flags
Failure diff from cr-jail-7 (723 bytes, text/plain)
2011-05-09 08:26 PDT, WebKit Commit Bot
no flags
WebKit Commit Bot
Comment 1 2011-01-25 09:42:55 PST
Created attachment 80072 [details] Failure diff from eseidel-cq-sl
WebKit Commit Bot
Comment 2 2011-01-26 12:04:18 PST
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 80169 [details] on bug 52873. Bot: eseidel-cq-sl Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 3 2011-01-26 12:04:20 PST
Created attachment 80216 [details] Failure diff from eseidel-cq-sl
Eric Seidel (no email)
Comment 4 2011-02-03 17:13:05 PST
This looks like the same as bug 51102.
WebKit Commit Bot
Comment 5 2011-03-15 21:09:50 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 85865 [details] on bug 56059. Bot: eseidel-cq-sf Port: Mac Platform: Mac OS X 10.6.4
WebKit Commit Bot
Comment 6 2011-03-15 21:09:53 PDT
Created attachment 85905 [details] Failure diff from eseidel-cq-sf
WebKit Commit Bot
Comment 7 2011-03-21 20:22:42 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 86290 [details] on bug 56728. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 8 2011-03-21 20:22:45 PDT
Created attachment 86411 [details] Failure diff from cr-jail-3
WebKit Commit Bot
Comment 9 2011-03-29 10:41:20 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87295 [details] on bug 57326. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 10 2011-03-29 10:41:23 PDT
Created attachment 87362 [details] Failure diff from cr-jail-3
WebKit Commit Bot
Comment 11 2011-04-01 14:33:39 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87752 [details] on bug 57551. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 12 2011-04-01 14:33:42 PDT
Created attachment 87914 [details] Failure diff from cr-jail-8
WebKit Commit Bot
Comment 13 2011-04-01 15:26:04 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87889 [details] on bug 51498. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 14 2011-04-01 15:26:07 PDT
Created attachment 87927 [details] Failure diff from cr-jail-7
WebKit Commit Bot
Comment 15 2011-04-01 23:25:36 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87960 [details] on bug 57692. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 16 2011-04-01 23:25:39 PDT
Created attachment 87970 [details] Failure diff from cr-jail-7
WebKit Commit Bot
Comment 17 2011-04-06 09:07:08 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88423 [details] on bug 57839. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 18 2011-04-06 09:07:12 PDT
Created attachment 88440 [details] Failure diff from cr-jail-8
WebKit Commit Bot
Comment 19 2011-04-06 13:11:53 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88470 [details] on bug 57863. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 20 2011-04-06 13:11:56 PDT
Created attachment 88497 [details] Failure diff from cr-jail-7
WebKit Commit Bot
Comment 21 2011-04-08 13:37:41 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88780 [details] on bug 57018. Bot: eseidel-cq-sf Port: Mac Platform: Mac OS X 10.6.4
WebKit Commit Bot
Comment 22 2011-04-08 13:37:44 PDT
Created attachment 88868 [details] Failure diff from eseidel-cq-sf
WebKit Commit Bot
Comment 23 2011-04-08 18:39:47 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88861 [details] on bug 58153. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 24 2011-04-08 18:39:50 PDT
Created attachment 88912 [details] Failure diff from cr-jail-8
WebKit Commit Bot
Comment 25 2011-04-15 08:22:40 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 89671 [details] on bug 58456. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 26 2011-04-15 08:22:44 PDT
Created attachment 89792 [details] Failure diff from cr-jail-7
WebKit Commit Bot
Comment 27 2011-04-15 10:25:46 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 89737 [details] on bug 58633. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 28 2011-04-15 10:25:49 PDT
Created attachment 89802 [details] Failure diff from cr-jail-8
WebKit Commit Bot
Comment 29 2011-04-17 00:42:38 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 89883 [details] on bug 41449. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 30 2011-04-17 00:42:41 PDT
Created attachment 89943 [details] Failure diff from cr-jail-7
Eric Seidel (no email)
Comment 31 2011-04-17 09:19:31 PDT
The failure seems to be: -FAIL dt.setObject( Math ); dt.PUB_OBJECT should be [object Math]. Was [object Math]. +FAIL dt.setObject( Math ); dt.PUB_OBJECT should be [object Math]. Was . or -FAIL dt.setObject( THIS ); dt.PUB_OBJECT should be [object DOMWindow]. Was [object DOMWindow]. +FAIL dt.setObject( THIS ); dt.PUB_OBJECT should be [object DOMWindow]. Was . or FAIL dt.setObject( Function ); dt.PUB_OBJECT should be function Function() { [native code] -} (of type function). Was function Function() { - [native code] -} (of type object). +} (of type function). Was (of type object). Something is fishy with the toString on this PUB_OBJECT thing.
Eric Seidel (no email)
Comment 32 2011-04-17 09:24:39 PDT
OK. So these are the last 3 tests in the ToObject-001.js file: var THIS = this; a[i++] = new TestObject( "dt.setObject( THIS )", "dt.PUB_OBJECT", "dt.getObject()", "dt.getObject().constructor", 'this', 'this.constructor'); a[i++] = new TestObject( "dt.setObject( Math )", "dt.PUB_OBJECT", "dt.getObject()", "dt.getObject().constructor", 'Math', 'Object'); a[i++] = new TestObject( "dt.setObject( Function )", "dt.PUB_OBJECT", "dt.getObject()", "dt.getObject().constructor", 'Function', 'Function');
Eric Seidel (no email)
Comment 33 2011-04-17 09:25:44 PDT
dt is: var dt = applet.createQAObject("com.netscape.javascript.qa.liveconnect.DataTypeClass");
Eric Seidel (no email)
Comment 34 2011-04-17 09:50:26 PDT
http://trac.webkit.org/browser/trunk/LayoutTests/java/lc3/sources/com/netscape/javascript/qa/liveconnect/DataTypeClass.java is the java involved in this test. (and possibly http://trac.webkit.org/browser/trunk/LayoutTests/java/lc3/sources/com/netscape/javascript/qa/lc3/jsobject/JSObject_001.java) My current theory is that there is some sort of race in the wrapping process. When we pass the object to java, it must end up being wrapped somehow. That wrapping might be going wrong or being racy?
Eric Seidel (no email)
Comment 35 2011-04-17 09:55:54 PDT
Java seems to try and use javascript from a specific thread. Code in jvalue convertValueToJValue(ExecState* exec, RootObject* rootObject, JSValue value, JavaType javaType, const char* javaClassName) // Convert value to a string if the target type is a java.lang.String, and we're not // converting from a null. if (!result.l && !strcmp(javaClassName, "java.lang.String")) { if (!value.isNull()) { UString stringValue = value.toString(exec); JNIEnv* env = getJNIEnv(); jobject javaString = env->functions->NewString(env, (const jchar*)stringValue.characters(), stringValue.length()); result.l = javaString; } } Doesn't seem to be trying to move to that thread. BUt maybe the JSLock is making sure we aren't competing with that thread anyway?
Eric Seidel (no email)
Comment 36 2011-04-17 10:03:19 PDT
jobject JavaJSObject::convertValueToJObject(JSValue value) const appears to be how we create the JavaJSObjects in the first place (when we're passing "THIS" in, etc.)
WebKit Commit Bot
Comment 37 2011-04-18 10:52:56 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90032 [details] on bug 42541. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 38 2011-04-18 10:52:59 PDT
Created attachment 90051 [details] Failure diff from cr-jail-8
WebKit Commit Bot
Comment 39 2011-04-18 20:50:01 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90082 [details] on bug 58798. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 40 2011-04-18 20:50:04 PDT
Created attachment 90136 [details] Failure diff from cr-jail-3
WebKit Commit Bot
Comment 41 2011-04-21 00:41:59 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90472 [details] on bug 59058. Bot: cr-jail-4 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 42 2011-04-21 00:42:02 PDT
Created attachment 90503 [details] Failure diff from cr-jail-4
WebKit Commit Bot
Comment 43 2011-04-24 02:13:27 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90874 [details] on bug 59296. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 44 2011-04-24 02:13:30 PDT
Created attachment 90879 [details] Failure diff from cr-jail-7
WebKit Commit Bot
Comment 45 2011-04-27 00:13:44 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91150 [details] on bug 59487. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 46 2011-04-27 00:13:47 PDT
Created attachment 91242 [details] Failure diff from cr-jail-8
WebKit Commit Bot
Comment 47 2011-04-27 23:20:03 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91390 [details] on bug 59234. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 48 2011-04-27 23:20:06 PDT
Created attachment 91435 [details] Failure diff from cr-jail-3
WebKit Commit Bot
Comment 49 2011-04-28 20:32:33 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91263 [details] on bug 54439. Bot: cr-jail-4 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 50 2011-04-28 20:32:36 PDT
Created attachment 91627 [details] Failure diff from cr-jail-4
WebKit Commit Bot
Comment 51 2011-04-29 17:13:50 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91730 [details] on bug 57330. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
WebKit Commit Bot
Comment 52 2011-04-29 17:13:53 PDT
Created attachment 91769 [details] Failure diff from cr-jail-7
WebKit Commit Bot
Comment 53 2011-05-09 08:26:21 PDT
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 92727 [details] on bug 60437. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.7
WebKit Commit Bot
Comment 54 2011-05-09 08:26:24 PDT
Created attachment 92792 [details] Failure diff from cr-jail-7
Note You need to log in before you can comment on or make changes to this bug.