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/periph_flashpage: failing on stm32l475ve #17280

Open
fjmolinas opened this issue Nov 26, 2021 · 0 comments
Open

tests/periph_flashpage: failing on stm32l475ve #17280

fjmolinas opened this issue Nov 26, 2021 · 0 comments
Labels
Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@fjmolinas
Copy link
Contributor

Description

It seems that periph_flashpage does not work for stm32l475ve based on tests results in #17259.

Steps to reproduce the issue

Run tests/periph_flashpage and tests/mtd_flashpage, both should pass.

Expected results

Passing.

Actual results

INFO:alientek-pandora.tests/periph_flashpage:Board supported: True
INFO:alientek-pandora.tests/periph_flashpage:Board has enough memory: True
INFO:alientek-pandora.tests/periph_flashpage:Application has test: True
INFO:alientek-pandora.tests/periph_flashpage:Run compilation
INFO:alientek-pandora.tests/periph_flashpage:Run test
INFO:alientek-pandora.tests/periph_flashpage:Run test.flash
WARNING:alientek-pandora.tests/periph_flashpage:make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/periph_flashpage test


/home/luojia/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200" --no-reconnect --noprefix --no-repeat-command-on-empty-line 
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
on: buildtest)
ROM flash read write test

Please refer to the README.md for further information

Flash start addr:		0x08000000
Page size:			2048
Number of pages
> 

> test_last_raw

> test_last_raw
error verifying the content of last page
> Timeout in expect script at "child.expect_exact('wrote raw short buffer to last flash page')" (tests/periph_flashpage/tests/01-run.py:20)

make: *** [/home/luojia/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1

Return value: 2
INFO:alientek-pandora.tests/mtd_flashpage:Board supported: True
INFO:alientek-pandora.tests/mtd_flashpage:Board has enough memory: True
INFO:alientek-pandora.tests/mtd_flashpage:Application has test: True
INFO:alientek-pandora.tests/mtd_flashpage:Run compilation
INFO:alientek-pandora.tests/mtd_flashpage:Run test
INFO:alientek-pandora.tests/mtd_flashpage:Run test.flash
WARNING:alientek-pandora.tests/mtd_flashpage:make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/mtd_flashpage test
r
/home/luojia/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200" --no-reconnect --noprefix --no-repeat-command-on-empty-line 
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
t test, r to print it is ready
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: buildtest)
...
mtd_flashpage_tests.test_mtd_write_erase (tests/mtd_flashpage/main.c 109) exp 0 was 255
.
mtd_flashpage_tests.test_mtd_write_read (tests/mtd_flashpage/main.c 131) exp 0 was 65

run 4 failures 2
Timeout in expect script at "child.expect(r'OK \((\d+) tests\)', timeout=timeout)" (dist/pythonlibs/testrunner/__init__.py:57)

make: *** [/home/luojia/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1

Return value: 2

ERROR:alientek-pandora.tests/mtd_flashpage:Error during test, writing to results/alientek-pandora/tests/mtd_flashpage/test.failed
ERROR:alientek-pandora.tests/mtd_flashpage:Failed during: test

Versions

RIOT de32f3a

@kaspar030 kaspar030 changed the title tests/periph_flashapage: failing on stm32l475ve tests/periph_flashpage: failing on stm32l475ve Nov 26, 2021
@aabadie aabadie added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests

2 participants