Last active
March 11, 2016 19:22
-
-
Save Makman2/d997f3b501bf5a94dbae to your computer and use it in GitHub Desktop.
dbus-error-11-3-2016-20-20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mak@localhost:~/dev/coala (master) +1 ~0 -0 $ py.test | |
Test session starts (platform: linux, Python 3.4.3, pytest 2.8.7, pytest-sugar 0.5.1) | |
rootdir: /home/mak/dev/coala, inifile: setup.cfg | |
plugins: timeout-1.0.0, sugar-0.5.1, xdist-1.14, doc-0.0.1, env-0.6.0, cov-2.2.1 | |
docs/index.rst ⚫ 0% | |
docs/General_Dev_Info/git_tutorial_1.rst ⚫ 0% ▏ | |
docs/Getting_Involved/Codestyle.rst ⚫ 1% ▏ | |
docs/Getting_Involved/MAC_Hints.rst ⚫ 1% ▏ | |
docs/Getting_Involved/Newcomers.rst ⚫ 1% ▏ | |
docs/Getting_Involved/README.rst ⚫ 1% ▎ | |
docs/Getting_Involved/Review.rst ⚫ 1% ▎ | |
docs/Getting_Involved/Testing.rst ⚫ 2% ▎ | |
docs/Getting_Involved/Writing_Documentation.rst ⚫ 2% ▎ | |
docs/Getting_Involved/Writing_Good_Commits.rst ⚫ 2% ▎ | |
docs/Getting_Involved/Writing_Tests.rst ⚫ 2% ▎ | |
docs/Users/Exit_Codes.rst ⚫ 2% ▎ | |
docs/Users/External_APIs.rst ⚫ 3% ▍ | |
docs/Users/Git_Hooks.rst ⚫ 3% ▍ | |
docs/Users/Glob_Patterns.rst ✓ 3% ▍ | |
docs/Users/Install.rst ⚫ 3% ▍ | |
docs/Users/coafile.rst ⚫ 3% ▍ | |
docs/Users/Tutorials/Git_Help.rst ⚫ 4% ▍ | |
docs/Users/Tutorials/Linter_Bears.rst ⚫ 4% ▍ | |
docs/Users/Tutorials/Self_Correcting_Bears.rst ⚫ 4% ▌ | |
docs/Users/Tutorials/Tutorial.rst ⚫ 4% ▌ | |
docs/Users/Tutorials/Writing_Bears.rst ⚫ 5% ▌ | |
tests/MakeTempTest.py ✓ 5% ▌ | |
tests/coalaCITest.py ✓✓✓✓✓✓✓ 6% ▋ | |
tests/coalaDbusTest.py ✓ 6% ▋ | |
tests/coalaDeleteOrigTest.py ✓✓ 7% ▋ | |
tests/coalaFormatTest.py ✓ 7% ▊ | |
tests/coalaJSONTest.py ✓✓✓✓✓✓ 8% ▊ | |
tests/coalaTest.py ✓✓✓ 9% ▉ | |
tests/bearlib/abstractions/LintTest.py ✓✓✓✓✓✓✓✓✓ 11% █▏ | |
tests/bearlib/abstractions/SectionCreatableTest.py ✓✓✓ 11% █▎ | |
tests/bearlib/languages/LanguageDefinitionTest.py ✓✓✓ 12% █▎ | |
...arlib/languages/documentation/DocstyleDefinitionTest.py ✓✓✓ 13% █▍ | |
...lib/languages/documentation/DocumentationCommentTest.py ✓ 13% █▍ | |
.../languages/documentation/DocumentationExtractionTest.py ✓✓✓✓✓ 14% █▍ | |
✓✓✓ 14% █▌ | |
tests/bearlib/spacing/SpacingHelperTest.py ✓✓✓✓✓ 15% █▋ | |
tests/bears/BearTest.py ✓✓✓✓✓✓✓✓ 17% █▊ | |
tests/bears/GlobalBearTest.py ✓✓ 17% █▊ | |
tests/bears/LocalBearTest.py ✓✓ 18% █▊ | |
tests/collecting/CollectorsTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 22% ██▎ | |
tests/collecting/DependenciesTest.py ✓✓✓ 23% ██▍ | |
tests/collecting/ImportersTest.py ✓✓✓✓✓✓✓✓ 24% ██▌ | |
tests/misc/BuildManPageTest.py ✓✓✓✓✓✓✓✓✓ 26% ██▋ | |
tests/misc/ContextManagersTest.py ✓✓✓✓✓✓✓ 28% ██▊ | |
tests/misc/DecoratorsTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 31% ███▏ | |
tests/misc/DictUtilitiesTest.py ✓✓ 31% ███▏ | |
tests/misc/EnumTest.py ✓✓ 31% ███▎ | |
tests/misc/ExceptionsTest.py ✓ 32% ███▎ | |
tests/misc/ShellTest.py ✓✓✓✓✓✓✓✓✓✓ 34% ███▍ | |
tests/misc/StringConverterTest.py ✓✓✓✓✓✓✓✓✓✓✓✓ 36% ███▋ | |
tests/output/ConfWriterTest.py ✓✓ 37% ███▋ | |
tests/output/ConsoleInteractionTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 42% ████▎ | |
✓✓✓ 42% ████▎ | |
tests/output/InteractionsTest.py ✓ 43% ████▍ | |
tests/output/JSONEncoderTest.py ✓✓✓✓✓✓✓✓✓✓ 45% ████▌ | |
tests/output/TaggingTest.py ✓✓✓✓ 45% ████▋ | |
tests/output/dbus/BuildDbusServiceTest.py ✓ 46% ████▋ | |
tests/output/dbus/DbusAppTest.py ✓ 46% ████▋ | |
tests/output/dbus/DbusDocumentTest.py ✓✓✓ 46% ████▋ | |
tests/output/dbus/DbusServerTest.py ✓✓✓✓✓ 47% ████▊ | |
tests/output/dbus/DbusTest.py 47% ████▊ | |
―――――――――――――――――――――――――――――― DbusTest.test_dbus ―――――――――――――――――――――――――――――― | |
self = <tests.output.dbus.DbusTest.DbusTest testMethod=test_dbus> | |
def test_dbus(self): | |
self.document_object_path = self.remote_object.CreateDocument( | |
self.testcode_c_path, | |
dbus_interface="org.coala_analyzer.v1") | |
self.assertRegex(str(self.document_object_path), | |
r"^/org/coala_analyzer/v1/test/\d+/documents/\d+$") | |
self.document_object = self.bus.get_object( | |
"org.coala_analyzer.v1.test", | |
self.document_object_path) | |
config_file = self.document_object.SetConfigFile( | |
"dummy_config", | |
dbus_interface="org.coala_analyzer.v1") | |
self.assertEqual(config_file, "dummy_config") | |
config_file = self.document_object.GetConfigFile( | |
dbus_interface="org.coala_analyzer.v1") | |
self.assertEqual(config_file, "dummy_config") | |
config_file = self.document_object.FindConfigFile( | |
dbus_interface="org.coala_analyzer.v1") | |
self.assertEqual(config_file, self.config_path) | |
analysis = self.document_object.Analyze( | |
dbus_interface="org.coala_analyzer.v1") | |
self.maxDiff = None | |
print(analysis) | |
# Run some basic analysis with good debug messages. | |
> self.assertEqual(analysis[0], 1, "Exit code was not 1.") | |
E AssertionError: dbus.Int32(255) != 1 : Exit code was not 1. | |
tests/output/dbus/DbusTest.py:113: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
dbus.Struct((dbus.Int32(255), dbus.Array([dbus.Dictionary({dbus.String('message'): dbus.String('An unknown error occurred. This is a bug. We are sorry for the inconvenience. Please contact the developers for assistance. During execution of coala an exception was raised. This should never happen. When asked for, the following information may help investigating:'), dbus.String('log_level'): dbus.String('ERROR'), dbus.String('timestamp'): dbus.String('2016-03-11T20:19:28.653477')}, signature=dbus.Signature('ss'))], signature=dbus.Signature('a{ss}')), dbus.Array([], signature=dbus.Signature('(sbaa{ss})'))), signature=None) | |
tests/output/dbus/DbusTest.py ⨯ 48% ████▊ | |
tests/output/printers/EspeakPrinterTest.py ✓ 48% ████▊ | |
tests/output/printers/HTMLWriterTest.py ✓✓✓✓ 49% ████▉ | |
tests/output/printers/ListLogPrinterTest.py ✓ 49% ████▉ | |
tests/output/printers/LogPrinterTest.py ✓✓✓✓ 50% █████ | |
tests/output/printers/StringPrinterTest.py ✓✓✓✓ 51% █████▏ | |
tests/parsing/CliParsingTest.py ✓ 51% █████▏ | |
tests/parsing/ConfParserTest.py ✓✓✓✓✓✓✓ 52% █████▎ | |
tests/parsing/GlobbingTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 58% █████▉ | |
tests/parsing/LineParserTest.py ✓✓✓✓✓✓ 60% █████▉ | |
tests/parsing/StringProcessing/EscapeTest.py ✓✓✓✓ 60% ██████▏ | |
tests/parsing/StringProcessing/InBetweenMatchTest.py ✓✓✓ 61% ██████▏ | |
tests/parsing/StringProcessing/LimitTest.py ✓✓ 61% ██████▎ | |
tests/parsing/StringProcessing/MatchTest.py ✓✓ 62% ██████▎ | |
tests/parsing/StringProcessing/NestedSearchInBetweenTest.py ✓✓✓✓ 63% ██████▍ | |
✓✓ 63% ██████▍ | |
tests/parsing/StringProcessing/PositionIsEscapedTest.py ✓✓ 63% ██████▍ | |
tests/parsing/StringProcessing/SearchForTest.py ✓✓✓✓✓ 64% ██████▌ | |
tests/parsing/StringProcessing/SearchInBetweenTest.py ✓✓✓✓✓✓ 66% ██████▋ | |
tests/parsing/StringProcessing/SplitTest.py ✓✓✓✓✓ 67% ██████▋ | |
tests/parsing/StringProcessing/TrimEmptyMatchesTest.py ✓✓ 67% ██████▊ | |
tests/parsing/StringProcessing/UnescapeTest.py ✓✓ 68% ██████▊ | |
tests/parsing/StringProcessing/UnescapedSearchForTest.py ✓✓✓✓✓✓ 69% ██████▉ | |
...arsing/StringProcessing/UnescapedSearchInBetweenTest.py ✓✓✓✓✓ 70% ███████ | |
✓ 70% ███████ | |
tests/parsing/StringProcessing/UnescapedSplitTest.py ✓✓✓✓✓ 71% ███████▏ | |
tests/parsing/StringProcessing/UnescapedStripTest.py ✓✓✓ 72% ███████▎ | |
tests/processes/BearRunningTest.py ✓✓✓✓✓✓ 73% ███████▍ | |
tests/processes/LogPrinterThreadTest.py ✓ 73% ███████▍ | |
tests/processes/ProcessingTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 77% ███████▊ | |
tests/processes/communication/LogMessageTest.py ✓✓✓✓ 78% ███████▉ | |
tests/results/DiffTest.py ✓✓✓✓✓✓✓✓✓✓ 80% ████████ | |
tests/results/HiddenResultTest.py ✓ 80% ████████▏ | |
tests/results/LineDiffTest.py ✓✓ 81% ████████▏ | |
tests/results/RESULT_SEVERITYTest.py ✓ 81% ████████▎ | |
tests/results/ResultFilterTest.py ✓✓✓✓✓✓✓ 83% ████████▍ | |
tests/results/ResultTest.py ✓✓✓✓✓✓✓✓ 84% ████████▌ | |
tests/results/SourcePositionTest.py ✓✓✓ 85% ████████▌ | |
tests/results/SourceRangeTest.py ✓✓✓✓✓✓✓✓✓ 87% ████████▋ | |
tests/results/TextPositionTest.py ✓✓ 87% ████████▊ | |
tests/results/TextRangeTest.py ✓✓✓✓✓✓✓✓✓✓ 89% ████████▉ | |
tests/results/result_actions/ApplyPatchActionTest.py ✓✓✓✓✓✓ 90% █████████ | |
tests/results/result_actions/OpenEditorActionTest.py ✓✓✓ 91% █████████▏ | |
tests/results/result_actions/PrintDebugMessageActionTest.py ✓✓ 91% █████████▎ | |
tests/results/result_actions/ResultActionTest.py ✓ 92% █████████▎ | |
tests/results/result_actions/ShowPatchActionTest.py ✓✓✓ 92% █████████▎ | |
tests/settings/ConfigurationGatheringTest.py ✓✓✓✓✓✓✓✓✓✓✓ 94% █████████▌ | |
tests/settings/DocumentationCommentTest.py ✓✓ 95% █████████▌ | |
tests/settings/FunctionMetadataTest.py ✓✓✓✓ 96% █████████▋ | |
tests/settings/SectionFillingTest.py ✓✓ 96% █████████▋ | |
tests/settings/SectionTest.py ✓✓✓✓✓✓✓✓✓✓✓✓ 99% █████████▉ | |
tests/settings/SettingTest.py ✓✓✓✓✓✓✓ 100% ██████████ | |
=========================== short test summary info ============================ | |
SKIP [21] /usr/lib/python3.4/site-packages/_pytest/doctest.py:165: all tests skipped by +SKIP option | |
Results (23.47s): | |
465 passed | |
1 failed | |
- /home/mak/dev/coala/tests/output/dbus/DbusTest.py:113: AssertionError: dbus.Int32(255) != 1 : Exit code was not 1. | |
21 skipped | |
mak@localhost:~/dev/coala (master) +1 ~0 -0 $ git log -1 | |
commit 006c929edb9c86bc7ac135de997a1a08987944e4 | |
Author: AbdealiJK <[email protected]> | |
Date: Fri Mar 11 14:59:44 2016 +0530 | |
DbusDocument: Update documentation comment | |
mak@localhost:~/dev/coala (master) +1 ~0 -0 $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment