[Lldb-commits] [PATCH] D68293: [android/process list] support showing process arguments

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 11 14:22:48 PDT 2019


aprantl added a comment.

This test fails on green dragon:

http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2538/changes#detail0
http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2538/testReport/junit/lldb-api/functionalities_gdb_remote_client/TestPlatformClient_py/

  lldb-api.functionalities/gdb_remote_client.TestPlatformClient.py (from lldb-api)
  
  Failing for the past 1 build (Since Failed#2538 )
  Took 0.66 sec.
  add description
  Stacktrace
  
  lldb version 10.0.99 (http://labmaster3.local/git/llvm-project.git revision 1edb7e0b6f390b066f5218208a7c8ac974ee243c)
    clang revision 089a334c39d06e958607e1e8e0c9796f9387f512
    llvm revision 089a334c39d06e958607e1e8e0c9796f9387f512
  LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin
  LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin
  libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
  Skipping following debug info categories: ['dwo']
  
  Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake/test/logs'
  Command invoked: /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/test/API/dotest.py --arch=x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/lldb --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/FileCheck -C /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/clang --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./lib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-clang/lldb-api /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client -p TestPlatformClient.py
  Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client
  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 "/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-lldb/lldb-api"
  output: 
  
  runCmd: settings set use-color false
  output: 
  
  runCmd: platform select remote-linux
  output:   Platform: remote-linux
   Connected: no
  
  
  runCmd: platform connect connect://localhost:52264
  output:   Platform: remote-linux
    Hostname: (null)
   Connected: yes
  WorkingDir: /
  
  
  runCmd: platform process list -x
  runCmd failed!
  error: no processes were found on the "remote-linux" platform
  
  
  FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin/clang-10-x86_64) :: test_process_list_with_all_users (TestPlatformClient.TestPlatformClient)
  Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/test
  ======================================================================
  FAIL: test_process_list_with_all_users (TestPlatformClient.TestPlatformClient)
     Test connecting to a remote linux platform
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py", line 30, in test_process_list_with_all_users
      substrs=["1 matching process was found", "test_process"])
    File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2309, in expect
      inHistory=inHistory)
    File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2068, in runCmd
      msg if (msg) else CMD_MSG(cmd))
  AssertionError: False is not True : Command 'platform process list -x
  Error output:
  error: no processes were found on the "remote-linux" platform
  ' returns successfully
  Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin/clang-10
  ----------------------------------------------------------------------
  Ran 1 test in 0.040s
  
  RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)

Can you please take a look?

If you're not available I'll revert the patch later today to get the bots green again.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68293/new/

https://reviews.llvm.org/D68293





More information about the lldb-commits mailing list