Skip to content

Test failure in test_prep_genquery_iterator.Test_Genquery_Iterator.test_with_modified_rulebase_[on|off]_boundary #241

@SwooshyCueb

Description

@SwooshyCueb

#236 on irods/irods#8366 test failure in test_prep_genquery_iterator.Test_Genquery_Iterator.test_with_modified_rulebase_on_boundary:

--- IrodsSession: icommand executed by [otherrods#tempZone] [irm -f testColn.tar] --- 
Assert Command: irm -f testColn.tar
Expecting EMPTY: ['']
  stdout:
    | 
  stderr:
    |  ERROR: _rcConnect: connectToRhost error, server on d85089bb6392:1247 is probably down status = -116104 SYS_SOCK_READ_ERR, Connection reset by peer
Unexpected output on stderr

FAILED TESTING ASSERTION


FAIL (16.870s)

======================================================================
ERROR [0.000s]: test_with_modified_rulebase_on_boundary (irods.test.test_prep_genquery_iterator.Test_Genquery_Iterator.test_with_modified_rulebase_on_boundary)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 679, in test_with_modified_rulebase_on_boundary
    self.boundary_with_size(512 + 7 * 8 * 9, self.modify_rulebase_and_tst, pre_start = True)
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 700, in boundary_with_size
    func(N)
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 821, in modify_rulebase_and_tst
    IrodsController().start(test_mode=True)
  File "/var/lib/irods/scripts/irods/controller.py", line 112, in start
    self.wait_for_server_to_start()
  File "/var/lib/irods/scripts/irods/controller.py", line 212, in wait_for_server_to_start
    if self.is_server_listening_for_client_requests():
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/irods/scripts/irods/controller.py", line 198, in is_server_listening_for_client_requests
    message = s.recv(256)
              ^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer

======================================================================
FAIL [16.870s]: test_with_modified_rulebase_on_boundary (irods.test.test_prep_genquery_iterator.Test_Genquery_Iterator.test_with_modified_rulebase_on_boundary)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 843, in tearDown
    self.admin.assert_icommand('irm -f {}'.format(self.bundled_coll))
  File "/var/lib/irods/scripts/irods/test/session.py", line 162, in assert_icommand
    return assert_command(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/irods/scripts/irods/test/command.py", line 76, in assert_command
    return _assert_helper(*args, should_fail=False, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/irods/scripts/irods/test/command.py", line 104, in _assert_helper
    assert result
           ^^^^^^
AssertionError

And a very similar failure in test_prep_genquery_iterator.Test_Genquery_Iterator.test_with_modified_rulebase_off_boundary:

 --- IrodsSession: icommand executed by [otherrods#tempZone] [irm -f testColn.tar] --- 
Assert Command: irm -f testColn.tar
Expecting EMPTY: ['']
  stdout:
    | 
  stderr:
    |  ERROR: _rcConnect: connectToRhost error, server on 251bff493c2a:1247 is probably down status = -116104 SYS_SOCK_READ_ERR, Connection reset by peer
Unexpected output on stderr

FAILED TESTING ASSERTION


FAIL (15.328s)

======================================================================
ERROR [0.000s]: test_with_modified_rulebase_off_boundary (irods.test.test_prep_genquery_iterator.Test_Genquery_Iterator.test_with_modified_rulebase_off_boundary)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 668, in test_with_modified_rulebase_off_boundary
    self.boundary_with_size(512 + 7 * 8 * 9, self.modify_rulebase_and_tst, pre_start = True)
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 700, in boundary_with_size
    func(N)
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 821, in modify_rulebase_and_tst
    IrodsController().start(test_mode=True)
  File "/var/lib/irods/scripts/irods/controller.py", line 112, in start
    self.wait_for_server_to_start()
  File "/var/lib/irods/scripts/irods/controller.py", line 212, in wait_for_server_to_start
    if self.is_server_listening_for_client_requests():
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/irods/scripts/irods/controller.py", line 198, in is_server_listening_for_client_requests
    message = s.recv(256)
              ^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer

======================================================================
FAIL [15.328s]: test_with_modified_rulebase_off_boundary (irods.test.test_prep_genquery_iterator.Test_Genquery_Iterator.test_with_modified_rulebase_off_boundary)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/irods/scripts/irods/test/test_prep_genquery_iterator.py", line 843, in tearDown
    self.admin.assert_icommand('irm -f {}'.format(self.bundled_coll))
  File "/var/lib/irods/scripts/irods/test/session.py", line 162, in assert_icommand
    return assert_command(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/irods/scripts/irods/test/command.py", line 76, in assert_command
    return _assert_helper(*args, should_fail=False, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/irods/scripts/irods/test/command.py", line 104, in _assert_helper
    assert result
           ^^^^^^
AssertionError

Full test logs:
https://gist.github.com/SwooshyCueb/7a765d244f186bf8a49a0f92e70c671d
https://gist.github.com/SwooshyCueb/2790080940264009001ebba77a43c996

Tests run on Ubuntu 24.04 with Postgres 16 using the testing environment.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions