Thanks! <div><br /></div><div>lldb is trying to resume execution for some reason.  I wonder if the T11 as the stop reason is causing problems, I just did it at random.  I'll try changing the test to use a T02 stop reason.  Baffled as to the difference in behavior, but we'll see if this matters.<br /><br /><span>On 11/10/19 10:32 PM, <b class="name">Jan Kratochvil </b> <jan.kratochvil@redhat.com> wrote:</span><blockquote cite="mid:20191111063217.GA14117@host1.jankratochvil.net" class="iwcQuote" style="border-left: 1px solid #00F; padding-left: 13px; margin-left: 0;" type="cite"><div class="mimetype-multipart-mixed">Hi Jason,<br /><br />On Mon, 11 Nov 2019 02:04:55 +0100, Jason Molenda wrote:<br />> ./lldb-dotest -t -v -p TestNoGPacketSupported.py<br /><br />Linux Fedora 30 x86_64<br />6ef63638cb8bac243e0e59cec66a19c57b79e351<br /><br /><br />Thanks,<br />Jan<br /><p></p><hr size="2" /><p>/usr/bin/python /home/jkratoch/redhat/llvm-monorepo/lldb/test/API/dotest.py --arch=x86_64 -s /home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/lldb --compiler /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/clang --dsymutil /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/dsymutil --filecheck /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/FileCheck --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy --build-dir /home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex -t -v -p TestNoGPacketSupported.py
/home/jkratoch/redhat/llvm-monorepo/lldb/test/API/dotest.py --arch=x86_64 -s /home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/lldb --compiler /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/clang --dsymutil /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/dsymutil --filecheck /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/FileCheck --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy --build-dir /home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex -t -v -p TestNoGPacketSupported.py
LLDB library dir: /home/jkratoch/redhat/llvm-monorepo-clangassert/bin
LLDB import library dir: /home/jkratoch/redhat/llvm-monorepo-clangassert/bin
lldb version 10.0.0 (https://github.com/llvm/llvm-project.git revision 42e88995e62525a69b0d4b1780ae19649a5ff3b4)
  clang revision 6ef63638cb8bac243e0e59cec66a19c57b79e351
  llvm revision 6ef63638cb8bac243e0e59cec66a19c57b79e351
Libc++ tests will not be run because: Unable to find libc++ installation
Skipping following debug info categories: ['dsym', 'gmodules']

Session logs for test failures/errors/unexpected successes will go into directory '/home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces'
Command invoked: /home/jkratoch/redhat/llvm-monorepo/lldb/test/API/dotest.py --arch=x86_64 -s /home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/lldb --compiler /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/clang --dsymutil /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/dsymutil --filecheck /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/FileCheck --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy --build-dir /home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex -t -v -p TestNoGPacketSupported.py
compiler=/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10

Configuration: arch=x86_64 compiler=/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10
----------------------------------------------------------------------
Collected 1 test

Change dir to: /home/jkratoch/redhat/llvm-monorepo/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client
1: test (TestNoGPacketSupported.TestNoGPacketSupported) ... runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex/module-cache-lldb"
output: 

runCmd: settings set use-color false
output: 

runCmd: settings set target.env-vars LD_LIBRARY_PATH=
output: 

runCmd: log enable gdb-remote packets
output: 

runCmd: log enable gdb-remote packets
output: 

Adding tearDown hook:                 lambda: self.runCmd("log disable gdb-remote packets"))


