Mir

Merge lp://qastaging/~alan-griffiths/mir/migrate-client-authorization-test-to-mir-Server-API into lp://qastaging/mir

Proposed by Alan Griffiths
Status: Merged
Approved by: Alan Griffiths
Approved revision: no longer in the source branch.
Merged at revision: 2013
Proposed branch: lp://qastaging/~alan-griffiths/mir/migrate-client-authorization-test-to-mir-Server-API
Merge into: lp://qastaging/mir
Prerequisite: lp://qastaging/~alan-griffiths/mir/some-acceptance-tests-use-mir-Server-API
Diff against target: 1001 lines (+446/-216)
14 files modified
include/server/mir/server.h (+10/-2)
server-ABI-sha1sums (+1/-1)
src/server/server.cpp (+10/-0)
src/server/symbols.map (+2/-0)
tests/acceptance-tests/test_client_authorization.cpp (+47/-91)
tests/acceptance-tests/test_client_library.cpp (+2/-21)
tests/acceptance-tests/test_prompt_session_client_api.cpp (+114/-98)
tests/include/mir_test_framework/headless_in_process_server.h (+36/-0)
tests/include/mir_test_framework/headless_test.h (+5/-0)
tests/include/mir_test_framework/interprocess_client_server_test.h (+58/-0)
tests/mir_test_framework/CMakeLists.txt (+2/-0)
tests/mir_test_framework/headless_in_process_server.cpp (+36/-0)
tests/mir_test_framework/headless_test.cpp (+8/-3)
tests/mir_test_framework/interprocess_client_server_test.cpp (+115/-0)
To merge this branch: bzr merge lp://qastaging/~alan-griffiths/mir/migrate-client-authorization-test-to-mir-Server-API
Reviewer Review Type Date Requested Status
Alexandros Frantzis (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Alberto Aguirre (community) Approve
Review via email: mp+239829@code.qastaging.launchpad.net

Commit message

tests: migrate ClientCredsTestFixture and PromptSessionClientAPI to mir::Server API

Description of the change

tests: migrate ClientCredsTestFixture and PromptSessionClientAPI to mir::Server API

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Failure is lp:1386646 - triggering rebuild in the hope of another data-point.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alberto Aguirre (albaguirre) wrote :

Cool more cleanup.

review: Approve
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

415 +// We need to fake the client_pid for the as that is used to identify sessions

"for the ? "

416 +class HookSessionCoordinator : public msh::SessionCoordinatorWrapper

Not sure what the name "HookSessionCoordinator" means.

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

8: [ FAILED ] ClientCredsTestFixture.session_authorizer_receives_pid_of_connecting_clients (782 ms)

Hmm. Looks like a double delete of mir::Server::Self::server_config

I have to think about how that could possibly happen...

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Re-running the build that's been failing as this is clearly an intermittent detection:

http://s-jenkins.ubuntu-ci:8080/job/mir-utopic-amd64-ci/285/console

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

Looks good.

review: Approve
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Another couple of re-runs of previously failing build with -r 2017:

http://jenkins.qa.ubuntu.com/job/mir-utopic-amd64-ci/296/
http://jenkins.qa.ubuntu.com/job/mir-utopic-amd64-ci/297/

(Although I think I found the cause I couldn't reproduce locally and am therefore appropriately paranoid.)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches