Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/sys/shell: increase the stack size of periodic thread #20548

Merged
merged 2 commits into from
Apr 6, 2024

Conversation

dylad
Copy link
Member

@dylad dylad commented Apr 6, 2024

Contribution description

Increase the stack of the periodic thread which is started with the periodic command of tests/sys/shell.
On LLVM toolchain, the test fails as only one tick occurs. With this patch the test works as intended.

The behavior of the LLVM is unclear to me here, as it seems there is some data corruption occurring on the stack.

Testing procedure

CI catches this, so let's run the test on CI once again.

Issues/PRs references

See CI tests

Otherwise the test seems to be broken with LLVM toolchain

Signed-off-by: dylad <dylan.laduranty@mesotic.com>
@dylad dylad added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: run tests If set, CI server will run tests on hardware for the labeled PR labels Apr 6, 2024
@dylad dylad requested review from maribu and Teufelchen1 April 6, 2024 08:21
@github-actions github-actions bot added the Area: tests Area: tests and testing framework label Apr 6, 2024
@riot-ci
Copy link

riot-ci commented Apr 6, 2024

Murdock results

✔️ PASSED

1a69d9c tests/sys/shell: add boards to BOARD_INSUFFICIENT_MEMORY

Success Failures Total Runtime
65 0 66 01m:38s

Artifacts

@maribu
Copy link
Member

maribu commented Apr 6, 2024

Chances are high that this needs the Makefile.ci to be regenerated. You could to this using the script in dist/tools/insufficient_memory if this fails the Murdock pass.

@maribu maribu added this pull request to the merge queue Apr 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 6, 2024
@maribu
Copy link
Member

maribu commented Apr 6, 2024

Yep, the ATmega328P boards no longer fit.

@dylad
Copy link
Member Author

dylad commented Apr 6, 2024

round 2.

@dylad dylad enabled auto-merge April 6, 2024 09:00
@dylad dylad added this pull request to the merge queue Apr 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 6, 2024
@dylad dylad force-pushed the pr/tests/sys/shell/fix_ci_error_llvm branch 3 times, most recently from adbf7ec to 2ebc2a0 Compare April 6, 2024 09:22
@dylad dylad added this pull request to the merge queue Apr 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 6, 2024
@dylad dylad force-pushed the pr/tests/sys/shell/fix_ci_error_llvm branch 2 times, most recently from 933609a to 7931e01 Compare April 6, 2024 09:37
@dylad dylad added this pull request to the merge queue Apr 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 6, 2024
@dylad dylad force-pushed the pr/tests/sys/shell/fix_ci_error_llvm branch from 7931e01 to 6d79fc6 Compare April 6, 2024 09:47
@dylad dylad enabled auto-merge April 6, 2024 09:52
@dylad dylad added this pull request to the merge queue Apr 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 6, 2024
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
@dylad dylad force-pushed the pr/tests/sys/shell/fix_ci_error_llvm branch from 6d79fc6 to 1a69d9c Compare April 6, 2024 10:00
@dylad dylad added this pull request to the merge queue Apr 6, 2024
Merged via the queue into RIOT-OS:master with commit ad0d0b7 Apr 6, 2024
25 checks passed
@dylad
Copy link
Member Author

dylad commented Apr 6, 2024

Thanks !

@dylad dylad deleted the pr/tests/sys/shell/fix_ci_error_llvm branch April 6, 2024 11:02
@MrKevinWeiss MrKevinWeiss added this to the Release 2024.04 milestone Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 CI: run tests If set, CI server will run tests on hardware for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants