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

Test failure in upgrade_tests.cql_tests.cls.test_limit_ranges

    XMLWordPrintableJSON

Details

    Description

      https://ci-cassandra.apache.org/job/Cassandra-trunk/1434/testReport/dtest-upgrade.upgrade_tests.cql_tests/cls/test_limit_ranges/

      self = <abc.TestCQLNodes2RF1_Upgrade_indev_4_1_x_To_indev_trunk object at 0x7f27f9268e10>
      
          def test_limit_ranges(self):
              """ Validate LIMIT option for 'range queries' in SELECT statements """
              cursor = self.prepare(ordered=True)
          
              cursor.execute("""
                  CREATE TABLE clicks (
                      userid int,
                      url text,
                      time bigint,
                      PRIMARY KEY (userid, url)
                  ) WITH COMPACT STORAGE;
              """)
          
      >       for is_upgraded, cursor in self.do_upgrade(cursor):
      
      upgrade_tests/cql_tests.py:318: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      upgrade_tests/upgrade_base.py:197: in do_upgrade
          node1.start(wait_for_binary_proto=True)
      ../venv/lib/python3.11/site-packages/ccmlib/node.py:896: in start
          node.watch_log_for_alive(self, from_mark=mark)
      ../venv/lib/python3.11/site-packages/ccmlib/node.py:665: in watch_log_for_alive
          self.watch_log_for(tofind, from_mark=from_mark, timeout=timeout, filename=filename)
      ../venv/lib/python3.11/site-packages/ccmlib/node.py:584: in watch_log_for
          time.sleep(1)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      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'
      
      ../venv/lib/python3.11/site-packages/pytest_timeout.py:444: AttributeError
      

      Attachments

        Issue Links

          Activity

            People

              brandon.williams Brandon Williams
              maedhroz Caleb Rackliffe
              Brandon Williams
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: