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

Cellular: not-supported error if MODEM_ON_BOARD not defined #4672

Merged
merged 1 commit into from Jul 4, 2017

Conversation

Projects
None yet
4 participants
@0xc0170
Member

0xc0170 commented Jun 30, 2017

If a test is empty, it leads to undef. Therefore if a test requires additional
details, it should print an error [NOT SUPPORTED].

This will require nighlty to verify.

This is the fix for the patch came from #4446

@hasnainvirk

features/netsocket/cellular/generic_modem_driver/TESTS/unit_tests/default/main.cpp Outdated
@@ -439,6 +439,8 @@ static void unlock()
#else
#error [NOT_SUPPORTED] MODEM_ON_BOARD should be set for this test to be functional

This comment has been minimized.

@0xc0170

0xc0170 Jun 30, 2017

Member

I believe this can be even simplified, and print this error on the top of the file, this empty main is not required by our tools
@studavekar

Cellular: not-supported error if MODEM_ON_BOARD not defined
If a test is empty, it leads to undef. Therefore if a test requires additional
details, it should print an error [NOT SUPPORTED].

@0xc0170 0xc0170 force-pushed the 0xc0170:fix_cellular_test branch to 334c02f Jun 30, 2017

@0xc0170

This comment has been minimized.

Member

0xc0170 commented Jun 30, 2017

I simplified the test, should be fine now, not report UNDEF

@0xc0170

This comment has been minimized.

Member

0xc0170 commented Jun 30, 2017

/morph test-nightly

@mbed-bot

This comment has been minimized.

mbed-bot commented Jun 30, 2017

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 707

Test failed!

@0xc0170

This comment has been minimized.

Member

0xc0170 commented Jun 30, 2017

At least we can see now most of the jobs are green so fix is active !

@0xc0170

This comment has been minimized.

Member

0xc0170 commented Jul 2, 2017

/morph test-nightly

@mbed-bot

This comment has been minimized.

mbed-bot commented Jul 3, 2017

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 718

Test failed!

@0xc0170

This comment has been minimized.

Member

0xc0170 commented Jul 3, 2017

/morph test-nightly

@mbed-bot

This comment has been minimized.

mbed-bot commented Jul 3, 2017

Result: ABORTED

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 720

Test failed!

@0xc0170

This comment has been minimized.

Member

0xc0170 commented Jul 3, 2017

Restarting (timeout in one host process)

/morph test-nightly

@mbed-bot

This comment has been minimized.

mbed-bot commented Jul 3, 2017

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 721

Test failed!

@adbridge

This comment has been minimized.

Contributor

adbridge commented Jul 3, 2017

K64F failed with

07:00:26 [1499083205.16][HTST][INF] host test class: '<class 'mbed_host_tests.host_tests.echo.EchoTest'>'
07:00:26 [1499083205.16][HTST][INF] host test setup() call...
07:00:26 [1499083205.16][HTST][INF] CALLBACKs updated
07:00:26 [1499083205.16][HTST][INF] host test detected: echo
07:00:27 [1499083205.72][CONN][RXD] :36::FAIL: Expected 16 Was 0

@adbridge

This comment has been minimized.

Contributor

adbridge commented Jul 3, 2017

MAX32630FTHR failed with

06:40:27 mbedgt: mbed-host-test-runner: stopped and returned 'TIMEOUT'
06:40:27 mbedgt: test case summary event not found
06:40:27 	no test case report present, assuming test suite to be a single test case!
06:40:27 	test suite: features-frameworks-utest-tests-unit_tests-case_control_repeat
06:40:27 	test case: features-frameworks-utest-tests-unit_tests-case_control_repeat
06:40:27 mbedgt: test on hardware with target id: 04090000983f044e00000000000000000000000097969904
06:40:27 mbedgt: test suite 'features-frameworks-utest-tests-unit_tests-case_control_repeat' .................. TIMEOUT in 115.83 sec
06:40:27 	test case: 'features-frameworks-utest-tests-unit_tests-case_control_repeat' .................. ERROR in 115.83 

There hasn't been any utest changes AFAIK so this looks like a transient CI issue

@studavekar

This comment has been minimized.

Collaborator

studavekar commented Jul 3, 2017

we need this change to run nightly on other PR

/morph test-nightly

@studavekar studavekar referenced this pull request Jul 3, 2017

Merged

Update timing tests to be robust #4599

1 of 1 task complete
@mbed-bot

This comment has been minimized.

mbed-bot commented Jul 4, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 724

All builds and test passed!

@0xc0170 0xc0170 added ready for merge and removed needs: CI labels Jul 4, 2017

@0xc0170 0xc0170 merged commit ca1d913 into ARMmbed:master Jul 4, 2017

4 checks passed

Cam-CI uvisor Build & Test Success
Details
ci/morph-test-nightly Job has completed
Details
continuous-integration/jenkins/pr-head This commit looks good
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@0xc0170 0xc0170 removed the ready for merge label Jul 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment