You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Rajanarayanan Thottuvaikkatumana <rn...@gmail.com> on 2014/11/23 00:46:11 UTC
Error opening zip file or JAR manifest missing
While I am running some of the tests, I am getting the following error.
[junit] Error opening zip file or JAR manifest missing : /Users/RajT/cassandra-source/cassandra-trunk/lib/jamm-0.3.0.jar
In the git log, I could see the following.
f02d194 Add missing jamm jar from CASSANDRA-8231 commit
Are they related any way?
Thanks
-Raj
Re: Error opening zip file or JAR manifest missing
Posted by Yuki Morishita <mo...@gmail.com>.
Micheal,
Thanks, and done. :)
On Mon, Nov 24, 2014 at 6:37 PM, Michael Shuler <mi...@pbandjelly.org> wrote:
> On 11/22/2014 05:58 PM, Rajanarayanan Thottuvaikkatumana wrote:
>>
>> A huge number of tests are failing with the same error message.
>> Reproducing one of such errors.
>>
>> testlist:
>> [echo] running test bucket 0 tests
>> [mkdir] Created dir:
>> /Users/RajT/cassandra-source/cassandra-trunk/build/test/cassandra
>> [mkdir] Created dir:
>> /Users/RajT/cassandra-source/cassandra-trunk/build/test/output
>> [junit] WARNING: multiple versions of ant detected in path for junit
>> [junit]
>> jar:file:/usr/local/Cellar/ant/1.9.4/libexec/lib/ant.jar!/org/apache/tools/ant/Project.class
>> [junit] and
>> jar:file:/Users/RajT/cassandra-source/cassandra-trunk/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
>> [junit] Error occurred during initialization of VM
>> [junit] agent library failed to init: instrument
>> [junit] objc[1300]: Class JavaLaunchHelper is implemented in both
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/bin/java
>> and
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/libinstrument.dylib.
>> One of the two will be used. Which one is undefined.
>> [junit] Error opening zip file or JAR manifest missing :
>> /Users/RajT/cassandra-source/cassandra-trunk/lib/jamm-0.3.0.jar
>> [junit] Testsuite: org.apache.cassandra.cache.AutoSavingCacheTest
>> [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
>> elapsed: 0 sec
>> [junit]
>> [junit] Testcase:
>> org.apache.cassandra.cache.AutoSavingCacheTest:null: Caused an ERROR
>> [junit] Forked Java VM exited abnormally. Please note the time in the
>> report does not reflect the time until the VM exit.
>> [junit] junit.framework.AssertionFailedError: Forked Java VM exited
>> abnormally. Please note the time in the report does not reflect the time
>> until the VM exit.
>> [junit] at java.lang.Thread.run(Thread.java:745)
>
>
> I fixed this last time a new jamm jar was included. The problem is the
> conflict resolution on merge from 2.1 to trunk - value= is overwritten where
> there should be line=.
>
> Patch attached. Could someone commit this to trunk, pretty please? :)
>
> --
> Kind regards,
> Michael
>
--
Yuki Morishita
t:yukim (http://twitter.com/yukim)
Re: Error opening zip file or JAR manifest missing
Posted by Michael Shuler <mi...@pbandjelly.org>.
On 11/22/2014 05:58 PM, Rajanarayanan Thottuvaikkatumana wrote:
> A huge number of tests are failing with the same error message. Reproducing one of such errors.
>
> testlist:
> [echo] running test bucket 0 tests
> [mkdir] Created dir: /Users/RajT/cassandra-source/cassandra-trunk/build/test/cassandra
> [mkdir] Created dir: /Users/RajT/cassandra-source/cassandra-trunk/build/test/output
> [junit] WARNING: multiple versions of ant detected in path for junit
> [junit] jar:file:/usr/local/Cellar/ant/1.9.4/libexec/lib/ant.jar!/org/apache/tools/ant/Project.class
> [junit] and jar:file:/Users/RajT/cassandra-source/cassandra-trunk/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
> [junit] Error occurred during initialization of VM
> [junit] agent library failed to init: instrument
> [junit] objc[1300]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
> [junit] Error opening zip file or JAR manifest missing : /Users/RajT/cassandra-source/cassandra-trunk/lib/jamm-0.3.0.jar
> [junit] Testsuite: org.apache.cassandra.cache.AutoSavingCacheTest
> [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> [junit]
> [junit] Testcase: org.apache.cassandra.cache.AutoSavingCacheTest:null: Caused an ERROR
> [junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
> [junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
> [junit] at java.lang.Thread.run(Thread.java:745)
I fixed this last time a new jamm jar was included. The problem is the
conflict resolution on merge from 2.1 to trunk - value= is overwritten
where there should be line=.
Patch attached. Could someone commit this to trunk, pretty please? :)
--
Kind regards,
Michael
Re: Error opening zip file or JAR manifest missing
Posted by Rajanarayanan Thottuvaikkatumana <rn...@gmail.com>.
A huge number of tests are failing with the same error message. Reproducing one of such errors.
testlist:
[echo] running test bucket 0 tests
[mkdir] Created dir: /Users/RajT/cassandra-source/cassandra-trunk/build/test/cassandra
[mkdir] Created dir: /Users/RajT/cassandra-source/cassandra-trunk/build/test/output
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/local/Cellar/ant/1.9.4/libexec/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/Users/RajT/cassandra-source/cassandra-trunk/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
[junit] Error occurred during initialization of VM
[junit] agent library failed to init: instrument
[junit] objc[1300]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
[junit] Error opening zip file or JAR manifest missing : /Users/RajT/cassandra-source/cassandra-trunk/lib/jamm-0.3.0.jar
[junit] Testsuite: org.apache.cassandra.cache.AutoSavingCacheTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit]
[junit] Testcase: org.apache.cassandra.cache.AutoSavingCacheTest:null: Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit] at java.lang.Thread.run(Thread.java:745)
Thanks
-Raj
On 22-Nov-2014, at 11:46 pm, Rajanarayanan Thottuvaikkatumana <rn...@gmail.com> wrote:
> While I am running some of the tests, I am getting the following error.
>
> [junit] Error opening zip file or JAR manifest missing : /Users/RajT/cassandra-source/cassandra-trunk/lib/jamm-0.3.0.jar
>
> In the git log, I could see the following.
> f02d194 Add missing jamm jar from CASSANDRA-8231 commit
>
>
> Are they related any way?
>
> Thanks
> -Raj