cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-13273) Test case : DatabaseDescriptorRefTest failing
Date Tue, 28 Feb 2017 09:53:45 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-13273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Stupp resolved CASSANDRA-13273.
--------------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: 3.10)

These mentioned classes are *not* part of the project's code base.

> Test case : DatabaseDescriptorRefTest failing
> ---------------------------------------------
>
>                 Key: CASSANDRA-13273
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13273
>             Project: Cassandra
>          Issue Type: Test
>          Components: Testing
>         Environment: amit@p006n03:~/cassandra$ lscpu
> Architecture:          ppc64le
> Byte Order:            Little Endian
> CPU(s):                160
> On-line CPU(s) list:   0-159
> Thread(s) per core:    8
> Core(s) per socket:    5
> Socket(s):             4
> NUMA node(s):          4
> Model:                 2.1 (pvr 004b 0201)
> Model name:            POWER8E (raw), altivec supported
> CPU max MHz:           3690.0000
> CPU min MHz:           2061.0000
> L1d cache:             64K
> L1i cache:             32K
> L2 cache:              512K
> L3 cache:              8192K
> NUMA node0 CPU(s):     0-39
> NUMA node1 CPU(s):     40-79
> NUMA node16 CPU(s):    80-119
> NUMA node17 CPU(s):    120-159
> amit@p006n03:~/cassandra$ cat /etc/os-release
> NAME="Ubuntu"
> VERSION="16.04.1 LTS (Xenial Xerus)"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 16.04.1 LTS"
> VERSION_ID="16.04"
> HOME_URL="http://www.ubuntu.com/"
> SUPPORT_URL="http://help.ubuntu.com/"
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
> VERSION_CODENAME=xenial
> UBUNTU_CODENAME=xenial
> amit@p006n03:~/cassandra$ bin/cqlsh
> Connected to Test Cluster at 127.0.0.1:9042.
> [cqlsh 5.0.1 | Cassandra 3.10-SNAPSHOT | CQL spec 3.4.3 | Native protocol v4]
> Use HELP for help.
> cqlsh> exit
>            Reporter: Amitkumar Ghatwal
>
> Hi All,
> I am getting test case failures for  "DatabaseDescriptorRefTest"
> ********************************************************
> amit@p006n03:~/cassandra$ ant test -Dtest.name=DatabaseDescriptorRefTest
> Buildfile: /home/amit/cassandra/build.xml
> init:
> maven-ant-tasks-localrepo:
> maven-ant-tasks-download:
> maven-ant-tasks-init:
> maven-declare-dependencies:
> maven-ant-tasks-retrieve-build:
> init-dependencies:
>      [echo] Loading dependency paths from file: /home/amit/cassandra/build/build-dependencies.xml
> init-dependencies:
>      [echo] Loading dependency paths from file: /home/amit/cassandra/build/build-dependencies-sources.xml
>     [unzip] Expanding: /home/amit/cassandra/build/lib/jars/org.jacoco.agent-0.7.5.201505241946.jar
into /home/amit/cassandra/build/lib/jars
> check-gen-cql3-grammar:
> gen-cql3-grammar:
> generate-cql-html:
> generate-jflex-java:
> build-project:
>      [echo] apache-cassandra: /home/amit/cassandra/build.xml
> createVersionPropFile:
> [propertyfile] Updating property file: /home/amit/cassandra/src/resources/org/apache/cassandra/config/version.properties
>      [copy] Copying 1 file to /home/amit/cassandra/build/classes/main
> build:
> build-test:
> test:
>     [junit] WARNING: multiple versions of ant detected in path for junit
>     [junit]          jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:file:/home/amit/cassandra/build/lib/jars/ant-1.9.4.jar!/org/apache/tools/ant/Project.class
>     [junit] Testsuite: org.apache.cassandra.config.DatabaseDescriptorRefTest
>     [junit] Testsuite: org.apache.cassandra.config.DatabaseDescriptorRefTest Tests run:
1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.006 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit] ERROR [main] 2017-02-26 09:56:05,169 ?:? - SLF4J: stderr
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit]
>     [junit]
>     [junit] VIOLATION: org.apache.cassandra.config.Config$CAPIFlashCommitlogChunkManagerType
>     [junit] java.lang.Exception
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest$1.findClass(DatabaseDescriptorRefTest.java:169)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     [junit]     at java.lang.Class.getDeclaredMethods0(Native Method)
>     [junit]     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>     [junit]     at java.lang.Class.getDeclaredMethod(Class.java:2128)
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest.testDatabaseDescriptorRef(DatabaseDescriptorRefTest.java:215)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:498)
>     [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>     [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>     [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>     [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>     [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
>     [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
>     [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>     [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>     [junit]     at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>     [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>     [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
>     [junit]
>     [junit]
>     [junit] VIOLATION: org.apache.cassandra.config.Config$CAPIFlashCommitlogBufferAllocationStrategyType
>     [junit] java.lang.Exception
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest$1.findClass(DatabaseDescriptorRefTest.java:169)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     [junit]     at java.lang.Class.getDeclaredMethods0(Native Method)
>     [junit]     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>     [junit]     at java.lang.Class.getDeclaredMethod(Class.java:2128)
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest.testDatabaseDescriptorRef(DatabaseDescriptorRefTest.java:215)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:498)
>     [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>     [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>     [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>     [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>     [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
>     [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
>     [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>     [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>     [junit]     at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>     [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>     [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
>     [junit]
>     [junit]
>     [junit] VIOLATION: org.apache.cassandra.config.Config$CommitLogType
>     [junit] java.lang.Exception
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest$1.findClass(DatabaseDescriptorRefTest.java:169)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     [junit]     at java.lang.Class.getDeclaredMethods0(Native Method)
>     [junit]     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>     [junit]     at java.lang.Class.getDeclaredMethod(Class.java:2128)
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest.testDatabaseDescriptorRef(DatabaseDescriptorRefTest.java:215)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     [junit]     at java.lang.reflect.Method.invoke(Method.java:498)
>     [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>     [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>     [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>     [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>     [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
>     [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
>     [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>     [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>     [junit]     at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>     [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>     [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
>     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testDatabaseDescriptorRef(org.apache.cassandra.config.DatabaseDescriptorRefTest):
FAILED
>     [junit]
>     [junit] junit.framework.AssertionFailedError:
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest.checkViolations(DatabaseDescriptorRefTest.java:248)
>     [junit]     at org.apache.cassandra.config.DatabaseDescriptorRefTest.testDatabaseDescriptorRef(DatabaseDescriptorRefTest.java:232)
>     [junit]
>     [junit]
>     [junit] Test org.apache.cassandra.config.DatabaseDescriptorRefTest FAILED
> [junitreport] Processing /home/amit/cassandra/build/test/TESTS-TestSuites.xml to /tmp/null1760310353
> [junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
> [junitreport] Transform time: 4854ms
> [junitreport] Deleting: /tmp/null1760310353
> BUILD FAILED
> /home/amit/cassandra/build.xml:1708: The following error occurred while executing this
line:
> /home/amit/cassandra/build.xml:1657: Some test(s) failed.
> Total time: 13 seconds
> amit@p006n03:~/cassandra$
> ********************************************************
> ************* complete test suite ********************
> $ ant test
> [junit] WARNING: multiple versions of ant detected in path for junit 
>     [junit]          jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:file:/home/amit/cassandra/build/lib/jars/ant-1.9.4.jar!/org/apache/tools/ant/Project.class
>     [junit] Testsuite: org.apache.cassandra.config.DatabaseDescriptorRefTest
>     [junit] Testsuite: org.apache.cassandra.config.DatabaseDescriptorRefTest Tests run:
1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.834 sec
>     [junit] 
>     [junit] Testcase: testDatabaseDescriptorRef(org.apache.cassandra.config.DatabaseDescriptorRefTest):
FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.cassandra.config.DatabaseDescriptorRefTest.checkViolations(DatabaseDescriptorRefTest.java:248)
>     [junit] 	at org.apache.cassandra.config.DatabaseDescriptorRefTest.testDatabaseDescriptorRef(DatabaseDescriptorRefTest.java:232)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.config.DatabaseDescriptorRefTest FAILED
>     [junit] WARNING: multiple versions of ant detected in path for junit 
>     [junit]          jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:file:/home/amit/cassandra/build/lib/jars/ant-1.9.4.jar!/org/apache/tools/ant/Project.class
>     [junit] Testsuite: org.apache.cassandra.config.DatabaseDescriptorTest
>     [junit] Testsuite: org.apache.cassandra.config.DatabaseDescriptorTest Tests run:
9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.974 sec
> ********************************************************
> Any pointers to resolve the above test case failures.
> Regards.
> Amit



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message