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

Add faketime test script #7729

Open
yuhaoth opened this issue Jun 12, 2023 · 2 comments · Fixed by Mbed-TLS/mbedtls-test#108 · May be fixed by #7799 or #7866
Open

Add faketime test script #7729

yuhaoth opened this issue Jun 12, 2023 · 2 comments · Fixed by Mbed-TLS/mbedtls-test#108 · May be fixed by #7799 or #7866
Assignees
Labels
component-test Test framework and CI scripts priority-high High priority - will be reviewed soon

Comments

@yuhaoth
Copy link
Contributor

yuhaoth commented Jun 12, 2023

Suggested enhancement

The scripts will enable faketime and run components that does not conflicts with faketime. And the script will be run in new night build Jenkins job.

This script should include components in all.sh that does not use ASAN ( that is conflict with faketime). It should have similar interface with all.sh and enable faketime when running.

This script pick up components in all.sh that can cover all files in tests/data_files.

It is a nice to have feature for 2023Q2 . Related: run this script on the CI

Justification

Mbed TLS needs this because we should detect which certificate are going to expire. If found in time, we can update them before they expire.

@yuhaoth yuhaoth added component-test Test framework and CI scripts priority-high High priority - will be reviewed soon labels Jun 12, 2023
@gilles-peskine-arm
Copy link
Contributor

I don't think we need to run all the components of all.sh for that. Do we need more than one run with config.py full; make test; ssl-opt.sh?

@yuhaoth
Copy link
Contributor Author

yuhaoth commented Jun 12, 2023

I don't think we need to run all the components of all.sh for that. Do we need more than one run with config.py full; make test; ssl-opt.sh?

I have update the description.

data_files/server9-bad-saltlen.crt is not covered by config.py full and we need config.py default also(without MBEDTLS_USE_PSA_CRYPTO).

@yuhaoth yuhaoth linked a pull request Jun 14, 2023 that will close this issue
@yuhaoth yuhaoth self-assigned this Jun 15, 2023
@yuhaoth yuhaoth linked a pull request Jun 19, 2023 that will close this issue
3 tasks
@lpy4105 lpy4105 reopened this Jun 28, 2023
@yuhaoth yuhaoth linked a pull request Jul 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-test Test framework and CI scripts priority-high High priority - will be reviewed soon
Projects
None yet
3 participants