Merge lp:~alan-griffiths/mir/fix-1486496 into lp:mir
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~alan-griffiths/mir/fix-1486496 |
| Merge into: | lp:mir |
| Prerequisite: | lp:~alan-griffiths/mir/simplify-connect-code |
| Diff against target: |
283 lines (+136/-7) 9 files modified
src/client/mir_connection.cpp (+1/-1) src/client/rpc/mir_basic_rpc_channel.cpp (+24/-2) src/client/rpc/mir_basic_rpc_channel.h (+1/-0) src/include/common/mir/frontend/client_constants.h (+3/-1) src/include/common/mir/protobuf/protocol_version.h (+48/-0) src/server/frontend/socket_connection.cpp (+8/-1) tests/acceptance-tests/test_client_library.cpp (+48/-0) tests/integration-tests/test_error_reporting.cpp (+1/-1) tests/unit-tests/frontend/test_socket_connection.cpp (+2/-1) |
| To merge this branch: | bzr merge lp:~alan-griffiths/mir/fix-1486496 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-08-24 | |
| Alan Griffiths | Abstain on 2015-08-24 | ||
| Chris Halse Rogers | 2015-08-21 | Needs Fixing on 2015-08-24 | |
|
Review via email:
|
|||
Commit Message
client, frontend: Introduce meaningful versioning into the protobuf protocol and check it.
Description of the Change
client, frontend: Introduce meaningful versioning into the protobuf protocol and check it.
Because the server simply disconnects on a connection failure the client doesn't receive any reason for the failure. However, reporting a connection failure is better than hanging.
- 2873. By Alan Griffiths on 2015-08-21
-
Release connection object after connect errors
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2873
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2874. By Alan Griffiths on 2015-08-21
-
merge lp:mir
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2874
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2875. By Alan Griffiths on 2015-08-22
-
Remove debug code
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2875
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Chris Halse Rogers (raof) wrote : | # |
126 +// Client libraries older than last ABI break may make calls we can't understand
This seems to be an extremely conservative choice, which will likely prevent many clients which would otherwise work fine from connecting. We remove protocol extremely rarely; the last protocol we removed had been deprecated for 2 years.
I don't think it's unreasonable to manually populate the oldest_
Otherwise sensible.
| Alan Griffiths (alan-griffiths) wrote : | # |
> 126 +// Client libraries older than last ABI break may make calls we can't
> understand
>
> This seems to be an extremely conservative choice, which will likely prevent
> many clients which would otherwise work fine from connecting. We remove
> protocol extremely rarely; the last protocol we removed had been deprecated
> for 2 years.
If you investigate the linked bug you'll find that this choice is actually correct as things stand on trunk.
I don't think it is *yet* worth spending the effort to ensure current libmirclient can interwork with old libmirserver versions. (There is no likelihood of Mir servers based on different libmirservers being installed side-by-side on a user system.)
> I don't think it's unreasonable to manually populate the
> oldest_
I think being conservative is a good default.
Next time we bump the major API version number we can consider if we can be less conservative. I hope after all the "opaquification" and deprecation that landed in 0.14 that this will be a very long time.
> Otherwise sensible.
| Alan Griffiths (alan-griffiths) wrote : | # |
After attempting to reproduce locally and chatting with kdub on IRC it looks like the CI failure (hang in glmark) is related to lp:1441553.
- 2876. By Alan Griffiths on 2015-08-24
-
kdub's workaround for client/server allocation mismatch
- 2877. By Alan Griffiths on 2015-08-24
-
merge lp:mir
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2877
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2878. By Alan Griffiths on 2015-08-24
-
Revert failed workaround
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2878
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
The hang in mir_performance test is because this...
Get:3 http://
... is the libmirclient.so.8 based version from vivid. *Not* the libmirclient.so.9 based rebuild from the "Stable Phone Overlay PPA".
(That is version 2014.03+
- 2879. By Alan Griffiths on 2015-08-25
-
merge lp:mir
- 2880. By Alan Griffiths on 2015-08-25
- 2881. By Alan Griffiths on 2015-08-27
-
Add an epoch to the protocol version number
- 2882. By Alan Griffiths on 2015-08-27
-
merge lp:mir
- 2883. By Alan Griffiths on 2015-08-28
-
Marginally more informative error message
- 2884. By Alan Griffiths on 2015-08-28
-
merge lp:mir

FAILED: Continuous integration, rev:2872 jenkins. qa.ubuntu. com/job/ mir-ci/ 4645/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/3629 s-jenkins. ubuntu- ci:8080/ job/mir- clang-ts- vivid-amd64- build/50/ console jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/2540 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/3579/ console jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 794/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3579 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3579/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/6348/ console s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 22753
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/4645/ rebuild
http://