Mir

[testsfail] PromptSessionClientAPI.client_pid_is_associated_with_session

Bug #1558051 reported by Alan Griffiths
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Invalid
Undecided
Unassigned

Bug Description

Seems to be a different failure mode to lp:1540731 - as there are other tests that should fail in that scenario. (This one with NBUFFERS=3 and the lp:1540731 "Canary".)

https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/502/consoleFull

11:00:00 11: [ RUN ] PromptSessionClientAPI.client_pid_is_associated_with_session
11:00:00 11: [2016-03-16 11:00:00.576452] mirserver: Starting
11:00:00 11: [2016-03-16 11:00:00.579427] mirserver: Selected driver: dummy (version 0.21.0)
11:00:00 11: [2016-03-16 11:00:00.618225] mirserver: Using software cursor
11:00:00 11: [2016-03-16 11:00:00.623291] mirserver: Initial display configuration:
11:00:00 11: [2016-03-16 11:00:00.623570] mirserver: 1.1: VGA 0.0" 0x0mm
11:00:00 11: [2016-03-16 11:00:00.623763] mirserver: Current mode 1600x1600 60.00Hz
11:00:00 11: [2016-03-16 11:00:00.623939] mirserver: Preferred mode 1600x1600 60.00Hz
11:00:00 11: [2016-03-16 11:00:00.624090] mirserver: Logical position +0+0
11:00:00 11: [2016-03-16 11:00:00.652376] mirserver: Selected input driver: mir:stub-input (version: 0.21.0)
11:00:00 11: [2016-03-16 11:00:00.653665] mirserver: Mir version 0.21.0
11:00:00 11: ==8389== Memcheck, a memory error detector
11:00:00 11: ==8389== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
11:00:00 11: ==8389== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
11:00:00 11: ==8389== Command: /bin/sh -c /��BUILDDIR��/mir-0.21.0+xenial514bzr3400/obj-i686-linux-gnu/bin/mir_demo_client_basic -mfd://34
11:00:00 11: ==8389==
11:00:01 11: ==8408== Memcheck, a memory error detector
11:00:01 11: ==8408== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
11:00:01 11: ==8408== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
11:00:01 11: ==8408== Command: /��BUILDDIR��/mir-0.21.0+xenial514bzr3400/obj-i686-linux-gnu/bin/mir_demo_client_basic -mfd://34
11:00:01 11: ==8408==
11:00:02 11: ==8408== Memcheck, a memory error detector
11:00:02 11: ==8408== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
11:00:02 11: ==8408== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
11:00:02 11: ==8408== Command: /��BUILDDIR��/mir-0.21.0+xenial514bzr3400/obj-i686-linux-gnu/bin/mir_demo_client_basic.bin -mfd://34
11:00:02 11: ==8408==
11:00:03 11: --8408-- WARNING: unhandled x86-linux syscall: 375
11:00:03 11: --8408-- You may be able to write your own handler.
11:00:03 11: --8408-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
11:00:03 11: --8408-- Nevertheless we consider this a bug. Please report
11:00:03 11: --8408-- it at http://valgrind.org/support/bug_reports.html.
11:00:04 11: unknown file: Failure
11:00:04 11:
11:00:04 11: Unexpected mock function call - returning directly.
11:00:04 11: Function call: prompt_provider_added(@0xa7bf2f4 4-byte object <D4-57 50-04>, @0x74ea854 8-byte object <34-56 EA-0B 28-56 EA-0B>)
11:00:04 11: Google Mock tried the following 1 expectation, but it didn't match:
11:00:04 11:
11:00:04 11: /��BUILDDIR��/mir-0.21.0+xenial514bzr3400/tests/acceptance-tests/test_prompt_session_client_api.cpp:399: EXPECT_CALL(*the_mock_prompt_session_listener(), prompt_provider_added(_, Not(IsSessionWithPid(server_pid))))...
11:00:04 11: Expected arg #1: not (is session with pid 29230)
11:00:04 11: Actual: 8-byte object <34-56 EA-0B 28-56 EA-0B>
11:00:04 11: Expected: to be called once
11:00:04 11: Actual: never called - unsatisfied and active
11:00:07 11: ==8408==
11:00:07 11: ==8408== FILE DESCRIPTORS: 13 open at exit.
11:00:07 11: ==8408== Open AF_UNIX socket 33: <unknown>
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open AF_UNIX socket 29: <unknown>
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open AF_UNIX socket 23: <unknown>
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open AF_UNIX socket 19: <unknown>
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open AF_UNIX socket 18: <unknown>
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 11: /dev/zero
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 10: /dev/null
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 9: /dev/zero
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 8: /dev/null
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 4: /��BUILDDIR��/mir-0.21.0+xenial514bzr3400/obj-i686-linux-gnu/Testing/Temporary/LastTest.log.tmp
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 2:
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 1:
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408== Open file descriptor 0: /dev/null
11:00:07 11: ==8408== <inherited from parent>
11:00:07 11: ==8408==
11:00:07 11: ==8408==
11:00:07 11: ==8408== HEAP SUMMARY:
11:00:07 11: ==8408== in use at exit: 21,864 bytes in 17 blocks
11:00:07 11: ==8408== total heap usage: 11,015 allocs, 10,998 frees, 484,087 bytes allocated
11:00:07 11: ==8408==
11:00:07 11: ==8408== LEAK SUMMARY:
11:00:07 11: ==8408== definitely lost: 0 bytes in 0 blocks
11:00:07 11: ==8408== indirectly lost: 0 bytes in 0 blocks
11:00:07 11: ==8408== possibly lost: 0 bytes in 0 blocks
11:00:07 11: ==8408== still reachable: 21,864 bytes in 17 blocks
11:00:07 11: ==8408== suppressed: 0 bytes in 0 blocks
11:00:07 11: ==8408== Reachable blocks (those to which a pointer was found) are not shown.
11:00:07 11: ==8408== To see them, rerun with: --leak-check=full --show-leak-kinds=all
11:00:07 11: ==8408==
11:00:07 11: ==8408== For counts of detected and suppressed errors, rerun with: -v
11:00:07 11: ==8408== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
11:00:08 11: ==8389==
11:00:08 11: ==8389== FILE DESCRIPTORS: 14 open at exit.
11:00:08 11: ==8389== Open AF_UNIX socket 34: <unknown>
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open AF_UNIX socket 33: <unknown>
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open AF_UNIX socket 29: <unknown>
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open AF_UNIX socket 23: <unknown>
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open AF_UNIX socket 19: <unknown>
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open AF_UNIX socket 18: <unknown>
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 11: /dev/zero
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 10: /dev/null
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 9: /dev/zero
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 8: /dev/null
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 4: /��BUILDDIR��/mir-0.21.0+xenial514bzr3400/obj-i686-linux-gnu/Testing/Temporary/LastTest.log.tmp
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 2:
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 1:
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389== Open file descriptor 0: /dev/null
11:00:08 11: ==8389== <inherited from parent>
11:00:08 11: ==8389==
11:00:08 11: ==8389==
11:00:08 11: ==8389== HEAP SUMMARY:
11:00:08 11: ==8389== in use at exit: 1,693 bytes in 91 blocks
11:00:08 11: ==8389== total heap usage: 93 allocs, 2 frees, 1,753 bytes allocated
11:00:08 11: ==8389==
11:00:08 11: ==8389== LEAK SUMMARY:
11:00:08 11: ==8389== definitely lost: 0 bytes in 0 blocks
11:00:08 11: ==8389== indirectly lost: 0 bytes in 0 blocks
11:00:08 11: ==8389== possibly lost: 0 bytes in 0 blocks
11:00:08 11: ==8389== still reachable: 1,693 bytes in 91 blocks
11:00:08 11: ==8389== suppressed: 0 bytes in 0 blocks
11:00:08 11: ==8389== Reachable blocks (those to which a pointer was found) are not shown.
11:00:08 11: ==8389== To see them, rerun with: --leak-check=full --show-leak-kinds=all
11:00:08 11: ==8389==
11:00:08 11: ==8389== For counts of detected and suppressed errors, rerun with: -v
11:00:08 11: ==8389== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
11:00:08 11: [2016-03-16 11:00:08.339937] mirserver: Stopping
11:00:08 11: /��BUILDDIR��/mir-0.21.0+xenial514bzr3400/tests/acceptance-tests/test_prompt_session_client_api.cpp:399: Failure
11:00:08 11: Actual function call count doesn't match EXPECT_CALL(*the_mock_prompt_session_listener(), prompt_provider_added(_, Not(IsSessionWithPid(server_pid))))...
11:00:08 11: Expected: to be called once
11:00:08 11: Actual: never called - unsatisfied and active
11:00:08 11: [ FAILED ] PromptSessionClientAPI.client_pid_is_associated_with_session (7823 ms)

Tags: testsfail
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Re-reading the log it is lp:1540731 - not sure why I didn't find that before

Changed in mir:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.