Skip to content

boards: common: stdio_cdc_acm: let tests wait a bit for serial port [backport 2023.01]#19143

Merged
bors[bot] merged 2 commits intoRIOT-OS:2023.01-branchfrom
kaspar030:backport/2023.01/stdio_cdc_acm/enh/tests-wait
Jan 14, 2023
Merged

boards: common: stdio_cdc_acm: let tests wait a bit for serial port [backport 2023.01]#19143
bors[bot] merged 2 commits intoRIOT-OS:2023.01-branchfrom
kaspar030:backport/2023.01/stdio_cdc_acm/enh/tests-wait

Conversation

@kaspar030
Copy link
Copy Markdown
Contributor

Backport of #19128

Contribution description

Some tests may fail spuriously with stdio_cdc_acm, since the tty might not exist yet. This configures a small delay after resetting for testutils and also piggybacks the honoring of that delay for the riotctrl-based tests.

Testing procedure

CI should pass all tests. Maybe we should also run tests-on-iotlab for this PR.

Issues/PRs references

None

@kaspar030 kaspar030 requested a review from miri64 as a code owner January 13, 2023 18:27
@kaspar030 kaspar030 added Area: boards Area: Board ports Area: build system Area: Build system Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation labels Jan 13, 2023
@riot-ci
Copy link
Copy Markdown

riot-ci commented Jan 13, 2023

Murdock results

✔️ PASSED

d8b2156 tests/congure_*: wait for serial port after reset if configured

Success Failures Total Runtime
6770 0 6770 12m:42s

Artifacts

@kaspar030
Copy link
Copy Markdown
Contributor Author

bors merge

@kaspar030 kaspar030 added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation and removed Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation labels Jan 13, 2023
bors bot added a commit that referenced this pull request Jan 13, 2023
19143: boards: common: stdio_cdc_acm: let tests wait a bit for serial port [backport 2023.01] r=kaspar030 a=kaspar030

# Backport of #19128



Co-authored-by: Martine Lenders <[email protected]>
@kaspar030
Copy link
Copy Markdown
Contributor Author

bors cancel
bors merge

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Jan 13, 2023

Canceled.

bors bot added a commit that referenced this pull request Jan 13, 2023
19143: boards: common: stdio_cdc_acm: let tests wait a bit for serial port [backport 2023.01] r=kaspar030 a=kaspar030

# Backport of #19128



19144: shell/rtc: Fix out of bounds access; document error behavior [backport 2023.01] r=kaspar030 a=kaspar030

# Backport of #19141

### Contribution description



### Testing procedure

Should be trivial enough, especially as the difference is hard to spot interactively.

On native, run the default example (and wait for the traffic to settle).

Then, run

```
> rtc poweron
> rtc settime 2022-01-01 00:00:00
> rtc settime 2022-99-01 00:00:00
```

Both still work, but the latter doesn't access unassigned memory any more

### Issues/PRs references

This fixes an issue that was submitted anonymously.

Co-authored-by: Martine Lenders <[email protected]>
Co-authored-by: chrysn <[email protected]>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Jan 13, 2023

Build failed (retrying...):

bors bot added a commit that referenced this pull request Jan 13, 2023
19143: boards: common: stdio_cdc_acm: let tests wait a bit for serial port [backport 2023.01] r=kaspar030 a=kaspar030

# Backport of #19128



Co-authored-by: Martine Lenders <[email protected]>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Jan 14, 2023

Build failed:

@maribu
Copy link
Copy Markdown
Member

maribu commented Jan 14, 2023

bors retry

The flaky tests/gnrc_rpl again failed on tatooine

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Jan 14, 2023

Build succeeded:

@bors bors bot merged commit e209831 into RIOT-OS:2023.01-branch Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: boards Area: Board ports Area: build system Area: Build system Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants