-
Notifications
You must be signed in to change notification settings - Fork 3k
Add RealTek WiFi test configuration #5291
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
Conversation
@SenRamakri Can you provide test results for this patch? |
The only problem is that this will fail with the way the tests are invoked in CI. CI will need to be setup to pass the SSID and password. |
Build : SUCCESSBuild number : 117 Triggering tests/test mbed-os |
See the attached test results for RealTek Ameba board executed using the test configuration in this PR. As you can see all the network tests passed except for one, which was failing even before these changes were added and has nothing to do with test configuration. |
Test : SUCCESSBuild number : 42 |
Will look into this particular ticker failed case. |
It might be worth creating an issue to provide more details, and then fix will reference it |
@SeppoTakalo Please review |
@SenRamakri how to trigger this 'tests-mbed_drivers-ticker' test ? It seems different from local greentea test. |
@tung7970 - You can run the tests as |
The test result I saw is 1x ticker and 2x ticker, which is different from your test results. mbedgt: test case report: |
It appears the following tests got removed from "ticker" test suite recently and I ran my tests before they got removed on 10/3. That's why you are not seeing those tests in your test run. And when a test fail, following tests in that suite is skipped. That's why in my test runs, the first test in "ticker" test suite failed and rest of the tests are "SKIPPED". I'll have to find out why those tests got removed. As of now, you can go ahead make your decisions/conclusions based on your tests results. | Test attach for 0.001s and time measure |
@tung7970 - I found that those tests were removed temporarily to address some issues, but they will be added back soon. At that point you may see the failure again. So I would suggest you to revert your mbed-os revision to some date before 10/3 and you should see the same results. |
@SenRamakri It seems new tests were removed because they failed on several targets. |
cc @maciejbocianski @fkjagodzinski - I dont see this as a tracking issue where would could continue this discussion ! As this patch is for Wifi @SeppoTakalo review pls |
@SenRamakri can we get full logs form tests or link to CI from failed test ? |
@maciejbocianski - The attached "TestResults.txt" is from test execution on my development pc and we don't have a CI link. You should be able to re-create the failure in your machine using the following steps. Running mbed-os tests – Refer https://github.com/ARMmbed/mbed-os
Running ci-test-shield tests – Refer https://github.com/ARMmbed/ci-test-shield
Let me know if you need more info on this. |
@tung7970 @SeppoTakalo happy with this patch? The failure that @SenRamakri reported, has it been reported anywhere - tracking issue referenced here? @maciejbocianski you referenced 5261, hwo is it related ? |
@0xc0170 5261 will be modified to make it working on REALTEK_RTL8195AM platform |
BUMP |
@adbridge It looks good to me. |
Doesn't look like this comment has been addressed ? |
Is this PR pending for change from the CI side or from the Realtek side ? There is a way to store WiFi credentials in non-volatile storage and remove the need of passing additional parameters during connect. @Archcady Please kindly check if this is feasible. |
@tung7970 it looks good to me, plus I'm using the same way to config tests for REALTEK_RTL8195AM, need to define wifi credentials as micros in RealtekInterface.json in order to compile and run. |
@SeppoTakalo @studavekar Is this blocking this PR, do we have a way to configure this, and test in CI? Let us know please |
I'm unsure whether we run any WiFi tests in the PR verification phase. |
Looks like this PR broke master. How did it get through the ci testing ? |
How did it break master? |
From what @0xc0170 was saying, I believe it enables a test which wasn't being run at the time the CI ran for this. But the test was subsequently added in a separate PR and is now active. |
The CI run on this was 27 days ago, so we should have re-run the CI before marking as ready for merge and merging |
This change adds necessary configuration files to configure Wifi tests for Realtek Ameba board.