test_query_compact_tables_during_upgrade | Failure | Failed: Timeout >900.0s
self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f7acef4e100>
def test_query_compact_tables_during_upgrade(self):
"""
Check that un-upgraded sstables for compact storage tables
can be read after an upgrade. Checks for a regression where
when the coordinator is on < 3.0, a replica at >= 3.0 returns
0 results for any read request. When the >= 3.0 node is
the coordinator, the problem does not manifest. Likewise, if
the data is inserted after the replica is upgraded, or if
upgradesstables is run after upgrade, the query succeeds, so
the issue is with reading legacy format sstables in response to
a legacy format read request
@jira_ticket CASSANDRA-11087
"""
> cursor = self.prepare()
upgrade_tests/cql_tests.py:2738:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:88: in prepare
cluster.set_install_dir(version=self.UPGRADE_PATH.starting_version)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:111: in set_install_dir
dir, v = repository.setup(version, verbose)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/repository.py:99: in setup
download_version(version, verbose=verbose, binary=binary)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/repository.py:349: in download_version
__download(archive_url, target, show_progress=verbose)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/repository.py:546: in __download
buffer = u.read(block_sz)
/usr/lib/python3.8/http/client.py:459: in read
n = self.readinto(b)
/usr/lib/python3.8/http/client.py:503: in readinto
n = self.fp.readinto(b)
/usr/lib/python3.8/socket.py:669: in readinto
return self._sock.recv_into(b)
/usr/lib/python3.8/ssl.py:1270: in recv_into
return self.read(nbytes, buffer)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ssl.SSLSocket [closed] fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
len = 8192, buffer = <memory at 0x7f7acea4db80>
def read(self, len=1024, buffer=None):
"""Read up to LEN bytes and return them.
Return zero-length string on EOF."""
self._checkClosed()
if self._sslobj is None:
raise ValueError("Read on closed or unwrapped SSL socket.")
try:
if buffer is not None:
> return self._sslobj.read(len, buffer)
E Failed: Timeout >900.0s
/usr/lib/python3.8/ssl.py:1128: Failed | 900.005 |