Skip to content

Conversation

ganeshmurthy
Copy link
Contributor

…erry Pi (#1746)

@ganeshmurthy ganeshmurthy changed the title Fixes #1745: Use the new ubuntu-24.04-arm runner instead of the Raspb… Fixes skupperproject#1750: Added asan and tsan to the new arm64 runner Mar 3, 2025
@ganeshmurthy ganeshmurthy requested a review from kgiusti March 3, 2025 23:37
@ganeshmurthy ganeshmurthy linked an issue Mar 3, 2025 that may be closed by this pull request
rx.teardown()
clogger.teardown()

self._wait_address_gone(self.EA1, "balanced/test-address")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason these are removed? The problem is if these addresses are not flushed out before the next test runs then they interfere with the test and things get flakey

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test was waiting on the _wait_address_gone() and looping inside that function and ultimately timed out. I removed it because test_13_streaming_balanced_parallel() was the last test in the test suite (StreamingMessageTest). I understand that removing this code would be a problem if we ever add a test_14 but this test annoyingly keeps failing intermittently in aarch64. I could put it back if you feel strongly about it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense, but it leaves a time bomb for some poor unsuspecting dev like myself when I forget that test_13_xxx must be last. Would you be ok with changing the test number to some obvious indication that it must be last and drop a comment? I know I've used the prefix test_9999_xxx in those other test cases were a test needed to be run last in a test case (see tcp adaptor tests for an example)


def add_receivers(self):
if len(self.receivers) < self.count:
while len(self.receivers) < self.count:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes the fundamental behavior of the test. But from looking at the router source code there is no MAX_KEPT_DELTAS appearing anywhere so maybe the functionality this test was intended to exercise is no longer present? @ted-ross does this test ring a bell?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAX_KEPT_DELTAS is no longer in the router. When the "mobile" functionality moved from Python to C, that feature was removed. MAX_KEPT_DELTAS is now effectively 1.

TopologyAdditionTests.routers.append(new_router)

TopologyAdditionTests.routers.append(TopologyAdditionTests.tester.qdrouterd(name, config, wait=True))
if neighbors is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@kgiusti kgiusti requested a review from ted-ross March 4, 2025 16:05
Copy link
Contributor

@kgiusti kgiusti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your patch LGTM.

self.delay_timer = None
self.count = 2000
self.count = 1000
self.delay_count = 12 # This should be larger than MAX_KEPT_DELTAS in mobile.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A value of 2 would achieve the desired result.

@ganeshmurthy ganeshmurthy merged commit 397c834 into skupperproject:main Mar 10, 2025
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce asan and tsan in the new arm64 github runner
3 participants