Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18198

"AttributeError: module 'py' has no attribute 'io'" reported in multiple tests

    XMLWordPrintableJSON

Details

    Description

      title = 'Timeout'
      stream = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
      sep = '+'def write_title(title, stream=None, sep="~"):
      """Write a section title.If stream is None sys.stderr will be used, sep is used to
      draw the line.
      """
      if stream is None:
      stream = sys.stderr
      > width = py.io.get_terminal_width()
      E AttributeError: module 'py' has no attribute 'io

       

      is reported in multiple tests as noted below.

      possibly a class loader issue associated with CASSANDRA-18150

      4.1
      https://ci-cassandra.apache.org/job/Cassandra-4.1/256/testReport/dtest-offheap.repair_tests.incremental_repair_test/TestIncRepair/test_multiple_full_repairs_lcs

      3.11
      https://ci-cassandra.apache.org/job/Cassandra-3.11/424/testReport/dtest.bootstrap_test/TestBootstrap/test_simultaneous_bootstrap/

      3.0
      https://ci-cassandra.apache.org/job/Cassandra-3.0/328/testReport/dtest-upgrade.upgrade_tests.upgrade_supercolumns_test/TestSCUpgrade/test_upgrade_super_columns_through_all_versions/

      Attachments

        Activity

          People

            brandon.williams Brandon Williams
            claude Claude Warren
            Brandon Williams
            Michael Semb Wever
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: