Skip to content

CI: fix esp32c61 flappiness#2298

Open
petermm wants to merge 1 commit intoatomvm:release-0.7from
petermm:ci-fix-esp32c61
Open

CI: fix esp32c61 flappiness#2298
petermm wants to merge 1 commit intoatomvm:release-0.7from
petermm:ci-fix-esp32c61

Conversation

@petermm
Copy link
Copy Markdown
Contributor

@petermm petermm commented May 7, 2026

In testing harness esp32c61 struggles with all the wifi tests, so we limit and optimise a bit.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

In testing harness esp32c61 struggles with all the wifi tests.

Signed-off-by: Peter M <petermm@gmail.com>
@petermm petermm force-pushed the ci-fix-esp32c61 branch from 63e4d49 to 21a9be5 Compare May 7, 2026 17:20
"Network: ",
SSID,
", BSSID: ",
bssid_hex(BSSID),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is a test. Are we asserting against the BSSID hex?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No asserts, suppose this an indirect test, and the entire thing is also indirectly an example.

Do you want to get rid of bssid_hex helpers? and just remove BSSID logging?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I the values are know in advance we should at least match them against some know values, so we can detect bugs in the network driver.
Anyway this suggestion is not about C61 flappiness, so it can be discuted/postponed to another PR.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

OK. I was just suggesting we are modifying dead code. No one reads this log I guess. But we can keep this homemade bin to hex.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don’t think the BSSID of the mock access point can be reliably be known ahead of time. I only added the logging to make the test more useful if someone wanted to smoke test on local hardware. For the sake of the CI it probably makes more sense to remove all logging rather that add unnecessary code that will make the CI take longer to run.

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.

4 participants