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

cpu/esp32: increase timeout for spiffs and littlefs tests #12758

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

gschorcht
Copy link
Contributor

@gschorcht gschorcht commented Nov 20, 2019

Contribution description

The time it takes to erase the entire flash memory of an ESP32 board requires increasing the timeout for tests/pkg_spiffs and tests/pkg_littlefs.

Fixes the automatic tests of tests/pkg_spiffs and tests/pkg_littlefs for ESP32 boards.

This PR belongs to the series of PRs, each with very small changes that fix automatic tests on ESP32 boards.

Testing procedure

Make, flash and execute the tests mentioned.

make BOARD=esp32-wroom-32 -C tests/pkg_spiffs flash test
make BOARD=esp32-wroom-32 -C tests/pkg_littlefs flash test

Issues/PRs references

Requires #12752

@gschorcht gschorcht added Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Nov 20, 2019
cpu/esp32/Makefile.include Outdated Show resolved Hide resolved
cpu/esp32/Makefile.include Outdated Show resolved Hide resolved
cpu/esp32/Makefile.include Outdated Show resolved Hide resolved
@gschorcht
Copy link
Contributor Author

@aabadie Many thanks for reviewing 😄

Copy link
Contributor

@aabadie aabadie left a comment

Choose a reason for hiding this comment

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

ACK please squash!

The time it takes to erase the entire flash memory of an esp32 card requires increasing the timeout for tests/pkg_spiffs and tests/pkg_littlefs.
@gschorcht
Copy link
Contributor Author

Squashed.

@aabadie aabadie merged commit 178d0aa into RIOT-OS:master Nov 21, 2019
@gschorcht
Copy link
Contributor Author

Thanks.

@gschorcht gschorcht deleted the cpu/esp32/fix_fs_tests branch November 21, 2019 16:27
@kaspar030
Copy link
Contributor

The time it takes to erase the entire flash memory of an ESP32 board requires increasing the timeout for tests/pkg_spiffs and tests/pkg_littlefs.

this changes the timeout to five minutes, which is above the current maximum job length for Murdock. Does it really take that long on the esps?

@gschorcht
Copy link
Contributor Author

It takes quite long on ESPs. In contrast to other platforms, these tests use a real SPI flash of 4 MB or more. On ESP8266 it takes about 180 seconds, on ESP32 about 60 seconds, too much for the default timeout.

@fjmolinas fjmolinas added this to the Release 2020.01 milestone Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants