: Oh, nice ;) Apparently time zone -00:00 is different from +00:00...
: Depends on which side of the Greenwich your feet are on, he, he.

Fuck ... i even busted out test.iters=1000 looking for crap like this, 
and i still missed this case -- but of course Jenkins finds it first try.

The crazything: unless i have a serious bug in the test, both of those 
TimeZone objects came from calling TimeZone.getTimeZone("GMT-00") ... the 
only difference is that the "actual" call went through some string 
validation first to ensure it matcheda regex.

spooky fucking shit.

I'll dig in more.


: On Tue, Apr 24, 2012 at 7:11 PM, Apache Jenkins Server
: <jenk...@builds.apache.org> wrote:
: > Build: 
https://builds.apache.org/job/Lucene-Solr-tests-only-trunk-java7/2324/
: >
: > 1 tests failed.
: > FAILED:  org.apache.solr.util.TimeZoneUtilsTest.testRandom
: >
: > Error Message:
: > GMT-00 
expected:<sun.util.calendar.ZoneInfo[id="GMT-00:00",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]>
 but 
was:<sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]>
: >
: > Stack Trace:
: > java.lang.AssertionError: GMT-00 
expected:<sun.util.calendar.ZoneInfo[id="GMT-00:00",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]>
 but 
was:<sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]>
: >        at 
__randomizedtesting.SeedInfo.seed([A928CC75CAAEE111:DB64E97A7BCE5762]:0)
: >        at org.junit.Assert.fail(Assert.java:93)
: >        at org.junit.Assert.failNotEquals(Assert.java:647)
: >        at org.junit.Assert.assertEquals(Assert.java:128)
: >        at 
org.apache.solr.util.TimeZoneUtilsTest.testRandom(TimeZoneUtilsTest.java:96)
: >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
: >        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
: >        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
: >        at java.lang.reflect.Method.invoke(Method.java:601)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1913)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:131)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:805)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:866)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:880)
: >        at 
org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:759)
: >        at 
org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:681)
: >        at 
org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:69)
: >        at 
org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:614)
: >        at 
org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:75)
: >        at 
org.apache.lucene.util.LuceneTestCase$SaveThreadAndTestNameRule$1.evaluate(LuceneTestCase.java:653)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:812)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:131)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:668)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:687)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:723)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:734)
: >        at 
org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:75)
: >        at 
org.apache.lucene.util.StoreClassNameRule$1.evaluate(StoreClassNameRule.java:38)
: >        at 
org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:69)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:604)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:131)
: >        at 
com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:550)
: >
: >
: >
: >
: > Build Log (for compile errors):
: > [...truncated 8806 lines...]
: >
: >
: >
: >
: > ---------------------------------------------------------------------
: > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
: > For additional commands, e-mail: dev-h...@lucene.apache.org
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
: For additional commands, e-mail: dev-h...@lucene.apache.org
: 
: 

-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to