python           <   1 target="1"> send packet: +
python           history[1] tid=0x1d5a <   1 target="1"> send packet: +
python           <  19 target="1"> send packet: $QStartNoAckMode#b0
python           <   1 target="1"> read packet: +
python           <   6 target="1"> read packet: $OK#9a
python           <   1 target="1"> send packet: +
python           <  45 target="1"> send packet: $qSupported:xmlRegisters=i386,arm,mips,arc#74
python           <  57 target="1"> read packet: $qXfer:features:read+;PacketSize=3fff;QStartNoAckMode+#86
python           <  26 target="1"> send packet: $QThreadSuffixSupported#e4
python           <   4 target="1"> read packet: $#00
python           <  27 target="1"> send packet: $QListThreadsInStopReply#21
python           <   4 target="1"> read packet: $#00
python           <  13 target="1"> send packet: $qHostInfo#9b
python           <  28 target="1"> read packet: $ptrsize:8;endian:little;#30
python           <  10 target="1"> send packet: $vCont?#49
python           <   4 target="1"> read packet: $#00
python           <  27 target="1"> send packet: $qVAttachOrWaitSupported#38
python           <   4 target="1"> read packet: $#00
python           <  23 target="1"> send packet: $QEnableErrorStrings#8c
python           <   6 target="1"> read packet: $OK#9a
python           <  16 target="1"> send packet: $qProcessInfo#dc
python           <   4 target="1"> read packet: $#00
python           <   6 target="1"> send packet: $qC#b4
python           <   7 target="1"> read packet: $QC0#c4
python           <  16 target="1"> send packet: $qfThreadInfo#bb
python           <   5 target="1"> read packet: $l#6c
python           <   5 target="1"> send packet: $?#3f
python           < 122 target="1"> read packet: $T11thread:1ff0d;threads:1ff0d;thread-pcs:000000010001bc00;00:7882773ce0ffffff;01:1122334455667788;03:00bc010001000000;#f4
python           <  16 target="1"> send packet: $qProcessInfo#dc
python           <   4 target="1"> read packet: $#00
python           <  16 target="1"> send packet: $qProcessInfo#dc
python           <   4 target="1"> read packet: $#00
python           <  41 target="1"> send packet: $qXfer:features:read:target.xml:0,3ffe#af
python           < 710 target="1"> read packet: $l<!--?xml version="1.0"?-->
                        <target version="1.0">
                          <architecture>i386:x86-64</architecture>
                          <feature name="org.gnu.gdb.i386.core">
                            <reg bitsize="64" group="general" name="rax" regnum="0" type="code_ptr">
                            <reg bitsize="64" group="general" name="rbx" regnum="1" type="code_ptr">
                            <reg bitsize="64" group="general" name="rsi" regnum="2" type="code_ptr">
                            <reg altname="pc" bitsize="64" generic="pc" group="general" name="rip" regnum="3" type="code_ptr">
                          </reg></reg></reg></reg></feature>
                        </target>#4a
python           <  11 target="1"> send packet: $Hg1ff0d#40
python           <   6 target="1"> read packet: $OK#9a
python           <   6 target="1"> send packet: $p0#a0
python           <  20 target="1"> read packet: $5555555555555555#50
python           <  16 target="1"> send packet: $qProcessInfo#dc
python           <   4 target="1"> read packet: $#00
python           <  26 target="1"> send packet: $qStructuredDataPlugins#02
python           <   4 target="1"> read packet: $#00
python           <  11 target="1"> send packet: $Hc1ff0d#3c
python           <   6 target="1"> read packet: $OK#9a
b-remote.async>  <   7 target="1"> send packet: $C11#a5
b-remote.async>  <   4 target="1"> read packet: $#00
Register values: rax == 0x0, rbx == 0x0, rsi == 0x0, pc == 0xffffffffffffffff, rip == 0x0
FAILURE
FAIL: LLDB (/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10-x86_64) :: test (TestNoGPacketSupported.TestNoGPacketSupported)
<bound 'lldb::sbprocess="" *'="" 0x7f082d287810="" <lldb.sbprocess;="" <swig="" at="" method="" object="" of="" proxy="" sbprocess.kill="" type=""> >>: success

Executing tearDown hook:                 lambda: self.runCmd("log disable gdb-remote packets"))


runCmd: log disable gdb-remote packets
output: 

Restore dir to: /home/jkratoch/redhat/llvm-monorepo-clangassert

======================================================================
FAIL: test (TestNoGPacketSupported.TestNoGPacketSupported)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jkratoch/redhat/llvm-monorepo/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py", line 93, in test
    self.assertEqual(rax, 0xffffffe03c778278)
AssertionError: 0 != 18446743937285063288L
Config=x86_64-/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10
----------------------------------------------------------------------
Ran 1 test in 0.022s

RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)
Session logs for test failures/errors/unexpected successes can be found in directory '/home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces'
</bound></p></div></blockquote></div>