You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2022/04/25 16:41:00 UTC

[jira] [Commented] (CASSANDRA-17456) Test Failures: write_failures_test.TestMultiDCWriteFailures.test_oversized_mutation

    [ https://issues.apache.org/jira/browse/CASSANDRA-17456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527628#comment-17527628 ] 

Andres de la Peña commented on CASSANDRA-17456:
-----------------------------------------------

Looks good to me, here is a CircleCI run including some repeated runs of the new in-JVM dtest on the multiplexer:
||Patch||CircleCI||
|[trunk|https://github.com/adelapena/cassandra/commit/f2bb81f9d26ca0281990861c9b72ba0809c7723c]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1504/workflows/530f2000-55e0-4416-9beb-24cfc198f477] [j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1504/workflows/cf2da305-3246-4355-8c22-30ccddcc664c]|

> Test Failures: write_failures_test.TestMultiDCWriteFailures.test_oversized_mutation
> -----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17456
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17456
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: Ekaterina Dimitrova
>            Assignee: Aleksandr Sorokoumov
>            Priority: Normal
>             Fix For: 4.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> https://ci-cassandra.apache.org/job/Cassandra-trunk/1002/testReport/dtest-offheap.write_failures_test/TestMultiDCWriteFailures/test_oversized_mutation/
> {code:java}
> Error Message
> AssertionError: assert 0 == 8  +  where 8 = <bound method JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent object at 0x7f1fca78dac0>>('org.apache.cassandra.metrics:type=Storage,name=TotalHints', 'Count')  +    where <bound method JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent object at 0x7f1fca78dac0>> = <tools.jmxutils.JolokiaAgent object at 0x7f1fca78dac0>.read_attribute  +    and   'org.apache.cassandra.metrics:type=Storage,name=TotalHints' = make_mbean('metrics', type='Storage', name='TotalHints')
> Stacktrace
> self = <write_failures_test.TestMultiDCWriteFailures object at 0x7f1fca9dac40>
>     def test_oversized_mutation(self):
>         """
>             Test that multi-DC write failures return operation failed rather than a timeout.
>             @jira_ticket CASSANDRA-16334.
>             """
>     
>         cluster = self.cluster
>         cluster.populate([2, 2])
>         cluster.set_configuration_options(values={'max_mutation_size_in_kb': 128})
>         cluster.start()
>     
>         node1 = cluster.nodelist()[0]
>         session = self.patient_exclusive_cql_connection(node1)
>     
>         session.execute("CREATE KEYSPACE k WITH replication = {'class': 'NetworkTopologyStrategy', 'dc1': 2, 'dc2': 2}")
>         session.execute("CREATE TABLE k.t (key int PRIMARY KEY, val blob)")
>     
>         payload = '1' * 1024 * 256
>         query = "INSERT INTO k.t (key, val) VALUES (1, textAsBlob('{}'))".format(payload)
>     
>         assert_write_failure(session, query, ConsistencyLevel.LOCAL_ONE)
>         assert_write_failure(session, query, ConsistencyLevel.ONE)
>     
>         # verify that no hints are created
>         with JolokiaAgent(node1) as jmx:
> >           assert 0 == jmx.read_attribute(make_mbean('metrics', type='Storage', name='TotalHints'), 'Count')
> E           AssertionError: assert 0 == 8
> E            +  where 8 = <bound method JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent object at 0x7f1fca78dac0>>('org.apache.cassandra.metrics:type=Storage,name=TotalHints', 'Count')
> E            +    where <bound method JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent object at 0x7f1fca78dac0>> = <tools.jmxutils.JolokiaAgent object at 0x7f1fca78dac0>.read_attribute
> E            +    and   'org.apache.cassandra.metrics:type=Storage,name=TotalHints' = make_mbean('metrics', type='Storage', name='TotalHints')
> write_failures_test.py:277: AssertionError
> REST API
> CloudBees CI Client Controller 2.319.3.4-rolling
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org