lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0-ea-b76) - Build # 4218 - Failure!
Date Sat, 09 Feb 2013 13:07:01 GMT
They put all that work into their sophisticated backwards
compatibility layer, and it still didnt work :)

On Sat, Feb 9, 2013 at 4:18 AM, Uwe Schindler <uwe@thetaphi.de> wrote:
> Hi,
>
> I found out what is causing this bug, it is a JDK 8 bug, a fix already exists but it
is not yet in version b76 of JDK 8. A nice explanation can be found in this eclipse issue:
> https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=399801
>
> In short - JDK 8 has a new crazy feature (that may help us in the future to make use
of interfaces in a backwards compatible way when new methods are added): This feature allows
to add new methods to interfaces (in the above case it is a new method in Principal interface
of the JDK): "public default boolean implies(Subject subject)" The keyword "default" in interfaces
means, that implementers do not need to implement this method, because it has a "default"
method body. In our case, commons-httpclient implements this interface and does (of course!)
*not* override this method.
>
> The problem is now the backwards compatibility code in JDK 8 for bytecode from earlier
Java versions. It happens that the verifier does not understand the connection between the
default method and the missing implementation in older pre-8 byte code.
>
> The fix should be this one (not sure):
> http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2013-January/005125.html
> http://cr.openjdk.java.net/~bharadwaj/8005689/webrev/
>
> The error is likely to be fixed in the next JDK snapshot builds, so I will revert to
b65 again!
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> Sent: Saturday, February 09, 2013 7:33 AM
>> To: dev@lucene.apache.org
>> Subject: RE: [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0-ea-b76) -
>> Build # 4218 - Failure!
>>
>> Hi,
>>
>> this seems to be a bug in either Commons-Http (using a method/signature
>> that’s not public) or suddenly Java 8 changed a signature in a non-backwards
>> compatible way. I'll dig and open bug report at Oracle or Commons-Http. The
>> reason for this appearing today for the first time was the upgrade of Java 8 to
>> build b76.
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>>
>> > -----Original Message-----
>> > From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>> > Sent: Saturday, February 09, 2013 2:46 AM
>> > To: dev@lucene.apache.org
>> > Subject: [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0-ea-b76) -
>> > Build #
>> > 4218 - Failure!
>> >
>> > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/4218/
>> > Java: 32bit/jdk1.8.0-ea-b76 -client -XX:+UseSerialGC
>> >
>> > 1 tests failed.
>> > REGRESSION:
>> > org.apache.solr.client.solrj.impl.HttpClientUtilTest.testSetParams
>> >
>> > Error Message:
>> > (class: org/apache/http/auth/BasicUserPrincipal, method: implies
>> signature:
>> > (Ljavax/security/auth/Subject;)Z) Illegal use of nonvirtual function
>> > call
>> >
>> > Stack Trace:
>> > java.lang.VerifyError: (class:
>> > org/apache/http/auth/BasicUserPrincipal,
>> > method: implies signature: (Ljavax/security/auth/Subject;)Z) Illegal
>> > use of nonvirtual function call
>> >     at
>> >
>> org.apache.http.auth.UsernamePasswordCredentials.<init>(UsernamePass
>> > wordCredentials.java:83)
>> >     at
>> > org.apache.solr.client.solrj.impl.HttpClientUtil.setBasicAuth(HttpClie
>> > ntUtil.ja
>> > va:147)
>> >     at
>> > org.apache.solr.client.solrj.impl.HttpClientConfigurer.configure(HttpC
>> > lientCo
>> > nfigurer.java:66)
>> >     at
>> >
>> org.apache.solr.client.solrj.impl.HttpClientUtil.configureClient(HttpClientUtil.
>> > java:115)
>> >     at
>> > org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClie
>> > ntUtil.jav
>> > a:105)
>> >     at
>> > org.apache.solr.client.solrj.impl.HttpClientUtilTest.testSetParams(Htt
>> > pClient
>> > UtilTest.java:53)
>> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >     at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> > ava:57)
>> >     at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> > sorImpl.java:43)
>> >     at java.lang.reflect.Method.invoke(Method.java:483)
>> >     at
>> >
>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
>> > Method.java:45)
>> >     at
>> > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCall
>> > able.jav
>> > a:15)
>> >     at
>> > org.junit.runners.model.FrameworkMethod.invokeExplosively(Framework
>> > Method.java:42)
>> >     at
>> >
>> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth
>> > od.java:20)
>> >     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>> >     at
>> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
>> > er.j
>> > ava:68)
>> >     at
>> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
>> > er.j
>> > ava:47)
>> >     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>> >     at
>> > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>> >     at
>> > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>> >     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>> >     at
>> > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>> >     at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>> >     at
>> > com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.execute(SlaveMain.ja
>> > va:1
>> > 80)
>> >     at
>> >
>> com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.main(SlaveMain.java:275)
>> >     at
>> > com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe.main(SlaveMainSa
>> > fe.j
>> > ava:12)
>> >
>> >
>> >
>> >
>> > Build Log:
>> > [...truncated 9806 lines...]
>> > [junit4:junit4] Suite: org.apache.solr.client.solrj.impl.HttpClientUtilTest
>> > [junit4:junit4]   2> 2223 T1 oascsi.HttpClientUtil.createClient Creating
new
>> > http client, config:
>> > [junit4:junit4]   2> 2226 T1 oascsi.HttpClientUtil.createClient Creating
new
>> > http client, config:custom-param=5
>> > [junit4:junit4]   2> 2230 T1 oascsi.HttpClientUtil.createClient Creating
new
>> > http client,
>> >
>> config:allowCompression=true&httpBasicAuthPassword=pass&httpBasicAut
>> >
>> hUser=user&connTimeout=12345&followRedirects=true&maxConnections=
>> >
>> 22345&maxConnectionsPerHost=32345&socketTimeout=42345&retry=false
>> > [junit4:junit4] ERROR   0.05s J1 | HttpClientUtilTest.testSetParams <<<
>> > [junit4:junit4]    > Throwable #1: java.lang.VerifyError: (class:
>> > org/apache/http/auth/BasicUserPrincipal, method: implies signature:
>> > (Ljavax/security/auth/Subject;)Z) Illegal use of nonvirtual function call
>> > [junit4:junit4]    >        at
>> >
>> org.apache.http.auth.UsernamePasswordCredentials.<init>(UsernamePass
>> > wordCredentials.java:83)
>> > [junit4:junit4]    >        at
>> > org.apache.solr.client.solrj.impl.HttpClientUtil.setBasicAuth(HttpClie
>> > ntUtil.ja
>> > va:147)
>> > [junit4:junit4]    >        at
>> > org.apache.solr.client.solrj.impl.HttpClientConfigurer.configure(HttpC
>> > lientCo
>> > nfigurer.java:66)
>> > [junit4:junit4]    >        at
>> >
>> org.apache.solr.client.solrj.impl.HttpClientUtil.configureClient(HttpClientUtil.
>> > java:115)
>> > [junit4:junit4]    >        at
>> > org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClie
>> > ntUtil.jav
>> > a:105)
>> > [junit4:junit4]    >        at
>> > org.apache.solr.client.solrj.impl.HttpClientUtilTest.testSetParams(Htt
>> > pClient
>> > UtilTest.java:53)
>> > [junit4:junit4]    >        at
>> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > [junit4:junit4]    >        at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> > ava:57)
>> > [junit4:junit4]    >        at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> > sorImpl.java:43)
>> > [junit4:junit4]    >        at java.lang.reflect.Method.invoke(Method.java:483)
>> > [junit4:junit4]    >        at
>> >
>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
>> > Method.java:45)
>> > [junit4:junit4]    >        at
>> > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCall
>> > able.jav
>> > a:15)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.model.FrameworkMethod.invokeExplosively(Framework
>> > Method.java:42)
>> > [junit4:junit4]    >        at
>> >
>> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth
>> > od.java:20)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
>> > er.j
>> > ava:68)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
>> > er.j
>> > ava:47)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>> > [junit4:junit4]    >        at
>> > org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>> > [junit4:junit4]    >        at
>> > com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.execute(SlaveMain.ja
>> > va:1
>> > 80)
>> > [junit4:junit4]    >        at
>> >
>> com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.main(SlaveMain.java:275)
>> > [junit4:junit4]    >        at
>> > com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe.main(SlaveMainSa
>> > fe.j
>> > ava:12)
>> > [junit4:junit4] Completed on J1 in 0.07s, 3 tests, 1 error <<< FAILURES!
>> >
>> > [...truncated 121 lines...]
>> > BUILD FAILED
>> > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:381: The
>> > following error occurred while executing this line:
>> > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:361: The
>> > following error occurred while executing this line:
>> > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:39: The
>> > following error occurred while executing this line:
>> > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build.xml:196:
>> > The following error occurred while executing this line:
>> > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/common-
>> > build.xml:447: The following error occurred while executing this line:
>> > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-
>> > build.xml:1202: The following error occurred while executing this line:
>> > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-
>> > build.xml:865: There were test failures: 45 suites, 259 tests, 1 error
>> >
>> > Total time: 41 minutes 48 seconds
>> > Build step 'Invoke Ant' marked build as failure Archiving artifacts
>> > Recording test results Description set: Java: 32bit/jdk1.8.0-ea-b76
>> > -client - XX:+UseSerialGC Email was triggered for: Failure Sending email for
>> trigger:
>> > Failure
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
>> commands, e-mail: dev-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

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


Mime
View raw message