You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2024/04/01 13:41:00 UTC

[jira] [Commented] (CASSANDRA-19450) Hygiene updates for warnings and pytests

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

Stefan Miklosovic commented on CASSANDRA-19450:
-----------------------------------------------

it seems like there is something going on with java11_pre-commit_tests workflow for j11_cqlsh_dtests_py311 job.

I have not checked the cause though. 

[CASSANDRA-19450|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19450]
{noformat}
java17_pre-commit_tests                         
  ✓ j17_build                                        4m 14s
  ✓ j17_cqlsh_dtests_py311                           6m 35s
  ✓ j17_cqlsh_dtests_py311_vnode                     7m 33s
  ✓ j17_cqlsh_dtests_py38                             7m 4s
  ✓ j17_cqlsh_dtests_py38_vnode                      6m 58s
  ✓ j17_cqlshlib_cython_tests                        7m 43s
  ✓ j17_cqlshlib_tests                               6m 54s
  ✓ j17_unit_tests                                  13m 38s
  ✓ j17_utests_latest                               14m 27s
  ✓ j17_utests_oa                                   13m 22s
  ✕ j17_dtests                                      36m 25s
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j17_dtests_latest                               35m 29s
      bootstrap_test.TestBootstrap test_bootstrap_with_reset_bootstrap_state
      offline_tools_test.TestOfflineTools test_sstablelevelreset
      offline_tools_test.TestOfflineTools test_sstableofflinerelevel
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j17_dtests_vnode                                34m 44s
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j17_jvm_dtests                                  25m 58s
  ✕ j17_jvm_dtests_latest_vnode                     24m 52s
      junit.framework.TestSuite org.apache.cassandra.fuzz.harry.integration.model.InJVMTokenAwareExecutorTest TIMEOUTED
      org.apache.cassandra.distributed.test.tcm.SplitBrainTest testSplitBrainStartup TIMEOUTED
      org.apache.cassandra.distributed.test.guardrails.GuardrailCollectionSizeOnSSTableWriteTest testListSize
java17_separate_tests                            
java11_pre-commit_tests                         
  ✓ j11_build                                        7m 11s
  ✓ j11_cqlsh_dtests_py311_vnode                     7m 19s
  ✓ j11_cqlsh_dtests_py38                           10m 23s
  ✓ j11_cqlsh_dtests_py38_vnode                      7m 53s
  ✓ j11_cqlshlib_cython_tests                       10m 16s
  ✓ j11_cqlshlib_tests                              10m 28s
  ✓ j11_jvm_dtests                                   29m 7s
  ✓ j11_simulator_dtests                             8m 47s
  ✓ j11_unit_tests                                  15m 27s
  ✓ j11_utests_latest                               18m 26s
  ✓ j11_utests_oa                                    16m 3s
  ✓ j11_utests_system_keyspace_directory             15m 5s
  ✓ j17_cqlsh_dtests_py311                           6m 54s
  ✓ j17_cqlsh_dtests_py311_vnode                     7m 13s
  ✓ j17_cqlsh_dtests_py38                            7m 17s
  ✓ j17_cqlsh_dtests_py38_vnode                      7m 16s
  ✓ j17_cqlshlib_cython_tests                        7m 28s
  ✓ j17_cqlshlib_tests                               6m 30s
  ✓ j17_unit_tests                                  13m 58s
  ✓ j17_utests_latest                               14m 49s
  ✕ j11_cqlsh_dtests_py311                           9m 34s
      cqlsh_tests.test_cqlsh.TestCqlshUnicode test_cqlsh_source
      cqlsh_tests.test_cqlsh.TestCqlshSmoke test_batch
      cqlsh_tests.test_cqlsh.TestCqlshSmoke test_truncate
  ✕ j11_dtests                                      37m 11s
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j11_dtests_latest                               38m 55s
      bootstrap_test.TestBootstrap test_bootstrap_with_reset_bootstrap_state
      offline_tools_test.TestOfflineTools test_sstablelevelreset
      offline_tools_test.TestOfflineTools test_sstableofflinerelevel
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j11_dtests_vnode                                 37m 4s
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j11_jvm_dtests_latest_vnode                     25m 28s
      org.apache.cassandra.distributed.test.tcm.SplitBrainTest testSplitBrainStartup TIMEOUTED
  ✕ j17_dtests                                      36m 42s
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j17_dtests_latest                               34m 46s
      bootstrap_test.TestBootstrap test_bootstrap_with_reset_bootstrap_state
      offline_tools_test.TestOfflineTools test_sstablelevelreset
      offline_tools_test.TestOfflineTools test_sstableofflinerelevel
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j17_dtests_vnode                                34m 59s
      gossip_test.TestGossip test_assassinate_valid_node
  ✕ j17_jvm_dtests                                   27m 8s
      org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest testEndpointVerificationEnabledIpNotInSAN TIMEOUTED
  ✕ j17_jvm_dtests_latest_vnode                     24m 56s
      junit.framework.TestSuite org.apache.cassandra.fuzz.harry.integration.model.InJVMTokenAwareExecutorTest TIMEOUTED
  ✕ j17_utests_oa                                   13m 34s
      org.apache.cassandra.net.ConnectionTest testTimeout
java11_separate_tests                            
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4101/workflows/3d80138c-cf9a-41de-9f02-14e0da60cc41]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4101/workflows/8d879cf8-df92-4a34-8319-debaa478b483]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4101/workflows/096ece31-0551-4adf-ac5c-55d5864f0b6d]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4101/workflows/ad54cfd7-eaa5-4d9d-8618-9fdbfb24ced7]


> Hygiene updates for warnings and pytests
> ----------------------------------------
>
>                 Key: CASSANDRA-19450
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19450
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL/Interpreter
>            Reporter: Brad Schoening
>            Assignee: Brad Schoening
>            Priority: Low
>             Fix For: 5.x
>
>
>  
>  * Update 'Warning' message to write to stderr
>  * Replace TimeoutError Exception with builtin (since Python 3.3)
>  * -Remove re.pattern_type (removed since Python 3.7)-
>  * Fix mutable arg [] in read_until()
>  * Remove redirect of stderr to stdout in pytest fixture with tty=false; Deprecation warnings can otherwise fail unit tests when stdout & stderr output is combined.
>  * Fix several pycodestyle issues



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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